@esri/solutions-components 0.10.44 → 0.10.46
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +5 -5
- package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/{calcite-alert_5.cjs.entry.js → calcite-alert_6.cjs.entry.js} +136 -0
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +6 -6
- package/dist/cjs/{calcite-shell_3.cjs.entry.js → calcite-shell.cjs.entry.js} +0 -256
- package/dist/cjs/card-manager_3.cjs.entry.js +13 -7
- package/dist/cjs/crowdsource-manager.cjs.entry.js +25 -4
- package/dist/cjs/delete-dialog.cjs.entry.js +131 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +19 -19
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +2 -2
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
- package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +31 -3
- package/dist/collection/components/layer-table/layer-table.js +32 -7
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +54 -20
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +2 -2
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/utils/interfaces.ts +4 -0
- package/dist/components/crowdsource-manager.js +27 -5
- package/dist/components/layer-table2.js +84 -91
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +19 -19
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +2 -2
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/solution-configuration.js +3 -3
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-accordion.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +5 -5
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/{calcite-alert_5.entry.js → calcite-alert_6.entry.js} +136 -1
- package/dist/esm/calcite-combobox_3.entry.js +1 -1
- package/dist/esm/calcite-shell-panel_14.entry.js +6 -6
- package/dist/esm/{calcite-shell_3.entry.js → calcite-shell.entry.js} +2 -256
- package/dist/esm/card-manager_3.entry.js +13 -7
- package/dist/esm/crowdsource-manager.entry.js +25 -4
- package/dist/esm/delete-dialog.entry.js +127 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +19 -19
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/public-notification.entry.js +2 -2
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/solution-configuration.entry.js +3 -3
- package/dist/esm/solution-contents_3.entry.js +3 -3
- package/dist/esm/solution-item-accordion.entry.js +1 -1
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/solutions-components/{p-ce53e33d.entry.js → p-11c2426d.entry.js} +2 -2
- package/dist/solutions-components/p-1336a071.entry.js +6 -0
- package/dist/solutions-components/{p-5001cc41.entry.js → p-274aa753.entry.js} +1 -1
- package/dist/solutions-components/{p-e1e21798.entry.js → p-36b864ba.entry.js} +1 -1
- package/dist/solutions-components/p-41503b16.entry.js +6 -0
- package/dist/solutions-components/{p-561c0e02.entry.js → p-44dc3dec.entry.js} +1 -1
- package/dist/solutions-components/{p-471d5c7f.entry.js → p-45ab1117.entry.js} +2 -2
- package/dist/solutions-components/p-49ed272d.entry.js +11 -0
- package/dist/solutions-components/{p-b7fbaeb7.entry.js → p-6b5b52c1.entry.js} +1 -1
- package/dist/solutions-components/{p-62d8796c.entry.js → p-7475b8b4.entry.js} +2 -2
- package/dist/solutions-components/{p-80e81af7.entry.js → p-7bcfe068.entry.js} +1 -1
- package/dist/solutions-components/{p-41314f33.entry.js → p-96027923.entry.js} +1 -1
- package/dist/solutions-components/p-9c25ee2c.entry.js +6 -0
- package/dist/solutions-components/{p-8d4a4498.entry.js → p-b6d50640.entry.js} +1 -1
- package/dist/solutions-components/p-b8d1b57a.entry.js +6 -0
- package/dist/solutions-components/p-b95968fa.entry.js +6 -0
- package/dist/solutions-components/p-d2f8d8a8.entry.js +6 -0
- package/dist/solutions-components/{p-d51c07d2.entry.js → p-f57978f3.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +4 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +19 -0
- package/dist/types/components/layer-table/layer-table.d.ts +5 -5
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +8 -8
- package/dist/types/components.d.ts +23 -2
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/utils/interfaces.d.ts +3 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-0a2e5861.entry.js +0 -6
- package/dist/solutions-components/p-56beff4c.entry.js +0 -6
- package/dist/solutions-components/p-8b92fe23.entry.js +0 -6
- package/dist/solutions-components/p-8e2f4995.entry.js +0 -6
- package/dist/solutions-components/p-d7afbe8d.entry.js +0 -11
- package/dist/solutions-components/p-f0509d41.entry.js +0 -6
@@ -9,44 +9,42 @@ import { g as getLocaleComponentStrings } from './locale.js';
|
|
9
9
|
import { b as goToSelection, c as getFeatureLayerView, g as getLayerOrTable } from './mapViewUtils.js';
|
10
10
|
import { b as queryAllIds, c as queryAllOidsWithQueryFeatures, d as queryFeaturesByGlobalID } from './queryUtils.js';
|
11
11
|
import { d as downloadCSV } from './downloadUtils.js';
|
12
|
-
import { d as defineCustomElement$
|
13
|
-
import { d as defineCustomElement$
|
14
|
-
import { d as defineCustomElement$
|
15
|
-
import { d as defineCustomElement$
|
16
|
-
import { d as defineCustomElement$
|
17
|
-
import { d as defineCustomElement$
|
18
|
-
import { d as defineCustomElement$
|
19
|
-
import { d as defineCustomElement$
|
20
|
-
import { d as defineCustomElement$
|
21
|
-
import { d as defineCustomElement$
|
22
|
-
import { d as defineCustomElement$
|
23
|
-
import { d as defineCustomElement$
|
24
|
-
import { d as defineCustomElement$
|
25
|
-
import { d as defineCustomElement$
|
26
|
-
import { d as defineCustomElement$
|
27
|
-
import { d as defineCustomElement$
|
28
|
-
import { d as defineCustomElement$
|
29
|
-
import { d as defineCustomElement$
|
30
|
-
import { d as defineCustomElement$
|
31
|
-
import { d as defineCustomElement$
|
32
|
-
import { d as defineCustomElement$
|
33
|
-
import { d as defineCustomElement$
|
34
|
-
import { d as defineCustomElement$
|
35
|
-
import { d as defineCustomElement$
|
36
|
-
import { d as defineCustomElement$
|
37
|
-
import { d as defineCustomElement$
|
38
|
-
import { d as defineCustomElement$
|
39
|
-
import { d as defineCustomElement$
|
40
|
-
import { d as defineCustomElement$
|
41
|
-
import { d as defineCustomElement$
|
42
|
-
import { d as defineCustomElement$
|
43
|
-
import { d as defineCustomElement$
|
44
|
-
import { d as defineCustomElement$
|
45
|
-
import { d as defineCustomElement$
|
46
|
-
import { d as defineCustomElement$
|
47
|
-
import { d as defineCustomElement$
|
48
|
-
import { d as defineCustomElement$5 } from './delete-button2.js';
|
49
|
-
import { d as defineCustomElement$4 } from './delete-dialog2.js';
|
12
|
+
import { d as defineCustomElement$D } from './action.js';
|
13
|
+
import { d as defineCustomElement$C } from './action-bar.js';
|
14
|
+
import { d as defineCustomElement$B } from './action-group.js';
|
15
|
+
import { d as defineCustomElement$A } from './action-menu.js';
|
16
|
+
import { d as defineCustomElement$z } from './block.js';
|
17
|
+
import { d as defineCustomElement$y } from './button.js';
|
18
|
+
import { d as defineCustomElement$x } from './checkbox.js';
|
19
|
+
import { d as defineCustomElement$w } from './chip.js';
|
20
|
+
import { d as defineCustomElement$v } from './combobox.js';
|
21
|
+
import { d as defineCustomElement$u } from './combobox-item.js';
|
22
|
+
import { d as defineCustomElement$t } from './date-picker.js';
|
23
|
+
import { d as defineCustomElement$s } from './date-picker-day.js';
|
24
|
+
import { d as defineCustomElement$r } from './date-picker-month.js';
|
25
|
+
import { d as defineCustomElement$q } from './date-picker-month-header.js';
|
26
|
+
import { d as defineCustomElement$p } from './dropdown.js';
|
27
|
+
import { d as defineCustomElement$o } from './dropdown-group.js';
|
28
|
+
import { d as defineCustomElement$n } from './dropdown-item.js';
|
29
|
+
import { d as defineCustomElement$m } from './graph.js';
|
30
|
+
import { d as defineCustomElement$l } from './handle.js';
|
31
|
+
import { d as defineCustomElement$k } from './icon.js';
|
32
|
+
import { d as defineCustomElement$j } from './input.js';
|
33
|
+
import { d as defineCustomElement$i } from './input-date-picker.js';
|
34
|
+
import { d as defineCustomElement$h } from './input-text.js';
|
35
|
+
import { d as defineCustomElement$g } from './label2.js';
|
36
|
+
import { d as defineCustomElement$f } from './loader.js';
|
37
|
+
import { d as defineCustomElement$e } from './modal.js';
|
38
|
+
import { d as defineCustomElement$d } from './notice.js';
|
39
|
+
import { d as defineCustomElement$c } from './option.js';
|
40
|
+
import { d as defineCustomElement$b } from './panel.js';
|
41
|
+
import { d as defineCustomElement$a } from './popover.js';
|
42
|
+
import { d as defineCustomElement$9 } from './progress.js';
|
43
|
+
import { d as defineCustomElement$8 } from './scrim.js';
|
44
|
+
import { d as defineCustomElement$7 } from './select.js';
|
45
|
+
import { d as defineCustomElement$6 } from './shell.js';
|
46
|
+
import { d as defineCustomElement$5 } from './slider.js';
|
47
|
+
import { d as defineCustomElement$4 } from './tooltip.js';
|
50
48
|
import { d as defineCustomElement$3 } from './instant-apps-filter-list2.js';
|
51
49
|
import { d as defineCustomElement$2 } from './instant-apps-social-share2.js';
|
52
50
|
import { d as defineCustomElement$1 } from './map-layer-picker2.js';
|
@@ -60,6 +58,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
60
58
|
this.__registerHost();
|
61
59
|
this.featureSelectionChange = createEvent(this, "featureSelectionChange", 7);
|
62
60
|
this.toggleFilter = createEvent(this, "toggleFilter", 7);
|
61
|
+
this.showDelete = createEvent(this, "showDelete", 7);
|
63
62
|
this.appLayout = undefined;
|
64
63
|
this.defaultGlobalId = undefined;
|
65
64
|
this.defaultLayerId = undefined;
|
@@ -90,7 +89,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
90
89
|
this._filterOpen = false;
|
91
90
|
this._layer = undefined;
|
92
91
|
this._selectAllActive = false;
|
93
|
-
this._deleteDialogOpen = false;
|
94
92
|
this._showHideOpen = false;
|
95
93
|
this._showOnlySelected = false;
|
96
94
|
this._toolInfos = undefined;
|
@@ -457,6 +455,10 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
457
455
|
* Emitted on demand when filter action is clicked
|
458
456
|
*/
|
459
457
|
toggleFilter;
|
458
|
+
/**
|
459
|
+
* Emitted on demand when when the delete dialog should be shown
|
460
|
+
*/
|
461
|
+
showDelete;
|
460
462
|
/**
|
461
463
|
* Scroll and zoom to the selected feature from the Features widget.
|
462
464
|
*
|
@@ -570,10 +572,10 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
570
572
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
571
573
|
const showSearch = this._canShowFullTextSearch();
|
572
574
|
this._validateActiveActions();
|
573
|
-
return (h(Host, { key: '
|
574
|
-
h("div", { key: '
|
575
|
+
return (h(Host, { key: 'ade26bd309af37b5b9f9bdc355f1cf6c575fa89a' }, h("calcite-shell", { key: '95668ae72cde1a3600e17a0d138ba8b810a4c525' }, this._getTableControlRow("header"), h("div", { key: '488eabfc4666c0d81aacbac523e7ba20288a4701', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '75d01c41afbb872f57472adc76045431163c0cab', class: "height-full width-full" }, showSearch &&
|
576
|
+
h("div", { key: 'b6062ca6e5702fc835777a6fe6ecec7a66926bc0', class: "search-container" }, h("calcite-input", { key: 'eade11ccb0d7b6d5aed838dbb6b2eaec4286d8c6', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), h("calcite-loader", { key: '889c97b23074f5be4b045199cf48632720d6c598', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '4ac0bfdaf07c38ff57008bade29b4b90b11f437d', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
575
577
|
.replace("{{total}}", total)
|
576
|
-
.replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal()
|
578
|
+
.replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal()));
|
577
579
|
}
|
578
580
|
_deleteDialog;
|
579
581
|
/**
|
@@ -1169,7 +1171,9 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1169
1171
|
*
|
1170
1172
|
*/
|
1171
1173
|
_showDelete() {
|
1172
|
-
this.
|
1174
|
+
this.showDelete.emit({
|
1175
|
+
ids: this._getIds()
|
1176
|
+
});
|
1173
1177
|
}
|
1174
1178
|
/**
|
1175
1179
|
* Get an action and tooltip for share
|
@@ -1247,7 +1251,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1247
1251
|
*/
|
1248
1252
|
_getDangerAction(icon, label, func, disabled) {
|
1249
1253
|
const _disabled = this._layer === undefined ? true : disabled;
|
1250
|
-
return (h("div", { class: "display-flex", id: this._getId(icon) },
|
1254
|
+
return (h("div", { class: "display-flex", id: this._getId(icon) }, (h("calcite-action", { appearance: "solid", compact: true, disabled: _disabled, id: icon, onClick: func, text: "" }, h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
|
1251
1255
|
}
|
1252
1256
|
/**
|
1253
1257
|
* Return all currently selected IDs from the table
|
@@ -2005,7 +2009,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
2005
2009
|
"_filterOpen": [32],
|
2006
2010
|
"_layer": [32],
|
2007
2011
|
"_selectAllActive": [32],
|
2008
|
-
"_deleteDialogOpen": [32],
|
2009
2012
|
"_showHideOpen": [32],
|
2010
2013
|
"_showOnlySelected": [32],
|
2011
2014
|
"_toolInfos": [32],
|
@@ -2037,7 +2040,7 @@ function defineCustomElement() {
|
|
2037
2040
|
if (typeof customElements === "undefined") {
|
2038
2041
|
return;
|
2039
2042
|
}
|
2040
|
-
const components = ["layer-table", "calcite-action", "calcite-action-bar", "calcite-action-group", "calcite-action-menu", "calcite-block", "calcite-button", "calcite-checkbox", "calcite-chip", "calcite-combobox", "calcite-combobox-item", "calcite-date-picker", "calcite-date-picker-day", "calcite-date-picker-month", "calcite-date-picker-month-header", "calcite-dropdown", "calcite-dropdown-group", "calcite-dropdown-item", "calcite-graph", "calcite-handle", "calcite-icon", "calcite-input", "calcite-input-date-picker", "calcite-input-text", "calcite-label", "calcite-loader", "calcite-modal", "calcite-notice", "calcite-option", "calcite-panel", "calcite-popover", "calcite-progress", "calcite-scrim", "calcite-select", "calcite-shell", "calcite-slider", "calcite-tooltip", "
|
2043
|
+
const components = ["layer-table", "calcite-action", "calcite-action-bar", "calcite-action-group", "calcite-action-menu", "calcite-block", "calcite-button", "calcite-checkbox", "calcite-chip", "calcite-combobox", "calcite-combobox-item", "calcite-date-picker", "calcite-date-picker-day", "calcite-date-picker-month", "calcite-date-picker-month-header", "calcite-dropdown", "calcite-dropdown-group", "calcite-dropdown-item", "calcite-graph", "calcite-handle", "calcite-icon", "calcite-input", "calcite-input-date-picker", "calcite-input-text", "calcite-label", "calcite-loader", "calcite-modal", "calcite-notice", "calcite-option", "calcite-panel", "calcite-popover", "calcite-progress", "calcite-scrim", "calcite-select", "calcite-shell", "calcite-slider", "calcite-tooltip", "instant-apps-filter-list", "instant-apps-social-share", "map-layer-picker"];
|
2041
2044
|
components.forEach(tagName => { switch (tagName) {
|
2042
2045
|
case "layer-table":
|
2043
2046
|
if (!customElements.get(tagName)) {
|
@@ -2045,191 +2048,181 @@ function defineCustomElement() {
|
|
2045
2048
|
}
|
2046
2049
|
break;
|
2047
2050
|
case "calcite-action":
|
2048
|
-
if (!customElements.get(tagName)) {
|
2049
|
-
defineCustomElement$F();
|
2050
|
-
}
|
2051
|
-
break;
|
2052
|
-
case "calcite-action-bar":
|
2053
|
-
if (!customElements.get(tagName)) {
|
2054
|
-
defineCustomElement$E();
|
2055
|
-
}
|
2056
|
-
break;
|
2057
|
-
case "calcite-action-group":
|
2058
2051
|
if (!customElements.get(tagName)) {
|
2059
2052
|
defineCustomElement$D();
|
2060
2053
|
}
|
2061
2054
|
break;
|
2062
|
-
case "calcite-action-
|
2055
|
+
case "calcite-action-bar":
|
2063
2056
|
if (!customElements.get(tagName)) {
|
2064
2057
|
defineCustomElement$C();
|
2065
2058
|
}
|
2066
2059
|
break;
|
2067
|
-
case "calcite-
|
2060
|
+
case "calcite-action-group":
|
2068
2061
|
if (!customElements.get(tagName)) {
|
2069
2062
|
defineCustomElement$B();
|
2070
2063
|
}
|
2071
2064
|
break;
|
2072
|
-
case "calcite-
|
2065
|
+
case "calcite-action-menu":
|
2073
2066
|
if (!customElements.get(tagName)) {
|
2074
2067
|
defineCustomElement$A();
|
2075
2068
|
}
|
2076
2069
|
break;
|
2077
|
-
case "calcite-
|
2070
|
+
case "calcite-block":
|
2078
2071
|
if (!customElements.get(tagName)) {
|
2079
2072
|
defineCustomElement$z();
|
2080
2073
|
}
|
2081
2074
|
break;
|
2082
|
-
case "calcite-
|
2075
|
+
case "calcite-button":
|
2083
2076
|
if (!customElements.get(tagName)) {
|
2084
2077
|
defineCustomElement$y();
|
2085
2078
|
}
|
2086
2079
|
break;
|
2087
|
-
case "calcite-
|
2080
|
+
case "calcite-checkbox":
|
2088
2081
|
if (!customElements.get(tagName)) {
|
2089
2082
|
defineCustomElement$x();
|
2090
2083
|
}
|
2091
2084
|
break;
|
2092
|
-
case "calcite-
|
2085
|
+
case "calcite-chip":
|
2093
2086
|
if (!customElements.get(tagName)) {
|
2094
2087
|
defineCustomElement$w();
|
2095
2088
|
}
|
2096
2089
|
break;
|
2097
|
-
case "calcite-
|
2090
|
+
case "calcite-combobox":
|
2098
2091
|
if (!customElements.get(tagName)) {
|
2099
2092
|
defineCustomElement$v();
|
2100
2093
|
}
|
2101
2094
|
break;
|
2102
|
-
case "calcite-
|
2095
|
+
case "calcite-combobox-item":
|
2103
2096
|
if (!customElements.get(tagName)) {
|
2104
2097
|
defineCustomElement$u();
|
2105
2098
|
}
|
2106
2099
|
break;
|
2107
|
-
case "calcite-date-picker
|
2100
|
+
case "calcite-date-picker":
|
2108
2101
|
if (!customElements.get(tagName)) {
|
2109
2102
|
defineCustomElement$t();
|
2110
2103
|
}
|
2111
2104
|
break;
|
2112
|
-
case "calcite-date-picker-
|
2105
|
+
case "calcite-date-picker-day":
|
2113
2106
|
if (!customElements.get(tagName)) {
|
2114
2107
|
defineCustomElement$s();
|
2115
2108
|
}
|
2116
2109
|
break;
|
2117
|
-
case "calcite-
|
2110
|
+
case "calcite-date-picker-month":
|
2118
2111
|
if (!customElements.get(tagName)) {
|
2119
2112
|
defineCustomElement$r();
|
2120
2113
|
}
|
2121
2114
|
break;
|
2122
|
-
case "calcite-
|
2115
|
+
case "calcite-date-picker-month-header":
|
2123
2116
|
if (!customElements.get(tagName)) {
|
2124
2117
|
defineCustomElement$q();
|
2125
2118
|
}
|
2126
2119
|
break;
|
2127
|
-
case "calcite-dropdown
|
2120
|
+
case "calcite-dropdown":
|
2128
2121
|
if (!customElements.get(tagName)) {
|
2129
2122
|
defineCustomElement$p();
|
2130
2123
|
}
|
2131
2124
|
break;
|
2132
|
-
case "calcite-
|
2125
|
+
case "calcite-dropdown-group":
|
2133
2126
|
if (!customElements.get(tagName)) {
|
2134
2127
|
defineCustomElement$o();
|
2135
2128
|
}
|
2136
2129
|
break;
|
2137
|
-
case "calcite-
|
2130
|
+
case "calcite-dropdown-item":
|
2138
2131
|
if (!customElements.get(tagName)) {
|
2139
2132
|
defineCustomElement$n();
|
2140
2133
|
}
|
2141
2134
|
break;
|
2142
|
-
case "calcite-
|
2135
|
+
case "calcite-graph":
|
2143
2136
|
if (!customElements.get(tagName)) {
|
2144
2137
|
defineCustomElement$m();
|
2145
2138
|
}
|
2146
2139
|
break;
|
2147
|
-
case "calcite-
|
2140
|
+
case "calcite-handle":
|
2148
2141
|
if (!customElements.get(tagName)) {
|
2149
2142
|
defineCustomElement$l();
|
2150
2143
|
}
|
2151
2144
|
break;
|
2152
|
-
case "calcite-
|
2145
|
+
case "calcite-icon":
|
2153
2146
|
if (!customElements.get(tagName)) {
|
2154
2147
|
defineCustomElement$k();
|
2155
2148
|
}
|
2156
2149
|
break;
|
2157
|
-
case "calcite-input
|
2150
|
+
case "calcite-input":
|
2158
2151
|
if (!customElements.get(tagName)) {
|
2159
2152
|
defineCustomElement$j();
|
2160
2153
|
}
|
2161
2154
|
break;
|
2162
|
-
case "calcite-
|
2155
|
+
case "calcite-input-date-picker":
|
2163
2156
|
if (!customElements.get(tagName)) {
|
2164
2157
|
defineCustomElement$i();
|
2165
2158
|
}
|
2166
2159
|
break;
|
2167
|
-
case "calcite-
|
2160
|
+
case "calcite-input-text":
|
2168
2161
|
if (!customElements.get(tagName)) {
|
2169
2162
|
defineCustomElement$h();
|
2170
2163
|
}
|
2171
2164
|
break;
|
2172
|
-
case "calcite-
|
2165
|
+
case "calcite-label":
|
2173
2166
|
if (!customElements.get(tagName)) {
|
2174
2167
|
defineCustomElement$g();
|
2175
2168
|
}
|
2176
2169
|
break;
|
2177
|
-
case "calcite-
|
2170
|
+
case "calcite-loader":
|
2178
2171
|
if (!customElements.get(tagName)) {
|
2179
2172
|
defineCustomElement$f();
|
2180
2173
|
}
|
2181
2174
|
break;
|
2182
|
-
case "calcite-
|
2175
|
+
case "calcite-modal":
|
2183
2176
|
if (!customElements.get(tagName)) {
|
2184
2177
|
defineCustomElement$e();
|
2185
2178
|
}
|
2186
2179
|
break;
|
2187
|
-
case "calcite-
|
2180
|
+
case "calcite-notice":
|
2188
2181
|
if (!customElements.get(tagName)) {
|
2189
2182
|
defineCustomElement$d();
|
2190
2183
|
}
|
2191
2184
|
break;
|
2192
|
-
case "calcite-
|
2185
|
+
case "calcite-option":
|
2193
2186
|
if (!customElements.get(tagName)) {
|
2194
2187
|
defineCustomElement$c();
|
2195
2188
|
}
|
2196
2189
|
break;
|
2197
|
-
case "calcite-
|
2190
|
+
case "calcite-panel":
|
2198
2191
|
if (!customElements.get(tagName)) {
|
2199
2192
|
defineCustomElement$b();
|
2200
2193
|
}
|
2201
2194
|
break;
|
2202
|
-
case "calcite-
|
2195
|
+
case "calcite-popover":
|
2203
2196
|
if (!customElements.get(tagName)) {
|
2204
2197
|
defineCustomElement$a();
|
2205
2198
|
}
|
2206
2199
|
break;
|
2207
|
-
case "calcite-
|
2200
|
+
case "calcite-progress":
|
2208
2201
|
if (!customElements.get(tagName)) {
|
2209
2202
|
defineCustomElement$9();
|
2210
2203
|
}
|
2211
2204
|
break;
|
2212
|
-
case "calcite-
|
2205
|
+
case "calcite-scrim":
|
2213
2206
|
if (!customElements.get(tagName)) {
|
2214
2207
|
defineCustomElement$8();
|
2215
2208
|
}
|
2216
2209
|
break;
|
2217
|
-
case "calcite-
|
2210
|
+
case "calcite-select":
|
2218
2211
|
if (!customElements.get(tagName)) {
|
2219
2212
|
defineCustomElement$7();
|
2220
2213
|
}
|
2221
2214
|
break;
|
2222
|
-
case "calcite-
|
2215
|
+
case "calcite-shell":
|
2223
2216
|
if (!customElements.get(tagName)) {
|
2224
2217
|
defineCustomElement$6();
|
2225
2218
|
}
|
2226
2219
|
break;
|
2227
|
-
case "
|
2220
|
+
case "calcite-slider":
|
2228
2221
|
if (!customElements.get(tagName)) {
|
2229
2222
|
defineCustomElement$5();
|
2230
2223
|
}
|
2231
2224
|
break;
|
2232
|
-
case "
|
2225
|
+
case "calcite-tooltip":
|
2233
2226
|
if (!customElements.get(tagName)) {
|
2234
2227
|
defineCustomElement$4();
|
2235
2228
|
}
|
@@ -401,7 +401,7 @@ const MapCard = /*@__PURE__*/ proxyCustomElement(class MapCard extends HTMLEleme
|
|
401
401
|
const mapHeightClass = this.mapInfos?.length > 1 || this.isMapLayout ? "map-height" : "height-full";
|
402
402
|
const progressClass = this.isMapLayout ? "" : "display-none";
|
403
403
|
this._validateActiveActions();
|
404
|
-
return (h(Host, { key: '
|
404
|
+
return (h(Host, { key: '5861d407b8529c6834d5d05450693d1fff2b71ee' }, h("div", { key: '01e028e8a00fc66d5eaa8eb7f85b58d579c3e7ff', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options"), this.enableShare && !this.isMobile && this.isMapLayout ? this._getShare("share") : undefined), h("calcite-progress", { key: '6a0b7a2a734f3631b8c8a712acaf60a9e95c6c16', class: progressClass, value: 0 }), h("div", { key: '74cebf9c194bfc5b72be3b397821f586a5923fa4', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: '6c87207eecaacf61c594f1036af38c0548ea1767', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, locale: this.locale, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
|
405
405
|
}
|
406
406
|
/**
|
407
407
|
* Called each time after the component is loaded
|
@@ -185,7 +185,7 @@ const MapDrawTools = /*@__PURE__*/ proxyCustomElement(class MapDrawTools extends
|
|
185
185
|
"border" : "border esri-widget esri-sketch__panel";
|
186
186
|
const undoRedoClass = this.drawMode === EDrawMode.SKETCH ?
|
187
187
|
"display-none" : "esri-widget esri-sketch__panel border-left esri-sketch__section";
|
188
|
-
return (h(Host, { key: '
|
188
|
+
return (h(Host, { key: '253db0399bab5d5fc6f4232bb537ddeec81fec2c' }, h("div", { key: 'bbac53da8b8b1196cc3a7aedf5479cd4e33ab3ea', class: containerClass }, h("div", { key: '8d3dae2c2f82f7e4d7aae92d4a4c6050d2a96478', ref: (el) => { this._sketchElement = el; } }), h("div", { key: 'd635374374ebdff26157a1258ba84932d491e36a', class: undoRedoClass }, h("calcite-action", { key: 'fb437fec19fa7ffc57459e426ba988fd4d50c1e6', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { key: 'fd3f4f3e8b722b95c0b7aad1fc6b909a97787b86', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
|
189
189
|
}
|
190
190
|
//--------------------------------------------------------------------------
|
191
191
|
//
|
@@ -88,7 +88,7 @@ const MapFullscreen = /*@__PURE__*/ proxyCustomElement(class MapFullscreen exten
|
|
88
88
|
* Renders the component.
|
89
89
|
*/
|
90
90
|
render() {
|
91
|
-
return (h(Host, { key: '
|
91
|
+
return (h(Host, { key: '7eec3dc5ab76a4ad8fdd24d8d18f8e6cf2820dde' }, h("div", { key: '2093cc2a6a3678209e61eea63ebde2f69ec00011', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
|
92
92
|
}
|
93
93
|
/**
|
94
94
|
* StencilJS: Called just after the component updates.
|
@@ -173,7 +173,7 @@ const MapLayerPicker = /*@__PURE__*/ proxyCustomElement(class MapLayerPicker ext
|
|
173
173
|
const id = "map-layer-picker";
|
174
174
|
let style = this.height > 0 ? { "height": `${this.height.toString()}px` } : {};
|
175
175
|
style = { ...style, "display": this.display };
|
176
|
-
return (h(Host, { key: '
|
176
|
+
return (h(Host, { key: '47d80c20f364f6d4f1a247f7f84d25ca4ff5cd7b' }, h("div", { key: '16ecc0c3dad51b0707304e003861e419796f3fba', class: "map-layer-picker-container", style: style }, h("div", { key: '56a3d93b9f91afd753952a0e86fe9ee426c529f5', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
|
177
177
|
!this._hasMultipleLayers && this.showSingleLayerAsLabel ? this._getSingleLayerPlaceholder() :
|
178
178
|
this.type === "combobox" ? this._getCombobox(id) :
|
179
179
|
this.type === "select" ? this._getSelect(id) : this._getDropdown(id)))));
|
@@ -73,7 +73,7 @@ const MapLegend = /*@__PURE__*/ proxyCustomElement(class MapLegend extends HTMLE
|
|
73
73
|
* StencilJS: Renders the component.
|
74
74
|
*/
|
75
75
|
render() {
|
76
|
-
return (h(Host, { key: '
|
76
|
+
return (h(Host, { key: '768d9d69042516c6d4edc55fcb0af23f90d33e6e' }, h("div", { key: 'e1147cf58240e7a6fcb9a00fce3649a380755e3d', ref: (el) => { this._legendElement = el; } })));
|
77
77
|
}
|
78
78
|
/**
|
79
79
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
@@ -134,7 +134,7 @@ const MapPicker = /*@__PURE__*/ proxyCustomElement(class MapPicker extends HTMLE
|
|
134
134
|
* Renders the component.
|
135
135
|
*/
|
136
136
|
render() {
|
137
|
-
return (h(Host, { key: '
|
137
|
+
return (h(Host, { key: 'ecfbf2669de4ce8c916e47c7a731f0a3ad33b419' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
|
138
138
|
}
|
139
139
|
/**
|
140
140
|
* Called once after the component has loaded
|
@@ -101,7 +101,7 @@ const MapSearch = /*@__PURE__*/ proxyCustomElement(class MapSearch extends HTMLE
|
|
101
101
|
* Renders the component.
|
102
102
|
*/
|
103
103
|
render() {
|
104
|
-
return (h(Host, { key: '
|
104
|
+
return (h(Host, { key: '36e0fb49fdedbe9e8789fba37f86a2f2d57b4e45' }, h("div", { key: '796ee258723e9277dc98323ba76def22bd7dca3a', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
|
105
105
|
}
|
106
106
|
//--------------------------------------------------------------------------
|
107
107
|
//
|
@@ -68,12 +68,12 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
|
|
68
68
|
this.sketchLineSymbol = undefined;
|
69
69
|
this.sketchPointSymbol = undefined;
|
70
70
|
this.sketchPolygonSymbol = undefined;
|
71
|
+
this.searchDistanceEnabled = false;
|
72
|
+
this.useLayerFeaturesEnabled = false;
|
71
73
|
this._numSelected = 0;
|
72
|
-
this._searchDistanceEnabled = false;
|
73
74
|
this._searchTerm = undefined;
|
74
75
|
this._selectionLoading = false;
|
75
76
|
this._translations = undefined;
|
76
|
-
this._useLayerFeaturesEnabled = false;
|
77
77
|
}
|
78
78
|
get el() { return this; }
|
79
79
|
//--------------------------------------------------------------------------
|
@@ -262,9 +262,9 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
|
|
262
262
|
graphics: this._graphics,
|
263
263
|
selectLayers: this.layerViews,
|
264
264
|
skipGeomOIDs: this._skipGeomOIDs,
|
265
|
-
searchDistanceEnabled: this.
|
265
|
+
searchDistanceEnabled: this.searchDistanceEnabled,
|
266
266
|
workflowType: this._workflowType,
|
267
|
-
useLayerFeaturesEnabled: this.
|
267
|
+
useLayerFeaturesEnabled: this.useLayerFeaturesEnabled,
|
268
268
|
sketchGraphic: this._sketchGraphic
|
269
269
|
};
|
270
270
|
}
|
@@ -322,30 +322,30 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
|
|
322
322
|
render() {
|
323
323
|
const mapToolsClass = this.enableSketchTools ? "" : "display-none";
|
324
324
|
const mapToolsContainerClass = this.enableSketchTools ? "padding-top-1" : "";
|
325
|
-
return (h(Host, { key: '
|
325
|
+
return (h(Host, { key: '1c312d53b800ca401726c653e12465e92abf0eef' }, this._getMapLayerPicker(), h("div", { key: '2da9eb5316656769ec2f80dfa5fbdc190c62b1cb', class: "border-bottom" }), h("div", { key: 'b21d332e5da0aa8cfb34fdab7a1075bfbd5efb42', class: "padding-top-sides-1" }, h("div", { key: '2dd59511d4f07cc2cd43b5b5c2a8037303d21546', class: "search-widget", ref: (el) => { this._searchElement = el; } }), h("div", { key: '1149bcd2f36171b82f6902fbf89bb0400383fdde', class: mapToolsContainerClass }, h("map-draw-tools", { key: '2d3b1b91a108bf2bb2db463e7ffd4574f4a36dac', active: true, class: mapToolsClass, editGraphicsEnabled: !this.useLayerFeaturesEnabled, graphics: this._graphics, locale: this.locale, mapView: this.mapView, onSketchGraphicsChange: (evt) => void this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, ref: (el) => { this._drawTools = el; } })), this.enableSearchDistance ? this._getBufferOptions() : undefined, this.enableLayerFeatures ? this._getUseLayerFeaturesOptions() : undefined, this._getNumSelected()), h("div", { key: 'd4068bef106e1f4226b1f9c104a626fe0a0f6700', class: "border-bottom" }), this._getNameInput()));
|
326
326
|
}
|
327
327
|
/**
|
328
328
|
* Renders the buffer tools component.
|
329
329
|
*/
|
330
330
|
_getBufferOptions() {
|
331
331
|
if (this.enableSearchDistanceOnLoad) {
|
332
|
-
this.
|
332
|
+
this.searchDistanceEnabled = true;
|
333
333
|
this.enableSearchDistanceOnLoad = false;
|
334
334
|
}
|
335
|
-
const showBufferToolsClass = this.
|
335
|
+
const showBufferToolsClass = this.searchDistanceEnabled ? "search-distance" : "div-not-visible";
|
336
336
|
const bufferDistance = typeof this.selectionSet?.distance === "number" ? this.selectionSet.distance : this.defaultBufferDistance;
|
337
|
-
return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.searchDistance, h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "search-distance-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "search-distance-icon" }, h("span", { class: "tooltip-message" }, this._translations.useSearchDistanceTootip)), h("calcite-switch", { checked: this.
|
337
|
+
return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.searchDistance, h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "search-distance-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "search-distance-icon" }, h("span", { class: "tooltip-message" }, this._translations.useSearchDistanceTootip)), h("calcite-switch", { checked: this.searchDistanceEnabled, onCalciteSwitchChange: () => this.searchDistanceEnabled = !this.searchDistanceEnabled })), h("div", { class: showBufferToolsClass }, h("buffer-tools", { disabled: !this.searchDistanceEnabled, distance: bufferDistance, geometries: this.geometries, locale: this.locale, onBufferComplete: (evt) => void this._bufferComplete(evt), ref: (el) => this._bufferTools = el, unit: this.selectionSet?.unit || this.defaultBufferUnit }))));
|
338
338
|
}
|
339
339
|
/**
|
340
340
|
* Renders the map layer picker component.
|
341
341
|
*/
|
342
342
|
_getUseLayerFeaturesOptions() {
|
343
343
|
if (this.enableLayerFeaturesOnLoad) {
|
344
|
-
this.
|
344
|
+
this.useLayerFeaturesEnabled = true;
|
345
345
|
this.enableLayerFeaturesOnLoad = false;
|
346
346
|
}
|
347
|
-
const useLayerFeaturesClass = this.
|
348
|
-
return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.useLayerFeatures, h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "use-layer-features-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "use-layer-features-icon" }, h("span", { class: "tooltip-message" }, this._translations.useLayerFeaturesTooltip)), h("calcite-switch", { checked: this.
|
347
|
+
const useLayerFeaturesClass = this.useLayerFeaturesEnabled ? "div-visible" : "div-not-visible";
|
348
|
+
return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.useLayerFeatures, h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "use-layer-features-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "use-layer-features-icon" }, h("span", { class: "tooltip-message" }, this._translations.useLayerFeaturesTooltip)), h("calcite-switch", { checked: this.useLayerFeaturesEnabled, onCalciteSwitchChange: () => { this._useLayerFeaturesEnabledChanged(); } })), h("div", { class: useLayerFeaturesClass + " padding-top-1" }, h("map-layer-picker", { enabledLayerIds: this.selectionLayerIds, locale: this.locale, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedIds: this.layerViews.map(l => l.layer.id), showTables: false }))));
|
349
349
|
}
|
350
350
|
/**
|
351
351
|
* Renders the number of selected features
|
@@ -426,8 +426,8 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
|
|
426
426
|
this._selectLayers = this.selectionSet.selectLayers;
|
427
427
|
this._selectedIds = this.selectionSet.selectedIds;
|
428
428
|
this._skipGeomOIDs = this.selectionSet.skipGeomOIDs;
|
429
|
-
this.
|
430
|
-
this.
|
429
|
+
this.searchDistanceEnabled = this.selectionSet.searchDistanceEnabled;
|
430
|
+
this.useLayerFeaturesEnabled = this.selectionSet.useLayerFeaturesEnabled;
|
431
431
|
this._distance = this.selectionSet.searchDistanceEnabled ? this.selectionSet.distance : 0;
|
432
432
|
this._unit = this.selectionSet.unit;
|
433
433
|
this._workflowType = this.selectionSet.workflowType;
|
@@ -446,7 +446,7 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
|
|
446
446
|
});
|
447
447
|
});
|
448
448
|
this._selectionLabel = this.selectionSet?.label;
|
449
|
-
if (!this.
|
449
|
+
if (!this.useLayerFeaturesEnabled) {
|
450
450
|
await this._drawTools?.updateGraphics();
|
451
451
|
}
|
452
452
|
await goToSelection(this.selectionSet.selectedIds, this.selectionSet.layerView, this.mapView, false);
|
@@ -652,13 +652,13 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
|
|
652
652
|
if (!forceUpdate) {
|
653
653
|
this._sketchGraphic = graphics[0];
|
654
654
|
}
|
655
|
-
this._workflowType = this.
|
655
|
+
this._workflowType = this.useLayerFeaturesEnabled ? EWorkflowType.SELECT : EWorkflowType.SKETCH;
|
656
656
|
if (this._workflowType === EWorkflowType.SKETCH) {
|
657
657
|
await this._drawTools.updateGraphics();
|
658
658
|
}
|
659
659
|
await this._updateLabel();
|
660
660
|
this._clearSearchWidget();
|
661
|
-
if (this.
|
661
|
+
if (this.useLayerFeaturesEnabled && !forceUpdate) {
|
662
662
|
// Will only ever be a single graphic
|
663
663
|
const geometries = Array.isArray(graphics) ? graphics.map(g => g.geometry) : this.geometries;
|
664
664
|
await this._selectLayerFeatures(geometries[0]);
|
@@ -972,7 +972,7 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
|
|
972
972
|
* @protected
|
973
973
|
*/
|
974
974
|
_useLayerFeaturesEnabledChanged() {
|
975
|
-
this.
|
975
|
+
this.useLayerFeaturesEnabled = !this.useLayerFeaturesEnabled;
|
976
976
|
if (this._sketchGraphic) {
|
977
977
|
void this._sketchGraphicsChanged({
|
978
978
|
detail: {
|
@@ -1023,12 +1023,12 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
|
|
1023
1023
|
"sketchLineSymbol": [16],
|
1024
1024
|
"sketchPointSymbol": [16],
|
1025
1025
|
"sketchPolygonSymbol": [16],
|
1026
|
+
"searchDistanceEnabled": [4, "search-distance-enabled"],
|
1027
|
+
"useLayerFeaturesEnabled": [4, "use-layer-features-enabled"],
|
1026
1028
|
"_numSelected": [32],
|
1027
|
-
"_searchDistanceEnabled": [32],
|
1028
1029
|
"_searchTerm": [32],
|
1029
1030
|
"_selectionLoading": [32],
|
1030
1031
|
"_translations": [32],
|
1031
|
-
"_useLayerFeaturesEnabled": [32],
|
1032
1032
|
"clearSelection": [64],
|
1033
1033
|
"getSelection": [64]
|
1034
1034
|
}, [[8, "searchConfigurationChange", "searchConfigurationChangeChanged"], [8, "distanceChanged", "distanceChanged"], [8, "unitChanged", "unitChanged"]], {
|
@@ -218,7 +218,7 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
|
|
218
218
|
const toolMarginClass = this.enableSingleExpand ? "margin-top-1-2" : "";
|
219
219
|
const toolOrder = this.toolOrder ? this.toolOrder : ["legend", "search", "fullscreen", "floorfilter"];
|
220
220
|
const shadowClass = this.stackTools ? "box-shadow" : "";
|
221
|
-
return (h(Host, { key: '
|
221
|
+
return (h(Host, { key: '6a707a10b3cbe094548a863b13d0852969c46f94' }, h("div", { key: 'c1e349ba8577a87f967b31a7a042be30cb933d34', class: containerClass }, this.enableSingleExpand ? (h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, h("div", { key: '7120793f9d707fb0d1914f5aeffb3293532ab891', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), h("basemap-gallery", { key: '11e280302f6b1f5287aa83c7eb33542f3a9d87ab', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { key: 'c3afd22dc8d652877f48a6def87e486546993d61', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { key: 'b8fad3cdbc3b96b4f3441316651ad78b4ed3de65', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { key: 'e34111225f1ec80fedfd548196e407786d28200b', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { key: '2db5c7e6182d77786b162692169263495b2752f5', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
222
222
|
}
|
223
223
|
//--------------------------------------------------------------------------
|
224
224
|
//
|