@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.
Files changed (133) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +5 -5
  2. package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
  3. package/dist/cjs/{calcite-alert_5.cjs.entry.js → calcite-alert_6.cjs.entry.js} +136 -0
  4. package/dist/cjs/calcite-combobox_3.cjs.entry.js +1 -1
  5. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +6 -6
  6. package/dist/cjs/{calcite-shell_3.cjs.entry.js → calcite-shell.cjs.entry.js} +0 -256
  7. package/dist/cjs/card-manager_3.cjs.entry.js +13 -7
  8. package/dist/cjs/crowdsource-manager.cjs.entry.js +25 -4
  9. package/dist/cjs/delete-dialog.cjs.entry.js +131 -0
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/map-select-tools_3.cjs.entry.js +19 -19
  12. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  13. package/dist/cjs/public-notification.cjs.entry.js +2 -2
  14. package/dist/cjs/share-item.cjs.entry.js +1 -1
  15. package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
  16. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
  17. package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
  18. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  19. package/dist/cjs/solutions-components.cjs.js +1 -1
  20. package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
  21. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
  22. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +31 -3
  23. package/dist/collection/components/layer-table/layer-table.js +32 -7
  24. package/dist/collection/components/map-card/map-card.js +1 -1
  25. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  26. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  27. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
  28. package/dist/collection/components/map-legend/map-legend.js +1 -1
  29. package/dist/collection/components/map-picker/map-picker.js +1 -1
  30. package/dist/collection/components/map-search/map-search.js +1 -1
  31. package/dist/collection/components/map-select-tools/map-select-tools.js +54 -20
  32. package/dist/collection/components/map-tools/map-tools.js +1 -1
  33. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  34. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  35. package/dist/collection/components/public-notification/public-notification.js +2 -2
  36. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  37. package/dist/collection/components/share-item/share-item.js +1 -1
  38. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  39. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  40. package/dist/collection/components/solution-item/solution-item.js +1 -1
  41. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
  42. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  43. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  44. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  45. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  46. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  47. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  48. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  49. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  50. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  51. package/dist/collection/utils/interfaces.ts +4 -0
  52. package/dist/components/crowdsource-manager.js +27 -5
  53. package/dist/components/layer-table2.js +84 -91
  54. package/dist/components/map-card2.js +1 -1
  55. package/dist/components/map-draw-tools2.js +1 -1
  56. package/dist/components/map-fullscreen2.js +1 -1
  57. package/dist/components/map-layer-picker2.js +1 -1
  58. package/dist/components/map-legend2.js +1 -1
  59. package/dist/components/map-picker2.js +1 -1
  60. package/dist/components/map-search2.js +1 -1
  61. package/dist/components/map-select-tools2.js +19 -19
  62. package/dist/components/map-tools2.js +1 -1
  63. package/dist/components/pci-calculator.js +1 -1
  64. package/dist/components/pdf-download2.js +1 -1
  65. package/dist/components/public-notification.js +2 -2
  66. package/dist/components/refine-selection2.js +1 -1
  67. package/dist/components/share-item.js +1 -1
  68. package/dist/components/solution-configuration.js +3 -3
  69. package/dist/components/solution-contents2.js +1 -1
  70. package/dist/components/solution-item-accordion.js +1 -1
  71. package/dist/components/solution-item-details2.js +1 -1
  72. package/dist/components/solution-item-icon2.js +1 -1
  73. package/dist/components/solution-item-sharing2.js +1 -1
  74. package/dist/components/solution-item2.js +1 -1
  75. package/dist/components/solution-organization-variables2.js +1 -1
  76. package/dist/components/solution-resource-item2.js +1 -1
  77. package/dist/components/solution-spatial-ref2.js +1 -1
  78. package/dist/components/solution-template-data2.js +1 -1
  79. package/dist/components/solution-variables2.js +1 -1
  80. package/dist/components/spatial-ref.js +1 -1
  81. package/dist/esm/basemap-gallery_7.entry.js +5 -5
  82. package/dist/esm/buffer-tools_3.entry.js +1 -1
  83. package/dist/esm/{calcite-alert_5.entry.js → calcite-alert_6.entry.js} +136 -1
  84. package/dist/esm/calcite-combobox_3.entry.js +1 -1
  85. package/dist/esm/calcite-shell-panel_14.entry.js +6 -6
  86. package/dist/esm/{calcite-shell_3.entry.js → calcite-shell.entry.js} +2 -256
  87. package/dist/esm/card-manager_3.entry.js +13 -7
  88. package/dist/esm/crowdsource-manager.entry.js +25 -4
  89. package/dist/esm/delete-dialog.entry.js +127 -0
  90. package/dist/esm/loader.js +1 -1
  91. package/dist/esm/map-select-tools_3.entry.js +19 -19
  92. package/dist/esm/pci-calculator.entry.js +1 -1
  93. package/dist/esm/public-notification.entry.js +2 -2
  94. package/dist/esm/share-item.entry.js +1 -1
  95. package/dist/esm/solution-configuration.entry.js +3 -3
  96. package/dist/esm/solution-contents_3.entry.js +3 -3
  97. package/dist/esm/solution-item-accordion.entry.js +1 -1
  98. package/dist/esm/solution-item-icon.entry.js +1 -1
  99. package/dist/esm/solutions-components.js +1 -1
  100. package/dist/esm/spatial-ref.entry.js +1 -1
  101. package/dist/solutions-components/{p-ce53e33d.entry.js → p-11c2426d.entry.js} +2 -2
  102. package/dist/solutions-components/p-1336a071.entry.js +6 -0
  103. package/dist/solutions-components/{p-5001cc41.entry.js → p-274aa753.entry.js} +1 -1
  104. package/dist/solutions-components/{p-e1e21798.entry.js → p-36b864ba.entry.js} +1 -1
  105. package/dist/solutions-components/p-41503b16.entry.js +6 -0
  106. package/dist/solutions-components/{p-561c0e02.entry.js → p-44dc3dec.entry.js} +1 -1
  107. package/dist/solutions-components/{p-471d5c7f.entry.js → p-45ab1117.entry.js} +2 -2
  108. package/dist/solutions-components/p-49ed272d.entry.js +11 -0
  109. package/dist/solutions-components/{p-b7fbaeb7.entry.js → p-6b5b52c1.entry.js} +1 -1
  110. package/dist/solutions-components/{p-62d8796c.entry.js → p-7475b8b4.entry.js} +2 -2
  111. package/dist/solutions-components/{p-80e81af7.entry.js → p-7bcfe068.entry.js} +1 -1
  112. package/dist/solutions-components/{p-41314f33.entry.js → p-96027923.entry.js} +1 -1
  113. package/dist/solutions-components/p-9c25ee2c.entry.js +6 -0
  114. package/dist/solutions-components/{p-8d4a4498.entry.js → p-b6d50640.entry.js} +1 -1
  115. package/dist/solutions-components/p-b8d1b57a.entry.js +6 -0
  116. package/dist/solutions-components/p-b95968fa.entry.js +6 -0
  117. package/dist/solutions-components/p-d2f8d8a8.entry.js +6 -0
  118. package/dist/solutions-components/{p-d51c07d2.entry.js → p-f57978f3.entry.js} +1 -1
  119. package/dist/solutions-components/solutions-components.esm.js +1 -1
  120. package/dist/solutions-components/utils/interfaces.ts +4 -0
  121. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +19 -0
  122. package/dist/types/components/layer-table/layer-table.d.ts +5 -5
  123. package/dist/types/components/map-select-tools/map-select-tools.d.ts +8 -8
  124. package/dist/types/components.d.ts +23 -2
  125. package/dist/types/preact.d.ts +2 -1
  126. package/dist/types/utils/interfaces.d.ts +3 -0
  127. package/package.json +1 -1
  128. package/dist/solutions-components/p-0a2e5861.entry.js +0 -6
  129. package/dist/solutions-components/p-56beff4c.entry.js +0 -6
  130. package/dist/solutions-components/p-8b92fe23.entry.js +0 -6
  131. package/dist/solutions-components/p-8e2f4995.entry.js +0 -6
  132. package/dist/solutions-components/p-d7afbe8d.entry.js +0 -11
  133. 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$F } from './action.js';
