@difizen/libro-common 1.0.3 → 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/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/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/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/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
|
@@ -2,8 +2,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
2
2
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
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
|
-
import { CancellationToken, cancelled } from "./cancellation";
|
|
6
|
-
import { Deferred } from "./deferred";
|
|
5
|
+
import { CancellationToken, cancelled } from "./cancellation.js";
|
|
6
|
+
import { Deferred } from "./deferred.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @returns resolves after a specified number of milliseconds
|
package/es/common/stopwatch.js
CHANGED
|
@@ -9,7 +9,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9
9
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
10
10
|
*--------------------------------------------------------------------------------------------*/
|
|
11
11
|
|
|
12
|
-
import { globals } from "./platform";
|
|
12
|
+
import { globals } from "./platform.js";
|
|
13
13
|
var hasPerformanceNow = globals.performance && typeof globals.performance.now === 'function';
|
|
14
14
|
export var StopWatch = /*#__PURE__*/function () {
|
|
15
15
|
function StopWatch(highResolution) {
|
package/es/common/strings.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
5
5
|
*--------------------------------------------------------------------------------------------*/
|
|
6
6
|
|
|
7
|
-
import { CharCode } from "./charCode";
|
|
7
|
+
import { CharCode } from "./charCode.js";
|
|
8
8
|
export function isFalsyOrWhitespace(str) {
|
|
9
9
|
if (!str || typeof str !== 'string') {
|
|
10
10
|
return true;
|
package/es/common/uri.d.ts
CHANGED
package/es/common/uri.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uri.d.ts","sourceRoot":"","sources":["../../src/common/uri.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"uri.d.ts","sourceRoot":"","sources":["../../src/common/uri.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,GAAG,IAAI,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAEjD,qBAAa,GAAG;IACd,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAM;IAC9B,OAAO,CAAC,KAAK,CAAmB;gBAEpB,GAAG,GAAE,MAAM,GAAG,GAAQ,EAAE,OAAO,CAAC,EAAE;QAAE,UAAU,EAAE,OAAO,CAAA;KAAE;IAQrE,IAAI,MAAM,IAAI,GAAG,CAKhB;IAED,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI,GAAG,SAAS;IAOpC;;OAEG;IACH,aAAa,IAAI,GAAG;IAIpB,IAAI,WAAW,IAAI,MAAM,CASxB;IAED,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,IAAI,SAAS,IAAI,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,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,MAAM;CAU7D"}
|
package/es/common/uri.js
CHANGED
|
@@ -7,8 +7,8 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
7
7
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
8
8
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
9
9
|
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); }
|
|
10
|
-
import { Path } from "./path";
|
|
11
|
-
import { URI as Uri } from "./vscode-uri/uri";
|
|
10
|
+
import { Path } from "./path.js";
|
|
11
|
+
import { URI as Uri } from "./vscode-uri/uri.js";
|
|
12
12
|
export var URI = /*#__PURE__*/function () {
|
|
13
13
|
function URI() {
|
|
14
14
|
var uri = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
@@ -55,7 +55,7 @@ export var URI = /*#__PURE__*/function () {
|
|
|
55
55
|
if (this.path.isRoot) {
|
|
56
56
|
return this.path.toString();
|
|
57
57
|
}
|
|
58
|
-
return '';
|
|
58
|
+
return '.js';
|
|
59
59
|
}
|
|
60
60
|
}, {
|
|
61
61
|
key: "scheme",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valueTypes.d.ts","sourceRoot":"","sources":["../../src/common/valueTypes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"val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AS,GAAG,GAAG,aAAa,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAChE,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS;IAAE,MAAM,EAAE,MAAM,MAAM,CAAC,CAAA;CAAE,GACpD,CAAC,GACD,CAAC,SAAS,MAAM,GACd;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GAC7B,CAAC,CAAC;AAER,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG;IAAE,QAAQ,CAAC,CAAA;CAAE,CAgBlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wait-until-event.d.ts","sourceRoot":"","sources":["../../src/common/wait-until-event.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"wait-until-event.d.ts","sourceRoot":"","sources":["../../src/common/wait-until-event.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC;CAC9C,CAAC;AACF,yBAAiB,cAAc,CAAC;IAC9B;;;OAGG;IACH,SAAsB,IAAI,CAAC,CAAC,SAAS,cAAc,EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EACnB,KAAK,EAAE,IAAI,CAAC,CAAC,EAAE,WAAW,CAAC,EAC3B,OAAO,GAAE,MAAM,GAAG,SAAqB,GACtC,OAAO,CAAC,IAAI,CAAC,CA4Bf;CACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Event } from '../../common/index.js';
|
|
2
2
|
import { Emitter, Deferred } from '../../common/index.js';
|
|
3
|
-
import { DebugService } from '../common/debug';
|
|
3
|
+
import { DebugService } from '../common/debug.js';
|
|
4
4
|
export declare enum ApplicationState {
|
|
5
5
|
Default = "Default",
|
|
6
6
|
Initialized = "Initialized",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-state.d.ts","sourceRoot":"","sources":["../../../src/core/application/application-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"application-state.d.ts","sourceRoot":"","sources":["../../../src/core/application/application-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,oBAAY,gBAAgB;IAC1B,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED,qBACa,uBAAuB;IAElC,KAAK,EAAE,gBAAgB,CAA4B;IAEnD,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;gBAI5C,YAAY,EAAE,YAAY;IAK5B,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAM;IACxD,SAAS,CAAC,QAAQ,CAAC,YAAY,4BAAmC;IAElE,QAAQ,CAAC,KAAK,EAAE,gBAAgB;IAehC,IAAI,cAAc,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAE5C;IAED,SAAS,CAAC,gBAAgB,CAAC,KAAK,EAAE,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC;IASnE,YAAY,CAAC,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIpD,eAAe,CAAC,GAAG,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAG9D"}
|
|
@@ -9,9 +9,9 @@ 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, Deferred } from "../../common/index.js";
|
|
12
|
-
import { prop } from "../../observable/index.js";
|
|
13
12
|
import { inject, singleton } from "../../ioc/index.js";
|
|
14
|
-
import {
|
|
13
|
+
import { prop } from "../../observable/index.js";
|
|
14
|
+
import { DebugService } from "../common/debug.js";
|
|
15
15
|
export var ApplicationState = /*#__PURE__*/function (ApplicationState) {
|
|
16
16
|
ApplicationState["Default"] = "Default";
|
|
17
17
|
ApplicationState["Initialized"] = "Initialized";
|
|
@@ -3,9 +3,9 @@ import { Disposable } from '../../common/index.js';
|
|
|
3
3
|
import { Emitter, DisposableCollection } from '../../common/index.js';
|
|
4
4
|
import { Syringe } from '../../ioc/index.js';
|
|
5
5
|
import type { Decorator, Contribution } from '../../ioc/index.js';
|
|
6
|
-
import { DebugService } from '../common/debug';
|
|
7
|
-
import { WindowService } from './application-protocol';
|
|
8
|
-
import { ApplicationStateService } from './application-state';
|
|
6
|
+
import { DebugService } from '../common/debug.js';
|
|
7
|
+
import { WindowService } from './application-protocol.js';
|
|
8
|
+
import { ApplicationStateService } from './application-state.js';
|
|
9
9
|
export declare const ApplicationContribution: Syringe.DefinedToken;
|
|
10
10
|
export type ApplicationContribution = {
|
|
11
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../src/core/application/application.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAqB,OAAO,EAAkB,MAAM,oBAAoB,CAAC;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../src/core/application/application.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAqB,OAAO,EAAkB,MAAM,oBAAoB,CAAC;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAoB,MAAM,wBAAwB,CAAC;AAEnF,eAAO,MAAM,uBAAuB,sBAAiD,CAAC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AS,EAGlC;IAED,IAAI,SAAS,yDAEZ;IACD,IAAI,aAAa,mEAEhB;gBAIC,cAAc,EAAE,aAAa,EAE7B,aAAa,EAAE,YAAY,CAAC,QAAQ,CAAC,uBAAuB,CAAC,EAE7D,YAAY,EAAE,uBAAuB,EAErC,YAAY,EAAE,YAAY;IAQ5B;;;;;;;OAOG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAmBrB,aAAa,UAAS;IAE7B;;OAEG;IACH,SAAS,CAAC,iCAAiC,IAAI,UAAU;IAezD,SAAS,CAAC,uBAAuB,IAAI,UAAU;IAU/C,KAAK;IAKL,OAAO;IAIP;;OAEG;cACa,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAgB3C;;OAEG;cACa,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;cA8BxB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAmB1C,UAAU,IAAI,OAAO;IAkBrB;;OAEG;IACH,SAAS,CAAC,MAAM,IAAI,IAAI;cAcR,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,YAAY,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;CAkBhF"}
|
|
@@ -21,9 +21,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
21
21
|
import { Disposable } from "../../common/index.js";
|
|
22
22
|
import { Emitter, DisposableCollection } from "../../common/index.js";
|
|
23
23
|
import { inject, singleton, Syringe, contrib, Utils } from "../../ioc/index.js";
|
|
24
|
-
import { DebugService } from "../common/debug";
|
|
25
|
-
import { WindowService } from "./application-protocol";
|
|
26
|
-
import { ApplicationStateService, ApplicationState } from "./application-state";
|
|
24
|
+
import { DebugService } from "../common/debug.js";
|
|
25
|
+
import { WindowService } from "./application-protocol.js";
|
|
26
|
+
import { ApplicationStateService, ApplicationState } from "./application-state.js";
|
|
27
27
|
export var ApplicationContribution = Syringe.defineToken('ApplicationContribution');
|
|
28
28
|
export function application() {
|
|
29
29
|
var option = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Event } from '../../common/index.js';
|
|
2
2
|
import { Emitter } from '../../common/index.js';
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
3
|
+
import { WindowService } from './application-protocol.js';
|
|
4
|
+
import { ApplicationContribution } from './application.js';
|
|
5
|
+
import type { Application } from './application.js';
|
|
6
6
|
export declare class DefaultWindowService implements WindowService, ApplicationContribution {
|
|
7
7
|
protected frontendApplication?: Application;
|
|
8
8
|
protected onUnloadEmitter: Emitter<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-window-service.d.ts","sourceRoot":"","sources":["../../../src/core/application/default-window-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"default-window-service.d.ts","sourceRoot":"","sources":["../../../src/core/application/default-window-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,qBAGa,oBAAqB,YAAW,aAAa,EAAE,uBAAuB;IACjF,SAAS,CAAC,mBAAmB,CAAC,EAAE,WAAW,CAAC;IAE5C,SAAS,CAAC,eAAe,gBAAuB;IAChD,IAAI,QAAQ,IAAI,KAAK,CAAC,IAAI,CAAC,CAE1B;IAED,OAAO,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI;IAK/B,SAAS,IAAI,OAAO;IAUpB;;OAEG;IACH,SAAS,CAAC,uBAAuB,IAAI,IAAI;IAczC;;;;;;;;OAQG;IACH,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI;CAKjE"}
|
|
@@ -7,8 +7,8 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
7
7
|
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); }
|
|
8
8
|
import { Emitter } from "../../common/index.js";
|
|
9
9
|
import { singleton } from "../../ioc/index.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { WindowService } from "./application-protocol.js";
|
|
11
|
+
import { ApplicationContribution } from "./application.js";
|
|
12
12
|
export var DefaultWindowService = (_dec = singleton({
|
|
13
13
|
contrib: [WindowService, ApplicationContribution]
|
|
14
14
|
}), _dec(_class = /*#__PURE__*/function () {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ManaModule } from '../module';
|
|
2
|
-
export * from './application';
|
|
3
|
-
export * from './application-state';
|
|
1
|
+
import { ManaModule } from '../module/index.js';
|
|
2
|
+
export * from './application.js';
|
|
3
|
+
export * from './application-state.js';
|
|
4
4
|
export declare const ApplicationModule: ManaModule;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/application/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/application/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAMhD,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AAEvC,eAAO,MAAM,iBAAiB,YAEyC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ManaModule } from "../module";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { DefaultWindowService } from "./default-window-service";
|
|
5
|
-
export * from "./application";
|
|
6
|
-
export * from "./application-state";
|
|
1
|
+
import { ManaModule } from "../module/index.js";
|
|
2
|
+
import { ApplicationStateService } from "./application-state.js";
|
|
3
|
+
import { Application, ApplicationContribution } from "./application.js";
|
|
4
|
+
import { DefaultWindowService } from "./default-window-service.js";
|
|
5
|
+
export * from "./application.js";
|
|
6
|
+
export * from "./application-state.js";
|
|
7
7
|
export var ApplicationModule = ManaModule.create().contribution(ApplicationContribution).register(ApplicationStateService, Application, DefaultWindowService);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Event } from '../../common/index.js';
|
|
2
|
-
import type { WindowService } from './application-protocol';
|
|
2
|
+
import type { WindowService } from './application-protocol.js';
|
|
3
3
|
export declare class MockWindowService implements WindowService {
|
|
4
4
|
openNewWindow(): undefined;
|
|
5
5
|
canUnload(): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mock-window-service.d.ts","sourceRoot":"","sources":["../../../src/core/application/mock-window-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAG9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"mock-window-service.d.ts","sourceRoot":"","sources":["../../../src/core/application/mock-window-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAG9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,qBACa,iBAAkB,YAAW,aAAa;IACrD,aAAa,IAAI,SAAS;IAG1B,SAAS,IAAI,OAAO;IAGpB,IAAI,QAAQ,IAAI,KAAK,CAAC,IAAI,CAAC,CAE1B;CACF"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Emitter, Disposable } 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/application';
|
|
5
|
-
import type { CommandEvent, CommandHandler, CommandHandlerWithContext, ActiveHandler, EnabledHandler, VisibleHandler, WillExecuteCommandEvent, ExecuteHandler } from './command-protocol';
|
|
6
|
-
import { Command, CommandService } from './command-protocol';
|
|
4
|
+
import { ApplicationContribution } from '../application/application.js';
|
|
5
|
+
import type { CommandEvent, CommandHandler, CommandHandlerWithContext, ActiveHandler, EnabledHandler, VisibleHandler, WillExecuteCommandEvent, ExecuteHandler } from './command-protocol.js';
|
|
6
|
+
import { Command, CommandService } from './command-protocol.js';
|
|
7
7
|
export declare const CommandContribution: Syringe.DefinedToken;
|
|
8
8
|
/**
|
|
9
9
|
* The command contribution should be implemented to register custom commands and handler.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-registry.d.ts","sourceRoot":"","sources":["../../../src/core/command/command-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EAEX,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"command-registry.d.ts","sourceRoot":"","sources":["../../../src/core/command/command-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EAEX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAG7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAExE,OAAO,KAAK,EACV,YAAY,E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DecoratedDescriptor(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
21
|
import { Emitter, WaitUntilEvent, Disposable, DisposableCollection } from "../../common/index.js";
|
|
22
|
-
import { prop } from "../../observable/index.js";
|
|
23
22
|
import { Syringe } from "../../ioc/index.js";
|
|
24
23
|
import { contrib, singleton } from "../../ioc/index.js";
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
24
|
+
import { prop } from "../../observable/index.js";
|
|
25
|
+
import { ApplicationContribution } from "../application/application.js";
|
|
26
|
+
import { Command, CommandService } from "./command-protocol.js";
|
|
27
27
|
export var CommandContribution = Syringe.defineToken('CommandContribution');
|
|
28
28
|
/**
|
|
29
29
|
* The command contribution should be implemented to register custom commands and handler.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ManaModule } from '../module';
|
|
2
|
-
export * from './command-registry';
|
|
3
|
-
export * from './command-protocol';
|
|
1
|
+
import { ManaModule } from '../module/index.js';
|
|
2
|
+
export * from './command-registry.js';
|
|
3
|
+
export * from './command-protocol.js';
|
|
4
4
|
export declare const CommandModule: ManaModule;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/command/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/command/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIhD,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AAEtC,eAAO,MAAM,aAAa,YAEE,CAAC"}
|
package/es/core/command/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ManaModule } from "../module";
|
|
2
|
-
import { CommandRegistry, CommandContribution } from "./command-registry";
|
|
3
|
-
export * from "./command-registry";
|
|
4
|
-
export * from "./command-protocol";
|
|
1
|
+
import { ManaModule } from "../module/index.js";
|
|
2
|
+
import { CommandRegistry, CommandContribution } from "./command-registry.js";
|
|
3
|
+
export * from "./command-registry.js";
|
|
4
|
+
export * from "./command-protocol.js";
|
|
5
5
|
export var CommandModule = ManaModule.create().contribution(CommandContribution).register(CommandRegistry);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ManaModule } from '../module';
|
|
2
|
-
export * from './debug';
|
|
3
|
-
export * from './storage-service';
|
|
4
|
-
export * from './storage-protocol';
|
|
1
|
+
import { ManaModule } from '../module/index.js';
|
|
2
|
+
export * from './debug.js';
|
|
3
|
+
export * from './storage-service.js';
|
|
4
|
+
export * from './storage-protocol.js';
|
|
5
5
|
export declare const CommonModule: ManaModule;
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAMhD,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAEtC,eAAO,MAAM,YAAY,YAYrB,CAAC"}
|
package/es/core/common/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ManaModule } from "../module";
|
|
2
|
-
import { DebugService, debug } from "./debug";
|
|
3
|
-
import { StorageService } from "./storage-protocol";
|
|
4
|
-
import { LocalStorageService, localStorageService } from "./storage-service";
|
|
5
|
-
export * from "./debug";
|
|
6
|
-
export * from "./storage-service";
|
|
7
|
-
export * from "./storage-protocol";
|
|
1
|
+
import { ManaModule } from "../module/index.js";
|
|
2
|
+
import { DebugService, debug } from "./debug.js";
|
|
3
|
+
import { StorageService } from "./storage-protocol.js";
|
|
4
|
+
import { LocalStorageService, localStorageService } from "./storage-service.js";
|
|
5
|
+
export * from "./debug.js";
|
|
6
|
+
export * from "./storage-service.js";
|
|
7
|
+
export * from "./storage-protocol.js";
|
|
8
8
|
export var CommonModule = ManaModule.create().register({
|
|
9
9
|
token: StorageService,
|
|
10
10
|
useValue: localStorageService
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MaybePromise, Event } from '../../common/index.js';
|
|
2
2
|
import { Emitter } from '../../common/index.js';
|
|
3
|
-
import type { DebugService } from './debug';
|
|
4
|
-
import type { StorageService } from './storage-protocol';
|
|
3
|
+
import type { DebugService } from './debug.js';
|
|
4
|
+
import type { StorageService } from './storage-protocol.js';
|
|
5
5
|
export declare class LocalStorageService implements StorageService {
|
|
6
6
|
usePathInPrefix: boolean;
|
|
7
7
|
private storage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage-service.d.ts","sourceRoot":"","sources":["../../../src/core/common/storage-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"storage-service.d.ts","sourceRoot":"","sources":["../../../src/core/common/storage-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,KAAK,EAAgB,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE1E,qBAAa,mBAAoB,YAAW,cAAc;IACjD,eAAe,UAAS;IAC/B,OAAO,CAAC,OAAO,CAAoB;IACnC,SAAS,CAAC,MAAM,EAAE,YAAY,CAAC;IAE/B,SAAS,CAAC,0BAA0B,gBAAuB;IAC3D,IAAI,mBAAmB,IAAI,KAAK,CAAC,IAAI,CAAC,CAErC;;IAaD,OAAO,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC,IAAI,CAAC;IAcrD,OAAO,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC;IAY1D,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAMrC;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAWxB,YAAY,IAAI,IAAI;CAGrB;AAED,eAAO,MAAM,mBAAmB,qBAA4B,CAAC"}
|
|
@@ -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 { Emitter } from "../../common/index.js";
|
|
8
|
-
import { debug } from "./debug";
|
|
8
|
+
import { debug } from "./debug.js";
|
|
9
9
|
export var LocalStorageService = /*#__PURE__*/function () {
|
|
10
10
|
function LocalStorageService() {
|
|
11
11
|
_classCallCheck(this, LocalStorageService);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Application } from '../application';
|
|
2
|
-
import type { ManaContext } from '../module';
|
|
3
|
-
import type { ContextProps } from './context';
|
|
1
|
+
import { Application } from '../application/index.js';
|
|
2
|
+
import type { ManaContext } from '../module/index.js';
|
|
3
|
+
import type { ContextProps } from './context.js';
|
|
4
4
|
import './index.less';
|
|
5
5
|
export interface ApplicationProps extends ContextProps {
|
|
6
6
|
onInitialized?: (ctx: ManaContext, app: Application) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../src/core/components/application.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAqB,MAAM,
|
|
1
|
+
{"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../src/core/components/application.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAqB,MAAM,yBAAyB,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAOtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGjD,OAAO,cAAc,CAAC;AAMtB,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,WAAW,KAAK,IAAI,CAAC;IAC7D,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,WAAW,KAAK,IAAI,CAAC;IAC3D,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,WAAW,KAAK,IAAI,CAAC;IACvD;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,oBAAoB,UAAW,gBAAgB,4CA+G3D,CAAC"}
|
|
@@ -16,15 +16,15 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
16
16
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
17
17
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
18
18
|
import { useMemo, useState, createRef } from 'react';
|
|
19
|
-
import { ApplicationState, ApplicationStateService } from "../application";
|
|
20
|
-
import { Application, ApplicationModule } from "../application";
|
|
21
|
-
import { ManaModule } from "../module";
|
|
22
|
-
import { useMount, useUnmount } from "../utils/hooks";
|
|
23
|
-
import { createSlotPreference, PortalSlotId, Slot } from "../view";
|
|
24
|
-
import { PortalSlotView } from "../view/portal-slot-view";
|
|
25
|
-
import { RootComponents } from "../view/root-view";
|
|
26
|
-
import { ContextComponent } from "./context";
|
|
27
|
-
import { RootViewRender } from "./root-view-render";
|
|
19
|
+
import { ApplicationState, ApplicationStateService } from "../application/index.js";
|
|
20
|
+
import { Application, ApplicationModule } from "../application/index.js";
|
|
21
|
+
import { ManaModule } from "../module/index.js";
|
|
22
|
+
import { useMount, useUnmount } from "../utils/hooks.js";
|
|
23
|
+
import { createSlotPreference, PortalSlotId, Slot } from "../view/index.js";
|
|
24
|
+
import { PortalSlotView } from "../view/portal-slot-view.js";
|
|
25
|
+
import { RootComponents } from "../view/root-view.js";
|
|
26
|
+
import { ContextComponent } from "./context.js";
|
|
27
|
+
import { RootViewRender } from "./root-view-render.js";
|
|
28
28
|
import "./index.less";
|
|
29
29
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
30
30
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Syringe } from '../../ioc/index.js';
|
|
2
1
|
import * as React from 'react';
|
|
3
|
-
import type {
|
|
2
|
+
import type { Syringe } from '../../ioc/index.js';
|
|
3
|
+
import type { ManaContext } from '../module/mana-module-context.js';
|
|
4
4
|
export interface ContextProps {
|
|
5
5
|
/**
|
|
6
6
|
* 指定容器上下文
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/core/components/context.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/core/components/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAKpE,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC;IAC3B,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IACvD,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;CAC9B;AAED,eAAO,MAAM,gBAAgB,UAAW,YAAY,mDA0CnD,CAAC"}
|
|
@@ -9,10 +9,10 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
9
9
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
10
10
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
11
11
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
|
-
import { ObservableContext } from "../../observable/index.js";
|
|
13
12
|
import * as React from 'react';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
13
|
+
import { ObservableContext } from "../../observable/index.js";
|
|
14
|
+
import { useMount } from "../utils/hooks.js";
|
|
15
|
+
import { useCreateManaContext } from "./hooks.js";
|
|
16
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
17
|
export var ContextComponent = function ContextComponent(props) {
|
|
18
18
|
var modules = props.modules,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Syringe } from '../../ioc/index.js';
|
|
2
|
-
import { ManaContext } from '../module/mana-module-context';
|
|
2
|
+
import { ManaContext } from '../module/mana-module-context.js';
|
|
3
3
|
export declare const useCreateManaContext: (context: Syringe.Context | undefined, asChild: boolean) => ManaContext;
|
|
4
4
|
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/core/components/hooks.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/core/components/hooks.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAGlD,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAE/D,eAAO,MAAM,oBAAoB,YACtB,QAAQ,OAAO,GAAG,SAAS,WAC3B,OAAO,gBAajB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ObservableContext } from "../../observable/index.js";
|
|
2
|
-
import { GlobalContainer } from "../../ioc/index.js";
|
|
3
1
|
import * as React from 'react';
|
|
4
|
-
import {
|
|
2
|
+
import { GlobalContainer } from "../../ioc/index.js";
|
|
3
|
+
import { ObservableContext } from "../../observable/index.js";
|
|
4
|
+
import { ManaContext } from "../module/mana-module-context.js";
|
|
5
5
|
export var useCreateManaContext = function useCreateManaContext(context, asChild) {
|
|
6
6
|
var observableContext = React.useContext(ObservableContext);
|
|
7
7
|
var container = (context === null || context === void 0 ? void 0 : context.container) || observableContext.getContainer() || GlobalContainer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ApplicationComponent } from './application';
|
|
2
|
-
export { ContextComponent } from './context';
|
|
1
|
+
export { ApplicationComponent } from './application.js';
|
|
2
|
+
export { ContextComponent } from './context.js';
|
|
3
3
|
export declare const ManaComponents: {
|
|
4
|
-
Application: (props: import("./application").ApplicationProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
Context: (props: import("./context").ContextProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
+
Application: (props: import("./application.js").ApplicationProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
Context: (props: import("./context.js").ContextProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/components/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/components/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,eAAO,MAAM,cAAc;;;CAG1B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ApplicationComponent } from "./application";
|
|
2
|
-
import { ContextComponent } from "./context";
|
|
3
|
-
export { ApplicationComponent } from "./application";
|
|
4
|
-
export { ContextComponent } from "./context";
|
|
1
|
+
import { ApplicationComponent } from "./application.js";
|
|
2
|
+
import { ContextComponent } from "./context.js";
|
|
3
|
+
export { ApplicationComponent } from "./application.js";
|
|
4
|
+
export { ContextComponent } from "./context.js";
|
|
5
5
|
export var ManaComponents = {
|
|
6
6
|
Application: ApplicationComponent,
|
|
7
7
|
Context: ContextComponent
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-view-render.d.ts","sourceRoot":"","sources":["../../../src/core/components/root-view-render.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"root-view-render.d.ts","sourceRoot":"","sources":["../../../src/core/components/root-view-render.tsx"],"names":[],"mappings":";AAGA,eAAO,MAAM,cAAc,UAAW;IAAE,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;CAAE,mDAQpE,CAAC"}
|