@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
package/es/core/theme/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ManaModule } from "../module";
|
|
2
|
-
import { AntdVariableContribution } from "./basic/antd-variable-contribution";
|
|
3
|
-
import { DefaultVariableContribution } from "./basic/default-variable-contribution";
|
|
4
|
-
import { VariableContribution } from "./basic/variable-protocol";
|
|
5
|
-
import { VariableRegistry } from "./basic/variable-registry";
|
|
6
|
-
import { AntdColorContribution } from "./color/antd-color-contribution";
|
|
7
|
-
import { ColorContribution } from "./color/color-protocol";
|
|
8
|
-
import { ColorRegistry } from "./color/color-registry";
|
|
9
|
-
import { DefaultColorContribution } from "./color/default-color-contribution";
|
|
10
|
-
import { ThemeApplication } from "./theme-app";
|
|
11
|
-
import { ThemeService } from "./theme-service";
|
|
12
|
-
export * from "./basic";
|
|
13
|
-
export * from "./color";
|
|
14
|
-
export * from "./theme-service";
|
|
15
|
-
export * from "./protocol";
|
|
1
|
+
import { ManaModule } from "../module/index.js";
|
|
2
|
+
import { AntdVariableContribution } from "./basic/antd-variable-contribution.js";
|
|
3
|
+
import { DefaultVariableContribution } from "./basic/default-variable-contribution.js";
|
|
4
|
+
import { VariableContribution } from "./basic/variable-protocol.js";
|
|
5
|
+
import { VariableRegistry } from "./basic/variable-registry.js";
|
|
6
|
+
import { AntdColorContribution } from "./color/antd-color-contribution.js";
|
|
7
|
+
import { ColorContribution } from "./color/color-protocol.js";
|
|
8
|
+
import { ColorRegistry } from "./color/color-registry.js";
|
|
9
|
+
import { DefaultColorContribution } from "./color/default-color-contribution.js";
|
|
10
|
+
import { ThemeApplication } from "./theme-app.js";
|
|
11
|
+
import { ThemeService } from "./theme-service.js";
|
|
12
|
+
export * from "./basic/index.js";
|
|
13
|
+
export * from "./color/index.js";
|
|
14
|
+
export * from "./theme-service.js";
|
|
15
|
+
export * from "./protocol.js";
|
|
16
16
|
export var ThemeModule = ManaModule.create().register({
|
|
17
17
|
token: ThemeService,
|
|
18
18
|
useDynamic: function useDynamic() {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DisposableCollection } from '../../common/index.js';
|
|
2
2
|
import type { Contribution } from '../../ioc/index.js';
|
|
3
|
-
import type { Application } from '../application/index';
|
|
4
|
-
import { ApplicationContribution } from '../application/index';
|
|
5
|
-
import { VariableContribution } from './basic/variable-protocol';
|
|
6
|
-
import { VariableRegistry } from './basic/variable-registry';
|
|
7
|
-
import { ColorContribution } from './color/color-protocol';
|
|
8
|
-
import { ColorRegistry } from './color/color-registry';
|
|
9
|
-
import type { CssVariable } from './protocol';
|
|
10
|
-
import { ThemeService } from './theme-service';
|
|
3
|
+
import type { Application } from '../application/index.js';
|
|
4
|
+
import { ApplicationContribution } from '../application/index.js';
|
|
5
|
+
import { VariableContribution } from './basic/variable-protocol.js';
|
|
6
|
+
import { VariableRegistry } from './basic/variable-registry.js';
|
|
7
|
+
import { ColorContribution } from './color/color-protocol.js';
|
|
8
|
+
import { ColorRegistry } from './color/color-registry.js';
|
|
9
|
+
import type { CssVariable } from './protocol.js';
|
|
10
|
+
import { ThemeService } from './theme-service.js';
|
|
11
11
|
export declare class ThemeApplication implements ApplicationContribution {
|
|
12
12
|
protected toUpdate: DisposableCollection;
|
|
13
13
|
protected readonly themeService: ThemeService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-app.d.ts","sourceRoot":"","sources":["../../../src/core/theme/theme-app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"theme-app.d.ts","sourceRoot":"","sources":["../../../src/core/theme/theme-app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,qBACa,gBAAiB,YAAW,uBAAuB;IAC9D,SAAS,CAAC,QAAQ,uBAA8B;IAC1B,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IAC1C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAC;IAEzE,SAAS,CAAC,QAAQ,CAAC,qBAAqB,EAAE,YAAY,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IAC/D,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;IAGhE,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,YAAY,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAEhF,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC;IAEnC,OAAO,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI;IAgBvC,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,WAAW;IAUxC,SAAS,CAAC,iBAAiB;IAc3B,SAAS,CAAC,MAAM,QAAO,IAAI,CAUzB;CACH"}
|
|
@@ -17,12 +17,12 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
17
17
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
18
18
|
import { Disposable, DisposableCollection } from "../../common/index.js";
|
|
19
19
|
import { contrib, inject, singleton } from "../../ioc/index.js";
|
|
20
|
-
import { ApplicationContribution } from "../application/index";
|
|
21
|
-
import { VariableContribution } from "./basic/variable-protocol";
|
|
22
|
-
import { VariableRegistry } from "./basic/variable-registry";
|
|
23
|
-
import { ColorContribution } from "./color/color-protocol";
|
|
24
|
-
import { ColorRegistry } from "./color/color-registry";
|
|
25
|
-
import { ThemeService } from "./theme-service";
|
|
20
|
+
import { ApplicationContribution } from "../application/index.js";
|
|
21
|
+
import { VariableContribution } from "./basic/variable-protocol.js";
|
|
22
|
+
import { VariableRegistry } from "./basic/variable-registry.js";
|
|
23
|
+
import { ColorContribution } from "./color/color-protocol.js";
|
|
24
|
+
import { ColorRegistry } from "./color/color-registry.js";
|
|
25
|
+
import { ThemeService } from "./theme-service.js";
|
|
26
26
|
export var ThemeApplication = (_dec = singleton({
|
|
27
27
|
contrib: ApplicationContribution
|
|
28
28
|
}), _dec2 = inject(ThemeService), _dec3 = inject(VariableRegistry), _dec4 = contrib(VariableContribution), _dec5 = inject(ColorRegistry), _dec6 = contrib(ColorContribution), _dec(_class = (_class2 = /*#__PURE__*/function () {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Event } from '../../common/index.js';
|
|
2
2
|
import { Emitter, Disposable } from '../../common/index.js';
|
|
3
|
-
import type { StorageService } from '../common';
|
|
3
|
+
import type { StorageService } from '../common/index.js';
|
|
4
4
|
import './style/theme-base.less';
|
|
5
5
|
export declare const ThemeServiceSymbol: unique symbol;
|
|
6
6
|
export type ThemeType = 'light' | 'dark' | 'hc';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-service.d.ts","sourceRoot":"","sources":["../../../src/core/theme/theme-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EAAE,OAAO,EAAE,UAAU,EAAW,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"theme-service.d.ts","sourceRoot":"","sources":["../../../src/core/theme/theme-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EAAE,OAAO,EAAE,UAAU,EAAW,MAAM,uBAAuB,CAAC;AAIrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,OAAO,yBAAyB,CAAC;AAEjC,eAAO,MAAM,kBAAkB,eAAyB,CAAC;AAEzD,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,IAAI,CAAC;AAEhD,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC;AAC5C,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACnC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,MAA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AO,EAAE,MAAM,GAAG,KAAK;IAIhC,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,GAAE,WAAgB,GAAG,IAAI;IAkBhE,eAAe,IAAI,KAAK;IASxB,cAAc,IAAI,KAAK;IAIvB,IAAI,YAAY,IAAI,KAAK,CAExB;IAED,KAAK,IAAI,IAAI;CAGd"}
|
|
@@ -19,9 +19,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
19
19
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
20
20
|
import { isPromiseLike } from "../../common/index.js";
|
|
21
21
|
import { Emitter, Disposable, objects } from "../../common/index.js";
|
|
22
|
-
import { prop } from "../../observable/index.js";
|
|
23
22
|
import { singleton } from "../../ioc/index.js";
|
|
24
|
-
import {
|
|
23
|
+
import { prop } from "../../observable/index.js";
|
|
24
|
+
import { localStorageService } from "../common/index.js";
|
|
25
25
|
import "./style/theme-base.less";
|
|
26
26
|
export var ThemeServiceSymbol = Symbol('ThemeService');
|
|
27
27
|
export var BuiltinThemeProvider = /*#__PURE__*/_createClass(function BuiltinThemeProvider() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { Event } from '../../common/index.js';
|
|
3
3
|
import { Emitter } from '../../common/index.js';
|
|
4
|
-
import { ToolbarNode } from './toolbar-protocol';
|
|
5
|
-
import type { ToolbarItem } from './toolbar-protocol';
|
|
4
|
+
import { ToolbarNode } from './toolbar-protocol.js';
|
|
5
|
+
import type { ToolbarItem } from './toolbar-protocol.js';
|
|
6
6
|
export declare class DefaultToolbarItem implements ToolbarItem {
|
|
7
7
|
readonly id: string;
|
|
8
8
|
readonly command: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-toolbar-item.d.ts","sourceRoot":"","sources":["../../../src/core/toolbar/default-toolbar-item.ts"],"names":[],"mappings":";AAAA,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AAS,GAAG,KAAK,CAAC,EAAE,CAAC;IAE9C;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,EAAE,CAAC;IAE3C,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,GAAG,SAAS,CAAC;IACzD,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;IAE9D,IAAI,EAAE,WAAW,CAAC;gBAEe,IAAI,EAAE,WAAW;IAkBlD,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAE/B,OAAO;CAGR"}
|
|
@@ -9,10 +9,10 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9
9
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
10
10
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
11
11
|
import { Emitter } from "../../common/index.js";
|
|
12
|
-
import { prop } from "../../observable/index.js";
|
|
13
12
|
import { inject } from "../../ioc/index.js";
|
|
14
13
|
import { transient } from "../../ioc/index.js";
|
|
15
|
-
import {
|
|
14
|
+
import { prop } from "../../observable/index.js";
|
|
15
|
+
import { ToolbarNode } from "./toolbar-protocol.js";
|
|
16
16
|
export var DefaultToolbarItem = (_dec = transient(), _dec2 = prop(), _dec3 = prop(), _dec4 = prop(), _dec5 = prop(), _dec(_class = (_class2 = /*#__PURE__*/function () {
|
|
17
17
|
/**
|
|
18
18
|
* Optional label for the item.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ManaModule } from '../module';
|
|
1
|
+
import { ManaModule } from '../module/index.js';
|
|
2
2
|
export declare const CoreToolbarModule: ManaModule;
|
|
3
|
-
export * from './toolbar-protocol';
|
|
4
|
-
export * from './toolbar-registry';
|
|
5
|
-
export * from './default-toolbar-item';
|
|
3
|
+
export * from './toolbar-protocol.js';
|
|
4
|
+
export * from './toolbar-registry.js';
|
|
5
|
+
export * from './default-toolbar-item.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/toolbar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/toolbar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAMhD,eAAO,MAAM,iBAAiB,YAY1B,CAAC;AAEL,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC"}
|
package/es/core/toolbar/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ManaModule } from "../module";
|
|
2
|
-
import { DefaultToolbarItem } from "./default-toolbar-item";
|
|
3
|
-
import { ToolbarNode, ToolbarItemFactory } from "./toolbar-protocol";
|
|
4
|
-
import { ToolbarRegistry, ToolbarContribution } from "./toolbar-registry";
|
|
1
|
+
import { ManaModule } from "../module/index.js";
|
|
2
|
+
import { DefaultToolbarItem } from "./default-toolbar-item.js";
|
|
3
|
+
import { ToolbarNode, ToolbarItemFactory } from "./toolbar-protocol.js";
|
|
4
|
+
import { ToolbarRegistry, ToolbarContribution } from "./toolbar-registry.js";
|
|
5
5
|
export var CoreToolbarModule = ManaModule.create().contribution(ToolbarContribution).register(DefaultToolbarItem, ToolbarRegistry).register({
|
|
6
6
|
token: ToolbarItemFactory,
|
|
7
7
|
useDynamic: function useDynamic(ctx) {
|
|
@@ -15,6 +15,6 @@ export var CoreToolbarModule = ManaModule.create().contribution(ToolbarContribut
|
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
export * from "./toolbar-protocol";
|
|
19
|
-
export * from "./toolbar-registry";
|
|
20
|
-
export * from "./default-toolbar-item";
|
|
18
|
+
export * from "./toolbar-protocol.js";
|
|
19
|
+
export * from "./toolbar-registry.js";
|
|
20
|
+
export * from "./default-toolbar-item.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { Event, Disposable } from '../../common/index.js';
|
|
3
|
-
import type { CommandHandler } from '../command';
|
|
3
|
+
import type { CommandHandler } from '../command/index.js';
|
|
4
4
|
/**
|
|
5
5
|
* Instance of toolbar
|
|
6
6
|
* Use this token to get the toolbar instance when customizing elements on the toolbar.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar-protocol.d.ts","sourceRoot":"","sources":["../../../src/core/toolbar/toolbar-protocol.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"toolbar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,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,EAAE,CAAC;IAE3C;;OAEG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAE/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;CACxC;AAED,MAAM,WAAW,WAAY,SAAQ,WAAW,EAAE,UAAU;IAC1D,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;CACzB;AAED,yBAAiB,WAAW,CAAC;IAC3B,SAAgB,YAAY,CAC1B,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GACnC,GAAG,IAAI,WAAW,CAOpB;IACD,SAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,GAAG,IAAI,WAAW,CAE3E;IAED,SAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAQvD;CACF"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Emitter } from '../../common/index.js';
|
|
2
2
|
import type { Contribution } from '../../ioc/index.js';
|
|
3
3
|
import { Syringe } from '../../ioc/index.js';
|
|
4
|
-
import { ApplicationContribution } from '../application';
|
|
5
|
-
import type { ToolbarNode } from './toolbar-protocol';
|
|
6
|
-
import { ToolbarItem, ToolbarItemFactory } from './toolbar-protocol';
|
|
4
|
+
import { ApplicationContribution } from '../application/index.js';
|
|
5
|
+
import type { ToolbarNode } from './toolbar-protocol.js';
|
|
6
|
+
import { ToolbarItem, ToolbarItemFactory } from './toolbar-protocol.js';
|
|
7
7
|
/**
|
|
8
8
|
* Clients should implement this interface if they want to contribute to the toolbar.
|
|
9
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar-registry.d.ts","sourceRoot":"","sources":["../../../src/core/toolbar/toolbar-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"toolbar-registry.d.ts","sourceRoot":"","sources":["../../../src/core/toolbar/toolbar-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAA8B,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAEzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAElE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACxE;;GAEG;AACH,eAAO,MAAM,mBAAmB,sBAA6C,CAAC;AAE9E,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,oBAAoB,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,IAAI,CAAC;CAC3D,CAAC;AAEF;;GAEG;AACH,qBACa,eAAgB,YAAW,uBAAuB;IAE7D,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAa;IAE5C,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAC1D,SAAS,CAAC,QAAQ,CAAC,oBAAoB,EAAE,YAAY,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;gBAIlF,kBAAkB,EAAE,kBAAkB,EAEtC,oBAAoB,EAAE,YAAY,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IAMlE,SAAS,CAAC,QAAQ,CAAC,kBAAkB,gBAAuB;IAE5D,OAAO,IAAI,IAAI;IAOf;;;;OAIG;IACH,YAAY,CAAC,GAAG,EAAE,WAAW,GAAG,WAAW;IAW3C,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAInD,cAAc,CAAC,QAAQ,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI;CAIrD"}
|
|
@@ -12,10 +12,10 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12
12
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
13
13
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
14
14
|
import { Emitter } from "../../common/index.js";
|
|
15
|
-
import { prop } from "../../observable/index.js";
|
|
16
15
|
import { contrib, inject, singleton, Syringe } from "../../ioc/index.js";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
16
|
+
import { prop } from "../../observable/index.js";
|
|
17
|
+
import { ApplicationContribution } from "../application/index.js";
|
|
18
|
+
import { ToolbarItem, ToolbarItemFactory } from "./toolbar-protocol.js";
|
|
19
19
|
/**
|
|
20
20
|
* Clients should implement this interface if they want to contribute to the toolbar.
|
|
21
21
|
*/
|
package/es/core/utils/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"}
|
package/es/core/utils/index.js
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,8 +1,8 @@
|
|
|
1
1
|
import type { Newable } from '../../common/index.js';
|
|
2
2
|
import type { Syringe } from '../../ioc/index.js';
|
|
3
|
-
import type { ManaModule } from '../module';
|
|
4
|
-
import type { SlotPreference, ViewPreference } from './view-protocol';
|
|
5
|
-
import type { View } from './view-protocol';
|
|
3
|
+
import type { ManaModule } from '../module/index.js';
|
|
4
|
+
import type { SlotPreference, ViewPreference } from './view-protocol.js';
|
|
5
|
+
import type { View } from './view-protocol.js';
|
|
6
6
|
export declare const createViewPreference: (...preferences: ViewPreference[]) => {
|
|
7
7
|
token: Syringe.DefinedToken;
|
|
8
8
|
useValue: ViewPreference<Record<any, any>>[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decorator.d.ts","sourceRoot":"","sources":["../../../src/core/view/decorator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"decorator.d.ts","sourceRoot":"","sources":["../../../src/core/view/decorator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKrD,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAW/C,eAAO,MAAM,oBAAoB,mBAAoB,cAAc,EAAE;;;CAEpE,CAAC;AAEF,eAAO,MAAM,oBAAoB,mBAAoB,cAAc,EAAE;;;CAEpE,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC;CAC7B;AAED,wBAAgB,IAAI,CAAC,CAAC,SAAS,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,UAAU,YAC7D,QAAQ,CAAC,CAAC,KAAG,IAAI,CAmDlC"}
|
|
@@ -3,12 +3,12 @@ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyri
|
|
|
3
3
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
4
4
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
5
5
|
import { registerSideOption } from "../../ioc/index.js";
|
|
6
|
-
import { ManaContext } from "../module";
|
|
7
|
-
import { isWrapperViewComponent, ViewWrapper } from "./view-container";
|
|
8
|
-
import { ViewManager } from "./view-manager";
|
|
9
|
-
import { OriginViewComponent, ViewComponent } from "./view-protocol";
|
|
10
|
-
import { SlotPreferenceContribution } from "./view-protocol";
|
|
11
|
-
import { ViewDefineToken, ViewInstance, ViewOption, ViewFactory, ViewPreferenceContribution } from "./view-protocol";
|
|
6
|
+
import { ManaContext } from "../module/index.js";
|
|
7
|
+
import { isWrapperViewComponent, ViewWrapper } from "./view-container.js";
|
|
8
|
+
import { ViewManager } from "./view-manager.js";
|
|
9
|
+
import { OriginViewComponent, ViewComponent } from "./view-protocol.js";
|
|
10
|
+
import { SlotPreferenceContribution } from "./view-protocol.js";
|
|
11
|
+
import { ViewDefineToken, ViewInstance, ViewOption, ViewFactory, ViewPreferenceContribution } from "./view-protocol.js";
|
|
12
12
|
export var createViewPreference = function createViewPreference() {
|
|
13
13
|
for (var _len = arguments.length, preferences = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
14
14
|
preferences[_key] = arguments[_key];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Disposable } from '../../common/index.js';
|
|
2
1
|
import * as React from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
2
|
+
import { Disposable } from '../../common/index.js';
|
|
3
|
+
import { BaseView } from './default-view.js';
|
|
4
|
+
import { NavigatableView } from './navigatable-types.js';
|
|
5
|
+
import { renderNode } from './utils.js';
|
|
6
|
+
import { ViewManager } from './view-manager.js';
|
|
7
|
+
import type { SlotView, StatefulView, ViewOpenOption, ViewComponent, SlotViewOption, View } from './view-protocol.js';
|
|
8
8
|
export declare const DefaultSlotViewId = "default-slot-view";
|
|
9
9
|
export declare const DefaultSlotViewComponent: React.FC;
|
|
10
10
|
type NavigateHistory = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-slot-view.d.ts","sourceRoot":"","sources":["../../../src/core/view/default-slot-view.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"default-slot-view.d.ts","source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KAAK,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAQ;IAEvC,IAAI,EAAE,aAAa,CAA4B;gBAGlC,MAAM,EAAE,cAAc,GAAG,SAAS,EACjC,WAAW,EAAE,WAAW;IAW/C,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS;IAK7C,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;IAkBjD,QAAQ,CAAC,YAAY,EAAE,IAAI,GAAG,MAAM;IAO9B,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC;IAsB/E,SAAS,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI;IAMlC,SAAS,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,GAAG,IAAI;IAShD,UAAU,CAAC,YAAY,EAAE,IAAI,GAAG,IAAI;IAKpC,SAAS,CAAC,cAAc,CAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAE,cAAiC;IAMlF,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,WAAW,CAAC,EAAE,cAAc;IAiBnE,oBAAoB,CAAC,YAAY,EAAE,IAAI;IAoBvC,SAAS,CAAC,aAAa,CAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,CAAC,EAAE,cAAc;IAI/D,aAAa,CAAC,KAAK,EAAE,IAAI,GAAG,cAAc,GAAG,SAAS;IAI7C,OAAO;IAShB,SAAS,CAAC,eAAe,oBAAc;IAEvC,SAAS,CAAC,gBAAgB,oBAAc;CACzC;AAED,eAAO,MAAM,YAAY,wBAAkB,CAAC"}
|
|
@@ -21,17 +21,17 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
21
21
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
22
22
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
23
23
|
/* eslint-disable @typescript-eslint/unified-signatures */
|
|
24
|
+
import * as React from 'react';
|
|
24
25
|
import { Disposable, DisposableCollection } from "../../common/index.js";
|
|
25
|
-
import { equals, getOrigin, Notifier, prop, useInject } from "../../observable/index.js";
|
|
26
26
|
import { inject, transient } from "../../ioc/index.js";
|
|
27
|
-
import
|
|
28
|
-
import { view } from "./decorator";
|
|
29
|
-
import { BaseView } from "./default-view";
|
|
30
|
-
import { NavigatableView } from "./navigatable-types";
|
|
31
|
-
import { renderNode } from "./utils";
|
|
32
|
-
import { ViewManager } from "./view-manager";
|
|
33
|
-
import { ViewOption, ViewInstance } from "./view-protocol";
|
|
34
|
-
import { ViewRender } from "./view-render";
|
|
27
|
+
import { equals, getOrigin, Notifier, prop, useInject } from "../../observable/index.js";
|
|
28
|
+
import { view } from "./decorator.js";
|
|
29
|
+
import { BaseView } from "./default-view.js";
|
|
30
|
+
import { NavigatableView } from "./navigatable-types.js";
|
|
31
|
+
import { renderNode } from "./utils.js";
|
|
32
|
+
import { ViewManager } from "./view-manager.js";
|
|
33
|
+
import { ViewOption, ViewInstance } from "./view-protocol.js";
|
|
34
|
+
import { ViewRender } from "./view-render.js";
|
|
35
35
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
36
36
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
37
37
|
export var DefaultSlotViewId = 'default-slot-view';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { Event } from '../../common/index.js';
|
|
2
3
|
import { DisposableCollection, Emitter } from '../../common/index.js';
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import type { View, ViewComponent, ViewSize } from './view-protocol';
|
|
4
|
+
import { ViewTitle } from './title.js';
|
|
5
|
+
import type { View, ViewComponent, ViewSize } from './view-protocol.js';
|
|
6
6
|
export declare function BaseViewRender(): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export declare class BaseView implements View {
|
|
8
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-view.d.ts","sourceRoot":"","sources":["../../../src/core/view/default-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"default-view.d.ts","sourceRoot":"","sources":["../../../src/core/view/default-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAItE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAIxE,wBAAgB,cAAc,4CAE7B;AACD,qBACa,QAAS,YAAW,IAAI;IACnC;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;IACnD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX,YAAY,CAAC,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;IACnC,WAAW,CAAC,IAAI,IAAI;IACpB,aAAa,CAAC,IAAI,IAAI;IAGtB,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAW;IAG1C,IAAI,EAAE,aAAa,CAAkB;IAErC;;OAEG;IAEH,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,UAAU,UAAS;IAGnB,UAAU,UAAS;IAGnB,SAAS,UAAS;IAElB,KAAK,EAAE,SAAS,CAAC;IAEjB,SAAS,CAAC,SAAS,uBAA8B;IAEjD,SAAS,CAAC,oBAAoB,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAE9D,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,CAAmC;;IAQ1D,OAAO;CAKR"}
|
|
@@ -8,11 +8,11 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
8
8
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
9
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
10
10
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
11
|
+
import * as React from 'react';
|
|
11
12
|
import { DisposableCollection, Emitter } from "../../common/index.js";
|
|
12
|
-
import { prop } from "../../observable/index.js";
|
|
13
13
|
import { transient } from "../../ioc/index.js";
|
|
14
|
-
import
|
|
15
|
-
import { ViewTitle } from "./title";
|
|
14
|
+
import { prop } from "../../observable/index.js";
|
|
15
|
+
import { ViewTitle } from "./title.js";
|
|
16
16
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
17
17
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
18
|
var viewCount = 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Disposable, Event as EmitterEvent } from '../../common/index.js';
|
|
2
2
|
import { Emitter } from '../../common/index.js';
|
|
3
|
-
import type { View } from './view-protocol';
|
|
3
|
+
import type { View } from './view-protocol.js';
|
|
4
4
|
/**
|
|
5
5
|
* A class which tracks focus among a set of views.
|
|
6
6
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"focus-tracker.d.ts","sourceRoot":"","sources":["../../../src/core/view/focus-tracker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE/E,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"focus-tracker.d.ts","sourceRoot":"","sources":["../../../src/core/view/focus-tracker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE/E,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C;;;;;GAKG;AACH,qBACa,YAAY,CAAC,CAAC,SAAS,IAAI,CAAE,YAAW,UAAU;IAC7D,SAAS,CAAC,OAAO,SAAK;IACtB,SAAS,CAAC,MAAM,EAAE,CAA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B7D;;OAEG;IACH,SAAS,CAAC,gBAAgB,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAanD;;OAEG;IACH,SAAS,CAAC,eAAe,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAyBlD;;OAEG;IACH,SAAS,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI;CAG1C;AAED;;GAEG;AACH,yBAAiB,YAAY,CAAC;IAC5B;;OAEG;IACH,UAAiB,YAAY,CAAC,CAAC,SAAS,IAAI;QAC1C;;WAEG;QACH,QAAQ,EAAE,CAAC,GAAG,IAAI,CAAC;QAEnB;;WAEG;QACH,QAAQ,EAAE,CAAC,GAAG,IAAI,CAAC;KACpB;CACF"}
|
package/es/core/view/hooks.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/core/view/hooks.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/core/view/hooks.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,MAAM,IAAI,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvD,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,YAAY,CAAC,cAAc,CAAC,GAAG,IAAI,CA8BrF"}
|
package/es/core/view/hooks.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
import { useLayoutEffect } from 'react';
|
|
3
3
|
import ResizeObserver from 'resize-observer-polyfill';
|
|
4
|
-
import { useLatest } from "../utils/index";
|
|
4
|
+
import { useLatest } from "../utils/index.js";
|
|
5
5
|
export function useViewSize(view, ref) {
|
|
6
6
|
var callback = useLatest(function (size) {
|
|
7
7
|
var _view$onViewResize;
|
package/es/core/view/index.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
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';
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
|
package/es/core/view/index.js
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/es/core/view/module.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/core/view/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/core/view/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAchD,eAAO,MAAM,UAAU,YA0BnB,CAAC"}
|