@codingame/monaco-vscode-api 14.0.6 → 15.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/lifecycle.js +1 -1
- package/missing-services.js +100 -9
- package/monaco.d.ts +2 -2
- package/monaco.js +3 -3
- package/package.json +8 -8
- package/services.d.ts +13 -13
- package/services.js +14 -13
- package/vscode/src/vs/base/browser/dom.d.ts +3 -2
- package/vscode/src/vs/base/browser/dom.js +21 -16
- package/vscode/src/vs/base/browser/domImpl/domObservable.d.ts +3 -0
- package/vscode/src/vs/base/browser/domImpl/domObservable.js +16 -0
- package/vscode/src/vs/base/browser/domImpl/n.d.ts +83 -0
- package/vscode/src/vs/base/browser/domImpl/n.js +283 -0
- package/vscode/src/vs/base/browser/markdownRenderer.js +3 -3
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +9 -2
- package/vscode/src/vs/base/browser/ui/button/button.js +58 -2
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.d.ts +5 -2
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +31 -26
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +3 -0
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +2 -3
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +2 -3
- package/vscode/src/vs/base/common/arrays.d.ts +1 -0
- package/vscode/src/vs/base/common/arrays.js +12 -1
- package/vscode/src/vs/base/common/arraysFind.d.ts +2 -2
- package/vscode/src/vs/base/common/arraysFind.js +2 -2
- package/vscode/src/vs/base/common/assert.d.ts +1 -1
- package/vscode/src/vs/base/common/assert.js +2 -2
- package/vscode/src/vs/base/common/async.d.ts +1 -0
- package/vscode/src/vs/base/common/async.js +3 -0
- package/vscode/src/vs/base/common/buffer.d.ts +1 -0
- package/vscode/src/vs/base/common/buffer.js +9 -0
- package/vscode/src/vs/base/common/codicons.d.ts +5 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +5 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +5 -0
- package/vscode/src/vs/base/common/dataTransfer.d.ts +3 -2
- package/vscode/src/vs/base/common/dataTransfer.js +4 -2
- package/vscode/src/vs/base/common/decorators.d.ts +1 -1
- package/vscode/src/vs/base/common/hotReloadHelpers.js +1 -6
- package/vscode/src/vs/base/common/htmlContent.d.ts +4 -0
- package/vscode/src/vs/base/common/htmlContent.js +9 -0
- package/vscode/src/vs/base/common/lifecycle.js +26 -1
- package/vscode/src/vs/base/common/network.d.ts +1 -0
- package/vscode/src/vs/base/common/numbers.d.ts +1 -0
- package/vscode/src/vs/base/common/numbers.js +6 -1
- package/vscode/src/vs/base/common/observableInternal/autorun.d.ts +12 -6
- package/vscode/src/vs/base/common/observableInternal/autorun.js +40 -37
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +13 -8
- package/vscode/src/vs/base/common/observableInternal/base.js +30 -18
- package/vscode/src/vs/base/common/observableInternal/debugName.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/debugName.js +6 -3
- package/vscode/src/vs/base/common/observableInternal/derived.d.ts +12 -7
- package/vscode/src/vs/base/common/observableInternal/derived.js +56 -65
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +1 -1
- package/vscode/src/vs/base/common/observableInternal/index.js +12 -0
- package/vscode/src/vs/base/common/observableInternal/lazyObservableValue.js +10 -10
- package/vscode/src/vs/base/common/observableInternal/logging/consoleObservableLogger.d.ts +39 -0
- package/vscode/src/vs/base/common/observableInternal/{logging.js → logging/consoleObservableLogger.js} +41 -35
- package/vscode/src/vs/base/common/observableInternal/logging/logging.d.ts +28 -0
- package/vscode/src/vs/base/common/observableInternal/logging/logging.js +93 -0
- package/vscode/src/vs/base/common/observableInternal/utils.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/utils.js +17 -14
- package/vscode/src/vs/base/common/path.js +62 -16
- package/vscode/src/vs/base/common/product.d.ts +0 -2
- package/vscode/src/vs/base/common/strings.js +5 -4
- package/vscode/src/vs/base/common/ternarySearchTree.js +18 -9
- package/vscode/src/vs/base/common/types.d.ts +6 -0
- package/vscode/src/vs/base/common/types.js +4 -1
- package/vscode/src/vs/base/common/uuid.js +38 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/editContextFactory.d.ts +0 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/editContextFactory.js +0 -4
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +1 -1
- package/vscode/src/vs/editor/browser/editorExtensions.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +4 -7
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +11 -1
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +38 -7
- package/vscode/src/vs/editor/browser/point.d.ts +1 -0
- package/vscode/src/vs/editor/browser/point.js +3 -0
- package/vscode/src/vs/editor/browser/rect.d.ts +15 -6
- package/vscode/src/vs/editor/browser/rect.js +41 -10
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.d.ts +3 -2
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +15 -15
- package/vscode/src/vs/editor/browser/services/bulkEditService.d.ts +2 -8
- package/vscode/src/vs/editor/browser/services/bulkEditService.js +1 -3
- package/vscode/src/vs/editor/browser/services/bulkEditService.service.d.ts +10 -0
- package/vscode/src/vs/editor/browser/services/bulkEditService.service.js +6 -0
- package/vscode/src/vs/editor/browser/services/codeEditorService.d.ts +1 -43
- package/vscode/src/vs/editor/browser/services/codeEditorService.service.d.ts +45 -0
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +6 -5
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +4 -4
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +5 -3
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +31 -8
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +14 -4
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/markerDecorations.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/markerDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/services/openerService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/openerService.js +8 -6
- package/vscode/src/vs/editor/browser/view.js +7 -10
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +22 -24
- package/vscode/src/vs/editor/browser/viewParts/rulersGpu/rulersGpu.js +1 -6
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +4 -7
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +3 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +8 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.d.ts +3 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +3 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +13 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +2 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +4 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +2 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +5 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +4 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +9 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +6 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.d.ts +2 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.service.d.ts +7 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.service.js +6 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/embeddedDiffEditorWidget.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/embeddedDiffEditorWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +8 -10
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +4 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +5 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +4 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +3 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +4 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +3 -6
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +4 -4
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +4 -3
- package/vscode/src/vs/editor/common/commands/shiftCommand.d.ts +1 -1
- package/vscode/src/vs/editor/common/commands/shiftCommand.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +43 -37
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +5 -1
- package/vscode/src/vs/editor/common/config/editorOptions.js +426 -385
- package/vscode/src/vs/editor/common/config/fontInfo.d.ts +2 -0
- package/vscode/src/vs/editor/common/config/fontInfo.js +1 -1
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/offsetEdit.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/offsetEdit.js +63 -1
- package/vscode/src/vs/editor/common/core/range.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/range.js +9 -0
- package/vscode/src/vs/editor/common/cursorCommon.d.ts +1 -1
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/autoIndent.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/enterAction.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/language.d.ts +0 -28
- package/vscode/src/vs/editor/common/languages/language.service.d.ts +31 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.d.ts +2 -8
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +3 -4
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.service.d.ts +11 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.service.js +6 -0
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +14 -1
- package/vscode/src/vs/editor/common/languages/supports/indentationLineProcessor.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages/textToHtmlTokenizer.d.ts +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +20 -3
- package/vscode/src/vs/editor/common/languages.js +31 -27
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.d.ts +2 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/fixBrackets.d.ts +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/model/guidesTextModelPart.d.ts +1 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +4 -2
- package/vscode/src/vs/editor/common/model/textModel.js +14 -11
- package/vscode/src/vs/editor/common/model/textModelOffsetEdit.d.ts +10 -0
- package/vscode/src/vs/editor/common/model/textModelOffsetEdit.js +39 -0
- package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +4 -0
- package/vscode/src/vs/editor/common/model/textModelTokens.js +23 -19
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.d.ts +3 -2
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +5 -2
- package/vscode/src/vs/editor/common/model/tokens.d.ts +3 -3
- package/vscode/src/vs/editor/common/model/tokens.js +0 -4
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.service.d.ts +21 -0
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.service.js +6 -0
- package/vscode/src/vs/editor/common/model/treeSitterTokens.d.ts +7 -1
- package/vscode/src/vs/editor/common/model/treeSitterTokens.js +14 -1
- package/vscode/src/vs/editor/common/services/editorWorker.d.ts +0 -25
- package/vscode/src/vs/editor/common/services/editorWorker.service.d.ts +27 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.d.ts +2 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.js +43 -20
- package/vscode/src/vs/editor/common/services/getIconClasses.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.d.ts +1 -9
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.js +2 -3
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.service.d.ts +11 -0
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.service.js +6 -0
- package/vscode/src/vs/editor/common/services/{languageFeatures.d.ts → languageFeatures.service.d.ts} +1 -1
- package/vscode/src/vs/editor/common/services/languageFeaturesService.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +1 -1
- package/vscode/src/vs/editor/common/services/languageService.d.ts +2 -1
- package/vscode/src/vs/editor/common/services/languageService.js +1 -4
- package/vscode/src/vs/editor/common/services/markerDecorationsService.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/markerDecorationsService.js +1 -1
- package/vscode/src/vs/editor/common/services/model.d.ts +0 -20
- package/vscode/src/vs/editor/common/services/model.service.d.ts +20 -0
- package/vscode/src/vs/editor/common/services/modelService.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/modelService.js +1 -1
- package/vscode/src/vs/editor/common/services/resolverService.service.d.ts +10 -0
- package/vscode/src/vs/editor/common/services/resolverService.service.js +6 -0
- package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.js +1 -1
- package/vscode/src/vs/editor/common/services/semanticTokensStyling.d.ts +0 -6
- package/vscode/src/vs/editor/common/services/semanticTokensStyling.service.d.ts +7 -0
- package/vscode/src/vs/editor/common/services/semanticTokensStylingService.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/semanticTokensStylingService.js +2 -2
- package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +0 -17
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +19 -0
- package/vscode/src/vs/editor/common/services/treeSitterParserService.service.d.ts +27 -0
- package/vscode/src/vs/editor/common/services/{treeSitterParserService.js → treeSitterParserService.service.js} +2 -2
- package/vscode/src/vs/editor/common/services/treeViewsDndService.service.js +6 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +2 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +1 -0
- package/vscode/src/vs/editor/common/standaloneStrings.d.ts +6 -0
- package/vscode/src/vs/editor/common/standaloneStrings.js +72 -43
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +1 -1
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +20 -20
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +15 -11
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.d.ts +7 -9
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +18 -22
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.d.ts +6 -7
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +15 -16
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.service.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.service.js +6 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.js +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +6 -5
- package/vscode/src/vs/editor/contrib/colorPicker/browser/color.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +3 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/comment/browser/blockCommentCommand.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +8 -9
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/documentSymbols.js +2 -2
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.d.ts +4 -10
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.js +5 -6
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.service.d.ts +10 -0
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.service.js +6 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +25 -33
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +9 -9
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +5 -5
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +18 -7
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +2 -3
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.service.d.ts +8 -0
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.service.js +6 -0
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +24 -24
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/folding/browser/indentRangeProvider.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/format.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/format/browser/format.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +5 -5
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +10 -10
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +18 -15
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.service.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.service.js +6 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +42 -42
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToSymbol.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +4 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +4 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +4 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.d.ts +6 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +54 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/{symbolNavigation.d.ts → symbolNavigation.service.d.ts} +0 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.service.js +6 -0
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +8 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +14 -13
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverController.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverController.js +7 -10
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.js +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +12 -12
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +12 -11
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +3 -3
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +22 -22
- package/vscode/src/vs/editor/contrib/indentation/common/indentation.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.d.ts +4 -7
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +6 -6
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.service.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.service.js +6 -0
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +11 -11
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commandIds.js +4 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +57 -31
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +17 -17
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +20 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.d.ts +7 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +52 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +3 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/animation.d.ts +25 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/animation.js +84 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.js +2 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +9 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.js +11 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +19 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +163 -49
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +16 -22
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +265 -215
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.js +1 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.js +5 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +3 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +9 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +1 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +7 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +30 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +139 -48
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +12 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +196 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.d.ts +30 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{gutterIndicatorView.js → components/gutterIndicatorView.js} +62 -99
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{indicatorView.d.ts → components/indicatorView.d.ts} +5 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{indicatorView.js → components/indicatorView.js} +24 -26
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +18 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +26 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{view.d.ts → inlineEditsView.d.ts} +18 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{view.js → inlineEditsView.js} +147 -96
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +17 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{deletionView.d.ts → inlineEditsViews/inlineEditsDeletionView.d.ts} +12 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{deletionView.js → inlineEditsViews/inlineEditsDeletionView.js} +20 -14
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.d.ts +37 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{insertionView.js → inlineEditsViews/inlineEditsInsertionView.js} +92 -51
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.d.ts +34 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +326 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.d.ts +58 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{sideBySideDiff.js → inlineEditsViews/inlineEditsSideBySideView.js} +90 -196
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +32 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +274 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineDiffView.d.ts → inlineEditsViews/originalEditorInlineDiffView.d.ts} +10 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineDiffView.js → inlineEditsViews/originalEditorInlineDiffView.js} +35 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.d.ts +18 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +96 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.d.ts +81 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +228 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/viewAndDiffProducer.d.ts +0 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/viewAndDiffProducer.js +8 -35
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +29 -0
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLineCommand.d.ts +12 -0
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLineCommand.js +32 -0
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
- package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.js +1 -1
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +6 -6
- package/vscode/src/vs/editor/contrib/links/browser/getLinks.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +12 -12
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +23 -23
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +2 -2
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.d.ts +2 -4
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +7 -18
- package/vscode/src/vs/editor/contrib/parameterHints/browser/provideSignatureHelp.js +2 -2
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.d.ts +0 -5
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +26 -21
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.service.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.service.js +6 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +4 -5
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +15 -15
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +3 -2
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.js +4 -4
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.js +3 -3
- package/vscode/src/vs/editor/contrib/semanticTokens/common/getSemanticTokens.js +2 -2
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +6 -6
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +3 -3
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +5 -5
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +3 -3
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +3 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.d.ts +5 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +6 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.service.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.service.js +6 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordDistance.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +37 -35
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +26 -26
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +6 -6
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/textualHighlightProvider.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/textualHighlightProvider.js +1 -1
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +16 -16
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +2 -2
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.d.ts +2 -1
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +4 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +6 -6
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +7 -7
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditorService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.d.ts +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +13 -12
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.d.ts +4 -3
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.d.ts +5 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.js +6 -0
- package/vscode/src/vs/editor/standalone/common/standaloneTheme.d.ts +0 -11
- package/vscode/src/vs/editor/standalone/common/standaloneTheme.service.d.ts +12 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +2 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -57
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +13 -255
- package/vscode/src/vs/platform/actionWidget/browser/{actionWidget.d.ts → actionWidget.service.d.ts} +1 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.service.js +6 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +14 -18
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +5 -1
- package/vscode/src/vs/platform/actions/common/actions.js +5 -1
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/contextview/browser/contextMenuHandler.js +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +8 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +20 -7
- package/vscode/src/vs/platform/environment/common/argv.d.ts +2 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +7 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +2 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +6 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +20 -17
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.service.d.ts +2 -3
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +8 -5
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +10 -7
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/files/common/files.service.d.ts +3 -1
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +2 -2
- package/vscode/src/vs/platform/hover/browser/hover.d.ts +8 -4
- package/vscode/src/vs/platform/hover/browser/hover.js +8 -5
- package/vscode/src/vs/platform/hover/browser/hover.service.d.ts +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/label/common/label.service.d.ts +1 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.d.ts +1 -0
- package/vscode/src/vs/platform/markers/common/markers.js +11 -3
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +2 -6
- package/vscode/src/vs/platform/observable/common/wrapInHotClass.js +1 -7
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +1 -7
- package/vscode/src/vs/platform/opener/common/opener.d.ts +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +11 -11
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +11 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.d.ts +2 -4
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +8 -9
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +19 -21
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.d.ts +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +5 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +8 -9
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +1 -0
- package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.d.ts +2 -1
- package/vscode/src/vs/platform/request/common/request.js +18 -18
- package/vscode/src/vs/platform/severityIcon/browser/media/severityIcon.css.js +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +0 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +2 -3
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +13 -1
- package/vscode/src/vs/platform/terminal/common/terminal.js +2 -1
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +2 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +19 -19
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +94 -94
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +37 -37
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +3 -0
- package/vscode/src/vs/platform/theme/common/themeService.js +1 -1
- package/vscode/src/vs/platform/theme/common/themeService.service.d.ts +2 -2
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +2 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +5 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +1 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +7 -6
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +2 -2
- package/vscode/src/vs/platform/window/common/window.d.ts +9 -8
- package/vscode/src/vs/platform/window/common/window.js +6 -11
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/platform/workspaces/common/workspaces.service.d.ts +2 -2
- package/vscode/src/vs/workbench/api/browser/statusBarService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +30 -30
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +0 -2
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +91 -34
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +1 -10
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +4 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +21 -22
- package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +10 -2
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.d.ts +3 -1
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +7 -1
- package/vscode/src/vs/workbench/api/common/extHostDocuments.d.ts +5 -1
- package/vscode/src/vs/workbench/api/common/extHostDocuments.js +26 -3
- package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.d.ts +0 -2
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +2 -6
- package/vscode/src/vs/workbench/api/common/extHostInteractive.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostLabelService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +89 -35
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +42 -22
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +23 -23
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +9 -0
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.d.ts +1 -5
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +7 -24
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +19 -6
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +37 -16
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +147 -41
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +46 -15
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +41 -12
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +6 -0
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +9 -1
- package/vscode/src/vs/workbench/api/common/extensionHostMain.js +0 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/api/worker/extHost.worker.services.js +3 -0
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +31 -37
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +37 -2
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +2 -2
- package/vscode/src/vs/workbench/common/contextkeys.js +72 -78
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor.d.ts +2 -2
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.d.ts +18 -16
- package/vscode/src/vs/workbench/common/theme.js +239 -231
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +1 -3
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +165 -145
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +20 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +136 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +2 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +36 -31
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +48 -18
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +7 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +7 -10
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementsService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementsService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/{browser → common}/chatQuotasService.service.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +37 -14
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +5 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +8 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +4 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +35 -18
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +14 -14
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +7 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +9 -18
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/workbenchReferenceSearch.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/workbenchReferenceSearch.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +22 -22
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +5 -5
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +6 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +9 -5
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookSynchronizerService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +5 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +11 -11
- package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.js +1 -1
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +5 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +2 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +0 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +1 -4
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +0 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +83 -83
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +6 -3
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.js +1 -1
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +8 -7
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -11
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +52 -13
- package/vscode-dts/vscode.proposed.authLearnMore.d.ts +1 -1
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +40 -27
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +54 -6
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +1 -0
- package/vscode-dts/vscode.proposed.chatReferenceBinaryData.d.ts +2 -2
- package/vscode-dts/vscode.proposed.chatReferenceDiagnostic.d.ts +23 -0
- package/vscode-dts/vscode.proposed.d.ts +3 -2
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +38 -1
- package/vscode-dts/vscode.proposed.inlineEdit.d.ts +2 -0
- package/vscode-dts/vscode.proposed.languageModelCapabilities.d.ts +25 -0
- package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +1 -0
- package/vscode-dts/vscode.proposed.resolvers.d.ts +1 -1
- package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +18 -10
- package/vscode-dts/vscode.proposed.terminalShellEnv.d.ts +19 -1
- package/vscode-dts/vscode.proposed.textDocumentEncoding.d.ts +155 -0
- package/vscode-dts/vscode.proposed.textEditorDiffInformation.d.ts +7 -8
- package/vscode-dts/vscode.proposed.tunnelFactory.d.ts +1 -1
- package/workbench.d.ts +1 -1
- package/vscode/src/vs/base/browser/domObservable.d.ts +0 -3
- package/vscode/src/vs/base/browser/domObservable.js +0 -20
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +0 -79
- package/vscode/src/vs/base/common/observableInternal/logging.d.ts +0 -54
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +0 -127
- package/vscode/src/vs/editor/common/model/tokenStore.d.ts +0 -59
- package/vscode/src/vs/editor/common/model/tokenStore.js +0 -384
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.d.ts +0 -44
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.js +0 -114
- package/vscode/src/vs/editor/common/services/resolverService.d.ts +0 -29
- package/vscode/src/vs/editor/common/services/resolverService.js +0 -10
- package/vscode/src/vs/editor/common/services/treeSitterParserService.d.ts +0 -42
- package/vscode/src/vs/editor/common/services/treeViewsDndService.js +0 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.d.ts +0 -21
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +0 -95
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.d.ts +0 -41
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +0 -217
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +0 -180
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorMenu.d.ts +0 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorMenu.js +0 -143
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorView.d.ts +0 -37
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/insertionView.d.ts +0 -32
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/sideBySideDiff.d.ts +0 -71
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.d.ts +0 -151
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.js +0 -476
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/wordReplacementView.d.ts +0 -58
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/wordReplacementView.js +0 -520
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.d.ts +0 -72
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.js +0 -234
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +0 -231
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.d.ts +0 -39
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +0 -145
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.d.ts +0 -14
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +0 -106
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.d.ts +0 -12
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +0 -247
- package/vscode/src/vs/workbench/common/activity.d.ts +0 -2
- package/vscode/src/vs/workbench/common/activity.js +0 -6
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +0 -44
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +0 -166
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +0 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +0 -540
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.d.ts +0 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +0 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +0 -136
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +0 -51
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.d.ts +0 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.js +0 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.d.ts +0 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.js +0 -309
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.d.ts +0 -81
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.js +0 -681
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.d.ts +0 -57
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +0 -169
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.js +0 -296
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.d.ts +0 -41
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.js +0 -198
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.d.ts +0 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.js +0 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditorController.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditorOverlay.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +0 -134
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.d.ts +0 -444
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +0 -991
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +0 -112
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +0 -181
- package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.d.ts +0 -35
- package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.js +0 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.d.ts +0 -234
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +0 -375
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +0 -38
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.d.ts +0 -12
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +0 -42
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +0 -167
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +0 -85
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.js +0 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.d.ts +0 -602
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +0 -143
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.d.ts +0 -60
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +0 -316
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +0 -73
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.d.ts +0 -36
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.js +0 -11
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.d.ts +0 -51
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +0 -95
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +0 -63
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +0 -164
- package/vscode-dts/vscode.proposed.chatVariableResolver.d.ts +0 -110
- package/vscode-dts/vscode.proposed.createFileSystemWatcher.d.ts +0 -51
- package/vscode/src/vs/editor/browser/services/{codeEditorService.js → codeEditorService.service.js} +0 -0
- package/vscode/src/vs/editor/common/languages/{language.js → language.service.js} +0 -0
- package/vscode/src/vs/editor/common/services/{editorWorker.js → editorWorker.service.js} +0 -0
- package/vscode/src/vs/editor/common/services/{languageFeatures.js → languageFeatures.service.js} +0 -0
- package/vscode/src/vs/editor/common/services/{markerDecorations.d.ts → markerDecorations.service.d.ts} +4 -4
- /package/vscode/src/vs/editor/common/services/{markerDecorations.js → markerDecorations.service.js} +0 -0
- /package/vscode/src/vs/editor/common/services/{model.js → model.service.js} +0 -0
- /package/vscode/src/vs/editor/common/services/{semanticTokensStyling.js → semanticTokensStyling.service.js} +0 -0
- /package/vscode/src/vs/editor/common/services/{textResourceConfiguration.js → textResourceConfiguration.service.js} +0 -0
- /package/vscode/src/vs/editor/common/services/{treeViewsDndService.d.ts → treeViewsDndService.service.d.ts} +0 -0
- /package/vscode/src/vs/editor/standalone/common/{standaloneTheme.js → standaloneTheme.service.js} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/{browser → common}/chatQuotasService.service.js +0 -0
|
@@ -7,7 +7,7 @@ import { strictEquals } from '../equals.js';
|
|
|
7
7
|
import { Event } from '../event.js';
|
|
8
8
|
import { toDisposable, DisposableStore } from '../lifecycle.js';
|
|
9
9
|
import { derivedOpts, derived } from './derived.js';
|
|
10
|
-
import { getLogger } from './logging.js';
|
|
10
|
+
import { getLogger } from './logging/logging.js';
|
|
11
11
|
|
|
12
12
|
function constObservable(value) {
|
|
13
13
|
return ( new ConstObservable(value));
|
|
@@ -27,6 +27,9 @@ class ConstObservable extends ConvenientObservable {
|
|
|
27
27
|
}
|
|
28
28
|
removeObserver(observer) {
|
|
29
29
|
}
|
|
30
|
+
log() {
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
30
33
|
toString() {
|
|
31
34
|
return `Const: ${this.value}`;
|
|
32
35
|
}
|
|
@@ -72,8 +75,8 @@ class FromEventObservable extends BaseObservable {
|
|
|
72
75
|
if (this.hasValue) {
|
|
73
76
|
didRunTransaction = true;
|
|
74
77
|
subtransaction(this._getTransaction(), (tx) => {
|
|
75
|
-
getLogger()?.
|
|
76
|
-
for (const o of this.
|
|
78
|
+
getLogger()?.handleObservableUpdated(this, { oldValue, newValue, change: undefined, didChange, hadValue: this.hasValue });
|
|
79
|
+
for (const o of this._observers) {
|
|
77
80
|
tx.updateObserver(o, this);
|
|
78
81
|
o.handleChange(this, undefined);
|
|
79
82
|
}
|
|
@@ -85,7 +88,7 @@ class FromEventObservable extends BaseObservable {
|
|
|
85
88
|
this.hasValue = true;
|
|
86
89
|
}
|
|
87
90
|
if (!didRunTransaction) {
|
|
88
|
-
getLogger()?.
|
|
91
|
+
getLogger()?.handleObservableUpdated(this, { oldValue, newValue, change: undefined, didChange, hadValue: this.hasValue });
|
|
89
92
|
}
|
|
90
93
|
};
|
|
91
94
|
}
|
|
@@ -146,7 +149,7 @@ class FromEventObservableSignal extends BaseObservable {
|
|
|
146
149
|
this.event = event;
|
|
147
150
|
this.handleEvent = () => {
|
|
148
151
|
transaction((tx) => {
|
|
149
|
-
for (const o of this.
|
|
152
|
+
for (const o of this._observers) {
|
|
150
153
|
tx.updateObserver(o, this);
|
|
151
154
|
o.handleChange(this, undefined);
|
|
152
155
|
}
|
|
@@ -193,7 +196,7 @@ class ObservableSignal extends BaseObservable {
|
|
|
193
196
|
}, () => `Trigger signal ${this.debugName}`);
|
|
194
197
|
return;
|
|
195
198
|
}
|
|
196
|
-
for (const o of this.
|
|
199
|
+
for (const o of this._observers) {
|
|
197
200
|
tx.updateObserver(o, this);
|
|
198
201
|
o.handleChange(this, change);
|
|
199
202
|
}
|
|
@@ -201,7 +204,7 @@ class ObservableSignal extends BaseObservable {
|
|
|
201
204
|
get() {
|
|
202
205
|
}
|
|
203
206
|
}
|
|
204
|
-
function
|
|
207
|
+
function debouncedObservable(observable, debounceMs) {
|
|
205
208
|
let hasValue = false;
|
|
206
209
|
let lastValue;
|
|
207
210
|
let timeout = undefined;
|
|
@@ -263,11 +266,11 @@ _setKeepObserved(keepObserved);
|
|
|
263
266
|
function recomputeInitiallyAndOnChange(observable, handleValue) {
|
|
264
267
|
const o = ( new KeepAliveObserver(true, handleValue));
|
|
265
268
|
observable.addObserver(o);
|
|
266
|
-
|
|
267
|
-
|
|
269
|
+
try {
|
|
270
|
+
o.beginUpdate(observable);
|
|
268
271
|
}
|
|
269
|
-
|
|
270
|
-
|
|
272
|
+
finally {
|
|
273
|
+
o.endUpdate(observable);
|
|
271
274
|
}
|
|
272
275
|
return toDisposable(() => {
|
|
273
276
|
observable.removeObserver(o);
|
|
@@ -284,8 +287,7 @@ class KeepAliveObserver {
|
|
|
284
287
|
this._counter++;
|
|
285
288
|
}
|
|
286
289
|
endUpdate(observable) {
|
|
287
|
-
this._counter
|
|
288
|
-
if (this._counter === 0 && this._forceRecompute) {
|
|
290
|
+
if (this._counter === 1 && this._forceRecompute) {
|
|
289
291
|
if (this._handleValue) {
|
|
290
292
|
this._handleValue(observable.get());
|
|
291
293
|
}
|
|
@@ -293,6 +295,7 @@ class KeepAliveObserver {
|
|
|
293
295
|
observable.reportChanges();
|
|
294
296
|
}
|
|
295
297
|
}
|
|
298
|
+
this._counter--;
|
|
296
299
|
}
|
|
297
300
|
handlePossibleChange(observable) {
|
|
298
301
|
}
|
|
@@ -469,4 +472,4 @@ function runOnChangeWithStore(observable, cb) {
|
|
|
469
472
|
};
|
|
470
473
|
}
|
|
471
474
|
|
|
472
|
-
export { FromEventObservable, KeepAliveObserver, ValueWithChangeEventFromObservable, constObservable,
|
|
475
|
+
export { FromEventObservable, KeepAliveObserver, ValueWithChangeEventFromObservable, constObservable, debouncedObservable, derivedConstOnceDefined, derivedObservableWithCache, derivedObservableWithWritableCache, keepObserved, latestChangedValue, mapObservableArrayCached, observableFromEvent, observableFromEventOpts, observableFromPromise, observableFromValueWithChangeEvent, observableSignal, observableSignalFromEvent, recomputeInitiallyAndOnChange, runOnChange, runOnChangeWithStore, wasEventTriggeredRecently };
|
|
@@ -297,6 +297,19 @@ const win32 = {
|
|
|
297
297
|
if (tail.length > 0 && isPathSeparator(path.charCodeAt(len - 1))) {
|
|
298
298
|
tail += '\\';
|
|
299
299
|
}
|
|
300
|
+
if (!isAbsolute && device === undefined && path.includes(':')) {
|
|
301
|
+
if (tail.length >= 2 &&
|
|
302
|
+
isWindowsDeviceRoot(tail.charCodeAt(0)) &&
|
|
303
|
+
tail.charCodeAt(1) === CHAR_COLON) {
|
|
304
|
+
return `.\\${tail}`;
|
|
305
|
+
}
|
|
306
|
+
let index = path.indexOf(':');
|
|
307
|
+
do {
|
|
308
|
+
if (index === len - 1 || isPathSeparator(path.charCodeAt(index + 1))) {
|
|
309
|
+
return `.\\${tail}`;
|
|
310
|
+
}
|
|
311
|
+
} while ((index = path.indexOf(':', index + 1)) !== -1);
|
|
312
|
+
}
|
|
300
313
|
if (device === undefined) {
|
|
301
314
|
return isAbsolute ? `\\${tail}` : tail;
|
|
302
315
|
}
|
|
@@ -380,6 +393,38 @@ const win32 = {
|
|
|
380
393
|
if (from === to) {
|
|
381
394
|
return '';
|
|
382
395
|
}
|
|
396
|
+
if (fromOrig.length !== from.length || toOrig.length !== to.length) {
|
|
397
|
+
const fromSplit = fromOrig.split('\\');
|
|
398
|
+
const toSplit = toOrig.split('\\');
|
|
399
|
+
if (fromSplit[fromSplit.length - 1] === '') {
|
|
400
|
+
fromSplit.pop();
|
|
401
|
+
}
|
|
402
|
+
if (toSplit[toSplit.length - 1] === '') {
|
|
403
|
+
toSplit.pop();
|
|
404
|
+
}
|
|
405
|
+
const fromLen = fromSplit.length;
|
|
406
|
+
const toLen = toSplit.length;
|
|
407
|
+
const length = fromLen < toLen ? fromLen : toLen;
|
|
408
|
+
let i;
|
|
409
|
+
for (i = 0; i < length; i++) {
|
|
410
|
+
if (fromSplit[i].toLowerCase() !== toSplit[i].toLowerCase()) {
|
|
411
|
+
break;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
if (i === 0) {
|
|
415
|
+
return toOrig;
|
|
416
|
+
}
|
|
417
|
+
else if (i === length) {
|
|
418
|
+
if (toLen > length) {
|
|
419
|
+
return toSplit.slice(i).join('\\');
|
|
420
|
+
}
|
|
421
|
+
if (fromLen > length) {
|
|
422
|
+
return '..\\'.repeat(fromLen - 1 - i) + '..';
|
|
423
|
+
}
|
|
424
|
+
return '';
|
|
425
|
+
}
|
|
426
|
+
return '..\\'.repeat(fromLen - i) + toSplit.slice(i).join('\\');
|
|
427
|
+
}
|
|
383
428
|
let fromStart = 0;
|
|
384
429
|
while (fromStart < from.length &&
|
|
385
430
|
from.charCodeAt(fromStart) === CHAR_BACKWARD_SLASH) {
|
|
@@ -476,7 +521,7 @@ const win32 = {
|
|
|
476
521
|
resolvedPath.charCodeAt(2) === CHAR_BACKWARD_SLASH) {
|
|
477
522
|
return `\\\\?\\${resolvedPath}`;
|
|
478
523
|
}
|
|
479
|
-
return
|
|
524
|
+
return resolvedPath;
|
|
480
525
|
},
|
|
481
526
|
dirname(path) {
|
|
482
527
|
validateString(path, 'path');
|
|
@@ -797,8 +842,8 @@ const posix = {
|
|
|
797
842
|
resolve(...pathSegments) {
|
|
798
843
|
let resolvedPath = '';
|
|
799
844
|
let resolvedAbsolute = false;
|
|
800
|
-
for (let i = pathSegments.length - 1; i >=
|
|
801
|
-
const path =
|
|
845
|
+
for (let i = pathSegments.length - 1; i >= 0 && !resolvedAbsolute; i--) {
|
|
846
|
+
const path = pathSegments[i];
|
|
802
847
|
validateString(path, `paths[${i}]`);
|
|
803
848
|
if (path.length === 0) {
|
|
804
849
|
continue;
|
|
@@ -806,6 +851,12 @@ const posix = {
|
|
|
806
851
|
resolvedPath = `${path}/${resolvedPath}`;
|
|
807
852
|
resolvedAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH;
|
|
808
853
|
}
|
|
854
|
+
if (!resolvedAbsolute) {
|
|
855
|
+
const cwd = posixCwd();
|
|
856
|
+
resolvedPath = `${cwd}/${resolvedPath}`;
|
|
857
|
+
resolvedAbsolute =
|
|
858
|
+
cwd.charCodeAt(0) === CHAR_FORWARD_SLASH;
|
|
859
|
+
}
|
|
809
860
|
resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, '/', isPosixPathSeparator);
|
|
810
861
|
if (resolvedAbsolute) {
|
|
811
862
|
return `/${resolvedPath}`;
|
|
@@ -839,23 +890,18 @@ const posix = {
|
|
|
839
890
|
if (paths.length === 0) {
|
|
840
891
|
return '.';
|
|
841
892
|
}
|
|
842
|
-
|
|
893
|
+
const path = [];
|
|
843
894
|
for (let i = 0; i < paths.length; ++i) {
|
|
844
895
|
const arg = paths[i];
|
|
845
896
|
validateString(arg, 'path');
|
|
846
897
|
if (arg.length > 0) {
|
|
847
|
-
|
|
848
|
-
joined = arg;
|
|
849
|
-
}
|
|
850
|
-
else {
|
|
851
|
-
joined += `/${arg}`;
|
|
852
|
-
}
|
|
898
|
+
path.push(arg);
|
|
853
899
|
}
|
|
854
900
|
}
|
|
855
|
-
if (
|
|
901
|
+
if (path.length === 0) {
|
|
856
902
|
return '.';
|
|
857
903
|
}
|
|
858
|
-
return posix.normalize(
|
|
904
|
+
return posix.normalize(path.join('/'));
|
|
859
905
|
},
|
|
860
906
|
relative(from, to) {
|
|
861
907
|
validateString(from, 'from');
|
|
@@ -943,7 +989,7 @@ const posix = {
|
|
|
943
989
|
},
|
|
944
990
|
basename(path, suffix) {
|
|
945
991
|
if (suffix !== undefined) {
|
|
946
|
-
validateString(suffix, '
|
|
992
|
+
validateString(suffix, 'suffix');
|
|
947
993
|
}
|
|
948
994
|
validateString(path, 'path');
|
|
949
995
|
let start = 0;
|
|
@@ -1015,8 +1061,8 @@ const posix = {
|
|
|
1015
1061
|
let matchedSlash = true;
|
|
1016
1062
|
let preDotState = 0;
|
|
1017
1063
|
for (let i = path.length - 1; i >= 0; --i) {
|
|
1018
|
-
const
|
|
1019
|
-
if (
|
|
1064
|
+
const char = path[i];
|
|
1065
|
+
if (char === '/') {
|
|
1020
1066
|
if (!matchedSlash) {
|
|
1021
1067
|
startPart = i + 1;
|
|
1022
1068
|
break;
|
|
@@ -1027,7 +1073,7 @@ const posix = {
|
|
|
1027
1073
|
matchedSlash = false;
|
|
1028
1074
|
end = i + 1;
|
|
1029
1075
|
}
|
|
1030
|
-
if (
|
|
1076
|
+
if (char === '.') {
|
|
1031
1077
|
if (startDot === -1) {
|
|
1032
1078
|
startDot = i;
|
|
1033
1079
|
}
|
|
@@ -89,8 +89,6 @@ export interface IProductConfiguration {
|
|
|
89
89
|
};
|
|
90
90
|
readonly extensionsGallery?: {
|
|
91
91
|
readonly serviceUrl: string;
|
|
92
|
-
readonly servicePPEUrl?: string;
|
|
93
|
-
readonly searchUrl?: string;
|
|
94
92
|
readonly itemUrl: string;
|
|
95
93
|
readonly publisherUrl: string;
|
|
96
94
|
readonly resourceUrlTemplate: string;
|
|
@@ -738,11 +738,12 @@ var CodePoint;
|
|
|
738
738
|
CodePoint[CodePoint["zwj"] = 8205] = "zwj";
|
|
739
739
|
CodePoint[CodePoint["emojiVariantSelector"] = 65039] = "emojiVariantSelector";
|
|
740
740
|
CodePoint[CodePoint["enclosingKeyCap"] = 8419] = "enclosingKeyCap";
|
|
741
|
+
CodePoint[CodePoint["space"] = 32] = "space";
|
|
741
742
|
})(CodePoint || (CodePoint = {}));
|
|
742
743
|
const noBreakWhitespace = '\xa0';
|
|
743
744
|
class AmbiguousCharacters {
|
|
744
745
|
static { this.ambiguousCharacterData = ( new Lazy(() => {
|
|
745
|
-
return JSON.parse('{\"_common\":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],\"_default\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"cs\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"de\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"es\":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"fr\":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"it\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"ja\":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],\"ko\":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"pl\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"pt-BR\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"qps-ploc\":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"ru\":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"tr\":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],\"zh-hans\":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],\"zh-hant\":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}');
|
|
746
|
+
return JSON.parse('{\"_common\":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,1523,96,8242,96,1370,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,118002,50,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,118003,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,118004,52,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,118005,53,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,118006,54,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,118007,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,118008,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,118009,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,117974,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,117975,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71913,67,71922,67,65315,67,8557,67,8450,67,8493,67,117976,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,117977,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,117978,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,117979,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,117980,71,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,117981,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,117983,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,117984,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,118001,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,117982,108,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,117985,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,117986,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,117987,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,118000,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,117988,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,117989,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,117990,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,117991,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,117992,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,117993,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,117994,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,117995,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71910,87,71919,87,117996,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,117997,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,117998,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,71909,90,66293,90,65338,90,8484,90,8488,90,117999,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65283,35,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],\"_default\":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],\"cs\":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],\"de\":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],\"es\":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],\"fr\":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],\"it\":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],\"ja\":[8211,45,8218,44,65281,33,8216,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65292,44,65297,49,65307,59],\"ko\":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],\"pl\":[65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],\"pt-BR\":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],\"qps-ploc\":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],\"ru\":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],\"tr\":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],\"zh-hans\":[160,32,65374,126,8218,44,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65297,49],\"zh-hant\":[8211,45,65374,126,8218,44,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89]}');
|
|
746
747
|
})); }
|
|
747
748
|
static { this.cache = ( new LRUCachedFunction({ getCacheKey: JSON.stringify }, (locales) => {
|
|
748
749
|
function arrayToMap(arr) {
|
|
@@ -816,12 +817,12 @@ class AmbiguousCharacters {
|
|
|
816
817
|
}
|
|
817
818
|
class InvisibleCharacters {
|
|
818
819
|
static getRawData() {
|
|
819
|
-
return JSON.parse('[
|
|
820
|
+
return JSON.parse('{\"_common\":[11,12,13,127,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999],\"cs\":[173,8203,12288],\"de\":[173,8203,12288],\"es\":[8203,12288],\"fr\":[173,8203,12288],\"it\":[160,173,12288],\"ja\":[173],\"ko\":[173,12288],\"pl\":[173,8203,12288],\"pt-BR\":[173,8203,12288],\"qps-ploc\":[160,173,8203,12288],\"ru\":[173,12288],\"tr\":[160,173,8203,12288],\"zh-hans\":[160,173,8203,12288],\"zh-hant\":[173,12288]}');
|
|
820
821
|
}
|
|
821
822
|
static { this._data = undefined; }
|
|
822
823
|
static getData() {
|
|
823
824
|
if (!this._data) {
|
|
824
|
-
this._data = ( new Set(InvisibleCharacters.getRawData()));
|
|
825
|
+
this._data = ( new Set([...( Object.values(InvisibleCharacters.getRawData()))].flat()));
|
|
825
826
|
}
|
|
826
827
|
return this._data;
|
|
827
828
|
}
|
|
@@ -831,7 +832,7 @@ class InvisibleCharacters {
|
|
|
831
832
|
static containsInvisibleCharacter(str) {
|
|
832
833
|
for (let i = 0; i < str.length; i++) {
|
|
833
834
|
const codePoint = str.codePointAt(i);
|
|
834
|
-
if (typeof codePoint === 'number' && InvisibleCharacters.isInvisibleCharacter(codePoint)) {
|
|
835
|
+
if (typeof codePoint === 'number' && (InvisibleCharacters.isInvisibleCharacter(codePoint) || codePoint === CodePoint.space)) {
|
|
835
836
|
return true;
|
|
836
837
|
}
|
|
837
838
|
}
|
|
@@ -211,12 +211,21 @@ class UriIterator {
|
|
|
211
211
|
throw ( new Error());
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
+
class Undef {
|
|
215
|
+
static { this.Val = Symbol('undefined_placeholder'); }
|
|
216
|
+
static wrap(value) {
|
|
217
|
+
return value === undefined ? Undef.Val : value;
|
|
218
|
+
}
|
|
219
|
+
static unwrap(value) {
|
|
220
|
+
return value === Undef.Val ? undefined : value;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
214
223
|
class TernarySearchTreeNode {
|
|
215
224
|
constructor() {
|
|
216
225
|
this.height = 1;
|
|
217
226
|
}
|
|
218
227
|
isEmpty() {
|
|
219
|
-
return !this.left && !this.mid && !this.right &&
|
|
228
|
+
return !this.left && !this.mid && !this.right && this.value === undefined;
|
|
220
229
|
}
|
|
221
230
|
rotateLeft() {
|
|
222
231
|
const tmp = this.right;
|
|
@@ -328,8 +337,8 @@ class TernarySearchTree {
|
|
|
328
337
|
break;
|
|
329
338
|
}
|
|
330
339
|
}
|
|
331
|
-
const oldElement = node.value;
|
|
332
|
-
node.value = element;
|
|
340
|
+
const oldElement = Undef.unwrap(node.value);
|
|
341
|
+
node.value = Undef.wrap(element);
|
|
333
342
|
node.key = key;
|
|
334
343
|
for (let i = stack.length - 1; i >= 0; i--) {
|
|
335
344
|
const node = stack[i][1];
|
|
@@ -376,7 +385,7 @@ class TernarySearchTree {
|
|
|
376
385
|
return oldElement;
|
|
377
386
|
}
|
|
378
387
|
get(key) {
|
|
379
|
-
return this._getNode(key)?.value;
|
|
388
|
+
return Undef.unwrap(this._getNode(key)?.value);
|
|
380
389
|
}
|
|
381
390
|
_getNode(key) {
|
|
382
391
|
const iter = this._iter.reset(key);
|
|
@@ -537,14 +546,14 @@ class TernarySearchTree {
|
|
|
537
546
|
}
|
|
538
547
|
else if (iter.hasNext()) {
|
|
539
548
|
iter.next();
|
|
540
|
-
candidate = node.value || candidate;
|
|
549
|
+
candidate = Undef.unwrap(node.value) || candidate;
|
|
541
550
|
node = node.mid;
|
|
542
551
|
}
|
|
543
552
|
else {
|
|
544
553
|
break;
|
|
545
554
|
}
|
|
546
555
|
}
|
|
547
|
-
return node && node.value || candidate;
|
|
556
|
+
return node && Undef.unwrap(node.value) || candidate;
|
|
548
557
|
}
|
|
549
558
|
findSuperstr(key) {
|
|
550
559
|
return this._findSuperstrOrElement(key, false);
|
|
@@ -567,7 +576,7 @@ class TernarySearchTree {
|
|
|
567
576
|
else {
|
|
568
577
|
if (!node.mid) {
|
|
569
578
|
if (allowValue) {
|
|
570
|
-
return node.value;
|
|
579
|
+
return Undef.unwrap(node.value);
|
|
571
580
|
}
|
|
572
581
|
else {
|
|
573
582
|
return undefined;
|
|
@@ -603,8 +612,8 @@ class TernarySearchTree {
|
|
|
603
612
|
if (node.left) {
|
|
604
613
|
this._dfsEntries(node.left, bucket);
|
|
605
614
|
}
|
|
606
|
-
if (node.value) {
|
|
607
|
-
bucket.push([node.key, node.value]);
|
|
615
|
+
if (node.value !== undefined) {
|
|
616
|
+
bucket.push([node.key, Undef.unwrap(node.value)]);
|
|
608
617
|
}
|
|
609
618
|
if (node.mid) {
|
|
610
619
|
this._dfsEntries(node.mid, bucket);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { URI } from "./uri.js";
|
|
1
2
|
export declare function isString(str: unknown): str is string;
|
|
2
3
|
export declare function isStringArray(value: unknown): value is string[];
|
|
3
4
|
export declare function isObject(obj: unknown): obj is Object;
|
|
@@ -26,6 +27,8 @@ export declare function assertAllDefined<T1, T2, T3, T4>(t1: T1 | null | undefin
|
|
|
26
27
|
T3,
|
|
27
28
|
T4
|
|
28
29
|
];
|
|
30
|
+
export declare function assertOneOf<TType, TSubtype extends TType>(item: TType, list: readonly TSubtype[], errorPrefix: string): asserts item is TSubtype;
|
|
31
|
+
export declare function typeCheck<T = never>(_thing: NoInfer<T>): void;
|
|
29
32
|
export declare function isEmptyObject(obj: unknown): obj is object;
|
|
30
33
|
export declare function isFunction(obj: unknown): obj is Function;
|
|
31
34
|
export declare function areFunctions(...objects: unknown[]): boolean;
|
|
@@ -54,4 +57,7 @@ export type DeepPartial<T> = {
|
|
|
54
57
|
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : Partial<T[P]>;
|
|
55
58
|
};
|
|
56
59
|
export type PartialExcept<T, K extends keyof T> = Partial<Omit<T, K>> & Pick<T, K>;
|
|
60
|
+
export type WithUriValue<T extends object> = T & {
|
|
61
|
+
value: URI;
|
|
62
|
+
};
|
|
57
63
|
export {};
|
|
@@ -63,6 +63,9 @@ function assertAllDefined(...args) {
|
|
|
63
63
|
}
|
|
64
64
|
return result;
|
|
65
65
|
}
|
|
66
|
+
function assertOneOf(item, list, errorPrefix) {
|
|
67
|
+
assert(list.includes(item), `${errorPrefix}: Expected '${item}' to be one of [${list.join(', ')}].`);
|
|
68
|
+
}
|
|
66
69
|
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
67
70
|
function isEmptyObject(obj) {
|
|
68
71
|
if (!isObject(obj)) {
|
|
@@ -116,4 +119,4 @@ function upcast(x) {
|
|
|
116
119
|
return x;
|
|
117
120
|
}
|
|
118
121
|
|
|
119
|
-
export { areFunctions, assertAllDefined, assertDefined, assertIsDefined, assertType, isBoolean, isDefined, isEmptyObject, isFunction, isIterable, isNumber, isObject, isString, isStringArray, isTypedArray, isUndefined, isUndefinedOrNull, upcast, validateConstraint, validateConstraints };
|
|
122
|
+
export { areFunctions, assertAllDefined, assertDefined, assertIsDefined, assertOneOf, assertType, isBoolean, isDefined, isEmptyObject, isFunction, isIterable, isNumber, isObject, isString, isStringArray, isTypedArray, isUndefined, isUndefinedOrNull, upcast, validateConstraint, validateConstraints };
|
|
@@ -4,6 +4,43 @@ const _UUIDPattern = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{
|
|
|
4
4
|
function isUUID(value) {
|
|
5
5
|
return _UUIDPattern.test(value);
|
|
6
6
|
}
|
|
7
|
-
const generateUuid =
|
|
7
|
+
const generateUuid = (function () {
|
|
8
|
+
if (typeof crypto.randomUUID === 'function') {
|
|
9
|
+
return crypto.randomUUID.bind(crypto);
|
|
10
|
+
}
|
|
11
|
+
const _data = ( new Uint8Array(16));
|
|
12
|
+
const _hex = [];
|
|
13
|
+
for (let i = 0; i < 256; i++) {
|
|
14
|
+
_hex.push(( i.toString(16)).padStart(2, '0'));
|
|
15
|
+
}
|
|
16
|
+
return function generateUuid() {
|
|
17
|
+
crypto.getRandomValues(_data);
|
|
18
|
+
_data[6] = (_data[6] & 0x0f) | 0x40;
|
|
19
|
+
_data[8] = (_data[8] & 0x3f) | 0x80;
|
|
20
|
+
let i = 0;
|
|
21
|
+
let result = '';
|
|
22
|
+
result += _hex[_data[i++]];
|
|
23
|
+
result += _hex[_data[i++]];
|
|
24
|
+
result += _hex[_data[i++]];
|
|
25
|
+
result += _hex[_data[i++]];
|
|
26
|
+
result += '-';
|
|
27
|
+
result += _hex[_data[i++]];
|
|
28
|
+
result += _hex[_data[i++]];
|
|
29
|
+
result += '-';
|
|
30
|
+
result += _hex[_data[i++]];
|
|
31
|
+
result += _hex[_data[i++]];
|
|
32
|
+
result += '-';
|
|
33
|
+
result += _hex[_data[i++]];
|
|
34
|
+
result += _hex[_data[i++]];
|
|
35
|
+
result += '-';
|
|
36
|
+
result += _hex[_data[i++]];
|
|
37
|
+
result += _hex[_data[i++]];
|
|
38
|
+
result += _hex[_data[i++]];
|
|
39
|
+
result += _hex[_data[i++]];
|
|
40
|
+
result += _hex[_data[i++]];
|
|
41
|
+
result += _hex[_data[i++]];
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
8
45
|
|
|
9
46
|
export { generateUuid, isUUID };
|
|
@@ -215,7 +215,7 @@ let NativeEditContext = class NativeEditContext extends AbstractEditContext {
|
|
|
215
215
|
return;
|
|
216
216
|
}
|
|
217
217
|
if (!this._editContextPrimarySelection.equalsSelection(this._primarySelection)) {
|
|
218
|
-
|
|
218
|
+
return;
|
|
219
219
|
}
|
|
220
220
|
const model = this._context.viewModel.model;
|
|
221
221
|
const startPositionOfEditContext = this._editContextStartPosition();
|
|
@@ -5,7 +5,7 @@ import { KeyMod as KeyMod$1, KeyCode } from '../../base/common/keyCodes.js';
|
|
|
5
5
|
import { isObject, isString, isUndefined, isNumber, isBoolean } from '../../base/common/types.js';
|
|
6
6
|
import { status } from '../../base/browser/ui/aria/aria.js';
|
|
7
7
|
import { EditorCommand, registerEditorCommand, SelectAllCommand, UndoCommand, RedoCommand, Command } from './editorExtensions.js';
|
|
8
|
-
import { ICodeEditorService } from './services/codeEditorService.js';
|
|
8
|
+
import { ICodeEditorService } from './services/codeEditorService.service.js';
|
|
9
9
|
import { ColumnSelection } from '../common/cursor/cursorColumnSelection.js';
|
|
10
10
|
import { CursorState, EditOperationType } from '../common/cursorCommon.js';
|
|
11
11
|
import { DeleteOperations } from '../common/cursor/cursorDeleteOperations.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
import { localize } from '../../nls.js';
|
|
3
3
|
import { URI } from '../../base/common/uri.js';
|
|
4
|
-
import { ICodeEditorService } from './services/codeEditorService.js';
|
|
4
|
+
import { ICodeEditorService } from './services/codeEditorService.service.js';
|
|
5
5
|
import { Position } from '../common/core/position.js';
|
|
6
|
-
import { IModelService } from '../common/services/model.js';
|
|
7
|
-
import { ITextModelService } from '../common/services/resolverService.js';
|
|
6
|
+
import { IModelService } from '../common/services/model.service.js';
|
|
7
|
+
import { ITextModelService } from '../common/services/resolverService.service.js';
|
|
8
8
|
import { MenuRegistry, MenuId, Action2 } from '../../platform/actions/common/actions.js';
|
|
9
9
|
import { CommandsRegistry } from '../../platform/commands/common/commands.js';
|
|
10
10
|
import { ContextKeyExpr } from '../../platform/contextkey/common/contextkey.js';
|
|
@@ -5,13 +5,7 @@ import { getActiveWindow, addDisposableListener } from '../../../base/browser/do
|
|
|
5
5
|
import { createFastDomNode } from '../../../base/browser/fastDomNode.js';
|
|
6
6
|
import { BugIndicatingError } from '../../../base/common/errors.js';
|
|
7
7
|
import { Disposable } from '../../../base/common/lifecycle.js';
|
|
8
|
-
import
|
|
9
|
-
import '../../../base/common/arrays.js';
|
|
10
|
-
import { Event } from '../../../base/common/event.js';
|
|
11
|
-
import '../../../base/common/observableInternal/autorun.js';
|
|
12
|
-
import '../../../base/common/observableInternal/derived.js';
|
|
13
|
-
import '../../../base/common/cancellation.js';
|
|
14
|
-
import { runOnChange } from '../../../base/common/observableInternal/utils.js';
|
|
8
|
+
import '../../../base/common/observableInternal/index.js';
|
|
15
9
|
import { IInstantiationService } from '../../../platform/instantiation/common/instantiation.js';
|
|
16
10
|
import { TextureAtlas } from './atlas/textureAtlas.js';
|
|
17
11
|
import { IConfigurationService } from '../../../platform/configuration/common/configuration.service.js';
|
|
@@ -21,11 +15,14 @@ import { GPULifecycle } from './gpuDisposable.js';
|
|
|
21
15
|
import { ensureNonNullable, observeDevicePixelDimensions } from './gpuUtils.js';
|
|
22
16
|
import { RectangleRenderer } from './rectangleRenderer.js';
|
|
23
17
|
import { DecorationCssRuleExtractor } from './css/decorationCssRuleExtractor.js';
|
|
18
|
+
import { Event } from '../../../base/common/event.js';
|
|
24
19
|
import { EditorOption } from '../../common/config/editorOptions.js';
|
|
25
20
|
import { InlineDecorationType } from '../../common/viewModel.js';
|
|
26
21
|
import { DecorationStyleCache } from './css/decorationStyleCache.js';
|
|
27
22
|
import { ViewportRenderStrategy } from './renderStrategy/viewportRenderStrategy.js';
|
|
28
23
|
import Severity$1 from '../../../base/common/severity.js';
|
|
24
|
+
import { runOnChange } from '../../../base/common/observableInternal/utils.js';
|
|
25
|
+
import { observableValue } from '../../../base/common/observableInternal/base.js';
|
|
29
26
|
|
|
30
27
|
var ViewGpuContext_1;
|
|
31
28
|
let ViewGpuContext = class ViewGpuContext extends Disposable {
|