13
- import { d as defineCustomElement$E } from './action-bar.js';
14
- import { d as defineCustomElement$D } from './action-group.js';
15
- import { d as defineCustomElement$C } from './action-menu.js';
16
- import { d as defineCustomElement$B } from './block.js';
17
- import { d as defineCustomElement$A } from './button.js';
18
- import { d as defineCustomElement$z } from './checkbox.js';
19
- import { d as defineCustomElement$y } from './chip.js';
20
- import { d as defineCustomElement$x } from './combobox.js';
21
- import { d as defineCustomElement$w } from './combobox-item.js';
22
- import { d as defineCustomElement$v } from './date-picker.js';
23
- import { d as defineCustomElement$u } from './date-picker-day.js';
24
- import { d as defineCustomElement$t } from './date-picker-month.js';
25
- import { d as defineCustomElement$s } from './date-picker-month-header.js';
26
- import { d as defineCustomElement$r } from './dropdown.js';
27
- import { d as defineCustomElement$q } from './dropdown-group.js';
28
- import { d as defineCustomElement$p } from './dropdown-item.js';
29
- import { d as defineCustomElement$o } from './graph.js';
30
- import { d as defineCustomElement$n } from './handle.js';
31
- import { d as defineCustomElement$m } from './icon.js';
32
- import { d as defineCustomElement$l } from './input.js';
33
- import { d as defineCustomElement$k } from './input-date-picker.js';
34
- import { d as defineCustomElement$j } from './input-text.js';
35
- import { d as defineCustomElement$i } from './label2.js';
36
- import { d as defineCustomElement$h } from './loader.js';
37
- import { d as defineCustomElement$g } from './modal.js';
38
- import { d as defineCustomElement$f } from './notice.js';
39
- import { d as defineCustomElement$e } from './option.js';
40
- import { d as defineCustomElement$d } from './panel.js';
41
- import { d as defineCustomElement$c } from './popover.js';
42
- import { d as defineCustomElement$b } from './progress.js';
43
- import { d as defineCustomElement$a } from './scrim.js';
44
- import { d as defineCustomElement$9 } from './select.js';
45
- import { d as defineCustomElement$8 } from './shell.js';
46
- import { d as defineCustomElement$7 } from './slider.js';
47
- import { d as defineCustomElement$6 } from './tooltip.js';
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: '0998f68ec5ab3fe8c2e7a21aa832137730faf94f' }, h("calcite-shell", { key: 'a6f00f0280358c318cbed1afc48d54ae0ffae465' }, this._getTableControlRow("header"), h("div", { key: '744786c1915fd86e81c278ecc75c862312c1ec6f', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: 'b59b7bcf0f6e3f5411ff0ecf5de8e6bd747fbe4a', class: "height-full width-full" }, showSearch &&
574
- h("div", { key: '6c62638d97156a2101764bf620b0f48b70f906ad', class: "search-container" }, h("calcite-input", { key: '8ff64d0529b5e3fe281490917ba44a829567cb0c', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), h("calcite-loader", { key: '7f673a2fd30a5828dec0400d01c581440a3adf6b', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '39c0801b1992db5f8782d6b3569fa89ba47ce8ce', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
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(), h("delete-dialog", { key: '6bf4038662260c566d304a63d8f118265a1bf69e', id: "deleteDialogId", ids: this._getIds(), layer: this._layer, locale: this.locale, onDeleteDialogClose: () => this._deleteDialogOpen = false, open: this._deleteDialogOpen, ref: (el) => this._deleteDialog = el })));
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._deleteDialogOpen = true;
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) }, icon === "trash" ? (h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, id: "solutions-delete", ids: this._getIds(), layer: this._layer, locale: this.locale })) : (h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text: label }, h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
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", "delete-button", "delete-dialog", "instant-apps-filter-list", "instant-apps-social-share", "map-layer-picker"];
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-menu":
2055
+ case "calcite-action-bar":
2063
2056
  if (!customElements.get(tagName)) {
2064
2057
  defineCustomElement$C();
2065
2058
  }
