index.js 758 B

1234567891011121314151617181920212223
  1. import PaletteModule from 'diagram-js/lib/features/palette';
  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. import PaletteProvider from './PaletteProvider';
  9. export default {
  10. __depends__: [
  11. PaletteModule,
  12. CreateModule,
  13. SpaceToolModule,
  14. LassoToolModule,
  15. HandToolModule,
  16. GlobalConnectModule,
  17. translate
  18. ],
  19. __init__: [ 'paletteProvider' ],
  20. paletteProvider: [ 'type', PaletteProvider ]
  21. };