@difizen/libro-common 0.3.3 → 1.0.0
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/app.d.ts +7 -0
- package/es/app/app.d.ts.map +1 -0
- package/es/app/app.js +51 -0
- package/es/app/file-tree/file-selection.d.ts +15 -0
- package/es/app/file-tree/file-selection.d.ts.map +1 -0
- package/es/app/file-tree/file-selection.js +38 -0
- package/es/app/file-tree/file-service.d.ts +19 -0
- package/es/app/file-tree/file-service.d.ts.map +1 -0
- package/es/app/file-tree/file-service.js +105 -0
- package/es/app/file-tree/file-tree-component.d.ts +6 -0
- package/es/app/file-tree/file-tree-component.d.ts.map +1 -0
- package/es/app/file-tree/file-tree-component.js +14 -0
- package/es/app/file-tree/file-tree-icon.d.ts +3 -0
- package/es/app/file-tree/file-tree-icon.d.ts.map +1 -0
- package/es/app/file-tree/file-tree-icon.js +14 -0
- package/es/app/file-tree/file-tree-label-provider.d.ts +18 -0
- package/es/app/file-tree/file-tree-label-provider.d.ts.map +1 -0
- package/es/app/file-tree/file-tree-label-provider.js +54 -0
- package/es/app/file-tree/file-tree-model.d.ts +40 -0
- package/es/app/file-tree/file-tree-model.d.ts.map +1 -0
- package/es/app/file-tree/file-tree-model.js +358 -0
- package/es/app/file-tree/file-tree-protocol.d.ts +12 -0
- package/es/app/file-tree/file-tree-protocol.d.ts.map +1 -0
- package/es/app/file-tree/file-tree-protocol.js +33 -0
- package/es/app/file-tree/file-tree-view.d.ts +51 -0
- package/es/app/file-tree/file-tree-view.d.ts.map +1 -0
- package/es/app/file-tree/file-tree-view.js +420 -0
- package/es/app/file-tree/file-tree.d.ts +48 -0
- package/es/app/file-tree/file-tree.d.ts.map +1 -0
- package/es/app/file-tree/file-tree.js +279 -0
- package/es/app/file-tree/files.d.ts +575 -0
- package/es/app/file-tree/files.d.ts.map +1 -0
- package/es/app/file-tree/files.js +478 -0
- package/es/app/file-tree/filesystem-utils.d.ts +14 -0
- package/es/app/file-tree/filesystem-utils.d.ts.map +1 -0
- package/es/app/file-tree/filesystem-utils.js +20 -0
- package/es/app/file-tree/index.d.ts +7 -0
- package/es/app/file-tree/index.d.ts.map +1 -0
- package/es/app/file-tree/index.js +6 -0
- package/es/app/file-tree/module.d.ts +3 -0
- package/es/app/file-tree/module.d.ts.map +1 -0
- package/es/app/file-tree/module.js +18 -0
- package/es/app/file-tree/selection-command-handler.d.ts +25 -0
- package/es/app/file-tree/selection-command-handler.d.ts.map +1 -0
- package/es/app/file-tree/selection-command-handler.js +124 -0
- package/es/app/file-tree/style/file-icon.less +51 -0
- package/es/app/index.d.ts +15 -0
- package/es/app/index.d.ts.map +1 -0
- package/es/app/index.js +22 -0
- package/es/app/label/index.d.ts +4 -0
- package/es/app/label/index.d.ts.map +1 -0
- package/es/app/label/index.js +4 -0
- package/es/app/label/label-provider.d.ts +169 -0
- package/es/app/label/label-provider.d.ts.map +1 -0
- package/es/app/label/label-provider.js +488 -0
- package/es/app/menu/index.d.ts +8 -0
- package/es/app/menu/index.d.ts.map +1 -0
- package/es/app/menu/index.js +21 -0
- package/es/app/menu/menu-bar-render.d.ts +11 -0
- package/es/app/menu/menu-bar-render.d.ts.map +1 -0
- package/es/app/menu/menu-bar-render.js +46 -0
- package/es/app/menu/menu-color-registry.d.ts +6 -0
- package/es/app/menu/menu-color-registry.d.ts.map +1 -0
- package/es/app/menu/menu-color-registry.js +59 -0
- package/es/app/menu/menu-context.d.ts +13 -0
- package/es/app/menu/menu-context.d.ts.map +1 -0
- package/es/app/menu/menu-context.js +7 -0
- package/es/app/menu/menu-item-keeper.d.ts +12 -0
- package/es/app/menu/menu-item-keeper.d.ts.map +1 -0
- package/es/app/menu/menu-item-keeper.js +68 -0
- package/es/app/menu/menu-item-render.d.ts +4 -0
- package/es/app/menu/menu-item-render.d.ts.map +1 -0
- package/es/app/menu/menu-item-render.js +13 -0
- package/es/app/menu/menu-protocol.d.ts +18 -0
- package/es/app/menu/menu-protocol.d.ts.map +1 -0
- package/es/app/menu/menu-protocol.js +5 -0
- package/es/app/menu/menu-render.d.ts +30 -0
- package/es/app/menu/menu-render.d.ts.map +1 -0
- package/es/app/menu/menu-render.js +85 -0
- package/es/app/menu/menu.d.ts +47 -0
- package/es/app/menu/menu.d.ts.map +1 -0
- package/es/app/menu/menu.js +234 -0
- package/es/app/modal/index.d.ts +9 -0
- package/es/app/modal/index.d.ts.map +1 -0
- package/es/app/modal/index.js +19 -0
- package/es/app/modal/modal-contribution.d.ts +7 -0
- package/es/app/modal/modal-contribution.d.ts.map +1 -0
- package/es/app/modal/modal-contribution.js +34 -0
- package/es/app/modal/modal-protocol.d.ts +22 -0
- package/es/app/modal/modal-protocol.d.ts.map +1 -0
- package/es/app/modal/modal-protocol.js +13 -0
- package/es/app/modal/modal-render.d.ts +6 -0
- package/es/app/modal/modal-render.d.ts.map +1 -0
- package/es/app/modal/modal-render.js +44 -0
- package/es/app/modal/modal-service.d.ts +41 -0
- package/es/app/modal/modal-service.d.ts.map +1 -0
- package/es/app/modal/modal-service.js +200 -0
- package/es/app/notification/index.d.ts +5 -0
- package/es/app/notification/index.d.ts.map +1 -0
- package/es/app/notification/index.js +5 -0
- package/es/app/notification/index.less +20 -0
- package/es/app/notification/protocol.d.ts +15 -0
- package/es/app/notification/protocol.d.ts.map +1 -0
- package/es/app/notification/protocol.js +1 -0
- package/es/app/notification/service.d.ts +11 -0
- package/es/app/notification/service.d.ts.map +1 -0
- package/es/app/notification/service.js +87 -0
- package/es/app/style/index.less +181 -0
- package/es/app/style/style-protocol.d.ts +10 -0
- package/es/app/style/style-protocol.d.ts.map +1 -0
- package/es/app/style/style-protocol.js +11 -0
- package/es/app/toolbar/index.d.ts +7 -0
- package/es/app/toolbar/index.d.ts.map +1 -0
- package/es/app/toolbar/index.js +15 -0
- package/es/app/toolbar/index.less +40 -0
- package/es/app/toolbar/toolbar-item-keeper.d.ts +12 -0
- package/es/app/toolbar/toolbar-item-keeper.d.ts.map +1 -0
- package/es/app/toolbar/toolbar-item-keeper.js +49 -0
- package/es/app/toolbar/toolbar-item-render.d.ts +13 -0
- package/es/app/toolbar/toolbar-item-render.d.ts.map +1 -0
- package/es/app/toolbar/toolbar-item-render.js +14 -0
- package/es/app/toolbar/toolbar-protocol.d.ts +9 -0
- package/es/app/toolbar/toolbar-protocol.d.ts.map +1 -0
- package/es/app/toolbar/toolbar-protocol.js +1 -0
- package/es/app/toolbar/toolbar-render.d.ts +29 -0
- package/es/app/toolbar/toolbar-render.d.ts.map +1 -0
- package/es/app/toolbar/toolbar-render.js +93 -0
- package/es/app/toolbar/toolbar-visible-render.d.ts +8 -0
- package/es/app/toolbar/toolbar-visible-render.d.ts.map +1 -0
- package/es/app/toolbar/toolbar-visible-render.js +12 -0
- package/es/app/toolbar/toolbar.d.ts +51 -0
- package/es/app/toolbar/toolbar.d.ts.map +1 -0
- package/es/app/toolbar/toolbar.js +275 -0
- package/es/app/tree/components/index.d.ts +3 -0
- package/es/app/tree/components/index.d.ts.map +1 -0
- package/es/app/tree/components/index.js +20 -0
- package/es/app/tree/components/tree-ident.d.ts +4 -0
- package/es/app/tree/components/tree-ident.d.ts.map +1 -0
- package/es/app/tree/components/tree-ident.js +40 -0
- package/es/app/tree/components/tree-node-caption-affix.d.ts +4 -0
- package/es/app/tree/components/tree-node-caption-affix.d.ts.map +1 -0
- package/es/app/tree/components/tree-node-caption-affix.js +39 -0
- package/es/app/tree/components/tree-node-caption.d.ts +3 -0
- package/es/app/tree/components/tree-node-caption.d.ts.map +1 -0
- package/es/app/tree/components/tree-node-caption.js +103 -0
- package/es/app/tree/components/tree-node-expansion.d.ts +3 -0
- package/es/app/tree/components/tree-node-expansion.d.ts.map +1 -0
- package/es/app/tree/components/tree-node-expansion.js +36 -0
- package/es/app/tree/components/tree-node-icon-decorator.d.ts +4 -0
- package/es/app/tree/components/tree-node-icon-decorator.d.ts.map +1 -0
- package/es/app/tree/components/tree-node-icon-decorator.js +46 -0
- package/es/app/tree/components/tree-node-icon.d.ts +2 -0
- package/es/app/tree/components/tree-node-icon.d.ts.map +1 -0
- package/es/app/tree/components/tree-node-icon.js +3 -0
- package/es/app/tree/components/tree-node-tail-decoration.d.ts +3 -0
- package/es/app/tree/components/tree-node-tail-decoration.d.ts.map +1 -0
- package/es/app/tree/components/tree-node-tail-decoration.js +39 -0
- package/es/app/tree/components/tree-node.d.ts +4 -0
- package/es/app/tree/components/tree-node.d.ts.map +1 -0
- package/es/app/tree/components/tree-node.js +40 -0
- package/es/app/tree/components/tree-switch-icon.d.ts +4 -0
- package/es/app/tree/components/tree-switch-icon.d.ts.map +1 -0
- package/es/app/tree/components/tree-switch-icon.js +14 -0
- package/es/app/tree/index.d.ts +16 -0
- package/es/app/tree/index.d.ts.map +1 -0
- package/es/app/tree/index.js +15 -0
- package/es/app/tree/module.d.ts +5 -0
- package/es/app/tree/module.d.ts.map +1 -0
- package/es/app/tree/module.js +19 -0
- package/es/app/tree/style/index.less +206 -0
- package/es/app/tree/style/tree-decorator.less +65 -0
- package/es/app/tree/tree-decorator.d.ts +141 -0
- package/es/app/tree/tree-decorator.d.ts.map +1 -0
- package/es/app/tree/tree-decorator.js +248 -0
- package/es/app/tree/tree-expansion.d.ts +69 -0
- package/es/app/tree/tree-expansion.d.ts.map +1 -0
- package/es/app/tree/tree-expansion.js +250 -0
- package/es/app/tree/tree-impl.d.ts +40 -0
- package/es/app/tree/tree-impl.d.ts.map +1 -0
- package/es/app/tree/tree-impl.js +292 -0
- package/es/app/tree/tree-iterator.d.ts +94 -0
- package/es/app/tree/tree-iterator.d.ts.map +1 -0
- package/es/app/tree/tree-iterator.js +368 -0
- package/es/app/tree/tree-label-provider.d.ts +9 -0
- package/es/app/tree/tree-label-provider.d.ts.map +1 -0
- package/es/app/tree/tree-label-provider.js +39 -0
- package/es/app/tree/tree-model.d.ts +163 -0
- package/es/app/tree/tree-model.d.ts.map +1 -0
- package/es/app/tree/tree-model.js +616 -0
- package/es/app/tree/tree-navigation.d.ts +11 -0
- package/es/app/tree/tree-navigation.d.ts.map +1 -0
- package/es/app/tree/tree-navigation.js +54 -0
- package/es/app/tree/tree-protocol.d.ts +67 -0
- package/es/app/tree/tree-protocol.d.ts.map +1 -0
- package/es/app/tree/tree-protocol.js +24 -0
- package/es/app/tree/tree-selection-impl.d.ts +45 -0
- package/es/app/tree/tree-selection-impl.d.ts.map +1 -0
- package/es/app/tree/tree-selection-impl.js +192 -0
- package/es/app/tree/tree-selection-state.d.ts +48 -0
- package/es/app/tree/tree-selection-state.d.ts.map +1 -0
- package/es/app/tree/tree-selection-state.js +276 -0
- package/es/app/tree/tree-selection.d.ts +79 -0
- package/es/app/tree/tree-selection.d.ts.map +1 -0
- package/es/app/tree/tree-selection.js +72 -0
- package/es/app/tree/tree-view-decoration.d.ts +286 -0
- package/es/app/tree/tree-view-decoration.d.ts.map +1 -0
- package/es/app/tree/tree-view-decoration.js +127 -0
- package/es/app/tree/tree.d.ts +166 -0
- package/es/app/tree/tree.d.ts.map +1 -0
- package/es/app/tree/tree.js +155 -0
- package/es/app/tree/view/index.d.ts +4 -0
- package/es/app/tree/view/index.d.ts.map +1 -0
- package/es/app/tree/view/index.js +3 -0
- package/es/app/tree/view/index.less +3 -0
- package/es/app/tree/view/tree-view-decorator.d.ts +38 -0
- package/es/app/tree/view/tree-view-decorator.d.ts.map +1 -0
- package/es/app/tree/view/tree-view-decorator.js +128 -0
- package/es/app/tree/view/tree-view-module.d.ts +3 -0
- package/es/app/tree/view/tree-view-module.d.ts.map +1 -0
- package/es/app/tree/view/tree-view-module.js +8 -0
- package/es/app/tree/view/tree-view-selection.d.ts +12 -0
- package/es/app/tree/view/tree-view-selection.d.ts.map +1 -0
- package/es/app/tree/view/tree-view-selection.js +23 -0
- package/es/app/tree/view/tree-view.d.ts +262 -0
- package/es/app/tree/view/tree-view.d.ts.map +1 -0
- package/es/app/tree/view/tree-view.js +943 -0
- package/es/app/typings/index.d.ts +7 -0
- package/es/app/view/box/index.d.ts +19 -0
- package/es/app/view/box/index.d.ts.map +1 -0
- package/es/app/view/box/index.js +76 -0
- package/es/app/view/components/index.d.ts +2 -0
- package/es/app/view/components/index.d.ts.map +1 -0
- package/es/app/view/components/index.js +1 -0
- package/es/app/view/components/loading/index.d.ts +3 -0
- package/es/app/view/components/loading/index.d.ts.map +1 -0
- package/es/app/view/components/loading/index.js +7 -0
- package/es/app/view/components/loading/index.less +10 -0
- package/es/app/view/flex/index.d.ts +16 -0
- package/es/app/view/flex/index.d.ts.map +1 -0
- package/es/app/view/flex/index.js +67 -0
- package/es/app/view/flex/index.less +3 -0
- package/es/app/view/header/header-view.d.ts +12 -0
- package/es/app/view/header/header-view.d.ts.map +1 -0
- package/es/app/view/header/header-view.js +68 -0
- package/es/app/view/header/index.d.ts +4 -0
- package/es/app/view/header/index.d.ts.map +1 -0
- package/es/app/view/header/index.js +23 -0
- package/es/app/view/header/index.less +43 -0
- package/es/app/view/index.d.ts +8 -0
- package/es/app/view/index.d.ts.map +1 -0
- package/es/app/view/index.js +11 -0
- package/es/app/view/tab/card-tab-view.d.ts +13 -0
- package/es/app/view/tab/card-tab-view.d.ts.map +1 -0
- package/es/app/view/tab/card-tab-view.js +49 -0
- package/es/app/view/tab/index.d.ts +4 -0
- package/es/app/view/tab/index.d.ts.map +1 -0
- package/es/app/view/tab/index.js +3 -0
- package/es/app/view/tab/index.less +70 -0
- package/es/app/view/tab/side-tab-view.d.ts +23 -0
- package/es/app/view/tab/side-tab-view.d.ts.map +1 -0
- package/es/app/view/tab/side-tab-view.js +121 -0
- package/es/app/view/tab/tab-menu.d.ts +9 -0
- package/es/app/view/tab/tab-menu.d.ts.map +1 -0
- package/es/app/view/tab/tab-menu.js +34 -0
- package/es/app/view/tab/tab-protocol.d.ts +3 -0
- package/es/app/view/tab/tab-protocol.d.ts.map +1 -0
- package/es/app/view/tab/tab-protocol.js +1 -0
- package/es/app/view/tab/tab-view.d.ts +27 -0
- package/es/app/view/tab/tab-view.d.ts.map +1 -0
- package/es/app/view/tab/tab-view.js +169 -0
- package/es/common/assert.d.ts +5 -0
- package/es/common/assert.d.ts.map +1 -0
- package/es/common/assert.js +13 -0
- package/es/common/cancellation.d.ts +20 -0
- package/es/common/cancellation.d.ts.map +1 -0
- package/es/common/cancellation.js +143 -0
- package/es/common/charCode.d.ts +416 -0
- package/es/common/charCode.d.ts.map +1 -0
- package/es/common/charCode.js +604 -0
- package/es/common/collections.d.ts +44 -0
- package/es/common/collections.d.ts.map +1 -0
- package/es/common/collections.js +220 -0
- package/es/common/deferred.d.ts +10 -0
- package/es/common/deferred.d.ts.map +1 -0
- package/es/common/deferred.js +21 -0
- package/es/common/disposable-collection.d.ts +24 -0
- package/es/common/disposable-collection.d.ts.map +1 -0
- package/es/common/disposable-collection.js +117 -0
- package/es/common/disposable.d.ts +19 -0
- package/es/common/disposable.d.ts.map +1 -0
- package/es/common/disposable.js +23 -0
- package/es/common/event.d.ts +75 -0
- package/es/common/event.d.ts.map +1 -0
- package/es/common/event.js +313 -0
- package/es/common/index.d.ts +27 -0
- package/es/common/index.d.ts.map +1 -0
- package/es/common/index.js +26 -0
- package/es/common/iterator.d.ts +39 -0
- package/es/common/iterator.d.ts.map +1 -0
- package/es/common/iterator.js +389 -0
- package/es/common/linkedList.d.ts +16 -0
- package/es/common/linkedList.d.ts.map +1 -0
- package/es/common/linkedList.js +159 -0
- package/es/common/objects.d.ts +36 -0
- package/es/common/objects.d.ts.map +1 -0
- package/es/common/objects.js +232 -0
- package/es/common/observable-disposable.d.ts +12 -0
- package/es/common/observable-disposable.d.ts.map +1 -0
- package/es/common/observable-disposable.js +1 -0
- package/es/common/path.d.ts +59 -0
- package/es/common/path.d.ts.map +1 -0
- package/es/common/path.js +258 -0
- package/es/common/platform.d.ts +72 -0
- package/es/common/platform.d.ts.map +1 -0
- package/es/common/platform.js +213 -0
- package/es/common/priority.d.ts +23 -0
- package/es/common/priority.d.ts.map +1 -0
- package/es/common/priority.js +97 -0
- package/es/common/promise-util.d.ts +8 -0
- package/es/common/promise-util.d.ts.map +1 -0
- package/es/common/promise-util.js +63 -0
- package/es/common/stopwatch.d.ts +11 -0
- package/es/common/stopwatch.d.ts.map +1 -0
- package/es/common/stopwatch.js +47 -0
- package/es/common/strings.d.ts +102 -0
- package/es/common/strings.d.ts.map +1 -0
- package/es/common/strings.js +433 -0
- package/es/common/types.d.ts +16 -0
- package/es/common/types.d.ts.map +1 -0
- package/es/common/types.js +13 -0
- package/es/common/uint.d.ts +32 -0
- package/es/common/uint.d.ts.map +1 -0
- package/es/common/uint.js +56 -0
- package/es/common/uri.d.ts +56 -0
- package/es/common/uri.d.ts.map +1 -0
- package/es/common/uri.js +244 -0
- package/es/common/utils.d.ts +4 -0
- package/es/common/utils.d.ts.map +1 -0
- package/es/common/utils.js +26 -0
- package/es/common/valueTypes.d.ts +102 -0
- package/es/common/valueTypes.d.ts.map +1 -0
- package/es/common/valueTypes.js +270 -0
- package/es/common/vscode-uri/char-code.d.ts +416 -0
- package/es/common/vscode-uri/char-code.d.ts.map +1 -0
- package/es/common/vscode-uri/char-code.js +608 -0
- package/es/common/vscode-uri/index.d.ts +6 -0
- package/es/common/vscode-uri/index.d.ts.map +1 -0
- package/es/common/vscode-uri/index.js +8 -0
- package/es/common/vscode-uri/platform.d.ts +2 -0
- package/es/common/vscode-uri/platform.d.ts.map +1 -0
- package/es/common/vscode-uri/platform.js +17 -0
- package/es/common/vscode-uri/uri.d.ts +155 -0
- package/es/common/vscode-uri/uri.d.ts.map +1 -0
- package/es/common/vscode-uri/uri.js +637 -0
- package/es/common/vscode-uri/utils.d.ts +59 -0
- package/es/common/vscode-uri/utils.d.ts.map +1 -0
- package/es/common/vscode-uri/utils.js +61 -0
- package/es/common/wait-until-event.d.ts +17 -0
- package/es/common/wait-until-event.d.ts.map +1 -0
- package/es/common/wait-until-event.js +65 -0
- package/es/core/application/application-protocol.d.ts +19 -0
- package/es/core/application/application-protocol.d.ts.map +1 -0
- package/es/core/application/application-protocol.js +4 -0
- package/es/core/application/application-state.d.ts +24 -0
- package/es/core/application/application-state.d.ts.map +1 -0
- package/es/core/application/application-state.js +87 -0
- package/es/core/application/application.d.ts +86 -0
- package/es/core/application/application.d.ts.map +1 -0
- package/es/core/application/application.js +554 -0
- package/es/core/application/default-window-service.d.ts +27 -0
- package/es/core/application/default-window-service.d.ts.map +1 -0
- package/es/core/application/default-window-service.js +83 -0
- package/es/core/application/index.d.ts +5 -0
- package/es/core/application/index.d.ts.map +1 -0
- package/es/core/application/index.js +7 -0
- package/es/core/application/mock-window-service.d.ts +8 -0
- package/es/core/application/mock-window-service.d.ts.map +1 -0
- package/es/core/application/mock-window-service.js +31 -0
- package/es/core/browser.d.ts +21 -0
- package/es/core/browser.d.ts.map +1 -0
- package/es/core/browser.js +118 -0
- package/es/core/command/command-protocol.d.ts +124 -0
- package/es/core/command/command-protocol.d.ts.map +1 -0
- package/es/core/command/command-protocol.js +44 -0
- package/es/core/command/command-registry.d.ts +144 -0
- package/es/core/command/command-registry.d.ts.map +1 -0
- package/es/core/command/command-registry.js +595 -0
- package/es/core/command/index.d.ts +5 -0
- package/es/core/command/index.d.ts.map +1 -0
- package/es/core/command/index.js +5 -0
- package/es/core/common/debug.d.ts +5 -0
- package/es/core/common/debug.d.ts.map +1 -0
- package/es/core/common/debug.js +3 -0
- package/es/core/common/index.d.ts +6 -0
- package/es/core/common/index.d.ts.map +1 -0
- package/es/core/common/index.js +17 -0
- package/es/core/common/storage-protocol.d.ts +21 -0
- package/es/core/common/storage-protocol.d.ts.map +1 -0
- package/es/core/common/storage-protocol.js +5 -0
- package/es/core/common/storage-service.d.ts +23 -0
- package/es/core/common/storage-service.d.ts.map +1 -0
- package/es/core/common/storage-service.js +91 -0
- package/es/core/components/application.d.ts +16 -0
- package/es/core/components/application.d.ts.map +1 -0
- package/es/core/components/application.js +159 -0
- package/es/core/components/context.d.ts +19 -0
- package/es/core/components/context.d.ts.map +1 -0
- package/es/core/components/context.js +101 -0
- package/es/core/components/hooks.d.ts +4 -0
- package/es/core/components/hooks.d.ts.map +1 -0
- package/es/core/components/hooks.js +14 -0
- package/es/core/components/index.d.ts +7 -0
- package/es/core/components/index.d.ts.map +1 -0
- package/es/core/components/index.js +8 -0
- package/es/core/components/index.less +28 -0
- package/es/core/components/root-view-render.d.ts +5 -0
- package/es/core/components/root-view-render.d.ts.map +1 -0
- package/es/core/components/root-view-render.js +14 -0
- package/es/core/configuration/configuration-cache.d.ts +15 -0
- package/es/core/configuration/configuration-cache.d.ts.map +1 -0
- package/es/core/configuration/configuration-cache.js +67 -0
- package/es/core/configuration/configuration-protocol.d.ts +46 -0
- package/es/core/configuration/configuration-protocol.d.ts.map +1 -0
- package/es/core/configuration/configuration-protocol.js +1 -0
- package/es/core/configuration/configuration-provider.d.ts +46 -0
- package/es/core/configuration/configuration-provider.d.ts.map +1 -0
- package/es/core/configuration/configuration-provider.js +95 -0
- package/es/core/configuration/configuration-registry.d.ts +53 -0
- package/es/core/configuration/configuration-registry.d.ts.map +1 -0
- package/es/core/configuration/configuration-registry.js +360 -0
- package/es/core/configuration/configuration-render-registry.d.ts +35 -0
- package/es/core/configuration/configuration-render-registry.d.ts.map +1 -0
- package/es/core/configuration/configuration-render-registry.js +118 -0
- package/es/core/configuration/configuration-service.d.ts +46 -0
- package/es/core/configuration/configuration-service.d.ts.map +1 -0
- package/es/core/configuration/configuration-service.js +411 -0
- package/es/core/configuration/configuration-storage.d.ts +19 -0
- package/es/core/configuration/configuration-storage.d.ts.map +1 -0
- package/es/core/configuration/configuration-storage.js +15 -0
- package/es/core/configuration/hooks.d.ts +3 -0
- package/es/core/configuration/hooks.d.ts.map +1 -0
- package/es/core/configuration/hooks.js +60 -0
- package/es/core/configuration/index.d.ts +11 -0
- package/es/core/configuration/index.d.ts.map +1 -0
- package/es/core/configuration/index.js +10 -0
- package/es/core/configuration/module.d.ts +3 -0
- package/es/core/configuration/module.d.ts.map +1 -0
- package/es/core/configuration/module.js +8 -0
- package/es/core/configuration/typings.d.ts +1 -0
- package/es/core/configuration/validation.d.ts +12 -0
- package/es/core/configuration/validation.d.ts.map +1 -0
- package/es/core/configuration/validation.js +45 -0
- package/es/core/context/data-context-manager.d.ts +16 -0
- package/es/core/context/data-context-manager.d.ts.map +1 -0
- package/es/core/context/data-context-manager.js +80 -0
- package/es/core/context/data-context-protocol.d.ts +16 -0
- package/es/core/context/data-context-protocol.d.ts.map +1 -0
- package/es/core/context/data-context-protocol.js +10 -0
- package/es/core/context/data-context.d.ts +7 -0
- package/es/core/context/data-context.d.ts.map +1 -0
- package/es/core/context/data-context.js +32 -0
- package/es/core/context/index.d.ts +6 -0
- package/es/core/context/index.d.ts.map +1 -0
- package/es/core/context/index.js +12 -0
- package/es/core/index.d.ts +32 -0
- package/es/core/index.d.ts.map +1 -0
- package/es/core/index.js +42 -0
- package/es/core/keybinding/context-key-service.d.ts +22 -0
- package/es/core/keybinding/context-key-service.d.ts.map +1 -0
- package/es/core/keybinding/context-key-service.js +79 -0
- package/es/core/keybinding/index.d.ts +6 -0
- package/es/core/keybinding/index.d.ts.map +1 -0
- package/es/core/keybinding/index.js +5 -0
- package/es/core/keybinding/keybinding-proocol.d.ts +14 -0
- package/es/core/keybinding/keybinding-proocol.d.ts.map +1 -0
- package/es/core/keybinding/keybinding-proocol.js +5 -0
- package/es/core/keybinding/keybinding.d.ts +333 -0
- package/es/core/keybinding/keybinding.d.ts.map +1 -0
- package/es/core/keybinding/keybinding.js +912 -0
- package/es/core/keybinding/module.d.ts +3 -0
- package/es/core/keybinding/module.d.ts.map +1 -0
- package/es/core/keybinding/module.js +12 -0
- package/es/core/keybinding/vs/configuration/configuration.d.ts +129 -0
- package/es/core/keybinding/vs/configuration/configuration.d.ts.map +1 -0
- package/es/core/keybinding/vs/configuration/configuration.js +328 -0
- package/es/core/keybinding/vs/configuration/configurationModels.d.ts +138 -0
- package/es/core/keybinding/vs/configuration/configurationModels.d.ts.map +1 -0
- package/es/core/keybinding/vs/configuration/configurationModels.js +974 -0
- package/es/core/keybinding/vs/configuration/configurationRegistry.d.ts +145 -0
- package/es/core/keybinding/vs/configuration/configurationRegistry.d.ts.map +1 -0
- package/es/core/keybinding/vs/configuration/configurationRegistry.js +500 -0
- package/es/core/keybinding/vs/configuration/configurationService.d.ts +36 -0
- package/es/core/keybinding/vs/configuration/configurationService.d.ts.map +1 -0
- package/es/core/keybinding/vs/configuration/configurationService.js +161 -0
- package/es/core/keybinding/vs/configuration/json.d.ts +216 -0
- package/es/core/keybinding/vs/configuration/json.d.ts.map +1 -0
- package/es/core/keybinding/vs/configuration/json.js +1303 -0
- package/es/core/keybinding/vs/contextKeyService.d.ts +73 -0
- package/es/core/keybinding/vs/contextKeyService.d.ts.map +1 -0
- package/es/core/keybinding/vs/contextKeyService.js +755 -0
- package/es/core/keybinding/vs/contextkey.d.ts +338 -0
- package/es/core/keybinding/vs/contextkey.d.ts.map +1 -0
- package/es/core/keybinding/vs/contextkey.js +1551 -0
- package/es/core/keybinding/vs/contextkeys.d.ts +10 -0
- package/es/core/keybinding/vs/contextkeys.d.ts.map +1 -0
- package/es/core/keybinding/vs/contextkeys.js +16 -0
- package/es/core/keybinding/vs/jsonContributionRegistry.d.ts +25 -0
- package/es/core/keybinding/vs/jsonContributionRegistry.d.ts.map +1 -0
- package/es/core/keybinding/vs/jsonContributionRegistry.js +52 -0
- package/es/core/keybinding/vs/jsonSchema.d.ts +65 -0
- package/es/core/keybinding/vs/jsonSchema.d.ts.map +1 -0
- package/es/core/keybinding/vs/jsonSchema.js +0 -0
- package/es/core/keybinding/vs/platform.d.ts +21 -0
- package/es/core/keybinding/vs/platform.d.ts.map +1 -0
- package/es/core/keybinding/vs/platform.js +39 -0
- package/es/core/keyboard/browser-keyboard-layout-provider.d.ts +101 -0
- package/es/core/keyboard/browser-keyboard-layout-provider.d.ts.map +1 -0
- package/es/core/keyboard/browser-keyboard-layout-provider.js +642 -0
- package/es/core/keyboard/index.d.ts +5 -0
- package/es/core/keyboard/index.d.ts.map +1 -0
- package/es/core/keyboard/index.js +4 -0
- package/es/core/keyboard/keyboard-layout-service.d.ts +51 -0
- package/es/core/keyboard/keyboard-layout-service.d.ts.map +1 -0
- package/es/core/keyboard/keyboard-layout-service.js +697 -0
- package/es/core/keyboard/keyboard-protocol.d.ts +26 -0
- package/es/core/keyboard/keyboard-protocol.d.ts.map +1 -0
- package/es/core/keyboard/keyboard-protocol.js +5 -0
- package/es/core/keyboard/keys.d.ts +254 -0
- package/es/core/keyboard/keys.d.ts.map +1 -0
- package/es/core/keyboard/keys.js +1070 -0
- package/es/core/keyboard/layouts/cs-Czech-mac.d.ts +269 -0
- package/es/core/keyboard/layouts/cs-Czech-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/cs-Czech-mac.js +267 -0
- package/es/core/keyboard/layouts/cs-Czech-mac.json +1 -0
- package/es/core/keyboard/layouts/cs-Czech-pc.d.ts +291 -0
- package/es/core/keyboard/layouts/cs-Czech-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/cs-Czech-pc.js +289 -0
- package/es/core/keyboard/layouts/cs-Czech-pc.json +1 -0
- package/es/core/keyboard/layouts/da-Danish-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/da-Danish-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/da-Danish-mac.js +296 -0
- package/es/core/keyboard/layouts/da-Danish-mac.json +1 -0
- package/es/core/keyboard/layouts/da-Danish-pc.d.ts +270 -0
- package/es/core/keyboard/layouts/da-Danish-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/da-Danish-pc.js +268 -0
- package/es/core/keyboard/layouts/da-Danish-pc.json +1 -0
- package/es/core/keyboard/layouts/de-German-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/de-German-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/de-German-mac.js +296 -0
- package/es/core/keyboard/layouts/de-German-mac.json +1 -0
- package/es/core/keyboard/layouts/de-German-pc.d.ts +270 -0
- package/es/core/keyboard/layouts/de-German-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/de-German-pc.js +268 -0
- package/es/core/keyboard/layouts/de-German-pc.json +1 -0
- package/es/core/keyboard/layouts/de-Swiss_German-mac.d.ts +296 -0
- package/es/core/keyboard/layouts/de-Swiss_German-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/de-Swiss_German-mac.js +294 -0
- package/es/core/keyboard/layouts/de-Swiss_German-mac.json +1 -0
- package/es/core/keyboard/layouts/de-Swiss_German-pc.d.ts +273 -0
- package/es/core/keyboard/layouts/de-Swiss_German-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/de-Swiss_German-pc.js +271 -0
- package/es/core/keyboard/layouts/de-Swiss_German-pc.json +1 -0
- package/es/core/keyboard/layouts/en-British-mac.d.ts +296 -0
- package/es/core/keyboard/layouts/en-British-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/en-British-mac.js +294 -0
- package/es/core/keyboard/layouts/en-British-mac.json +1 -0
- package/es/core/keyboard/layouts/en-British-pc.d.ts +271 -0
- package/es/core/keyboard/layouts/en-British-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/en-British-pc.js +269 -0
- package/es/core/keyboard/layouts/en-British-pc.json +1 -0
- package/es/core/keyboard/layouts/en-Colemak-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/en-Colemak-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/en-Colemak-mac.js +296 -0
- package/es/core/keyboard/layouts/en-Colemak-mac.json +1 -0
- package/es/core/keyboard/layouts/en-Dvorak-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/en-Dvorak-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/en-Dvorak-mac.js +296 -0
- package/es/core/keyboard/layouts/en-Dvorak-mac.json +1 -0
- package/es/core/keyboard/layouts/en-Dvorak-pc.d.ts +257 -0
- package/es/core/keyboard/layouts/en-Dvorak-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/en-Dvorak-pc.js +255 -0
- package/es/core/keyboard/layouts/en-Dvorak-pc.json +1 -0
- package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-mac.js +296 -0
- package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-mac.json +1 -0
- package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-pc.d.ts +257 -0
- package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-pc.js +255 -0
- package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-pc.json +1 -0
- package/es/core/keyboard/layouts/en-Dvorak_Righthanded-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/en-Dvorak_Righthanded-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/en-Dvorak_Righthanded-mac.js +296 -0
- package/es/core/keyboard/layouts/en-Dvorak_Righthanded-mac.json +1 -0
- package/es/core/keyboard/layouts/en-Dvorak_Righthanded-pc.d.ts +257 -0
- package/es/core/keyboard/layouts/en-Dvorak_Righthanded-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/en-Dvorak_Righthanded-pc.js +255 -0
- package/es/core/keyboard/layouts/en-Dvorak_Righthanded-pc.json +1 -0
- package/es/core/keyboard/layouts/en-US-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/en-US-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/en-US-mac.js +296 -0
- package/es/core/keyboard/layouts/en-US-mac.json +1 -0
- package/es/core/keyboard/layouts/en-US-pc.d.ts +257 -0
- package/es/core/keyboard/layouts/en-US-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/en-US-pc.js +255 -0
- package/es/core/keyboard/layouts/en-US-pc.json +1 -0
- package/es/core/keyboard/layouts/es-Spanish-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/es-Spanish-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/es-Spanish-mac.js +296 -0
- package/es/core/keyboard/layouts/es-Spanish-mac.json +1 -0
- package/es/core/keyboard/layouts/es-Spanish-pc.d.ts +269 -0
- package/es/core/keyboard/layouts/es-Spanish-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/es-Spanish-pc.js +267 -0
- package/es/core/keyboard/layouts/es-Spanish-pc.json +1 -0
- package/es/core/keyboard/layouts/fr-Bepo-pc.d.ts +344 -0
- package/es/core/keyboard/layouts/fr-Bepo-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/fr-Bepo-pc.js +342 -0
- package/es/core/keyboard/layouts/fr-Bepo-pc.json +1 -0
- package/es/core/keyboard/layouts/fr-Canadian_French-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/fr-Canadian_French-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/fr-Canadian_French-mac.js +296 -0
- package/es/core/keyboard/layouts/fr-Canadian_French-mac.json +1 -0
- package/es/core/keyboard/layouts/fr-Canadian_French-pc.d.ts +281 -0
- package/es/core/keyboard/layouts/fr-Canadian_French-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/fr-Canadian_French-pc.js +279 -0
- package/es/core/keyboard/layouts/fr-Canadian_French-pc.json +1 -0
- package/es/core/keyboard/layouts/fr-French-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/fr-French-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/fr-French-mac.js +296 -0
- package/es/core/keyboard/layouts/fr-French-mac.json +1 -0
- package/es/core/keyboard/layouts/fr-French-pc.d.ts +269 -0
- package/es/core/keyboard/layouts/fr-French-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/fr-French-pc.js +267 -0
- package/es/core/keyboard/layouts/fr-French-pc.json +1 -0
- package/es/core/keyboard/layouts/fr-Swiss_French-mac.d.ts +296 -0
- package/es/core/keyboard/layouts/fr-Swiss_French-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/fr-Swiss_French-mac.js +294 -0
- package/es/core/keyboard/layouts/fr-Swiss_French-mac.json +1 -0
- package/es/core/keyboard/layouts/fr-Swiss_French-pc.d.ts +273 -0
- package/es/core/keyboard/layouts/fr-Swiss_French-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/fr-Swiss_French-pc.js +271 -0
- package/es/core/keyboard/layouts/fr-Swiss_French-pc.json +1 -0
- package/es/core/keyboard/layouts/hu-Hungarian-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/hu-Hungarian-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/hu-Hungarian-mac.js +296 -0
- package/es/core/keyboard/layouts/hu-Hungarian-mac.json +1 -0
- package/es/core/keyboard/layouts/hu-Hungarian-pc.d.ts +298 -0
- package/es/core/keyboard/layouts/hu-Hungarian-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/hu-Hungarian-pc.js +296 -0
- package/es/core/keyboard/layouts/hu-Hungarian-pc.json +1 -0
- package/es/core/keyboard/layouts/index.d.ts +4 -0
- package/es/core/keyboard/layouts/index.d.ts.map +1 -0
- package/es/core/keyboard/layouts/index.js +57 -0
- package/es/core/keyboard/layouts/it-Italian-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/it-Italian-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/it-Italian-mac.js +296 -0
- package/es/core/keyboard/layouts/it-Italian-mac.json +1 -0
- package/es/core/keyboard/layouts/it-Italian-pc.d.ts +265 -0
- package/es/core/keyboard/layouts/it-Italian-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/it-Italian-pc.js +263 -0
- package/es/core/keyboard/layouts/it-Italian-pc.json +1 -0
- package/es/core/keyboard/layouts/nb-Norwegian-mac.d.ts +293 -0
- package/es/core/keyboard/layouts/nb-Norwegian-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/nb-Norwegian-mac.js +291 -0
- package/es/core/keyboard/layouts/nb-Norwegian-mac.json +1 -0
- package/es/core/keyboard/layouts/nb-Norwegian-pc.d.ts +269 -0
- package/es/core/keyboard/layouts/nb-Norwegian-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/nb-Norwegian-pc.js +267 -0
- package/es/core/keyboard/layouts/nb-Norwegian-pc.json +1 -0
- package/es/core/keyboard/layouts/nl-Dutch-mac.d.ts +296 -0
- package/es/core/keyboard/layouts/nl-Dutch-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/nl-Dutch-mac.js +294 -0
- package/es/core/keyboard/layouts/nl-Dutch-mac.json +1 -0
- package/es/core/keyboard/layouts/nl-Dutch-pc.d.ts +278 -0
- package/es/core/keyboard/layouts/nl-Dutch-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/nl-Dutch-pc.js +276 -0
- package/es/core/keyboard/layouts/nl-Dutch-pc.json +1 -0
- package/es/core/keyboard/layouts/pl-Polish-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/pl-Polish-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/pl-Polish-mac.js +296 -0
- package/es/core/keyboard/layouts/pl-Polish-mac.json +1 -0
- package/es/core/keyboard/layouts/pl-Polish-pc.d.ts +284 -0
- package/es/core/keyboard/layouts/pl-Polish-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/pl-Polish-pc.js +282 -0
- package/es/core/keyboard/layouts/pl-Polish-pc.json +1 -0
- package/es/core/keyboard/layouts/pt-Brazilian-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/pt-Brazilian-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/pt-Brazilian-mac.js +296 -0
- package/es/core/keyboard/layouts/pt-Brazilian-mac.json +1 -0
- package/es/core/keyboard/layouts/pt-Portuguese-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/pt-Portuguese-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/pt-Portuguese-mac.js +296 -0
- package/es/core/keyboard/layouts/pt-Portuguese-mac.json +1 -0
- package/es/core/keyboard/layouts/pt-Portuguese-pc.d.ts +268 -0
- package/es/core/keyboard/layouts/pt-Portuguese-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/pt-Portuguese-pc.js +266 -0
- package/es/core/keyboard/layouts/pt-Portuguese-pc.json +65 -0
- package/es/core/keyboard/layouts/ro-Romanian-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/ro-Romanian-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/ro-Romanian-mac.js +296 -0
- package/es/core/keyboard/layouts/ro-Romanian-mac.json +1 -0
- package/es/core/keyboard/layouts/ro-Romanian-pc.d.ts +295 -0
- package/es/core/keyboard/layouts/ro-Romanian-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/ro-Romanian-pc.js +293 -0
- package/es/core/keyboard/layouts/ro-Romanian-pc.json +1 -0
- package/es/core/keyboard/layouts/sv-Swedish-mac.d.ts +298 -0
- package/es/core/keyboard/layouts/sv-Swedish-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/sv-Swedish-mac.js +296 -0
- package/es/core/keyboard/layouts/sv-Swedish-mac.json +1 -0
- package/es/core/keyboard/layouts/sv-Swedish-pc.d.ts +270 -0
- package/es/core/keyboard/layouts/sv-Swedish-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/sv-Swedish-pc.js +268 -0
- package/es/core/keyboard/layouts/sv-Swedish-pc.json +1 -0
- package/es/core/keyboard/layouts/tr-Turkish_Q-mac.d.ts +297 -0
- package/es/core/keyboard/layouts/tr-Turkish_Q-mac.d.ts.map +1 -0
- package/es/core/keyboard/layouts/tr-Turkish_Q-mac.js +295 -0
- package/es/core/keyboard/layouts/tr-Turkish_Q-mac.json +1 -0
- package/es/core/keyboard/layouts/tr-Turkish_Q-pc.d.ts +282 -0
- package/es/core/keyboard/layouts/tr-Turkish_Q-pc.d.ts.map +1 -0
- package/es/core/keyboard/layouts/tr-Turkish_Q-pc.js +280 -0
- package/es/core/keyboard/layouts/tr-Turkish_Q-pc.json +1 -0
- package/es/core/menu/default-menu-node.d.ts +82 -0
- package/es/core/menu/default-menu-node.d.ts.map +1 -0
- package/es/core/menu/default-menu-node.js +205 -0
- package/es/core/menu/index.d.ts +5 -0
- package/es/core/menu/index.d.ts.map +1 -0
- package/es/core/menu/index.js +39 -0
- package/es/core/menu/menu-protocol.d.ts +101 -0
- package/es/core/menu/menu-protocol.d.ts.map +1 -0
- package/es/core/menu/menu-protocol.js +72 -0
- package/es/core/menu/menu-registry.d.ts +92 -0
- package/es/core/menu/menu-registry.d.ts.map +1 -0
- package/es/core/menu/menu-registry.js +296 -0
- package/es/core/menu/module.d.ts +3 -0
- package/es/core/menu/module.d.ts.map +1 -0
- package/es/core/menu/module.js +31 -0
- package/es/core/module/index.d.ts +4 -0
- package/es/core/module/index.d.ts.map +1 -0
- package/es/core/module/index.js +3 -0
- package/es/core/module/mana-module-context.d.ts +7 -0
- package/es/core/module/mana-module-context.d.ts.map +1 -0
- package/es/core/module/mana-module-context.js +111 -0
- package/es/core/module/mana-module.d.ts +21 -0
- package/es/core/module/mana-module.d.ts.map +1 -0
- package/es/core/module/mana-module.js +71 -0
- package/es/core/module/module-protocol.d.ts +10 -0
- package/es/core/module/module-protocol.d.ts.map +1 -0
- package/es/core/module/module-protocol.js +1 -0
- package/es/core/nls.d.ts +19 -0
- package/es/core/nls.d.ts.map +1 -0
- package/es/core/nls.js +25 -0
- package/es/core/selection/index.d.ts +4 -0
- package/es/core/selection/index.d.ts.map +1 -0
- package/es/core/selection/index.js +4 -0
- package/es/core/selection/selection-service.d.ts +13 -0
- package/es/core/selection/selection-service.d.ts.map +1 -0
- package/es/core/selection/selection-service.js +27 -0
- package/es/core/theme/base-variable-registry.d.ts +31 -0
- package/es/core/theme/base-variable-registry.d.ts.map +1 -0
- package/es/core/theme/base-variable-registry.js +180 -0
- package/es/core/theme/basic/antd-variable-contribution.d.ts +6 -0
- package/es/core/theme/basic/antd-variable-contribution.d.ts.map +1 -0
- package/es/core/theme/basic/antd-variable-contribution.js +667 -0
- package/es/core/theme/basic/default-variable-contribution.d.ts +6 -0
- package/es/core/theme/basic/default-variable-contribution.d.ts.map +1 -0
- package/es/core/theme/basic/default-variable-contribution.js +212 -0
- package/es/core/theme/basic/index.d.ts +3 -0
- package/es/core/theme/basic/index.d.ts.map +1 -0
- package/es/core/theme/basic/index.js +2 -0
- package/es/core/theme/basic/variable-protocol.d.ts +7 -0
- package/es/core/theme/basic/variable-protocol.d.ts.map +1 -0
- package/es/core/theme/basic/variable-protocol.js +2 -0
- package/es/core/theme/basic/variable-registry.d.ts +13 -0
- package/es/core/theme/basic/variable-registry.d.ts.map +1 -0
- package/es/core/theme/basic/variable-registry.js +62 -0
- package/es/core/theme/color/antd-color-contribution.d.ts +6 -0
- package/es/core/theme/color/antd-color-contribution.d.ts.map +1 -0
- package/es/core/theme/color/antd-color-contribution.js +787 -0
- package/es/core/theme/color/color-protocol.d.ts +10 -0
- package/es/core/theme/color/color-protocol.d.ts.map +1 -0
- package/es/core/theme/color/color-protocol.js +2 -0
- package/es/core/theme/color/color-registry.d.ts +72 -0
- package/es/core/theme/color/color-registry.d.ts.map +1 -0
- package/es/core/theme/color/color-registry.js +176 -0
- package/es/core/theme/color/color.d.ts +165 -0
- package/es/core/theme/color/color.d.ts.map +1 -0
- package/es/core/theme/color/color.js +658 -0
- package/es/core/theme/color/default-color-contribution.d.ts +6 -0
- package/es/core/theme/color/default-color-contribution.d.ts.map +1 -0
- package/es/core/theme/color/default-color-contribution.js +550 -0
- package/es/core/theme/color/index.d.ts +3 -0
- package/es/core/theme/color/index.d.ts.map +1 -0
- package/es/core/theme/color/index.js +2 -0
- package/es/core/theme/index.d.ts +8 -0
- package/es/core/theme/index.d.ts.map +1 -0
- package/es/core/theme/index.js +22 -0
- package/es/core/theme/protocol.d.ts +16 -0
- package/es/core/theme/protocol.d.ts.map +1 -0
- package/es/core/theme/protocol.js +1 -0
- package/es/core/theme/style/mana-logo.png +0 -0
- package/es/core/theme/style/theme-base.less +3 -0
- package/es/core/theme/theme-app.d.ts +24 -0
- package/es/core/theme/theme-app.d.ts.map +1 -0
- package/es/core/theme/theme-app.js +151 -0
- package/es/core/theme/theme-service.d.ts +50 -0
- package/es/core/theme/theme-service.d.ts.map +1 -0
- package/es/core/theme/theme-service.js +181 -0
- package/es/core/toolbar/default-toolbar-item.d.ts +38 -0
- package/es/core/toolbar/default-toolbar-item.d.ts.map +1 -0
- package/es/core/toolbar/default-toolbar-item.js +82 -0
- package/es/core/toolbar/index.d.ts +6 -0
- package/es/core/toolbar/index.d.ts.map +1 -0
- package/es/core/toolbar/index.js +20 -0
- package/es/core/toolbar/toolbar-protocol.d.ts +77 -0
- package/es/core/toolbar/toolbar-protocol.d.ts.map +1 -0
- package/es/core/toolbar/toolbar-protocol.js +32 -0
- package/es/core/toolbar/toolbar-registry.d.ts +37 -0
- package/es/core/toolbar/toolbar-registry.d.ts.map +1 -0
- package/es/core/toolbar/toolbar-registry.js +96 -0
- package/es/core/typings/native-keymap.d.ts +72 -0
- package/es/core/utils/hooks.d.ts +12 -0
- package/es/core/utils/hooks.d.ts.map +1 -0
- package/es/core/utils/hooks.js +103 -0
- package/es/core/utils/index.d.ts +4 -0
- package/es/core/utils/index.d.ts.map +1 -0
- package/es/core/utils/index.js +3 -0
- package/es/core/utils/lifecycle.d.ts +75 -0
- package/es/core/utils/lifecycle.d.ts.map +1 -0
- package/es/core/utils/lifecycle.js +350 -0
- package/es/core/utils/map.d.ts +148 -0
- package/es/core/utils/map.d.ts.map +1 -0
- package/es/core/utils/map.js +1196 -0
- package/es/core/view/decorator.d.ts +19 -0
- package/es/core/view/decorator.d.ts.map +1 -0
- package/es/core/view/decorator.js +106 -0
- package/es/core/view/default-slot-view.d.ts +48 -0
- package/es/core/view/default-slot-view.d.ts.map +1 -0
- package/es/core/view/default-slot-view.js +289 -0
- package/es/core/view/default-view.d.ts +35 -0
- package/es/core/view/default-view.d.ts.map +1 -0
- package/es/core/view/default-view.js +90 -0
- package/es/core/view/focus-tracker.d.ts +165 -0
- package/es/core/view/focus-tracker.d.ts.map +1 -0
- package/es/core/view/focus-tracker.js +411 -0
- package/es/core/view/hooks.d.ts +8 -0
- package/es/core/view/hooks.d.ts.map +1 -0
- package/es/core/view/hooks.js +35 -0
- package/es/core/view/index.d.ts +23 -0
- package/es/core/view/index.d.ts.map +1 -0
- package/es/core/view/index.js +22 -0
- package/es/core/view/index.less +4 -0
- package/es/core/view/module.d.ts +3 -0
- package/es/core/view/module.d.ts.map +1 -0
- package/es/core/view/module.js +22 -0
- package/es/core/view/navigatable-types.d.ts +33 -0
- package/es/core/view/navigatable-types.d.ts.map +1 -0
- package/es/core/view/navigatable-types.js +34 -0
- package/es/core/view/navigatable.d.ts +9 -0
- package/es/core/view/navigatable.d.ts.map +1 -0
- package/es/core/view/navigatable.js +47 -0
- package/es/core/view/open-handler.d.ts +71 -0
- package/es/core/view/open-handler.d.ts.map +1 -0
- package/es/core/view/open-handler.js +167 -0
- package/es/core/view/portal-slot-view.d.ts +21 -0
- package/es/core/view/portal-slot-view.d.ts.map +1 -0
- package/es/core/view/portal-slot-view.js +157 -0
- package/es/core/view/root-view.d.ts +26 -0
- package/es/core/view/root-view.d.ts.map +1 -0
- package/es/core/view/root-view.js +139 -0
- package/es/core/view/saveable.d.ts +40 -0
- package/es/core/view/saveable.d.ts.map +1 -0
- package/es/core/view/saveable.js +152 -0
- package/es/core/view/slot-view-manager.d.ts +57 -0
- package/es/core/view/slot-view-manager.d.ts.map +1 -0
- package/es/core/view/slot-view-manager.js +321 -0
- package/es/core/view/slot.d.ts +11 -0
- package/es/core/view/slot.d.ts.map +1 -0
- package/es/core/view/slot.js +57 -0
- package/es/core/view/stateful-view.d.ts +12 -0
- package/es/core/view/stateful-view.d.ts.map +1 -0
- package/es/core/view/stateful-view.js +38 -0
- package/es/core/view/title.d.ts +13 -0
- package/es/core/view/title.d.ts.map +1 -0
- package/es/core/view/title.js +48 -0
- package/es/core/view/utils.d.ts +15 -0
- package/es/core/view/utils.d.ts.map +1 -0
- package/es/core/view/utils.js +35 -0
- package/es/core/view/view-application.d.ts +18 -0
- package/es/core/view/view-application.d.ts.map +1 -0
- package/es/core/view/view-application.js +171 -0
- package/es/core/view/view-container.d.ts +20 -0
- package/es/core/view/view-container.d.ts.map +1 -0
- package/es/core/view/view-container.js +82 -0
- package/es/core/view/view-context.d.ts +8 -0
- package/es/core/view/view-context.d.ts.map +1 -0
- package/es/core/view/view-context.js +29 -0
- package/es/core/view/view-decoration.d.ts +149 -0
- package/es/core/view/view-decoration.d.ts.map +1 -0
- package/es/core/view/view-decoration.js +4 -0
- package/es/core/view/view-manager.d.ts +66 -0
- package/es/core/view/view-manager.d.ts.map +1 -0
- package/es/core/view/view-manager.js +434 -0
- package/es/core/view/view-meta.d.ts +12 -0
- package/es/core/view/view-meta.d.ts.map +1 -0
- package/es/core/view/view-meta.js +35 -0
- package/es/core/view/view-open-handler.d.ts +76 -0
- package/es/core/view/view-open-handler.d.ts.map +1 -0
- package/es/core/view/view-open-handler.js +227 -0
- package/es/core/view/view-protocol.d.ts +171 -0
- package/es/core/view/view-protocol.d.ts.map +1 -0
- package/es/core/view/view-protocol.js +58 -0
- package/es/core/view/view-render.d.ts +9 -0
- package/es/core/view/view-render.d.ts.map +1 -0
- package/es/core/view/view-render.js +37 -0
- package/es/core/view/view-storage.d.ts +40 -0
- package/es/core/view/view-storage.d.ts.map +1 -0
- package/es/core/view/view-storage.js +310 -0
- package/es/index.js +2 -1
- package/es/ioc/container-api.d.ts +9 -0
- package/es/ioc/container-api.d.ts.map +1 -0
- package/es/ioc/container-api.js +32 -0
- package/es/ioc/container.d.ts +37 -0
- package/es/ioc/container.d.ts.map +1 -0
- package/es/ioc/container.js +191 -0
- package/es/ioc/contribution/contribution-protocol.d.ts +24 -0
- package/es/ioc/contribution/contribution-protocol.d.ts.map +1 -0
- package/es/ioc/contribution/contribution-protocol.js +16 -0
- package/es/ioc/contribution/contribution-provider.d.ts +21 -0
- package/es/ioc/contribution/contribution-provider.d.ts.map +1 -0
- package/es/ioc/contribution/contribution-provider.js +81 -0
- package/es/ioc/contribution/contribution-register.d.ts +5 -0
- package/es/ioc/contribution/contribution-register.d.ts.map +1 -0
- package/es/ioc/contribution/contribution-register.js +27 -0
- package/es/ioc/contribution/decorator.d.ts +3 -0
- package/es/ioc/contribution/decorator.d.ts.map +1 -0
- package/es/ioc/contribution/decorator.js +8 -0
- package/es/ioc/contribution/index.d.ts +12 -0
- package/es/ioc/contribution/index.d.ts.map +1 -0
- package/es/ioc/contribution/index.js +10 -0
- package/es/ioc/core.d.ts +105 -0
- package/es/ioc/core.d.ts.map +1 -0
- package/es/ioc/core.js +104 -0
- package/es/ioc/decorator.d.ts +9 -0
- package/es/ioc/decorator.d.ts.map +1 -0
- package/es/ioc/decorator.js +56 -0
- package/es/ioc/features/auto-factory.d.ts +8 -0
- package/es/ioc/features/auto-factory.d.ts.map +1 -0
- package/es/ioc/features/auto-factory.js +34 -0
- package/es/ioc/features/prioritized-contribution.d.ts +12 -0
- package/es/ioc/features/prioritized-contribution.d.ts.map +1 -0
- package/es/ioc/features/prioritized-contribution.js +40 -0
- package/es/ioc/index.d.ts +9 -0
- package/es/ioc/index.d.ts.map +1 -0
- package/es/ioc/index.js +8 -0
- package/es/ioc/inversify-api/index.d.ts +15 -0
- package/es/ioc/inversify-api/index.d.ts.map +1 -0
- package/es/ioc/inversify-api/index.js +48 -0
- package/es/ioc/inversify-api/inversify-protocol.d.ts +13 -0
- package/es/ioc/inversify-api/inversify-protocol.d.ts.map +1 -0
- package/es/ioc/inversify-api/inversify-protocol.js +7 -0
- package/es/ioc/module/index.d.ts +4 -0
- package/es/ioc/module/index.d.ts.map +1 -0
- package/es/ioc/module/index.js +5 -0
- package/es/ioc/module/syringe-module.d.ts +29 -0
- package/es/ioc/module/syringe-module.d.ts.map +1 -0
- package/es/ioc/module/syringe-module.js +110 -0
- package/es/ioc/register.d.ts +33 -0
- package/es/ioc/register.d.ts.map +1 -0
- package/es/ioc/register.js +194 -0
- package/es/ioc/side-option.d.ts +4 -0
- package/es/ioc/side-option.d.ts.map +1 -0
- package/es/ioc/side-option.js +4 -0
- package/es/l10n/index.d.ts +3 -0
- package/es/l10n/index.d.ts.map +1 -0
- package/es/l10n/index.js +2 -0
- package/es/l10n/l10n/index.d.ts +144 -0
- package/es/l10n/l10n/index.d.ts.map +1 -0
- package/es/l10n/l10n/index.js +269 -0
- package/es/l10n/l10n/platform.d.ts +3 -0
- package/es/l10n/l10n/platform.d.ts.map +1 -0
- package/es/l10n/l10n/platform.js +20 -0
- package/es/l10n/lang/bundle.l10n.en-US.json +5 -0
- package/es/l10n/lang/bundle.l10n.zh-CN.json +5 -0
- package/es/l10n/lang/index.d.ts +3 -0
- package/es/l10n/lang/index.d.ts.map +1 -0
- package/es/l10n/lang/index.js +6 -0
- package/es/observable/async-event.d.ts +28 -0
- package/es/observable/async-event.d.ts.map +1 -0
- package/es/observable/async-event.js +158 -0
- package/es/observable/config.d.ts +10 -0
- package/es/observable/config.d.ts.map +1 -0
- package/es/observable/config.js +58 -0
- package/es/observable/context.d.ts +15 -0
- package/es/observable/context.d.ts.map +1 -0
- package/es/observable/context.js +44 -0
- package/es/observable/core.d.ts +24 -0
- package/es/observable/core.d.ts.map +1 -0
- package/es/observable/core.js +11 -0
- package/es/observable/decorator.d.ts +9 -0
- package/es/observable/decorator.d.ts.map +1 -0
- package/es/observable/decorator.js +19 -0
- package/es/observable/hooks.d.ts +6 -0
- package/es/observable/hooks.d.ts.map +1 -0
- package/es/observable/hooks.js +44 -0
- package/es/observable/index.d.ts +12 -0
- package/es/observable/index.d.ts.map +1 -0
- package/es/observable/index.js +11 -0
- package/es/observable/notifiable.d.ts +19 -0
- package/es/observable/notifiable.d.ts.map +1 -0
- package/es/observable/notifiable.js +198 -0
- package/es/observable/notifier.d.ts +33 -0
- package/es/observable/notifier.d.ts.map +1 -0
- package/es/observable/notifier.js +154 -0
- package/es/observable/observable.d.ts +3 -0
- package/es/observable/observable.d.ts.map +1 -0
- package/es/observable/observable.js +87 -0
- package/es/observable/tracker.d.ts +27 -0
- package/es/observable/tracker.d.ts.map +1 -0
- package/es/observable/tracker.js +225 -0
- package/es/observable/utils.d.ts +31 -0
- package/es/observable/utils.d.ts.map +1 -0
- package/es/observable/utils.js +139 -0
- package/es/observable/watch.d.ts +5 -0
- package/es/observable/watch.d.ts.map +1 -0
- package/es/observable/watch.js +56 -0
- package/es/polling/poll.d.ts +3 -3
- package/es/polling/poll.d.ts.map +1 -1
- package/es/polling/poll.js +1 -1
- package/es/polling/protocol.d.ts +1 -1
- package/es/polling/protocol.d.ts.map +1 -1
- package/es/protocol/cell-protocol.d.ts +1 -1
- package/es/protocol/cell-protocol.d.ts.map +1 -1
- package/es/protocol/cell-protocol.js +1 -1
- package/es/react/constant.d.ts +2 -0
- package/es/react/constant.d.ts.map +1 -0
- package/es/react/constant.js +1 -0
- package/es/react/dropdown/index.d.ts +23 -0
- package/es/react/dropdown/index.d.ts.map +1 -0
- package/es/react/dropdown/index.js +53 -0
- package/es/react/dropdown/styles/index.less +121 -0
- package/es/react/index.d.ts +8 -0
- package/es/react/index.d.ts.map +1 -0
- package/es/react/index.js +7 -0
- package/es/react/layout/boxpanel/Pane.d.ts +13 -0
- package/es/react/layout/boxpanel/Pane.d.ts.map +1 -0
- package/es/react/layout/boxpanel/Pane.js +37 -0
- package/es/react/layout/boxpanel/context.d.ts +8 -0
- package/es/react/layout/boxpanel/context.d.ts.map +1 -0
- package/es/react/layout/boxpanel/context.js +4 -0
- package/es/react/layout/boxpanel/index.d.ts +19 -0
- package/es/react/layout/boxpanel/index.d.ts.map +1 -0
- package/es/react/layout/boxpanel/index.js +46 -0
- package/es/react/layout/boxpanel/styles/index.less +14 -0
- package/es/react/layout/layout.d.ts +12 -0
- package/es/react/layout/layout.d.ts.map +1 -0
- package/es/react/layout/layout.js +68 -0
- package/es/react/layout/splitpanel/context.d.ts +15 -0
- package/es/react/layout/splitpanel/context.d.ts.map +1 -0
- package/es/react/layout/splitpanel/context.js +24 -0
- package/es/react/layout/splitpanel/index.d.ts +23 -0
- package/es/react/layout/splitpanel/index.d.ts.map +1 -0
- package/es/react/layout/splitpanel/index.js +287 -0
- package/es/react/layout/splitpanel/pane.d.ts +18 -0
- package/es/react/layout/splitpanel/pane.d.ts.map +1 -0
- package/es/react/layout/splitpanel/pane.js +8 -0
- package/es/react/layout/splitpanel/styles/index.less +10 -0
- package/es/react/menu/context.d.ts +8 -0
- package/es/react/menu/context.d.ts.map +1 -0
- package/es/react/menu/context.js +4 -0
- package/es/react/menu/divider.d.ts +3 -0
- package/es/react/menu/divider.d.ts.map +1 -0
- package/es/react/menu/divider.js +10 -0
- package/es/react/menu/index.d.ts +4 -0
- package/es/react/menu/index.d.ts.map +1 -0
- package/es/react/menu/index.js +3 -0
- package/es/react/menu/item.d.ts +19 -0
- package/es/react/menu/item.d.ts.map +1 -0
- package/es/react/menu/item.js +69 -0
- package/es/react/menu/menu.d.ts +17 -0
- package/es/react/menu/menu.d.ts.map +1 -0
- package/es/react/menu/menu.js +35 -0
- package/es/react/menu/styles/index.less +163 -0
- package/es/react/menu/submenu.d.ts +5 -0
- package/es/react/menu/submenu.d.ts.map +1 -0
- package/es/react/menu/submenu.js +33 -0
- package/es/react/menubar/context.d.ts +14 -0
- package/es/react/menubar/context.d.ts.map +1 -0
- package/es/react/menubar/context.js +2 -0
- package/es/react/menubar/index.d.ts +2 -0
- package/es/react/menubar/index.d.ts.map +1 -0
- package/es/react/menubar/index.js +1 -0
- package/es/react/menubar/item.d.ts +8 -0
- package/es/react/menubar/item.d.ts.map +1 -0
- package/es/react/menubar/item.js +94 -0
- package/es/react/menubar/menubar.d.ts +15 -0
- package/es/react/menubar/menubar.d.ts.map +1 -0
- package/es/react/menubar/menubar.js +119 -0
- package/es/react/menubar/styles/index.less +113 -0
- package/es/react/notification/index.d.ts +20 -0
- package/es/react/notification/index.d.ts.map +1 -0
- package/es/react/notification/index.js +154 -0
- package/es/react/notification/protocol.d.ts +111 -0
- package/es/react/notification/protocol.d.ts.map +1 -0
- package/es/react/notification/protocol.js +61 -0
- package/es/react/notification/pure-panel.d.ts +28 -0
- package/es/react/notification/pure-panel.d.ts.map +1 -0
- package/es/react/notification/pure-panel.js +115 -0
- package/es/react/notification/render.d.ts +10 -0
- package/es/react/notification/render.d.ts.map +1 -0
- package/es/react/notification/render.js +101 -0
- package/es/react/notification/style/index.d.ts +2 -0
- package/es/react/notification/style/index.d.ts.map +1 -0
- package/es/react/notification/style/index.js +1 -0
- package/es/react/notification/style/index.less +192 -0
- package/es/react/notification/style/placement.less +68 -0
- package/es/react/notification/use-notification.d.ts +9 -0
- package/es/react/notification/use-notification.d.ts.map +1 -0
- package/es/react/notification/use-notification.js +173 -0
- package/es/react/resize/index.d.ts +41 -0
- package/es/react/resize/index.d.ts.map +1 -0
- package/es/react/resize/index.js +640 -0
- package/es/react/resize/styles/index.less +83 -0
- package/es/react/styles/variables.less +2 -0
- package/es/react/tabs/index.d.ts +19 -0
- package/es/react/tabs/index.d.ts.map +1 -0
- package/es/react/tabs/index.js +51 -0
- package/es/react/tabs/styles/card.less +111 -0
- package/es/react/tabs/styles/dropdown.less +70 -0
- package/es/react/tabs/styles/index.less +231 -0
- package/es/react/tabs/styles/position.less +217 -0
- package/es/react/typings/index.d.ts +5 -0
- package/es/react/util.d.ts +2 -0
- package/es/react/util.d.ts.map +1 -0
- package/es/react/util.js +4 -0
- package/es/url.js +1 -1
- package/package.json +55 -11
- package/src/app/app.tsx +23 -0
- package/src/app/file-tree/file-selection.ts +33 -0
- package/src/app/file-tree/file-service.ts +67 -0
- package/src/app/file-tree/file-tree-component.tsx +11 -0
- package/src/app/file-tree/file-tree-icon.tsx +15 -0
- package/src/app/file-tree/file-tree-label-provider.ts +54 -0
- package/src/app/file-tree/file-tree-model.ts +240 -0
- package/src/app/file-tree/file-tree-protocol.ts +35 -0
- package/src/app/file-tree/file-tree-view.tsx +340 -0
- package/src/app/file-tree/file-tree.ts +193 -0
- package/src/app/file-tree/files.ts +990 -0
- package/src/app/file-tree/filesystem-utils.ts +32 -0
- package/src/app/file-tree/index.ts +6 -0
- package/src/app/file-tree/module.ts +21 -0
- package/src/app/file-tree/selection-command-handler.ts +101 -0
- package/src/app/file-tree/style/file-icon.less +51 -0
- package/src/app/index.spec.ts +20 -0
- package/src/app/index.ts +37 -0
- package/src/app/label/index.ts +12 -0
- package/src/app/label/label-provider.tsx +454 -0
- package/src/app/menu/index.ts +24 -0
- package/src/app/menu/menu-bar-render.tsx +52 -0
- package/src/app/menu/menu-color-registry.ts +52 -0
- package/src/app/menu/menu-context.tsx +16 -0
- package/src/app/menu/menu-item-keeper.tsx +55 -0
- package/src/app/menu/menu-item-render.tsx +15 -0
- package/src/app/menu/menu-protocol.ts +22 -0
- package/src/app/menu/menu-render.tsx +92 -0
- package/src/app/menu/menu.tsx +212 -0
- package/src/app/modal/index.ts +29 -0
- package/src/app/modal/modal-contribution.ts +13 -0
- package/src/app/modal/modal-protocol.tsx +30 -0
- package/src/app/modal/modal-render.tsx +22 -0
- package/src/app/modal/modal-service.ts +166 -0
- package/src/app/notification/index.less +20 -0
- package/src/app/notification/index.ts +8 -0
- package/src/app/notification/protocol.ts +16 -0
- package/src/app/notification/service.tsx +60 -0
- package/src/app/style/index.less +181 -0
- package/src/app/style/style-protocol.ts +13 -0
- package/src/app/toolbar/index.less +40 -0
- package/src/app/toolbar/index.ts +20 -0
- package/src/app/toolbar/toolbar-item-keeper.tsx +45 -0
- package/src/app/toolbar/toolbar-item-render.tsx +23 -0
- package/src/app/toolbar/toolbar-protocol.ts +10 -0
- package/src/app/toolbar/toolbar-render.tsx +102 -0
- package/src/app/toolbar/toolbar-visible-render.tsx +21 -0
- package/src/app/toolbar/toolbar.tsx +241 -0
- package/src/app/tree/components/index.tsx +22 -0
- package/src/app/tree/components/tree-ident.tsx +44 -0
- package/src/app/tree/components/tree-node-caption-affix.tsx +47 -0
- package/src/app/tree/components/tree-node-caption.tsx +128 -0
- package/src/app/tree/components/tree-node-expansion.tsx +36 -0
- package/src/app/tree/components/tree-node-icon-decorator.tsx +75 -0
- package/src/app/tree/components/tree-node-icon.tsx +3 -0
- package/src/app/tree/components/tree-node-tail-decoration.tsx +59 -0
- package/src/app/tree/components/tree-node.tsx +38 -0
- package/src/app/tree/components/tree-switch-icon.tsx +13 -0
- package/src/app/tree/index.ts +15 -0
- package/src/app/tree/module.ts +30 -0
- package/src/app/tree/style/index.less +206 -0
- package/src/app/tree/style/tree-decorator.less +65 -0
- package/src/app/tree/tree-decorator.ts +216 -0
- package/src/app/tree/tree-expansion.ts +162 -0
- package/src/app/tree/tree-impl.ts +182 -0
- package/src/app/tree/tree-iterator.ts +243 -0
- package/src/app/tree/tree-label-provider.ts +23 -0
- package/src/app/tree/tree-model.ts +468 -0
- package/src/app/tree/tree-navigation.ts +41 -0
- package/src/app/tree/tree-protocol.ts +77 -0
- package/src/app/tree/tree-selection-impl.ts +169 -0
- package/src/app/tree/tree-selection-state.ts +271 -0
- package/src/app/tree/tree-selection.ts +138 -0
- package/src/app/tree/tree-view-decoration.ts +349 -0
- package/src/app/tree/tree.ts +288 -0
- package/src/app/tree/view/index.less +3 -0
- package/src/app/tree/view/index.ts +3 -0
- package/src/app/tree/view/tree-view-decorator.ts +91 -0
- package/src/app/tree/view/tree-view-module.ts +16 -0
- package/src/app/tree/view/tree-view-selection.ts +33 -0
- package/src/app/tree/view/tree-view.tsx +925 -0
- package/src/app/typings/index.d.ts +7 -0
- package/src/app/view/box/index.tsx +66 -0
- package/src/app/view/components/index.ts +1 -0
- package/src/app/view/components/loading/index.less +10 -0
- package/src/app/view/components/loading/index.tsx +4 -0
- package/src/app/view/flex/index.less +3 -0
- package/src/app/view/flex/index.tsx +57 -0
- package/src/app/view/header/header-view.tsx +35 -0
- package/src/app/view/header/index.less +43 -0
- package/src/app/view/header/index.ts +24 -0
- package/src/app/view/index.ts +15 -0
- package/src/app/view/tab/card-tab-view.tsx +34 -0
- package/src/app/view/tab/index.less +70 -0
- package/src/app/view/tab/index.ts +3 -0
- package/src/app/view/tab/side-tab-view.tsx +95 -0
- package/src/app/view/tab/tab-menu.ts +24 -0
- package/src/app/view/tab/tab-protocol.ts +3 -0
- package/src/app/view/tab/tab-view.tsx +153 -0
- package/src/common/assert.ts +13 -0
- package/src/common/cancellation.spec.ts +160 -0
- package/src/common/cancellation.ts +143 -0
- package/src/common/charCode.ts +434 -0
- package/src/common/collections.ts +158 -0
- package/src/common/deferred.ts +17 -0
- package/src/common/disposable-collection.ts +87 -0
- package/src/common/disposable.spec.ts +93 -0
- package/src/common/disposable.ts +41 -0
- package/src/common/event.spec.ts +182 -0
- package/src/common/event.ts +249 -0
- package/src/common/index.ts +27 -0
- package/src/common/iterator.ts +228 -0
- package/src/common/linkedList.ts +125 -0
- package/src/common/objects.ts +249 -0
- package/src/common/observable-disposable.ts +12 -0
- package/src/common/path.spec.ts +33 -0
- package/src/common/path.ts +226 -0
- package/src/common/platform.ts +281 -0
- package/src/common/priority.ts +79 -0
- package/src/common/promise-util.spec.ts +68 -0
- package/src/common/promise-util.ts +34 -0
- package/src/common/stopwatch.ts +40 -0
- package/src/common/strings.ts +513 -0
- package/src/common/types.spec.ts +16 -0
- package/src/common/types.ts +30 -0
- package/src/common/uint.ts +59 -0
- package/src/common/uri.spec.ts +73 -0
- package/src/common/uri.ts +208 -0
- package/src/common/utils.spec.ts +22 -0
- package/src/common/utils.ts +35 -0
- package/src/common/valueTypes.ts +311 -0
- package/src/common/vscode-uri/char-code.ts +438 -0
- package/src/common/vscode-uri/index.ts +11 -0
- package/src/common/vscode-uri/platform.ts +20 -0
- package/src/common/vscode-uri/uri.ts +757 -0
- package/src/common/vscode-uri/utils.ts +101 -0
- package/src/common/wait-until-event.spec.ts +70 -0
- package/src/common/wait-until-event.ts +49 -0
- package/src/core/application/application-protocol.ts +20 -0
- package/src/core/application/application-state.ts +68 -0
- package/src/core/application/application.ts +294 -0
- package/src/core/application/default-window-service.ts +66 -0
- package/src/core/application/index.ts +12 -0
- package/src/core/application/mock-window-service.ts +17 -0
- package/src/core/browser.ts +144 -0
- package/src/core/command/command-protocol.ts +152 -0
- package/src/core/command/command-registry.ts +432 -0
- package/src/core/command/index.ts +10 -0
- package/src/core/common/debug.ts +6 -0
- package/src/core/common/index.ts +23 -0
- package/src/core/common/storage-protocol.ts +25 -0
- package/src/core/common/storage-service.ts +81 -0
- package/src/core/components/application.tsx +144 -0
- package/src/core/components/context.tsx +67 -0
- package/src/core/components/hooks.tsx +23 -0
- package/src/core/components/index.less +28 -0
- package/src/core/components/index.tsx +10 -0
- package/src/core/components/root-view-render.tsx +13 -0
- package/src/core/configuration/configuration-cache.ts +50 -0
- package/src/core/configuration/configuration-protocol.ts +55 -0
- package/src/core/configuration/configuration-provider.ts +105 -0
- package/src/core/configuration/configuration-registry.ts +237 -0
- package/src/core/configuration/configuration-render-registry.ts +93 -0
- package/src/core/configuration/configuration-service.ts +190 -0
- package/src/core/configuration/configuration-storage.ts +26 -0
- package/src/core/configuration/configuration.test.ts +7 -0
- package/src/core/configuration/hooks.ts +39 -0
- package/src/core/configuration/index.ts +10 -0
- package/src/core/configuration/module.ts +34 -0
- package/src/core/configuration/typings.d.ts +1 -0
- package/src/core/configuration/validation.ts +33 -0
- package/src/core/context/data-context-manager.ts +65 -0
- package/src/core/context/data-context-protocol.ts +21 -0
- package/src/core/context/data-context.tsx +40 -0
- package/src/core/context/index.ts +15 -0
- package/src/core/index.spec.ts +14 -0
- package/src/core/index.ts +57 -0
- package/src/core/keybinding/context-key-service.ts +77 -0
- package/src/core/keybinding/index.ts +5 -0
- package/src/core/keybinding/keybinding-proocol.ts +15 -0
- package/src/core/keybinding/keybinding.ts +857 -0
- package/src/core/keybinding/module.ts +23 -0
- package/src/core/keybinding/vs/configuration/configuration.ts +460 -0
- package/src/core/keybinding/vs/configuration/configurationModels.ts +962 -0
- package/src/core/keybinding/vs/configuration/configurationRegistry.ts +617 -0
- package/src/core/keybinding/vs/configuration/configurationService.ts +172 -0
- package/src/core/keybinding/vs/configuration/json.ts +1509 -0
- package/src/core/keybinding/vs/contextKeyService.ts +694 -0
- package/src/core/keybinding/vs/contextkey.ts +1494 -0
- package/src/core/keybinding/vs/contextkeys.ts +52 -0
- package/src/core/keybinding/vs/jsonContributionRegistry.ts +74 -0
- package/src/core/keybinding/vs/jsonSchema.ts +85 -0
- package/src/core/keybinding/vs/platform.test.ts +50 -0
- package/src/core/keybinding/vs/platform.ts +50 -0
- package/src/core/keyboard/browser-keyboard-layout-provider.ts +455 -0
- package/src/core/keyboard/index.ts +4 -0
- package/src/core/keyboard/keyboard-layout-service.ts +490 -0
- package/src/core/keyboard/keyboard-protocol.ts +34 -0
- package/src/core/keyboard/keys.ts +787 -0
- package/src/core/keyboard/layouts/cs-Czech-mac.json +1 -0
- package/src/core/keyboard/layouts/cs-Czech-mac.ts +53 -0
- package/src/core/keyboard/layouts/cs-Czech-pc.json +1 -0
- package/src/core/keyboard/layouts/cs-Czech-pc.ts +55 -0
- package/src/core/keyboard/layouts/da-Danish-mac.json +1 -0
- package/src/core/keyboard/layouts/da-Danish-mac.ts +53 -0
- package/src/core/keyboard/layouts/da-Danish-pc.json +1 -0
- package/src/core/keyboard/layouts/da-Danish-pc.ts +55 -0
- package/src/core/keyboard/layouts/de-German-mac.json +1 -0
- package/src/core/keyboard/layouts/de-German-mac.ts +53 -0
- package/src/core/keyboard/layouts/de-German-pc.json +1 -0
- package/src/core/keyboard/layouts/de-German-pc.ts +61 -0
- package/src/core/keyboard/layouts/de-Swiss_German-mac.json +1 -0
- package/src/core/keyboard/layouts/de-Swiss_German-mac.ts +53 -0
- package/src/core/keyboard/layouts/de-Swiss_German-pc.json +1 -0
- package/src/core/keyboard/layouts/de-Swiss_German-pc.ts +55 -0
- package/src/core/keyboard/layouts/en-British-mac.json +1 -0
- package/src/core/keyboard/layouts/en-British-mac.ts +53 -0
- package/src/core/keyboard/layouts/en-British-pc.json +1 -0
- package/src/core/keyboard/layouts/en-British-pc.ts +91 -0
- package/src/core/keyboard/layouts/en-Colemak-mac.json +1 -0
- package/src/core/keyboard/layouts/en-Colemak-mac.ts +53 -0
- package/src/core/keyboard/layouts/en-Dvorak-mac.json +1 -0
- package/src/core/keyboard/layouts/en-Dvorak-mac.ts +53 -0
- package/src/core/keyboard/layouts/en-Dvorak-pc.json +1 -0
- package/src/core/keyboard/layouts/en-Dvorak-pc.ts +55 -0
- package/src/core/keyboard/layouts/en-Dvorak_Lefthanded-mac.json +1 -0
- package/src/core/keyboard/layouts/en-Dvorak_Lefthanded-mac.ts +53 -0
- package/src/core/keyboard/layouts/en-Dvorak_Lefthanded-pc.json +1 -0
- package/src/core/keyboard/layouts/en-Dvorak_Lefthanded-pc.ts +55 -0
- package/src/core/keyboard/layouts/en-Dvorak_Righthanded-mac.json +1 -0
- package/src/core/keyboard/layouts/en-Dvorak_Righthanded-mac.ts +53 -0
- package/src/core/keyboard/layouts/en-Dvorak_Righthanded-pc.json +1 -0
- package/src/core/keyboard/layouts/en-Dvorak_Righthanded-pc.ts +55 -0
- package/src/core/keyboard/layouts/en-US-mac.json +1 -0
- package/src/core/keyboard/layouts/en-US-mac.ts +53 -0
- package/src/core/keyboard/layouts/en-US-pc.json +1 -0
- package/src/core/keyboard/layouts/en-US-pc.ts +55 -0
- package/src/core/keyboard/layouts/es-Spanish-mac.json +1 -0
- package/src/core/keyboard/layouts/es-Spanish-mac.ts +53 -0
- package/src/core/keyboard/layouts/es-Spanish-pc.json +1 -0
- package/src/core/keyboard/layouts/es-Spanish-pc.ts +55 -0
- package/src/core/keyboard/layouts/fr-Bepo-pc.json +1 -0
- package/src/core/keyboard/layouts/fr-Bepo-pc.ts +289 -0
- package/src/core/keyboard/layouts/fr-Canadian_French-mac.json +1 -0
- package/src/core/keyboard/layouts/fr-Canadian_French-mac.ts +53 -0
- package/src/core/keyboard/layouts/fr-Canadian_French-pc.json +1 -0
- package/src/core/keyboard/layouts/fr-Canadian_French-pc.ts +55 -0
- package/src/core/keyboard/layouts/fr-French-mac.json +1 -0
- package/src/core/keyboard/layouts/fr-French-mac.ts +53 -0
- package/src/core/keyboard/layouts/fr-French-pc.json +1 -0
- package/src/core/keyboard/layouts/fr-French-pc.ts +55 -0
- package/src/core/keyboard/layouts/fr-Swiss_French-mac.json +1 -0
- package/src/core/keyboard/layouts/fr-Swiss_French-mac.ts +53 -0
- package/src/core/keyboard/layouts/fr-Swiss_French-pc.json +1 -0
- package/src/core/keyboard/layouts/fr-Swiss_French-pc.ts +55 -0
- package/src/core/keyboard/layouts/hu-Hungarian-mac.json +1 -0
- package/src/core/keyboard/layouts/hu-Hungarian-mac.ts +53 -0
- package/src/core/keyboard/layouts/hu-Hungarian-pc.json +1 -0
- package/src/core/keyboard/layouts/hu-Hungarian-pc.ts +55 -0
- package/src/core/keyboard/layouts/index.ts +59 -0
- package/src/core/keyboard/layouts/it-Italian-mac.json +1 -0
- package/src/core/keyboard/layouts/it-Italian-mac.ts +53 -0
- package/src/core/keyboard/layouts/it-Italian-pc.json +1 -0
- package/src/core/keyboard/layouts/it-Italian-pc.ts +67 -0
- package/src/core/keyboard/layouts/nb-Norwegian-mac.json +1 -0
- package/src/core/keyboard/layouts/nb-Norwegian-mac.ts +53 -0
- package/src/core/keyboard/layouts/nb-Norwegian-pc.json +1 -0
- package/src/core/keyboard/layouts/nb-Norwegian-pc.ts +55 -0
- package/src/core/keyboard/layouts/nl-Dutch-mac.json +1 -0
- package/src/core/keyboard/layouts/nl-Dutch-mac.ts +53 -0
- package/src/core/keyboard/layouts/nl-Dutch-pc.json +1 -0
- package/src/core/keyboard/layouts/nl-Dutch-pc.ts +55 -0
- package/src/core/keyboard/layouts/pl-Polish-mac.json +1 -0
- package/src/core/keyboard/layouts/pl-Polish-mac.ts +53 -0
- package/src/core/keyboard/layouts/pl-Polish-pc.json +1 -0
- package/src/core/keyboard/layouts/pl-Polish-pc.ts +55 -0
- package/src/core/keyboard/layouts/pt-Brazilian-mac.json +1 -0
- package/src/core/keyboard/layouts/pt-Brazilian-mac.ts +53 -0
- package/src/core/keyboard/layouts/pt-Portuguese-mac.json +1 -0
- package/src/core/keyboard/layouts/pt-Portuguese-mac.ts +53 -0
- package/src/core/keyboard/layouts/pt-Portuguese-pc.json +65 -0
- package/src/core/keyboard/layouts/pt-Portuguese-pc.ts +55 -0
- package/src/core/keyboard/layouts/ro-Romanian-mac.json +1 -0
- package/src/core/keyboard/layouts/ro-Romanian-mac.ts +53 -0
- package/src/core/keyboard/layouts/ro-Romanian-pc.json +1 -0
- package/src/core/keyboard/layouts/ro-Romanian-pc.ts +127 -0
- package/src/core/keyboard/layouts/sv-Swedish-mac.json +1 -0
- package/src/core/keyboard/layouts/sv-Swedish-mac.ts +53 -0
- package/src/core/keyboard/layouts/sv-Swedish-pc.json +1 -0
- package/src/core/keyboard/layouts/sv-Swedish-pc.ts +55 -0
- package/src/core/keyboard/layouts/tr-Turkish_Q-mac.json +1 -0
- package/src/core/keyboard/layouts/tr-Turkish_Q-mac.ts +53 -0
- package/src/core/keyboard/layouts/tr-Turkish_Q-pc.json +1 -0
- package/src/core/keyboard/layouts/tr-Turkish_Q-pc.ts +67 -0
- package/src/core/menu/default-menu-node.ts +210 -0
- package/src/core/menu/index.ts +39 -0
- package/src/core/menu/menu-protocol.ts +142 -0
- package/src/core/menu/menu-registry.ts +271 -0
- package/src/core/menu/module.ts +32 -0
- package/src/core/module/index.ts +3 -0
- package/src/core/module/mana-module-context.ts +40 -0
- package/src/core/module/mana-module.test.ts +161 -0
- package/src/core/module/mana-module.ts +44 -0
- package/src/core/module/module-protocol.ts +12 -0
- package/src/core/nls.ts +46 -0
- package/src/core/selection/index.ts +7 -0
- package/src/core/selection/selection-service.ts +26 -0
- package/src/core/theme/base-variable-registry.ts +132 -0
- package/src/core/theme/basic/antd-variable-contribution.ts +849 -0
- package/src/core/theme/basic/default-variable-contribution.ts +163 -0
- package/src/core/theme/basic/index.spec.ts +16 -0
- package/src/core/theme/basic/index.ts +2 -0
- package/src/core/theme/basic/variable-protocol.ts +8 -0
- package/src/core/theme/basic/variable-registry.ts +23 -0
- package/src/core/theme/color/antd-color-contribution.ts +994 -0
- package/src/core/theme/color/color-protocol.ts +12 -0
- package/src/core/theme/color/color-registry.ts +140 -0
- package/src/core/theme/color/color.ts +695 -0
- package/src/core/theme/color/default-color-contribution.ts +502 -0
- package/src/core/theme/color/index.spec.ts +33 -0
- package/src/core/theme/color/index.ts +2 -0
- package/src/core/theme/index.spec.ts +17 -0
- package/src/core/theme/index.ts +37 -0
- package/src/core/theme/protocol.ts +19 -0
- package/src/core/theme/style/mana-logo.png +0 -0
- package/src/core/theme/style/theme-base.less +3 -0
- package/src/core/theme/theme-app.ts +80 -0
- package/src/core/theme/theme-service.ts +170 -0
- package/src/core/toolbar/default-toolbar-item.ts +80 -0
- package/src/core/toolbar/index.ts +23 -0
- package/src/core/toolbar/toolbar-protocol.ts +112 -0
- package/src/core/toolbar/toolbar-registry.ts +77 -0
- package/src/core/typings/native-keymap.d.ts +72 -0
- package/src/core/utils/hooks.ts +108 -0
- package/src/core/utils/index.ts +3 -0
- package/src/core/utils/lifecycle.ts +335 -0
- package/src/core/utils/map.ts +1020 -0
- package/src/core/view/decorator.ts +87 -0
- package/src/core/view/default-slot-view.tsx +231 -0
- package/src/core/view/default-view.tsx +70 -0
- package/src/core/view/focus-tracker.ts +363 -0
- package/src/core/view/hooks.tsx +40 -0
- package/src/core/view/index.less +4 -0
- package/src/core/view/index.ts +22 -0
- package/src/core/view/module.ts +41 -0
- package/src/core/view/navigatable-types.ts +49 -0
- package/src/core/view/navigatable.ts +29 -0
- package/src/core/view/open-handler.ts +122 -0
- package/src/core/view/portal-slot-view.tsx +107 -0
- package/src/core/view/root-view.tsx +102 -0
- package/src/core/view/saveable.ts +146 -0
- package/src/core/view/slot-view-manager.ts +199 -0
- package/src/core/view/slot.tsx +68 -0
- package/src/core/view/stateful-view.ts +22 -0
- package/src/core/view/title.tsx +24 -0
- package/src/core/view/utils.tsx +48 -0
- package/src/core/view/view-application.ts +70 -0
- package/src/core/view/view-container.tsx +91 -0
- package/src/core/view/view-context.tsx +37 -0
- package/src/core/view/view-decoration.ts +160 -0
- package/src/core/view/view-manager.ts +271 -0
- package/src/core/view/view-meta.ts +24 -0
- package/src/core/view/view-open-handler.ts +139 -0
- package/src/core/view/view-protocol.ts +218 -0
- package/src/core/view/view-render.tsx +39 -0
- package/src/core/view/view-storage.ts +218 -0
- package/src/index.ts +1 -0
- package/src/ioc/container-api.ts +22 -0
- package/src/ioc/container.spec.ts +291 -0
- package/src/ioc/container.ts +171 -0
- package/src/ioc/contribution/contribution-protocol.ts +27 -0
- package/src/ioc/contribution/contribution-provider.ts +73 -0
- package/src/ioc/contribution/contribution-register.ts +32 -0
- package/src/ioc/contribution/decorator.ts +16 -0
- package/src/ioc/contribution/index.spec.ts +174 -0
- package/src/ioc/contribution/index.ts +13 -0
- package/src/ioc/core.ts +198 -0
- package/src/ioc/decorator.spec.ts +43 -0
- package/src/ioc/decorator.ts +54 -0
- package/src/ioc/features/auto-factory.spec.ts +90 -0
- package/src/ioc/features/auto-factory.ts +44 -0
- package/src/ioc/features/prioritized-contribution.ts +43 -0
- package/src/ioc/index.ts +8 -0
- package/src/ioc/inversify-api/index.spec.ts +224 -0
- package/src/ioc/inversify-api/index.ts +76 -0
- package/src/ioc/inversify-api/inversify-protocol.ts +31 -0
- package/src/ioc/module/index.spec.ts +68 -0
- package/src/ioc/module/index.ts +7 -0
- package/src/ioc/module/syringe-module.ts +95 -0
- package/src/ioc/register.spec.ts +75 -0
- package/src/ioc/register.ts +210 -0
- package/src/ioc/side-option.spec.ts +39 -0
- package/src/ioc/side-option.ts +14 -0
- package/src/l10n/index.ts +2 -0
- package/src/l10n/l10n/index.test.ts +145 -0
- package/src/l10n/l10n/index.ts +319 -0
- package/src/l10n/l10n/platform.ts +51 -0
- package/src/l10n/lang/bundle.l10n.en-US.json +5 -0
- package/src/l10n/lang/bundle.l10n.zh-CN.json +5 -0
- package/src/l10n/lang/index.ts +9 -0
- package/src/observable/async-event.spec.tsx +64 -0
- package/src/observable/async-event.ts +110 -0
- package/src/observable/async.spec.tsx +142 -0
- package/src/observable/config.spec.ts +12 -0
- package/src/observable/config.ts +26 -0
- package/src/observable/context.spec.tsx +360 -0
- package/src/observable/context.tsx +39 -0
- package/src/observable/core.ts +28 -0
- package/src/observable/decorator.spec.ts +41 -0
- package/src/observable/decorator.ts +19 -0
- package/src/observable/hooks.spec.tsx +244 -0
- package/src/observable/hooks.ts +39 -0
- package/src/observable/index.ts +11 -0
- package/src/observable/notifiable.spec.ts +205 -0
- package/src/observable/notifiable.ts +185 -0
- package/src/observable/notifier.spec.ts +141 -0
- package/src/observable/notifier.ts +126 -0
- package/src/observable/observable.spec.ts +265 -0
- package/src/observable/observable.ts +87 -0
- package/src/observable/tracker.spec.ts +697 -0
- package/src/observable/tracker.ts +240 -0
- package/src/observable/utils.spec.tsx +93 -0
- package/src/observable/utils.ts +160 -0
- package/src/observable/watch.spec.ts +112 -0
- package/src/observable/watch.ts +77 -0
- package/src/polling/poll.ts +2 -2
- package/src/polling/protocol.ts +1 -1
- package/src/protocol/cell-protocol.ts +1 -1
- package/src/react/constant.ts +1 -0
- package/src/react/dropdown/index.tsx +86 -0
- package/src/react/dropdown/styles/index.less +121 -0
- package/src/react/index.spec.ts +13 -0
- package/src/react/index.ts +8 -0
- package/src/react/layout/boxpanel/Pane.tsx +51 -0
- package/src/react/layout/boxpanel/context.ts +11 -0
- package/src/react/layout/boxpanel/index.tsx +65 -0
- package/src/react/layout/boxpanel/styles/index.less +14 -0
- package/src/react/layout/layout.ts +85 -0
- package/src/react/layout/splitpanel/context.ts +35 -0
- package/src/react/layout/splitpanel/index.tsx +325 -0
- package/src/react/layout/splitpanel/pane.tsx +19 -0
- package/src/react/layout/splitpanel/styles/index.less +10 -0
- package/src/react/menu/context.tsx +10 -0
- package/src/react/menu/divider.tsx +9 -0
- package/src/react/menu/index.ts +3 -0
- package/src/react/menu/item.tsx +83 -0
- package/src/react/menu/menu.tsx +46 -0
- package/src/react/menu/styles/index.less +163 -0
- package/src/react/menu/submenu.tsx +28 -0
- package/src/react/menubar/context.tsx +17 -0
- package/src/react/menubar/index.ts +1 -0
- package/src/react/menubar/item.tsx +103 -0
- package/src/react/menubar/menubar.tsx +123 -0
- package/src/react/menubar/styles/index.less +113 -0
- package/src/react/notification/index.tsx +208 -0
- package/src/react/notification/protocol.ts +138 -0
- package/src/react/notification/pure-panel.tsx +119 -0
- package/src/react/notification/render.ts +92 -0
- package/src/react/notification/style/index.less +192 -0
- package/src/react/notification/style/index.tsx +1 -0
- package/src/react/notification/style/placement.less +68 -0
- package/src/react/notification/use-notification.tsx +186 -0
- package/src/react/resize/index.tsx +769 -0
- package/src/react/resize/styles/index.less +83 -0
- package/src/react/styles/variables.less +2 -0
- package/src/react/tabs/index.tsx +75 -0
- package/src/react/tabs/styles/card.less +111 -0
- package/src/react/tabs/styles/dropdown.less +70 -0
- package/src/react/tabs/styles/index.less +231 -0
- package/src/react/tabs/styles/position.less +217 -0
- package/src/react/typings/index.d.ts +5 -0
- package/src/react/util.ts +5 -0
- package/src/url.ts +1 -1
|
@@ -0,0 +1,974 @@
|
|
|
1
|
+
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; }
|
|
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
|
+
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
|
+
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
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
6
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
7
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
8
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
9
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
10
|
+
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; } }
|
|
11
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
12
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
13
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
14
|
+
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; } }
|
|
15
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
16
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
17
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
18
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
19
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
20
|
+
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); }
|
|
21
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
22
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
23
|
+
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; }
|
|
24
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
25
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
28
|
+
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); }
|
|
29
|
+
/*---------------------------------------------------------------------------------------------
|
|
30
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
31
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
32
|
+
*--------------------------------------------------------------------------------------------*/
|
|
33
|
+
|
|
34
|
+
import { Emitter } from "../../../../common/index.js";
|
|
35
|
+
import { types } from "../../../../common/index.js";
|
|
36
|
+
import { objects } from "../../../../common/index.js";
|
|
37
|
+
import { getOrSet, ResourceMap, VSDisposable } from "../../../utils";
|
|
38
|
+
import { Registry } from "../platform";
|
|
39
|
+
import { addToValueTree, toValuesTree, getConfigurationValue, getDefaultValues, getConfigurationKeys, removeFromValueTree, toOverrides, compare } from "./configuration";
|
|
40
|
+
import { OVERRIDE_PROPERTY_PATTERN, ConfigurationScope, Extensions, overrideIdentifierFromKey } from "./configurationRegistry";
|
|
41
|
+
import * as json from "./json";
|
|
42
|
+
|
|
43
|
+
//TODO
|
|
44
|
+
|
|
45
|
+
export function distinct(array, keyFn) {
|
|
46
|
+
if (!keyFn) {
|
|
47
|
+
return array.filter(function (element, position) {
|
|
48
|
+
return array.indexOf(element) === position;
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
var seen = Object.create(null);
|
|
52
|
+
return array.filter(function (elem) {
|
|
53
|
+
var key = keyFn(elem);
|
|
54
|
+
if (seen[key]) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
seen[key] = true;
|
|
58
|
+
return true;
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
export function equals(one, other) {
|
|
62
|
+
var itemEquals = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function (a, b) {
|
|
63
|
+
return a === b;
|
|
64
|
+
};
|
|
65
|
+
if (one === other) {
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
if (!one || !other) {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
if (one.length !== other.length) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
for (var i = 0, len = one.length; i < len; i++) {
|
|
75
|
+
if (!itemEquals(one[i], other[i])) {
|
|
76
|
+
return false;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return true;
|
|
80
|
+
}
|
|
81
|
+
export var ConfigurationModel = /*#__PURE__*/function () {
|
|
82
|
+
function ConfigurationModel() {
|
|
83
|
+
var _contents = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
84
|
+
var _keys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
85
|
+
var _overrides = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
|
86
|
+
_classCallCheck(this, ConfigurationModel);
|
|
87
|
+
this.isFrozen = false;
|
|
88
|
+
this._contents = {};
|
|
89
|
+
this._keys = [];
|
|
90
|
+
this._overrides = [];
|
|
91
|
+
this._contents = _contents;
|
|
92
|
+
this._keys = _keys;
|
|
93
|
+
this._overrides = _overrides;
|
|
94
|
+
}
|
|
95
|
+
_createClass(ConfigurationModel, [{
|
|
96
|
+
key: "contents",
|
|
97
|
+
get: function get() {
|
|
98
|
+
return this.checkAndFreeze(this._contents);
|
|
99
|
+
}
|
|
100
|
+
}, {
|
|
101
|
+
key: "overrides",
|
|
102
|
+
get: function get() {
|
|
103
|
+
return this.checkAndFreeze(this._overrides);
|
|
104
|
+
}
|
|
105
|
+
}, {
|
|
106
|
+
key: "keys",
|
|
107
|
+
get: function get() {
|
|
108
|
+
return this.checkAndFreeze(this._keys);
|
|
109
|
+
}
|
|
110
|
+
}, {
|
|
111
|
+
key: "isEmpty",
|
|
112
|
+
value: function isEmpty() {
|
|
113
|
+
return this._keys.length === 0 && Object.keys(this._contents).length === 0 && this._overrides.length === 0;
|
|
114
|
+
}
|
|
115
|
+
}, {
|
|
116
|
+
key: "getValue",
|
|
117
|
+
value: function getValue(section) {
|
|
118
|
+
return section ? getConfigurationValue(this.contents, section) : this.contents;
|
|
119
|
+
}
|
|
120
|
+
}, {
|
|
121
|
+
key: "getOverrideValue",
|
|
122
|
+
value: function getOverrideValue(section, overrideIdentifier) {
|
|
123
|
+
var overrideContents = this.getContentsForOverrideIdentifer(overrideIdentifier);
|
|
124
|
+
return overrideContents ? section ? getConfigurationValue(overrideContents, section) : overrideContents : undefined;
|
|
125
|
+
}
|
|
126
|
+
}, {
|
|
127
|
+
key: "getKeysForOverrideIdentifier",
|
|
128
|
+
value: function getKeysForOverrideIdentifier(identifier) {
|
|
129
|
+
var _iterator = _createForOfIteratorHelper(this.overrides),
|
|
130
|
+
_step;
|
|
131
|
+
try {
|
|
132
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
133
|
+
var override = _step.value;
|
|
134
|
+
if (override.identifiers.indexOf(identifier) !== -1) {
|
|
135
|
+
return override.keys;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
} catch (err) {
|
|
139
|
+
_iterator.e(err);
|
|
140
|
+
} finally {
|
|
141
|
+
_iterator.f();
|
|
142
|
+
}
|
|
143
|
+
return [];
|
|
144
|
+
}
|
|
145
|
+
}, {
|
|
146
|
+
key: "override",
|
|
147
|
+
value: function override(identifier) {
|
|
148
|
+
var overrideContents = this.getContentsForOverrideIdentifer(identifier);
|
|
149
|
+
if (!overrideContents || _typeof(overrideContents) !== 'object' || !Object.keys(overrideContents).length) {
|
|
150
|
+
// If there are no valid overrides, return self
|
|
151
|
+
return this;
|
|
152
|
+
}
|
|
153
|
+
var contents = {};
|
|
154
|
+
var _iterator2 = _createForOfIteratorHelper(distinct([].concat(_toConsumableArray(Object.keys(this.contents)), _toConsumableArray(Object.keys(overrideContents))))),
|
|
155
|
+
_step2;
|
|
156
|
+
try {
|
|
157
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
158
|
+
var key = _step2.value;
|
|
159
|
+
var contentsForKey = this.contents[key];
|
|
160
|
+
var overrideContentsForKey = overrideContents[key];
|
|
161
|
+
|
|
162
|
+
// If there are override contents for the key, clone and merge otherwise use base contents
|
|
163
|
+
if (overrideContentsForKey) {
|
|
164
|
+
// Clone and merge only if base contents and override contents are of type object otherwise just override
|
|
165
|
+
if (_typeof(contentsForKey) === 'object' && _typeof(overrideContentsForKey) === 'object') {
|
|
166
|
+
contentsForKey = objects.deepClone(contentsForKey);
|
|
167
|
+
this.mergeContents(contentsForKey, overrideContentsForKey);
|
|
168
|
+
} else {
|
|
169
|
+
contentsForKey = overrideContentsForKey;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
contents[key] = contentsForKey;
|
|
173
|
+
}
|
|
174
|
+
} catch (err) {
|
|
175
|
+
_iterator2.e(err);
|
|
176
|
+
} finally {
|
|
177
|
+
_iterator2.f();
|
|
178
|
+
}
|
|
179
|
+
return new ConfigurationModel(contents, this.keys, this.overrides);
|
|
180
|
+
}
|
|
181
|
+
}, {
|
|
182
|
+
key: "merge",
|
|
183
|
+
value: function merge() {
|
|
184
|
+
var _this = this;
|
|
185
|
+
var contents = objects.deepClone(this.contents);
|
|
186
|
+
var overrides = objects.deepClone(this.overrides);
|
|
187
|
+
var keys = _toConsumableArray(this.keys);
|
|
188
|
+
for (var _len = arguments.length, others = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {
|
|
189
|
+
others[_key2] = arguments[_key2];
|
|
190
|
+
}
|
|
191
|
+
for (var _i = 0, _others = others; _i < _others.length; _i++) {
|
|
192
|
+
var other = _others[_i];
|
|
193
|
+
this.mergeContents(contents, other.contents);
|
|
194
|
+
var _iterator3 = _createForOfIteratorHelper(other.overrides),
|
|
195
|
+
_step3;
|
|
196
|
+
try {
|
|
197
|
+
var _loop = function _loop() {
|
|
198
|
+
var otherOverride = _step3.value;
|
|
199
|
+
var _overrides$filter = overrides.filter(function (o) {
|
|
200
|
+
return equals(o.identifiers, otherOverride.identifiers);
|
|
201
|
+
}),
|
|
202
|
+
_overrides$filter2 = _slicedToArray(_overrides$filter, 1),
|
|
203
|
+
override = _overrides$filter2[0];
|
|
204
|
+
if (override) {
|
|
205
|
+
_this.mergeContents(override.contents, otherOverride.contents);
|
|
206
|
+
} else {
|
|
207
|
+
overrides.push(objects.deepClone(otherOverride));
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
211
|
+
_loop();
|
|
212
|
+
}
|
|
213
|
+
} catch (err) {
|
|
214
|
+
_iterator3.e(err);
|
|
215
|
+
} finally {
|
|
216
|
+
_iterator3.f();
|
|
217
|
+
}
|
|
218
|
+
var _iterator4 = _createForOfIteratorHelper(other.keys),
|
|
219
|
+
_step4;
|
|
220
|
+
try {
|
|
221
|
+
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
222
|
+
var key = _step4.value;
|
|
223
|
+
if (keys.indexOf(key) === -1) {
|
|
224
|
+
keys.push(key);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
} catch (err) {
|
|
228
|
+
_iterator4.e(err);
|
|
229
|
+
} finally {
|
|
230
|
+
_iterator4.f();
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
return new ConfigurationModel(contents, keys, overrides);
|
|
234
|
+
}
|
|
235
|
+
}, {
|
|
236
|
+
key: "freeze",
|
|
237
|
+
value: function freeze() {
|
|
238
|
+
this.isFrozen = true;
|
|
239
|
+
return this;
|
|
240
|
+
}
|
|
241
|
+
}, {
|
|
242
|
+
key: "mergeContents",
|
|
243
|
+
value: function mergeContents(source, target) {
|
|
244
|
+
for (var _i2 = 0, _Object$keys = Object.keys(target); _i2 < _Object$keys.length; _i2++) {
|
|
245
|
+
var key = _Object$keys[_i2];
|
|
246
|
+
if (key in source) {
|
|
247
|
+
if (types.isObject(source[key]) && types.isObject(target[key])) {
|
|
248
|
+
this.mergeContents(source[key], target[key]);
|
|
249
|
+
continue;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
source[key] = objects.deepClone(target[key]);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}, {
|
|
256
|
+
key: "checkAndFreeze",
|
|
257
|
+
value: function checkAndFreeze(data) {
|
|
258
|
+
if (this.isFrozen && !Object.isFrozen(data)) {
|
|
259
|
+
return objects.deepFreeze(data);
|
|
260
|
+
}
|
|
261
|
+
return data;
|
|
262
|
+
}
|
|
263
|
+
}, {
|
|
264
|
+
key: "getContentsForOverrideIdentifer",
|
|
265
|
+
value: function getContentsForOverrideIdentifer(identifier) {
|
|
266
|
+
var _iterator5 = _createForOfIteratorHelper(this.overrides),
|
|
267
|
+
_step5;
|
|
268
|
+
try {
|
|
269
|
+
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
|
|
270
|
+
var override = _step5.value;
|
|
271
|
+
if (override.identifiers.indexOf(identifier) !== -1) {
|
|
272
|
+
return override.contents;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
} catch (err) {
|
|
276
|
+
_iterator5.e(err);
|
|
277
|
+
} finally {
|
|
278
|
+
_iterator5.f();
|
|
279
|
+
}
|
|
280
|
+
return null;
|
|
281
|
+
}
|
|
282
|
+
}, {
|
|
283
|
+
key: "toJSON",
|
|
284
|
+
value: function toJSON() {
|
|
285
|
+
return {
|
|
286
|
+
contents: this.contents,
|
|
287
|
+
overrides: this.overrides,
|
|
288
|
+
keys: this.keys
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
// Update methods
|
|
293
|
+
}, {
|
|
294
|
+
key: "setValue",
|
|
295
|
+
value: function setValue(key, value) {
|
|
296
|
+
this.addKey(key);
|
|
297
|
+
addToValueTree(this.contents, key, value, function (e) {
|
|
298
|
+
throw new Error(e);
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
}, {
|
|
302
|
+
key: "removeValue",
|
|
303
|
+
value: function removeValue(key) {
|
|
304
|
+
if (this.removeKey(key)) {
|
|
305
|
+
removeFromValueTree(this.contents, key);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}, {
|
|
309
|
+
key: "addKey",
|
|
310
|
+
value: function addKey(key) {
|
|
311
|
+
var index = this.keys.length;
|
|
312
|
+
for (var i = 0; i < index; i++) {
|
|
313
|
+
if (key.indexOf(this.keys[i]) === 0) {
|
|
314
|
+
index = i;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
this.keys.splice(index, 1, key);
|
|
318
|
+
}
|
|
319
|
+
}, {
|
|
320
|
+
key: "removeKey",
|
|
321
|
+
value: function removeKey(key) {
|
|
322
|
+
var index = this.keys.indexOf(key);
|
|
323
|
+
if (index !== -1) {
|
|
324
|
+
this.keys.splice(index, 1);
|
|
325
|
+
return true;
|
|
326
|
+
}
|
|
327
|
+
return false;
|
|
328
|
+
}
|
|
329
|
+
}]);
|
|
330
|
+
return ConfigurationModel;
|
|
331
|
+
}();
|
|
332
|
+
export var DefaultConfigurationModel = /*#__PURE__*/function (_ConfigurationModel2) {
|
|
333
|
+
_inherits(DefaultConfigurationModel, _ConfigurationModel2);
|
|
334
|
+
var _super = _createSuper(DefaultConfigurationModel);
|
|
335
|
+
function DefaultConfigurationModel() {
|
|
336
|
+
_classCallCheck(this, DefaultConfigurationModel);
|
|
337
|
+
var contents = getDefaultValues();
|
|
338
|
+
var keys = getConfigurationKeys();
|
|
339
|
+
var overrides = [];
|
|
340
|
+
for (var _i3 = 0, _Object$keys2 = Object.keys(contents); _i3 < _Object$keys2.length; _i3++) {
|
|
341
|
+
var key = _Object$keys2[_i3];
|
|
342
|
+
if (OVERRIDE_PROPERTY_PATTERN.test(key)) {
|
|
343
|
+
overrides.push({
|
|
344
|
+
identifiers: [overrideIdentifierFromKey(key).trim()],
|
|
345
|
+
keys: Object.keys(contents[key]),
|
|
346
|
+
contents: toValuesTree(contents[key], function (message) {
|
|
347
|
+
return console.error("Conflict in default settings file: ".concat(message));
|
|
348
|
+
})
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
return _super.call(this, contents, keys, overrides);
|
|
353
|
+
}
|
|
354
|
+
return _createClass(DefaultConfigurationModel);
|
|
355
|
+
}(ConfigurationModel);
|
|
356
|
+
export var ConfigurationModelParser = /*#__PURE__*/function () {
|
|
357
|
+
function ConfigurationModelParser(_name, _scopes) {
|
|
358
|
+
_classCallCheck(this, ConfigurationModelParser);
|
|
359
|
+
this._raw = null;
|
|
360
|
+
this._configurationModel = null;
|
|
361
|
+
this._parseErrors = [];
|
|
362
|
+
this._name = _name;
|
|
363
|
+
this._scopes = _scopes;
|
|
364
|
+
}
|
|
365
|
+
_createClass(ConfigurationModelParser, [{
|
|
366
|
+
key: "configurationModel",
|
|
367
|
+
get: function get() {
|
|
368
|
+
return this._configurationModel || new ConfigurationModel();
|
|
369
|
+
}
|
|
370
|
+
}, {
|
|
371
|
+
key: "errors",
|
|
372
|
+
get: function get() {
|
|
373
|
+
return this._parseErrors;
|
|
374
|
+
}
|
|
375
|
+
}, {
|
|
376
|
+
key: "parseContent",
|
|
377
|
+
value: function parseContent(content) {
|
|
378
|
+
if (!types.isUndefinedOrNull(content)) {
|
|
379
|
+
var raw = this.doParseContent(content);
|
|
380
|
+
this.parseRaw(raw);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}, {
|
|
384
|
+
key: "parseRaw",
|
|
385
|
+
value: function parseRaw(raw) {
|
|
386
|
+
this._raw = raw;
|
|
387
|
+
var configurationModel = this.doParseRaw(raw);
|
|
388
|
+
this._configurationModel = new ConfigurationModel(configurationModel.contents, configurationModel.keys, configurationModel.overrides);
|
|
389
|
+
}
|
|
390
|
+
}, {
|
|
391
|
+
key: "parse",
|
|
392
|
+
value: function parse() {
|
|
393
|
+
if (this._raw) {
|
|
394
|
+
this.parseRaw(this._raw);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}, {
|
|
398
|
+
key: "doParseContent",
|
|
399
|
+
value: function doParseContent(content) {
|
|
400
|
+
var raw = {};
|
|
401
|
+
var currentProperty = null;
|
|
402
|
+
var currentParent = [];
|
|
403
|
+
var previousParents = [];
|
|
404
|
+
var parseErrors = [];
|
|
405
|
+
function onValue(value) {
|
|
406
|
+
if (Array.isArray(currentParent)) {
|
|
407
|
+
currentParent.push(value);
|
|
408
|
+
} else if (currentProperty) {
|
|
409
|
+
currentParent[currentProperty] = value;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
var visitor = {
|
|
413
|
+
onObjectBegin: function onObjectBegin() {
|
|
414
|
+
var object = {};
|
|
415
|
+
onValue(object);
|
|
416
|
+
previousParents.push(currentParent);
|
|
417
|
+
currentParent = object;
|
|
418
|
+
currentProperty = null;
|
|
419
|
+
},
|
|
420
|
+
onObjectProperty: function onObjectProperty(name) {
|
|
421
|
+
currentProperty = name;
|
|
422
|
+
},
|
|
423
|
+
onObjectEnd: function onObjectEnd() {
|
|
424
|
+
currentParent = previousParents.pop();
|
|
425
|
+
},
|
|
426
|
+
onArrayBegin: function onArrayBegin() {
|
|
427
|
+
var array = [];
|
|
428
|
+
onValue(array);
|
|
429
|
+
previousParents.push(currentParent);
|
|
430
|
+
currentParent = array;
|
|
431
|
+
currentProperty = null;
|
|
432
|
+
},
|
|
433
|
+
onArrayEnd: function onArrayEnd() {
|
|
434
|
+
currentParent = previousParents.pop();
|
|
435
|
+
},
|
|
436
|
+
onLiteralValue: onValue,
|
|
437
|
+
onError: function onError(error, offset, length) {
|
|
438
|
+
parseErrors.push({
|
|
439
|
+
error: error,
|
|
440
|
+
offset: offset,
|
|
441
|
+
length: length
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
};
|
|
445
|
+
if (content) {
|
|
446
|
+
try {
|
|
447
|
+
json.visit(content, visitor);
|
|
448
|
+
raw = currentParent[0] || {};
|
|
449
|
+
} catch (e) {
|
|
450
|
+
console.error("Error while parsing settings file ".concat(this._name, ": ").concat(e));
|
|
451
|
+
this._parseErrors = [e];
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
return raw;
|
|
455
|
+
}
|
|
456
|
+
}, {
|
|
457
|
+
key: "doParseRaw",
|
|
458
|
+
value: function doParseRaw(raw) {
|
|
459
|
+
var _this2 = this;
|
|
460
|
+
if (this._scopes) {
|
|
461
|
+
var configurationProperties = Registry.as(Extensions.Configuration).getConfigurationProperties();
|
|
462
|
+
raw = this.filterByScope(raw, configurationProperties, true, this._scopes);
|
|
463
|
+
}
|
|
464
|
+
var contents = toValuesTree(raw, function (message) {
|
|
465
|
+
return console.error("Conflict in settings file ".concat(_this2._name, ": ").concat(message));
|
|
466
|
+
});
|
|
467
|
+
var keys = Object.keys(raw);
|
|
468
|
+
var overrides = toOverrides(raw, function (message) {
|
|
469
|
+
return console.error("Conflict in settings file ".concat(_this2._name, ": ").concat(message));
|
|
470
|
+
});
|
|
471
|
+
return {
|
|
472
|
+
contents: contents,
|
|
473
|
+
keys: keys,
|
|
474
|
+
overrides: overrides
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
}, {
|
|
478
|
+
key: "filterByScope",
|
|
479
|
+
value: function filterByScope(properties, configurationProperties, filterOverriddenProperties, scopes) {
|
|
480
|
+
var result = {};
|
|
481
|
+
for (var key in properties) {
|
|
482
|
+
if (OVERRIDE_PROPERTY_PATTERN.test(key) && filterOverriddenProperties) {
|
|
483
|
+
result[key] = this.filterByScope(properties[key], configurationProperties, false, scopes);
|
|
484
|
+
} else {
|
|
485
|
+
var scope = this.getScope(key, configurationProperties);
|
|
486
|
+
// Load unregistered configurations always.
|
|
487
|
+
if (scope === undefined || scopes.indexOf(scope) !== -1) {
|
|
488
|
+
result[key] = properties[key];
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
return result;
|
|
493
|
+
}
|
|
494
|
+
}, {
|
|
495
|
+
key: "getScope",
|
|
496
|
+
value: function getScope(key, configurationProperties) {
|
|
497
|
+
var propertySchema = configurationProperties[key];
|
|
498
|
+
return propertySchema ? typeof propertySchema.scope !== 'undefined' ? propertySchema.scope : ConfigurationScope.WINDOW : undefined;
|
|
499
|
+
}
|
|
500
|
+
}]);
|
|
501
|
+
return ConfigurationModelParser;
|
|
502
|
+
}();
|
|
503
|
+
export var UserSettings = /*#__PURE__*/function (_VSDisposable) {
|
|
504
|
+
_inherits(UserSettings, _VSDisposable);
|
|
505
|
+
var _super2 = _createSuper(UserSettings);
|
|
506
|
+
function UserSettings(scopes) {
|
|
507
|
+
var _this3;
|
|
508
|
+
_classCallCheck(this, UserSettings);
|
|
509
|
+
_this3 = _super2.call(this);
|
|
510
|
+
_this3._onDidChange = _this3._register(new Emitter());
|
|
511
|
+
_this3.onDidChange = _this3._onDidChange.event;
|
|
512
|
+
_this3.scopes = scopes;
|
|
513
|
+
_this3.parser = new ConfigurationModelParser('UserSettings', _this3.scopes);
|
|
514
|
+
return _this3;
|
|
515
|
+
}
|
|
516
|
+
_createClass(UserSettings, [{
|
|
517
|
+
key: "loadConfiguration",
|
|
518
|
+
value: function () {
|
|
519
|
+
var _loadConfiguration = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
520
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
521
|
+
while (1) switch (_context.prev = _context.next) {
|
|
522
|
+
case 0:
|
|
523
|
+
_context.prev = 0;
|
|
524
|
+
this.parser.parseContent('{}');
|
|
525
|
+
return _context.abrupt("return", this.parser.configurationModel);
|
|
526
|
+
case 5:
|
|
527
|
+
_context.prev = 5;
|
|
528
|
+
_context.t0 = _context["catch"](0);
|
|
529
|
+
return _context.abrupt("return", new ConfigurationModel());
|
|
530
|
+
case 8:
|
|
531
|
+
case "end":
|
|
532
|
+
return _context.stop();
|
|
533
|
+
}
|
|
534
|
+
}, _callee, this, [[0, 5]]);
|
|
535
|
+
}));
|
|
536
|
+
function loadConfiguration() {
|
|
537
|
+
return _loadConfiguration.apply(this, arguments);
|
|
538
|
+
}
|
|
539
|
+
return loadConfiguration;
|
|
540
|
+
}()
|
|
541
|
+
}, {
|
|
542
|
+
key: "reprocess",
|
|
543
|
+
value: function reprocess() {
|
|
544
|
+
this.parser.parse();
|
|
545
|
+
return this.parser.configurationModel;
|
|
546
|
+
}
|
|
547
|
+
}]);
|
|
548
|
+
return UserSettings;
|
|
549
|
+
}(VSDisposable);
|
|
550
|
+
export var Configuration = /*#__PURE__*/function () {
|
|
551
|
+
function Configuration(_defaultConfiguration, _localUserConfiguration) {
|
|
552
|
+
var _remoteUserConfiguration = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : new ConfigurationModel();
|
|
553
|
+
var _workspaceConfiguration = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : new ConfigurationModel();
|
|
554
|
+
var _memoryConfiguration = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : new ConfigurationModel();
|
|
555
|
+
var _memoryConfigurationByResource = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : new ResourceMap();
|
|
556
|
+
var _freeze = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : true;
|
|
557
|
+
_classCallCheck(this, Configuration);
|
|
558
|
+
this._workspaceConsolidatedConfiguration = null;
|
|
559
|
+
this._foldersConsolidatedConfigurations = new ResourceMap();
|
|
560
|
+
this._remoteUserConfiguration = new ConfigurationModel();
|
|
561
|
+
this._workspaceConfiguration = new ConfigurationModel();
|
|
562
|
+
this._memoryConfiguration = new ConfigurationModel();
|
|
563
|
+
this._memoryConfigurationByResource = new ResourceMap();
|
|
564
|
+
this._freeze = true;
|
|
565
|
+
this._userConfiguration = null;
|
|
566
|
+
this._memoryConfigurationByResource;
|
|
567
|
+
this._defaultConfiguration = _defaultConfiguration;
|
|
568
|
+
this._localUserConfiguration = _localUserConfiguration;
|
|
569
|
+
this._remoteUserConfiguration = _remoteUserConfiguration;
|
|
570
|
+
this._workspaceConfiguration = _workspaceConfiguration;
|
|
571
|
+
this._memoryConfiguration = _memoryConfiguration;
|
|
572
|
+
this._memoryConfigurationByResource = _memoryConfigurationByResource;
|
|
573
|
+
this._freeze = _freeze;
|
|
574
|
+
}
|
|
575
|
+
_createClass(Configuration, [{
|
|
576
|
+
key: "getValue",
|
|
577
|
+
value: function getValue(section, overrides, workspace) {
|
|
578
|
+
var consolidateConfigurationModel = this.getConsolidateConfigurationModel(overrides, workspace);
|
|
579
|
+
return consolidateConfigurationModel.getValue(section);
|
|
580
|
+
}
|
|
581
|
+
}, {
|
|
582
|
+
key: "updateValue",
|
|
583
|
+
value: function updateValue(_key, _value) {
|
|
584
|
+
var _overrides = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
585
|
+
} //
|
|
586
|
+
}, {
|
|
587
|
+
key: "inspect",
|
|
588
|
+
value: function inspect(key, overrides, _workspace) {
|
|
589
|
+
var defaultValue = overrides.overrideIdentifier ? this._defaultConfiguration.freeze().override(overrides.overrideIdentifier).getValue(key) : this._defaultConfiguration.freeze().getValue(key);
|
|
590
|
+
return {
|
|
591
|
+
defaultValue: defaultValue,
|
|
592
|
+
default: defaultValue !== undefined ? {
|
|
593
|
+
value: this._defaultConfiguration.freeze().getValue(key),
|
|
594
|
+
override: overrides.overrideIdentifier ? this._defaultConfiguration.freeze().getOverrideValue(key, overrides.overrideIdentifier) : undefined
|
|
595
|
+
} : undefined
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
}, {
|
|
599
|
+
key: "keys",
|
|
600
|
+
value: function keys(_workspace) {
|
|
601
|
+
return {
|
|
602
|
+
default: this._defaultConfiguration.freeze().keys,
|
|
603
|
+
user: this._defaultConfiguration.freeze().keys,
|
|
604
|
+
workspace: this._defaultConfiguration.freeze().keys,
|
|
605
|
+
workspaceFolder: this._defaultConfiguration.freeze().keys
|
|
606
|
+
};
|
|
607
|
+
}
|
|
608
|
+
}, {
|
|
609
|
+
key: "updateDefaultConfiguration",
|
|
610
|
+
value: function updateDefaultConfiguration(defaultConfiguration) {
|
|
611
|
+
this._defaultConfiguration = defaultConfiguration;
|
|
612
|
+
this._workspaceConsolidatedConfiguration = null;
|
|
613
|
+
this._foldersConsolidatedConfigurations.clear();
|
|
614
|
+
}
|
|
615
|
+
}, {
|
|
616
|
+
key: "updateLocalUserConfiguration",
|
|
617
|
+
value: function updateLocalUserConfiguration(localUserConfiguration) {
|
|
618
|
+
this._localUserConfiguration = localUserConfiguration;
|
|
619
|
+
this._userConfiguration = null;
|
|
620
|
+
this._workspaceConsolidatedConfiguration = null;
|
|
621
|
+
this._foldersConsolidatedConfigurations.clear();
|
|
622
|
+
}
|
|
623
|
+
}, {
|
|
624
|
+
key: "updateRemoteUserConfiguration",
|
|
625
|
+
value: function updateRemoteUserConfiguration(remoteUserConfiguration) {
|
|
626
|
+
this._remoteUserConfiguration = remoteUserConfiguration;
|
|
627
|
+
this._userConfiguration = null;
|
|
628
|
+
this._workspaceConsolidatedConfiguration = null;
|
|
629
|
+
this._foldersConsolidatedConfigurations.clear();
|
|
630
|
+
}
|
|
631
|
+
}, {
|
|
632
|
+
key: "updateWorkspaceConfiguration",
|
|
633
|
+
value: function updateWorkspaceConfiguration(workspaceConfiguration) {
|
|
634
|
+
this._workspaceConfiguration = workspaceConfiguration;
|
|
635
|
+
this._workspaceConsolidatedConfiguration = null;
|
|
636
|
+
this._foldersConsolidatedConfigurations.clear();
|
|
637
|
+
}
|
|
638
|
+
}, {
|
|
639
|
+
key: "compareAndUpdateDefaultConfiguration",
|
|
640
|
+
value: function compareAndUpdateDefaultConfiguration(defaults, keys) {
|
|
641
|
+
var _this4 = this;
|
|
642
|
+
var overrides = keys.filter(function (key) {
|
|
643
|
+
return OVERRIDE_PROPERTY_PATTERN.test(key);
|
|
644
|
+
}).map(function (key) {
|
|
645
|
+
var overrideIdentifier = overrideIdentifierFromKey(key);
|
|
646
|
+
var fromKeys = _this4._defaultConfiguration.getKeysForOverrideIdentifier(overrideIdentifier);
|
|
647
|
+
var toKeys = defaults.getKeysForOverrideIdentifier(overrideIdentifier);
|
|
648
|
+
var keys = [].concat(_toConsumableArray(toKeys.filter(function (key) {
|
|
649
|
+
return fromKeys.indexOf(key) === -1;
|
|
650
|
+
})), _toConsumableArray(fromKeys.filter(function (key) {
|
|
651
|
+
return toKeys.indexOf(key) === -1;
|
|
652
|
+
})), _toConsumableArray(fromKeys.filter(function (key) {
|
|
653
|
+
return !objects.objectEquals(_this4._defaultConfiguration.override(overrideIdentifier).getValue(key), defaults.override(overrideIdentifier).getValue(key));
|
|
654
|
+
})));
|
|
655
|
+
return [overrideIdentifier, keys];
|
|
656
|
+
});
|
|
657
|
+
this.updateDefaultConfiguration(defaults);
|
|
658
|
+
return {
|
|
659
|
+
keys: keys,
|
|
660
|
+
overrides: overrides
|
|
661
|
+
};
|
|
662
|
+
}
|
|
663
|
+
}, {
|
|
664
|
+
key: "compareAndUpdateLocalUserConfiguration",
|
|
665
|
+
value: function compareAndUpdateLocalUserConfiguration(user) {
|
|
666
|
+
var _compare = compare(this.localUserConfiguration, user),
|
|
667
|
+
added = _compare.added,
|
|
668
|
+
updated = _compare.updated,
|
|
669
|
+
removed = _compare.removed,
|
|
670
|
+
overrides = _compare.overrides;
|
|
671
|
+
var keys = [].concat(_toConsumableArray(added), _toConsumableArray(updated), _toConsumableArray(removed));
|
|
672
|
+
if (keys.length) {
|
|
673
|
+
this.updateLocalUserConfiguration(user);
|
|
674
|
+
}
|
|
675
|
+
return {
|
|
676
|
+
keys: keys,
|
|
677
|
+
overrides: overrides
|
|
678
|
+
};
|
|
679
|
+
}
|
|
680
|
+
}, {
|
|
681
|
+
key: "compareAndUpdateRemoteUserConfiguration",
|
|
682
|
+
value: function compareAndUpdateRemoteUserConfiguration(user) {
|
|
683
|
+
var _compare2 = compare(this.remoteUserConfiguration, user),
|
|
684
|
+
added = _compare2.added,
|
|
685
|
+
updated = _compare2.updated,
|
|
686
|
+
removed = _compare2.removed,
|
|
687
|
+
overrides = _compare2.overrides;
|
|
688
|
+
var keys = [].concat(_toConsumableArray(added), _toConsumableArray(updated), _toConsumableArray(removed));
|
|
689
|
+
if (keys.length) {
|
|
690
|
+
this.updateRemoteUserConfiguration(user);
|
|
691
|
+
}
|
|
692
|
+
return {
|
|
693
|
+
keys: keys,
|
|
694
|
+
overrides: overrides
|
|
695
|
+
};
|
|
696
|
+
}
|
|
697
|
+
}, {
|
|
698
|
+
key: "compareAndUpdateWorkspaceConfiguration",
|
|
699
|
+
value: function compareAndUpdateWorkspaceConfiguration(workspaceConfiguration) {
|
|
700
|
+
var _compare3 = compare(this.workspaceConfiguration, workspaceConfiguration),
|
|
701
|
+
added = _compare3.added,
|
|
702
|
+
updated = _compare3.updated,
|
|
703
|
+
removed = _compare3.removed,
|
|
704
|
+
overrides = _compare3.overrides;
|
|
705
|
+
var keys = [].concat(_toConsumableArray(added), _toConsumableArray(updated), _toConsumableArray(removed));
|
|
706
|
+
if (keys.length) {
|
|
707
|
+
this.updateWorkspaceConfiguration(workspaceConfiguration);
|
|
708
|
+
}
|
|
709
|
+
return {
|
|
710
|
+
keys: keys,
|
|
711
|
+
overrides: overrides
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
}, {
|
|
715
|
+
key: "compareAndUpdateFolderConfiguration",
|
|
716
|
+
value: function compareAndUpdateFolderConfiguration(_resource, _folderConfiguration) {
|
|
717
|
+
return {
|
|
718
|
+
keys: [],
|
|
719
|
+
overrides: []
|
|
720
|
+
};
|
|
721
|
+
}
|
|
722
|
+
}, {
|
|
723
|
+
key: "compareAndDeleteFolderConfiguration",
|
|
724
|
+
value: function compareAndDeleteFolderConfiguration(_folder) {
|
|
725
|
+
return {
|
|
726
|
+
keys: [],
|
|
727
|
+
overrides: []
|
|
728
|
+
};
|
|
729
|
+
}
|
|
730
|
+
}, {
|
|
731
|
+
key: "defaults",
|
|
732
|
+
get: function get() {
|
|
733
|
+
return this._defaultConfiguration;
|
|
734
|
+
}
|
|
735
|
+
}, {
|
|
736
|
+
key: "userConfiguration",
|
|
737
|
+
get: function get() {
|
|
738
|
+
if (!this._userConfiguration) {
|
|
739
|
+
this._userConfiguration = this._remoteUserConfiguration.isEmpty() ? this._localUserConfiguration : this._localUserConfiguration.merge(this._remoteUserConfiguration);
|
|
740
|
+
if (this._freeze) {
|
|
741
|
+
this._userConfiguration.freeze();
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
return this._userConfiguration;
|
|
745
|
+
}
|
|
746
|
+
}, {
|
|
747
|
+
key: "localUserConfiguration",
|
|
748
|
+
get: function get() {
|
|
749
|
+
return this._localUserConfiguration;
|
|
750
|
+
}
|
|
751
|
+
}, {
|
|
752
|
+
key: "remoteUserConfiguration",
|
|
753
|
+
get: function get() {
|
|
754
|
+
return this._remoteUserConfiguration;
|
|
755
|
+
}
|
|
756
|
+
}, {
|
|
757
|
+
key: "workspaceConfiguration",
|
|
758
|
+
get: function get() {
|
|
759
|
+
return this._workspaceConfiguration;
|
|
760
|
+
}
|
|
761
|
+
}, {
|
|
762
|
+
key: "getConsolidateConfigurationModel",
|
|
763
|
+
value: function getConsolidateConfigurationModel(overrides, workspace) {
|
|
764
|
+
var configurationModel = this.getConsolidatedConfigurationModelForResource(overrides, workspace);
|
|
765
|
+
return overrides.overrideIdentifier ? configurationModel.override(overrides.overrideIdentifier) : configurationModel;
|
|
766
|
+
}
|
|
767
|
+
}, {
|
|
768
|
+
key: "getConsolidatedConfigurationModelForResource",
|
|
769
|
+
value: function getConsolidatedConfigurationModelForResource(_ref, _workspace) {
|
|
770
|
+
var _resource = _ref.resource;
|
|
771
|
+
var consolidateConfiguration = this.getWorkspaceConsolidatedConfiguration();
|
|
772
|
+
return consolidateConfiguration;
|
|
773
|
+
}
|
|
774
|
+
}, {
|
|
775
|
+
key: "getWorkspaceConsolidatedConfiguration",
|
|
776
|
+
value: function getWorkspaceConsolidatedConfiguration() {
|
|
777
|
+
if (!this._workspaceConsolidatedConfiguration) {
|
|
778
|
+
this._workspaceConsolidatedConfiguration = this._defaultConfiguration.merge(this.userConfiguration, this._workspaceConfiguration, this._memoryConfiguration);
|
|
779
|
+
if (this._freeze) {
|
|
780
|
+
this._workspaceConfiguration = this._workspaceConfiguration.freeze();
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
return this._workspaceConsolidatedConfiguration;
|
|
784
|
+
}
|
|
785
|
+
}, {
|
|
786
|
+
key: "toData",
|
|
787
|
+
value: function toData() {
|
|
788
|
+
return {
|
|
789
|
+
defaults: {
|
|
790
|
+
contents: this._defaultConfiguration.contents,
|
|
791
|
+
overrides: this._defaultConfiguration.overrides,
|
|
792
|
+
keys: this._defaultConfiguration.keys
|
|
793
|
+
},
|
|
794
|
+
user: {
|
|
795
|
+
contents: this.userConfiguration.contents,
|
|
796
|
+
overrides: this.userConfiguration.overrides,
|
|
797
|
+
keys: this.userConfiguration.keys
|
|
798
|
+
},
|
|
799
|
+
workspace: {
|
|
800
|
+
contents: this._workspaceConfiguration.contents,
|
|
801
|
+
overrides: this._workspaceConfiguration.overrides,
|
|
802
|
+
keys: this._workspaceConfiguration.keys
|
|
803
|
+
}
|
|
804
|
+
};
|
|
805
|
+
}
|
|
806
|
+
}, {
|
|
807
|
+
key: "allKeys",
|
|
808
|
+
value: function allKeys() {
|
|
809
|
+
var keys = new Set();
|
|
810
|
+
this._defaultConfiguration.freeze().keys.forEach(function (key) {
|
|
811
|
+
return keys.add(key);
|
|
812
|
+
});
|
|
813
|
+
this.userConfiguration.freeze().keys.forEach(function (key) {
|
|
814
|
+
return keys.add(key);
|
|
815
|
+
});
|
|
816
|
+
this._workspaceConfiguration.freeze().keys.forEach(function (key) {
|
|
817
|
+
return keys.add(key);
|
|
818
|
+
});
|
|
819
|
+
return _toConsumableArray(keys.values());
|
|
820
|
+
}
|
|
821
|
+
}, {
|
|
822
|
+
key: "getAllKeysForOverrideIdentifier",
|
|
823
|
+
value: function getAllKeysForOverrideIdentifier(overrideIdentifier) {
|
|
824
|
+
var keys = new Set();
|
|
825
|
+
this._defaultConfiguration.getKeysForOverrideIdentifier(overrideIdentifier).forEach(function (key) {
|
|
826
|
+
return keys.add(key);
|
|
827
|
+
});
|
|
828
|
+
this.userConfiguration.getKeysForOverrideIdentifier(overrideIdentifier).forEach(function (key) {
|
|
829
|
+
return keys.add(key);
|
|
830
|
+
});
|
|
831
|
+
this._workspaceConfiguration.getKeysForOverrideIdentifier(overrideIdentifier).forEach(function (key) {
|
|
832
|
+
return keys.add(key);
|
|
833
|
+
});
|
|
834
|
+
return _toConsumableArray(keys.values());
|
|
835
|
+
}
|
|
836
|
+
}], [{
|
|
837
|
+
key: "parse",
|
|
838
|
+
value: function parse(data) {
|
|
839
|
+
var defaultConfiguration = this.parseConfigurationModel(data.defaults);
|
|
840
|
+
var userConfiguration = this.parseConfigurationModel(data.user);
|
|
841
|
+
var workspaceConfiguration = this.parseConfigurationModel(data.workspace);
|
|
842
|
+
return new Configuration(defaultConfiguration, userConfiguration, new ConfigurationModel(), workspaceConfiguration, new ConfigurationModel(), new ResourceMap(), false);
|
|
843
|
+
}
|
|
844
|
+
}, {
|
|
845
|
+
key: "parseConfigurationModel",
|
|
846
|
+
value: function parseConfigurationModel(model) {
|
|
847
|
+
return new ConfigurationModel(model.contents, model.keys, model.overrides).freeze();
|
|
848
|
+
}
|
|
849
|
+
}]);
|
|
850
|
+
return Configuration;
|
|
851
|
+
}();
|
|
852
|
+
export function mergeChanges() {
|
|
853
|
+
for (var _len2 = arguments.length, changes = new Array(_len2), _key3 = 0; _key3 < _len2; _key3++) {
|
|
854
|
+
changes[_key3] = arguments[_key3];
|
|
855
|
+
}
|
|
856
|
+
if (changes.length === 0) {
|
|
857
|
+
return {
|
|
858
|
+
keys: [],
|
|
859
|
+
overrides: []
|
|
860
|
+
};
|
|
861
|
+
}
|
|
862
|
+
if (changes.length === 1) {
|
|
863
|
+
return changes[0];
|
|
864
|
+
}
|
|
865
|
+
var keysSet = new Set();
|
|
866
|
+
var overridesMap = new Map();
|
|
867
|
+
for (var _i4 = 0, _changes = changes; _i4 < _changes.length; _i4++) {
|
|
868
|
+
var change = _changes[_i4];
|
|
869
|
+
change.keys.forEach(function (key) {
|
|
870
|
+
return keysSet.add(key);
|
|
871
|
+
});
|
|
872
|
+
change.overrides.forEach(function (_ref2) {
|
|
873
|
+
var _ref3 = _slicedToArray(_ref2, 2),
|
|
874
|
+
identifier = _ref3[0],
|
|
875
|
+
keys = _ref3[1];
|
|
876
|
+
var result = getOrSet(overridesMap, identifier, new Set());
|
|
877
|
+
keys.forEach(function (key) {
|
|
878
|
+
return result.add(key);
|
|
879
|
+
});
|
|
880
|
+
});
|
|
881
|
+
}
|
|
882
|
+
var overrides = [];
|
|
883
|
+
overridesMap.forEach(function (keys, identifier) {
|
|
884
|
+
return overrides.push([identifier, _toConsumableArray(keys.values())]);
|
|
885
|
+
});
|
|
886
|
+
return {
|
|
887
|
+
keys: _toConsumableArray(keysSet.values()),
|
|
888
|
+
overrides: overrides
|
|
889
|
+
};
|
|
890
|
+
}
|
|
891
|
+
export var ConfigurationChangeEvent = /*#__PURE__*/function () {
|
|
892
|
+
function ConfigurationChangeEvent(change, previous, currentConfiguraiton, currentWorkspace) {
|
|
893
|
+
_classCallCheck(this, ConfigurationChangeEvent);
|
|
894
|
+
this._previousConfiguration = undefined;
|
|
895
|
+
this.change = change;
|
|
896
|
+
this.previous = previous;
|
|
897
|
+
this.currentConfiguraiton = currentConfiguraiton;
|
|
898
|
+
this.currentWorkspace = currentWorkspace;
|
|
899
|
+
var keysSet = new Set();
|
|
900
|
+
change.keys.forEach(function (key) {
|
|
901
|
+
return keysSet.add(key);
|
|
902
|
+
});
|
|
903
|
+
change.overrides.forEach(function (_ref4) {
|
|
904
|
+
var _ref5 = _slicedToArray(_ref4, 2),
|
|
905
|
+
keys = _ref5[1];
|
|
906
|
+
return keys.forEach(function (key) {
|
|
907
|
+
return keysSet.add(key);
|
|
908
|
+
});
|
|
909
|
+
});
|
|
910
|
+
this.affectedKeys = _toConsumableArray(keysSet.values());
|
|
911
|
+
var configurationModel = new ConfigurationModel();
|
|
912
|
+
this.affectedKeys.forEach(function (key) {
|
|
913
|
+
return configurationModel.setValue(key, {});
|
|
914
|
+
});
|
|
915
|
+
this.affectedKeysTree = configurationModel.contents;
|
|
916
|
+
}
|
|
917
|
+
_createClass(ConfigurationChangeEvent, [{
|
|
918
|
+
key: "previousConfiguration",
|
|
919
|
+
get: function get() {
|
|
920
|
+
if (!this._previousConfiguration && this.previous) {
|
|
921
|
+
this._previousConfiguration = Configuration.parse(this.previous.data);
|
|
922
|
+
}
|
|
923
|
+
return this._previousConfiguration;
|
|
924
|
+
}
|
|
925
|
+
}, {
|
|
926
|
+
key: "affectsConfiguration",
|
|
927
|
+
value: function affectsConfiguration(section, overrides) {
|
|
928
|
+
if (this.doesAffectedKeysTreeContains(this.affectedKeysTree, section)) {
|
|
929
|
+
if (overrides) {
|
|
930
|
+
var _this$previous;
|
|
931
|
+
var value1 = this.previousConfiguration ? this.previousConfiguration.getValue(section, overrides, (_this$previous = this.previous) === null || _this$previous === void 0 ? void 0 : _this$previous.workspace) : undefined;
|
|
932
|
+
var value2 = this.currentConfiguraiton.getValue(section, overrides, this.currentWorkspace);
|
|
933
|
+
return !objects.objectEquals(value1, value2);
|
|
934
|
+
}
|
|
935
|
+
return true;
|
|
936
|
+
}
|
|
937
|
+
return false;
|
|
938
|
+
}
|
|
939
|
+
}, {
|
|
940
|
+
key: "doesAffectedKeysTreeContains",
|
|
941
|
+
value: function doesAffectedKeysTreeContains(affectedKeysTree, section) {
|
|
942
|
+
var requestedTree = toValuesTree(_defineProperty({}, section, true), function () {
|
|
943
|
+
//
|
|
944
|
+
});
|
|
945
|
+
var key;
|
|
946
|
+
while (_typeof(requestedTree) === 'object' && (key = Object.keys(requestedTree)[0])) {
|
|
947
|
+
// Only one key should present, since we added only one property
|
|
948
|
+
affectedKeysTree = affectedKeysTree[key];
|
|
949
|
+
if (!affectedKeysTree) {
|
|
950
|
+
return false; // Requested tree is not found
|
|
951
|
+
}
|
|
952
|
+
requestedTree = requestedTree[key];
|
|
953
|
+
}
|
|
954
|
+
return true;
|
|
955
|
+
}
|
|
956
|
+
}]);
|
|
957
|
+
return ConfigurationChangeEvent;
|
|
958
|
+
}();
|
|
959
|
+
export var AllKeysConfigurationChangeEvent = /*#__PURE__*/function (_ConfigurationChangeE) {
|
|
960
|
+
_inherits(AllKeysConfigurationChangeEvent, _ConfigurationChangeE);
|
|
961
|
+
var _super3 = _createSuper(AllKeysConfigurationChangeEvent);
|
|
962
|
+
function AllKeysConfigurationChangeEvent(configuration, workspace, source, sourceConfig) {
|
|
963
|
+
var _this5;
|
|
964
|
+
_classCallCheck(this, AllKeysConfigurationChangeEvent);
|
|
965
|
+
_this5 = _super3.call(this, {
|
|
966
|
+
keys: configuration.allKeys(),
|
|
967
|
+
overrides: []
|
|
968
|
+
}, undefined, configuration, workspace);
|
|
969
|
+
_this5.source = source;
|
|
970
|
+
_this5.sourceConfig = sourceConfig;
|
|
971
|
+
return _this5;
|
|
972
|
+
}
|
|
973
|
+
return _createClass(AllKeysConfigurationChangeEvent);
|
|
974
|
+
}(ConfigurationChangeEvent);
|