2066
2059
  break;
2067
- case "calcite-block":
2060
+ case "calcite-action-group":
2068
2061
  if (!customElements.get(tagName)) {
2069
2062
  defineCustomElement$B();
2070
2063
  }
2071
2064
  break;
2072
- case "calcite-button":
2065
+ case "calcite-action-menu":
2073
2066
  if (!customElements.get(tagName)) {
2074
2067
  defineCustomElement$A();
2075
2068
  }
2076
2069
  break;
2077
- case "calcite-checkbox":
2070
+ case "calcite-block":
2078
2071
  if (!customElements.get(tagName)) {
2079
2072
  defineCustomElement$z();
2080
2073
  }
2081
2074
  break;
2082
- case "calcite-chip":
2075
+ case "calcite-button":
2083
2076
  if (!customElements.get(tagName)) {
2084
2077
  defineCustomElement$y();
2085
2078
  }
2086
2079
  break;
2087
- case "calcite-combobox":
2080
+ case "calcite-checkbox":
2088
2081
  if (!customElements.get(tagName)) {
2089
2082
  defineCustomElement$x();
2090
2083
  }
2091
2084
  break;
2092
- case "calcite-combobox-item":
2085
+ case "calcite-chip":
2093
2086
  if (!customElements.get(tagName)) {
2094
2087
  defineCustomElement$w();
2095
2088
  }
