index.js
1.04 KB
import CustomPalette from './CustomPalette'
import CustomRenderer from './CustomRenderer'
import CustomContextPad from './CustomContextPad'
import CustomAutoPlaceBehavior from './CustomAutoPlaceBehavior'
// 简易模式 分开 不混用
import SimpleCustomContextPad from './simple/CustomContextPad'
import SimpleCustomAutoPlaceBehavior from './simple/CustomAutoPlaceBehavior'
export default {
normal: {
__init__: ['customPalette', 'customRenderer', 'customContextPad', 'CustomAutoPlaceBehavior'],
customPalette: ['type', CustomPalette],
customRenderer: ['type', CustomRenderer],
customContextPad: ['type', CustomContextPad],
CustomAutoPlaceBehavior: ['type', CustomAutoPlaceBehavior],
},
simple: {
__init__: ['customPalette', 'customRenderer', 'simpleCustomContextPad', 'simpleCustomAutoPlaceBehavior'],
customPalette: ['type', CustomPalette],
customRenderer: ['type', CustomRenderer],
simpleCustomContextPad: ['type', SimpleCustomContextPad],
simpleCustomAutoPlaceBehavior: ['type', SimpleCustomAutoPlaceBehavior]
}
}