@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
|
@@ -20247,10 +20247,10 @@ function _$(namespace, description, attrs, ...children) {
|
|
|
20247
20247
|
result.append(...children);
|
|
20248
20248
|
return result;
|
|
20249
20249
|
}
|
|
20250
|
-
function $$
|
|
20250
|
+
function $$e(description, attrs, ...children) {
|
|
20251
20251
|
return _$(Namespace.HTML, description, attrs, ...children);
|
|
20252
20252
|
}
|
|
20253
|
-
$$
|
|
20253
|
+
$$e.SVG = function (description, attrs, ...children) {
|
|
20254
20254
|
return _$(Namespace.SVG, description, attrs, ...children);
|
|
20255
20255
|
};
|
|
20256
20256
|
function setVisibility(visible, ...elements) {
|
|
@@ -82181,7 +82181,7 @@ class ContextView extends Disposable {
|
|
|
82181
82181
|
this.toDisposeOnSetContainer = Disposable.None;
|
|
82182
82182
|
this.shadowRoot = null;
|
|
82183
82183
|
this.shadowRootHostElement = null;
|
|
82184
|
-
this.view = $$
|
|
82184
|
+
this.view = $$e('.context-view');
|
|
82185
82185
|
hide(this.view);
|
|
82186
82186
|
this.setContainer(container, domPosition);
|
|
82187
82187
|
this._register(toDisposable(() => this.setContainer(null, 1 /* ContextViewDOMPosition.ABSOLUTE */)));
|
|
@@ -82210,14 +82210,14 @@ class ContextView extends Disposable {
|
|
|
82210
82210
|
if (container) {
|
|
82211
82211
|
this.container = container;
|
|
82212
82212
|
if (this.useShadowDOM) {
|
|
82213
|
-
this.shadowRootHostElement = $$
|
|
82213
|
+
this.shadowRootHostElement = $$e('.shadow-root-host');
|
|
82214
82214
|
this.container.appendChild(this.shadowRootHostElement);
|
|
82215
82215
|
this.shadowRoot = this.shadowRootHostElement.attachShadow({ mode: 'open' });
|
|
82216
82216
|
const style = document.createElement('style');
|
|
82217
82217
|
style.textContent = SHADOW_ROOT_CSS;
|
|
82218
82218
|
this.shadowRoot.appendChild(style);
|
|
82219
82219
|
this.shadowRoot.appendChild(this.view);
|
|
82220
|
-
this.shadowRoot.appendChild($$
|
|
82220
|
+
this.shadowRoot.appendChild($$e('slot'));
|
|
82221
82221
|
}
|
|
82222
82222
|
else {
|
|
82223
82223
|
this.container.appendChild(this.view);
|
|
@@ -84698,7 +84698,7 @@ function renderLabelWithIcons(text) {
|
|
|
84698
84698
|
return elements;
|
|
84699
84699
|
}
|
|
84700
84700
|
function renderIcon(icon) {
|
|
84701
|
-
const node = $$
|
|
84701
|
+
const node = $$e(`span`);
|
|
84702
84702
|
node.classList.add(...ThemeIcon.asClassNameArray(icon));
|
|
84703
84703
|
return node;
|
|
84704
84704
|
}
|
|
@@ -88730,7 +88730,7 @@ class RowCache {
|
|
|
88730
88730
|
}
|
|
88731
88731
|
}
|
|
88732
88732
|
else {
|
|
88733
|
-
const domNode = $$
|
|
88733
|
+
const domNode = $$e('.monaco-list-row');
|
|
88734
88734
|
const renderer = this.getRenderer(templateId);
|
|
88735
88735
|
const templateData = renderer.renderTemplate(domNode);
|
|
88736
88736
|
result = { domNode, templateId, templateData };
|
|
@@ -89494,7 +89494,7 @@ class ListView {
|
|
|
89494
89494
|
if (typeof label === 'undefined') {
|
|
89495
89495
|
label = String(elements.length);
|
|
89496
89496
|
}
|
|
89497
|
-
const dragImage = $$
|
|
89497
|
+
const dragImage = $$e('.monaco-drag-image');
|
|
89498
89498
|
dragImage.textContent = label;
|
|
89499
89499
|
const getDragImageContainer = (e) => {
|
|
89500
89500
|
while (e && !e.classList.contains('monaco-workbench')) {
|
|
@@ -91355,16 +91355,16 @@ __decorate$1V([
|
|
|
91355
91355
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
91356
91356
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
91357
91357
|
*--------------------------------------------------------------------------------------------*/
|
|
91358
|
-
const $$
|
|
91358
|
+
const $$d = $$e;
|
|
91359
91359
|
const SELECT_OPTION_ENTRY_TEMPLATE_ID = 'selectOption.entry.template';
|
|
91360
91360
|
class SelectListRenderer {
|
|
91361
91361
|
get templateId() { return SELECT_OPTION_ENTRY_TEMPLATE_ID; }
|
|
91362
91362
|
renderTemplate(container) {
|
|
91363
91363
|
const data = Object.create(null);
|
|
91364
91364
|
data.root = container;
|
|
91365
|
-
data.text = append$1(container, $$
|
|
91366
|
-
data.detail = append$1(container, $$
|
|
91367
|
-
data.decoratorRight = append$1(container, $$
|
|
91365
|
+
data.text = append$1(container, $$d('.option-text'));
|
|
91366
|
+
data.detail = append$1(container, $$d('.option-detail'));
|
|
91367
|
+
data.decoratorRight = append$1(container, $$d('.option-decorator-right'));
|
|
91368
91368
|
return data;
|
|
91369
91369
|
}
|
|
91370
91370
|
renderElement(element, index, templateData) {
|
|
@@ -91435,14 +91435,14 @@ class SelectBoxList extends Disposable {
|
|
|
91435
91435
|
constructSelectDropDown(contextViewProvider) {
|
|
91436
91436
|
// SetUp ContextView container to hold select Dropdown
|
|
91437
91437
|
this.contextViewProvider = contextViewProvider;
|
|
91438
|
-
this.selectDropDownContainer = $$
|
|
91438
|
+
this.selectDropDownContainer = $$e('.monaco-select-box-dropdown-container');
|
|
91439
91439
|
// Use custom CSS vars for padding calculation (shared with parent select)
|
|
91440
91440
|
this.selectDropDownContainer.classList.add('monaco-select-box-dropdown-padding');
|
|
91441
91441
|
// Setup container for select option details
|
|
91442
|
-
this.selectionDetailsPane = append$1(this.selectDropDownContainer, $$
|
|
91442
|
+
this.selectionDetailsPane = append$1(this.selectDropDownContainer, $$d('.select-box-details-pane'));
|
|
91443
91443
|
// Create span flex box item/div we can measure and control
|
|
91444
|
-
const widthControlOuterDiv = append$1(this.selectDropDownContainer, $$
|
|
91445
|
-
const widthControlInnerDiv = append$1(widthControlOuterDiv, $$
|
|
91444
|
+
const widthControlOuterDiv = append$1(this.selectDropDownContainer, $$d('.select-box-dropdown-container-width-control'));
|
|
91445
|
+
const widthControlInnerDiv = append$1(widthControlOuterDiv, $$d('.width-control-div'));
|
|
91446
91446
|
this.widthControlElement = document.createElement('span');
|
|
91447
91447
|
this.widthControlElement.className = 'option-text-width-control';
|
|
91448
91448
|
append$1(widthControlInnerDiv, this.widthControlElement);
|
|
@@ -91885,7 +91885,7 @@ class SelectBoxList extends Disposable {
|
|
|
91885
91885
|
return;
|
|
91886
91886
|
}
|
|
91887
91887
|
// SetUp container for list
|
|
91888
|
-
this.selectDropDownListContainer = append$1(parent, $$
|
|
91888
|
+
this.selectDropDownListContainer = append$1(parent, $$d('.select-box-dropdown-list-container'));
|
|
91889
91889
|
this.listRenderer = new SelectListRenderer();
|
|
91890
91890
|
this.selectList = new List('SelectBoxCustom', this.selectDropDownListContainer, this, [this.listRenderer], {
|
|
91891
91891
|
useShadows: false,
|
|
@@ -92733,8 +92733,8 @@ class BaseDropdown extends ActionRunner {
|
|
|
92733
92733
|
super();
|
|
92734
92734
|
this._onDidChangeVisibility = this._register(new Emitter$1());
|
|
92735
92735
|
this.onDidChangeVisibility = this._onDidChangeVisibility.event;
|
|
92736
|
-
this._element = append$1(container, $$
|
|
92737
|
-
this._label = append$1(this._element, $$
|
|
92736
|
+
this._element = append$1(container, $$e('.monaco-dropdown'));
|
|
92737
|
+
this._label = append$1(this._element, $$e('.dropdown-label'));
|
|
92738
92738
|
let labelRenderer = options.labelRenderer;
|
|
92739
92739
|
if (!labelRenderer) {
|
|
92740
92740
|
labelRenderer = (container) => {
|
|
@@ -92874,7 +92874,7 @@ class DropdownMenuActionViewItem extends BaseActionViewItem {
|
|
|
92874
92874
|
render(container) {
|
|
92875
92875
|
this.actionItem = container;
|
|
92876
92876
|
const labelRenderer = (el) => {
|
|
92877
|
-
this.element = append$1(el, $$
|
|
92877
|
+
this.element = append$1(el, $$e('a.action-label'));
|
|
92878
92878
|
let classNames = [];
|
|
92879
92879
|
if (typeof this.options.classNames === 'string') {
|
|
92880
92880
|
classNames = this.options.classNames.split(/\s+/g).filter(s => !!s);
|
|
@@ -93803,7 +93803,7 @@ let DropdownWithDefaultActionViewItem = class DropdownWithDefaultActionViewItem
|
|
|
93803
93803
|
}
|
|
93804
93804
|
}();
|
|
93805
93805
|
if (this._container) {
|
|
93806
|
-
this._defaultAction.render(prepend$1(this._container, $$
|
|
93806
|
+
this._defaultAction.render(prepend$1(this._container, $$e('.action-container')));
|
|
93807
93807
|
}
|
|
93808
93808
|
}
|
|
93809
93809
|
_getDefaultActionKeybindingLabel(defaultAction) {
|
|
@@ -93826,7 +93826,7 @@ let DropdownWithDefaultActionViewItem = class DropdownWithDefaultActionViewItem
|
|
|
93826
93826
|
this._container = container;
|
|
93827
93827
|
super.render(this._container);
|
|
93828
93828
|
this._container.classList.add('monaco-dropdown-with-default');
|
|
93829
|
-
const primaryContainer = $$
|
|
93829
|
+
const primaryContainer = $$e('.action-container');
|
|
93830
93830
|
this._defaultAction.render(append$1(this._container, primaryContainer));
|
|
93831
93831
|
this._register(addDisposableListener(primaryContainer, EventType$1.KEY_DOWN, (e) => {
|
|
93832
93832
|
const event = new StandardKeyboardEvent(e);
|
|
@@ -93836,7 +93836,7 @@ let DropdownWithDefaultActionViewItem = class DropdownWithDefaultActionViewItem
|
|
|
93836
93836
|
event.stopPropagation();
|
|
93837
93837
|
}
|
|
93838
93838
|
}));
|
|
93839
|
-
const dropdownContainer = $$
|
|
93839
|
+
const dropdownContainer = $$e('.dropdown-action-container');
|
|
93840
93840
|
this._dropdown.render(append$1(this._container, dropdownContainer));
|
|
93841
93841
|
this._register(addDisposableListener(dropdownContainer, EventType$1.KEY_DOWN, (e) => {
|
|
93842
93842
|
var _a;
|
|
@@ -94683,7 +94683,7 @@ class BaseMenuActionViewItem extends BaseActionViewItem {
|
|
|
94683
94683
|
return;
|
|
94684
94684
|
}
|
|
94685
94685
|
this.container = container;
|
|
94686
|
-
this.item = append$1(this.element, $$
|
|
94686
|
+
this.item = append$1(this.element, $$e('a.action-menu-item'));
|
|
94687
94687
|
if (this._action.id === Separator.ID) {
|
|
94688
94688
|
// A separator is a presentation item
|
|
94689
94689
|
this.item.setAttribute('role', 'presentation');
|
|
@@ -94694,11 +94694,11 @@ class BaseMenuActionViewItem extends BaseActionViewItem {
|
|
|
94694
94694
|
this.item.setAttribute('aria-keyshortcuts', `${this.mnemonic}`);
|
|
94695
94695
|
}
|
|
94696
94696
|
}
|
|
94697
|
-
this.check = append$1(this.item, $$
|
|
94697
|
+
this.check = append$1(this.item, $$e('span.menu-item-check' + ThemeIcon.asCSSSelector(Codicon.menuSelection)));
|
|
94698
94698
|
this.check.setAttribute('role', 'none');
|
|
94699
|
-
this.label = append$1(this.item, $$
|
|
94699
|
+
this.label = append$1(this.item, $$e('span.action-label'));
|
|
94700
94700
|
if (this.options.label && this.options.keybinding) {
|
|
94701
|
-
append$1(this.item, $$
|
|
94701
|
+
append$1(this.item, $$e('span.keybinding')).textContent = this.options.keybinding;
|
|
94702
94702
|
}
|
|
94703
94703
|
// Adds mouse up listener to actually run the action
|
|
94704
94704
|
this.runOnceToEnableMouseUp.schedule();
|
|
@@ -94751,7 +94751,7 @@ class BaseMenuActionViewItem extends BaseActionViewItem {
|
|
|
94751
94751
|
}
|
|
94752
94752
|
const replaceDoubleEscapes = (str) => str.replace(/&&/g, '&');
|
|
94753
94753
|
if (escMatch) {
|
|
94754
|
-
this.label.append(ltrim(replaceDoubleEscapes(label.substr(0, escMatch.index)), ' '), $$
|
|
94754
|
+
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)), ' '));
|
|
94755
94755
|
}
|
|
94756
94756
|
else {
|
|
94757
94757
|
this.label.innerText = replaceDoubleEscapes(label).trim();
|
|
@@ -94874,7 +94874,7 @@ class SubmenuMenuActionViewItem extends BaseMenuActionViewItem {
|
|
|
94874
94874
|
this.item.tabIndex = 0;
|
|
94875
94875
|
this.item.setAttribute('aria-haspopup', 'true');
|
|
94876
94876
|
this.updateAriaExpanded('false');
|
|
94877
|
-
this.submenuIndicator = append$1(this.item, $$
|
|
94877
|
+
this.submenuIndicator = append$1(this.item, $$e('span.submenu-indicator' + ThemeIcon.asCSSSelector(Codicon.menuSubmenu)));
|
|
94878
94878
|
this.submenuIndicator.setAttribute('aria-hidden', 'true');
|
|
94879
94879
|
}
|
|
94880
94880
|
this._register(addDisposableListener(this.element, EventType$1.KEY_UP, e => {
|
|
@@ -94965,7 +94965,7 @@ class SubmenuMenuActionViewItem extends BaseMenuActionViewItem {
|
|
|
94965
94965
|
}
|
|
94966
94966
|
if (!this.parentData.submenu) {
|
|
94967
94967
|
this.updateAriaExpanded('true');
|
|
94968
|
-
this.submenuContainer = append$1(this.element, $$
|
|
94968
|
+
this.submenuContainer = append$1(this.element, $$e('div.monaco-submenu'));
|
|
94969
94969
|
this.submenuContainer.classList.add('menubar-menu-items-holder', 'context-view');
|
|
94970
94970
|
// Set the top value of the menu container before construction
|
|
94971
94971
|
// This allows the menu constructor to calculate the proper max height
|
|
@@ -95503,7 +95503,7 @@ class ContextMenuHandler {
|
|
|
95503
95503
|
}
|
|
95504
95504
|
// Render invisible div to block mouse interaction in the rest of the UI
|
|
95505
95505
|
if (this.options.blockMouse) {
|
|
95506
|
-
this.block = container.appendChild($$
|
|
95506
|
+
this.block = container.appendChild($$e('.context-view-block'));
|
|
95507
95507
|
this.block.style.position = 'fixed';
|
|
95508
95508
|
this.block.style.cursor = 'initial';
|
|
95509
95509
|
this.block.style.left = '0';
|
|
@@ -96957,7 +96957,7 @@ class Sash extends Disposable {
|
|
|
96957
96957
|
const onChange = (state) => {
|
|
96958
96958
|
this.orthogonalStartDragHandleDisposables.clear();
|
|
96959
96959
|
if (state !== 0 /* SashState.Disabled */) {
|
|
96960
|
-
this._orthogonalStartDragHandle = append$1(this.el, $$
|
|
96960
|
+
this._orthogonalStartDragHandle = append$1(this.el, $$e('.orthogonal-drag-handle.start'));
|
|
96961
96961
|
this.orthogonalStartDragHandleDisposables.add(toDisposable(() => this._orthogonalStartDragHandle.remove()));
|
|
96962
96962
|
this.orthogonalStartDragHandleDisposables.add(new DomEmitter(this._orthogonalStartDragHandle, 'mouseenter')).event(() => Sash.onMouseEnter(sash), undefined, this.orthogonalStartDragHandleDisposables);
|
|
96963
96963
|
this.orthogonalStartDragHandleDisposables.add(new DomEmitter(this._orthogonalStartDragHandle, 'mouseleave')).event(() => Sash.onMouseLeave(sash), undefined, this.orthogonalStartDragHandleDisposables);
|
|
@@ -96986,7 +96986,7 @@ class Sash extends Disposable {
|
|
|
96986
96986
|
const onChange = (state) => {
|
|
96987
96987
|
this.orthogonalEndDragHandleDisposables.clear();
|
|
96988
96988
|
if (state !== 0 /* SashState.Disabled */) {
|
|
96989
|
-
this._orthogonalEndDragHandle = append$1(this.el, $$
|
|
96989
|
+
this._orthogonalEndDragHandle = append$1(this.el, $$e('.orthogonal-drag-handle.end'));
|
|
96990
96990
|
this.orthogonalEndDragHandleDisposables.add(toDisposable(() => this._orthogonalEndDragHandle.remove()));
|
|
96991
96991
|
this.orthogonalEndDragHandleDisposables.add(new DomEmitter(this._orthogonalEndDragHandle, 'mouseenter')).event(() => Sash.onMouseEnter(sash), undefined, this.orthogonalEndDragHandleDisposables);
|
|
96992
96992
|
this.orthogonalEndDragHandleDisposables.add(new DomEmitter(this._orthogonalEndDragHandle, 'mouseleave')).event(() => Sash.onMouseLeave(sash), undefined, this.orthogonalEndDragHandleDisposables);
|
|
@@ -97035,7 +97035,7 @@ class Sash extends Disposable {
|
|
|
97035
97035
|
* Useful in 2x2 grids. Not meant for widespread usage.
|
|
97036
97036
|
*/
|
|
97037
97037
|
this.linkedSash = undefined;
|
|
97038
|
-
this.el = append$1(container, $$
|
|
97038
|
+
this.el = append$1(container, $$e('.monaco-sash'));
|
|
97039
97039
|
if (options.orthogonalEdge) {
|
|
97040
97040
|
this.el.classList.add(`orthogonal-edge-${options.orthogonalEdge}`);
|
|
97041
97041
|
}
|
|
@@ -97487,8 +97487,8 @@ class SplitView extends Disposable {
|
|
|
97487
97487
|
this.el.classList.add('monaco-split-view2');
|
|
97488
97488
|
this.el.classList.add(this.orientation === 0 /* Orientation.VERTICAL */ ? 'vertical' : 'horizontal');
|
|
97489
97489
|
container.appendChild(this.el);
|
|
97490
|
-
this.sashContainer = append$1(this.el, $$
|
|
97491
|
-
this.viewContainer = $$
|
|
97490
|
+
this.sashContainer = append$1(this.el, $$e('.sash-container'));
|
|
97491
|
+
this.viewContainer = $$e('.split-view-container');
|
|
97492
97492
|
this.scrollable = this._register(new Scrollable({
|
|
97493
97493
|
forceIntegerValues: true,
|
|
97494
97494
|
smoothScrollDuration: 125,
|
|
@@ -97773,7 +97773,7 @@ class SplitView extends Disposable {
|
|
|
97773
97773
|
this.state = State.Busy;
|
|
97774
97774
|
try {
|
|
97775
97775
|
// Add view
|
|
97776
|
-
const container = $$
|
|
97776
|
+
const container = $$e('.split-view-view');
|
|
97777
97777
|
if (index === this.viewItems.length) {
|
|
97778
97778
|
this.viewContainer.appendChild(container);
|
|
97779
97779
|
}
|
|
@@ -98099,12 +98099,12 @@ class TableListRenderer {
|
|
|
98099
98099
|
}
|
|
98100
98100
|
}
|
|
98101
98101
|
renderTemplate(container) {
|
|
98102
|
-
const rowContainer = append$1(container, $$
|
|
98102
|
+
const rowContainer = append$1(container, $$e('.monaco-table-tr'));
|
|
98103
98103
|
const cellContainers = [];
|
|
98104
98104
|
const cellTemplateData = [];
|
|
98105
98105
|
for (let i = 0; i < this.columns.length; i++) {
|
|
98106
98106
|
const renderer = this.renderers[i];
|
|
98107
|
-
const cellContainer = append$1(rowContainer, $$
|
|
98107
|
+
const cellContainer = append$1(rowContainer, $$e('.monaco-table-td', { 'data-col-index': i }));
|
|
98108
98108
|
cellContainer.style.width = `${this.getColumnSize(i)}px`;
|
|
98109
98109
|
cellContainers.push(cellContainer);
|
|
98110
98110
|
cellTemplateData.push(renderer.renderTemplate(cellContainer));
|
|
@@ -98161,7 +98161,7 @@ class ColumnHeader {
|
|
|
98161
98161
|
this.index = index;
|
|
98162
98162
|
this._onDidLayout = new Emitter$1();
|
|
98163
98163
|
this.onDidLayout = this._onDidLayout.event;
|
|
98164
|
-
this.element = $$
|
|
98164
|
+
this.element = $$e('.monaco-table-th', { 'data-col-index': index, title: column.tooltip }, column.label);
|
|
98165
98165
|
}
|
|
98166
98166
|
layout(size) {
|
|
98167
98167
|
this._onDidLayout.fire([this.index, size]);
|
|
@@ -98185,7 +98185,7 @@ class Table {
|
|
|
98185
98185
|
this.disposables = new DisposableStore();
|
|
98186
98186
|
this.cachedWidth = 0;
|
|
98187
98187
|
this.cachedHeight = 0;
|
|
98188
|
-
this.domNode = append$1(container, $$
|
|
98188
|
+
this.domNode = append$1(container, $$e(`.monaco-table.${this.domId}`));
|
|
98189
98189
|
const headers = columns.map((c, i) => new ColumnHeader(c, i));
|
|
98190
98190
|
const descriptor = {
|
|
98191
98191
|
size: headers.reduce((a, b) => a + b.column.weight, 0),
|
|
@@ -98489,7 +98489,7 @@ class HistoryNavigator {
|
|
|
98489
98489
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
98490
98490
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
98491
98491
|
*--------------------------------------------------------------------------------------------*/
|
|
98492
|
-
const $$
|
|
98492
|
+
const $$c = $$e;
|
|
98493
98493
|
class InputBox$1 extends Widget$1 {
|
|
98494
98494
|
constructor(container, contextViewProvider, options) {
|
|
98495
98495
|
var _a;
|
|
@@ -98509,10 +98509,10 @@ class InputBox$1 extends Widget$1 {
|
|
|
98509
98509
|
if (this.options.validationOptions) {
|
|
98510
98510
|
this.validation = this.options.validationOptions.validation;
|
|
98511
98511
|
}
|
|
98512
|
-
this.element = append$1(container, $$
|
|
98512
|
+
this.element = append$1(container, $$c('.monaco-inputbox.idle'));
|
|
98513
98513
|
const tagName = this.options.flexibleHeight ? 'textarea' : 'input';
|
|
98514
|
-
const wrapper = append$1(this.element, $$
|
|
98515
|
-
this.input = append$1(wrapper, $$
|
|
98514
|
+
const wrapper = append$1(this.element, $$c('.ibwrapper'));
|
|
98515
|
+
this.input = append$1(wrapper, $$c(tagName + '.input.empty'));
|
|
98516
98516
|
this.input.setAttribute('autocorrect', 'off');
|
|
98517
98517
|
this.input.setAttribute('autocapitalize', 'off');
|
|
98518
98518
|
this.input.setAttribute('spellcheck', 'false');
|
|
@@ -98520,7 +98520,7 @@ class InputBox$1 extends Widget$1 {
|
|
|
98520
98520
|
this.onblur(this.input, () => this.element.classList.remove('synthetic-focus'));
|
|
98521
98521
|
if (this.options.flexibleHeight) {
|
|
98522
98522
|
this.maxHeight = typeof this.options.flexibleMaxHeight === 'number' ? this.options.flexibleMaxHeight : Number.POSITIVE_INFINITY;
|
|
98523
|
-
this.mirror = append$1(wrapper, $$
|
|
98523
|
+
this.mirror = append$1(wrapper, $$c('div.mirror'));
|
|
98524
98524
|
this.mirror.innerText = '\u00a0';
|
|
98525
98525
|
this.scrollableElement = new ScrollableElement(this.element, { vertical: 1 /* ScrollbarVisibility.Auto */ });
|
|
98526
98526
|
if (this.options.flexibleWidth) {
|
|
@@ -98717,7 +98717,7 @@ class InputBox$1 extends Widget$1 {
|
|
|
98717
98717
|
if (!this.message) {
|
|
98718
98718
|
return null;
|
|
98719
98719
|
}
|
|
98720
|
-
div = append$1(container, $$
|
|
98720
|
+
div = append$1(container, $$c('.monaco-inputbox-container'));
|
|
98721
98721
|
layout();
|
|
98722
98722
|
const renderOptions = {
|
|
98723
98723
|
inline: true,
|
|
@@ -100065,10 +100065,10 @@ class TreeRenderer {
|
|
|
100065
100065
|
}
|
|
100066
100066
|
}
|
|
100067
100067
|
renderTemplate(container) {
|
|
100068
|
-
const el = append$1(container, $$
|
|
100069
|
-
const indent = append$1(el, $$
|
|
100070
|
-
const twistie = append$1(el, $$
|
|
100071
|
-
const contents = append$1(el, $$
|
|
100068
|
+
const el = append$1(container, $$e('.monaco-tl-row'));
|
|
100069
|
+
const indent = append$1(el, $$e('.monaco-tl-indent'));
|
|
100070
|
+
const twistie = append$1(el, $$e('.monaco-tl-twistie'));
|
|
100071
|
+
const contents = append$1(el, $$e('.monaco-tl-contents'));
|
|
100072
100072
|
const templateData = this.renderer.renderTemplate(contents);
|
|
100073
100073
|
return { container, indent, twistie, indentGuidesDisposable: Disposable.None, templateData };
|
|
100074
100074
|
}
|
|
@@ -100147,7 +100147,7 @@ class TreeRenderer {
|
|
|
100147
100147
|
break;
|
|
100148
100148
|
}
|
|
100149
100149
|
const parent = model.getNode(parentRef);
|
|
100150
|
-
const guide = $$
|
|
100150
|
+
const guide = $$e('.indent-guide', { style: `width: ${this.indent}px` });
|
|
100151
100151
|
if (this.activeIndentNodes.has(parent)) {
|
|
100152
100152
|
guide.classList.add('active');
|
|
100153
100153
|
}
|
|
@@ -100636,7 +100636,7 @@ class StickyScrollWidget$1 {
|
|
|
100636
100636
|
state.addDisposable(disposable);
|
|
100637
100637
|
}
|
|
100638
100638
|
// Add shadow element to the end of the widget
|
|
100639
|
-
const shadow = $$
|
|
100639
|
+
const shadow = $$e('.monaco-tree-sticky-container-shadow');
|
|
100640
100640
|
this._rootDomNode.appendChild(shadow);
|
|
100641
100641
|
state.addDisposable(toDisposable(() => shadow.remove()));
|
|
100642
100642
|
// Set the height of the widget to the bottom of the last sticky node
|
|
@@ -104326,7 +104326,7 @@ class CountBadge {
|
|
|
104326
104326
|
this.options = options;
|
|
104327
104327
|
this.styles = styles;
|
|
104328
104328
|
this.count = 0;
|
|
104329
|
-
this.element = append$1(container, $$
|
|
104329
|
+
this.element = append$1(container, $$e('.monaco-count-badge'));
|
|
104330
104330
|
this.countFormat = this.options.countFormat || '{0}';
|
|
104331
104331
|
this.titleFormat = this.options.titleFormat || '';
|
|
104332
104332
|
this.setCount(this.options.count || 0);
|
|
@@ -104452,7 +104452,7 @@ ProgressBar.LONG_RUNNING_INFINITE_THRESHOLD = 10000;
|
|
|
104452
104452
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
104453
104453
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
104454
104454
|
*--------------------------------------------------------------------------------------------*/
|
|
104455
|
-
const $$
|
|
104455
|
+
const $$b = $$e;
|
|
104456
104456
|
class QuickInputBox extends Disposable {
|
|
104457
104457
|
constructor(parent, inputBoxStyles, toggleStyles) {
|
|
104458
104458
|
super();
|
|
@@ -104466,7 +104466,7 @@ class QuickInputBox extends Disposable {
|
|
|
104466
104466
|
this.onDidChange = (handler) => {
|
|
104467
104467
|
return this.findInput.onDidChange(handler);
|
|
104468
104468
|
};
|
|
104469
|
-
this.container = append$1(this.parent, $$
|
|
104469
|
+
this.container = append$1(this.parent, $$b('.quick-input-box'));
|
|
104470
104470
|
this.findInput = this._register(new FindInput(this.container, undefined, { label: '', inputBoxStyles, toggleStyles }));
|
|
104471
104471
|
const input = this.findInput.inputBox.inputElement;
|
|
104472
104472
|
input.role = 'combobox';
|
|
@@ -104555,7 +104555,7 @@ class HighlightedLabel {
|
|
|
104555
104555
|
this.highlights = [];
|
|
104556
104556
|
this.didEverRender = false;
|
|
104557
104557
|
this.supportIcons = (_a = options === null || options === void 0 ? void 0 : options.supportIcons) !== null && _a !== void 0 ? _a : false;
|
|
104558
|
-
this.domNode = append$1(container, $$
|
|
104558
|
+
this.domNode = append$1(container, $$e('span.monaco-highlighted-label'));
|
|
104559
104559
|
}
|
|
104560
104560
|
/**
|
|
104561
104561
|
* The label's DOM node.
|
|
@@ -104606,7 +104606,7 @@ class HighlightedLabel {
|
|
|
104606
104606
|
pos = highlight.start;
|
|
104607
104607
|
}
|
|
104608
104608
|
const substring = this.text.substring(pos, highlight.end);
|
|
104609
|
-
const element = $$
|
|
104609
|
+
const element = $$e('span.highlight', undefined, ...this.supportIcons ? renderLabelWithIcons(substring) : [substring]);
|
|
104610
104610
|
if (highlight.extraClasses) {
|
|
104611
104611
|
element.classList.add(...highlight.extraClasses);
|
|
104612
104612
|
}
|
|
@@ -104695,9 +104695,9 @@ class IconLabel extends Disposable {
|
|
|
104695
104695
|
super();
|
|
104696
104696
|
this.customHovers = new Map();
|
|
104697
104697
|
this.creationOptions = options;
|
|
104698
|
-
this.domNode = this._register(new FastLabelNode(append$1(container, $$
|
|
104699
|
-
this.labelContainer = append$1(this.domNode.element, $$
|
|
104700
|
-
this.nameContainer = append$1(this.labelContainer, $$
|
|
104698
|
+
this.domNode = this._register(new FastLabelNode(append$1(container, $$e('.monaco-icon-label'))));
|
|
104699
|
+
this.labelContainer = append$1(this.domNode.element, $$e('.monaco-icon-label-container'));
|
|
104700
|
+
this.nameContainer = append$1(this.labelContainer, $$e('span.monaco-icon-name-container'));
|
|
104701
104701
|
if ((options === null || options === void 0 ? void 0 : options.supportHighlights) || (options === null || options === void 0 ? void 0 : options.supportIcons)) {
|
|
104702
104702
|
this.nameNode = new LabelWithHighlights(this.nameContainer, !!options.supportIcons);
|
|
104703
104703
|
}
|
|
@@ -104787,20 +104787,20 @@ class IconLabel extends Disposable {
|
|
|
104787
104787
|
}
|
|
104788
104788
|
getOrCreateSuffixNode() {
|
|
104789
104789
|
if (!this.suffixNode) {
|
|
104790
|
-
const suffixContainer = this._register(new FastLabelNode(after(this.nameContainer, $$
|
|
104791
|
-
this.suffixNode = this._register(new FastLabelNode(append$1(suffixContainer.element, $$
|
|
104790
|
+
const suffixContainer = this._register(new FastLabelNode(after(this.nameContainer, $$e('span.monaco-icon-suffix-container'))));
|
|
104791
|
+
this.suffixNode = this._register(new FastLabelNode(append$1(suffixContainer.element, $$e('span.label-suffix'))));
|
|
104792
104792
|
}
|
|
104793
104793
|
return this.suffixNode;
|
|
104794
104794
|
}
|
|
104795
104795
|
getOrCreateDescriptionNode() {
|
|
104796
104796
|
var _a;
|
|
104797
104797
|
if (!this.descriptionNode) {
|
|
104798
|
-
const descriptionContainer = this._register(new FastLabelNode(append$1(this.labelContainer, $$
|
|
104798
|
+
const descriptionContainer = this._register(new FastLabelNode(append$1(this.labelContainer, $$e('span.monaco-icon-description-container'))));
|
|
104799
104799
|
if ((_a = this.creationOptions) === null || _a === void 0 ? void 0 : _a.supportDescriptionHighlights) {
|
|
104800
|
-
this.descriptionNode = new HighlightedLabel(append$1(descriptionContainer.element, $$
|
|
104800
|
+
this.descriptionNode = new HighlightedLabel(append$1(descriptionContainer.element, $$e('span.label-description')), { supportIcons: !!this.creationOptions.supportIcons });
|
|
104801
104801
|
}
|
|
104802
104802
|
else {
|
|
104803
|
-
this.descriptionNode = this._register(new FastLabelNode(append$1(descriptionContainer.element, $$
|
|
104803
|
+
this.descriptionNode = this._register(new FastLabelNode(append$1(descriptionContainer.element, $$e('span.label-description'))));
|
|
104804
104804
|
}
|
|
104805
104805
|
}
|
|
104806
104806
|
return this.descriptionNode;
|
|
@@ -104822,7 +104822,7 @@ class Label {
|
|
|
104822
104822
|
if (!this.singleLabel) {
|
|
104823
104823
|
this.container.innerText = '';
|
|
104824
104824
|
this.container.classList.remove('multiple');
|
|
104825
|
-
this.singleLabel = append$1(this.container, $$
|
|
104825
|
+
this.singleLabel = append$1(this.container, $$e('a.label-name', { id: options === null || options === void 0 ? void 0 : options.domId }));
|
|
104826
104826
|
}
|
|
104827
104827
|
this.singleLabel.textContent = label;
|
|
104828
104828
|
}
|
|
@@ -104833,9 +104833,9 @@ class Label {
|
|
|
104833
104833
|
for (let i = 0; i < label.length; i++) {
|
|
104834
104834
|
const l = label[i];
|
|
104835
104835
|
const id = (options === null || options === void 0 ? void 0 : options.domId) && `${options === null || options === void 0 ? void 0 : options.domId}_${i}`;
|
|
104836
|
-
append$1(this.container, $$
|
|
104836
|
+
append$1(this.container, $$e('a.label-name', { id, 'data-icon-label-count': label.length, 'data-icon-label-index': i, 'role': 'treeitem' }, l));
|
|
104837
104837
|
if (i < label.length - 1) {
|
|
104838
|
-
append$1(this.container, $$
|
|
104838
|
+
append$1(this.container, $$e('span.label-separator', undefined, (options === null || options === void 0 ? void 0 : options.separator) || '/'));
|
|
104839
104839
|
}
|
|
104840
104840
|
}
|
|
104841
104841
|
}
|
|
@@ -104873,7 +104873,7 @@ class LabelWithHighlights {
|
|
|
104873
104873
|
if (!this.singleLabel) {
|
|
104874
104874
|
this.container.innerText = '';
|
|
104875
104875
|
this.container.classList.remove('multiple');
|
|
104876
|
-
this.singleLabel = new HighlightedLabel(append$1(this.container, $$
|
|
104876
|
+
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 });
|
|
104877
104877
|
}
|
|
104878
104878
|
this.singleLabel.set(label, options === null || options === void 0 ? void 0 : options.matches, undefined, options === null || options === void 0 ? void 0 : options.labelEscapeNewLines);
|
|
104879
104879
|
}
|
|
@@ -104887,11 +104887,11 @@ class LabelWithHighlights {
|
|
|
104887
104887
|
const l = label[i];
|
|
104888
104888
|
const m = matches ? matches[i] : undefined;
|
|
104889
104889
|
const id = (options === null || options === void 0 ? void 0 : options.domId) && `${options === null || options === void 0 ? void 0 : options.domId}_${i}`;
|
|
104890
|
-
const name = $$
|
|
104890
|
+
const name = $$e('a.label-name', { id, 'data-icon-label-count': label.length, 'data-icon-label-index': i, 'role': 'treeitem' });
|
|
104891
104891
|
const highlightedLabel = new HighlightedLabel(append$1(this.container, name), { supportIcons: this.supportIcons });
|
|
104892
104892
|
highlightedLabel.set(l, m, undefined, options === null || options === void 0 ? void 0 : options.labelEscapeNewLines);
|
|
104893
104893
|
if (i < label.length - 1) {
|
|
104894
|
-
append$1(name, $$
|
|
104894
|
+
append$1(name, $$e('span.label-separator', undefined, separator));
|
|
104895
104895
|
}
|
|
104896
104896
|
}
|
|
104897
104897
|
}
|
|
@@ -104902,7 +104902,7 @@ class LabelWithHighlights {
|
|
|
104902
104902
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
104903
104903
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
104904
104904
|
*--------------------------------------------------------------------------------------------*/
|
|
104905
|
-
const $$
|
|
104905
|
+
const $$a = $$e;
|
|
104906
104906
|
const unthemedKeybindingLabelOptions = {
|
|
104907
104907
|
keybindingLabelBackground: undefined,
|
|
104908
104908
|
keybindingLabelForeground: undefined,
|
|
@@ -104916,7 +104916,7 @@ class KeybindingLabel {
|
|
|
104916
104916
|
this.keyElements = new Set();
|
|
104917
104917
|
this.options = options || Object.create(null);
|
|
104918
104918
|
const labelForeground = this.options.keybindingLabelForeground;
|
|
104919
|
-
this.domNode = append$1(container, $$
|
|
104919
|
+
this.domNode = append$1(container, $$a('.monaco-keybinding'));
|
|
104920
104920
|
if (labelForeground) {
|
|
104921
104921
|
this.domNode.style.color = labelForeground;
|
|
104922
104922
|
}
|
|
@@ -104943,7 +104943,7 @@ class KeybindingLabel {
|
|
|
104943
104943
|
this.renderChord(this.domNode, chords[0], this.matches ? this.matches.firstPart : null);
|
|
104944
104944
|
}
|
|
104945
104945
|
for (let i = 1; i < chords.length; i++) {
|
|
104946
|
-
append$1(this.domNode, $$
|
|
104946
|
+
append$1(this.domNode, $$a('span.monaco-keybinding-key-chord-separator', undefined, ' '));
|
|
104947
104947
|
this.renderChord(this.domNode, chords[i], this.matches ? this.matches.chordPart : null);
|
|
104948
104948
|
}
|
|
104949
104949
|
const title = ((_a = this.options.disableTitle) !== null && _a !== void 0 ? _a : false) ? undefined : this.keybinding.getAriaLabel() || undefined;
|
|
@@ -104985,14 +104985,14 @@ class KeybindingLabel {
|
|
|
104985
104985
|
renderKey(parent, label, highlight, separator) {
|
|
104986
104986
|
append$1(parent, this.createKeyElement(label, highlight ? '.highlight' : ''));
|
|
104987
104987
|
if (separator) {
|
|
104988
|
-
append$1(parent, $$
|
|
104988
|
+
append$1(parent, $$a('span.monaco-keybinding-key-separator', undefined, separator));
|
|
104989
104989
|
}
|
|
104990
104990
|
}
|
|
104991
104991
|
renderUnbound(parent) {
|
|
104992
104992
|
append$1(parent, this.createKeyElement(localize('unbound', "Unbound")));
|
|
104993
104993
|
}
|
|
104994
104994
|
createKeyElement(label, extraClass = '') {
|
|
104995
|
-
const keyElement = $$
|
|
104995
|
+
const keyElement = $$a('span.monaco-keybinding-key' + extraClass, undefined, label);
|
|
104996
104996
|
this.keyElements.add(keyElement);
|
|
104997
104997
|
if (this.options.keybindingLabelBackground) {
|
|
104998
104998
|
keyElement.style.backgroundColor = this.options.keybindingLabelBackground;
|
|
@@ -105169,7 +105169,7 @@ function renderQuickInputDescription(description, container, actionHandler) {
|
|
|
105169
105169
|
else if (!title) {
|
|
105170
105170
|
title = node.href;
|
|
105171
105171
|
}
|
|
105172
|
-
const anchor = $$
|
|
105172
|
+
const anchor = $$e('a', { href: node.href, title, tabIndex: tabIndex++ }, node.label);
|
|
105173
105173
|
anchor.style.textDecoration = 'underline';
|
|
105174
105174
|
const handleOpen = (e) => {
|
|
105175
105175
|
if (isEventLike(e)) {
|
|
@@ -105201,7 +105201,7 @@ var __decorate$1K = (undefined && undefined.__decorate) || function (decorators,
|
|
|
105201
105201
|
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;
|
|
105202
105202
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
105203
105203
|
};
|
|
105204
|
-
const $$
|
|
105204
|
+
const $$9 = $$e;
|
|
105205
105205
|
class ListElement {
|
|
105206
105206
|
constructor(mainItem, previous, index, hasCheckbox, fireButtonTriggered, fireSeparatorButtonTriggered, onCheckedEmitter) {
|
|
105207
105207
|
var _a, _b, _c;
|
|
@@ -105315,36 +105315,36 @@ class ListElementRenderer {
|
|
|
105315
105315
|
const data = Object.create(null);
|
|
105316
105316
|
data.toDisposeElement = [];
|
|
105317
105317
|
data.toDisposeTemplate = [];
|
|
105318
|
-
data.entry = append$1(container, $$
|
|
105318
|
+
data.entry = append$1(container, $$9('.quick-input-list-entry'));
|
|
105319
105319
|
// Checkbox
|
|
105320
|
-
const label = append$1(data.entry, $$
|
|
105320
|
+
const label = append$1(data.entry, $$9('label.quick-input-list-label'));
|
|
105321
105321
|
data.toDisposeTemplate.push(addStandardDisposableListener(label, EventType$1.CLICK, e => {
|
|
105322
105322
|
if (!data.checkbox.offsetParent) { // If checkbox not visible:
|
|
105323
105323
|
e.preventDefault(); // Prevent toggle of checkbox when it is immediately shown afterwards. #91740
|
|
105324
105324
|
}
|
|
105325
105325
|
}));
|
|
105326
|
-
data.checkbox = append$1(label, $$
|
|
105326
|
+
data.checkbox = append$1(label, $$9('input.quick-input-list-checkbox'));
|
|
105327
105327
|
data.checkbox.type = 'checkbox';
|
|
105328
105328
|
data.toDisposeTemplate.push(addStandardDisposableListener(data.checkbox, EventType$1.CHANGE, e => {
|
|
105329
105329
|
data.element.checked = data.checkbox.checked;
|
|
105330
105330
|
}));
|
|
105331
105331
|
// Rows
|
|
105332
|
-
const rows = append$1(label, $$
|
|
105333
|
-
const row1 = append$1(rows, $$
|
|
105334
|
-
const row2 = append$1(rows, $$
|
|
105332
|
+
const rows = append$1(label, $$9('.quick-input-list-rows'));
|
|
105333
|
+
const row1 = append$1(rows, $$9('.quick-input-list-row'));
|
|
105334
|
+
const row2 = append$1(rows, $$9('.quick-input-list-row'));
|
|
105335
105335
|
// Label
|
|
105336
105336
|
data.label = new IconLabel(row1, { supportHighlights: true, supportDescriptionHighlights: true, supportIcons: true });
|
|
105337
105337
|
data.toDisposeTemplate.push(data.label);
|
|
105338
|
-
data.icon = prepend$1(data.label.element, $$
|
|
105338
|
+
data.icon = prepend$1(data.label.element, $$9('.quick-input-list-icon'));
|
|
105339
105339
|
// Keybinding
|
|
105340
|
-
const keybindingContainer = append$1(row1, $$
|
|
105340
|
+
const keybindingContainer = append$1(row1, $$9('.quick-input-list-entry-keybinding'));
|
|
105341
105341
|
data.keybinding = new KeybindingLabel(keybindingContainer, OS);
|
|
105342
105342
|
// Detail
|
|
105343
|
-
const detailContainer = append$1(row2, $$
|
|
105343
|
+
const detailContainer = append$1(row2, $$9('.quick-input-list-label-meta'));
|
|
105344
105344
|
data.detail = new IconLabel(detailContainer, { supportHighlights: true, supportIcons: true });
|
|
105345
105345
|
data.toDisposeTemplate.push(data.detail);
|
|
105346
105346
|
// Separator
|
|
105347
|
-
data.separator = append$1(data.entry, $$
|
|
105347
|
+
data.separator = append$1(data.entry, $$9('.quick-input-list-separator'));
|
|
105348
105348
|
// Actions
|
|
105349
105349
|
data.actionBar = new ActionBar(data.entry);
|
|
105350
105350
|
data.actionBar.domNode.classList.add('quick-input-list-entry-action-bar');
|
|
@@ -105507,7 +105507,7 @@ class QuickInputList {
|
|
|
105507
105507
|
this.elementDisposables = [];
|
|
105508
105508
|
this.disposables = [];
|
|
105509
105509
|
this.id = id;
|
|
105510
|
-
this.container = append$1(this.parent, $$
|
|
105510
|
+
this.container = append$1(this.parent, $$9('.quick-input-list'));
|
|
105511
105511
|
const delegate = new ListElementDelegate();
|
|
105512
105512
|
const accessibilityProvider = new QuickInputAccessibilityProvider();
|
|
105513
105513
|
this.list = options.createList('QuickInput', this.container, delegate, [new ListElementRenderer(themeService)], {
|
|
@@ -107013,7 +107013,7 @@ class InputBox extends QuickInput {
|
|
|
107013
107013
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
107014
107014
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
107015
107015
|
*--------------------------------------------------------------------------------------------*/
|
|
107016
|
-
const $$
|
|
107016
|
+
const $$8 = $$e;
|
|
107017
107017
|
class QuickInputController extends Disposable {
|
|
107018
107018
|
constructor(options, themeService, layoutService) {
|
|
107019
107019
|
super();
|
|
@@ -107064,19 +107064,19 @@ class QuickInputController extends Disposable {
|
|
|
107064
107064
|
}
|
|
107065
107065
|
return this.ui;
|
|
107066
107066
|
}
|
|
107067
|
-
const container = append$1(this.parentElement, $$
|
|
107067
|
+
const container = append$1(this.parentElement, $$8('.quick-input-widget.show-file-icons'));
|
|
107068
107068
|
container.tabIndex = -1;
|
|
107069
107069
|
container.style.display = 'none';
|
|
107070
107070
|
const styleSheet = createStyleSheet(container);
|
|
107071
|
-
const titleBar = append$1(container, $$
|
|
107071
|
+
const titleBar = append$1(container, $$8('.quick-input-titlebar'));
|
|
107072
107072
|
const actionBarOption = this.options.hoverDelegate ? { hoverDelegate: this.options.hoverDelegate } : undefined;
|
|
107073
107073
|
const leftActionBar = this._register(new ActionBar(titleBar, actionBarOption));
|
|
107074
107074
|
leftActionBar.domNode.classList.add('quick-input-left-action-bar');
|
|
107075
|
-
const title = append$1(titleBar, $$
|
|
107075
|
+
const title = append$1(titleBar, $$8('.quick-input-title'));
|
|
107076
107076
|
const rightActionBar = this._register(new ActionBar(titleBar, actionBarOption));
|
|
107077
107077
|
rightActionBar.domNode.classList.add('quick-input-right-action-bar');
|
|
107078
|
-
const headerContainer = append$1(container, $$
|
|
107079
|
-
const checkAll = append$1(headerContainer, $$
|
|
107078
|
+
const headerContainer = append$1(container, $$8('.quick-input-header'));
|
|
107079
|
+
const checkAll = append$1(headerContainer, $$8('input.quick-input-check-all'));
|
|
107080
107080
|
checkAll.type = 'checkbox';
|
|
107081
107081
|
checkAll.setAttribute('aria-label', localize('quickInput.checkAll', "Toggle all checkboxes"));
|
|
107082
107082
|
this._register(addStandardDisposableListener(checkAll, EventType$1.CHANGE, e => {
|
|
@@ -107088,36 +107088,36 @@ class QuickInputController extends Disposable {
|
|
|
107088
107088
|
inputBox.setFocus();
|
|
107089
107089
|
}
|
|
107090
107090
|
}));
|
|
107091
|
-
const description2 = append$1(headerContainer, $$
|
|
107092
|
-
const inputContainer = append$1(headerContainer, $$
|
|
107093
|
-
const filterContainer = append$1(inputContainer, $$
|
|
107091
|
+
const description2 = append$1(headerContainer, $$8('.quick-input-description'));
|
|
107092
|
+
const inputContainer = append$1(headerContainer, $$8('.quick-input-and-message'));
|
|
107093
|
+
const filterContainer = append$1(inputContainer, $$8('.quick-input-filter'));
|
|
107094
107094
|
const inputBox = this._register(new QuickInputBox(filterContainer, this.styles.inputBox, this.styles.toggle));
|
|
107095
107095
|
inputBox.setAttribute('aria-describedby', `${this.idPrefix}message`);
|
|
107096
|
-
const visibleCountContainer = append$1(filterContainer, $$
|
|
107096
|
+
const visibleCountContainer = append$1(filterContainer, $$8('.quick-input-visible-count'));
|
|
107097
107097
|
visibleCountContainer.setAttribute('aria-live', 'polite');
|
|
107098
107098
|
visibleCountContainer.setAttribute('aria-atomic', 'true');
|
|
107099
107099
|
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);
|
|
107100
|
-
const countContainer = append$1(filterContainer, $$
|
|
107100
|
+
const countContainer = append$1(filterContainer, $$8('.quick-input-count'));
|
|
107101
107101
|
countContainer.setAttribute('aria-live', 'polite');
|
|
107102
107102
|
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);
|
|
107103
|
-
const okContainer = append$1(headerContainer, $$
|
|
107103
|
+
const okContainer = append$1(headerContainer, $$8('.quick-input-action'));
|
|
107104
107104
|
const ok = this._register(new Button(okContainer, this.styles.button));
|
|
107105
107105
|
ok.label = localize('ok', "OK");
|
|
107106
107106
|
this._register(ok.onDidClick(e => {
|
|
107107
107107
|
this.onDidAcceptEmitter.fire();
|
|
107108
107108
|
}));
|
|
107109
|
-
const customButtonContainer = append$1(headerContainer, $$
|
|
107109
|
+
const customButtonContainer = append$1(headerContainer, $$8('.quick-input-action'));
|
|
107110
107110
|
const customButton = this._register(new Button(customButtonContainer, this.styles.button));
|
|
107111
107111
|
customButton.label = localize('custom', "Custom");
|
|
107112
107112
|
this._register(customButton.onDidClick(e => {
|
|
107113
107113
|
this.onDidCustomEmitter.fire();
|
|
107114
107114
|
}));
|
|
107115
|
-
const message = append$1(inputContainer, $$
|
|
107115
|
+
const message = append$1(inputContainer, $$8(`#${this.idPrefix}message.quick-input-message`));
|
|
107116
107116
|
const progressBar = this._register(new ProgressBar(container, this.styles.progressBar));
|
|
107117
107117
|
progressBar.getContainer().classList.add('quick-input-progress');
|
|
107118
|
-
const widget = append$1(container, $$
|
|
107118
|
+
const widget = append$1(container, $$8('.quick-input-html-widget'));
|
|
107119
107119
|
widget.tabIndex = -1;
|
|
107120
|
-
const description1 = append$1(container, $$
|
|
107120
|
+
const description1 = append$1(container, $$8('.quick-input-description'));
|
|
107121
107121
|
const listId = this.idPrefix + 'list';
|
|
107122
107122
|
const list = this._register(new QuickInputList(container, listId, this.options, this.themeService));
|
|
107123
107123
|
inputBox.setAttribute('aria-controls', listId);
|
|
@@ -109462,7 +109462,7 @@ let BrowserClipboardService = class BrowserClipboardService extends Disposable {
|
|
|
109462
109462
|
// Fallback to textarea and execCommand solution
|
|
109463
109463
|
const activeDocument = getActiveDocument();
|
|
109464
109464
|
const activeElement = activeDocument.activeElement;
|
|
109465
|
-
const textArea = activeDocument.body.appendChild($$
|
|
109465
|
+
const textArea = activeDocument.body.appendChild($$e('textarea', { 'aria-hidden': true }));
|
|
109466
109466
|
textArea.style.height = '1px';
|
|
109467
109467
|
textArea.style.width = '1px';
|
|
109468
109468
|
textArea.style.position = 'absolute';
|
|
@@ -114584,7 +114584,7 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
|
|
|
114584
114584
|
this._nodes = h$1('div.diff-hidden-lines', [
|
|
114585
114585
|
h$1('div.top@top', { title: localize('diff.hiddenLines.top', 'Click or drag to show more above') }),
|
|
114586
114586
|
h$1('div.center@content', { style: { display: 'flex' } }, [
|
|
114587
|
-
h$1('div@first', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexShrink: '0' } }, [$$
|
|
114587
|
+
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)'))]),
|
|
114588
114588
|
h$1('div@others', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } }),
|
|
114589
114589
|
]),
|
|
114590
114590
|
h$1('div.bottom@bottom', { title: localize('diff.bottom', 'Click or drag to show more below'), role: 'button' }),
|
|
@@ -114696,7 +114696,7 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
|
|
|
114696
114696
|
if (!this._hide) {
|
|
114697
114697
|
const lineCount = _unchangedRegion.getHiddenModifiedRange(reader).length;
|
|
114698
114698
|
const linesHiddenText = localize('hiddenLines', '{0} hidden lines', lineCount);
|
|
114699
|
-
const span = $$
|
|
114699
|
+
const span = $$e('span', { title: localize('diff.hiddenLines.expandAll', 'Double click to unfold') }, linesHiddenText);
|
|
114700
114700
|
span.addEventListener('dblclick', e => {
|
|
114701
114701
|
if (e.button !== 0) {
|
|
114702
114702
|
return;
|
|
@@ -114708,7 +114708,7 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
|
|
|
114708
114708
|
const range = this._unchangedRegion.getHiddenModifiedRange(reader);
|
|
114709
114709
|
const items = this._modifiedOutlineSource.getBreadcrumbItems(range, reader);
|
|
114710
114710
|
if (items.length > 0) {
|
|
114711
|
-
children.push($$
|
|
114711
|
+
children.push($$e('span', undefined, '\u00a0\u00a0|\u00a0\u00a0'));
|
|
114712
114712
|
for (let i = 0; i < items.length; i++) {
|
|
114713
114713
|
const item = items[i];
|
|
114714
114714
|
const icon = SymbolKinds.toIcon(item.kind);
|
|
@@ -115841,7 +115841,7 @@ let ViewZoneManager = class ViewZoneManager extends Disposable {
|
|
|
115841
115841
|
e.stopPropagation();
|
|
115842
115842
|
_diffEditorWidget.revert(a.diff);
|
|
115843
115843
|
}));
|
|
115844
|
-
return $$
|
|
115844
|
+
return $$e('div', {}, arrow);
|
|
115845
115845
|
}
|
|
115846
115846
|
let marginDomNode = undefined;
|
|
115847
115847
|
if (a.diff && a.diff.modified.isEmpty && this._options.shouldRenderRevertArrows.read(reader)) {
|
|
@@ -116610,7 +116610,7 @@ let DiffEditorWidget = class DiffEditorWidget extends DelegatingEditor {
|
|
|
116610
116610
|
this._audioCueService = _audioCueService;
|
|
116611
116611
|
this._editorProgressService = _editorProgressService;
|
|
116612
116612
|
this.elements = h$1('div.monaco-diff-editor.side-by-side', { style: { position: 'relative', height: '100%' } }, [
|
|
116613
|
-
h$1('div.noModificationsOverlay@overlay', { style: { position: 'absolute', height: '100%', visibility: 'hidden', } }, [$$
|
|
116613
|
+
h$1('div.noModificationsOverlay@overlay', { style: { position: 'absolute', height: '100%', visibility: 'hidden', } }, [$$e('span', {}, 'No Changes')]),
|
|
116614
116614
|
h$1('div.editor.original@original', { style: { position: 'absolute', height: '100%' } }),
|
|
116615
116615
|
h$1('div.editor.modified@modified', { style: { position: 'absolute', height: '100%' } }),
|
|
116616
116616
|
h$1('div.accessibleDiffViewer@accessibleDiffViewer', { style: { position: 'absolute', height: '100%' } }),
|
|
@@ -120557,7 +120557,7 @@ registerLanguage({
|
|
|
120557
120557
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
120558
120558
|
loader: () => {
|
|
120559
120559
|
{
|
|
120560
|
-
return Promise.resolve().then(function () { return require('./html-
|
|
120560
|
+
return Promise.resolve().then(function () { return require('./html-847c7e39.js'); });
|
|
120561
120561
|
}
|
|
120562
120562
|
}
|
|
120563
120563
|
});
|
|
@@ -120577,7 +120577,7 @@ registerLanguage({
|
|
|
120577
120577
|
mimetypes: ["text/javascript"],
|
|
120578
120578
|
loader: () => {
|
|
120579
120579
|
{
|
|
120580
|
-
return Promise.resolve().then(function () { return require('./javascript-
|
|
120580
|
+
return Promise.resolve().then(function () { return require('./javascript-f5ca9a1a.js'); });
|
|
120581
120581
|
}
|
|
120582
120582
|
}
|
|
120583
120583
|
});
|
|
@@ -120595,7 +120595,7 @@ registerLanguage({
|
|
|
120595
120595
|
mimetypes: ["text/typescript"],
|
|
120596
120596
|
loader: () => {
|
|
120597
120597
|
{
|
|
120598
|
-
return Promise.resolve().then(function () { return require('./typescript-
|
|
120598
|
+
return Promise.resolve().then(function () { return require('./typescript-c43b7258.js'); });
|
|
120599
120599
|
}
|
|
120600
120600
|
}
|
|
120601
120601
|
});
|
|
@@ -120716,7 +120716,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
|
|
|
120716
120716
|
monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
|
|
120717
120717
|
function getMode$3() {
|
|
120718
120718
|
{
|
|
120719
|
-
return Promise.resolve().then(function () { return require('./cssMode-
|
|
120719
|
+
return Promise.resolve().then(function () { return require('./cssMode-2e878b70.js'); });
|
|
120720
120720
|
}
|
|
120721
120721
|
}
|
|
120722
120722
|
monaco_editor_core_exports$3.languages.onLanguage("less", () => {
|
|
@@ -120841,7 +120841,7 @@ monaco_editor_core_exports$2.languages.html = {
|
|
|
120841
120841
|
};
|
|
120842
120842
|
function getMode$2() {
|
|
120843
120843
|
{
|
|
120844
|
-
return Promise.resolve().then(function () { return require('./htmlMode-
|
|
120844
|
+
return Promise.resolve().then(function () { return require('./htmlMode-7a36db6d.js'); });
|
|
120845
120845
|
}
|
|
120846
120846
|
}
|
|
120847
120847
|
function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
|
|
@@ -120943,7 +120943,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
|
|
|
120943
120943
|
monaco_editor_core_exports$1.languages.json = { jsonDefaults };
|
|
120944
120944
|
function getMode$1() {
|
|
120945
120945
|
{
|
|
120946
|
-
return Promise.resolve().then(function () { return require('./jsonMode-
|
|
120946
|
+
return Promise.resolve().then(function () { return require('./jsonMode-0d326a6e.js'); });
|
|
120947
120947
|
}
|
|
120948
120948
|
}
|
|
120949
120949
|
monaco_editor_core_exports$1.languages.register({
|
|
@@ -121212,7 +121212,7 @@ monaco_editor_core_exports.languages.typescript = {
|
|
|
121212
121212
|
};
|
|
121213
121213
|
function getMode() {
|
|
121214
121214
|
{
|
|
121215
|
-
return Promise.resolve().then(function () { return require('./tsMode-
|
|
121215
|
+
return Promise.resolve().then(function () { return require('./tsMode-e4abe99d.js'); });
|
|
121216
121216
|
}
|
|
121217
121217
|
}
|
|
121218
121218
|
monaco_editor_core_exports.languages.onLanguage("typescript", () => {
|
|
@@ -123164,7 +123164,7 @@ let LightBulbWidget = LightBulbWidget_1 = class LightBulbWidget extends Disposab
|
|
|
123164
123164
|
this.onClick = this._onClick.event;
|
|
123165
123165
|
this._state = LightBulbState.Hidden;
|
|
123166
123166
|
this._iconClasses = [];
|
|
123167
|
-
this._domNode = $$
|
|
123167
|
+
this._domNode = $$e('div.lightBulbWidget');
|
|
123168
123168
|
this._register(Gesture.ignoreTarget(this._domNode));
|
|
123169
123169
|
this._editor.addContentWidget(this);
|
|
123170
123170
|
this._register(this._editor.onDidChangeModelContent(_ => {
|
|
@@ -124020,7 +124020,7 @@ let ActionWidgetService = class ActionWidgetService extends Disposable {
|
|
|
124020
124020
|
if (!actions.length) {
|
|
124021
124021
|
return undefined;
|
|
124022
124022
|
}
|
|
124023
|
-
const container = $$
|
|
124023
|
+
const container = $$e(className);
|
|
124024
124024
|
const actionBar = new ActionBar(container);
|
|
124025
124025
|
actionBar.push(actions, { icon: false, label: true });
|
|
124026
124026
|
return actionBar;
|
|
@@ -125214,20 +125214,20 @@ class CodeLensContentWidget {
|
|
|
125214
125214
|
if (lens.command) {
|
|
125215
125215
|
const title = renderLabelWithIcons(lens.command.title.trim());
|
|
125216
125216
|
if (lens.command.id) {
|
|
125217
|
-
children.push($$
|
|
125217
|
+
children.push($$e('a', { id: String(i), title: lens.command.tooltip, role: 'button' }, ...title));
|
|
125218
125218
|
this._commands.set(String(i), lens.command);
|
|
125219
125219
|
}
|
|
125220
125220
|
else {
|
|
125221
|
-
children.push($$
|
|
125221
|
+
children.push($$e('span', { title: lens.command.tooltip }, ...title));
|
|
125222
125222
|
}
|
|
125223
125223
|
if (i + 1 < lenses.length) {
|
|
125224
|
-
children.push($$
|
|
125224
|
+
children.push($$e('span', undefined, '\u00a0|\u00a0'));
|
|
125225
125225
|
}
|
|
125226
125226
|
}
|
|
125227
125227
|
}
|
|
125228
125228
|
if (!hasSymbol) {
|
|
125229
125229
|
// symbols but no commands
|
|
125230
|
-
reset(this._domNode, $$
|
|
125230
|
+
reset(this._domNode, $$e('span', undefined, 'no commands'));
|
|
125231
125231
|
}
|
|
125232
125232
|
else {
|
|
125233
125233
|
// symbols and commands
|
|
@@ -126325,22 +126325,22 @@ class ColorPickerModel {
|
|
|
126325
126325
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
126326
126326
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
126327
126327
|
*--------------------------------------------------------------------------------------------*/
|
|
126328
|
-
const $$
|
|
126328
|
+
const $$7 = $$e;
|
|
126329
126329
|
class ColorPickerHeader extends Disposable {
|
|
126330
126330
|
constructor(container, model, themeService, showingStandaloneColorPicker = false) {
|
|
126331
126331
|
super();
|
|
126332
126332
|
this.model = model;
|
|
126333
126333
|
this.showingStandaloneColorPicker = showingStandaloneColorPicker;
|
|
126334
126334
|
this._closeButton = null;
|
|
126335
|
-
this._domNode = $$
|
|
126335
|
+
this._domNode = $$7('.colorpicker-header');
|
|
126336
126336
|
append$1(container, this._domNode);
|
|
126337
|
-
this._pickedColorNode = append$1(this._domNode, $$
|
|
126338
|
-
append$1(this._pickedColorNode, $$
|
|
126337
|
+
this._pickedColorNode = append$1(this._domNode, $$7('.picked-color'));
|
|
126338
|
+
append$1(this._pickedColorNode, $$7('span.codicon.codicon-color-mode'));
|
|
126339
126339
|
this._pickedColorPresentation = append$1(this._pickedColorNode, document.createElement('span'));
|
|
126340
126340
|
this._pickedColorPresentation.classList.add('picked-color-presentation');
|
|
126341
126341
|
const tooltip = localize('clickToToggleColorOptions', "Click to toggle color options (rgb/hsl/hex)");
|
|
126342
126342
|
this._pickedColorNode.setAttribute('title', tooltip);
|
|
126343
|
-
this._originalColorNode = append$1(this._domNode, $$
|
|
126343
|
+
this._originalColorNode = append$1(this._domNode, $$7('.original-color'));
|
|
126344
126344
|
this._originalColorNode.style.backgroundColor = Color.Format.CSS.format(this.model.originalColor) || '';
|
|
126345
126345
|
this.backgroundColor = themeService.getColorTheme().getColor(editorHoverBackground) || Color.white;
|
|
126346
126346
|
this._register(themeService.onDidColorThemeChange(theme => {
|
|
@@ -126391,7 +126391,7 @@ class CloseButton extends Disposable {
|
|
|
126391
126391
|
const innerDiv = document.createElement('div');
|
|
126392
126392
|
innerDiv.classList.add('close-button-inner-div');
|
|
126393
126393
|
append$1(this._button, innerDiv);
|
|
126394
|
-
const closeButton = append$1(innerDiv, $$
|
|
126394
|
+
const closeButton = append$1(innerDiv, $$7('.button' + ThemeIcon.asCSSSelector(registerIcon('color-picker-close', Codicon.close, localize('closeIcon', 'Icon to close the color picker')))));
|
|
126395
126395
|
closeButton.classList.add('close-icon');
|
|
126396
126396
|
this._button.onclick = () => {
|
|
126397
126397
|
this._onClicked.fire();
|
|
@@ -126404,7 +126404,7 @@ class ColorPickerBody extends Disposable {
|
|
|
126404
126404
|
this.model = model;
|
|
126405
126405
|
this.pixelRatio = pixelRatio;
|
|
126406
126406
|
this._insertButton = null;
|
|
126407
|
-
this._domNode = $$
|
|
126407
|
+
this._domNode = $$7('.colorpicker-body');
|
|
126408
126408
|
append$1(container, this._domNode);
|
|
126409
126409
|
this._saturationBox = new SaturationBox(this._domNode, this.model, this.pixelRatio);
|
|
126410
126410
|
this._register(this._saturationBox);
|
|
@@ -126463,14 +126463,14 @@ class SaturationBox extends Disposable {
|
|
|
126463
126463
|
this.onDidChange = this._onDidChange.event;
|
|
126464
126464
|
this._onColorFlushed = new Emitter$1();
|
|
126465
126465
|
this.onColorFlushed = this._onColorFlushed.event;
|
|
126466
|
-
this._domNode = $$
|
|
126466
|
+
this._domNode = $$7('.saturation-wrap');
|
|
126467
126467
|
append$1(container, this._domNode);
|
|
126468
126468
|
// Create canvas, draw selected color
|
|
126469
126469
|
this._canvas = document.createElement('canvas');
|
|
126470
126470
|
this._canvas.className = 'saturation-box';
|
|
126471
126471
|
append$1(this._domNode, this._canvas);
|
|
126472
126472
|
// Add selection circle
|
|
126473
|
-
this.selection = $$
|
|
126473
|
+
this.selection = $$7('.saturation-selection');
|
|
126474
126474
|
append$1(this._domNode, this.selection);
|
|
126475
126475
|
this.layout();
|
|
126476
126476
|
this._register(addDisposableListener(this._domNode, EventType$1.POINTER_DOWN, e => this.onPointerDown(e)));
|
|
@@ -126555,14 +126555,14 @@ class Strip extends Disposable {
|
|
|
126555
126555
|
this._onColorFlushed = new Emitter$1();
|
|
126556
126556
|
this.onColorFlushed = this._onColorFlushed.event;
|
|
126557
126557
|
if (showingStandaloneColorPicker) {
|
|
126558
|
-
this.domNode = append$1(container, $$
|
|
126559
|
-
this.overlay = append$1(this.domNode, $$
|
|
126558
|
+
this.domNode = append$1(container, $$7('.standalone-strip'));
|
|
126559
|
+
this.overlay = append$1(this.domNode, $$7('.standalone-overlay'));
|
|
126560
126560
|
}
|
|
126561
126561
|
else {
|
|
126562
|
-
this.domNode = append$1(container, $$
|
|
126563
|
-
this.overlay = append$1(this.domNode, $$
|
|
126562
|
+
this.domNode = append$1(container, $$7('.strip'));
|
|
126563
|
+
this.overlay = append$1(this.domNode, $$7('.overlay'));
|
|
126564
126564
|
}
|
|
126565
|
-
this.slider = append$1(this.domNode, $$
|
|
126565
|
+
this.slider = append$1(this.domNode, $$7('.slider'));
|
|
126566
126566
|
this.slider.style.top = `0px`;
|
|
126567
126567
|
this._register(addDisposableListener(this.domNode, EventType$1.POINTER_DOWN, e => this.onPointerDown(e)));
|
|
126568
126568
|
this._register(model.onDidChangeColor(this.onDidChangeColor, this));
|
|
@@ -126652,7 +126652,7 @@ class ColorPickerWidget extends Widget$1 {
|
|
|
126652
126652
|
this.model = model;
|
|
126653
126653
|
this.pixelRatio = pixelRatio;
|
|
126654
126654
|
this._register(PixelRatio.onDidChange(() => this.layout()));
|
|
126655
|
-
const element = $$
|
|
126655
|
+
const element = $$7('.colorpicker-widget');
|
|
126656
126656
|
container.appendChild(element);
|
|
126657
126657
|
this.header = this._register(new ColorPickerHeader(element, this.model, themeService, standaloneColorPicker));
|
|
126658
126658
|
this.body = this._register(new ColorPickerBody(element, this.model, this.pixelRatio, standaloneColorPicker));
|
|
@@ -127577,26 +127577,26 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
|
|
|
127577
127577
|
}
|
|
127578
127578
|
_fillContainer(container) {
|
|
127579
127579
|
this.setCssClass('peekview-widget');
|
|
127580
|
-
this._headElement = $$
|
|
127581
|
-
this._bodyElement = $$
|
|
127580
|
+
this._headElement = $$e('.head');
|
|
127581
|
+
this._bodyElement = $$e('.body');
|
|
127582
127582
|
this._fillHead(this._headElement);
|
|
127583
127583
|
this._fillBody(this._bodyElement);
|
|
127584
127584
|
container.appendChild(this._headElement);
|
|
127585
127585
|
container.appendChild(this._bodyElement);
|
|
127586
127586
|
}
|
|
127587
127587
|
_fillHead(container, noCloseAction) {
|
|
127588
|
-
this._titleElement = $$
|
|
127588
|
+
this._titleElement = $$e('.peekview-title');
|
|
127589
127589
|
if (this.options.supportOnTitleClick) {
|
|
127590
127590
|
this._titleElement.classList.add('clickable');
|
|
127591
127591
|
addStandardDisposableListener(this._titleElement, 'click', event => this._onTitleClick(event));
|
|
127592
127592
|
}
|
|
127593
127593
|
append$1(this._headElement, this._titleElement);
|
|
127594
127594
|
this._fillTitleIcon(this._titleElement);
|
|
127595
|
-
this._primaryHeading = $$
|
|
127596
|
-
this._secondaryHeading = $$
|
|
127597
|
-
this._metaHeading = $$
|
|
127595
|
+
this._primaryHeading = $$e('span.filename');
|
|
127596
|
+
this._secondaryHeading = $$e('span.dirname');
|
|
127597
|
+
this._metaHeading = $$e('span.meta');
|
|
127598
127598
|
append$1(this._titleElement, this._primaryHeading, this._secondaryHeading, this._metaHeading);
|
|
127599
|
-
const actionsContainer = $$
|
|
127599
|
+
const actionsContainer = $$e('.peekview-actions');
|
|
127600
127600
|
append$1(this._headElement, actionsContainer);
|
|
127601
127601
|
const actionBarOptions = this._getActionBarOptions();
|
|
127602
127602
|
this._actionbarWidget = new ActionBar(actionsContainer, actionBarOptions);
|
|
@@ -128009,7 +128009,7 @@ let FileReferencesTemplate = class FileReferencesTemplate extends Disposable {
|
|
|
128009
128009
|
const parent = document.createElement('div');
|
|
128010
128010
|
parent.classList.add('reference-file');
|
|
128011
128011
|
this.file = this._register(new IconLabel(parent, { supportHighlights: true }));
|
|
128012
|
-
this.badge = new CountBadge(append$1(parent, $$
|
|
128012
|
+
this.badge = new CountBadge(append$1(parent, $$e('.count')), {}, defaultCountBadgeStyles);
|
|
128013
128013
|
container.appendChild(parent);
|
|
128014
128014
|
}
|
|
128015
128015
|
set(element, matches) {
|
|
@@ -128312,11 +128312,11 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
128312
128312
|
_fillBody(containerElement) {
|
|
128313
128313
|
this.setCssClass('reference-zone-widget');
|
|
128314
128314
|
// message pane
|
|
128315
|
-
this._messageContainer = append$1(containerElement, $$
|
|
128315
|
+
this._messageContainer = append$1(containerElement, $$e('div.messages'));
|
|
128316
128316
|
hide(this._messageContainer);
|
|
128317
128317
|
this._splitView = new SplitView(containerElement, { orientation: 1 /* Orientation.HORIZONTAL */ });
|
|
128318
128318
|
// editor
|
|
128319
|
-
this._previewContainer = append$1(containerElement, $$
|
|
128319
|
+
this._previewContainer = append$1(containerElement, $$e('div.preview.inline'));
|
|
128320
128320
|
const options = {
|
|
128321
128321
|
scrollBeyondLastLine: false,
|
|
128322
128322
|
scrollbar: {
|
|
@@ -128337,7 +128337,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
128337
128337
|
hide(this._previewContainer);
|
|
128338
128338
|
this._previewNotAvailableMessage = new TextModel(localize('missingPreviewMessage', "no preview available"), PLAINTEXT_LANGUAGE_ID, TextModel.DEFAULT_CREATION_OPTIONS, null, this._undoRedoService, this._languageService, this._languageConfigurationService);
|
|
128339
128339
|
// tree
|
|
128340
|
-
this._treeContainer = append$1(containerElement, $$
|
|
128340
|
+
this._treeContainer = append$1(containerElement, $$e('div.ref-tree.inline'));
|
|
128341
128341
|
const treeOptions = {
|
|
128342
128342
|
keyboardSupport: this._defaultTreeKeyboardSupport,
|
|
128343
128343
|
accessibilityProvider: new AccessibilityProvider(),
|
|
@@ -130113,7 +130113,7 @@ registerEditorContribution(GotoDefinitionAtPositionEditorContribution.ID, GotoDe
|
|
|
130113
130113
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
130114
130114
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
130115
130115
|
*--------------------------------------------------------------------------------------------*/
|
|
130116
|
-
const $$
|
|
130116
|
+
const $$6 = $$e;
|
|
130117
130117
|
class HoverWidget extends Disposable {
|
|
130118
130118
|
constructor() {
|
|
130119
130119
|
super();
|
|
@@ -130138,14 +130138,14 @@ class HoverAction extends Disposable {
|
|
|
130138
130138
|
}
|
|
130139
130139
|
constructor(parent, actionOptions, keybindingLabel) {
|
|
130140
130140
|
super();
|
|
130141
|
-
this.actionContainer = append$1(parent, $$
|
|
130141
|
+
this.actionContainer = append$1(parent, $$6('div.action-container'));
|
|
130142
130142
|
this.actionContainer.setAttribute('tabindex', '0');
|
|
130143
|
-
this.action = append$1(this.actionContainer, $$
|
|
130143
|
+
this.action = append$1(this.actionContainer, $$6('a.action'));
|
|
130144
130144
|
this.action.setAttribute('role', 'button');
|
|
130145
130145
|
if (actionOptions.iconClass) {
|
|
130146
|
-
append$1(this.action, $$
|
|
130146
|
+
append$1(this.action, $$6(`span.icon.${actionOptions.iconClass}`));
|
|
130147
130147
|
}
|
|
130148
|
-
const label = append$1(this.action, $$
|
|
130148
|
+
const label = append$1(this.action, $$6('span'));
|
|
130149
130149
|
label.textContent = keybindingLabel ? `${actionOptions.label} (${keybindingLabel})` : actionOptions.label;
|
|
130150
130150
|
this._register(addDisposableListener(this.actionContainer, EventType$1.CLICK, e => {
|
|
130151
130151
|
e.stopPropagation();
|
|
@@ -130615,7 +130615,7 @@ var __param$14 = (undefined && undefined.__param) || function (paramIndex, decor
|
|
|
130615
130615
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
130616
130616
|
};
|
|
130617
130617
|
var ContentHoverController_1, ContentHoverWidget_1;
|
|
130618
|
-
const $$
|
|
130618
|
+
const $$5 = $$e;
|
|
130619
130619
|
let ContentHoverController = ContentHoverController_1 = class ContentHoverController extends Disposable {
|
|
130620
130620
|
constructor(_editor, _instantiationService, _keybindingService) {
|
|
130621
130621
|
super();
|
|
@@ -131356,8 +131356,8 @@ let EditorHoverStatusBar = class EditorHoverStatusBar extends Disposable {
|
|
|
131356
131356
|
super();
|
|
131357
131357
|
this._keybindingService = _keybindingService;
|
|
131358
131358
|
this._hasContent = false;
|
|
131359
|
-
this.hoverElement = $$
|
|
131360
|
-
this.actionsElement = append$1(this.hoverElement, $$
|
|
131359
|
+
this.hoverElement = $$5('div.hover-row.status-bar');
|
|
131360
|
+
this.actionsElement = append$1(this.hoverElement, $$5('div.actions'));
|
|
131361
131361
|
}
|
|
131362
131362
|
addAction(actionOptions) {
|
|
131363
131363
|
const keybinding = this._keybindingService.lookupKeybinding(actionOptions.commandId);
|
|
@@ -131459,7 +131459,7 @@ function computeDistanceFromPointToRectangle(pointX, pointY, left, top, width, h
|
|
|
131459
131459
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
131460
131460
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
131461
131461
|
*--------------------------------------------------------------------------------------------*/
|
|
131462
|
-
const $$
|
|
131462
|
+
const $$4 = $$e;
|
|
131463
131463
|
class MarginHoverWidget extends Disposable {
|
|
131464
131464
|
constructor(editor, languageService, openerService) {
|
|
131465
131465
|
super();
|
|
@@ -131540,8 +131540,8 @@ class MarginHoverWidget extends Disposable {
|
|
|
131540
131540
|
this._renderDisposeables.clear();
|
|
131541
131541
|
const fragment = document.createDocumentFragment();
|
|
131542
131542
|
for (const msg of messages) {
|
|
131543
|
-
const markdownHoverElement = $$
|
|
131544
|
-
const hoverContentsElement = append$1(markdownHoverElement, $$
|
|
131543
|
+
const markdownHoverElement = $$4('div.hover-row.markdown-hover');
|
|
131544
|
+
const hoverContentsElement = append$1(markdownHoverElement, $$4('div.hover-contents'));
|
|
131545
131545
|
const renderedContents = this._renderDisposeables.add(this._markdownRenderer.render(msg.value));
|
|
131546
131546
|
hoverContentsElement.appendChild(renderedContents.element);
|
|
131547
131547
|
fragment.appendChild(markdownHoverElement);
|
|
@@ -131660,7 +131660,7 @@ var __decorate$13 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
131660
131660
|
var __param$13 = (undefined && undefined.__param) || function (paramIndex, decorator) {
|
|
131661
131661
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
131662
131662
|
};
|
|
131663
|
-
const $$
|
|
131663
|
+
const $$3 = $$e;
|
|
131664
131664
|
class MarkdownHover {
|
|
131665
131665
|
constructor(owner, range, contents, isBeforeContent, ordinal) {
|
|
131666
131666
|
this.owner = owner;
|
|
@@ -131765,8 +131765,8 @@ function renderMarkdownHovers(context, hoverParts, editor, languageService, open
|
|
|
131765
131765
|
if (isEmptyMarkdownString(contents)) {
|
|
131766
131766
|
continue;
|
|
131767
131767
|
}
|
|
131768
|
-
const markdownHoverElement = $$
|
|
131769
|
-
const hoverContentsElement = append$1(markdownHoverElement, $$
|
|
131768
|
+
const markdownHoverElement = $$3('div.hover-row.markdown-hover');
|
|
131769
|
+
const hoverContentsElement = append$1(markdownHoverElement, $$3('div.hover-contents'));
|
|
131770
131770
|
const renderer = disposables.add(new MarkdownRenderer({ editor }, languageService, openerService));
|
|
131771
131771
|
disposables.add(renderer.onDidRenderAsync(() => {
|
|
131772
131772
|
hoverContentsElement.className = 'hover-contents code-hover-contents';
|
|
@@ -132087,14 +132087,14 @@ class MessageWidget {
|
|
|
132087
132087
|
detailsElement.appendChild(codeElement);
|
|
132088
132088
|
}
|
|
132089
132089
|
else {
|
|
132090
|
-
this._codeLink = $$
|
|
132090
|
+
this._codeLink = $$e('a.code-link');
|
|
132091
132091
|
this._codeLink.setAttribute('href', `${code.target.toString()}`);
|
|
132092
132092
|
this._codeLink.onclick = (e) => {
|
|
132093
132093
|
this._openerService.open(code.target, { allowCommands: true });
|
|
132094
132094
|
e.preventDefault();
|
|
132095
132095
|
e.stopPropagation();
|
|
132096
132096
|
};
|
|
132097
|
-
const codeElement = append$1(this._codeLink, $$
|
|
132097
|
+
const codeElement = append$1(this._codeLink, $$e('span'));
|
|
132098
132098
|
codeElement.innerText = code.value;
|
|
132099
132099
|
detailsElement.appendChild(this._codeLink);
|
|
132100
132100
|
}
|
|
@@ -132218,7 +132218,7 @@ let MarkerNavigationWidget = MarkerNavigationWidget_1 = class MarkerNavigationWi
|
|
|
132218
132218
|
menu.dispose();
|
|
132219
132219
|
}
|
|
132220
132220
|
_fillTitleIcon(container) {
|
|
132221
|
-
this._icon = append$1(container, $$
|
|
132221
|
+
this._icon = append$1(container, $$e(''));
|
|
132222
132222
|
}
|
|
132223
132223
|
_fillBody(container) {
|
|
132224
132224
|
this._parentContainer = container;
|
|
@@ -132574,7 +132574,7 @@ var __decorate$$ = (undefined && undefined.__decorate) || function (decorators,
|
|
|
132574
132574
|
var __param$$ = (undefined && undefined.__param) || function (paramIndex, decorator) {
|
|
132575
132575
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
132576
132576
|
};
|
|
132577
|
-
const $$
|
|
132577
|
+
const $$2 = $$e;
|
|
132578
132578
|
class MarkerHover {
|
|
132579
132579
|
constructor(owner, range, marker) {
|
|
132580
132580
|
this.owner = owner;
|
|
@@ -132632,36 +132632,36 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
132632
132632
|
return disposables;
|
|
132633
132633
|
}
|
|
132634
132634
|
renderMarkerHover(markerHover, disposables) {
|
|
132635
|
-
const hoverElement = $$
|
|
132636
|
-
const markerElement = append$1(hoverElement, $$
|
|
132635
|
+
const hoverElement = $$2('div.hover-row');
|
|
132636
|
+
const markerElement = append$1(hoverElement, $$2('div.marker.hover-contents'));
|
|
132637
132637
|
const { source, message, code, relatedInformation } = markerHover.marker;
|
|
132638
132638
|
this._editor.applyFontInfo(markerElement);
|
|
132639
|
-
const messageElement = append$1(markerElement, $$
|
|
132639
|
+
const messageElement = append$1(markerElement, $$2('span'));
|
|
132640
132640
|
messageElement.style.whiteSpace = 'pre-wrap';
|
|
132641
132641
|
messageElement.innerText = message;
|
|
132642
132642
|
if (source || code) {
|
|
132643
132643
|
// Code has link
|
|
132644
132644
|
if (code && typeof code !== 'string') {
|
|
132645
|
-
const sourceAndCodeElement = $$
|
|
132645
|
+
const sourceAndCodeElement = $$2('span');
|
|
132646
132646
|
if (source) {
|
|
132647
|
-
const sourceElement = append$1(sourceAndCodeElement, $$
|
|
132647
|
+
const sourceElement = append$1(sourceAndCodeElement, $$2('span'));
|
|
132648
132648
|
sourceElement.innerText = source;
|
|
132649
132649
|
}
|
|
132650
|
-
const codeLink = append$1(sourceAndCodeElement, $$
|
|
132650
|
+
const codeLink = append$1(sourceAndCodeElement, $$2('a.code-link'));
|
|
132651
132651
|
codeLink.setAttribute('href', code.target.toString());
|
|
132652
132652
|
disposables.add(addDisposableListener(codeLink, 'click', (e) => {
|
|
132653
132653
|
this._openerService.open(code.target, { allowCommands: true });
|
|
132654
132654
|
e.preventDefault();
|
|
132655
132655
|
e.stopPropagation();
|
|
132656
132656
|
}));
|
|
132657
|
-
const codeElement = append$1(codeLink, $$
|
|
132657
|
+
const codeElement = append$1(codeLink, $$2('span'));
|
|
132658
132658
|
codeElement.innerText = code.value;
|
|
132659
132659
|
const detailsElement = append$1(markerElement, sourceAndCodeElement);
|
|
132660
132660
|
detailsElement.style.opacity = '0.6';
|
|
132661
132661
|
detailsElement.style.paddingLeft = '6px';
|
|
132662
132662
|
}
|
|
132663
132663
|
else {
|
|
132664
|
-
const detailsElement = append$1(markerElement, $$
|
|
132664
|
+
const detailsElement = append$1(markerElement, $$2('span'));
|
|
132665
132665
|
detailsElement.style.opacity = '0.6';
|
|
132666
132666
|
detailsElement.style.paddingLeft = '6px';
|
|
132667
132667
|
detailsElement.innerText = source && code ? `${source}(${code})` : source ? source : `(${code})`;
|
|
@@ -132669,9 +132669,9 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
132669
132669
|
}
|
|
132670
132670
|
if (isNonEmptyArray(relatedInformation)) {
|
|
132671
132671
|
for (const { message, resource, startLineNumber, startColumn } of relatedInformation) {
|
|
132672
|
-
const relatedInfoContainer = append$1(markerElement, $$
|
|
132672
|
+
const relatedInfoContainer = append$1(markerElement, $$2('div'));
|
|
132673
132673
|
relatedInfoContainer.style.marginTop = '8px';
|
|
132674
|
-
const a = append$1(relatedInfoContainer, $$
|
|
132674
|
+
const a = append$1(relatedInfoContainer, $$2('a'));
|
|
132675
132675
|
a.innerText = `${basename(resource)}(${startLineNumber}, ${startColumn}): `;
|
|
132676
132676
|
a.style.cursor = 'pointer';
|
|
132677
132677
|
disposables.add(addDisposableListener(a, 'click', (e) => {
|
|
@@ -132684,7 +132684,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
132684
132684
|
}).catch(onUnexpectedError);
|
|
132685
132685
|
}
|
|
132686
132686
|
}));
|
|
132687
|
-
const messageElement = append$1(relatedInfoContainer, $$
|
|
132687
|
+
const messageElement = append$1(relatedInfoContainer, $$2('span'));
|
|
132688
132688
|
messageElement.innerText = message;
|
|
132689
132689
|
this._editor.applyFontInfo(messageElement);
|
|
132690
132690
|
}
|
|
@@ -132705,7 +132705,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
132705
132705
|
});
|
|
132706
132706
|
}
|
|
132707
132707
|
if (!this._editor.getOption(90 /* EditorOption.readOnly */)) {
|
|
132708
|
-
const quickfixPlaceholderElement = context.statusBar.append($$
|
|
132708
|
+
const quickfixPlaceholderElement = context.statusBar.append($$2('div'));
|
|
132709
132709
|
if (this.recentMarkerCodeActionsInfo) {
|
|
132710
132710
|
if (IMarkerData.makeKey(this.recentMarkerCodeActionsInfo.marker) === IMarkerData.makeKey(markerHover.marker)) {
|
|
132711
132711
|
if (!this.recentMarkerCodeActionsInfo.hasCodeActions) {
|
|
@@ -135793,10 +135793,10 @@ class InlineProgressWidget extends Disposable {
|
|
|
135793
135793
|
this.editor.layoutContentWidget(this);
|
|
135794
135794
|
}
|
|
135795
135795
|
create(title) {
|
|
135796
|
-
this.domNode = $$
|
|
135796
|
+
this.domNode = $$e('.inline-progress-widget');
|
|
135797
135797
|
this.domNode.role = 'button';
|
|
135798
135798
|
this.domNode.title = title;
|
|
135799
|
-
const iconElement = $$
|
|
135799
|
+
const iconElement = $$e('span.icon');
|
|
135800
135800
|
this.domNode.append(iconElement);
|
|
135801
135801
|
iconElement.classList.add(...ThemeIcon.asClassNameArray(Codicon.loading), 'codicon-modifier-spin');
|
|
135802
135802
|
const updateSize = () => {
|
|
@@ -135928,7 +135928,7 @@ let PostEditWidget = PostEditWidget_1 = class PostEditWidget extends Disposable
|
|
|
135928
135928
|
this.button.element.title = this.showCommand.label + (binding ? ` (${binding})` : '');
|
|
135929
135929
|
}
|
|
135930
135930
|
create() {
|
|
135931
|
-
this.domNode = $$
|
|
135931
|
+
this.domNode = $$e('.post-edit-widget');
|
|
135932
135932
|
this.button = this._register(new Button(this.domNode, {
|
|
135933
135933
|
supportIcons: true,
|
|
135934
135934
|
}));
|
|
@@ -149597,7 +149597,7 @@ let SuggestWidgetStatus = class SuggestWidgetStatus {
|
|
|
149597
149597
|
this._menuService = _menuService;
|
|
149598
149598
|
this._contextKeyService = _contextKeyService;
|
|
149599
149599
|
this._menuDisposables = new DisposableStore();
|
|
149600
|
-
this.element = append$1(container, $$
|
|
149600
|
+
this.element = append$1(container, $$e('.suggest-status-bar'));
|
|
149601
149601
|
const actionViewItemProvider = (action => {
|
|
149602
149602
|
return action instanceof MenuItemAction ? instantiationService.createInstance(StatusBarViewItem, action, undefined) : undefined;
|
|
149603
149603
|
});
|
|
@@ -149670,20 +149670,20 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
|
|
|
149670
149670
|
this._renderDisposeable = new DisposableStore();
|
|
149671
149671
|
this._borderWidth = 1;
|
|
149672
149672
|
this._size = new Dimension(330, 0);
|
|
149673
|
-
this.domNode = $$
|
|
149673
|
+
this.domNode = $$e('.suggest-details');
|
|
149674
149674
|
this.domNode.classList.add('no-docs');
|
|
149675
149675
|
this._markdownRenderer = instaService.createInstance(MarkdownRenderer, { editor: _editor });
|
|
149676
|
-
this._body = $$
|
|
149676
|
+
this._body = $$e('.body');
|
|
149677
149677
|
this._scrollbar = new DomScrollableElement(this._body, {
|
|
149678
149678
|
alwaysConsumeMouseWheel: true,
|
|
149679
149679
|
});
|
|
149680
149680
|
append$1(this.domNode, this._scrollbar.getDomNode());
|
|
149681
149681
|
this._disposables.add(this._scrollbar);
|
|
149682
|
-
this._header = append$1(this._body, $$
|
|
149683
|
-
this._close = append$1(this._header, $$
|
|
149682
|
+
this._header = append$1(this._body, $$e('.header'));
|
|
149683
|
+
this._close = append$1(this._header, $$e('span' + ThemeIcon.asCSSSelector(Codicon.close)));
|
|
149684
149684
|
this._close.title = localize('details.close', "Close");
|
|
149685
|
-
this._type = append$1(this._header, $$
|
|
149686
|
-
this._docs = append$1(this._body, $$
|
|
149685
|
+
this._type = append$1(this._header, $$e('p.type'));
|
|
149686
|
+
this._docs = append$1(this._body, $$e('p.docs'));
|
|
149687
149687
|
this._configureFont();
|
|
149688
149688
|
this._disposables.add(this._editor.onDidChangeConfiguration(e => {
|
|
149689
149689
|
if (e.hasChanged(50 /* EditorOption.fontInfo */)) {
|
|
@@ -150171,19 +150171,19 @@ let ItemRenderer = class ItemRenderer {
|
|
|
150171
150171
|
const disposables = new DisposableStore();
|
|
150172
150172
|
const root = container;
|
|
150173
150173
|
root.classList.add('show-file-icons');
|
|
150174
|
-
const icon = append$1(container, $$
|
|
150175
|
-
const colorspan = append$1(icon, $$
|
|
150176
|
-
const text = append$1(container, $$
|
|
150177
|
-
const main = append$1(text, $$
|
|
150178
|
-
const iconContainer = append$1(main, $$
|
|
150179
|
-
const left = append$1(main, $$
|
|
150180
|
-
const right = append$1(main, $$
|
|
150174
|
+
const icon = append$1(container, $$e('.icon'));
|
|
150175
|
+
const colorspan = append$1(icon, $$e('span.colorspan'));
|
|
150176
|
+
const text = append$1(container, $$e('.contents'));
|
|
150177
|
+
const main = append$1(text, $$e('.main'));
|
|
150178
|
+
const iconContainer = append$1(main, $$e('.icon-label.codicon'));
|
|
150179
|
+
const left = append$1(main, $$e('span.left'));
|
|
150180
|
+
const right = append$1(main, $$e('span.right'));
|
|
150181
150181
|
const iconLabel = new IconLabel(left, { supportHighlights: true, supportIcons: true });
|
|
150182
150182
|
disposables.add(iconLabel);
|
|
150183
|
-
const parametersLabel = append$1(left, $$
|
|
150184
|
-
const qualifierLabel = append$1(left, $$
|
|
150185
|
-
const detailsLabel = append$1(right, $$
|
|
150186
|
-
const readMore = append$1(right, $$
|
|
150183
|
+
const parametersLabel = append$1(left, $$e('span.signature-label'));
|
|
150184
|
+
const qualifierLabel = append$1(left, $$e('span.qualifier-label'));
|
|
150185
|
+
const detailsLabel = append$1(right, $$e('span.details-label'));
|
|
150186
|
+
const readMore = append$1(right, $$e('span.readMore' + ThemeIcon.asCSSSelector(suggestMoreInfoIcon)));
|
|
150187
150187
|
readMore.title = localize('readMore', "Read More");
|
|
150188
150188
|
const configureFont = () => {
|
|
150189
150189
|
const options = this._editor.getOptions();
|
|
@@ -150428,8 +150428,8 @@ let SuggestWidget = SuggestWidget_1 = class SuggestWidget {
|
|
|
150428
150428
|
this._contentWidget.unlockPreference();
|
|
150429
150429
|
state = undefined;
|
|
150430
150430
|
}));
|
|
150431
|
-
this._messageElement = append$1(this.element.domNode, $$
|
|
150432
|
-
this._listElement = append$1(this.element.domNode, $$
|
|
150431
|
+
this._messageElement = append$1(this.element.domNode, $$e('.message'));
|
|
150432
|
+
this._listElement = append$1(this.element.domNode, $$e('.tree'));
|
|
150433
150433
|
const details = this._disposables.add(instantiationService.createInstance(SuggestDetailsWidget, this.editor));
|
|
150434
150434
|
details.onDidClose(this.toggleDetails, this, this._disposables);
|
|
150435
150435
|
this._details = new SuggestDetailsOverlay(details, this.editor);
|
|
@@ -152669,7 +152669,7 @@ let InlineCompletionsHoverParticipant = class InlineCompletionsHoverParticipant
|
|
|
152669
152669
|
return disposableStore;
|
|
152670
152670
|
}
|
|
152671
152671
|
renderScreenReaderText(context, part, disposableStore) {
|
|
152672
|
-
const $ = $$
|
|
152672
|
+
const $ = $$e;
|
|
152673
152673
|
const markdownHoverElement = $('div.hover-row.markdown-hover');
|
|
152674
152674
|
const hoverContentsElement = append$1(markdownHoverElement, $('div.hover-contents', { ['aria-live']: 'assertive' }));
|
|
152675
152675
|
const renderer = disposableStore.add(new MarkdownRenderer({ editor: this._editor }, this._languageService, this._openerService));
|
|
@@ -158341,7 +158341,7 @@ var __param$n = (undefined && undefined.__param) || function (paramIndex, decora
|
|
|
158341
158341
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
158342
158342
|
};
|
|
158343
158343
|
var ParameterHintsWidget_1;
|
|
158344
|
-
const
|
|
158344
|
+
const $$1 = $$e;
|
|
158345
158345
|
const parameterHintsNextIcon = registerIcon('parameter-hints-next', Codicon.chevronDown, localize('parameterHintsNextIcon', 'Icon for show next parameter hint.'));
|
|
158346
158346
|
const parameterHintsPreviousIcon = registerIcon('parameter-hints-previous', Codicon.chevronUp, localize('parameterHintsPreviousIcon', 'Icon for show previous parameter hint.'));
|
|
158347
158347
|
let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget extends Disposable {
|
|
@@ -158359,13 +158359,13 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
|
|
|
158359
158359
|
this.keyMultipleSignatures = Context.MultipleSignatures.bindTo(contextKeyService);
|
|
158360
158360
|
}
|
|
158361
158361
|
createParameterHintDOMNodes() {
|
|
158362
|
-
const element =
|
|
158363
|
-
const wrapper = append$1(element,
|
|
158362
|
+
const element = $$1('.editor-widget.parameter-hints-widget');
|
|
158363
|
+
const wrapper = append$1(element, $$1('.phwrapper'));
|
|
158364
158364
|
wrapper.tabIndex = -1;
|
|
158365
|
-
const controls = append$1(wrapper,
|
|
158366
|
-
const previous = append$1(controls,
|
|
158367
|
-
const overloads = append$1(controls,
|
|
158368
|
-
const next = append$1(controls,
|
|
158365
|
+
const controls = append$1(wrapper, $$1('.controls'));
|
|
158366
|
+
const previous = append$1(controls, $$1('.button' + ThemeIcon.asCSSSelector(parameterHintsPreviousIcon)));
|
|
158367
|
+
const overloads = append$1(controls, $$1('.overloads'));
|
|
158368
|
+
const next = append$1(controls, $$1('.button' + ThemeIcon.asCSSSelector(parameterHintsNextIcon)));
|
|
158369
158369
|
this._register(addDisposableListener(previous, 'click', e => {
|
|
158370
158370
|
EventHelper.stop(e);
|
|
158371
158371
|
this.previous();
|
|
@@ -158374,14 +158374,14 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
|
|
|
158374
158374
|
EventHelper.stop(e);
|
|
158375
158375
|
this.next();
|
|
158376
158376
|
}));
|
|
158377
|
-
const body =
|
|
158377
|
+
const body = $$1('.body');
|
|
158378
158378
|
const scrollbar = new DomScrollableElement(body, {
|
|
158379
158379
|
alwaysConsumeMouseWheel: true,
|
|
158380
158380
|
});
|
|
158381
158381
|
this._register(scrollbar);
|
|
158382
158382
|
wrapper.appendChild(scrollbar.getDomNode());
|
|
158383
|
-
const signature = append$1(body,
|
|
158384
|
-
const docs = append$1(body,
|
|
158383
|
+
const signature = append$1(body, $$1('.signature'));
|
|
158384
|
+
const docs = append$1(body, $$1('.docs'));
|
|
158385
158385
|
element.style.userSelect = 'text';
|
|
158386
158386
|
this.domNodes = {
|
|
158387
158387
|
element,
|
|
@@ -158461,14 +158461,14 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
|
|
|
158461
158461
|
if (!signature) {
|
|
158462
158462
|
return;
|
|
158463
158463
|
}
|
|
158464
|
-
const code = append$1(this.domNodes.signature,
|
|
158464
|
+
const code = append$1(this.domNodes.signature, $$1('.code'));
|
|
158465
158465
|
const fontInfo = this.editor.getOption(50 /* EditorOption.fontInfo */);
|
|
158466
158466
|
code.style.fontSize = `${fontInfo.fontSize}px`;
|
|
158467
158467
|
code.style.fontFamily = fontInfo.fontFamily;
|
|
158468
158468
|
const hasParameters = signature.parameters.length > 0;
|
|
158469
158469
|
const activeParameterIndex = (_a = signature.activeParameter) !== null && _a !== void 0 ? _a : hints.activeParameter;
|
|
158470
158470
|
if (!hasParameters) {
|
|
158471
|
-
const label = append$1(code,
|
|
158471
|
+
const label = append$1(code, $$1('span'));
|
|
158472
158472
|
label.textContent = signature.label;
|
|
158473
158473
|
}
|
|
158474
158474
|
else {
|
|
@@ -158476,7 +158476,7 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
|
|
|
158476
158476
|
}
|
|
158477
158477
|
const activeParameter = signature.parameters[activeParameterIndex];
|
|
158478
158478
|
if (activeParameter === null || activeParameter === void 0 ? void 0 : activeParameter.documentation) {
|
|
158479
|
-
const documentation =
|
|
158479
|
+
const documentation = $$1('span.documentation');
|
|
158480
158480
|
if (typeof activeParameter.documentation === 'string') {
|
|
158481
158481
|
documentation.textContent = activeParameter.documentation;
|
|
158482
158482
|
}
|
|
@@ -158484,11 +158484,11 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
|
|
|
158484
158484
|
const renderedContents = this.renderMarkdownDocs(activeParameter.documentation);
|
|
158485
158485
|
documentation.appendChild(renderedContents.element);
|
|
158486
158486
|
}
|
|
158487
|
-
append$1(this.domNodes.docs,
|
|
158487
|
+
append$1(this.domNodes.docs, $$1('p', {}, documentation));
|
|
158488
158488
|
}
|
|
158489
158489
|
if (signature.documentation === undefined) ;
|
|
158490
158490
|
else if (typeof signature.documentation === 'string') {
|
|
158491
|
-
append$1(this.domNodes.docs,
|
|
158491
|
+
append$1(this.domNodes.docs, $$1('p', {}, signature.documentation));
|
|
158492
158492
|
}
|
|
158493
158493
|
else {
|
|
158494
158494
|
const renderedContents = this.renderMarkdownDocs(signature.documentation);
|
|
@@ -162171,7 +162171,7 @@ let Link = class Link extends Disposable {
|
|
|
162171
162171
|
super();
|
|
162172
162172
|
this._link = _link;
|
|
162173
162173
|
this._enabled = true;
|
|
162174
|
-
this.el = append$1(container, $$
|
|
162174
|
+
this.el = append$1(container, $$e('a.monaco-link', {
|
|
162175
162175
|
tabIndex: (_a = _link.tabIndex) !== null && _a !== void 0 ? _a : 0,
|
|
162176
162176
|
href: _link.href,
|
|
162177
162177
|
title: _link.title
|
|
@@ -162245,7 +162245,7 @@ let Banner = class Banner extends Disposable {
|
|
|
162245
162245
|
super();
|
|
162246
162246
|
this.instantiationService = instantiationService;
|
|
162247
162247
|
this.markdownRenderer = this.instantiationService.createInstance(MarkdownRenderer, {});
|
|
162248
|
-
this.element = $$
|
|
162248
|
+
this.element = $$e('div.editor-banner');
|
|
162249
162249
|
this.element.tabIndex = 0;
|
|
162250
162250
|
}
|
|
162251
162251
|
getAriaLabel(item) {
|
|
@@ -162259,7 +162259,7 @@ let Banner = class Banner extends Disposable {
|
|
|
162259
162259
|
}
|
|
162260
162260
|
getBannerMessage(message) {
|
|
162261
162261
|
if (typeof message === 'string') {
|
|
162262
|
-
const element = $$
|
|
162262
|
+
const element = $$e('span');
|
|
162263
162263
|
element.innerText = message;
|
|
162264
162264
|
return element;
|
|
162265
162265
|
}
|
|
@@ -162277,24 +162277,24 @@ let Banner = class Banner extends Disposable {
|
|
|
162277
162277
|
this.element.setAttribute('aria-label', ariaLabel);
|
|
162278
162278
|
}
|
|
162279
162279
|
// Icon
|
|
162280
|
-
const iconContainer = append$1(this.element, $$
|
|
162280
|
+
const iconContainer = append$1(this.element, $$e('div.icon-container'));
|
|
162281
162281
|
iconContainer.setAttribute('aria-hidden', 'true');
|
|
162282
162282
|
if (item.icon) {
|
|
162283
|
-
iconContainer.appendChild($$
|
|
162283
|
+
iconContainer.appendChild($$e(`div${ThemeIcon.asCSSSelector(item.icon)}`));
|
|
162284
162284
|
}
|
|
162285
162285
|
// Message
|
|
162286
|
-
const messageContainer = append$1(this.element, $$
|
|
162286
|
+
const messageContainer = append$1(this.element, $$e('div.message-container'));
|
|
162287
162287
|
messageContainer.setAttribute('aria-hidden', 'true');
|
|
162288
162288
|
messageContainer.appendChild(this.getBannerMessage(item.message));
|
|
162289
162289
|
// Message Actions
|
|
162290
|
-
this.messageActionsContainer = append$1(this.element, $$
|
|
162290
|
+
this.messageActionsContainer = append$1(this.element, $$e('div.message-actions-container'));
|
|
162291
162291
|
if (item.actions) {
|
|
162292
162292
|
for (const action of item.actions) {
|
|
162293
162293
|
this._register(this.instantiationService.createInstance(Link, this.messageActionsContainer, { ...action, tabIndex: -1 }, {}));
|
|
162294
162294
|
}
|
|
162295
162295
|
}
|
|
162296
162296
|
// Action
|
|
162297
|
-
const actionBarContainer = append$1(this.element, $$
|
|
162297
|
+
const actionBarContainer = append$1(this.element, $$e('div.action-container'));
|
|
162298
162298
|
this.actionBar = this._register(new ActionBar(actionBarContainer));
|
|
162299
162299
|
this.actionBar.push(this._register(new Action('banner.close', 'Close Banner', ThemeIcon.asClassName(widgetClose), true, () => {
|
|
162300
162300
|
if (typeof item.onClose === 'function') {
|
|
@@ -164607,13 +164607,13 @@ class InspectTokensWidget extends Disposable {
|
|
|
164607
164607
|
const tokenEndIndex = token1Index + 1 < data.tokens1.length ? data.tokens1[token1Index + 1].offset : lineContent.length;
|
|
164608
164608
|
tokenText = lineContent.substring(tokenStartIndex, tokenEndIndex);
|
|
164609
164609
|
}
|
|
164610
|
-
reset(this._domNode, $$
|
|
164611
|
-
append$1(this._domNode, $$
|
|
164610
|
+
reset(this._domNode, $$e('h2.tm-token', undefined, renderTokenText(tokenText), $$e('span.tm-token-length', undefined, `${tokenText.length} ${tokenText.length === 1 ? 'char' : 'chars'}`)));
|
|
164611
|
+
append$1(this._domNode, $$e('hr.tokens-inspect-separator', { 'style': 'clear:both' }));
|
|
164612
164612
|
const metadata = (token2Index << 1) + 1 < data.tokens2.length ? this._decodeMetadata(data.tokens2[(token2Index << 1) + 1]) : null;
|
|
164613
|
-
append$1(this._domNode, $$
|
|
164614
|
-
append$1(this._domNode, $$
|
|
164613
|
+
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) : '-?-'}`)))));
|
|
164614
|
+
append$1(this._domNode, $$e('hr.tokens-inspect-separator'));
|
|
164615
164615
|
if (token1Index < data.tokens1.length) {
|
|
164616
|
-
append$1(this._domNode, $$
|
|
164616
|
+
append$1(this._domNode, $$e('span.tm-token-type', undefined, data.tokens1[token1Index].type));
|
|
164617
164617
|
}
|
|
164618
164618
|
this._editor.layoutContentWidget(this);
|
|
164619
164619
|
}
|
|
@@ -169046,7 +169046,7 @@ function isPredefinedProfile(item) {
|
|
|
169046
169046
|
!Array.isArray(item.definitions));
|
|
169047
169047
|
}
|
|
169048
169048
|
|
|
169049
|
-
var
|
|
169049
|
+
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}}
|
|
169050
169050
|
|
|
169051
169051
|
/**
|
|
169052
169052
|
* Filters a collection of items by the given keys and filter word.
|
|
@@ -169059,7 +169059,7 @@ function filterCollection(collection, keys, filterWord, beforeFilteringFn) {
|
|
|
169059
169059
|
if (!_keys.length) {
|
|
169060
169060
|
return [];
|
|
169061
169061
|
}
|
|
169062
|
-
const filterExpression =
|
|
169062
|
+
const filterExpression = Q(filterWord);
|
|
169063
169063
|
return collection.filter((item) => {
|
|
169064
169064
|
if (beforeFilteringFn) {
|
|
169065
169065
|
const res = beforeFilteringFn(item);
|
|
@@ -169514,9 +169514,9 @@ class ProfileItemBase {
|
|
|
169514
169514
|
// If the component is under RTL, the string is messed up.
|
|
169515
169515
|
// It is converted from $feature to feature$, This is not acceptable since the label
|
|
169516
169516
|
// represents a variable name. We are adding in front of the $ sign a right to left mark.
|
|
169517
|
-
return
|
|
169517
|
+
return G(this._label);
|
|
169518
169518
|
}
|
|
169519
|
-
return
|
|
169519
|
+
return D(this._profile?.intlStrings[this._label.code], this._label.formatValues);
|
|
169520
169520
|
}
|
|
169521
169521
|
/**
|
|
169522
169522
|
* Returns the description string.
|
|
@@ -169528,7 +169528,7 @@ class ProfileItemBase {
|
|
|
169528
169528
|
if (typeof this.description === "string") {
|
|
169529
169529
|
return this.description;
|
|
169530
169530
|
}
|
|
169531
|
-
return
|
|
169531
|
+
return D(this._profile?.intlStrings[this.description.code ?? ""], this.description.formatValues);
|
|
169532
169532
|
}
|
|
169533
169533
|
/**
|
|
169534
169534
|
* Returns true if the item pass the filter test
|
|
@@ -169762,7 +169762,7 @@ class SourceBasedVariable extends CollectionBasedVariable {
|
|
|
169762
169762
|
return this._profile?.intlStrings.layer ?? "layer";
|
|
169763
169763
|
}
|
|
169764
169764
|
async loadSource() {
|
|
169765
|
-
if (
|
|
169765
|
+
if (V(this._loadPromise) && X(this._loadPromise)) {
|
|
169766
169766
|
return await this._loadPromise;
|
|
169767
169767
|
}
|
|
169768
169768
|
this._loadPromise = this._loadSource();
|
|
@@ -169879,7 +169879,7 @@ class SourceBasedVariable extends CollectionBasedVariable {
|
|
|
169879
169879
|
nonInteractive: true
|
|
169880
169880
|
}, [new ValueVariable({ profile: this._profile, label: snippet, description: "", snippet })], { exposeRelationships: true, sourceTableId: source.layerId });
|
|
169881
169881
|
}));
|
|
169882
|
-
relationshipsGroup.variables = relationshipItems.filter(
|
|
169882
|
+
relationshipsGroup.variables = relationshipItems.filter(V);
|
|
169883
169883
|
if (!relationshipsGroup.variables.length) {
|
|
169884
169884
|
return null;
|
|
169885
169885
|
}
|
|
@@ -170037,7 +170037,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
|
|
|
170037
170037
|
return this._profile?.intlStrings.featureservice ?? "featureservice";
|
|
170038
170038
|
}
|
|
170039
170039
|
async loadSource() {
|
|
170040
|
-
if (
|
|
170040
|
+
if (V(this._loadPromise) && X(this._loadPromise)) {
|
|
170041
170041
|
return await this._loadPromise;
|
|
170042
170042
|
}
|
|
170043
170043
|
this._loadPromise = this._loadSource();
|
|
@@ -170273,7 +170273,7 @@ async function getSdkPredefinedProfiles(locale = "en") {
|
|
|
170273
170273
|
if (profiles) {
|
|
170274
170274
|
return profiles;
|
|
170275
170275
|
}
|
|
170276
|
-
if (!
|
|
170276
|
+
if (!E.has(locale)) {
|
|
170277
170277
|
return await getSdkPredefinedProfiles("en");
|
|
170278
170278
|
}
|
|
170279
170279
|
try {
|
|
@@ -170529,22 +170529,21 @@ const arcade = {
|
|
|
170529
170529
|
setProfileForModel: arcadeDefaults.setProfileForModel.bind(arcadeDefaults)
|
|
170530
170530
|
};
|
|
170531
170531
|
|
|
170532
|
+
exports.$ = $;
|
|
170532
170533
|
exports.B = B;
|
|
170534
|
+
exports.D = D;
|
|
170533
170535
|
exports.Emitter = Emitter;
|
|
170534
170536
|
exports.F = F;
|
|
170535
|
-
exports.
|
|
170537
|
+
exports.G = G;
|
|
170536
170538
|
exports.IStandaloneThemeService = IStandaloneThemeService;
|
|
170537
170539
|
exports.KeyCode = KeyCode;
|
|
170538
170540
|
exports.KeyMod = KeyMod;
|
|
170539
170541
|
exports.MarkerSeverity = MarkerSeverity;
|
|
170540
|
-
exports.
|
|
170541
|
-
exports.P = P;
|
|
170542
|
+
exports.Q = Q;
|
|
170542
170543
|
exports.Range = Range;
|
|
170543
170544
|
exports.T = T;
|
|
170544
|
-
exports.U = U;
|
|
170545
170545
|
exports.Uri = Uri;
|
|
170546
|
-
exports.
|
|
170547
|
-
exports.X = X;
|
|
170546
|
+
exports.W = W;
|
|
170548
170547
|
exports.arcade = arcade;
|
|
170549
170548
|
exports.arcadeDefaults = arcadeDefaults;
|
|
170550
170549
|
exports.commonjsGlobal = commonjsGlobal;
|
|
@@ -170552,14 +170551,15 @@ exports.createCommonjsModule = createCommonjsModule;
|
|
|
170552
170551
|
exports.editor = editor;
|
|
170553
170552
|
exports.filterCollection = filterCollection;
|
|
170554
170553
|
exports.generateTokensCSSForColorMap = generateTokensCSSForColorMap;
|
|
170554
|
+
exports.h = h;
|
|
170555
170555
|
exports.importArcade = importArcade;
|
|
170556
170556
|
exports.importRequest = importRequest;
|
|
170557
|
-
exports.
|
|
170557
|
+
exports.j = j;
|
|
170558
170558
|
exports.languages = languages;
|
|
170559
170559
|
exports.main = main;
|
|
170560
170560
|
exports.monaco_editor_core_star = monaco_editor_core_star;
|
|
170561
|
-
exports.
|
|
170561
|
+
exports.ne = ne;
|
|
170562
170562
|
exports.q = q;
|
|
170563
170563
|
exports.supportedFields = supportedFields;
|
|
170564
|
+
exports.te = te;
|
|
170564
170565
|
exports.typescriptDefaults = typescriptDefaults;
|
|
170565
|
-
exports.z = z;
|