2096
2089
  break;
2097
- case "calcite-date-picker":
2090
+ case "calcite-combobox":
2098
2091
  if (!customElements.get(tagName)) {
2099
2092
  defineCustomElement$v();
2100
2093
  }
2101
2094
  break;
2102
- case "calcite-date-picker-day":
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-month":
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-month-header":
2105
+ case "calcite-date-picker-day":
2113
2106
  if (!customElements.get(tagName)) {
2114
2107
  defineCustomElement$s();
2115
2108
  }
2116
2109
  break;
2117
- case "calcite-dropdown":
2110
+ case "calcite-date-picker-month":
2118
2111
  if (!customElements.get(tagName)) {
2119
2112
  defineCustomElement$r();
2120
2113
  }
2121
2114
  break;
2122
- case "calcite-dropdown-group":
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-item":
2120
+ case "calcite-dropdown":
2128
2121
  if (!customElements.get(tagName)) {
2129
2122
  defineCustomElement$p();
2130
2123
  }
2131
2124
  break;
2132
- case "calcite-graph":
2125
+ case "calcite-dropdown-group":
2133
2126
  if (!customElements.get(tagName)) {
2134
2127
  defineCustomElement$o();
2135
2128
  }
2136
2129
  break;
2137
- case "calcite-handle":
2130
+ case "calcite-dropdown-item":
2138
2131
  if (!customElements.get(tagName)) {
2139
2132
  defineCustomElement$n();
2140
2133
  }
2141
2134
  break;
2142
- case "calcite-icon":
2135
+ case "calcite-graph":
2143
2136
  if (!customElements.get(tagName)) {
2144
2137
  defineCustomElement$m();
2145
2138
  }
2146
2139
  break;
2147
- case "calcite-input":
2140
+ case "calcite-handle":
2148
2141
  if (!customElements.get(tagName)) {
2149
2142
  defineCustomElement$l();
2150
2143
  }
2151
2144
  break;
2152
- case "calcite-input-date-picker":
2145
+ case "calcite-icon":
2153
2146
  if (!customElements.get(tagName)) {
2154
2147
  defineCustomElement$k();
2155
2148
  }
2156
2149
  break;
2157
- case "calcite-input-text":
2150
+ case "calcite-input":
2158
2151
  if (!customElements.get(tagName)) {
2159
2152
  defineCustomElement$j();
2160
2153
  }
2161
2154
  break;
