@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/view/module.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ManaModule } from "../module";
|
|
2
|
-
import { DefaultSlotView } from "./default-slot-view";
|
|
3
|
-
import { DefaultOpenerService, OpenHandler } from "./open-handler";
|
|
4
|
-
import { RootComponents, RootView } from "./root-view";
|
|
5
|
-
import { SlotViewManager } from "./slot-view-manager";
|
|
6
|
-
import { ViewApplication } from "./view-application";
|
|
7
|
-
import { ViewManager } from "./view-manager";
|
|
8
|
-
import { ViewOpenHandler } from "./view-open-handler";
|
|
9
|
-
import { ViewInstance, ViewPreferenceContribution } from "./view-protocol";
|
|
10
|
-
import { ViewFactory } from "./view-protocol";
|
|
11
|
-
import { SlotPreferenceContribution } from "./view-protocol";
|
|
12
|
-
import { ViewStorage } from "./view-storage";
|
|
1
|
+
import { ManaModule } from "../module/index.js";
|
|
2
|
+
import { DefaultSlotView } from "./default-slot-view.js";
|
|
3
|
+
import { DefaultOpenerService, OpenHandler } from "./open-handler.js";
|
|
4
|
+
import { RootComponents, RootView } from "./root-view.js";
|
|
5
|
+
import { SlotViewManager } from "./slot-view-manager.js";
|
|
6
|
+
import { ViewApplication } from "./view-application.js";
|
|
7
|
+
import { ViewManager } from "./view-manager.js";
|
|
8
|
+
import { ViewOpenHandler } from "./view-open-handler.js";
|
|
9
|
+
import { ViewInstance, ViewPreferenceContribution } from "./view-protocol.js";
|
|
10
|
+
import { ViewFactory } from "./view-protocol.js";
|
|
11
|
+
import { SlotPreferenceContribution } from "./view-protocol.js";
|
|
12
|
+
import { ViewStorage } from "./view-storage.js";
|
|
13
13
|
export var ViewModule = ManaModule.create().contribution(ViewFactory, ViewPreferenceContribution, SlotPreferenceContribution, OpenHandler).register(RootView, DefaultSlotView, ViewStorage, ViewApplication, SlotViewManager, ViewManager, DefaultOpenerService, ViewOpenHandler)
|
|
14
14
|
// register top level ViewInstance
|
|
15
15
|
// TODO: remove this when we have a better way to register top level ViewInstance
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { URI } from '../../common/index.js';
|
|
2
|
-
import { BaseView } from './default-view';
|
|
3
|
-
import type { View } from './view-protocol';
|
|
2
|
+
import { BaseView } from './default-view.js';
|
|
3
|
+
import type { View } from './view-protocol.js';
|
|
4
4
|
/**
|
|
5
5
|
* `Navigatable` provides an access to an URI of an underlying instance of `Resource`.
|
|
6
6
|
*/
|
|
@@ -23,7 +23,7 @@ export declare namespace NavigatableView {
|
|
|
23
23
|
function getUri(widget?: View): URI | undefined;
|
|
24
24
|
}
|
|
25
25
|
export interface NavigatableViewOptions {
|
|
26
|
-
kind: 'navigatable';
|
|
26
|
+
kind: 'navigatable.js';
|
|
27
27
|
uri: string;
|
|
28
28
|
counter?: number;
|
|
29
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigatable-types.d.ts","sourceRoot":"","sources":["../../../src/core/view/navigatable-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"navigatable-types.d.ts","sourceRoot":"","sources":["../../../src/core/view/navigatable-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,eAAe,EAAE,CAAC,WAAW,EAAE,GAAG,KAAK,GAAG,GAAG,SAAS,CAAC;CACxD;AAED,yBAAiB,WAAW,CAAC;IAC3B,SAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,GAAG,IAAI,WAAW,CAExE;CACF;AAED,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,WAAW,CAAC;AACrD,yBAAiB,eAAe,CAAC;IAC/B,SAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,GAAG,IAAI,eAAe,CAE5E;IACD,SAAgB,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,SAAS,CAKrD;CACF;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,gBAAgB,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AACD,yBAAiB,wBAAwB,CAAC;IACxC,SAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,GAAG,IAAI,sBAAsB,CAGnF;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseView } from "./default-view";
|
|
1
|
+
import { BaseView } from "./default-view.js";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* `Navigatable` provides an access to an URI of an underlying instance of `Resource`.
|
|
@@ -28,7 +28,7 @@ export var NavigatableWidgetOptions;
|
|
|
28
28
|
(function (_NavigatableWidgetOptions) {
|
|
29
29
|
function is(arg) {
|
|
30
30
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
31
|
-
return !!arg && 'kind' in arg && arg.kind === 'navigatable';
|
|
31
|
+
return !!arg && 'kind' in arg && arg.kind === 'navigatable.js';
|
|
32
32
|
}
|
|
33
33
|
_NavigatableWidgetOptions.is = is;
|
|
34
34
|
})(NavigatableWidgetOptions || (NavigatableWidgetOptions = {}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { URI } from '../../common/index.js';
|
|
2
|
-
import type { NavigatableView, NavigatableViewOptions } from './navigatable-types';
|
|
3
|
-
import type { ViewOpenHandlerOptions } from './view-open-handler';
|
|
4
|
-
import { ViewOpenHandler } from './view-open-handler';
|
|
2
|
+
import type { NavigatableView, NavigatableViewOptions } from './navigatable-types.js';
|
|
3
|
+
import type { ViewOpenHandlerOptions } from './view-open-handler.js';
|
|
4
|
+
import { ViewOpenHandler } from './view-open-handler.js';
|
|
5
5
|
export declare abstract class NavigatableViewOpenHandler<W extends NavigatableView> extends ViewOpenHandler<W> {
|
|
6
6
|
protected createViewOptions(uri: URI, options?: ViewOpenHandlerOptions): NavigatableViewOptions;
|
|
7
7
|
protected serializeUri(uri: URI): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigatable.d.ts","sourceRoot":"","sources":["../../../src/core/view/navigatable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAE5C,OAAO,KAAK,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"navigatable.d.ts","sourceRoot":"","sources":["../../../src/core/view/navigatable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAE5C,OAAO,KAAK,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACtF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,8BAAsB,0BAA0B,CAC9C,CAAC,SAAS,eAAe,CACzB,SAAQ,eAAe,CAAC,CAAC,CAAC;IAE1B,SAAS,CAAC,iBAAiB,CACzB,GAAG,EAAE,GAAG,EACR,OAAO,CAAC,EAAE,sBAAsB,GAC/B,sBAAsB;IAQzB,SAAS,CAAC,YAAY,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM;CAOzC"}
|
|
@@ -15,7 +15,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
15
15
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
16
16
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
17
17
|
import { URI } from "../../common/index.js";
|
|
18
|
-
import { ViewOpenHandler } from "./view-open-handler";
|
|
18
|
+
import { ViewOpenHandler } from "./view-open-handler.js";
|
|
19
19
|
export var NavigatableViewOpenHandler = /*#__PURE__*/function (_ViewOpenHandler) {
|
|
20
20
|
_inherits(NavigatableViewOpenHandler, _ViewOpenHandler);
|
|
21
21
|
var _super = _createSuper(NavigatableViewOpenHandler);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Disposable } from '../../common/index.js';
|
|
2
1
|
import * as React from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
2
|
+
import { Disposable } from '../../common/index.js';
|
|
3
|
+
import { BaseView } from './default-view.js';
|
|
4
|
+
import type { SlotView, ViewOpenOption, ViewComponent, SlotViewOption, View } from './view-protocol.js';
|
|
5
5
|
export declare const PortalViewComponent: React.FC;
|
|
6
6
|
export declare class PortalSlotView extends BaseView implements SlotView {
|
|
7
7
|
protected viewOpenOptions: Map<View, ViewOpenOption | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal-slot-view.d.ts","sourceRoot":"","sources":["../../../src/core/view/portal-slot-view.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"portal-slot-view.d.ts","sourceRoot":"","sources":["../../../src/core/view/portal-slot-view.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,UAAU,EAAwB,MAAM,uBAAuB,CAAC;AAKzE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,EACV,QAAQ,EACR,cAAc,EACd,aAAa,EACb,cAAc,EACd,IAAI,EACL,MAAM,oBAAoB,CAAC;AAI5B,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAWvC,CAAC;AAEF,qBAEa,cAAe,SAAQ,QAAS,YAAW,QAAQ;IAC9D,SAAS,CAAC,eAAe,wCAA+C;IACxE,SAAS,CAAC,iBAAiB,wBAA+B;IAG1D,QAAQ,EAAE,IAAI,EAAE,CAAM;IAEtB,SAAS,CAAC,MAAM,EAAE,cAAc,GAAG,SAAS,CAAC;IAEpC,IAAI,EAAE,aAAa,CAAuB;gBAEnB,MAAM,EAAE,cAAc,GAAG,SAAS;IASlE,QAAQ,CAAC,YAAY,EAAE,IAAI,GAAG,MAAM;IAO9B,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC;IAiB/E,SAAS,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,GAAG,IAAI;IAQhD,UAAU,CAAC,YAAY,EAAE,IAAI,GAAG,IAAI;IAKpC,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;CAQjB"}
|
|
@@ -21,14 +21,14 @@ 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, 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 { ViewOption, ViewInstance } from "./view-protocol";
|
|
31
|
-
import { ViewRender } from "./view-render";
|
|
27
|
+
import { equals, getOrigin, prop, useInject } from "../../observable/index.js";
|
|
28
|
+
import { view } from "./decorator.js";
|
|
29
|
+
import { BaseView } from "./default-view.js";
|
|
30
|
+
import { ViewOption, ViewInstance } from "./view-protocol.js";
|
|
31
|
+
import { ViewRender } from "./view-render.js";
|
|
32
32
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
33
33
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
34
34
|
export var PortalViewComponent = /*#__PURE__*/React.forwardRef(function PortalViewComponent() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ApplicationStateService } from '../application';
|
|
3
|
-
import { BaseView } from './default-view';
|
|
2
|
+
import { ApplicationStateService } from '../application/index.js';
|
|
3
|
+
import { BaseView } from './default-view.js';
|
|
4
4
|
export declare const RootComponents: unique symbol;
|
|
5
5
|
export interface RootComponents {
|
|
6
6
|
Loading?: React.FC;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-view.d.ts","sourceRoot":"","sources":["../../../src/core/view/root-view.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"root-view.d.ts","sourceRoot":"","sources":["../../../src/core/view/root-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAoB,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAIpF,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAI7C,eAAO,MAAM,cAAc,eAA8B,CAAC;AAC1D,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,sEAc5B,CAAC;AAEH,qBAEa,QAAS,SAAQ,QAAQ;IAC3B,EAAE,EAAE,MAAM,CAAc;IAGjC,OAAO,UAAQ;IAEf,SAAS,CAAC,QAAQ,EAAG,uBAAuB,CAAC;gBACA,QAAQ,EAAE,uBAAuB;IAKrE,IAAI,uEAAqB;IACzB,WAAW,aAkBlB;IAEF;;OAEG;IACH,SAAS,CAAC,mBAAmB,IAAI,WAAW,GAAG,SAAS;IAUxD;;;OAGG;IACH,SAAS,CAAC,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;CAevC"}
|
|
@@ -18,16 +18,16 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
18
18
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
19
19
|
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; }
|
|
20
20
|
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.'); }
|
|
21
|
+
import * as React from 'react';
|
|
21
22
|
import { timeout } from "../../common/index.js";
|
|
22
|
-
import { prop, useInject } from "../../observable/index.js";
|
|
23
23
|
import { inject, singleton } from "../../ioc/index.js";
|
|
24
|
-
import
|
|
25
|
-
import { ApplicationState, ApplicationStateService } from "../application";
|
|
26
|
-
import { parseCssTime } from "../browser";
|
|
27
|
-
import { view } from "./decorator";
|
|
28
|
-
import { BaseView } from "./default-view";
|
|
29
|
-
import { Slot } from "./slot";
|
|
30
|
-
import { RootSlotId, RootViewId, ViewInstance } from "./view-protocol";
|
|
24
|
+
import { prop, useInject } from "../../observable/index.js";
|
|
25
|
+
import { ApplicationState, ApplicationStateService } from "../application/index.js";
|
|
26
|
+
import { parseCssTime } from "../browser.js";
|
|
27
|
+
import { view } from "./decorator.js";
|
|
28
|
+
import { BaseView } from "./default-view.js";
|
|
29
|
+
import { Slot } from "./slot.js";
|
|
30
|
+
import { RootSlotId, RootViewId, ViewInstance } from "./view-protocol.js";
|
|
31
31
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
32
32
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
33
33
|
export var RootComponents = Symbol('RootViewComponent');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saveable.d.ts","sourceRoot":"","sources":["../../../src/core/view/saveable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"saveable.d.ts","sourceRoot":"","sources":["../../../src/core/view/saveable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,cAAc,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACrC,QAAQ,CAAC,QAAQ,EAAE,IAAI,GAAG,KAAK,CAAC;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,YAAY,CAAC,IAAI,CAAC,CAAC;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,YAAY,CAAC,IAAI,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;CAC7B;AAED,yBAAiB,QAAQ,CAAC;IACxB,SAAgB,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,cAAc,CAExD;IACD,SAAgB,EAAE,CAAC,GAAG,EAAE,GAA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
|
|
@@ -3,11 +3,11 @@ import { Emitter } from '../../common/index.js';
|
|
|
3
3
|
import { Deferred } from '../../common/index.js';
|
|
4
4
|
import { Disposable } from '../../common/index.js';
|
|
5
5
|
import type { Contribution } from '../../ioc/index.js';
|
|
6
|
-
import { DebugService } from '../common/debug';
|
|
7
|
-
import { ViewManager } from './view-manager';
|
|
8
|
-
import type { View } from './view-protocol';
|
|
9
|
-
import type { SlotPreference, ViewOpenOption } from './view-protocol';
|
|
10
|
-
import { SlotPreferenceContribution, SlotView } from './view-protocol';
|
|
6
|
+
import { DebugService } from '../common/debug.js';
|
|
7
|
+
import { ViewManager } from './view-manager.js';
|
|
8
|
+
import type { View } from './view-protocol.js';
|
|
9
|
+
import type { SlotPreference, ViewOpenOption } from './view-protocol.js';
|
|
10
|
+
import { SlotPreferenceContribution, SlotView } from './view-protocol.js';
|
|
11
11
|
interface ViewAddArgs {
|
|
12
12
|
view?: View;
|
|
13
13
|
slot: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot-view-manager.d.ts","sourceRoot":"","sources":["../../../src/core/view/slot-view-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAY,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"slot-view-manager.d.ts","sourceRoot":"","sources":["../../../src/core/view/slot-view-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAY,MAAM,uBAAuB,CAAC;AAE7D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aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI;IAMrD,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI;CAS3D"}
|
|
@@ -24,12 +24,12 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
24
24
|
import { Emitter } from "../../common/index.js";
|
|
25
25
|
import { Deferred } from "../../common/index.js";
|
|
26
26
|
import { Disposable, Priority } from "../../common/index.js";
|
|
27
|
-
import { prop } from "../../observable/index.js";
|
|
28
27
|
import { contrib, inject, singleton } from "../../ioc/index.js";
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
28
|
+
import { prop } from "../../observable/index.js";
|
|
29
|
+
import { DebugService } from "../common/debug.js";
|
|
30
|
+
import { DefaultSlotView } from "./default-slot-view.js";
|
|
31
|
+
import { ViewManager } from "./view-manager.js";
|
|
32
|
+
import { SlotPreferenceContribution, SlotView } from "./view-protocol.js";
|
|
33
33
|
export var SlotViewManager = (_dec = singleton(), _dec2 = prop(), _dec3 = prop(), _dec(_class = (_class2 = /*#__PURE__*/function () {
|
|
34
34
|
function SlotViewManager(preferenceProvider, debugService, viewManager) {
|
|
35
35
|
_classCallCheck(this, SlotViewManager);
|
package/es/core/view/slot.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Newable } from '../../common/index.js';
|
|
2
1
|
import type { ReactNode } from 'react';
|
|
3
|
-
import type {
|
|
2
|
+
import type { Newable } from '../../common/index.js';
|
|
3
|
+
import type { View } from './view-protocol.js';
|
|
4
4
|
export interface Props {
|
|
5
5
|
name: string;
|
|
6
6
|
viewProps?: undefined | Record<string, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot.d.ts","sourceRoot":"","sources":["../../../src/core/view/slot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"slot.d.ts","sourceRoot":"","sources":["../../../src/core/view/slot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAKrD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAI/C,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,EAAE,CAAC;IAC/C,QAAQ,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACtC;AA2BD,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAuBhC,CAAC"}
|
package/es/core/view/slot.js
CHANGED
|
@@ -4,12 +4,12 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
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); }
|
|
7
|
-
import { useInject, getOrigin } from "../../observable/index.js";
|
|
8
7
|
import { useEffect } from 'react';
|
|
9
8
|
import { memo } from 'react';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
9
|
+
import { useInject, getOrigin } from "../../observable/index.js";
|
|
10
|
+
import { SlotViewManager } from "./slot-view-manager.js";
|
|
11
|
+
import { ViewInstance } from "./view-protocol.js";
|
|
12
|
+
import { ViewRender } from "./view-render.js";
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
15
15
|
var SlotRender = /*#__PURE__*/memo(function SlotRenderInner(props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseView } from './default-view';
|
|
2
|
-
import type { StatefulView } from './view-protocol';
|
|
1
|
+
import { BaseView } from './default-view.js';
|
|
2
|
+
import type { StatefulView } from './view-protocol.js';
|
|
3
3
|
export declare abstract class BaseStatefulView extends BaseView implements StatefulView {
|
|
4
4
|
constructor();
|
|
5
5
|
abstract storeState(): Record<string, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stateful-view.d.ts","sourceRoot":"","sources":["../../../src/core/view/stateful-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"stateful-view.d.ts","sourceRoot":"","sources":["../../../src/core/view/stateful-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,8BAAsB,gBAAiB,SAAQ,QAAS,YAAW,YAAY;;IAS7E,QAAQ,CAAC,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAC1C,QAAQ,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;IAE1D;;OAEG;IACH,YAAY;CAGb"}
|
|
@@ -11,7 +11,7 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|
|
11
11
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
12
12
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
13
13
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
14
|
-
import { BaseView } from "./default-view";
|
|
14
|
+
import { BaseView } from "./default-view.js";
|
|
15
15
|
export var BaseStatefulView = /*#__PURE__*/function (_BaseView) {
|
|
16
16
|
_inherits(BaseStatefulView, _BaseView);
|
|
17
17
|
var _super = _createSuper(BaseStatefulView);
|
package/es/core/view/title.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
-
import type { View } from './view-protocol';
|
|
3
|
-
import type { Title } from './view-protocol';
|
|
2
|
+
import type { View } from './view-protocol.js';
|
|
3
|
+
import type { Title } from './view-protocol.js';
|
|
4
4
|
export declare class ViewTitle implements Title<View> {
|
|
5
5
|
owner: View;
|
|
6
6
|
label?: React.ReactNode | React.FC;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../src/core/view/title.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../src/core/view/title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,qBACa,SAAU,YAAW,KAAK,CAAC,IAAI,CAAC;IAC3C,KAAK,EAAE,IAAI,CAAC;IAEZ,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,EAAE,CAAC;IAEnC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,EAAE,CAAC;IAElC,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,QAAQ,CAAC,EAAE,OAAO,CAAQ;gBACd,KAAK,EAAE,IAAI;CAGxB"}
|
package/es/core/view/title.js
CHANGED
|
@@ -8,8 +8,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
8
8
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
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 { prop } from "../../observable/index.js";
|
|
12
11
|
import { transient } from "../../ioc/index.js";
|
|
12
|
+
import { prop } from "../../observable/index.js";
|
|
13
13
|
export var ViewTitle = (_dec = transient(), _dec2 = prop(), _dec3 = prop(), _dec4 = prop(), _dec5 = prop(), _dec6 = prop(), _dec(_class = (_class2 = /*#__PURE__*/_createClass(function ViewTitle(owner) {
|
|
14
14
|
_classCallCheck(this, ViewTitle);
|
|
15
15
|
_initializerDefineProperty(this, "label", _descriptor, this);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ApplicationContribution } from '../application';
|
|
2
|
-
import { SlotViewManager } from './slot-view-manager';
|
|
3
|
-
import { ViewManager } from './view-manager';
|
|
4
|
-
import type { ViewPreference } from './view-protocol';
|
|
5
|
-
import { ViewStorage } from './view-storage';
|
|
1
|
+
import { ApplicationContribution } from '../application/index.js';
|
|
2
|
+
import { SlotViewManager } from './slot-view-manager.js';
|
|
3
|
+
import { ViewManager } from './view-manager.js';
|
|
4
|
+
import type { ViewPreference } from './view-protocol.js';
|
|
5
|
+
import { ViewStorage } from './view-storage.js';
|
|
6
6
|
export declare class ViewApplication implements ApplicationContribution {
|
|
7
7
|
protected readonly viewManager: ViewManager;
|
|
8
8
|
protected readonly slotViewManager: SlotViewManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-application.d.ts","sourceRoot":"","sources":["../../../src/core/view/view-application.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"view-application.d.ts","sourceRoot":"","sources":["../../../src/core/view/view-application.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAElE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,qBACa,eAAgB,YAAW,uBAAuB;IAC7D,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAC5C,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IACpD,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;gBAGrB,WAAW,EAAE,WAAW,EACpB,eAAe,EAAE,eAAe,EACpC,WAAW,EAAE,WAAW;IAOzC,OAAO;IAKP,WAAW;cAOD,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IAQlD,QAAQ;IAUR,UAAU;cAOM,YAAY,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc;CAM3E"}
|
|
@@ -12,11 +12,11 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
12
12
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
13
|
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); }
|
|
14
14
|
import { inject, singleton } from "../../ioc/index.js";
|
|
15
|
-
import { ApplicationContribution } from "../application";
|
|
16
|
-
import { SlotViewManager } from "./slot-view-manager";
|
|
17
|
-
import { ViewManager } from "./view-manager";
|
|
18
|
-
import { RootViewId } from "./view-protocol";
|
|
19
|
-
import { ViewStorage } from "./view-storage";
|
|
15
|
+
import { ApplicationContribution } from "../application/index.js";
|
|
16
|
+
import { SlotViewManager } from "./slot-view-manager.js";
|
|
17
|
+
import { ViewManager } from "./view-manager.js";
|
|
18
|
+
import { RootViewId } from "./view-protocol.js";
|
|
19
|
+
import { ViewStorage } from "./view-storage.js";
|
|
20
20
|
export var ViewApplication = (_dec = singleton({
|
|
21
21
|
contrib: ApplicationContribution
|
|
22
22
|
}), _dec(_class = /*#__PURE__*/function () {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Syringe } from '../../ioc/index.js';
|
|
2
1
|
import * as React from 'react';
|
|
3
|
-
import type {
|
|
4
|
-
import {
|
|
5
|
-
import './
|
|
2
|
+
import type { Syringe } from '../../ioc/index.js';
|
|
3
|
+
import type { ViewComponent } from './view-protocol.js';
|
|
4
|
+
import { OriginViewComponent } from './view-protocol.js';
|
|
5
|
+
import './index.less.js';
|
|
6
6
|
interface ViewContainerProps {
|
|
7
7
|
component: ViewComponent;
|
|
8
8
|
viewComponentProps: Record<string, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-container.d.ts","sourceRoot":"","sources":["../../../src/core/view/view-container.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"view-container.d.ts","sourceRoot":"","sources":["../../../src/core/view/view-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAOlD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAGzD,OAAO,iBAAiB,CAAC;AAEzB,UAAU,kBAAkB;IAC1B,SAAS,EAAE,aAAa,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACxC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,aAAa,2FAiCzB,CAAC;AACF,eAAO,MAAM,WAAW,kBACP,MAAM,EAAE,GAAG,MAAM,yBAAyB,CAAC,GAAG,CAAC,aACnD,QAAQ,SAAS,yBAuB7B,CAAC;AAEF,KAAK,oBAAoB,GAAG,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAAC,GAAG;IACpE,CAAC,mBAAmB,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,GAAG,KAAK,CAAC,yBAAyB,CAAC,GAAG,CAAC,CAAC;CACzE,CAAC;AAEF,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,GAAG,GACb,SAAS,IAAI,oBAAoB,CAEnC"}
|
|
@@ -7,14 +7,14 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
7
7
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
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 _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); }
|
|
10
|
-
import { ObservableContext, useInject } from "../../observable/index.js";
|
|
11
10
|
import * as React from 'react';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import "./
|
|
11
|
+
import { ObservableContext, useInject } from "../../observable/index.js";
|
|
12
|
+
import { useMount, useUnmount } from "../utils/hooks.js";
|
|
13
|
+
import { useViewSize } from "./hooks.js";
|
|
14
|
+
import { isForwardRefComponent } from "./utils.js";
|
|
15
|
+
import { OriginViewComponent } from "./view-protocol.js";
|
|
16
|
+
import { ViewInstance } from "./view-protocol.js";
|
|
17
|
+
import "./index.less.js";
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
19
|
export var ViewContainer = /*#__PURE__*/React.forwardRef(function ViewContainer(props, containerRef) {
|
|
20
20
|
var _viewInstance$classNa;
|
|
@@ -24,7 +24,7 @@ export var ViewContainer = /*#__PURE__*/React.forwardRef(function ViewContainer(
|
|
|
24
24
|
component = props.component;
|
|
25
25
|
var viewInstance = useInject(ViewInstance);
|
|
26
26
|
var Component = component;
|
|
27
|
-
var className = (_viewInstance$classNa = viewInstance === null || viewInstance === void 0 ? void 0 : viewInstance.className) !== null && _viewInstance$classNa !== void 0 ? _viewInstance$classNa : '';
|
|
27
|
+
var className = (_viewInstance$classNa = viewInstance === null || viewInstance === void 0 ? void 0 : viewInstance.className) !== null && _viewInstance$classNa !== void 0 ? _viewInstance$classNa : '.js';
|
|
28
28
|
useMount(function () {
|
|
29
29
|
var _viewInstance$onViewM;
|
|
30
30
|
if (_typeof(containerRef) === 'object') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-context.d.ts","sourceRoot":"","sources":["../../../src/core/view/view-context.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"view-context.d.ts","sourceRoot":"","sources":["../../../src/core/view/view-context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;CAC/C;AAqBD,eAAO,MAAM,WAAW,UAAW,gBAAgB,4CAIlD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getOrigin, ObservableContext } from "../../observable/index.js";
|
|
2
1
|
import * as React from 'react';
|
|
3
|
-
import {
|
|
2
|
+
import { getOrigin, ObservableContext } from "../../observable/index.js";
|
|
3
|
+
import { ViewMeta } from "./view-meta.js";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
6
6
|
var ViewContextRender = /*#__PURE__*/React.memo(function ViewContextRender(props) {
|
|
@@ -2,11 +2,11 @@ import type { MaybePromise, Event, Newable, Disposable } from '../../common/inde
|
|
|
2
2
|
import { DisposableCollection } from '../../common/index.js';
|
|
3
3
|
import { Emitter } from '../../common/index.js';
|
|
4
4
|
import type { Contribution } from '../../ioc/index.js';
|
|
5
|
-
import { DebugService } from '../common/debug';
|
|
6
|
-
import type { ManaContext } from '../module';
|
|
7
|
-
import type { ViewPreference, View } from './view-protocol';
|
|
8
|
-
import type { SlotView } from './view-protocol';
|
|
9
|
-
import { ViewFactory, ViewPreferenceContribution } from './view-protocol';
|
|
5
|
+
import { DebugService } from '../common/debug.js';
|
|
6
|
+
import type { ManaContext } from '../module/index.js';
|
|
7
|
+
import type { ViewPreference, View } from './view-protocol.js';
|
|
8
|
+
import type { SlotView } from './view-protocol.js';
|
|
9
|
+
import { ViewFactory, ViewPreferenceContribution } from './view-protocol.js';
|
|
10
10
|
export interface ViewCreateOptions {
|
|
11
11
|
factoryId: string;
|
|
12
12
|
options?: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-manager.d.ts","sourceRoot":"","sources":["../../../src/core/view/view-manager.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAY,OAAO,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"view-manager.d.ts","sourceRoot":"","sources":["../../../src/core/view/view-manager.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAY,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,KAAK,EAAE,cAAc,EAAE,IAAI,EAA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,GAAG,SAAS;IAW5E,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS;IAIxD,kBAAkB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS;IAIlD,aAAa,CAAC,IAAI,EAAE,IAAI;IAUxB,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW;IAI/C,cAAc,CAAC,IAAI,EAAE,IAAI;IAIzB,iBAAiB,CAAC,IAAI,EAAE,IAAI;IAI5B,UAAU,CAAC,IAAI,EAAE,IAAI;IASrB,SAAS,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,UAAU,CAAC,EAAE,cAAc;;;IAO3E,eAAe,CAAC,CAAC,SAAS,IAAI,EAAE,CAAC,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,GAAG,EACpE,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,EAClC,OAAO,CAAC,EAAE,CAAC,GACV,OAAO,CAAC,CAAC,CAAC;CAiCd"}
|
|
@@ -25,12 +25,12 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
25
25
|
|
|
26
26
|
import { DisposableCollection } from "../../common/index.js";
|
|
27
27
|
import { Priority, Emitter } from "../../common/index.js";
|
|
28
|
-
import { prop } from "../../observable/index.js";
|
|
29
28
|
import { contrib, inject, singleton } from "../../ioc/index.js";
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
29
|
+
import { prop } from "../../observable/index.js";
|
|
30
|
+
import { DebugService } from "../common/debug.js";
|
|
31
|
+
import { ViewMeta } from "./view-meta.js";
|
|
32
|
+
import { ViewDefineToken } from "./view-protocol.js";
|
|
33
|
+
import { ViewFactory, ViewPreferenceContribution } from "./view-protocol.js";
|
|
34
34
|
/**
|
|
35
35
|
* 管理视图
|
|
36
36
|
* 为视图保存创建条件
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-meta.d.ts","sourceRoot":"","sources":["../../../src/core/view/view-meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"view-meta.d.ts","sourceRoot":"","sources":["../../../src/core/view/view-meta.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAG/C;;;GAGG;AACH,qBAAa,QAAQ;IACnB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW;IAItD,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI;IAIhC,MAAM,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI;CAGpC"}
|
|
@@ -5,7 +5,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
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); }
|
|
7
7
|
import { getOrigin } from "../../observable/index.js";
|
|
8
|
-
import { ViewContextMetaKey } from "./view-protocol";
|
|
8
|
+
import { ViewContextMetaKey } from "./view-protocol.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* View metadata
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Event, MaybePromise, URI } from '../../common/index.js';
|
|
2
2
|
import { Emitter } from '../../common/index.js';
|
|
3
|
-
import type { BaseView } from './default-view';
|
|
4
|
-
import type { OpenHandler } from './open-handler';
|
|
5
|
-
import { SlotViewManager } from './slot-view-manager';
|
|
6
|
-
import { ViewManager } from './view-manager';
|
|
7
|
-
import type { ViewOpenOption } from './view-protocol';
|
|
3
|
+
import type { BaseView } from './default-view.js';
|
|
4
|
+
import type { OpenHandler } from './open-handler.js';
|
|
5
|
+
import { SlotViewManager } from './slot-view-manager.js';
|
|
6
|
+
import { ViewManager } from './view-manager.js';
|
|
7
|
+
import type { ViewOpenOption } from './view-protocol.js';
|
|
8
8
|
export interface ViewOpenHandlerOptions extends ViewOpenOption {
|
|
9
9
|
slot?: string;
|
|
10
10
|
viewOptions?: any;
|