提交 | 用户 | 时间
|
820397
|
1 |
// import PaletteModule from "diagram-js/lib/features/palette"; |
H |
2 |
// import CreateModule from "diagram-js/lib/features/create"; |
|
3 |
// import SpaceToolModule from "diagram-js/lib/features/space-tool"; |
|
4 |
// import LassoToolModule from "diagram-js/lib/features/lasso-tool"; |
|
5 |
// import HandToolModule from "diagram-js/lib/features/hand-tool"; |
|
6 |
// import GlobalConnectModule from "diagram-js/lib/features/global-connect"; |
|
7 |
// import translate from "diagram-js/lib/i18n/translate"; |
|
8 |
// |
|
9 |
// import PaletteProvider from "./paletteProvider"; |
|
10 |
// |
|
11 |
// export default { |
|
12 |
// __depends__: [PaletteModule, CreateModule, SpaceToolModule, LassoToolModule, HandToolModule, GlobalConnectModule, translate], |
|
13 |
// __init__: ["paletteProvider"], |
|
14 |
// paletteProvider: ["type", PaletteProvider] |
|
15 |
// }; |
|
16 |
|
|
17 |
import CustomPalette from './CustomPalette' |
|
18 |
|
|
19 |
export default { |
|
20 |
__init__: ['paletteProvider'], |
|
21 |
paletteProvider: ['type', CustomPalette] |
|
22 |
} |