2162
- case "calcite-label":
2155
+ case "calcite-input-date-picker":
2163
2156
  if (!customElements.get(tagName)) {
2164
2157
  defineCustomElement$i();
2165
2158
  }
2166
2159
  break;
2167
- case "calcite-loader":
2160
+ case "calcite-input-text":
2168
2161
  if (!customElements.get(tagName)) {
2169
2162
  defineCustomElement$h();
2170
2163
  }
2171
2164
  break;
2172
- case "calcite-modal":
2165
+ case "calcite-label":
2173
2166
  if (!customElements.get(tagName)) {
2174
2167
  defineCustomElement$g();
2175
2168
  }
2176
2169
  break;
2177
- case "calcite-notice":
2170
+ case "calcite-loader":
2178
2171
  if (!customElements.get(tagName)) {
2179
2172
  defineCustomElement$f();
2180
2173
  }
2181
2174
  break;
2182
- case "calcite-option":
2175
+ case "calcite-modal":
2183
2176
  if (!customElements.get(tagName)) {
2184
2177
  defineCustomElement$e();
2185
2178
  }
2186
2179
  break;
2187
- case "calcite-panel":
2180
+ case "calcite-notice":
2188
2181
  if (!customElements.get(tagName)) {
2189
2182
  defineCustomElement$d();
2190
2183
  }
2191
2184
  break;
2192
- case "calcite-popover":
2185
+ case "calcite-option":
2193
2186
  if (!customElements.get(tagName)) {
2194
2187
  defineCustomElement$c();
2195
2188
  }
2196
2189
  break;
2197
- case "calcite-progress":
2190
+ case "calcite-panel":
2198
2191
  if (!customElements.get(tagName)) {
2199
2192
  defineCustomElement$b();
2200
2193
  }
2201
2194
  break;
2202
- case "calcite-scrim":
2195
+ case "calcite-popover":
2203
2196
  if (!customElements.get(tagName)) {
2204
2197
  defineCustomElement$a();
2205
2198
  }
2206
2199
  break;
2207
- case "calcite-select":
2200
+ case "calcite-progress":
2208
2201
  if (!customElements.get(tagName)) {
2209
2202
  defineCustomElement$9();
2210
2203
  }
2211
2204
  break;
2212
- case "calcite-shell":
2205
+ case "calcite-scrim":
2213
2206
  if (!customElements.get(tagName)) {
2214
2207
  defineCustomElement$8();
2215
2208
  }
2216
2209
  break;
2217
- case "calcite-slider":
2210
+ case "calcite-select":
2218
2211
  if (!customElements.get(tagName)) {
2219
2212
  defineCustomElement$7();
2220
2213
  }
2221
2214
  break;
2222
- case "calcite-tooltip":
2215
+ case "calcite-shell":
2223
2216
  if (!customElements.get(tagName)) {
2224
2217
  defineCustomElement$6();
2225
2218
  }
2226
2219
  break;
2227
- case "delete-button":
2220
+ case "calcite-slider":
2228
2221
  if (!customElements.get(tagName)) {
2229
2222
  defineCustomElement$5();
2230
2223
  }
2231
2224
  break;
