@difizen/libro-common 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/app/file-tree/file-tree-component.js +1 -1
- package/es/app/file-tree/index.d.ts +6 -6
- package/es/app/file-tree/index.d.ts.map +1 -1
- package/es/app/file-tree/index.js +6 -6
- package/es/app/menu/menu-context.d.ts +1 -1
- package/es/app/menu/menu-context.d.ts.map +1 -1
- package/es/app/tree/components/index.d.ts +1 -1
- package/es/app/tree/components/index.d.ts.map +1 -1
- package/es/app/tree/components/index.js +9 -9
- package/es/app/tree/components/tree-switch-icon.d.ts +1 -1
- package/es/app/tree/components/tree-switch-icon.d.ts.map +1 -1
- package/es/app/tree/index.d.ts +15 -15
- package/es/app/tree/index.d.ts.map +1 -1
- package/es/app/tree/index.js +15 -15
- package/es/app/tree/view/index.d.ts +3 -3
- package/es/app/tree/view/index.d.ts.map +1 -1
- package/es/app/tree/view/index.js +3 -3
- package/es/app/tree/view/tree-view-selection.d.ts +2 -2
- package/es/app/tree/view/tree-view-selection.d.ts.map +1 -1
- package/es/app/tree/view/tree-view-selection.js +1 -1
- package/es/app/view/components/index.d.ts +1 -1
- package/es/app/view/components/index.d.ts.map +1 -1
- package/es/app/view/components/index.js +1 -1
- package/es/app/view/index.d.ts +5 -5
- package/es/app/view/index.d.ts.map +1 -1
- package/es/app/view/index.js +9 -9
- package/es/app/view/tab/index.d.ts +3 -3
- package/es/app/view/tab/index.d.ts.map +1 -1
- package/es/app/view/tab/index.js +3 -3
- package/es/common/deferred.js +1 -1
- package/es/common/disposable-collection.d.ts +1 -1
- package/es/common/disposable-collection.d.ts.map +1 -1
- package/es/common/disposable-collection.js +1 -1
- package/es/common/disposable.js +1 -1
- package/es/common/event.d.ts +3 -3
- package/es/common/event.d.ts.map +1 -1
- package/es/common/event.js +3 -3
- package/es/common/index.d.ts +24 -24
- package/es/common/index.d.ts.map +1 -1
- package/es/common/index.js +24 -24
- package/es/common/objects.js +2 -2
- package/es/common/observable-disposable.d.ts +2 -2
- package/es/common/observable-disposable.d.ts.map +1 -1
- package/es/common/priority.d.ts +1 -1
- package/es/common/priority.d.ts.map +1 -1
- package/es/common/promise-util.d.ts +1 -1
- package/es/common/promise-util.d.ts.map +1 -1
- package/es/common/promise-util.js +2 -2
- package/es/common/stopwatch.js +1 -1
- package/es/common/strings.js +1 -1
- package/es/common/uri.d.ts +2 -2
- package/es/common/uri.d.ts.map +1 -1
- package/es/common/uri.js +3 -3
- package/es/common/valueTypes.d.ts +1 -1
- package/es/common/valueTypes.d.ts.map +1 -1
- package/es/common/wait-until-event.d.ts +1 -1
- package/es/common/wait-until-event.d.ts.map +1 -1
- package/es/core/application/application-state.d.ts +1 -1
- package/es/core/application/application-state.d.ts.map +1 -1
- package/es/core/application/application-state.js +2 -2
- package/es/core/application/application.d.ts +3 -3
- package/es/core/application/application.d.ts.map +1 -1
- package/es/core/application/application.js +3 -3
- package/es/core/application/default-window-service.d.ts +3 -3
- package/es/core/application/default-window-service.d.ts.map +1 -1
- package/es/core/application/default-window-service.js +2 -2
- package/es/core/application/index.d.ts +3 -3
- package/es/core/application/index.d.ts.map +1 -1
- package/es/core/application/index.js +6 -6
- package/es/core/application/mock-window-service.d.ts +1 -1
- package/es/core/application/mock-window-service.d.ts.map +1 -1
- package/es/core/command/command-registry.d.ts +3 -3
- package/es/core/command/command-registry.d.ts.map +1 -1
- package/es/core/command/command-registry.js +3 -3
- package/es/core/command/index.d.ts +3 -3
- package/es/core/command/index.d.ts.map +1 -1
- package/es/core/command/index.js +4 -4
- package/es/core/common/index.d.ts +4 -4
- package/es/core/common/index.d.ts.map +1 -1
- package/es/core/common/index.js +7 -7
- package/es/core/common/storage-service.d.ts +2 -2
- package/es/core/common/storage-service.d.ts.map +1 -1
- package/es/core/common/storage-service.js +1 -1
- package/es/core/components/application.d.ts +3 -3
- package/es/core/components/application.d.ts.map +1 -1
- package/es/core/components/application.js +9 -9
- package/es/core/components/context.d.ts +2 -2
- package/es/core/components/context.d.ts.map +1 -1
- package/es/core/components/context.js +3 -3
- package/es/core/components/hooks.d.ts +1 -1
- package/es/core/components/hooks.d.ts.map +1 -1
- package/es/core/components/hooks.js +3 -3
- package/es/core/components/index.d.ts +4 -4
- package/es/core/components/index.d.ts.map +1 -1
- package/es/core/components/index.js +4 -4
- package/es/core/components/root-view-render.d.ts.map +1 -1
- package/es/core/components/root-view-render.js +1 -1
- package/es/core/configuration/configuration-cache.d.ts +2 -2
- package/es/core/configuration/configuration-cache.d.ts.map +1 -1
- package/es/core/configuration/configuration-protocol.d.ts +1 -1
- package/es/core/configuration/configuration-protocol.d.ts.map +1 -1
- package/es/core/configuration/configuration-provider.d.ts +2 -2
- package/es/core/configuration/configuration-provider.d.ts.map +1 -1
- package/es/core/configuration/configuration-provider.js +2 -2
- package/es/core/configuration/configuration-registry.d.ts +4 -4
- package/es/core/configuration/configuration-registry.d.ts.map +1 -1
- package/es/core/configuration/configuration-registry.js +3 -3
- package/es/core/configuration/configuration-render-registry.d.ts +4 -4
- package/es/core/configuration/configuration-render-registry.d.ts.map +1 -1
- package/es/core/configuration/configuration-render-registry.js +1 -1
- package/es/core/configuration/configuration-service.d.ts +7 -7
- package/es/core/configuration/configuration-service.d.ts.map +1 -1
- package/es/core/configuration/configuration-service.js +6 -6
- package/es/core/configuration/hooks.d.ts +1 -1
- package/es/core/configuration/hooks.d.ts.map +1 -1
- package/es/core/configuration/hooks.js +2 -2
- package/es/core/configuration/index.d.ts +10 -10
- package/es/core/configuration/index.d.ts.map +1 -1
- package/es/core/configuration/index.js +10 -10
- package/es/core/configuration/module.d.ts +1 -1
- package/es/core/configuration/module.d.ts.map +1 -1
- package/es/core/configuration/module.js +7 -7
- package/es/core/configuration/validation.d.ts +1 -1
- package/es/core/configuration/validation.d.ts.map +1 -1
- package/es/core/configuration/validation.js +2 -2
- package/es/core/context/data-context-manager.d.ts +3 -3
- package/es/core/context/data-context-manager.d.ts.map +1 -1
- package/es/core/context/data-context-manager.js +2 -2
- package/es/core/context/data-context-protocol.d.ts +1 -1
- package/es/core/context/data-context-protocol.d.ts.map +1 -1
- package/es/core/context/data-context.d.ts.map +1 -1
- package/es/core/context/data-context.js +2 -2
- package/es/core/context/index.d.ts +4 -4
- package/es/core/context/index.d.ts.map +1 -1
- package/es/core/context/index.js +6 -6
- package/es/core/index.d.ts +17 -17
- package/es/core/index.d.ts.map +1 -1
- package/es/core/index.js +28 -28
- package/es/core/keybinding/context-key-service.d.ts +2 -2
- package/es/core/keybinding/context-key-service.d.ts.map +1 -1
- package/es/core/keybinding/context-key-service.js +2 -2
- package/es/core/keybinding/index.d.ts +5 -5
- package/es/core/keybinding/index.d.ts.map +1 -1
- package/es/core/keybinding/index.js +5 -5
- package/es/core/keybinding/keybinding-proocol.d.ts +1 -1
- package/es/core/keybinding/keybinding-proocol.d.ts.map +1 -1
- package/es/core/keybinding/keybinding.d.ts +8 -8
- package/es/core/keybinding/keybinding.d.ts.map +1 -1
- package/es/core/keybinding/keybinding.js +7 -7
- package/es/core/keybinding/module.d.ts +1 -1
- package/es/core/keybinding/module.d.ts.map +1 -1
- package/es/core/keybinding/module.js +7 -7
- package/es/core/keybinding/vs/configuration/configuration.js +2 -2
- package/es/core/keybinding/vs/configuration/configurationModels.d.ts +1 -1
- package/es/core/keybinding/vs/configuration/configurationModels.d.ts.map +1 -1
- package/es/core/keybinding/vs/configuration/configurationModels.js +2 -2
- package/es/core/keybinding/vs/configuration/configurationRegistry.d.ts +1 -1
- package/es/core/keybinding/vs/configuration/configurationRegistry.d.ts.map +1 -1
- package/es/core/keybinding/vs/configuration/configurationRegistry.js +3 -3
- package/es/core/keybinding/vs/configuration/configurationService.d.ts +4 -4
- package/es/core/keybinding/vs/configuration/configurationService.d.ts.map +1 -1
- package/es/core/keybinding/vs/configuration/configurationService.js +5 -5
- package/es/core/keybinding/vs/contextKeyService.d.ts +5 -5
- package/es/core/keybinding/vs/contextKeyService.d.ts.map +1 -1
- package/es/core/keybinding/vs/contextKeyService.js +5 -5
- package/es/core/keybinding/vs/contextkeys.d.ts +2 -2
- package/es/core/keybinding/vs/contextkeys.d.ts.map +1 -1
- package/es/core/keybinding/vs/contextkeys.js +3 -3
- package/es/core/keybinding/vs/jsonContributionRegistry.d.ts +1 -1
- package/es/core/keybinding/vs/jsonContributionRegistry.d.ts.map +1 -1
- package/es/core/keybinding/vs/jsonContributionRegistry.js +1 -1
- package/es/core/keyboard/browser-keyboard-layout-provider.d.ts +3 -3
- package/es/core/keyboard/browser-keyboard-layout-provider.d.ts.map +1 -1
- package/es/core/keyboard/browser-keyboard-layout-provider.js +3 -3
- package/es/core/keyboard/index.d.ts +4 -4
- package/es/core/keyboard/index.d.ts.map +1 -1
- package/es/core/keyboard/index.js +4 -4
- package/es/core/keyboard/keyboard-layout-service.d.ts +3 -3
- package/es/core/keyboard/keyboard-layout-service.d.ts.map +1 -1
- package/es/core/keyboard/keyboard-layout-service.js +2 -2
- package/es/core/keyboard/layouts/index.js +2 -2
- package/es/core/menu/default-menu-node.d.ts +2 -2
- package/es/core/menu/default-menu-node.d.ts.map +1 -1
- package/es/core/menu/default-menu-node.js +4 -4
- package/es/core/menu/index.d.ts +3 -3
- package/es/core/menu/index.d.ts.map +1 -1
- package/es/core/menu/index.js +6 -6
- package/es/core/menu/menu-protocol.d.ts +2 -2
- package/es/core/menu/menu-protocol.d.ts.map +1 -1
- package/es/core/menu/menu-registry.d.ts +4 -4
- package/es/core/menu/menu-registry.d.ts.map +1 -1
- package/es/core/menu/menu-registry.js +4 -4
- package/es/core/menu/module.d.ts +1 -1
- package/es/core/menu/module.d.ts.map +1 -1
- package/es/core/menu/module.js +6 -6
- package/es/core/module/index.d.ts +3 -3
- package/es/core/module/index.d.ts.map +1 -1
- package/es/core/module/index.js +3 -3
- package/es/core/module/mana-module-context.js +1 -1
- package/es/core/module/mana-module.d.ts +1 -1
- package/es/core/module/mana-module.d.ts.map +1 -1
- package/es/core/module/module-protocol.d.ts +1 -1
- package/es/core/module/module-protocol.d.ts.map +1 -1
- package/es/core/selection/index.d.ts +2 -2
- package/es/core/selection/index.d.ts.map +1 -1
- package/es/core/selection/index.js +3 -3
- package/es/core/theme/base-variable-registry.d.ts +4 -4
- package/es/core/theme/base-variable-registry.d.ts.map +1 -1
- package/es/core/theme/base-variable-registry.js +3 -3
- package/es/core/theme/basic/antd-variable-contribution.d.ts +2 -2
- package/es/core/theme/basic/antd-variable-contribution.d.ts.map +1 -1
- package/es/core/theme/basic/antd-variable-contribution.js +1 -1
- package/es/core/theme/basic/default-variable-contribution.d.ts +2 -2
- package/es/core/theme/basic/default-variable-contribution.d.ts.map +1 -1
- package/es/core/theme/basic/default-variable-contribution.js +1 -1
- package/es/core/theme/basic/index.d.ts +2 -2
- package/es/core/theme/basic/index.d.ts.map +1 -1
- package/es/core/theme/basic/index.js +2 -2
- package/es/core/theme/basic/variable-protocol.d.ts +1 -1
- package/es/core/theme/basic/variable-protocol.d.ts.map +1 -1
- package/es/core/theme/basic/variable-registry.d.ts +2 -2
- package/es/core/theme/basic/variable-registry.d.ts.map +1 -1
- package/es/core/theme/basic/variable-registry.js +1 -1
- package/es/core/theme/color/antd-color-contribution.d.ts +2 -2
- package/es/core/theme/color/antd-color-contribution.d.ts.map +1 -1
- package/es/core/theme/color/antd-color-contribution.js +2 -2
- package/es/core/theme/color/color-protocol.d.ts +3 -3
- package/es/core/theme/color/color-protocol.d.ts.map +1 -1
- package/es/core/theme/color/color-registry.d.ts +3 -3
- package/es/core/theme/color/color-registry.d.ts.map +1 -1
- package/es/core/theme/color/color-registry.js +2 -2
- package/es/core/theme/color/default-color-contribution.d.ts +2 -2
- package/es/core/theme/color/default-color-contribution.d.ts.map +1 -1
- package/es/core/theme/color/default-color-contribution.js +2 -2
- package/es/core/theme/color/index.d.ts +2 -2
- package/es/core/theme/color/index.d.ts.map +1 -1
- package/es/core/theme/color/index.js +2 -2
- package/es/core/theme/index.d.ts +5 -5
- package/es/core/theme/index.d.ts.map +1 -1
- package/es/core/theme/index.js +15 -15
- package/es/core/theme/theme-app.d.ts +8 -8
- package/es/core/theme/theme-app.d.ts.map +1 -1
- package/es/core/theme/theme-app.js +6 -6
- package/es/core/theme/theme-service.d.ts +1 -1
- package/es/core/theme/theme-service.d.ts.map +1 -1
- package/es/core/theme/theme-service.js +2 -2
- package/es/core/toolbar/default-toolbar-item.d.ts +2 -2
- package/es/core/toolbar/default-toolbar-item.d.ts.map +1 -1
- package/es/core/toolbar/default-toolbar-item.js +2 -2
- package/es/core/toolbar/index.d.ts +4 -4
- package/es/core/toolbar/index.d.ts.map +1 -1
- package/es/core/toolbar/index.js +7 -7
- package/es/core/toolbar/toolbar-protocol.d.ts +1 -1
- package/es/core/toolbar/toolbar-protocol.d.ts.map +1 -1
- package/es/core/toolbar/toolbar-registry.d.ts +3 -3
- package/es/core/toolbar/toolbar-registry.d.ts.map +1 -1
- package/es/core/toolbar/toolbar-registry.js +3 -3
- package/es/core/utils/index.d.ts +3 -3
- package/es/core/utils/index.d.ts.map +1 -1
- package/es/core/utils/index.js +3 -3
- package/es/core/view/decorator.d.ts +3 -3
- package/es/core/view/decorator.d.ts.map +1 -1
- package/es/core/view/decorator.js +6 -6
- package/es/core/view/default-slot-view.d.ts +6 -6
- package/es/core/view/default-slot-view.d.ts.map +1 -1
- package/es/core/view/default-slot-view.js +9 -9
- package/es/core/view/default-view.d.ts +3 -3
- package/es/core/view/default-view.d.ts.map +1 -1
- package/es/core/view/default-view.js +3 -3
- package/es/core/view/focus-tracker.d.ts +1 -1
- package/es/core/view/focus-tracker.d.ts.map +1 -1
- package/es/core/view/hooks.d.ts +1 -1
- package/es/core/view/hooks.d.ts.map +1 -1
- package/es/core/view/hooks.js +1 -1
- package/es/core/view/index.d.ts +22 -22
- package/es/core/view/index.d.ts.map +1 -1
- package/es/core/view/index.js +22 -22
- package/es/core/view/module.d.ts +1 -1
- package/es/core/view/module.d.ts.map +1 -1
- package/es/core/view/module.js +12 -12
- package/es/core/view/navigatable-types.d.ts +3 -3
- package/es/core/view/navigatable-types.d.ts.map +1 -1
- package/es/core/view/navigatable-types.js +2 -2
- package/es/core/view/navigatable.d.ts +3 -3
- package/es/core/view/navigatable.d.ts.map +1 -1
- package/es/core/view/navigatable.js +1 -1
- package/es/core/view/portal-slot-view.d.ts +3 -3
- package/es/core/view/portal-slot-view.d.ts.map +1 -1
- package/es/core/view/portal-slot-view.js +6 -6
- package/es/core/view/root-view.d.ts +2 -2
- package/es/core/view/root-view.d.ts.map +1 -1
- package/es/core/view/root-view.js +8 -8
- package/es/core/view/saveable.d.ts +1 -1
- package/es/core/view/saveable.d.ts.map +1 -1
- package/es/core/view/slot-view-manager.d.ts +5 -5
- package/es/core/view/slot-view-manager.d.ts.map +1 -1
- package/es/core/view/slot-view-manager.js +5 -5
- package/es/core/view/slot.d.ts +2 -2
- package/es/core/view/slot.d.ts.map +1 -1
- package/es/core/view/slot.js +4 -4
- package/es/core/view/stateful-view.d.ts +2 -2
- package/es/core/view/stateful-view.d.ts.map +1 -1
- package/es/core/view/stateful-view.js +1 -1
- package/es/core/view/title.d.ts +2 -2
- package/es/core/view/title.d.ts.map +1 -1
- package/es/core/view/title.js +1 -1
- package/es/core/view/view-application.d.ts +5 -5
- package/es/core/view/view-application.d.ts.map +1 -1
- package/es/core/view/view-application.js +5 -5
- package/es/core/view/view-container.d.ts +4 -4
- package/es/core/view/view-container.d.ts.map +1 -1
- package/es/core/view/view-container.js +8 -8
- package/es/core/view/view-context.d.ts +1 -1
- package/es/core/view/view-context.d.ts.map +1 -1
- package/es/core/view/view-context.js +2 -2
- package/es/core/view/view-manager.d.ts +5 -5
- package/es/core/view/view-manager.d.ts.map +1 -1
- package/es/core/view/view-manager.js +5 -5
- package/es/core/view/view-meta.d.ts +2 -2
- package/es/core/view/view-meta.d.ts.map +1 -1
- package/es/core/view/view-meta.js +1 -1
- package/es/core/view/view-open-handler.d.ts +5 -5
- package/es/core/view/view-open-handler.d.ts.map +1 -1
- package/es/core/view/view-open-handler.js +3 -3
- package/es/core/view/view-protocol.d.ts +2 -2
- package/es/core/view/view-protocol.d.ts.map +1 -1
- package/es/core/view/view-render.d.ts +1 -1
- package/es/core/view/view-render.d.ts.map +1 -1
- package/es/core/view/view-render.js +6 -6
- package/es/core/view/view-storage.d.ts +3 -3
- package/es/core/view/view-storage.d.ts.map +1 -1
- package/es/core/view/view-storage.js +8 -8
- package/es/index.d.ts +1 -0
- package/es/index.d.ts.map +1 -1
- package/es/index.js +2 -1
- package/es/ioc/container-api.d.ts +1 -1
- package/es/ioc/container-api.d.ts.map +1 -1
- package/es/ioc/contribution/contribution-register.d.ts +2 -2
- package/es/ioc/contribution/contribution-register.d.ts.map +1 -1
- package/es/ioc/contribution/contribution-register.js +3 -3
- package/es/ioc/contribution/decorator.d.ts +1 -1
- package/es/ioc/contribution/decorator.d.ts.map +1 -1
- package/es/ioc/contribution/decorator.js +2 -2
- package/es/ioc/contribution/index.d.ts +6 -6
- package/es/ioc/contribution/index.d.ts.map +1 -1
- package/es/ioc/contribution/index.js +5 -5
- package/es/ioc/decorator.d.ts +2 -2
- package/es/ioc/decorator.d.ts.map +1 -1
- package/es/ioc/decorator.js +2 -2
- package/es/ioc/index.d.ts +8 -8
- package/es/ioc/index.d.ts.map +1 -1
- package/es/ioc/index.js +8 -8
- package/es/ioc/inversify-api/index.d.ts +2 -2
- package/es/ioc/inversify-api/index.d.ts.map +1 -1
- package/es/ioc/inversify-api/index.js +1 -1
- package/es/ioc/module/index.d.ts +2 -2
- package/es/ioc/module/index.d.ts.map +1 -1
- package/es/ioc/module/index.js +2 -2
- package/es/ioc/module/syringe-module.d.ts +1 -1
- package/es/ioc/module/syringe-module.d.ts.map +1 -1
- package/es/ioc/module/syringe-module.js +3 -3
- package/es/ioc/register.d.ts +2 -2
- package/es/ioc/register.d.ts.map +1 -1
- package/es/ioc/register.js +5 -5
- package/es/ioc/side-option.d.ts +1 -1
- package/es/ioc/side-option.d.ts.map +1 -1
- package/es/l10n/index.d.ts +2 -2
- package/es/l10n/index.d.ts.map +1 -1
- package/es/l10n/index.js +2 -2
- package/es/l10n/l10n/index.js +1 -1
- package/es/l10n/lang/index.d.ts +1 -1
- package/es/l10n/lang/index.d.ts.map +1 -1
- package/es/observable/context.d.ts +1 -1
- package/es/observable/context.d.ts.map +1 -1
- package/es/observable/context.js +1 -1
- package/es/observable/decorator.js +1 -1
- package/es/observable/hooks.js +2 -2
- package/es/observable/index.d.ts +11 -11
- package/es/observable/index.d.ts.map +1 -1
- package/es/observable/index.js +11 -11
- package/es/observable/notifiable.d.ts +2 -2
- package/es/observable/notifiable.d.ts.map +1 -1
- package/es/observable/notifiable.js +3 -3
- package/es/observable/notifier.d.ts +2 -2
- package/es/observable/notifier.d.ts.map +1 -1
- package/es/observable/notifier.js +5 -5
- package/es/observable/observable.js +4 -4
- package/es/observable/tracker.d.ts +1 -1
- package/es/observable/tracker.d.ts.map +1 -1
- package/es/observable/tracker.js +5 -5
- package/es/observable/utils.d.ts +1 -1
- package/es/observable/utils.d.ts.map +1 -1
- package/es/observable/utils.js +2 -2
- package/es/observable/watch.d.ts +1 -1
- package/es/observable/watch.d.ts.map +1 -1
- package/es/observable/watch.js +3 -3
- package/es/output-utils.d.ts +22 -0
- package/es/output-utils.d.ts.map +1 -0
- package/es/output-utils.js +76 -0
- package/es/polling/protocol.d.ts +1 -1
- package/es/polling/protocol.d.ts.map +1 -1
- package/es/react/index.d.ts +7 -7
- package/es/react/index.d.ts.map +1 -1
- package/es/react/index.js +7 -7
- package/es/react/layout/boxpanel/Pane.js +2 -2
- package/es/react/layout/boxpanel/context.d.ts +1 -1
- package/es/react/layout/boxpanel/context.d.ts.map +1 -1
- package/es/react/layout/boxpanel/index.d.ts +2 -2
- package/es/react/layout/boxpanel/index.d.ts.map +1 -1
- package/es/react/layout/boxpanel/index.js +4 -4
- package/es/react/layout/layout.d.ts +1 -1
- package/es/react/layout/layout.d.ts.map +1 -1
- package/es/react/layout/layout.js +1 -1
- package/es/react/layout/splitpanel/index.js +1 -1
- package/es/react/menu/divider.js +1 -1
- package/es/react/menu/index.d.ts +2 -2
- package/es/react/menu/index.d.ts.map +1 -1
- package/es/react/menu/index.js +2 -2
- package/es/react/menu/item.d.ts +1 -1
- package/es/react/menu/item.d.ts.map +1 -1
- package/es/react/menu/item.js +1 -1
- package/es/react/menu/menu.d.ts +3 -3
- package/es/react/menu/menu.d.ts.map +1 -1
- package/es/react/menu/menu.js +4 -4
- package/es/react/menu/submenu.d.ts +1 -1
- package/es/react/menu/submenu.d.ts.map +1 -1
- package/es/react/menu/submenu.js +2 -2
- package/es/react/menubar/index.d.ts +1 -1
- package/es/react/menubar/index.d.ts.map +1 -1
- package/es/react/menubar/index.js +1 -1
- package/es/react/menubar/item.js +1 -1
- package/es/react/menubar/menubar.d.ts +1 -1
- package/es/react/menubar/menubar.js +2 -2
- package/es/react/notification/index.d.ts +4 -4
- package/es/react/notification/index.d.ts.map +1 -1
- package/es/react/notification/index.js +5 -5
- package/es/react/notification/protocol.js +1 -1
- package/es/react/notification/pure-panel.d.ts +1 -1
- package/es/react/notification/pure-panel.d.ts.map +1 -1
- package/es/react/notification/pure-panel.js +1 -1
- package/es/react/notification/use-notification.d.ts +1 -1
- package/es/react/notification/use-notification.d.ts.map +1 -1
- package/es/react/notification/use-notification.js +6 -6
- package/es/react/resize/index.d.ts +1 -1
- package/es/react/resize/index.d.ts.map +1 -1
- package/es/react/resize/index.js +1 -1
- package/es/react/tabs/index.js +1 -1
- package/es/react/util.js +1 -1
- package/es/url.d.ts.map +1 -1
- package/es/url.js +1 -1
- package/package.json +1 -1
- package/src/app/file-tree/file-tree-component.tsx +1 -1
- package/src/app/file-tree/index.ts +6 -6
- package/src/app/index.spec.ts +1 -1
- package/src/app/menu/menu-context.tsx +1 -1
- package/src/app/tree/components/index.tsx +11 -10
- package/src/app/tree/components/tree-switch-icon.tsx +1 -1
- package/src/app/tree/index.ts +15 -15
- package/src/app/tree/view/index.ts +3 -3
- package/src/app/tree/view/tree-view-selection.ts +2 -2
- package/src/app/view/components/index.ts +1 -1
- package/src/app/view/index.ts +10 -9
- package/src/app/view/tab/index.ts +3 -3
- package/src/common/cancellation.spec.ts +2 -2
- package/src/common/deferred.ts +1 -1
- package/src/common/disposable-collection.ts +1 -1
- package/src/common/disposable.spec.ts +2 -2
- package/src/common/disposable.ts +1 -1
- package/src/common/event.spec.ts +4 -4
- package/src/common/event.ts +4 -4
- package/src/common/index.ts +24 -24
- package/src/common/objects.ts +2 -2
- package/src/common/observable-disposable.ts +2 -2
- package/src/common/path.spec.ts +1 -1
- package/src/common/priority.ts +2 -2
- package/src/common/promise-util.spec.ts +3 -3
- package/src/common/promise-util.ts +2 -2
- package/src/common/stopwatch.ts +1 -1
- package/src/common/strings.ts +1 -1
- package/src/common/types.spec.ts +1 -1
- package/src/common/uri.spec.ts +2 -2
- package/src/common/uri.ts +3 -3
- package/src/common/utils.spec.ts +1 -1
- package/src/common/valueTypes.ts +1 -1
- package/src/common/wait-until-event.spec.ts +3 -3
- package/src/common/wait-until-event.ts +1 -1
- package/src/core/application/application-state.ts +2 -2
- package/src/core/application/application.ts +3 -4
- package/src/core/application/default-window-service.ts +3 -3
- package/src/core/application/index.ts +6 -6
- package/src/core/application/mock-window-service.ts +1 -1
- package/src/core/command/command-registry.ts +4 -4
- package/src/core/command/index.ts +4 -4
- package/src/core/common/index.ts +7 -7
- package/src/core/common/storage-service.ts +3 -3
- package/src/core/components/application.tsx +11 -11
- package/src/core/components/context.tsx +5 -5
- package/src/core/components/hooks.tsx +4 -4
- package/src/core/components/index.tsx +4 -4
- package/src/core/components/root-view-render.tsx +1 -2
- package/src/core/configuration/configuration-cache.ts +2 -2
- package/src/core/configuration/configuration-protocol.ts +1 -1
- package/src/core/configuration/configuration-provider.ts +4 -4
- package/src/core/configuration/configuration-registry.ts +5 -6
- package/src/core/configuration/configuration-render-registry.ts +4 -4
- package/src/core/configuration/configuration-service.ts +9 -10
- package/src/core/configuration/hooks.ts +4 -3
- package/src/core/configuration/index.ts +10 -10
- package/src/core/configuration/module.ts +7 -7
- package/src/core/configuration/validation.ts +4 -3
- package/src/core/context/data-context-manager.ts +6 -4
- package/src/core/context/data-context-protocol.ts +1 -2
- package/src/core/context/data-context.tsx +3 -3
- package/src/core/context/index.ts +9 -6
- package/src/core/index.spec.ts +1 -1
- package/src/core/index.ts +28 -28
- package/src/core/keybinding/context-key-service.ts +3 -3
- package/src/core/keybinding/index.ts +5 -5
- package/src/core/keybinding/keybinding-proocol.ts +1 -1
- package/src/core/keybinding/keybinding.ts +9 -10
- package/src/core/keybinding/module.ts +10 -7
- package/src/core/keybinding/vs/configuration/configuration.ts +3 -3
- package/src/core/keybinding/vs/configuration/configurationModels.ts +2 -3
- package/src/core/keybinding/vs/configuration/configurationRegistry.ts +5 -6
- package/src/core/keybinding/vs/configuration/configurationService.ts +8 -9
- package/src/core/keybinding/vs/contextKeyService.ts +9 -9
- package/src/core/keybinding/vs/contextkeys.ts +3 -3
- package/src/core/keybinding/vs/jsonContributionRegistry.ts +2 -2
- package/src/core/keybinding/vs/platform.test.ts +1 -1
- package/src/core/keyboard/browser-keyboard-layout-provider.ts +4 -5
- package/src/core/keyboard/index.ts +4 -4
- package/src/core/keyboard/keyboard-layout-service.ts +5 -4
- package/src/core/keyboard/layouts/index.ts +2 -2
- package/src/core/menu/default-menu-node.ts +5 -6
- package/src/core/menu/index.ts +7 -7
- package/src/core/menu/menu-protocol.ts +2 -2
- package/src/core/menu/menu-registry.ts +5 -6
- package/src/core/menu/module.ts +7 -7
- package/src/core/module/index.ts +3 -3
- package/src/core/module/mana-module-context.ts +1 -1
- package/src/core/module/mana-module.test.ts +2 -2
- package/src/core/module/mana-module.ts +1 -1
- package/src/core/module/module-protocol.ts +1 -1
- package/src/core/selection/index.ts +3 -3
- package/src/core/theme/base-variable-registry.ts +6 -7
- package/src/core/theme/basic/antd-variable-contribution.ts +2 -2
- package/src/core/theme/basic/default-variable-contribution.ts +2 -2
- package/src/core/theme/basic/index.spec.ts +2 -2
- package/src/core/theme/basic/index.ts +2 -2
- package/src/core/theme/basic/variable-protocol.ts +1 -1
- package/src/core/theme/basic/variable-registry.ts +2 -2
- package/src/core/theme/color/antd-color-contribution.ts +3 -3
- package/src/core/theme/color/color-protocol.ts +3 -3
- package/src/core/theme/color/color-registry.ts +3 -3
- package/src/core/theme/color/default-color-contribution.ts +3 -3
- package/src/core/theme/color/index.spec.ts +5 -6
- package/src/core/theme/color/index.ts +2 -2
- package/src/core/theme/index.spec.ts +2 -3
- package/src/core/theme/index.ts +15 -15
- package/src/core/theme/theme-app.ts +8 -9
- package/src/core/theme/theme-service.ts +3 -4
- package/src/core/toolbar/default-toolbar-item.ts +3 -3
- package/src/core/toolbar/index.ts +7 -7
- package/src/core/toolbar/toolbar-protocol.ts +1 -2
- package/src/core/toolbar/toolbar-registry.ts +4 -5
- package/src/core/utils/index.ts +3 -3
- package/src/core/view/decorator.ts +9 -10
- package/src/core/view/default-slot-view.tsx +11 -10
- package/src/core/view/default-view.tsx +5 -4
- package/src/core/view/focus-tracker.ts +1 -1
- package/src/core/view/hooks.tsx +2 -2
- package/src/core/view/index.ts +22 -22
- package/src/core/view/module.ts +12 -12
- package/src/core/view/navigatable-types.ts +4 -4
- package/src/core/view/navigatable.ts +3 -3
- package/src/core/view/portal-slot-view.tsx +8 -7
- package/src/core/view/root-view.tsx +9 -9
- package/src/core/view/saveable.ts +1 -2
- package/src/core/view/slot-view-manager.ts +7 -8
- package/src/core/view/slot.tsx +8 -7
- package/src/core/view/stateful-view.ts +2 -2
- package/src/core/view/title.tsx +5 -4
- package/src/core/view/view-application.ts +6 -7
- package/src/core/view/view-container.tsx +11 -11
- package/src/core/view/view-context.tsx +4 -4
- package/src/core/view/view-manager.ts +8 -9
- package/src/core/view/view-meta.ts +3 -4
- package/src/core/view/view-open-handler.ts +6 -6
- package/src/core/view/view-protocol.ts +3 -3
- package/src/core/view/view-render.tsx +8 -7
- package/src/core/view/view-storage.ts +10 -11
- package/src/index.ts +1 -0
- package/src/ioc/container-api.ts +1 -1
- package/src/ioc/container.spec.ts +4 -4
- package/src/ioc/contribution/contribution-register.ts +4 -4
- package/src/ioc/contribution/decorator.ts +3 -3
- package/src/ioc/contribution/index.spec.ts +8 -8
- package/src/ioc/contribution/index.ts +5 -5
- package/src/ioc/decorator.spec.ts +2 -2
- package/src/ioc/decorator.ts +3 -3
- package/src/ioc/features/auto-factory.spec.ts +4 -4
- package/src/ioc/index.ts +8 -8
- package/src/ioc/inversify-api/index.spec.ts +3 -3
- package/src/ioc/inversify-api/index.ts +2 -2
- package/src/ioc/module/index.spec.ts +9 -2
- package/src/ioc/module/index.ts +2 -2
- package/src/ioc/module/syringe-module.ts +5 -5
- package/src/ioc/register.spec.ts +1 -1
- package/src/ioc/register.ts +6 -6
- package/src/ioc/side-option.spec.ts +3 -3
- package/src/ioc/side-option.ts +1 -1
- package/src/l10n/index.ts +2 -2
- package/src/l10n/l10n/index.ts +1 -1
- package/src/l10n/lang/index.ts +1 -1
- package/src/observable/async-event.spec.tsx +1 -1
- package/src/observable/config.spec.ts +1 -1
- package/src/observable/context.tsx +2 -2
- package/src/observable/decorator.spec.ts +1 -1
- package/src/observable/decorator.ts +1 -1
- package/src/observable/hooks.spec.tsx +1 -1
- package/src/observable/hooks.ts +2 -2
- package/src/observable/index.ts +11 -11
- package/src/observable/notifiable.spec.ts +1 -1
- package/src/observable/notifiable.ts +3 -3
- package/src/observable/notifier.spec.ts +1 -1
- package/src/observable/notifier.ts +6 -6
- package/src/observable/observable.spec.ts +1 -1
- package/src/observable/observable.ts +4 -4
- package/src/observable/tracker.spec.ts +1 -1
- package/src/observable/tracker.ts +5 -5
- package/src/observable/utils.spec.tsx +1 -1
- package/src/observable/utils.ts +3 -3
- package/src/observable/watch.spec.ts +1 -1
- package/src/observable/watch.ts +4 -4
- package/src/output-utils.ts +98 -0
- package/src/polling/protocol.ts +1 -1
- package/src/react/index.spec.ts +1 -1
- package/src/react/index.ts +7 -7
- package/src/react/layout/boxpanel/Pane.tsx +2 -2
- package/src/react/layout/boxpanel/context.ts +2 -1
- package/src/react/layout/boxpanel/index.tsx +4 -4
- package/src/react/layout/layout.ts +1 -1
- package/src/react/layout/splitpanel/index.tsx +2 -2
- package/src/react/menu/divider.tsx +1 -1
- package/src/react/menu/index.ts +2 -2
- package/src/react/menu/item.tsx +1 -1
- package/src/react/menu/menu.tsx +4 -4
- package/src/react/menu/submenu.tsx +3 -3
- package/src/react/menubar/index.ts +1 -1
- package/src/react/menubar/item.tsx +1 -1
- package/src/react/menubar/menubar.tsx +2 -2
- package/src/react/notification/index.tsx +7 -7
- package/src/react/notification/protocol.ts +1 -1
- package/src/react/notification/pure-panel.tsx +2 -2
- package/src/react/notification/use-notification.tsx +7 -7
- package/src/react/resize/index.tsx +2 -2
- package/src/react/tabs/index.tsx +1 -1
- package/src/react/util.ts +1 -1
- package/src/url.ts +2 -1
- package/src/l10n/l10n/index.test.ts +0 -145
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './variable-registry';
|
|
2
|
-
export * from './variable-protocol';
|
|
1
|
+
export * from './variable-registry.js';
|
|
2
|
+
export * from './variable-protocol.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Syringe } from '../../../ioc/index.js';
|
|
2
2
|
|
|
3
|
-
import type { VariableRegistry } from './variable-registry';
|
|
3
|
+
import type { VariableRegistry } from './variable-registry.js';
|
|
4
4
|
|
|
5
5
|
export const VariableContribution = Syringe.defineToken('VariableContribution');
|
|
6
6
|
export type VariableContribution = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Disposable } from '../../../common/index.js';
|
|
2
2
|
import { singleton } from '../../../ioc/index.js';
|
|
3
|
-
import { BaseVariableRegistry } from '../base-variable-registry';
|
|
4
|
-
import type { VariableDefinition } from '../protocol';
|
|
3
|
+
import { BaseVariableRegistry } from '../base-variable-registry.js';
|
|
4
|
+
import type { VariableDefinition } from '../protocol.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* It should be implemented by an extension, e.g. by the monaco extension.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { singleton } from '../../../ioc/index.js';
|
|
2
2
|
|
|
3
|
-
import { ColorContribution } from './color-protocol';
|
|
4
|
-
import type { ColorRegistry } from './color-registry';
|
|
5
|
-
import { Color } from './color-registry';
|
|
3
|
+
import { ColorContribution } from './color-protocol.js';
|
|
4
|
+
import type { ColorRegistry } from './color-registry.js';
|
|
5
|
+
import { Color } from './color-registry.js';
|
|
6
6
|
|
|
7
7
|
@singleton({ contrib: ColorContribution })
|
|
8
8
|
export class AntdColorContribution implements ColorContribution {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Syringe } from '../../../ioc/index.js';
|
|
2
|
-
import type { VariableDefinition } from '../protocol';
|
|
2
|
+
import type { VariableDefinition } from '../protocol.js';
|
|
3
3
|
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { ColorRegistry } from './color-registry.js';
|
|
5
|
+
import type { Color } from './color.js';
|
|
6
6
|
|
|
7
7
|
export const ColorContribution = Syringe.defineToken('ColorContribution');
|
|
8
8
|
export type ColorContribution = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Disposable } from '../../../common/index.js';
|
|
2
2
|
import { singleton } from '../../../ioc/index.js';
|
|
3
|
-
import { BaseVariableRegistry } from '../base-variable-registry';
|
|
4
|
-
import type { VariableDefinition } from '../protocol';
|
|
3
|
+
import { BaseVariableRegistry } from '../base-variable-registry.js';
|
|
4
|
+
import type { VariableDefinition } from '../protocol.js';
|
|
5
5
|
|
|
6
|
-
import * as VSColor from './color';
|
|
6
|
+
import * as VSColor from './color.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Either be a reference to an existing color or a color value as a hex string, rgba, or hsla.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { singleton } from '../../../ioc/index.js';
|
|
2
2
|
|
|
3
|
-
import { ColorContribution } from './color-protocol';
|
|
4
|
-
import type { ColorRegistry } from './color-registry';
|
|
5
|
-
import { Color } from './color-registry';
|
|
3
|
+
import { ColorContribution } from './color-protocol.js';
|
|
4
|
+
import type { ColorRegistry } from './color-registry.js';
|
|
5
|
+
import { Color } from './color-registry.js';
|
|
6
6
|
|
|
7
7
|
@singleton({ contrib: ColorContribution })
|
|
8
8
|
export class DefaultColorContribution implements ColorContribution {
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import assert from 'assert';
|
|
3
3
|
|
|
4
|
-
import { Container } from '
|
|
4
|
+
import { Container } from '../../../ioc/index.js';
|
|
5
|
+
import { ThemeService } from '../theme-service.js';
|
|
5
6
|
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
import { ColorRegistry } from './color-registry';
|
|
10
|
-
import { DefaultColorContribution } from './default-color-contribution';
|
|
7
|
+
import { AntdColorContribution } from './antd-color-contribution.js';
|
|
8
|
+
import { ColorRegistry } from './color-registry.js';
|
|
9
|
+
import { DefaultColorContribution } from './default-color-contribution.js';
|
|
11
10
|
|
|
12
11
|
describe('theme color', () => {
|
|
13
12
|
it('#antd color', () => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './color-registry';
|
|
2
|
-
export * from './color-protocol';
|
|
1
|
+
export * from './color-registry.js';
|
|
2
|
+
export * from './color-protocol.js';
|
|
@@ -2,10 +2,9 @@ import 'react';
|
|
|
2
2
|
import assert from 'assert';
|
|
3
3
|
|
|
4
4
|
import { Container } from '../../ioc/index.js';
|
|
5
|
+
import { ApplicationModule } from '../index.js';
|
|
5
6
|
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
import { ThemeModule, ThemeService } from './index';
|
|
7
|
+
import { ThemeModule, ThemeService } from './index.js';
|
|
9
8
|
|
|
10
9
|
describe('theme', () => {
|
|
11
10
|
it('#theme module load', () => {
|
package/src/core/theme/index.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ManaModule } from '../module';
|
|
1
|
+
import { ManaModule } from '../module/index.js';
|
|
2
2
|
|
|
3
|
-
import { AntdVariableContribution } from './basic/antd-variable-contribution';
|
|
4
|
-
import { DefaultVariableContribution } from './basic/default-variable-contribution';
|
|
5
|
-
import { VariableContribution } from './basic/variable-protocol';
|
|
6
|
-
import { VariableRegistry } from './basic/variable-registry';
|
|
7
|
-
import { AntdColorContribution } from './color/antd-color-contribution';
|
|
8
|
-
import { ColorContribution } from './color/color-protocol';
|
|
9
|
-
import { ColorRegistry } from './color/color-registry';
|
|
10
|
-
import { DefaultColorContribution } from './color/default-color-contribution';
|
|
11
|
-
import { ThemeApplication } from './theme-app';
|
|
12
|
-
import { ThemeService } from './theme-service';
|
|
3
|
+
import { AntdVariableContribution } from './basic/antd-variable-contribution.js';
|
|
4
|
+
import { DefaultVariableContribution } from './basic/default-variable-contribution.js';
|
|
5
|
+
import { VariableContribution } from './basic/variable-protocol.js';
|
|
6
|
+
import { VariableRegistry } from './basic/variable-registry.js';
|
|
7
|
+
import { AntdColorContribution } from './color/antd-color-contribution.js';
|
|
8
|
+
import { ColorContribution } from './color/color-protocol.js';
|
|
9
|
+
import { ColorRegistry } from './color/color-registry.js';
|
|
10
|
+
import { DefaultColorContribution } from './color/default-color-contribution.js';
|
|
11
|
+
import { ThemeApplication } from './theme-app.js';
|
|
12
|
+
import { ThemeService } from './theme-service.js';
|
|
13
13
|
|
|
14
|
-
export * from './basic';
|
|
15
|
-
export * from './color';
|
|
16
|
-
export * from './theme-service';
|
|
17
|
-
export * from './protocol';
|
|
14
|
+
export * from './basic/index.js';
|
|
15
|
+
export * from './color/index.js';
|
|
16
|
+
export * from './theme-service.js';
|
|
17
|
+
export * from './protocol.js';
|
|
18
18
|
|
|
19
19
|
export const ThemeModule = ManaModule.create().register({
|
|
20
20
|
token: ThemeService,
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { Disposable, DisposableCollection } from '../../common/index.js';
|
|
2
2
|
import type { Contribution } from '../../ioc/index.js';
|
|
3
3
|
import { contrib, inject, singleton } from '../../ioc/index.js';
|
|
4
|
+
import type { Application } from '../application/index.js';
|
|
5
|
+
import { ApplicationContribution } from '../application/index.js';
|
|
4
6
|
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { ColorRegistry } from './color/color-registry';
|
|
12
|
-
import type { CssVariable } from './protocol';
|
|
13
|
-
import { ThemeService } from './theme-service';
|
|
7
|
+
import { VariableContribution } from './basic/variable-protocol.js';
|
|
8
|
+
import { VariableRegistry } from './basic/variable-registry.js';
|
|
9
|
+
import { ColorContribution } from './color/color-protocol.js';
|
|
10
|
+
import { ColorRegistry } from './color/color-registry.js';
|
|
11
|
+
import type { CssVariable } from './protocol.js';
|
|
12
|
+
import { ThemeService } from './theme-service.js';
|
|
14
13
|
|
|
15
14
|
@singleton({ contrib: ApplicationContribution })
|
|
16
15
|
export class ThemeApplication implements ApplicationContribution {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { Event } from '../../common/index.js';
|
|
2
2
|
import { isPromiseLike } from '../../common/index.js';
|
|
3
3
|
import { Emitter, Disposable, objects } from '../../common/index.js';
|
|
4
|
-
import { prop } from '../../observable/index.js';
|
|
5
4
|
import { singleton } from '../../ioc/index.js';
|
|
6
|
-
|
|
7
|
-
import { localStorageService } from '../common';
|
|
8
|
-
import type { StorageService } from '../common';
|
|
5
|
+
import { prop } from '../../observable/index.js';
|
|
6
|
+
import { localStorageService } from '../common/index.js';
|
|
7
|
+
import type { StorageService } from '../common/index.js';
|
|
9
8
|
|
|
10
9
|
import './style/theme-base.less';
|
|
11
10
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Event } from '../../common/index.js';
|
|
2
2
|
import { Emitter } from '../../common/index.js';
|
|
3
|
-
import { prop } from '../../observable/index.js';
|
|
4
3
|
import { inject } from '../../ioc/index.js';
|
|
5
4
|
import { transient } from '../../ioc/index.js';
|
|
5
|
+
import { prop } from '../../observable/index.js';
|
|
6
6
|
|
|
7
|
-
import { ToolbarNode } from './toolbar-protocol';
|
|
8
|
-
import type { ToolbarItem } from './toolbar-protocol';
|
|
7
|
+
import { ToolbarNode } from './toolbar-protocol.js';
|
|
8
|
+
import type { ToolbarItem } from './toolbar-protocol.js';
|
|
9
9
|
|
|
10
10
|
@transient()
|
|
11
11
|
export class DefaultToolbarItem implements ToolbarItem {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ManaModule } from '../module';
|
|
1
|
+
import { ManaModule } from '../module/index.js';
|
|
2
2
|
|
|
3
|
-
import { DefaultToolbarItem } from './default-toolbar-item';
|
|
4
|
-
import { ToolbarNode, ToolbarItemFactory } from './toolbar-protocol';
|
|
5
|
-
import { ToolbarRegistry, ToolbarContribution } from './toolbar-registry';
|
|
3
|
+
import { DefaultToolbarItem } from './default-toolbar-item.js';
|
|
4
|
+
import { ToolbarNode, ToolbarItemFactory } from './toolbar-protocol.js';
|
|
5
|
+
import { ToolbarRegistry, ToolbarContribution } from './toolbar-registry.js';
|
|
6
6
|
|
|
7
7
|
export const CoreToolbarModule = ManaModule.create()
|
|
8
8
|
.contribution(ToolbarContribution)
|
|
@@ -18,6 +18,6 @@ export const CoreToolbarModule = ManaModule.create()
|
|
|
18
18
|
},
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export * from './toolbar-protocol';
|
|
22
|
-
export * from './toolbar-registry';
|
|
23
|
-
export * from './default-toolbar-item';
|
|
21
|
+
export * from './toolbar-protocol.js';
|
|
22
|
+
export * from './toolbar-registry.js';
|
|
23
|
+
export * from './default-toolbar-item.js';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Emitter } from '../../common/index.js';
|
|
2
|
-
import { prop } from '../../observable/index.js';
|
|
3
2
|
import type { Contribution } from '../../ioc/index.js';
|
|
4
3
|
import { contrib, inject, singleton, Syringe } from '../../ioc/index.js';
|
|
4
|
+
import { prop } from '../../observable/index.js';
|
|
5
|
+
import { ApplicationContribution } from '../application/index.js';
|
|
5
6
|
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
import type { ToolbarNode } from './toolbar-protocol';
|
|
9
|
-
import { ToolbarItem, ToolbarItemFactory } from './toolbar-protocol';
|
|
7
|
+
import type { ToolbarNode } from './toolbar-protocol.js';
|
|
8
|
+
import { ToolbarItem, ToolbarItemFactory } from './toolbar-protocol.js';
|
|
10
9
|
/**
|
|
11
10
|
* Clients should implement this interface if they want to contribute to the toolbar.
|
|
12
11
|
*/
|
package/src/core/utils/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './lifecycle';
|
|
2
|
-
export * from './map';
|
|
3
|
-
export * from './hooks';
|
|
1
|
+
export * from './lifecycle.js';
|
|
2
|
+
export * from './map.js';
|
|
3
|
+
export * from './hooks.js';
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import type { Newable } from '../../common/index.js';
|
|
2
2
|
import type { Syringe } from '../../ioc/index.js';
|
|
3
3
|
import { registerSideOption } from '../../ioc/index.js';
|
|
4
|
+
import type { ManaModule } from '../module/index.js';
|
|
5
|
+
import { ManaContext } from '../module/index.js';
|
|
4
6
|
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import type { View } from './view-protocol';
|
|
12
|
-
import { OriginViewComponent, ViewComponent } from './view-protocol';
|
|
13
|
-
import { SlotPreferenceContribution } from './view-protocol';
|
|
7
|
+
import { isWrapperViewComponent, ViewWrapper } from './view-container.js';
|
|
8
|
+
import { ViewManager } from './view-manager.js';
|
|
9
|
+
import type { SlotPreference, ViewPreference } from './view-protocol.js';
|
|
10
|
+
import type { View } from './view-protocol.js';
|
|
11
|
+
import { OriginViewComponent, ViewComponent } from './view-protocol.js';
|
|
12
|
+
import { SlotPreferenceContribution } from './view-protocol.js';
|
|
14
13
|
import {
|
|
15
14
|
ViewDefineToken,
|
|
16
15
|
ViewInstance,
|
|
17
16
|
ViewOption,
|
|
18
17
|
ViewFactory,
|
|
19
18
|
ViewPreferenceContribution,
|
|
20
|
-
} from './view-protocol';
|
|
19
|
+
} from './view-protocol.js';
|
|
21
20
|
|
|
22
21
|
export const createViewPreference = (...preferences: ViewPreference[]) => {
|
|
23
22
|
return { token: ViewPreferenceContribution, useValue: preferences };
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/unified-signatures */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
2
4
|
import { Disposable, DisposableCollection } from '../../common/index.js';
|
|
5
|
+
import { inject, transient } from '../../ioc/index.js';
|
|
3
6
|
import {
|
|
4
7
|
equals,
|
|
5
8
|
getOrigin,
|
|
@@ -7,15 +10,13 @@ import {
|
|
|
7
10
|
prop,
|
|
8
11
|
useInject,
|
|
9
12
|
} from '../../observable/index.js';
|
|
10
|
-
import { inject, transient } from '../../ioc/index.js';
|
|
11
|
-
import * as React from 'react';
|
|
12
13
|
|
|
13
|
-
import { view } from './decorator';
|
|
14
|
-
import { BaseView } from './default-view';
|
|
15
|
-
import { NavigatableView } from './navigatable-types';
|
|
16
|
-
import { renderNode } from './utils';
|
|
17
|
-
import { ViewManager } from './view-manager';
|
|
18
|
-
import { ViewOption, ViewInstance } from './view-protocol';
|
|
14
|
+
import { view } from './decorator.js';
|
|
15
|
+
import { BaseView } from './default-view.js';
|
|
16
|
+
import { NavigatableView } from './navigatable-types.js';
|
|
17
|
+
import { renderNode } from './utils.js';
|
|
18
|
+
import { ViewManager } from './view-manager.js';
|
|
19
|
+
import { ViewOption, ViewInstance } from './view-protocol.js';
|
|
19
20
|
import type {
|
|
20
21
|
SlotView,
|
|
21
22
|
StatefulView,
|
|
@@ -23,8 +24,8 @@ import type {
|
|
|
23
24
|
ViewComponent,
|
|
24
25
|
SlotViewOption,
|
|
25
26
|
View,
|
|
26
|
-
} from './view-protocol';
|
|
27
|
-
import { ViewRender } from './view-render';
|
|
27
|
+
} from './view-protocol.js';
|
|
28
|
+
import { ViewRender } from './view-render.js';
|
|
28
29
|
|
|
29
30
|
export const DefaultSlotViewId = 'default-slot-view';
|
|
30
31
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
1
3
|
import type { Event } from '../../common/index.js';
|
|
2
4
|
import { DisposableCollection, Emitter } from '../../common/index.js';
|
|
3
|
-
import { prop } from '../../observable/index.js';
|
|
4
5
|
import { transient } from '../../ioc/index.js';
|
|
5
|
-
import
|
|
6
|
+
import { prop } from '../../observable/index.js';
|
|
6
7
|
|
|
7
|
-
import { ViewTitle } from './title';
|
|
8
|
-
import type { View, ViewComponent, ViewSize } from './view-protocol';
|
|
8
|
+
import { ViewTitle } from './title.js';
|
|
9
|
+
import type { View, ViewComponent, ViewSize } from './view-protocol.js';
|
|
9
10
|
|
|
10
11
|
let viewCount = 0;
|
|
11
12
|
|
|
@@ -3,7 +3,7 @@ import { Iterable } from '../../common/index.js';
|
|
|
3
3
|
import { Emitter } from '../../common/index.js';
|
|
4
4
|
import { singleton } from '../../ioc/index.js';
|
|
5
5
|
|
|
6
|
-
import type { View } from './view-protocol';
|
|
6
|
+
import type { View } from './view-protocol.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* A class which tracks focus among a set of views.
|
package/src/core/view/hooks.tsx
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useLayoutEffect } from 'react';
|
|
2
2
|
import ResizeObserver from 'resize-observer-polyfill';
|
|
3
3
|
|
|
4
|
-
import { useLatest } from '../utils/index';
|
|
4
|
+
import { useLatest } from '../utils/index.js';
|
|
5
5
|
|
|
6
|
-
import type { View } from './view-protocol';
|
|
6
|
+
import type { View } from './view-protocol.js';
|
|
7
7
|
|
|
8
8
|
export type Size = { width?: number; height?: number };
|
|
9
9
|
|
package/src/core/view/index.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export * from './module';
|
|
2
|
-
export * from './view-protocol';
|
|
3
|
-
export * from './view-manager';
|
|
4
|
-
export * from './slot-view-manager';
|
|
5
|
-
export * from './default-slot-view';
|
|
6
|
-
export * from './default-view';
|
|
7
|
-
export * from './slot';
|
|
8
|
-
export * from './decorator';
|
|
9
|
-
export * from './view-decoration';
|
|
10
|
-
export * from './open-handler';
|
|
11
|
-
export * from './view-open-handler';
|
|
12
|
-
export * from './navigatable';
|
|
13
|
-
export * from './navigatable-types';
|
|
14
|
-
export * from './saveable';
|
|
15
|
-
export * from './view-application';
|
|
16
|
-
export * from './view-context';
|
|
17
|
-
export * from './view-render';
|
|
18
|
-
export * from './view-decoration';
|
|
19
|
-
export * from './view-storage';
|
|
20
|
-
export * from './stateful-view';
|
|
21
|
-
export * from './utils';
|
|
22
|
-
export * from './hooks';
|
|
1
|
+
export * from './module.js';
|
|
2
|
+
export * from './view-protocol.js';
|
|
3
|
+
export * from './view-manager.js';
|
|
4
|
+
export * from './slot-view-manager.js';
|
|
5
|
+
export * from './default-slot-view.js';
|
|
6
|
+
export * from './default-view.js';
|
|
7
|
+
export * from './slot.js';
|
|
8
|
+
export * from './decorator.js';
|
|
9
|
+
export * from './view-decoration.js';
|
|
10
|
+
export * from './open-handler.js';
|
|
11
|
+
export * from './view-open-handler.js';
|
|
12
|
+
export * from './navigatable.js';
|
|
13
|
+
export * from './navigatable-types.js';
|
|
14
|
+
export * from './saveable.js';
|
|
15
|
+
export * from './view-application.js';
|
|
16
|
+
export * from './view-context.js';
|
|
17
|
+
export * from './view-render.js';
|
|
18
|
+
export * from './view-decoration.js';
|
|
19
|
+
export * from './view-storage.js';
|
|
20
|
+
export * from './stateful-view.js';
|
|
21
|
+
export * from './utils.js';
|
|
22
|
+
export * from './hooks.js';
|
package/src/core/view/module.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ManaModule } from '../module';
|
|
1
|
+
import { ManaModule } from '../module/index.js';
|
|
2
2
|
|
|
3
|
-
import { DefaultSlotView } from './default-slot-view';
|
|
4
|
-
import { DefaultOpenerService, OpenHandler } from './open-handler';
|
|
5
|
-
import { RootComponents, RootView } from './root-view';
|
|
6
|
-
import { SlotViewManager } from './slot-view-manager';
|
|
7
|
-
import { ViewApplication } from './view-application';
|
|
8
|
-
import { ViewManager } from './view-manager';
|
|
9
|
-
import { ViewOpenHandler } from './view-open-handler';
|
|
10
|
-
import { ViewInstance, ViewPreferenceContribution } from './view-protocol';
|
|
11
|
-
import { ViewFactory } from './view-protocol';
|
|
12
|
-
import { SlotPreferenceContribution } from './view-protocol';
|
|
13
|
-
import { ViewStorage } from './view-storage';
|
|
3
|
+
import { DefaultSlotView } from './default-slot-view.js';
|
|
4
|
+
import { DefaultOpenerService, OpenHandler } from './open-handler.js';
|
|
5
|
+
import { RootComponents, RootView } from './root-view.js';
|
|
6
|
+
import { SlotViewManager } from './slot-view-manager.js';
|
|
7
|
+
import { ViewApplication } from './view-application.js';
|
|
8
|
+
import { ViewManager } from './view-manager.js';
|
|
9
|
+
import { ViewOpenHandler } from './view-open-handler.js';
|
|
10
|
+
import { ViewInstance, ViewPreferenceContribution } from './view-protocol.js';
|
|
11
|
+
import { ViewFactory } from './view-protocol.js';
|
|
12
|
+
import { SlotPreferenceContribution } from './view-protocol.js';
|
|
13
|
+
import { ViewStorage } from './view-storage.js';
|
|
14
14
|
|
|
15
15
|
export const ViewModule = ManaModule.create()
|
|
16
16
|
.contribution(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { URI } from '../../common/index.js';
|
|
2
2
|
|
|
3
|
-
import { BaseView } from './default-view';
|
|
4
|
-
import type { View } from './view-protocol';
|
|
3
|
+
import { BaseView } from './default-view.js';
|
|
4
|
+
import type { View } from './view-protocol.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* `Navigatable` provides an access to an URI of an underlying instance of `Resource`.
|
|
@@ -37,13 +37,13 @@ export namespace NavigatableView {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
export interface NavigatableViewOptions {
|
|
40
|
-
kind: 'navigatable';
|
|
40
|
+
kind: 'navigatable.js';
|
|
41
41
|
uri: string;
|
|
42
42
|
counter?: number;
|
|
43
43
|
}
|
|
44
44
|
export namespace NavigatableWidgetOptions {
|
|
45
45
|
export function is(arg: Record<any, any> | undefined): arg is NavigatableViewOptions {
|
|
46
46
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
47
|
-
return !!arg && 'kind' in arg && (arg as any).kind === 'navigatable';
|
|
47
|
+
return !!arg && 'kind' in arg && (arg as any).kind === 'navigatable.js';
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { URI } from '../../common/index.js';
|
|
2
2
|
|
|
3
|
-
import type { NavigatableView, NavigatableViewOptions } from './navigatable-types';
|
|
4
|
-
import type { ViewOpenHandlerOptions } from './view-open-handler';
|
|
5
|
-
import { ViewOpenHandler } from './view-open-handler';
|
|
3
|
+
import type { NavigatableView, NavigatableViewOptions } from './navigatable-types.js';
|
|
4
|
+
import type { ViewOpenHandlerOptions } from './view-open-handler.js';
|
|
5
|
+
import { ViewOpenHandler } from './view-open-handler.js';
|
|
6
6
|
|
|
7
7
|
export abstract class NavigatableViewOpenHandler<
|
|
8
8
|
W extends NavigatableView,
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/unified-signatures */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
2
4
|
import { Disposable, DisposableCollection } from '../../common/index.js';
|
|
3
|
-
import { equals, getOrigin, prop, useInject } from '../../observable/index.js';
|
|
4
5
|
import { inject, transient } from '../../ioc/index.js';
|
|
5
|
-
import
|
|
6
|
+
import { equals, getOrigin, prop, useInject } from '../../observable/index.js';
|
|
6
7
|
|
|
7
|
-
import { view } from './decorator';
|
|
8
|
-
import { BaseView } from './default-view';
|
|
8
|
+
import { view } from './decorator.js';
|
|
9
|
+
import { BaseView } from './default-view.js';
|
|
9
10
|
import type {
|
|
10
11
|
SlotView,
|
|
11
12
|
ViewOpenOption,
|
|
12
13
|
ViewComponent,
|
|
13
14
|
SlotViewOption,
|
|
14
15
|
View,
|
|
15
|
-
} from './view-protocol';
|
|
16
|
-
import { ViewOption, ViewInstance } from './view-protocol';
|
|
17
|
-
import { ViewRender } from './view-render';
|
|
16
|
+
} from './view-protocol.js';
|
|
17
|
+
import { ViewOption, ViewInstance } from './view-protocol.js';
|
|
18
|
+
import { ViewRender } from './view-render.js';
|
|
18
19
|
|
|
19
20
|
export const PortalViewComponent: React.FC = React.forwardRef(
|
|
20
21
|
function PortalViewComponent() {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { timeout } from '../../common/index.js';
|
|
2
|
-
import { prop, useInject } from '../../observable/index.js';
|
|
3
|
-
import { inject, singleton } from '../../ioc/index.js';
|
|
4
1
|
import * as React from 'react';
|
|
5
2
|
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { timeout } from '../../common/index.js';
|
|
4
|
+
import { inject, singleton } from '../../ioc/index.js';
|
|
5
|
+
import { prop, useInject } from '../../observable/index.js';
|
|
6
|
+
import { ApplicationState, ApplicationStateService } from '../application/index.js';
|
|
7
|
+
import { parseCssTime } from '../browser.js';
|
|
8
8
|
|
|
9
|
-
import { view } from './decorator';
|
|
10
|
-
import { BaseView } from './default-view';
|
|
11
|
-
import { Slot } from './slot';
|
|
12
|
-
import { RootSlotId, RootViewId, ViewInstance } from './view-protocol';
|
|
9
|
+
import { view } from './decorator.js';
|
|
10
|
+
import { BaseView } from './default-view.js';
|
|
11
|
+
import { Slot } from './slot.js';
|
|
12
|
+
import { RootSlotId, RootViewId, ViewInstance } from './view-protocol.js';
|
|
13
13
|
|
|
14
14
|
export const RootComponents = Symbol('RootViewComponent');
|
|
15
15
|
export interface RootComponents {
|
|
@@ -2,17 +2,16 @@ import type { Newable } from '../../common/index.js';
|
|
|
2
2
|
import { Emitter } from '../../common/index.js';
|
|
3
3
|
import { Deferred } from '../../common/index.js';
|
|
4
4
|
import { Disposable, Priority } from '../../common/index.js';
|
|
5
|
-
import { prop } from '../../observable/index.js';
|
|
6
5
|
import { contrib, inject, singleton } from '../../ioc/index.js';
|
|
7
6
|
import type { Contribution } from '../../ioc/index.js';
|
|
7
|
+
import { prop } from '../../observable/index.js';
|
|
8
|
+
import { DebugService } from '../common/debug.js';
|
|
8
9
|
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import type { SlotPreference, ViewOpenOption } from './view-protocol';
|
|
15
|
-
import { SlotPreferenceContribution, SlotView } from './view-protocol';
|
|
10
|
+
import { DefaultSlotView } from './default-slot-view.js';
|
|
11
|
+
import { ViewManager } from './view-manager.js';
|
|
12
|
+
import type { View } from './view-protocol.js';
|
|
13
|
+
import type { SlotPreference, ViewOpenOption } from './view-protocol.js';
|
|
14
|
+
import { SlotPreferenceContribution, SlotView } from './view-protocol.js';
|
|
16
15
|
|
|
17
16
|
interface ViewAddArgs {
|
|
18
17
|
view?: View;
|
package/src/core/view/slot.tsx
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import type { Newable } from '../../common/index.js';
|
|
2
|
-
import { useInject, getOrigin } from '../../observable/index.js';
|
|
3
1
|
import type { ReactNode } from 'react';
|
|
4
2
|
import { useEffect } from 'react';
|
|
5
3
|
import { memo } from 'react';
|
|
6
4
|
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
5
|
+
import type { Newable } from '../../common/index.js';
|
|
6
|
+
import { useInject, getOrigin } from '../../observable/index.js';
|
|
7
|
+
|
|
8
|
+
import { SlotViewManager } from './slot-view-manager.js';
|
|
9
|
+
import { ViewInstance } from './view-protocol.js';
|
|
10
|
+
import type { View } from './view-protocol.js';
|
|
11
|
+
import type { SlotView } from './view-protocol.js';
|
|
12
|
+
import { ViewRender } from './view-render.js';
|
|
12
13
|
|
|
13
14
|
export interface Props {
|
|
14
15
|
name: string;
|