@arcgis/coding-components 4.29.0-beta.62 → 4.29.0-beta.63
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/dist/arcgis-coding-components/arcgis-coding-components.esm.js +1 -1
- package/dist/arcgis-coding-components/index.esm.js +1 -1
- package/dist/arcgis-coding-components/{p-061e6138.js → p-2a665136.js} +1 -1
- package/dist/arcgis-coding-components/{p-6ab0494e.js → p-3ba4deea.js} +1 -1
- package/dist/arcgis-coding-components/{p-0d7b2c4b.js → p-595d9a06.js} +1 -1
- package/dist/arcgis-coding-components/{p-d685a671.js → p-7b6af57c.js} +1 -1
- package/dist/arcgis-coding-components/{p-3e855f9c.js → p-7d5fcf2e.js} +8 -8
- package/dist/arcgis-coding-components/{p-faae9e50.js → p-989439a0.js} +1 -1
- package/dist/arcgis-coding-components/{p-9016dc94.js → p-9b4a0643.js} +1 -1
- package/dist/arcgis-coding-components/{p-dbf0130c.js → p-d7ca1083.js} +1 -1
- package/dist/arcgis-coding-components/{p-f6e12d5f.entry.js → p-e4efcbd0.entry.js} +1 -1
- package/dist/arcgis-coding-components/{p-93252bb5.js → p-fcdd0366.js} +1 -1
- package/dist/cjs/{arcade-defaults-a23c6057.js → arcade-defaults-5c2ff166.js} +251 -251
- package/dist/cjs/{arcade-mode-917ca23f.js → arcade-mode-23925c8d.js} +1 -1
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +33 -33
- package/dist/cjs/{cssMode-d02be328.js → cssMode-2e878b70.js} +1 -1
- package/dist/cjs/{html-4a4537a9.js → html-847c7e39.js} +1 -1
- package/dist/cjs/{htmlMode-ce2c81dc.js → htmlMode-7a36db6d.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{javascript-3119740d.js → javascript-f5ca9a1a.js} +2 -2
- package/dist/cjs/{jsonMode-f9250e13.js → jsonMode-0d326a6e.js} +1 -1
- package/dist/cjs/{tsMode-9c22cf93.js → tsMode-e4abe99d.js} +1 -1
- package/dist/cjs/{typescript-2faa236a.js → typescript-c43b7258.js} +1 -1
- package/dist/components/arcade-api.js +6 -6
- package/dist/components/arcade-contribution.js +2 -2
- package/dist/components/arcade-defaults.js +8 -8
- package/dist/components/arcade-results.js +12 -12
- package/dist/components/arcade-suggestions.js +4 -4
- package/dist/components/arcade-variables.js +5 -5
- package/dist/components/arcgis-arcade-editor.js +15 -15
- package/dist/components/code-editor.js +5 -5
- package/dist/components/index2.js +2 -2
- package/dist/components/utilities.js +2 -2
- package/dist/esm/{arcade-defaults-7b495156.js → arcade-defaults-7525fe7a.js} +243 -243
- package/dist/esm/{arcade-mode-de60b33c.js → arcade-mode-312bbd22.js} +1 -1
- package/dist/esm/arcgis-arcade-api_6.entry.js +33 -33
- package/dist/esm/{cssMode-b54550d7.js → cssMode-71ce0374.js} +1 -1
- package/dist/esm/{html-5268964a.js → html-37ae4460.js} +1 -1
- package/dist/esm/{htmlMode-b54c7ef1.js → htmlMode-ae5b0f39.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{javascript-8f4cabbd.js → javascript-ad435a4b.js} +2 -2
- package/dist/esm/{jsonMode-94061c51.js → jsonMode-b8bb4df0.js} +1 -1
- package/dist/esm/{tsMode-928e55fb.js → tsMode-b967128d.js} +1 -1
- package/dist/esm/{typescript-44036302.js → typescript-a9a22ab3.js} +1 -1
- package/package.json +6 -6
|
@@ -20225,10 +20225,10 @@ function _$(namespace, description, attrs, ...children) {
|
|
|
20225
20225
|
result.append(...children);
|
|
20226
20226
|
return result;
|
|
20227
20227
|
}
|
|
20228
|
-
function $$
|
|
20228
|
+
function $$e(description, attrs, ...children) {
|
|
20229
20229
|
return _$(Namespace.HTML, description, attrs, ...children);
|
|
20230
20230
|
}
|
|
20231
|
-
$$
|
|
20231
|
+
$$e.SVG = function (description, attrs, ...children) {
|
|
20232
20232
|
return _$(Namespace.SVG, description, attrs, ...children);
|
|
20233
20233
|
};
|
|
20234
20234
|
function setVisibility(visible, ...elements) {
|
|
@@ -82159,7 +82159,7 @@ class ContextView extends Disposable {
|
|
|
82159
82159
|
this.toDisposeOnSetContainer = Disposable.None;
|
|
82160
82160
|
this.shadowRoot = null;
|
|
82161
82161
|
this.shadowRootHostElement = null;
|
|
82162
|
-
this.view = $$
|
|
82162
|
+
this.view = $$e('.context-view');
|
|
82163
82163
|
hide(this.view);
|
|
82164
82164
|
this.setContainer(container, domPosition);
|
|
82165
82165
|
this._register(toDisposable(() => this.setContainer(null, 1 /* ContextViewDOMPosition.ABSOLUTE */)));
|
|
@@ -82188,14 +82188,14 @@ class ContextView extends Disposable {
|
|
|
82188
82188
|
if (container) {
|
|
82189
82189
|
this.container = container;
|
|
82190
82190
|
if (this.useShadowDOM) {
|
|
82191
|
-
this.shadowRootHostElement = $$
|
|
82191
|
+
this.shadowRootHostElement = $$e('.shadow-root-host');
|
|
82192
82192
|
this.container.appendChild(this.shadowRootHostElement);
|
|
82193
82193
|
this.shadowRoot = this.shadowRootHostElement.attachShadow({ mode: 'open' });
|
|
82194
82194
|
const style = document.createElement('style');
|
|
82195
82195
|
style.textContent = SHADOW_ROOT_CSS;
|
|
82196
82196
|
this.shadowRoot.appendChild(style);
|
|
82197
82197
|
this.shadowRoot.appendChild(this.view);
|
|
82198
|
-
this.shadowRoot.appendChild($$
|
|
82198
|
+
this.shadowRoot.appendChild($$e('slot'));
|
|
82199
82199
|
}
|
|
82200
82200
|
else {
|
|
82201
82201
|
this.container.appendChild(this.view);
|
|
@@ -84676,7 +84676,7 @@ function renderLabelWithIcons(text) {
|
|
|
84676
84676
|
return elements;
|
|
84677
84677
|
}
|
|
84678
84678
|
function renderIcon(icon) {
|
|
84679
|
-
const node = $$
|
|
84679
|
+
const node = $$e(`span`);
|
|
84680
84680
|
node.classList.add(...ThemeIcon.asClassNameArray(icon));
|
|
84681
84681
|
return node;
|
|
84682
84682
|
}
|
|
@@ -88708,7 +88708,7 @@ class RowCache {
|
|
|
88708
88708
|
}
|
|
88709
88709
|
}
|
|
88710
88710
|
else {
|
|
88711
|
-
const domNode = $$
|
|
88711
|
+
const domNode = $$e('.monaco-list-row');
|
|
88712
88712
|
const renderer = this.getRenderer(templateId);
|
|
88713
88713
|
const templateData = renderer.renderTemplate(domNode);
|
|
88714
88714
|
result = { domNode, templateId, templateData };
|
|
@@ -89472,7 +89472,7 @@ class ListView {
|
|
|
89472
89472
|
if (typeof label === 'undefined') {
|
|
89473
89473
|
label = String(elements.length);
|
|
89474
89474
|
}
|
|
89475
|
-
const dragImage = $$
|
|
89475
|
+
const dragImage = $$e('.monaco-drag-image');
|
|
89476
89476
|
dragImage.textContent = label;
|
|
89477
89477
|
const getDragImageContainer = (e) => {
|
|
89478
89478
|
while (e && !e.classList.contains('monaco-workbench')) {
|
|
@@ -91333,16 +91333,16 @@ __decorate$1V([
|
|
|
91333
91333
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
91334
91334
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
91335
91335
|
*--------------------------------------------------------------------------------------------*/
|
|
91336
|
-
const $$
|
|
91336
|
+
const $$d = $$e;
|
|
91337
91337
|
const SELECT_OPTION_ENTRY_TEMPLATE_ID = 'selectOption.entry.template';
|
|
91338
91338
|
class SelectListRenderer {
|
|
91339
91339
|
get templateId() { return SELECT_OPTION_ENTRY_TEMPLATE_ID; }
|
|
91340
91340
|
renderTemplate(container) {
|
|
91341
91341
|
const data = Object.create(null);
|
|
91342
91342
|
data.root = container;
|
|
91343
|
-
data.text = append$1(container, $$
|
|
91344
|
-
data.detail = append$1(container, $$
|
|
91345
|
-
data.decoratorRight = append$1(container, $$
|
|
91343
|
+
data.text = append$1(container, $$d('.option-text'));
|
|
91344
|
+
data.detail = append$1(container, $$d('.option-detail'));
|
|
91345
|
+
data.decoratorRight = append$1(container, $$d('.option-decorator-right'));
|
|
91346
91346
|
return data;
|
|
91347
91347
|
}
|
|
91348
91348
|
renderElement(element, index, templateData) {
|
|
@@ -91413,14 +91413,14 @@ class SelectBoxList extends Disposable {
|
|
|
91413
91413
|
constructSelectDropDown(contextViewProvider) {
|
|
91414
91414
|
// SetUp ContextView container to hold select Dropdown
|
|
91415
91415
|
this.contextViewProvider = contextViewProvider;
|
|
91416
|
-
this.selectDropDownContainer = $$
|
|
91416
|
+
this.selectDropDownContainer = $$e('.monaco-select-box-dropdown-container');
|
|
91417
91417
|
// Use custom CSS vars for padding calculation (shared with parent select)
|
|
91418
91418
|
this.selectDropDownContainer.classList.add('monaco-select-box-dropdown-padding');
|
|
91419
91419
|
// Setup container for select option details
|
|
91420
|
-
this.selectionDetailsPane = append$1(this.selectDropDownContainer, $$
|
|
91420
|
+
this.selectionDetailsPane = append$1(this.selectDropDownContainer, $$d('.select-box-details-pane'));
|
|
91421
91421
|
// Create span flex box item/div we can measure and control
|
|
91422
|
-
const widthControlOuterDiv = append$1(this.selectDropDownContainer, $$
|
|
91423
|
-
const widthControlInnerDiv = append$1(widthControlOuterDiv, $$
|
|
91422
|
+
const widthControlOuterDiv = append$1(this.selectDropDownContainer, $$d('.select-box-dropdown-container-width-control'));
|
|
91423
|
+
const widthControlInnerDiv = append$1(widthControlOuterDiv, $$d('.width-control-div'));
|
|
91424
91424
|
this.widthControlElement = document.createElement('span');
|
|
91425
91425
|
this.widthControlElement.className = 'option-text-width-control';
|
|
91426
91426
|
append$1(widthControlInnerDiv, this.widthControlElement);
|
|
@@ -91863,7 +91863,7 @@ class SelectBoxList extends Disposable {
|
|
|
91863
91863
|
return;
|
|
91864
91864
|
}
|
|
91865
91865
|
// SetUp container for list
|
|
91866
|
-
this.selectDropDownListContainer = append$1(parent, $$
|
|
91866
|
+
this.selectDropDownListContainer = append$1(parent, $$d('.select-box-dropdown-list-container'));
|
|
91867
91867
|
this.listRenderer = new SelectListRenderer();
|
|
91868
91868
|
this.selectList = new List('SelectBoxCustom', this.selectDropDownListContainer, this, [this.listRenderer], {
|
|
91869
91869
|
useShadows: false,
|
|
@@ -92711,8 +92711,8 @@ class BaseDropdown extends ActionRunner {
|
|
|
92711
92711
|
super();
|
|
92712
92712
|
this._onDidChangeVisibility = this._register(new Emitter$1());
|
|
92713
92713
|
this.onDidChangeVisibility = this._onDidChangeVisibility.event;
|
|
92714
|
-
this._element = append$1(container, $$
|
|
92715
|
-
this._label = append$1(this._element, $$
|
|
92714
|
+
this._element = append$1(container, $$e('.monaco-dropdown'));
|
|
92715
|
+
this._label = append$1(this._element, $$e('.dropdown-label'));
|
|
92716
92716
|
let labelRenderer = options.labelRenderer;
|
|
92717
92717
|
if (!labelRenderer) {
|
|
92718
92718
|
labelRenderer = (container) => {
|
|
@@ -92852,7 +92852,7 @@ class DropdownMenuActionViewItem extends BaseActionViewItem {
|
|
|
92852
92852
|
render(container) {
|
|
92853
92853
|
this.actionItem = container;
|
|
92854
92854
|
const labelRenderer = (el) => {
|
|
92855
|
-
this.element = append$1(el, $$
|
|
92855
|
+
this.element = append$1(el, $$e('a.action-label'));
|
|
92856
92856
|
let classNames = [];
|
|
92857
92857
|
if (typeof this.options.classNames === 'string') {
|
|
92858
92858
|
classNames = this.options.classNames.split(/\s+/g).filter(s => !!s);
|
|
@@ -93781,7 +93781,7 @@ let DropdownWithDefaultActionViewItem = class DropdownWithDefaultActionViewItem
|
|
|
93781
93781
|
}
|
|
93782
93782
|
}();
|
|
93783
93783
|
if (this._container) {
|
|
93784
|
-
this._defaultAction.render(prepend$1(this._container, $$
|
|
93784
|
+
this._defaultAction.render(prepend$1(this._container, $$e('.action-container')));
|
|
93785
93785
|
}
|
|
93786
93786
|
}
|
|
93787
93787
|
_getDefaultActionKeybindingLabel(defaultAction) {
|
|
@@ -93804,7 +93804,7 @@ let DropdownWithDefaultActionViewItem = class DropdownWithDefaultActionViewItem
|
|
|
93804
93804
|
this._container = container;
|
|
93805
93805
|
super.render(this._container);
|
|
93806
93806
|
this._container.classList.add('monaco-dropdown-with-default');
|
|
93807
|
-
const primaryContainer = $$
|
|
93807
|
+
const primaryContainer = $$e('.action-container');
|
|
93808
93808
|
this._defaultAction.render(append$1(this._container, primaryContainer));
|
|
93809
93809
|
this._register(addDisposableListener(primaryContainer, EventType$1.KEY_DOWN, (e) => {
|
|
93810
93810
|
const event = new StandardKeyboardEvent(e);
|
|
@@ -93814,7 +93814,7 @@ let DropdownWithDefaultActionViewItem = class DropdownWithDefaultActionViewItem
|
|
|
93814
93814
|
event.stopPropagation();
|
|
93815
93815
|
}
|
|
93816
93816
|
}));
|
|
93817
|
-
const dropdownContainer = $$
|
|
93817
|
+
const dropdownContainer = $$e('.dropdown-action-container');
|
|
93818
93818
|
this._dropdown.render(append$1(this._container, dropdownContainer));
|
|
93819
93819
|
this._register(addDisposableListener(dropdownContainer, EventType$1.KEY_DOWN, (e) => {
|
|
93820
93820
|
var _a;
|
|
@@ -94661,7 +94661,7 @@ class BaseMenuActionViewItem extends BaseActionViewItem {
|
|
|
94661
94661
|
return;
|
|
94662
94662
|
}
|
|
94663
94663
|
this.container = container;
|
|
94664
|
-
this.item = append$1(this.element, $$
|
|
94664
|
+
this.item = append$1(this.element, $$e('a.action-menu-item'));
|
|
94665
94665
|
if (this._action.id === Separator.ID) {
|
|
94666
94666
|
// A separator is a presentation item
|
|
94667
94667
|
this.item.setAttribute('role', 'presentation');
|
|
@@ -94672,11 +94672,11 @@ class BaseMenuActionViewItem extends BaseActionViewItem {
|
|
|
94672
94672
|
this.item.setAttribute('aria-keyshortcuts', `${this.mnemonic}`);
|
|
94673
94673
|
}
|
|
94674
94674
|
}
|
|
94675
|
-
this.check = append$1(this.item, $$
|
|
94675
|
+
this.check = append$1(this.item, $$e('span.menu-item-check' + ThemeIcon.asCSSSelector(Codicon.menuSelection)));
|
|
94676
94676
|
this.check.setAttribute('role', 'none');
|
|
94677
|
-
this.label = append$1(this.item, $$
|
|
94677
|
+
this.label = append$1(this.item, $$e('span.action-label'));
|
|
94678
94678
|
if (this.options.label && this.options.keybinding) {
|
|
94679
|
-
append$1(this.item, $$
|
|
94679
|
+
append$1(this.item, $$e('span.keybinding')).textContent = this.options.keybinding;
|
|
94680
94680
|
}
|
|
94681
94681
|
// Adds mouse up listener to actually run the action
|
|
94682
94682
|
this.runOnceToEnableMouseUp.schedule();
|
|
@@ -94729,7 +94729,7 @@ class BaseMenuActionViewItem extends BaseActionViewItem {
|
|
|
94729
94729
|
}
|
|
94730
94730
|
const replaceDoubleEscapes = (str) => str.replace(/&&/g, '&');
|
|
94731
94731
|
if (escMatch) {
|
|
94732
|
-
this.label.append(ltrim(replaceDoubleEscapes(label.substr(0, escMatch.index)), ' '), $$
|
|
94732
|
+
this.label.append(ltrim(replaceDoubleEscapes(label.substr(0, escMatch.index)), ' '), $$e('u', { 'aria-hidden': 'true' }, escMatch[3]), rtrim(replaceDoubleEscapes(label.substr(escMatch.index + escMatch[0].length)), ' '));
|
|
94733
94733
|
}
|
|
94734
94734
|
else {
|
|
94735
94735
|
this.label.innerText = replaceDoubleEscapes(label).trim();
|
|
@@ -94852,7 +94852,7 @@ class SubmenuMenuActionViewItem extends BaseMenuActionViewItem {
|
|
|
94852
94852
|
this.item.tabIndex = 0;
|
|
94853
94853
|
this.item.setAttribute('aria-haspopup', 'true');
|
|
94854
94854
|
this.updateAriaExpanded('false');
|
|
94855
|
-
this.submenuIndicator = append$1(this.item, $$
|
|
94855
|
+
this.submenuIndicator = append$1(this.item, $$e('span.submenu-indicator' + ThemeIcon.asCSSSelector(Codicon.menuSubmenu)));
|
|
94856
94856
|
this.submenuIndicator.setAttribute('aria-hidden', 'true');
|
|
94857
94857
|
}
|
|
94858
94858
|
this._register(addDisposableListener(this.element, EventType$1.KEY_UP, e => {
|
|
@@ -94943,7 +94943,7 @@ class SubmenuMenuActionViewItem extends BaseMenuActionViewItem {
|
|
|
94943
94943
|
}
|
|
94944
94944
|
if (!this.parentData.submenu) {
|
|
94945
94945
|
this.updateAriaExpanded('true');
|
|
94946
|
-
this.submenuContainer = append$1(this.element, $$
|
|
94946
|
+
this.submenuContainer = append$1(this.element, $$e('div.monaco-submenu'));
|
|
94947
94947
|
this.submenuContainer.classList.add('menubar-menu-items-holder', 'context-view');
|
|
94948
94948
|
// Set the top value of the menu container before construction
|
|
94949
94949
|
// This allows the menu constructor to calculate the proper max height
|
|
@@ -95481,7 +95481,7 @@ class ContextMenuHandler {
|
|
|
95481
95481
|
}
|
|
95482
95482
|
// Render invisible div to block mouse interaction in the rest of the UI
|
|
95483
95483
|
if (this.options.blockMouse) {
|
|
95484
|
-
this.block = container.appendChild($$
|
|
95484
|
+
this.block = container.appendChild($$e('.context-view-block'));
|
|
95485
95485
|
this.block.style.position = 'fixed';
|
|
95486
95486
|
this.block.style.cursor = 'initial';
|
|
95487
95487
|
this.block.style.left = '0';
|
|
@@ -96935,7 +96935,7 @@ class Sash extends Disposable {
|
|
|
96935
96935
|
const onChange = (state) => {
|
|
96936
96936
|
this.orthogonalStartDragHandleDisposables.clear();
|
|
96937
96937
|
if (state !== 0 /* SashState.Disabled */) {
|
|
96938
|
-
this._orthogonalStartDragHandle = append$1(this.el, $$
|
|
96938
|
+
this._orthogonalStartDragHandle = append$1(this.el, $$e('.orthogonal-drag-handle.start'));
|
|
96939
96939
|
this.orthogonalStartDragHandleDisposables.add(toDisposable(() => this._orthogonalStartDragHandle.remove()));
|
|
96940
96940
|
this.orthogonalStartDragHandleDisposables.add(new DomEmitter(this._orthogonalStartDragHandle, 'mouseenter')).event(() => Sash.onMouseEnter(sash), undefined, this.orthogonalStartDragHandleDisposables);
|
|
96941
96941
|
this.orthogonalStartDragHandleDisposables.add(new DomEmitter(this._orthogonalStartDragHandle, 'mouseleave')).event(() => Sash.onMouseLeave(sash), undefined, this.orthogonalStartDragHandleDisposables);
|
|
@@ -96964,7 +96964,7 @@ class Sash extends Disposable {
|
|
|
96964
96964
|
const onChange = (state) => {
|
|
96965
96965
|
this.orthogonalEndDragHandleDisposables.clear();
|
|
96966
96966
|
if (state !== 0 /* SashState.Disabled */) {
|
|
96967
|
-
this._orthogonalEndDragHandle = append$1(this.el, $$
|
|
96967
|
+
this._orthogonalEndDragHandle = append$1(this.el, $$e('.orthogonal-drag-handle.end'));
|
|
96968
96968
|
this.orthogonalEndDragHandleDisposables.add(toDisposable(() => this._orthogonalEndDragHandle.remove()));
|
|
96969
96969
|
this.orthogonalEndDragHandleDisposables.add(new DomEmitter(this._orthogonalEndDragHandle, 'mouseenter')).event(() => Sash.onMouseEnter(sash), undefined, this.orthogonalEndDragHandleDisposables);
|
|
96970
96970
|
this.orthogonalEndDragHandleDisposables.add(new DomEmitter(this._orthogonalEndDragHandle, 'mouseleave')).event(() => Sash.onMouseLeave(sash), undefined, this.orthogonalEndDragHandleDisposables);
|
|
@@ -97013,7 +97013,7 @@ class Sash extends Disposable {
|
|
|
97013
97013
|
* Useful in 2x2 grids. Not meant for widespread usage.
|
|
97014
97014
|
*/
|
|
97015
97015
|
this.linkedSash = undefined;
|
|
97016
|
-
this.el = append$1(container, $$
|
|
97016
|
+
this.el = append$1(container, $$e('.monaco-sash'));
|
|
97017
97017
|
if (options.orthogonalEdge) {
|
|
97018
97018
|
this.el.classList.add(`orthogonal-edge-${options.orthogonalEdge}`);
|
|
97019
97019
|
}
|
|
@@ -97465,8 +97465,8 @@ class SplitView extends Disposable {
|
|
|
97465
97465
|
this.el.classList.add('monaco-split-view2');
|
|
97466
97466
|
this.el.classList.add(this.orientation === 0 /* Orientation.VERTICAL */ ? 'vertical' : 'horizontal');
|
|
97467
97467
|
container.appendChild(this.el);
|
|
97468
|
-
this.sashContainer = append$1(this.el, $$
|
|
97469
|
-
this.viewContainer = $$
|
|
97468
|
+
this.sashContainer = append$1(this.el, $$e('.sash-container'));
|
|
97469
|
+
this.viewContainer = $$e('.split-view-container');
|
|
97470
97470
|
this.scrollable = this._register(new Scrollable({
|
|
97471
97471
|
forceIntegerValues: true,
|
|
97472
97472
|
smoothScrollDuration: 125,
|
|
@@ -97751,7 +97751,7 @@ class SplitView extends Disposable {
|
|
|
97751
97751
|
this.state = State.Busy;
|
|
97752
97752
|
try {
|
|
97753
97753
|
// Add view
|
|
97754
|
-
const container = $$
|
|
97754
|
+
const container = $$e('.split-view-view');
|
|
97755
97755
|
if (index === this.viewItems.length) {
|
|
97756
97756
|
this.viewContainer.appendChild(container);
|
|
97757
97757
|
}
|
|
@@ -98077,12 +98077,12 @@ class TableListRenderer {
|
|
|
98077
98077
|
}
|
|
98078
98078
|
}
|
|
98079
98079
|
renderTemplate(container) {
|
|
98080
|
-
const rowContainer = append$1(container, $$
|
|
98080
|
+
const rowContainer = append$1(container, $$e('.monaco-table-tr'));
|
|
98081
98081
|
const cellContainers = [];
|
|
98082
98082
|
const cellTemplateData = [];
|
|
98083
98083
|
for (let i = 0; i < this.columns.length; i++) {
|
|
98084
98084
|
const renderer = this.renderers[i];
|
|
98085
|
-
const cellContainer = append$1(rowContainer, $$
|
|
98085
|
+
const cellContainer = append$1(rowContainer, $$e('.monaco-table-td', { 'data-col-index': i }));
|
|
98086
98086
|
cellContainer.style.width = `${this.getColumnSize(i)}px`;
|
|
98087
98087
|
cellContainers.push(cellContainer);
|
|
98088
98088
|
cellTemplateData.push(renderer.renderTemplate(cellContainer));
|
|
@@ -98139,7 +98139,7 @@ class ColumnHeader {
|
|
|
98139
98139
|
this.index = index;
|
|
98140
98140
|
this._onDidLayout = new Emitter$1();
|
|
98141
98141
|
this.onDidLayout = this._onDidLayout.event;
|
|
98142
|
-
this.element = $$
|
|
98142
|
+
this.element = $$e('.monaco-table-th', { 'data-col-index': index, title: column.tooltip }, column.label);
|
|
98143
98143
|
}
|
|
98144
98144
|
layout(size) {
|
|
98145
98145
|
this._onDidLayout.fire([this.index, size]);
|
|
@@ -98163,7 +98163,7 @@ class Table {
|
|
|
98163
98163
|
this.disposables = new DisposableStore();
|
|
98164
98164
|
this.cachedWidth = 0;
|
|
98165
98165
|
this.cachedHeight = 0;
|
|
98166
|
-
this.domNode = append$1(container, $$
|
|
98166
|
+
this.domNode = append$1(container, $$e(`.monaco-table.${this.domId}`));
|
|
98167
98167
|
const headers = columns.map((c, i) => new ColumnHeader(c, i));
|
|
98168
98168
|
const descriptor = {
|
|
98169
98169
|
size: headers.reduce((a, b) => a + b.column.weight, 0),
|
|
@@ -98467,7 +98467,7 @@ class HistoryNavigator {
|
|
|
98467
98467
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
98468
98468
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
98469
98469
|
*--------------------------------------------------------------------------------------------*/
|
|
98470
|
-
const $$
|
|
98470
|
+
const $$c = $$e;
|
|
98471
98471
|
class InputBox$1 extends Widget$1 {
|
|
98472
98472
|
constructor(container, contextViewProvider, options) {
|
|
98473
98473
|
var _a;
|
|
@@ -98487,10 +98487,10 @@ class InputBox$1 extends Widget$1 {
|
|
|
98487
98487
|
if (this.options.validationOptions) {
|
|
98488
98488
|
this.validation = this.options.validationOptions.validation;
|
|
98489
98489
|
}
|
|
98490
|
-
this.element = append$1(container, $$
|
|
98490
|
+
this.element = append$1(container, $$c('.monaco-inputbox.idle'));
|
|
98491
98491
|
const tagName = this.options.flexibleHeight ? 'textarea' : 'input';
|
|
98492
|
-
const wrapper = append$1(this.element, $$
|
|
98493
|
-
this.input = append$1(wrapper, $$
|
|
98492
|
+
const wrapper = append$1(this.element, $$c('.ibwrapper'));
|
|
98493
|
+
this.input = append$1(wrapper, $$c(tagName + '.input.empty'));
|
|
98494
98494
|
this.input.setAttribute('autocorrect', 'off');
|
|
98495
98495
|
this.input.setAttribute('autocapitalize', 'off');
|
|
98496
98496
|
this.input.setAttribute('spellcheck', 'false');
|
|
@@ -98498,7 +98498,7 @@ class InputBox$1 extends Widget$1 {
|
|
|
98498
98498
|
this.onblur(this.input, () => this.element.classList.remove('synthetic-focus'));
|
|
98499
98499
|
if (this.options.flexibleHeight) {
|
|
98500
98500
|
this.maxHeight = typeof this.options.flexibleMaxHeight === 'number' ? this.options.flexibleMaxHeight : Number.POSITIVE_INFINITY;
|
|
98501
|
-
this.mirror = append$1(wrapper, $$
|
|
98501
|
+
this.mirror = append$1(wrapper, $$c('div.mirror'));
|
|
98502
98502
|
this.mirror.innerText = '\u00a0';
|
|
98503
98503
|
this.scrollableElement = new ScrollableElement(this.element, { vertical: 1 /* ScrollbarVisibility.Auto */ });
|
|
98504
98504
|
if (this.options.flexibleWidth) {
|
|
@@ -98695,7 +98695,7 @@ class InputBox$1 extends Widget$1 {
|
|
|
98695
98695
|
if (!this.message) {
|
|
98696
98696
|
return null;
|
|
98697
98697
|
}
|
|
98698
|
-
div = append$1(container, $$
|
|
98698
|
+
div = append$1(container, $$c('.monaco-inputbox-container'));
|
|
98699
98699
|
layout();
|
|
98700
98700
|
const renderOptions = {
|
|
98701
98701
|
inline: true,
|
|
@@ -100043,10 +100043,10 @@ class TreeRenderer {
|
|
|
100043
100043
|
}
|
|
100044
100044
|
}
|
|
100045
100045
|
renderTemplate(container) {
|
|
100046
|
-
const el = append$1(container, $$
|
|
100047
|
-
const indent = append$1(el, $$
|
|
100048
|
-
const twistie = append$1(el, $$
|
|
100049
|
-
const contents = append$1(el, $$
|
|
100046
|
+
const el = append$1(container, $$e('.monaco-tl-row'));
|
|
100047
|
+
const indent = append$1(el, $$e('.monaco-tl-indent'));
|
|
100048
|
+
const twistie = append$1(el, $$e('.monaco-tl-twistie'));
|
|
100049
|
+
const contents = append$1(el, $$e('.monaco-tl-contents'));
|
|
100050
100050
|
const templateData = this.renderer.renderTemplate(contents);
|
|
100051
100051
|
return { container, indent, twistie, indentGuidesDisposable: Disposable.None, templateData };
|
|
100052
100052
|
}
|
|
@@ -100125,7 +100125,7 @@ class TreeRenderer {
|
|
|
100125
100125
|
break;
|
|
100126
100126
|
}
|
|
100127
100127
|
const parent = model.getNode(parentRef);
|
|
100128
|
-
const guide = $$
|
|
100128
|
+
const guide = $$e('.indent-guide', { style: `width: ${this.indent}px` });
|
|
100129
100129
|
if (this.activeIndentNodes.has(parent)) {
|
|
100130
100130
|
guide.classList.add('active');
|
|
100131
100131
|
}
|
|
@@ -100614,7 +100614,7 @@ class StickyScrollWidget$1 {
|
|
|
100614
100614
|
state.addDisposable(disposable);
|
|
100615
100615
|
}
|
|
100616
100616
|
// Add shadow element to the end of the widget
|
|
100617
|
-
const shadow = $$
|
|
100617
|
+
const shadow = $$e('.monaco-tree-sticky-container-shadow');
|
|
100618
100618
|
this._rootDomNode.appendChild(shadow);
|
|
100619
100619
|
state.addDisposable(toDisposable(() => shadow.remove()));
|
|
100620
100620
|
// Set the height of the widget to the bottom of the last sticky node
|
|
@@ -104304,7 +104304,7 @@ class CountBadge {
|
|
|
104304
104304
|
this.options = options;
|
|
104305
104305
|
this.styles = styles;
|
|
104306
104306
|
this.count = 0;
|
|
104307
|
-
this.element = append$1(container, $$
|
|
104307
|
+
this.element = append$1(container, $$e('.monaco-count-badge'));
|
|
104308
104308
|
this.countFormat = this.options.countFormat || '{0}';
|
|
104309
104309
|
this.titleFormat = this.options.titleFormat || '';
|
|
104310
104310
|
this.setCount(this.options.count || 0);
|
|
@@ -104430,7 +104430,7 @@ ProgressBar.LONG_RUNNING_INFINITE_THRESHOLD = 10000;
|
|
|
104430
104430
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
104431
104431
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
104432
104432
|
*--------------------------------------------------------------------------------------------*/
|
|
104433
|
-
const $$
|
|
104433
|
+
const $$b = $$e;
|
|
104434
104434
|
class QuickInputBox extends Disposable {
|
|
104435
104435
|
constructor(parent, inputBoxStyles, toggleStyles) {
|
|
104436
104436
|
super();
|
|
@@ -104444,7 +104444,7 @@ class QuickInputBox extends Disposable {
|
|
|
104444
104444
|
this.onDidChange = (handler) => {
|
|
104445
104445
|
return this.findInput.onDidChange(handler);
|
|
104446
104446
|
};
|
|
104447
|
-
this.container = append$1(this.parent, $$
|
|
104447
|
+
this.container = append$1(this.parent, $$b('.quick-input-box'));
|
|
104448
104448
|
this.findInput = this._register(new FindInput(this.container, undefined, { label: '', inputBoxStyles, toggleStyles }));
|
|
104449
104449
|
const input = this.findInput.inputBox.inputElement;
|
|
104450
104450
|
input.role = 'combobox';
|
|
@@ -104533,7 +104533,7 @@ class HighlightedLabel {
|
|
|
104533
104533
|
this.highlights = [];
|
|
104534
104534
|
this.didEverRender = false;
|
|
104535
104535
|
this.supportIcons = (_a = options === null || options === void 0 ? void 0 : options.supportIcons) !== null && _a !== void 0 ? _a : false;
|
|
104536
|
-
this.domNode = append$1(container, $$
|
|
104536
|
+
this.domNode = append$1(container, $$e('span.monaco-highlighted-label'));
|
|
104537
104537
|
}
|
|
104538
104538
|
/**
|
|
104539
104539
|
* The label's DOM node.
|
|
@@ -104584,7 +104584,7 @@ class HighlightedLabel {
|
|
|
104584
104584
|
pos = highlight.start;
|
|
104585
104585
|
}
|
|
104586
104586
|
const substring = this.text.substring(pos, highlight.end);
|
|
104587
|
-
const element = $$
|
|
104587
|
+
const element = $$e('span.highlight', undefined, ...this.supportIcons ? renderLabelWithIcons(substring) : [substring]);
|
|
104588
104588
|
if (highlight.extraClasses) {
|
|
104589
104589
|
element.classList.add(...highlight.extraClasses);
|
|
104590
104590
|
}
|
|
@@ -104673,9 +104673,9 @@ class IconLabel extends Disposable {
|
|
|
104673
104673
|
super();
|
|
104674
104674
|
this.customHovers = new Map();
|
|
104675
104675
|
this.creationOptions = options;
|
|
104676
|
-
this.domNode = this._register(new FastLabelNode(append$1(container, $$
|
|
104677
|
-
this.labelContainer = append$1(this.domNode.element, $$
|
|
104678
|
-
this.nameContainer = append$1(this.labelContainer, $$
|
|
104676
|
+
this.domNode = this._register(new FastLabelNode(append$1(container, $$e('.monaco-icon-label'))));
|
|
104677
|
+
this.labelContainer = append$1(this.domNode.element, $$e('.monaco-icon-label-container'));
|
|
104678
|
+
this.nameContainer = append$1(this.labelContainer, $$e('span.monaco-icon-name-container'));
|
|
104679
104679
|
if ((options === null || options === void 0 ? void 0 : options.supportHighlights) || (options === null || options === void 0 ? void 0 : options.supportIcons)) {
|
|
104680
104680
|
this.nameNode = new LabelWithHighlights(this.nameContainer, !!options.supportIcons);
|
|
104681
104681
|
}
|
|
@@ -104765,20 +104765,20 @@ class IconLabel extends Disposable {
|
|
|
104765
104765
|
}
|
|
104766
104766
|
getOrCreateSuffixNode() {
|
|
104767
104767
|
if (!this.suffixNode) {
|
|
104768
|
-
const suffixContainer = this._register(new FastLabelNode(after(this.nameContainer, $$
|
|
104769
|
-
this.suffixNode = this._register(new FastLabelNode(append$1(suffixContainer.element, $$
|
|
104768
|
+
const suffixContainer = this._register(new FastLabelNode(after(this.nameContainer, $$e('span.monaco-icon-suffix-container'))));
|
|
104769
|
+
this.suffixNode = this._register(new FastLabelNode(append$1(suffixContainer.element, $$e('span.label-suffix'))));
|
|
104770
104770
|
}
|
|
104771
104771
|
return this.suffixNode;
|
|
104772
104772
|
}
|
|
104773
104773
|
getOrCreateDescriptionNode() {
|
|
104774
104774
|
var _a;
|
|
104775
104775
|
if (!this.descriptionNode) {
|
|
104776
|
-
const descriptionContainer = this._register(new FastLabelNode(append$1(this.labelContainer, $$
|
|
104776
|
+
const descriptionContainer = this._register(new FastLabelNode(append$1(this.labelContainer, $$e('span.monaco-icon-description-container'))));
|
|
104777
104777
|
if ((_a = this.creationOptions) === null || _a === void 0 ? void 0 : _a.supportDescriptionHighlights) {
|
|
104778
|
-
this.descriptionNode = new HighlightedLabel(append$1(descriptionContainer.element, $$
|
|
104778
|
+
this.descriptionNode = new HighlightedLabel(append$1(descriptionContainer.element, $$e('span.label-description')), { supportIcons: !!this.creationOptions.supportIcons });
|
|
104779
104779
|
}
|
|
104780
104780
|
else {
|
|
104781
|
-
this.descriptionNode = this._register(new FastLabelNode(append$1(descriptionContainer.element, $$
|
|
104781
|
+
this.descriptionNode = this._register(new FastLabelNode(append$1(descriptionContainer.element, $$e('span.label-description'))));
|
|
104782
104782
|
}
|
|
104783
104783
|
}
|
|
104784
104784
|
return this.descriptionNode;
|
|
@@ -104800,7 +104800,7 @@ class Label {
|
|
|
104800
104800
|
if (!this.singleLabel) {
|
|
104801
104801
|
this.container.innerText = '';
|
|
104802
104802
|
this.container.classList.remove('multiple');
|
|
104803
|
-
this.singleLabel = append$1(this.container, $$
|
|
104803
|
+
this.singleLabel = append$1(this.container, $$e('a.label-name', { id: options === null || options === void 0 ? void 0 : options.domId }));
|
|
104804
104804
|
}
|
|
104805
104805
|
this.singleLabel.textContent = label;
|
|
104806
104806
|
}
|
|
@@ -104811,9 +104811,9 @@ class Label {
|
|
|
104811
104811
|
for (let i = 0; i < label.length; i++) {
|
|
104812
104812
|
const l = label[i];
|
|
104813
104813
|
const id = (options === null || options === void 0 ? void 0 : options.domId) && `${options === null || options === void 0 ? void 0 : options.domId}_${i}`;
|
|
104814
|
-
append$1(this.container, $$
|
|
104814
|
+
append$1(this.container, $$e('a.label-name', { id, 'data-icon-label-count': label.length, 'data-icon-label-index': i, 'role': 'treeitem' }, l));
|
|
104815
104815
|
if (i < label.length - 1) {
|
|
104816
|
-
append$1(this.container, $$
|
|
104816
|
+
append$1(this.container, $$e('span.label-separator', undefined, (options === null || options === void 0 ? void 0 : options.separator) || '/'));
|
|
104817
104817
|
}
|
|
104818
104818
|
}
|
|
104819
104819
|
}
|
|
@@ -104851,7 +104851,7 @@ class LabelWithHighlights {
|
|
|
104851
104851
|
if (!this.singleLabel) {
|
|
104852
104852
|
this.container.innerText = '';
|
|
104853
104853
|
this.container.classList.remove('multiple');
|
|
104854
|
-
this.singleLabel = new HighlightedLabel(append$1(this.container, $$
|
|
104854
|
+
this.singleLabel = new HighlightedLabel(append$1(this.container, $$e('a.label-name', { id: options === null || options === void 0 ? void 0 : options.domId })), { supportIcons: this.supportIcons });
|
|
104855
104855
|
}
|
|
104856
104856
|
this.singleLabel.set(label, options === null || options === void 0 ? void 0 : options.matches, undefined, options === null || options === void 0 ? void 0 : options.labelEscapeNewLines);
|
|
104857
104857
|
}
|
|
@@ -104865,11 +104865,11 @@ class LabelWithHighlights {
|
|
|
104865
104865
|
const l = label[i];
|
|
104866
104866
|
const m = matches ? matches[i] : undefined;
|
|
104867
104867
|
const id = (options === null || options === void 0 ? void 0 : options.domId) && `${options === null || options === void 0 ? void 0 : options.domId}_${i}`;
|
|
104868
|
-
const name = $$
|
|
104868
|
+
const name = $$e('a.label-name', { id, 'data-icon-label-count': label.length, 'data-icon-label-index': i, 'role': 'treeitem' });
|
|
104869
104869
|
const highlightedLabel = new HighlightedLabel(append$1(this.container, name), { supportIcons: this.supportIcons });
|
|
104870
104870
|
highlightedLabel.set(l, m, undefined, options === null || options === void 0 ? void 0 : options.labelEscapeNewLines);
|
|
104871
104871
|
if (i < label.length - 1) {
|
|
104872
|
-
append$1(name, $$
|
|
104872
|
+
append$1(name, $$e('span.label-separator', undefined, separator));
|
|
104873
104873
|
}
|
|
104874
104874
|
}
|
|
104875
104875
|
}
|
|
@@ -104880,7 +104880,7 @@ class LabelWithHighlights {
|
|
|
104880
104880
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
104881
104881
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
104882
104882
|
*--------------------------------------------------------------------------------------------*/
|
|
104883
|
-
const $$
|
|
104883
|
+
const $$a = $$e;
|
|
104884
104884
|
const unthemedKeybindingLabelOptions = {
|
|
104885
104885
|
keybindingLabelBackground: undefined,
|
|
104886
104886
|
keybindingLabelForeground: undefined,
|
|
@@ -104894,7 +104894,7 @@ class KeybindingLabel {
|
|
|
104894
104894
|
this.keyElements = new Set();
|
|
104895
104895
|
this.options = options || Object.create(null);
|
|
104896
104896
|
const labelForeground = this.options.keybindingLabelForeground;
|
|
104897
|
-
this.domNode = append$1(container, $$
|
|
104897
|
+
this.domNode = append$1(container, $$a('.monaco-keybinding'));
|
|
104898
104898
|
if (labelForeground) {
|
|
104899
104899
|
this.domNode.style.color = labelForeground;
|
|
104900
104900
|
}
|
|
@@ -104921,7 +104921,7 @@ class KeybindingLabel {
|
|
|
104921
104921
|
this.renderChord(this.domNode, chords[0], this.matches ? this.matches.firstPart : null);
|
|
104922
104922
|
}
|
|
104923
104923
|
for (let i = 1; i < chords.length; i++) {
|
|
104924
|
-
append$1(this.domNode, $$
|
|
104924
|
+
append$1(this.domNode, $$a('span.monaco-keybinding-key-chord-separator', undefined, ' '));
|
|
104925
104925
|
this.renderChord(this.domNode, chords[i], this.matches ? this.matches.chordPart : null);
|
|
104926
104926
|
}
|
|
104927
104927
|
const title = ((_a = this.options.disableTitle) !== null && _a !== void 0 ? _a : false) ? undefined : this.keybinding.getAriaLabel() || undefined;
|
|
@@ -104963,14 +104963,14 @@ class KeybindingLabel {
|
|
|
104963
104963
|
renderKey(parent, label, highlight, separator) {
|
|
104964
104964
|
append$1(parent, this.createKeyElement(label, highlight ? '.highlight' : ''));
|
|
104965
104965
|
if (separator) {
|
|
104966
|
-
append$1(parent, $$
|
|
104966
|
+
append$1(parent, $$a('span.monaco-keybinding-key-separator', undefined, separator));
|
|
104967
104967
|
}
|
|
104968
104968
|
}
|
|
104969
104969
|
renderUnbound(parent) {
|
|
104970
104970
|
append$1(parent, this.createKeyElement(localize('unbound', "Unbound")));
|
|
104971
104971
|
}
|
|
104972
104972
|
createKeyElement(label, extraClass = '') {
|
|
104973
|
-
const keyElement = $$
|
|
104973
|
+
const keyElement = $$a('span.monaco-keybinding-key' + extraClass, undefined, label);
|
|
104974
104974
|
this.keyElements.add(keyElement);
|
|
104975
104975
|
if (this.options.keybindingLabelBackground) {
|
|
104976
104976
|
keyElement.style.backgroundColor = this.options.keybindingLabelBackground;
|
|
@@ -105147,7 +105147,7 @@ function renderQuickInputDescription(description, container, actionHandler) {
|
|
|
105147
105147
|
else if (!title) {
|
|
105148
105148
|
title = node.href;
|
|
105149
105149
|
}
|
|
105150
|
-
const anchor = $$
|
|
105150
|
+
const anchor = $$e('a', { href: node.href, title, tabIndex: tabIndex++ }, node.label);
|
|
105151
105151
|
anchor.style.textDecoration = 'underline';
|
|
105152
105152
|
const handleOpen = (e) => {
|
|
105153
105153
|
if (isEventLike(e)) {
|
|
@@ -105179,7 +105179,7 @@ var __decorate$1K = (undefined && undefined.__decorate) || function (decorators,
|
|
|
105179
105179
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
105180
105180
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
105181
105181
|
};
|
|
105182
|
-
const $$
|
|
105182
|
+
const $$9 = $$e;
|
|
105183
105183
|
class ListElement {
|
|
105184
105184
|
constructor(mainItem, previous, index, hasCheckbox, fireButtonTriggered, fireSeparatorButtonTriggered, onCheckedEmitter) {
|
|
105185
105185
|
var _a, _b, _c;
|
|
@@ -105293,36 +105293,36 @@ class ListElementRenderer {
|
|
|
105293
105293
|
const data = Object.create(null);
|
|
105294
105294
|
data.toDisposeElement = [];
|
|
105295
105295
|
data.toDisposeTemplate = [];
|
|
105296
|
-
data.entry = append$1(container, $$
|
|
105296
|
+
data.entry = append$1(container, $$9('.quick-input-list-entry'));
|
|
105297
105297
|
// Checkbox
|
|
105298
|
-
const label = append$1(data.entry, $$
|
|
105298
|
+
const label = append$1(data.entry, $$9('label.quick-input-list-label'));
|
|
105299
105299
|
data.toDisposeTemplate.push(addStandardDisposableListener(label, EventType$1.CLICK, e => {
|
|
105300
105300
|
if (!data.checkbox.offsetParent) { // If checkbox not visible:
|
|
105301
105301
|
e.preventDefault(); // Prevent toggle of checkbox when it is immediately shown afterwards. #91740
|
|
105302
105302
|
}
|
|
105303
105303
|
}));
|
|
105304
|
-
data.checkbox = append$1(label, $$
|
|
105304
|
+
data.checkbox = append$1(label, $$9('input.quick-input-list-checkbox'));
|
|
105305
105305
|
data.checkbox.type = 'checkbox';
|
|
105306
105306
|
data.toDisposeTemplate.push(addStandardDisposableListener(data.checkbox, EventType$1.CHANGE, e => {
|
|
105307
105307
|
data.element.checked = data.checkbox.checked;
|
|
105308
105308
|
}));
|
|
105309
105309
|
// Rows
|
|
105310
|
-
const rows = append$1(label, $$
|
|
105311
|
-
const row1 = append$1(rows, $$
|
|
105312
|
-
const row2 = append$1(rows, $$
|
|
105310
|
+
const rows = append$1(label, $$9('.quick-input-list-rows'));
|
|
105311
|
+
const row1 = append$1(rows, $$9('.quick-input-list-row'));
|
|
105312
|
+
const row2 = append$1(rows, $$9('.quick-input-list-row'));
|
|
105313
105313
|
// Label
|
|
105314
105314
|
data.label = new IconLabel(row1, { supportHighlights: true, supportDescriptionHighlights: true, supportIcons: true });
|
|
105315
105315
|
data.toDisposeTemplate.push(data.label);
|
|
105316
|
-
data.icon = prepend$1(data.label.element, $$
|
|
105316
|
+
data.icon = prepend$1(data.label.element, $$9('.quick-input-list-icon'));
|
|
105317
105317
|
// Keybinding
|
|
105318
|
-
const keybindingContainer = append$1(row1, $$
|
|
105318
|
+
const keybindingContainer = append$1(row1, $$9('.quick-input-list-entry-keybinding'));
|
|
105319
105319
|
data.keybinding = new KeybindingLabel(keybindingContainer, OS);
|
|
105320
105320
|
// Detail
|
|
105321
|
-
const detailContainer = append$1(row2, $$
|
|
105321
|
+
const detailContainer = append$1(row2, $$9('.quick-input-list-label-meta'));
|
|
105322
105322
|
data.detail = new IconLabel(detailContainer, { supportHighlights: true, supportIcons: true });
|
|
105323
105323
|
data.toDisposeTemplate.push(data.detail);
|
|
105324
105324
|
// Separator
|
|
105325
|
-
data.separator = append$1(data.entry, $$
|
|
105325
|
+
data.separator = append$1(data.entry, $$9('.quick-input-list-separator'));
|
|
105326
105326
|
// Actions
|
|
105327
105327
|
data.actionBar = new ActionBar(data.entry);
|
|
105328
105328
|
data.actionBar.domNode.classList.add('quick-input-list-entry-action-bar');
|
|
@@ -105485,7 +105485,7 @@ class QuickInputList {
|
|
|
105485
105485
|
this.elementDisposables = [];
|
|
105486
105486
|
this.disposables = [];
|
|
105487
105487
|
this.id = id;
|
|
105488
|
-
this.container = append$1(this.parent, $$
|
|
105488
|
+
this.container = append$1(this.parent, $$9('.quick-input-list'));
|
|
105489
105489
|
const delegate = new ListElementDelegate();
|
|
105490
105490
|
const accessibilityProvider = new QuickInputAccessibilityProvider();
|
|
105491
105491
|
this.list = options.createList('QuickInput', this.container, delegate, [new ListElementRenderer(themeService)], {
|
|
@@ -106991,7 +106991,7 @@ class InputBox extends QuickInput {
|
|
|
106991
106991
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
106992
106992
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
106993
106993
|
*--------------------------------------------------------------------------------------------*/
|
|
106994
|
-
const $$
|
|
106994
|
+
const $$8 = $$e;
|
|
106995
106995
|
class QuickInputController extends Disposable {
|
|
106996
106996
|
constructor(options, themeService, layoutService) {
|
|
106997
106997
|
super();
|
|
@@ -107042,19 +107042,19 @@ class QuickInputController extends Disposable {
|
|
|
107042
107042
|
}
|
|
107043
107043
|
return this.ui;
|
|
107044
107044
|
}
|
|
107045
|
-
const container = append$1(this.parentElement, $$
|
|
107045
|
+
const container = append$1(this.parentElement, $$8('.quick-input-widget.show-file-icons'));
|
|
107046
107046
|
container.tabIndex = -1;
|
|
107047
107047
|
container.style.display = 'none';
|
|
107048
107048
|
const styleSheet = createStyleSheet(container);
|
|
107049
|
-
const titleBar = append$1(container, $$
|
|
107049
|
+
const titleBar = append$1(container, $$8('.quick-input-titlebar'));
|
|
107050
107050
|
const actionBarOption = this.options.hoverDelegate ? { hoverDelegate: this.options.hoverDelegate } : undefined;
|
|
107051
107051
|
const leftActionBar = this._register(new ActionBar(titleBar, actionBarOption));
|
|
107052
107052
|
leftActionBar.domNode.classList.add('quick-input-left-action-bar');
|
|
107053
|
-
const title = append$1(titleBar, $$
|
|
107053
|
+
const title = append$1(titleBar, $$8('.quick-input-title'));
|
|
107054
107054
|
const rightActionBar = this._register(new ActionBar(titleBar, actionBarOption));
|
|
107055
107055
|
rightActionBar.domNode.classList.add('quick-input-right-action-bar');
|
|
107056
|
-
const headerContainer = append$1(container, $$
|
|
107057
|
-
const checkAll = append$1(headerContainer, $$
|
|
107056
|
+
const headerContainer = append$1(container, $$8('.quick-input-header'));
|
|
107057
|
+
const checkAll = append$1(headerContainer, $$8('input.quick-input-check-all'));
|
|
107058
107058
|
checkAll.type = 'checkbox';
|
|
107059
107059
|
checkAll.setAttribute('aria-label', localize('quickInput.checkAll', "Toggle all checkboxes"));
|
|
107060
107060
|
this._register(addStandardDisposableListener(checkAll, EventType$1.CHANGE, e => {
|
|
@@ -107066,36 +107066,36 @@ class QuickInputController extends Disposable {
|
|
|
107066
107066
|
inputBox.setFocus();
|
|
107067
107067
|
}
|
|
107068
107068
|
}));
|
|
107069
|
-
const description2 = append$1(headerContainer, $$
|
|
107070
|
-
const inputContainer = append$1(headerContainer, $$
|
|
107071
|
-
const filterContainer = append$1(inputContainer, $$
|
|
107069
|
+
const description2 = append$1(headerContainer, $$8('.quick-input-description'));
|
|
107070
|
+
const inputContainer = append$1(headerContainer, $$8('.quick-input-and-message'));
|
|
107071
|
+
const filterContainer = append$1(inputContainer, $$8('.quick-input-filter'));
|
|
107072
107072
|
const inputBox = this._register(new QuickInputBox(filterContainer, this.styles.inputBox, this.styles.toggle));
|
|
107073
107073
|
inputBox.setAttribute('aria-describedby', `${this.idPrefix}message`);
|
|
107074
|
-
const visibleCountContainer = append$1(filterContainer, $$
|
|
107074
|
+
const visibleCountContainer = append$1(filterContainer, $$8('.quick-input-visible-count'));
|
|
107075
107075
|
visibleCountContainer.setAttribute('aria-live', 'polite');
|
|
107076
107076
|
visibleCountContainer.setAttribute('aria-atomic', 'true');
|
|
107077
107077
|
const visibleCount = new CountBadge(visibleCountContainer, { countFormat: localize({ key: 'quickInput.visibleCount', comment: ['This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers.'] }, "{0} Results") }, this.styles.countBadge);
|
|
107078
|
-
const countContainer = append$1(filterContainer, $$
|
|
107078
|
+
const countContainer = append$1(filterContainer, $$8('.quick-input-count'));
|
|
107079
107079
|
countContainer.setAttribute('aria-live', 'polite');
|
|
107080
107080
|
const count = new CountBadge(countContainer, { countFormat: localize({ key: 'quickInput.countSelected', comment: ['This tells the user how many items are selected in a list of items to select from. The items can be anything.'] }, "{0} Selected") }, this.styles.countBadge);
|
|
107081
|
-
const okContainer = append$1(headerContainer, $$
|
|
107081
|
+
const okContainer = append$1(headerContainer, $$8('.quick-input-action'));
|
|
107082
107082
|
const ok = this._register(new Button(okContainer, this.styles.button));
|
|
107083
107083
|
ok.label = localize('ok', "OK");
|
|
107084
107084
|
this._register(ok.onDidClick(e => {
|
|
107085
107085
|
this.onDidAcceptEmitter.fire();
|
|
107086
107086
|
}));
|
|
107087
|
-
const customButtonContainer = append$1(headerContainer, $$
|
|
107087
|
+
const customButtonContainer = append$1(headerContainer, $$8('.quick-input-action'));
|
|
107088
107088
|
const customButton = this._register(new Button(customButtonContainer, this.styles.button));
|
|
107089
107089
|
customButton.label = localize('custom', "Custom");
|
|
107090
107090
|
this._register(customButton.onDidClick(e => {
|
|
107091
107091
|
this.onDidCustomEmitter.fire();
|
|
107092
107092
|
}));
|
|
107093
|
-
const message = append$1(inputContainer, $$
|
|
107093
|
+
const message = append$1(inputContainer, $$8(`#${this.idPrefix}message.quick-input-message`));
|
|
107094
107094
|
const progressBar = this._register(new ProgressBar(container, this.styles.progressBar));
|
|
107095
107095
|
progressBar.getContainer().classList.add('quick-input-progress');
|
|
107096
|
-
const widget = append$1(container, $$
|
|
107096
|
+
const widget = append$1(container, $$8('.quick-input-html-widget'));
|
|
107097
107097
|
widget.tabIndex = -1;
|
|
107098
|
-
const description1 = append$1(container, $$
|
|
107098
|
+
const description1 = append$1(container, $$8('.quick-input-description'));
|
|
107099
107099
|
const listId = this.idPrefix + 'list';
|
|
107100
107100
|
const list = this._register(new QuickInputList(container, listId, this.options, this.themeService));
|
|
107101
107101
|
inputBox.setAttribute('aria-controls', listId);
|
|
@@ -109440,7 +109440,7 @@ let BrowserClipboardService = class BrowserClipboardService extends Disposable {
|
|
|
109440
109440
|
// Fallback to textarea and execCommand solution
|
|
109441
109441
|
const activeDocument = getActiveDocument();
|
|
109442
109442
|
const activeElement = activeDocument.activeElement;
|
|
109443
|
-
const textArea = activeDocument.body.appendChild($$
|
|
109443
|
+
const textArea = activeDocument.body.appendChild($$e('textarea', { 'aria-hidden': true }));
|
|
109444
109444
|
textArea.style.height = '1px';
|
|
109445
109445
|
textArea.style.width = '1px';
|
|
109446
109446
|
textArea.style.position = 'absolute';
|
|
@@ -114562,7 +114562,7 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
|
|
|
114562
114562
|
this._nodes = h$1('div.diff-hidden-lines', [
|
|
114563
114563
|
h$1('div.top@top', { title: localize('diff.hiddenLines.top', 'Click or drag to show more above') }),
|
|
114564
114564
|
h$1('div.center@content', { style: { display: 'flex' } }, [
|
|
114565
|
-
h$1('div@first', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexShrink: '0' } }, [$$
|
|
114565
|
+
h$1('div@first', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexShrink: '0' } }, [$$e('a', { title: localize('showUnchangedRegion', 'Show Unchanged Region'), role: 'button', onclick: () => { this._unchangedRegion.showAll(undefined); } }, ...renderLabelWithIcons('$(unfold)'))]),
|
|
114566
114566
|
h$1('div@others', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } }),
|
|
114567
114567
|
]),
|
|
114568
114568
|
h$1('div.bottom@bottom', { title: localize('diff.bottom', 'Click or drag to show more below'), role: 'button' }),
|
|
@@ -114674,7 +114674,7 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
|
|
|
114674
114674
|
if (!this._hide) {
|
|
114675
114675
|
const lineCount = _unchangedRegion.getHiddenModifiedRange(reader).length;
|
|
114676
114676
|
const linesHiddenText = localize('hiddenLines', '{0} hidden lines', lineCount);
|
|
114677
|
-
const span = $$
|
|
114677
|
+
const span = $$e('span', { title: localize('diff.hiddenLines.expandAll', 'Double click to unfold') }, linesHiddenText);
|
|
114678
114678
|
span.addEventListener('dblclick', e => {
|
|
114679
114679
|
if (e.button !== 0) {
|
|
114680
114680
|
return;
|
|
@@ -114686,7 +114686,7 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
|
|
|
114686
114686
|
const range = this._unchangedRegion.getHiddenModifiedRange(reader);
|
|
114687
114687
|
const items = this._modifiedOutlineSource.getBreadcrumbItems(range, reader);
|
|
114688
114688
|
if (items.length > 0) {
|
|
114689
|
-
children.push($$
|
|
114689
|
+
children.push($$e('span', undefined, '\u00a0\u00a0|\u00a0\u00a0'));
|
|
114690
114690
|
for (let i = 0; i < items.length; i++) {
|
|
114691
114691
|
const item = items[i];
|
|
114692
114692
|
const icon = SymbolKinds.toIcon(item.kind);
|
|
@@ -115819,7 +115819,7 @@ let ViewZoneManager = class ViewZoneManager extends Disposable {
|
|
|
115819
115819
|
e.stopPropagation();
|
|
115820
115820
|
_diffEditorWidget.revert(a.diff);
|
|
115821
115821
|
}));
|
|
115822
|
-
return $$
|
|
115822
|
+
return $$e('div', {}, arrow);
|
|
115823
115823
|
}
|
|
115824
115824
|
let marginDomNode = undefined;
|
|
115825
115825
|
if (a.diff && a.diff.modified.isEmpty && this._options.shouldRenderRevertArrows.read(reader)) {
|
|
@@ -116588,7 +116588,7 @@ let DiffEditorWidget = class DiffEditorWidget extends DelegatingEditor {
|
|
|
116588
116588
|
this._audioCueService = _audioCueService;
|
|
116589
116589
|
this._editorProgressService = _editorProgressService;
|
|
116590
116590
|
this.elements = h$1('div.monaco-diff-editor.side-by-side', { style: { position: 'relative', height: '100%' } }, [
|
|
116591
|
-
h$1('div.noModificationsOverlay@overlay', { style: { position: 'absolute', height: '100%', visibility: 'hidden', } }, [$$
|
|
116591
|
+
h$1('div.noModificationsOverlay@overlay', { style: { position: 'absolute', height: '100%', visibility: 'hidden', } }, [$$e('span', {}, 'No Changes')]),
|
|
116592
116592
|
h$1('div.editor.original@original', { style: { position: 'absolute', height: '100%' } }),
|
|
116593
116593
|
h$1('div.editor.modified@modified', { style: { position: 'absolute', height: '100%' } }),
|
|
116594
116594
|
h$1('div.accessibleDiffViewer@accessibleDiffViewer', { style: { position: 'absolute', height: '100%' } }),
|
|
@@ -120535,7 +120535,7 @@ registerLanguage({
|
|
|
120535
120535
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
120536
120536
|
loader: () => {
|
|
120537
120537
|
{
|
|
120538
|
-
return import('./html-
|
|
120538
|
+
return import('./html-37ae4460.js');
|
|
120539
120539
|
}
|
|
120540
120540
|
}
|
|
120541
120541
|
});
|
|
@@ -120555,7 +120555,7 @@ registerLanguage({
|
|
|
120555
120555
|
mimetypes: ["text/javascript"],
|
|
120556
120556
|
loader: () => {
|
|
120557
120557
|
{
|
|
120558
|
-
return import('./javascript-
|
|
120558
|
+
return import('./javascript-ad435a4b.js');
|
|
120559
120559
|
}
|
|
120560
120560
|
}
|
|
120561
120561
|
});
|
|
@@ -120573,7 +120573,7 @@ registerLanguage({
|
|
|
120573
120573
|
mimetypes: ["text/typescript"],
|
|
120574
120574
|
loader: () => {
|
|
120575
120575
|
{
|
|
120576
|
-
return import('./typescript-
|
|
120576
|
+
return import('./typescript-a9a22ab3.js');
|
|
120577
120577
|
}
|
|
120578
120578
|
}
|
|
120579
120579
|
});
|
|
@@ -120694,7 +120694,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
|
|
|
120694
120694
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
120695
120695
|
function getMode$3() {
|
|
120696
120696
|
{
|
|
120697
|
-
return import('./cssMode-
|
|
120697
|
+
return import('./cssMode-71ce0374.js');
|
|
120698
120698
|
}
|
|
120699
120699
|
}
|
|
120700
120700
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
@@ -120819,7 +120819,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
120819
120819
|
};
|
|
120820
120820
|
function getMode$2() {
|
|
120821
120821
|
{
|
|
120822
|
-
return import('./htmlMode-
|
|
120822
|
+
return import('./htmlMode-ae5b0f39.js');
|
|
120823
120823
|
}
|
|
120824
120824
|
}
|
|
120825
120825
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
|
@@ -120921,7 +120921,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
|
|
|
120921
120921
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
120922
120922
|
function getMode$1() {
|
|
120923
120923
|
{
|
|
120924
|
-
return import('./jsonMode-
|
|
120924
|
+
return import('./jsonMode-b8bb4df0.js');
|
|
120925
120925
|
}
|
|
120926
120926
|
}
|
|
120927
120927
|
monaco_editor_core_exports$1.languages.register({
|
|
@@ -121190,7 +121190,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
121190
121190
|
};
|
|
121191
121191
|
function getMode() {
|
|
121192
121192
|
{
|
|
121193
|
-
return import('./tsMode-
|
|
121193
|
+
return import('./tsMode-b967128d.js');
|
|
121194
121194
|
}
|
|
121195
121195
|
}
|
|
121196
121196
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
|
@@ -123142,7 +123142,7 @@ let LightBulbWidget = LightBulbWidget_1 = class LightBulbWidget extends Disposab
|
|
|
123142
123142
|
this.onClick = this._onClick.event;
|
|
123143
123143
|
this._state = LightBulbState.Hidden;
|
|
123144
123144
|
this._iconClasses = [];
|
|
123145
|
-
this._domNode = $$
|
|
123145
|
+
this._domNode = $$e('div.lightBulbWidget');
|
|
123146
123146
|
this._register(Gesture.ignoreTarget(this._domNode));
|
|
123147
123147
|
this._editor.addContentWidget(this);
|
|
123148
123148
|
this._register(this._editor.onDidChangeModelContent(_ => {
|
|
@@ -123998,7 +123998,7 @@ let ActionWidgetService = class ActionWidgetService extends Disposable {
|
|
|
123998
123998
|
if (!actions.length) {
|
|
123999
123999
|
return undefined;
|
|
124000
124000
|
}
|
|
124001
|
-
const container = $$
|
|
124001
|
+
const container = $$e(className);
|
|
124002
124002
|
const actionBar = new ActionBar(container);
|
|
124003
124003
|
actionBar.push(actions, { icon: false, label: true });
|
|
124004
124004
|
return actionBar;
|
|
@@ -125192,20 +125192,20 @@ class CodeLensContentWidget {
|
|
|
125192
125192
|
if (lens.command) {
|
|
125193
125193
|
const title = renderLabelWithIcons(lens.command.title.trim());
|
|
125194
125194
|
if (lens.command.id) {
|
|
125195
|
-
children.push($$
|
|
125195
|
+
children.push($$e('a', { id: String(i), title: lens.command.tooltip, role: 'button' }, ...title));
|
|
125196
125196
|
this._commands.set(String(i), lens.command);
|
|
125197
125197
|
}
|
|
125198
125198
|
else {
|
|
125199
|
-
children.push($$
|
|
125199
|
+
children.push($$e('span', { title: lens.command.tooltip }, ...title));
|
|
125200
125200
|
}
|
|
125201
125201
|
if (i + 1 < lenses.length) {
|
|
125202
|
-
children.push($$
|
|
125202
|
+
children.push($$e('span', undefined, '\u00a0|\u00a0'));
|
|
125203
125203
|
}
|
|
125204
125204
|
}
|
|
125205
125205
|
}
|
|
125206
125206
|
if (!hasSymbol) {
|
|
125207
125207
|
// symbols but no commands
|
|
125208
|
-
reset(this._domNode, $$
|
|
125208
|
+
reset(this._domNode, $$e('span', undefined, 'no commands'));
|
|
125209
125209
|
}
|
|
125210
125210
|
else {
|
|
125211
125211
|
// symbols and commands
|
|
@@ -126303,22 +126303,22 @@ class ColorPickerModel {
|
|
|
126303
126303
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
126304
126304
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
126305
126305
|
*--------------------------------------------------------------------------------------------*/
|
|
126306
|
-
const $$
|
|
126306
|
+
const $$7 = $$e;
|
|
126307
126307
|
class ColorPickerHeader extends Disposable {
|
|
126308
126308
|
constructor(container, model, themeService, showingStandaloneColorPicker = false) {
|
|
126309
126309
|
super();
|
|
126310
126310
|
this.model = model;
|
|
126311
126311
|
this.showingStandaloneColorPicker = showingStandaloneColorPicker;
|
|
126312
126312
|
this._closeButton = null;
|
|
126313
|
-
this._domNode = $$
|
|
126313
|
+
this._domNode = $$7('.colorpicker-header');
|
|
126314
126314
|
append$1(container, this._domNode);
|
|
126315
|
-
this._pickedColorNode = append$1(this._domNode, $$
|
|
126316
|
-
append$1(this._pickedColorNode, $$
|
|
126315
|
+
this._pickedColorNode = append$1(this._domNode, $$7('.picked-color'));
|
|
126316
|
+
append$1(this._pickedColorNode, $$7('span.codicon.codicon-color-mode'));
|
|
126317
126317
|
this._pickedColorPresentation = append$1(this._pickedColorNode, document.createElement('span'));
|
|
126318
126318
|
this._pickedColorPresentation.classList.add('picked-color-presentation');
|
|
126319
126319
|
const tooltip = localize('clickToToggleColorOptions', "Click to toggle color options (rgb/hsl/hex)");
|
|
126320
126320
|
this._pickedColorNode.setAttribute('title', tooltip);
|
|
126321
|
-
this._originalColorNode = append$1(this._domNode, $$
|
|
126321
|
+
this._originalColorNode = append$1(this._domNode, $$7('.original-color'));
|
|
126322
126322
|
this._originalColorNode.style.backgroundColor = Color.Format.CSS.format(this.model.originalColor) || '';
|
|
126323
126323
|
this.backgroundColor = themeService.getColorTheme().getColor(editorHoverBackground) || Color.white;
|
|
126324
126324
|
this._register(themeService.onDidColorThemeChange(theme => {
|
|
@@ -126369,7 +126369,7 @@ class CloseButton extends Disposable {
|
|
|
126369
126369
|
const innerDiv = document.createElement('div');
|
|
126370
126370
|
innerDiv.classList.add('close-button-inner-div');
|
|
126371
126371
|
append$1(this._button, innerDiv);
|
|
126372
|
-
const closeButton = append$1(innerDiv, $$
|
|
126372
|
+
const closeButton = append$1(innerDiv, $$7('.button' + ThemeIcon.asCSSSelector(registerIcon('color-picker-close', Codicon.close, localize('closeIcon', 'Icon to close the color picker')))));
|
|
126373
126373
|
closeButton.classList.add('close-icon');
|
|
126374
126374
|
this._button.onclick = () => {
|
|
126375
126375
|
this._onClicked.fire();
|
|
@@ -126382,7 +126382,7 @@ class ColorPickerBody extends Disposable {
|
|
|
126382
126382
|
this.model = model;
|
|
126383
126383
|
this.pixelRatio = pixelRatio;
|
|
126384
126384
|
this._insertButton = null;
|
|
126385
|
-
this._domNode = $$
|
|
126385
|
+
this._domNode = $$7('.colorpicker-body');
|
|
126386
126386
|
append$1(container, this._domNode);
|
|
126387
126387
|
this._saturationBox = new SaturationBox(this._domNode, this.model, this.pixelRatio);
|
|
126388
126388
|
this._register(this._saturationBox);
|
|
@@ -126441,14 +126441,14 @@ class SaturationBox extends Disposable {
|
|
|
126441
126441
|
this.onDidChange = this._onDidChange.event;
|
|
126442
126442
|
this._onColorFlushed = new Emitter$1();
|
|
126443
126443
|
this.onColorFlushed = this._onColorFlushed.event;
|
|
126444
|
-
this._domNode = $$
|
|
126444
|
+
this._domNode = $$7('.saturation-wrap');
|
|
126445
126445
|
append$1(container, this._domNode);
|
|
126446
126446
|
// Create canvas, draw selected color
|
|
126447
126447
|
this._canvas = document.createElement('canvas');
|
|
126448
126448
|
this._canvas.className = 'saturation-box';
|
|
126449
126449
|
append$1(this._domNode, this._canvas);
|
|
126450
126450
|
// Add selection circle
|
|
126451
|
-
this.selection = $$
|
|
126451
|
+
this.selection = $$7('.saturation-selection');
|
|
126452
126452
|
append$1(this._domNode, this.selection);
|
|
126453
126453
|
this.layout();
|
|
126454
126454
|
this._register(addDisposableListener(this._domNode, EventType$1.POINTER_DOWN, e => this.onPointerDown(e)));
|
|
@@ -126533,14 +126533,14 @@ class Strip extends Disposable {
|
|
|
126533
126533
|
this._onColorFlushed = new Emitter$1();
|
|
126534
126534
|
this.onColorFlushed = this._onColorFlushed.event;
|
|
126535
126535
|
if (showingStandaloneColorPicker) {
|
|
126536
|
-
this.domNode = append$1(container, $$
|
|
126537
|
-
this.overlay = append$1(this.domNode, $$
|
|
126536
|
+
this.domNode = append$1(container, $$7('.standalone-strip'));
|
|
126537
|
+
this.overlay = append$1(this.domNode, $$7('.standalone-overlay'));
|
|
126538
126538
|
}
|
|
126539
126539
|
else {
|
|
126540
|
-
this.domNode = append$1(container, $$
|
|
126541
|
-
this.overlay = append$1(this.domNode, $$
|
|
126540
|
+
this.domNode = append$1(container, $$7('.strip'));
|
|
126541
|
+
this.overlay = append$1(this.domNode, $$7('.overlay'));
|
|
126542
126542
|
}
|
|
126543
|
-
this.slider = append$1(this.domNode, $$
|
|
126543
|
+
this.slider = append$1(this.domNode, $$7('.slider'));
|
|
126544
126544
|
this.slider.style.top = `0px`;
|
|
126545
126545
|
this._register(addDisposableListener(this.domNode, EventType$1.POINTER_DOWN, e => this.onPointerDown(e)));
|
|
126546
126546
|
this._register(model.onDidChangeColor(this.onDidChangeColor, this));
|
|
@@ -126630,7 +126630,7 @@ class ColorPickerWidget extends Widget$1 {
|
|
|
126630
126630
|
this.model = model;
|
|
126631
126631
|
this.pixelRatio = pixelRatio;
|
|
126632
126632
|
this._register(PixelRatio.onDidChange(() => this.layout()));
|
|
126633
|
-
const element = $$
|
|
126633
|
+
const element = $$7('.colorpicker-widget');
|
|
126634
126634
|
container.appendChild(element);
|
|
126635
126635
|
this.header = this._register(new ColorPickerHeader(element, this.model, themeService, standaloneColorPicker));
|
|
126636
126636
|
this.body = this._register(new ColorPickerBody(element, this.model, this.pixelRatio, standaloneColorPicker));
|
|
@@ -127555,26 +127555,26 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
|
|
|
127555
127555
|
}
|
|
127556
127556
|
_fillContainer(container) {
|
|
127557
127557
|
this.setCssClass('peekview-widget');
|
|
127558
|
-
this._headElement = $$
|
|
127559
|
-
this._bodyElement = $$
|
|
127558
|
+
this._headElement = $$e('.head');
|
|
127559
|
+
this._bodyElement = $$e('.body');
|
|
127560
127560
|
this._fillHead(this._headElement);
|
|
127561
127561
|
this._fillBody(this._bodyElement);
|
|
127562
127562
|
container.appendChild(this._headElement);
|
|
127563
127563
|
container.appendChild(this._bodyElement);
|
|
127564
127564
|
}
|
|
127565
127565
|
_fillHead(container, noCloseAction) {
|
|
127566
|
-
this._titleElement = $$
|
|
127566
|
+
this._titleElement = $$e('.peekview-title');
|
|
127567
127567
|
if (this.options.supportOnTitleClick) {
|
|
127568
127568
|
this._titleElement.classList.add('clickable');
|
|
127569
127569
|
addStandardDisposableListener(this._titleElement, 'click', event => this._onTitleClick(event));
|
|
127570
127570
|
}
|
|
127571
127571
|
append$1(this._headElement, this._titleElement);
|
|
127572
127572
|
this._fillTitleIcon(this._titleElement);
|
|
127573
|
-
this._primaryHeading = $$
|
|
127574
|
-
this._secondaryHeading = $$
|
|
127575
|
-
this._metaHeading = $$
|
|
127573
|
+
this._primaryHeading = $$e('span.filename');
|
|
127574
|
+
this._secondaryHeading = $$e('span.dirname');
|
|
127575
|
+
this._metaHeading = $$e('span.meta');
|
|
127576
127576
|
append$1(this._titleElement, this._primaryHeading, this._secondaryHeading, this._metaHeading);
|
|
127577
|
-
const actionsContainer = $$
|
|
127577
|
+
const actionsContainer = $$e('.peekview-actions');
|
|
127578
127578
|
append$1(this._headElement, actionsContainer);
|
|
127579
127579
|
const actionBarOptions = this._getActionBarOptions();
|
|
127580
127580
|
this._actionbarWidget = new ActionBar(actionsContainer, actionBarOptions);
|
|
@@ -127987,7 +127987,7 @@ let FileReferencesTemplate = class FileReferencesTemplate extends Disposable {
|
|
|
127987
127987
|
const parent = document.createElement('div');
|
|
127988
127988
|
parent.classList.add('reference-file');
|
|
127989
127989
|
this.file = this._register(new IconLabel(parent, { supportHighlights: true }));
|
|
127990
|
-
this.badge = new CountBadge(append$1(parent, $$
|
|
127990
|
+
this.badge = new CountBadge(append$1(parent, $$e('.count')), {}, defaultCountBadgeStyles);
|
|
127991
127991
|
container.appendChild(parent);
|
|
127992
127992
|
}
|
|
127993
127993
|
set(element, matches) {
|
|
@@ -128290,11 +128290,11 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
128290
128290
|
_fillBody(containerElement) {
|
|
128291
128291
|
this.setCssClass('reference-zone-widget');
|
|
128292
128292
|
// message pane
|
|
128293
|
-
this._messageContainer = append$1(containerElement, $$
|
|
128293
|
+
this._messageContainer = append$1(containerElement, $$e('div.messages'));
|
|
128294
128294
|
hide(this._messageContainer);
|
|
128295
128295
|
this._splitView = new SplitView(containerElement, { orientation: 1 /* Orientation.HORIZONTAL */ });
|
|
128296
128296
|
// editor
|
|
128297
|
-
this._previewContainer = append$1(containerElement, $$
|
|
128297
|
+
this._previewContainer = append$1(containerElement, $$e('div.preview.inline'));
|
|
128298
128298
|
const options = {
|
|
128299
128299
|
scrollBeyondLastLine: false,
|
|
128300
128300
|
scrollbar: {
|
|
@@ -128315,7 +128315,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
128315
128315
|
hide(this._previewContainer);
|
|
128316
128316
|
this._previewNotAvailableMessage = new TextModel(localize('missingPreviewMessage', "no preview available"), PLAINTEXT_LANGUAGE_ID, TextModel.DEFAULT_CREATION_OPTIONS, null, this._undoRedoService, this._languageService, this._languageConfigurationService);
|
|
128317
128317
|
// tree
|
|
128318
|
-
this._treeContainer = append$1(containerElement, $$
|
|
128318
|
+
this._treeContainer = append$1(containerElement, $$e('div.ref-tree.inline'));
|
|
128319
128319
|
const treeOptions = {
|
|
128320
128320
|
keyboardSupport: this._defaultTreeKeyboardSupport,
|
|
128321
128321
|
accessibilityProvider: new AccessibilityProvider(),
|
|
@@ -130091,7 +130091,7 @@ registerEditorContribution(GotoDefinitionAtPositionEditorContribution.ID, GotoDe
|
|
|
130091
130091
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
130092
130092
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
130093
130093
|
*--------------------------------------------------------------------------------------------*/
|
|
130094
|
-
const $$
|
|
130094
|
+
const $$6 = $$e;
|
|
130095
130095
|
class HoverWidget extends Disposable {
|
|
130096
130096
|
constructor() {
|
|
130097
130097
|
super();
|
|
@@ -130116,14 +130116,14 @@ class HoverAction extends Disposable {
|
|
|
130116
130116
|
}
|
|
130117
130117
|
constructor(parent, actionOptions, keybindingLabel) {
|
|
130118
130118
|
super();
|
|
130119
|
-
this.actionContainer = append$1(parent, $$
|
|
130119
|
+
this.actionContainer = append$1(parent, $$6('div.action-container'));
|
|
130120
130120
|
this.actionContainer.setAttribute('tabindex', '0');
|
|
130121
|
-
this.action = append$1(this.actionContainer, $$
|
|
130121
|
+
this.action = append$1(this.actionContainer, $$6('a.action'));
|
|
130122
130122
|
this.action.setAttribute('role', 'button');
|
|
130123
130123
|
if (actionOptions.iconClass) {
|
|
130124
|
-
append$1(this.action, $$
|
|
130124
|
+
append$1(this.action, $$6(`span.icon.${actionOptions.iconClass}`));
|
|
130125
130125
|
}
|
|
130126
|
-
const label = append$1(this.action, $$
|
|
130126
|
+
const label = append$1(this.action, $$6('span'));
|
|
130127
130127
|
label.textContent = keybindingLabel ? `${actionOptions.label} (${keybindingLabel})` : actionOptions.label;
|
|
130128
130128
|
this._register(addDisposableListener(this.actionContainer, EventType$1.CLICK, e => {
|
|
130129
130129
|
e.stopPropagation();
|
|
@@ -130593,7 +130593,7 @@ var __param$14 = (undefined && undefined.__param) || function (paramIndex, decor
|
|
|
130593
130593
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
130594
130594
|
};
|
|
130595
130595
|
var ContentHoverController_1, ContentHoverWidget_1;
|
|
130596
|
-
const $$
|
|
130596
|
+
const $$5 = $$e;
|
|
130597
130597
|
let ContentHoverController = ContentHoverController_1 = class ContentHoverController extends Disposable {
|
|
130598
130598
|
constructor(_editor, _instantiationService, _keybindingService) {
|
|
130599
130599
|
super();
|
|
@@ -131334,8 +131334,8 @@ let EditorHoverStatusBar = class EditorHoverStatusBar extends Disposable {
|
|
|
131334
131334
|
super();
|
|
131335
131335
|
this._keybindingService = _keybindingService;
|
|
131336
131336
|
this._hasContent = false;
|
|
131337
|
-
this.hoverElement = $$
|
|
131338
|
-
this.actionsElement = append$1(this.hoverElement, $$
|
|
131337
|
+
this.hoverElement = $$5('div.hover-row.status-bar');
|
|
131338
|
+
this.actionsElement = append$1(this.hoverElement, $$5('div.actions'));
|
|
131339
131339
|
}
|
|
131340
131340
|
addAction(actionOptions) {
|
|
131341
131341
|
const keybinding = this._keybindingService.lookupKeybinding(actionOptions.commandId);
|
|
@@ -131437,7 +131437,7 @@ function computeDistanceFromPointToRectangle(pointX, pointY, left, top, width, h
|
|
|
131437
131437
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
131438
131438
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
131439
131439
|
*--------------------------------------------------------------------------------------------*/
|
|
131440
|
-
const $$
|
|
131440
|
+
const $$4 = $$e;
|
|
131441
131441
|
class MarginHoverWidget extends Disposable {
|
|
131442
131442
|
constructor(editor, languageService, openerService) {
|
|
131443
131443
|
super();
|
|
@@ -131518,8 +131518,8 @@ class MarginHoverWidget extends Disposable {
|
|
|
131518
131518
|
this._renderDisposeables.clear();
|
|
131519
131519
|
const fragment = document.createDocumentFragment();
|
|
131520
131520
|
for (const msg of messages) {
|
|
131521
|
-
const markdownHoverElement = $$
|
|
131522
|
-
const hoverContentsElement = append$1(markdownHoverElement, $$
|
|
131521
|
+
const markdownHoverElement = $$4('div.hover-row.markdown-hover');
|
|
131522
|
+
const hoverContentsElement = append$1(markdownHoverElement, $$4('div.hover-contents'));
|
|
131523
131523
|
const renderedContents = this._renderDisposeables.add(this._markdownRenderer.render(msg.value));
|
|
131524
131524
|
hoverContentsElement.appendChild(renderedContents.element);
|
|
131525
131525
|
fragment.appendChild(markdownHoverElement);
|
|
@@ -131638,7 +131638,7 @@ var __decorate$13 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
131638
131638
|
var __param$13 = (undefined && undefined.__param) || function (paramIndex, decorator) {
|
|
131639
131639
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
131640
131640
|
};
|
|
131641
|
-
const $$
|
|
131641
|
+
const $$3 = $$e;
|
|
131642
131642
|
class MarkdownHover {
|
|
131643
131643
|
constructor(owner, range, contents, isBeforeContent, ordinal) {
|
|
131644
131644
|
this.owner = owner;
|
|
@@ -131743,8 +131743,8 @@ function renderMarkdownHovers(context, hoverParts, editor, languageService, open
|
|
|
131743
131743
|
if (isEmptyMarkdownString(contents)) {
|
|
131744
131744
|
continue;
|
|
131745
131745
|
}
|
|
131746
|
-
const markdownHoverElement = $$
|
|
131747
|
-
const hoverContentsElement = append$1(markdownHoverElement, $$
|
|
131746
|
+
const markdownHoverElement = $$3('div.hover-row.markdown-hover');
|
|
131747
|
+
const hoverContentsElement = append$1(markdownHoverElement, $$3('div.hover-contents'));
|
|
131748
131748
|
const renderer = disposables.add(new MarkdownRenderer({ editor }, languageService, openerService));
|
|
131749
131749
|
disposables.add(renderer.onDidRenderAsync(() => {
|
|
131750
131750
|
hoverContentsElement.className = 'hover-contents code-hover-contents';
|
|
@@ -132065,14 +132065,14 @@ class MessageWidget {
|
|
|
132065
132065
|
detailsElement.appendChild(codeElement);
|
|
132066
132066
|
}
|
|
132067
132067
|
else {
|
|
132068
|
-
this._codeLink = $$
|
|
132068
|
+
this._codeLink = $$e('a.code-link');
|
|
132069
132069
|
this._codeLink.setAttribute('href', `${code.target.toString()}`);
|
|
132070
132070
|
this._codeLink.onclick = (e) => {
|
|
132071
132071
|
this._openerService.open(code.target, { allowCommands: true });
|
|
132072
132072
|
e.preventDefault();
|
|
132073
132073
|
e.stopPropagation();
|
|
132074
132074
|
};
|
|
132075
|
-
const codeElement = append$1(this._codeLink, $$
|
|
132075
|
+
const codeElement = append$1(this._codeLink, $$e('span'));
|
|
132076
132076
|
codeElement.innerText = code.value;
|
|
132077
132077
|
detailsElement.appendChild(this._codeLink);
|
|
132078
132078
|
}
|
|
@@ -132196,7 +132196,7 @@ let MarkerNavigationWidget = MarkerNavigationWidget_1 = class MarkerNavigationWi
|
|
|
132196
132196
|
menu.dispose();
|
|
132197
132197
|
}
|
|
132198
132198
|
_fillTitleIcon(container) {
|
|
132199
|
-
this._icon = append$1(container, $$
|
|
132199
|
+
this._icon = append$1(container, $$e(''));
|
|
132200
132200
|
}
|
|
132201
132201
|
_fillBody(container) {
|
|
132202
132202
|
this._parentContainer = container;
|
|
@@ -132552,7 +132552,7 @@ var __decorate$$ = (undefined && undefined.__decorate) || function (decorators,
|
|
|
132552
132552
|
var __param$$ = (undefined && undefined.__param) || function (paramIndex, decorator) {
|
|
132553
132553
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
132554
132554
|
};
|
|
132555
|
-
const $$
|
|
132555
|
+
const $$2 = $$e;
|
|
132556
132556
|
class MarkerHover {
|
|
132557
132557
|
constructor(owner, range, marker) {
|
|
132558
132558
|
this.owner = owner;
|
|
@@ -132610,36 +132610,36 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
132610
132610
|
return disposables;
|
|
132611
132611
|
}
|
|
132612
132612
|
renderMarkerHover(markerHover, disposables) {
|
|
132613
|
-
const hoverElement = $$
|
|
132614
|
-
const markerElement = append$1(hoverElement, $$
|
|
132613
|
+
const hoverElement = $$2('div.hover-row');
|
|
132614
|
+
const markerElement = append$1(hoverElement, $$2('div.marker.hover-contents'));
|
|
132615
132615
|
const { source, message, code, relatedInformation } = markerHover.marker;
|
|
132616
132616
|
this._editor.applyFontInfo(markerElement);
|
|
132617
|
-
const messageElement = append$1(markerElement, $$
|
|
132617
|
+
const messageElement = append$1(markerElement, $$2('span'));
|
|
132618
132618
|
messageElement.style.whiteSpace = 'pre-wrap';
|
|
132619
132619
|
messageElement.innerText = message;
|
|
132620
132620
|
if (source || code) {
|
|
132621
132621
|
// Code has link
|
|
132622
132622
|
if (code && typeof code !== 'string') {
|
|
132623
|
-
const sourceAndCodeElement = $$
|
|
132623
|
+
const sourceAndCodeElement = $$2('span');
|
|
132624
132624
|
if (source) {
|
|
132625
|
-
const sourceElement = append$1(sourceAndCodeElement, $$
|
|
132625
|
+
const sourceElement = append$1(sourceAndCodeElement, $$2('span'));
|
|
132626
132626
|
sourceElement.innerText = source;
|
|
132627
132627
|
}
|
|
132628
|
-
const codeLink = append$1(sourceAndCodeElement, $$
|
|
132628
|
+
const codeLink = append$1(sourceAndCodeElement, $$2('a.code-link'));
|
|
132629
132629
|
codeLink.setAttribute('href', code.target.toString());
|
|
132630
132630
|
disposables.add(addDisposableListener(codeLink, 'click', (e) => {
|
|
132631
132631
|
this._openerService.open(code.target, { allowCommands: true });
|
|
132632
132632
|
e.preventDefault();
|
|
132633
132633
|
e.stopPropagation();
|
|
132634
132634
|
}));
|
|
132635
|
-
const codeElement = append$1(codeLink, $$
|
|
132635
|
+
const codeElement = append$1(codeLink, $$2('span'));
|
|
132636
132636
|
codeElement.innerText = code.value;
|
|
132637
132637
|
const detailsElement = append$1(markerElement, sourceAndCodeElement);
|
|
132638
132638
|
detailsElement.style.opacity = '0.6';
|
|
132639
132639
|
detailsElement.style.paddingLeft = '6px';
|
|
132640
132640
|
}
|
|
132641
132641
|
else {
|
|
132642
|
-
const detailsElement = append$1(markerElement, $$
|
|
132642
|
+
const detailsElement = append$1(markerElement, $$2('span'));
|
|
132643
132643
|
detailsElement.style.opacity = '0.6';
|
|
132644
132644
|
detailsElement.style.paddingLeft = '6px';
|
|
132645
132645
|
detailsElement.innerText = source && code ? `${source}(${code})` : source ? source : `(${code})`;
|
|
@@ -132647,9 +132647,9 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
132647
132647
|
}
|
|
132648
132648
|
if (isNonEmptyArray(relatedInformation)) {
|
|
132649
132649
|
for (const { message, resource, startLineNumber, startColumn } of relatedInformation) {
|
|
132650
|
-
const relatedInfoContainer = append$1(markerElement, $$
|
|
132650
|
+
const relatedInfoContainer = append$1(markerElement, $$2('div'));
|
|
132651
132651
|
relatedInfoContainer.style.marginTop = '8px';
|
|
132652
|
-
const a = append$1(relatedInfoContainer, $$
|
|
132652
|
+
const a = append$1(relatedInfoContainer, $$2('a'));
|
|
132653
132653
|
a.innerText = `${basename(resource)}(${startLineNumber}, ${startColumn}): `;
|
|
132654
132654
|
a.style.cursor = 'pointer';
|
|
132655
132655
|
disposables.add(addDisposableListener(a, 'click', (e) => {
|
|
@@ -132662,7 +132662,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
132662
132662
|
}).catch(onUnexpectedError);
|
|
132663
132663
|
}
|
|
132664
132664
|
}));
|
|
132665
|
-
const messageElement = append$1(relatedInfoContainer, $$
|
|
132665
|
+
const messageElement = append$1(relatedInfoContainer, $$2('span'));
|
|
132666
132666
|
messageElement.innerText = message;
|
|
132667
132667
|
this._editor.applyFontInfo(messageElement);
|
|
132668
132668
|
}
|
|
@@ -132683,7 +132683,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
132683
132683
|
});
|
|
132684
132684
|
}
|
|
132685
132685
|
if (!this._editor.getOption(90 /* EditorOption.readOnly */)) {
|
|
132686
|
-
const quickfixPlaceholderElement = context.statusBar.append($$
|
|
132686
|
+
const quickfixPlaceholderElement = context.statusBar.append($$2('div'));
|
|
132687
132687
|
if (this.recentMarkerCodeActionsInfo) {
|
|
132688
132688
|
if (IMarkerData.makeKey(this.recentMarkerCodeActionsInfo.marker) === IMarkerData.makeKey(markerHover.marker)) {
|
|
132689
132689
|
if (!this.recentMarkerCodeActionsInfo.hasCodeActions) {
|
|
@@ -135771,10 +135771,10 @@ class InlineProgressWidget extends Disposable {
|
|
|
135771
135771
|
this.editor.layoutContentWidget(this);
|
|
135772
135772
|
}
|
|
135773
135773
|
create(title) {
|
|
135774
|
-
this.domNode = $$
|
|
135774
|
+
this.domNode = $$e('.inline-progress-widget');
|
|
135775
135775
|
this.domNode.role = 'button';
|
|
135776
135776
|
this.domNode.title = title;
|
|
135777
|
-
const iconElement = $$
|
|
135777
|
+
const iconElement = $$e('span.icon');
|
|
135778
135778
|
this.domNode.append(iconElement);
|
|
135779
135779
|
iconElement.classList.add(...ThemeIcon.asClassNameArray(Codicon.loading), 'codicon-modifier-spin');
|
|
135780
135780
|
const updateSize = () => {
|
|
@@ -135906,7 +135906,7 @@ let PostEditWidget = PostEditWidget_1 = class PostEditWidget extends Disposable
|
|
|
135906
135906
|
this.button.element.title = this.showCommand.label + (binding ? ` (${binding})` : '');
|
|
135907
135907
|
}
|
|
135908
135908
|
create() {
|
|
135909
|
-
this.domNode = $$
|
|
135909
|
+
this.domNode = $$e('.post-edit-widget');
|
|
135910
135910
|
this.button = this._register(new Button(this.domNode, {
|
|
135911
135911
|
supportIcons: true,
|
|
135912
135912
|
}));
|
|
@@ -149575,7 +149575,7 @@ let SuggestWidgetStatus = class SuggestWidgetStatus {
|
|
|
149575
149575
|
this._menuService = _menuService;
|
|
149576
149576
|
this._contextKeyService = _contextKeyService;
|
|
149577
149577
|
this._menuDisposables = new DisposableStore();
|
|
149578
|
-
this.element = append$1(container, $$
|
|
149578
|
+
this.element = append$1(container, $$e('.suggest-status-bar'));
|
|
149579
149579
|
const actionViewItemProvider = (action => {
|
|
149580
149580
|
return action instanceof MenuItemAction ? instantiationService.createInstance(StatusBarViewItem, action, undefined) : undefined;
|
|
149581
149581
|
});
|
|
@@ -149648,20 +149648,20 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
|
|
|
149648
149648
|
this._renderDisposeable = new DisposableStore();
|
|
149649
149649
|
this._borderWidth = 1;
|
|
149650
149650
|
this._size = new Dimension(330, 0);
|
|
149651
|
-
this.domNode = $$
|
|
149651
|
+
this.domNode = $$e('.suggest-details');
|
|
149652
149652
|
this.domNode.classList.add('no-docs');
|
|
149653
149653
|
this._markdownRenderer = instaService.createInstance(MarkdownRenderer, { editor: _editor });
|
|
149654
|
-
this._body = $$
|
|
149654
|
+
this._body = $$e('.body');
|
|
149655
149655
|
this._scrollbar = new DomScrollableElement(this._body, {
|
|
149656
149656
|
alwaysConsumeMouseWheel: true,
|
|
149657
149657
|
});
|
|
149658
149658
|
append$1(this.domNode, this._scrollbar.getDomNode());
|
|
149659
149659
|
this._disposables.add(this._scrollbar);
|
|
149660
|
-
this._header = append$1(this._body, $$
|
|
149661
|
-
this._close = append$1(this._header, $$
|
|
149660
|
+
this._header = append$1(this._body, $$e('.header'));
|
|
149661
|
+
this._close = append$1(this._header, $$e('span' + ThemeIcon.asCSSSelector(Codicon.close)));
|
|
149662
149662
|
this._close.title = localize('details.close', "Close");
|
|
149663
|
-
this._type = append$1(this._header, $$
|
|
149664
|
-
this._docs = append$1(this._body, $$
|
|
149663
|
+
this._type = append$1(this._header, $$e('p.type'));
|
|
149664
|
+
this._docs = append$1(this._body, $$e('p.docs'));
|
|
149665
149665
|
this._configureFont();
|
|
149666
149666
|
this._disposables.add(this._editor.onDidChangeConfiguration(e => {
|
|
149667
149667
|
if (e.hasChanged(50 /* EditorOption.fontInfo */)) {
|
|
@@ -150149,19 +150149,19 @@ let ItemRenderer = class ItemRenderer {
|
|
|
150149
150149
|
const disposables = new DisposableStore();
|
|
150150
150150
|
const root = container;
|
|
150151
150151
|
root.classList.add('show-file-icons');
|
|
150152
|
-
const icon = append$1(container, $$
|
|
150153
|
-
const colorspan = append$1(icon, $$
|
|
150154
|
-
const text = append$1(container, $$
|
|
150155
|
-
const main = append$1(text, $$
|
|
150156
|
-
const iconContainer = append$1(main, $$
|
|
150157
|
-
const left = append$1(main, $$
|
|
150158
|
-
const right = append$1(main, $$
|
|
150152
|
+
const icon = append$1(container, $$e('.icon'));
|
|
150153
|
+
const colorspan = append$1(icon, $$e('span.colorspan'));
|
|
150154
|
+
const text = append$1(container, $$e('.contents'));
|
|
150155
|
+
const main = append$1(text, $$e('.main'));
|
|
150156
|
+
const iconContainer = append$1(main, $$e('.icon-label.codicon'));
|
|
150157
|
+
const left = append$1(main, $$e('span.left'));
|
|
150158
|
+
const right = append$1(main, $$e('span.right'));
|
|
150159
150159
|
const iconLabel = new IconLabel(left, { supportHighlights: true, supportIcons: true });
|
|
150160
150160
|
disposables.add(iconLabel);
|
|
150161
|
-
const parametersLabel = append$1(left, $$
|
|
150162
|
-
const qualifierLabel = append$1(left, $$
|
|
150163
|
-
const detailsLabel = append$1(right, $$
|
|
150164
|
-
const readMore = append$1(right, $$
|
|
150161
|
+
const parametersLabel = append$1(left, $$e('span.signature-label'));
|
|
150162
|
+
const qualifierLabel = append$1(left, $$e('span.qualifier-label'));
|
|
150163
|
+
const detailsLabel = append$1(right, $$e('span.details-label'));
|
|
150164
|
+
const readMore = append$1(right, $$e('span.readMore' + ThemeIcon.asCSSSelector(suggestMoreInfoIcon)));
|
|
150165
150165
|
readMore.title = localize('readMore', "Read More");
|
|
150166
150166
|
const configureFont = () => {
|
|
150167
150167
|
const options = this._editor.getOptions();
|
|
@@ -150406,8 +150406,8 @@ let SuggestWidget = SuggestWidget_1 = class SuggestWidget {
|
|
|
150406
150406
|
this._contentWidget.unlockPreference();
|
|
150407
150407
|
state = undefined;
|
|
150408
150408
|
}));
|
|
150409
|
-
this._messageElement = append$1(this.element.domNode, $$
|
|
150410
|
-
this._listElement = append$1(this.element.domNode, $$
|
|
150409
|
+
this._messageElement = append$1(this.element.domNode, $$e('.message'));
|
|
150410
|
+
this._listElement = append$1(this.element.domNode, $$e('.tree'));
|
|
150411
150411
|
const details = this._disposables.add(instantiationService.createInstance(SuggestDetailsWidget, this.editor));
|
|
150412
150412
|
details.onDidClose(this.toggleDetails, this, this._disposables);
|
|
150413
150413
|
this._details = new SuggestDetailsOverlay(details, this.editor);
|
|
@@ -152647,7 +152647,7 @@ let InlineCompletionsHoverParticipant = class InlineCompletionsHoverParticipant
|
|
|
152647
152647
|
return disposableStore;
|
|
152648
152648
|
}
|
|
152649
152649
|
renderScreenReaderText(context, part, disposableStore) {
|
|
152650
|
-
const $ = $$
|
|
152650
|
+
const $ = $$e;
|
|
152651
152651
|
const markdownHoverElement = $('div.hover-row.markdown-hover');
|
|
152652
152652
|
const hoverContentsElement = append$1(markdownHoverElement, $('div.hover-contents', { ['aria-live']: 'assertive' }));
|
|
152653
152653
|
const renderer = disposableStore.add(new MarkdownRenderer({ editor: this._editor }, this._languageService, this._openerService));
|
|
@@ -158319,7 +158319,7 @@ var __param$n = (undefined && undefined.__param) || function (paramIndex, decora
|
|
|
158319
158319
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
158320
158320
|
};
|
|
158321
158321
|
var ParameterHintsWidget_1;
|
|
158322
|
-
const
|
|
158322
|
+
const $$1 = $$e;
|
|
158323
158323
|
const parameterHintsNextIcon = registerIcon('parameter-hints-next', Codicon.chevronDown, localize('parameterHintsNextIcon', 'Icon for show next parameter hint.'));
|
|
158324
158324
|
const parameterHintsPreviousIcon = registerIcon('parameter-hints-previous', Codicon.chevronUp, localize('parameterHintsPreviousIcon', 'Icon for show previous parameter hint.'));
|
|
158325
158325
|
let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget extends Disposable {
|
|
@@ -158337,13 +158337,13 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
|
|
|
158337
158337
|
this.keyMultipleSignatures = Context.MultipleSignatures.bindTo(contextKeyService);
|
|
158338
158338
|
}
|
|
158339
158339
|
createParameterHintDOMNodes() {
|
|
158340
|
-
const element =
|
|
158341
|
-
const wrapper = append$1(element,
|
|
158340
|
+
const element = $$1('.editor-widget.parameter-hints-widget');
|
|
158341
|
+
const wrapper = append$1(element, $$1('.phwrapper'));
|
|
158342
158342
|
wrapper.tabIndex = -1;
|
|
158343
|
-
const controls = append$1(wrapper,
|
|
158344
|
-
const previous = append$1(controls,
|
|
158345
|
-
const overloads = append$1(controls,
|
|
158346
|
-
const next = append$1(controls,
|
|
158343
|
+
const controls = append$1(wrapper, $$1('.controls'));
|
|
158344
|
+
const previous = append$1(controls, $$1('.button' + ThemeIcon.asCSSSelector(parameterHintsPreviousIcon)));
|
|
158345
|
+
const overloads = append$1(controls, $$1('.overloads'));
|
|
158346
|
+
const next = append$1(controls, $$1('.button' + ThemeIcon.asCSSSelector(parameterHintsNextIcon)));
|
|
158347
158347
|
this._register(addDisposableListener(previous, 'click', e => {
|
|
158348
158348
|
EventHelper.stop(e);
|
|
158349
158349
|
this.previous();
|
|
@@ -158352,14 +158352,14 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
|
|
|
158352
158352
|
EventHelper.stop(e);
|
|
158353
158353
|
this.next();
|
|
158354
158354
|
}));
|
|
158355
|
-
const body =
|
|
158355
|
+
const body = $$1('.body');
|
|
158356
158356
|
const scrollbar = new DomScrollableElement(body, {
|
|
158357
158357
|
alwaysConsumeMouseWheel: true,
|
|
158358
158358
|
});
|
|
158359
158359
|
this._register(scrollbar);
|
|
158360
158360
|
wrapper.appendChild(scrollbar.getDomNode());
|
|
158361
|
-
const signature = append$1(body,
|
|
158362
|
-
const docs = append$1(body,
|
|
158361
|
+
const signature = append$1(body, $$1('.signature'));
|
|
158362
|
+
const docs = append$1(body, $$1('.docs'));
|
|
158363
158363
|
element.style.userSelect = 'text';
|
|
158364
158364
|
this.domNodes = {
|
|
158365
158365
|
element,
|
|
@@ -158439,14 +158439,14 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
|
|
|
158439
158439
|
if (!signature) {
|
|
158440
158440
|
return;
|
|
158441
158441
|
}
|
|
158442
|
-
const code = append$1(this.domNodes.signature,
|
|
158442
|
+
const code = append$1(this.domNodes.signature, $$1('.code'));
|
|
158443
158443
|
const fontInfo = this.editor.getOption(50 /* EditorOption.fontInfo */);
|
|
158444
158444
|
code.style.fontSize = `${fontInfo.fontSize}px`;
|
|
158445
158445
|
code.style.fontFamily = fontInfo.fontFamily;
|
|
158446
158446
|
const hasParameters = signature.parameters.length > 0;
|
|
158447
158447
|
const activeParameterIndex = (_a = signature.activeParameter) !== null && _a !== void 0 ? _a : hints.activeParameter;
|
|
158448
158448
|
if (!hasParameters) {
|
|
158449
|
-
const label = append$1(code,
|
|
158449
|
+
const label = append$1(code, $$1('span'));
|
|
158450
158450
|
label.textContent = signature.label;
|
|
158451
158451
|
}
|
|
158452
158452
|
else {
|
|
@@ -158454,7 +158454,7 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
|
|
|
158454
158454
|
}
|
|
158455
158455
|
const activeParameter = signature.parameters[activeParameterIndex];
|
|
158456
158456
|
if (activeParameter === null || activeParameter === void 0 ? void 0 : activeParameter.documentation) {
|
|
158457
|
-
const documentation =
|
|
158457
|
+
const documentation = $$1('span.documentation');
|
|
158458
158458
|
if (typeof activeParameter.documentation === 'string') {
|
|
158459
158459
|
documentation.textContent = activeParameter.documentation;
|
|
158460
158460
|
}
|
|
@@ -158462,11 +158462,11 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
|
|
|
158462
158462
|
const renderedContents = this.renderMarkdownDocs(activeParameter.documentation);
|
|
158463
158463
|
documentation.appendChild(renderedContents.element);
|
|
158464
158464
|
}
|
|
158465
|
-
append$1(this.domNodes.docs,
|
|
158465
|
+
append$1(this.domNodes.docs, $$1('p', {}, documentation));
|
|
158466
158466
|
}
|
|
158467
158467
|
if (signature.documentation === undefined) ;
|
|
158468
158468
|
else if (typeof signature.documentation === 'string') {
|
|
158469
|
-
append$1(this.domNodes.docs,
|
|
158469
|
+
append$1(this.domNodes.docs, $$1('p', {}, signature.documentation));
|
|
158470
158470
|
}
|
|
158471
158471
|
else {
|
|
158472
158472
|
const renderedContents = this.renderMarkdownDocs(signature.documentation);
|
|
@@ -162149,7 +162149,7 @@ let Link = class Link extends Disposable {
|
|
|
162149
162149
|
super();
|
|
162150
162150
|
this._link = _link;
|
|
162151
162151
|
this._enabled = true;
|
|
162152
|
-
this.el = append$1(container, $$
|
|
162152
|
+
this.el = append$1(container, $$e('a.monaco-link', {
|
|
162153
162153
|
tabIndex: (_a = _link.tabIndex) !== null && _a !== void 0 ? _a : 0,
|
|
162154
162154
|
href: _link.href,
|
|
162155
162155
|
title: _link.title
|
|
@@ -162223,7 +162223,7 @@ let Banner = class Banner extends Disposable {
|
|
|
162223
162223
|
super();
|
|
162224
162224
|
this.instantiationService = instantiationService;
|
|
162225
162225
|
this.markdownRenderer = this.instantiationService.createInstance(MarkdownRenderer, {});
|
|
162226
|
-
this.element = $$
|
|
162226
|
+
this.element = $$e('div.editor-banner');
|
|
162227
162227
|
this.element.tabIndex = 0;
|
|
162228
162228
|
}
|
|
162229
162229
|
getAriaLabel(item) {
|
|
@@ -162237,7 +162237,7 @@ let Banner = class Banner extends Disposable {
|
|
|
162237
162237
|
}
|
|
162238
162238
|
getBannerMessage(message) {
|
|
162239
162239
|
if (typeof message === 'string') {
|
|
162240
|
-
const element = $$
|
|
162240
|
+
const element = $$e('span');
|
|
162241
162241
|
element.innerText = message;
|
|
162242
162242
|
return element;
|
|
162243
162243
|
}
|
|
@@ -162255,24 +162255,24 @@ let Banner = class Banner extends Disposable {
|
|
|
162255
162255
|
this.element.setAttribute('aria-label', ariaLabel);
|
|
162256
162256
|
}
|
|
162257
162257
|
// Icon
|
|
162258
|
-
const iconContainer = append$1(this.element, $$
|
|
162258
|
+
const iconContainer = append$1(this.element, $$e('div.icon-container'));
|
|
162259
162259
|
iconContainer.setAttribute('aria-hidden', 'true');
|
|
162260
162260
|
if (item.icon) {
|
|
162261
|
-
iconContainer.appendChild($$
|
|
162261
|
+
iconContainer.appendChild($$e(`div${ThemeIcon.asCSSSelector(item.icon)}`));
|
|
162262
162262
|
}
|
|
162263
162263
|
// Message
|
|
162264
|
-
const messageContainer = append$1(this.element, $$
|
|
162264
|
+
const messageContainer = append$1(this.element, $$e('div.message-container'));
|
|
162265
162265
|
messageContainer.setAttribute('aria-hidden', 'true');
|
|
162266
162266
|
messageContainer.appendChild(this.getBannerMessage(item.message));
|
|
162267
162267
|
// Message Actions
|
|
162268
|
-
this.messageActionsContainer = append$1(this.element, $$
|
|
162268
|
+
this.messageActionsContainer = append$1(this.element, $$e('div.message-actions-container'));
|
|
162269
162269
|
if (item.actions) {
|
|
162270
162270
|
for (const action of item.actions) {
|
|
162271
162271
|
this._register(this.instantiationService.createInstance(Link, this.messageActionsContainer, { ...action, tabIndex: -1 }, {}));
|
|
162272
162272
|
}
|
|
162273
162273
|
}
|
|
162274
162274
|
// Action
|
|
162275
|
-
const actionBarContainer = append$1(this.element, $$
|
|
162275
|
+
const actionBarContainer = append$1(this.element, $$e('div.action-container'));
|
|
162276
162276
|
this.actionBar = this._register(new ActionBar(actionBarContainer));
|
|
162277
162277
|
this.actionBar.push(this._register(new Action('banner.close', 'Close Banner', ThemeIcon.asClassName(widgetClose), true, () => {
|
|
162278
162278
|
if (typeof item.onClose === 'function') {
|
|
@@ -164585,13 +164585,13 @@ class InspectTokensWidget extends Disposable {
|
|
|
164585
164585
|
const tokenEndIndex = token1Index + 1 < data.tokens1.length ? data.tokens1[token1Index + 1].offset : lineContent.length;
|
|
164586
164586
|
tokenText = lineContent.substring(tokenStartIndex, tokenEndIndex);
|
|
164587
164587
|
}
|
|
164588
|
-
reset(this._domNode, $$
|
|
164589
|
-
append$1(this._domNode, $$
|
|
164588
|
+
reset(this._domNode, $$e('h2.tm-token', undefined, renderTokenText(tokenText), $$e('span.tm-token-length', undefined, `${tokenText.length} ${tokenText.length === 1 ? 'char' : 'chars'}`)));
|
|
164589
|
+
append$1(this._domNode, $$e('hr.tokens-inspect-separator', { 'style': 'clear:both' }));
|
|
164590
164590
|
const metadata = (token2Index << 1) + 1 < data.tokens2.length ? this._decodeMetadata(data.tokens2[(token2Index << 1) + 1]) : null;
|
|
164591
|
-
append$1(this._domNode, $$
|
|
164592
|
-
append$1(this._domNode, $$
|
|
164591
|
+
append$1(this._domNode, $$e('table.tm-metadata-table', undefined, $$e('tbody', undefined, $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'language'), $$e('td.tm-metadata-value', undefined, `${metadata ? metadata.languageId : '-?-'}`)), $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'token type'), $$e('td.tm-metadata-value', undefined, `${metadata ? this._tokenTypeToString(metadata.tokenType) : '-?-'}`)), $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'font style'), $$e('td.tm-metadata-value', undefined, `${metadata ? this._fontStyleToString(metadata.fontStyle) : '-?-'}`)), $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'foreground'), $$e('td.tm-metadata-value', undefined, `${metadata ? Color.Format.CSS.formatHex(metadata.foreground) : '-?-'}`)), $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'background'), $$e('td.tm-metadata-value', undefined, `${metadata ? Color.Format.CSS.formatHex(metadata.background) : '-?-'}`)))));
|
|
164592
|
+
append$1(this._domNode, $$e('hr.tokens-inspect-separator'));
|
|
164593
164593
|
if (token1Index < data.tokens1.length) {
|
|
164594
|
-
append$1(this._domNode, $$
|
|
164594
|
+
append$1(this._domNode, $$e('span.tm-token-type', undefined, data.tokens1[token1Index].type));
|
|
164595
164595
|
}
|
|
164596
164596
|
this._editor.layoutContentWidget(this);
|
|
164597
164597
|
}
|
|
@@ -169024,7 +169024,7 @@ function isPredefinedProfile(item) {
|
|
|
169024
169024
|
!Array.isArray(item.definitions));
|
|
169025
169025
|
}
|
|
169026
169026
|
|
|
169027
|
-
var
|
|
169027
|
+
var h=class{constructor(){this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n;});}};function y(e,t){let n=e;for(;n;){if(n===t)return !0;if(!n.parentNode)return !1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode;}return !1}function T(e,t,n=()=>{}){if(!t||t.length<=0)return;let r=new MutationObserver(o=>{for(let s of o)y(e,s.target)&&n();});return r.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),r}function x(e,t){let n=e;for(;n;){let r=n.closest(t);if(r)return r;let o=n.getRootNode();if(o===document)return null;n=o.host;}return null}function $(e){let t=x(e,":is(.calcite-mode-light, .calcite-mode-dark)");return t&&t.classList.contains("calcite-mode-dark")?"dark":"light"}function f(e,t,n){return x(e,`[${t}]`)?.getAttribute(t)??n}function S(e){return e.nodeType===Node.ELEMENT_NODE}function d(e,t=""){if(!S(e))return !1;if(e.matches(t))return setTimeout(()=>e?.setFocus(),0),!0;for(let r=0;r<e.children.length;r++)if(d(e.children[r],t))return !0;let n=e.shadowRoot;if(n){for(let r=0;r<n.children.length;r++)if(d(n.children[r],t))return !0}return !1}function j(e,t){if(!e?.shadowRoot)return;if(e.hasAttribute("hydrated")||e.hasAttribute("calcite-hydrated")){d(e,t);return}let n=new MutationObserver(()=>{n.disconnect(),d(e,t);});n.observe(e,{attributes:!0,attributeFilter:["hydrated","calcite-hydrated"]});}function c(e){let t="";for(let n=0;n<e;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function F(){return [c(2),c(1),c(1),c(1),c(3)].join("-")}var E=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),a=new Map;async function N(e,t,n=""){let r=`${t}/${n}${e}.json`;if(a.has(r))return a.get(r);try{let o=await fetch(r);if(o.ok){let i=await o.json();return a.set(r,i),i}if(e==="en"){a.set(r,void 0);return}let s=await N("en",t,n);return a.set(r,s),s}catch{a.set(r,void 0);return}}function C(e){let t=f(e,"lang",navigator.language||"en");if(E.has(t))return {lang:t,t9nLocale:t};let n=t.slice(0,2);return {lang:t,t9nLocale:E.has(n)?n:"en"}}var p=new WeakMap,m=new WeakMap,M=new WeakMap;async function W(e,t,n){m.set(e,t),p.set(e,T(e._hostElement,["lang"],()=>{b(e,n);})),await b(e,n);}function B(e){p.get(e)?.disconnect(),p.delete(e),m.delete(e);}async function b(e,t){let{lang:n,t9nLocale:r}=C(e._hostElement);if(n===e._lang&&r===e._t9nLocale||(n!==e._lang&&(e._lang=n),r===e._t9nLocale))return;let o=M.get(e);if(!o){let s=m.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),u=`${s}/${i}/t9n`,l=`${i}.t9n.`;o=await N(r,u,l);}e._t9nLocale=r,e._t9nStrings=o,await t?.call(e);}var v='"',w="'";function L(e,t){return new Array(t+1).join(e)}function q(e){let t=v,n=w;e.includes(t)&&!e.includes(n)&&(n=v,t=w);let o=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(o,(i,u,l,g)=>u+l+L(n,g.length/2));let s=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(s,(i,u,l,g)=>u+l+L(`\\${t}`,g.length)),t+e+t}function Q(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function D(e,t={}){return (e??"").replace(/\{(.*?)\}/gu,(n,r)=>t[r]??n)}function G(e){return `\u200E${e??""}\u200E`}function V(e){return e!==null}function X(e){return e!==void 0}function te(e,t,n=!1){if(!e||!t)return !1;let r=new URL(e),o=new URL(t);return !n&&r.protocol!==o.protocol||r.host==null||o.host==null?!1:r.host.toLowerCase()===o.host.toLowerCase()&&r.port===o.port}function ne(e){try{return new URL(e),!0}catch{return !1}}
|
|
169028
169028
|
|
|
169029
169029
|
/**
|
|
169030
169030
|
* Filters a collection of items by the given keys and filter word.
|
|
@@ -169037,7 +169037,7 @@ function filterCollection(collection, keys, filterWord, beforeFilteringFn) {
|
|
|
169037
169037
|
if (!_keys.length) {
|
|
169038
169038
|
return [];
|
|
169039
169039
|
}
|
|
169040
|
-
const filterExpression =
|
|
169040
|
+
const filterExpression = Q(filterWord);
|
|
169041
169041
|
return collection.filter((item) => {
|
|
169042
169042
|
if (beforeFilteringFn) {
|
|
169043
169043
|
const res = beforeFilteringFn(item);
|
|
@@ -169492,9 +169492,9 @@ class ProfileItemBase {
|
|
|
169492
169492
|
// If the component is under RTL, the string is messed up.
|
|
169493
169493
|
// It is converted from $feature to feature$, This is not acceptable since the label
|
|
169494
169494
|
// represents a variable name. We are adding in front of the $ sign a right to left mark.
|
|
169495
|
-
return
|
|
169495
|
+
return G(this._label);
|
|
169496
169496
|
}
|
|
169497
|
-
return
|
|
169497
|
+
return D(this._profile?.intlStrings[this._label.code], this._label.formatValues);
|
|
169498
169498
|
}
|
|
169499
169499
|
/**
|
|
169500
169500
|
* Returns the description string.
|
|
@@ -169506,7 +169506,7 @@ class ProfileItemBase {
|
|
|
169506
169506
|
if (typeof this.description === "string") {
|
|
169507
169507
|
return this.description;
|
|
169508
169508
|
}
|
|
169509
|
-
return
|
|
169509
|
+
return D(this._profile?.intlStrings[this.description.code ?? ""], this.description.formatValues);
|
|
169510
169510
|
}
|
|
169511
169511
|
/**
|
|
169512
169512
|
* Returns true if the item pass the filter test
|
|
@@ -169740,7 +169740,7 @@ class SourceBasedVariable extends CollectionBasedVariable {
|
|
|
169740
169740
|
return this._profile?.intlStrings.layer ?? "layer";
|
|
169741
169741
|
}
|
|
169742
169742
|
async loadSource() {
|
|
169743
|
-
if (
|
|
169743
|
+
if (V(this._loadPromise) && X(this._loadPromise)) {
|
|
169744
169744
|
return await this._loadPromise;
|
|
169745
169745
|
}
|
|
169746
169746
|
this._loadPromise = this._loadSource();
|
|
@@ -169857,7 +169857,7 @@ class SourceBasedVariable extends CollectionBasedVariable {
|
|
|
169857
169857
|
nonInteractive: true
|
|
169858
169858
|
}, [new ValueVariable({ profile: this._profile, label: snippet, description: "", snippet })], { exposeRelationships: true, sourceTableId: source.layerId });
|
|
169859
169859
|
}));
|
|
169860
|
-
relationshipsGroup.variables = relationshipItems.filter(
|
|
169860
|
+
relationshipsGroup.variables = relationshipItems.filter(V);
|
|
169861
169861
|
if (!relationshipsGroup.variables.length) {
|
|
169862
169862
|
return null;
|
|
169863
169863
|
}
|
|
@@ -170015,7 +170015,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
|
|
|
170015
170015
|
return this._profile?.intlStrings.featureservice ?? "featureservice";
|
|
170016
170016
|
}
|
|
170017
170017
|
async loadSource() {
|
|
170018
|
-
if (
|
|
170018
|
+
if (V(this._loadPromise) && X(this._loadPromise)) {
|
|
170019
170019
|
return await this._loadPromise;
|
|
170020
170020
|
}
|
|
170021
170021
|
this._loadPromise = this._loadSource();
|
|
@@ -170251,7 +170251,7 @@ async function getSdkPredefinedProfiles(locale = "en") {
|
|
|
170251
170251
|
if (profiles) {
|
|
170252
170252
|
return profiles;
|
|
170253
170253
|
}
|
|
170254
|
-
if (!
|
|
170254
|
+
if (!E.has(locale)) {
|
|
170255
170255
|
return await getSdkPredefinedProfiles("en");
|
|
170256
170256
|
}
|
|
170257
170257
|
try {
|
|
@@ -170507,4 +170507,4 @@ const arcade = {
|
|
|
170507
170507
|
setProfileForModel: arcadeDefaults.setProfileForModel.bind(arcadeDefaults)
|
|
170508
170508
|
};
|
|
170509
170509
|
|
|
170510
|
-
export { B, Emitter as E, F,
|
|
170510
|
+
export { $, B, D, Emitter as E, F, G, IStandaloneThemeService as I, KeyCode as K, MarkerSeverity as M, Q, Range as R, StandaloneServices as S, T, Uri as U, W, arcade as a, commonjsGlobal as b, createCommonjsModule as c, arcadeDefaults as d, editor as e, filterCollection as f, generateTokensCSSForColorMap as g, importArcade as h, importRequest as i, j, h as k, languages as l, KeyMod as m, ne as n, monaco_editor_core_star as o, typescriptDefaults as p, q, main as r, supportedFields as s, te as t };
|