2232
- case "delete-dialog":
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: '525ee5ce855cf5aa4f8c50e7e88be6c6236046ac' }, h("div", { key: '899898ee0b2ba9048ed24716a339c94d3106a52e', 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: '896569eb6cf65f45cbebb4b36f5b01ada5ed1092', class: progressClass, value: 0 }), h("div", { key: '79cac798541783bdc74e4b13f9df4d7564eb99f4', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: '730d48c4ce98af3872bfa6c486e8749e18c24477', 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 })));
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: 'c94ac0dde3ba21569ef86cb3ba5e92a427acd10f' }, h("div", { key: 'c699bf597d5a28d62dbba20fa6ddca38f406294f', class: containerClass }, h("div", { key: '78058d9155a650bb59e59ab9064a0286b7479759', ref: (el) => { this._sketchElement = el; } }), h("div", { key: '8cfc53dda2d1b272841acf40bd70b951111c359e', class: undoRedoClass }, h("calcite-action", { key: '5a8f0d0429f7d3df587957ae77ed935b0f99a5a0', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { key: '163067cba4a163dc32d23c2d96cb2d9d967d287e', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
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: '28d49dabefbb64024028bd6d7b7a104fafd81eae' }, h("div", { key: '443af45e3ce2c83a797ebfaac9e442d57d05c34c', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
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: '33b19dbf87019ad071242aaa688e49f35e2c2808' }, h("div", { key: '85e781782fc529acae68b1137f8ec1a317b452a0', class: "map-layer-picker-container", style: style }, h("div", { key: 'c257b179b56939d998650c676e835c9976d9fb21', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
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: '6b8c415650cb42727d7f09d3d4d92f8aebc7526b' }, h("div", { key: '36fd4c49d4ab19411fe309822e5b87104736282a', ref: (el) => { this._legendElement = el; } })));
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: 'c6f59dfac8acfc06775a3a38cefa1fd2c2708722' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
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: '3464734a35e8cf89f033d508d21831eef665c9b2' }, h("div", { key: 'bf79025ba97e9f26681a6c6200dcdbc2ea227ce8', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
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._searchDistanceEnabled,
265
+ searchDistanceEnabled: this.searchDistanceEnabled,
266
266
  workflowType: this._workflowType,
267
- useLayerFeaturesEnabled: this._useLayerFeaturesEnabled,
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: '92c7ef37eb97404a826b7803ff06ce691722a6d1' }, this._getMapLayerPicker(), h("div", { key: '22959b62191b47b716363007be0a356b62af492a', class: "border-bottom" }), h("div", { key: '834c3ddd3ef31a022ed32131a8c21dce325b2c19', class: "padding-top-sides-1" }, h("div", { key: '86b43e7c82a9fc6a2d54be79be3690120a29b78e', class: "search-widget", ref: (el) => { this._searchElement = el; } }), h("div", { key: '5107461cb8a706e9540c8765138d7bc57355fc67', class: mapToolsContainerClass }, h("map-draw-tools", { key: 'ee678a630d39b7550805f0c070adb8e07428b104', 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: '3b88977c13f6a3cde10de6cba927424595fdb13f', class: "border-bottom" }), this._getNameInput()));
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._searchDistanceEnabled = true;
332
+ this.searchDistanceEnabled = true;
333
333
  this.enableSearchDistanceOnLoad = false;
334
334
  }
335
- const showBufferToolsClass = this._searchDistanceEnabled ? "search-distance" : "div-not-visible";
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._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 }))));
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._useLayerFeaturesEnabled = true;
344
+ this.useLayerFeaturesEnabled = true;
345
345
  this.enableLayerFeaturesOnLoad = false;
346
346
  }
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 }))));
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._searchDistanceEnabled = this.selectionSet.searchDistanceEnabled;
430
- this._useLayerFeaturesEnabled = this.selectionSet.useLayerFeaturesEnabled;
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._useLayerFeaturesEnabled) {
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._useLayerFeaturesEnabled ? EWorkflowType.SELECT : EWorkflowType.SKETCH;
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._useLayerFeaturesEnabled && !forceUpdate) {
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._useLayerFeaturesEnabled = !this._useLayerFeaturesEnabled;
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: '6287cfedcd109c621812cc823ee75487a166f7c0' }, h("div", { key: '6f3f1a8ff1fb9c1d671be044143eec4ca6708062', class: containerClass }, this.enableSingleExpand ? (h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, h("div", { key: '156511461a6b6c4a98b47c62460754405f101574', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), h("basemap-gallery", { key: '7975fa8c2db0c3fc10534d538bc593f8543b330e', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { key: 'd7df2b0010bc62b9d2a9601018a962d3e8df2561', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { key: '1bd19b87e9def0b81251aa422ef0024a938bd93d', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { key: 'c5a68a86acc284af7659f467f2fe98c6168b619e', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { key: '8d596ddeb353ac85635aa3ef550708e4ec4d5706', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
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
  //