@esri/solutions-components 0.10.44 → 0.10.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) 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 +3 -3
  12. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  13. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +3 -3
  92. package/dist/esm/pci-calculator.entry.js +1 -1
  93. package/dist/esm/public-notification.entry.js +1 -1
  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-56beff4c.entry.js → p-112df7b2.entry.js} +1 -1
  102. package/dist/solutions-components/{p-ce53e33d.entry.js → p-11c2426d.entry.js} +2 -2
  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-561c0e02.entry.js → p-44dc3dec.entry.js} +1 -1
  106. package/dist/solutions-components/{p-471d5c7f.entry.js → p-45ab1117.entry.js} +2 -2
  107. package/dist/solutions-components/p-49ed272d.entry.js +11 -0
  108. package/dist/solutions-components/{p-b7fbaeb7.entry.js → p-6b5b52c1.entry.js} +1 -1
  109. package/dist/solutions-components/{p-62d8796c.entry.js → p-7475b8b4.entry.js} +2 -2
  110. package/dist/solutions-components/{p-80e81af7.entry.js → p-7bcfe068.entry.js} +1 -1
  111. package/dist/solutions-components/{p-41314f33.entry.js → p-96027923.entry.js} +1 -1
  112. package/dist/solutions-components/p-9c25ee2c.entry.js +6 -0
  113. package/dist/solutions-components/{p-0a2e5861.entry.js → p-add973e2.entry.js} +1 -1
  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.d.ts +7 -2
  124. package/dist/types/preact.d.ts +2 -1
  125. package/dist/types/utils/interfaces.d.ts +3 -0
  126. package/package.json +1 -1
  127. package/dist/solutions-components/p-8b92fe23.entry.js +0 -6
  128. package/dist/solutions-components/p-8e2f4995.entry.js +0 -6
  129. package/dist/solutions-components/p-d7afbe8d.entry.js +0 -11
  130. package/dist/solutions-components/p-f0509d41.entry.js +0 -6
@@ -116,6 +116,10 @@ export interface ICsvOptions {
116
116
  addColumnTitle: boolean;
117
117
  }
118
118
 
119
+ export interface IDeleteIds {
120
+ ids: number[];
121
+ }
122
+
119
123
  export interface IPdfOptions {
120
124
  enabled: boolean;
121
125
  enabledSizeValues: ValidSize[];
@@ -68,7 +68,7 @@ import { d as defineCustomElement$4 } from './map-picker2.js';
68
68
  import { d as defineCustomElement$3 } from './map-search2.js';
69
69
  import { d as defineCustomElement$2 } from './map-tools2.js';
70
70
 
71
- const crowdsourceManagerCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}";
71
+ const crowdsourceManagerCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}.z-index-1{z-index:1 !important}";
72
72
  const CrowdsourceManagerStyle0 = crowdsourceManagerCss;
73
73
 
74
74
  const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceManager extends HTMLElement {
@@ -115,6 +115,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
115
115
  this.theme = "light";
116
116
  this.zoomAndScrollToSelected = false;
117
117
  this.zoomToScale = undefined;
118
+ this._deleteDialogOpen = false;
118
119
  this._enableCreateFeatures = true;
119
120
  this._hideFooter = false;
120
121
  this._hideTable = false;
@@ -152,6 +153,10 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
152
153
  * MapView.when is not fired when mapView is not currently visible
153
154
  */
154
155
  _defaultLevelHonored = false;
156
+ /**
157
+ * number[]: the ids to be deleted
158
+ */
159
+ _deleteIds;
155
160
  /**
156
161
  * HTMLLayerTableElement: The layer table element
157
162
  */
@@ -283,6 +288,13 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
283
288
  this._isLoading = false;
284
289
  });
285
290
  }
291
+ /**
292
+ * Get the feature ids and open the delete dialog
293
+ */
294
+ async showDelete(evt) {
295
+ this._deleteIds = evt.detail.ids;
296
+ this._deleteDialogOpen = true;
297
+ }
286
298
  /**
287
299
  * Get the layer ids from the map
288
300
  */
@@ -309,7 +321,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
309
321
  render() {
310
322
  // only avoid border when we have a header color that is not white
311
323
  const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
312
- return (h(Host, { key: '8fd887051b4437477f1413843dfc6d938304364a' }, h("calcite-shell", { key: 'a9989a1698b268db75cdbcadcd3956d944daa25c', class: "position-relative" }, h("calcite-panel", { key: '88c5631e21b5ccb6a958e016c274e3aa746a6af1', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal()));
324
+ return (h(Host, { key: '8f8d68ca8cd5e170196639cda11b61d64a8e6050' }, h("calcite-shell", { key: '351696228f10d637c4c033d857dc2e169d33bcb5', class: "position-relative" }, h("calcite-panel", { key: 'b77a1b4d4d15f466cf2650d86f084c150b8aaa86', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal(), this._deleteModal()));
313
325
  }
314
326
  /**
315
327
  * Called after each render
@@ -489,7 +501,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
489
501
  _getMapAndCard(layoutMode, panelOpen, hideTable) {
490
502
  const mapSizeClass = this._getMapSizeClass(layoutMode, panelOpen, hideTable);
491
503
  const borderRight = !this._isPortraitMobile && this._isMobile ? "border-right" : "";
492
- return (h("div", { class: `${mapSizeClass} overflow-hidden ${borderRight}` }, this._getMapNode(panelOpen), this._getPopupExpandNode()));
504
+ return (h("div", { class: `${mapSizeClass} overflow-hidden z-index-1 ${borderRight}` }, this._getMapNode(panelOpen), this._getPopupExpandNode()));
493
505
  }
494
506
  /**
495
507
  * Get the map node based for the current layout options
@@ -514,7 +526,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
514
526
  * @protected
515
527
  */
516
528
  _getPopupExpandNode() {
517
- const popupNodeClass = this._isMobile ? "height-full" : "height-full position-relative z-index-0";
529
+ const popupNodeClass = this._isMobile ? "height-full" : "height-full position-relative";
518
530
  const headerClass = this._isPortraitMobile && this._showInformationHeader ? "display-none height-0" : "";
519
531
  const headerTheme = this.popupHeaderColor ? "" : !this._isPortraitMobile ? "calcite-mode-dark" : "calcite-mode-light";
520
532
  const containerClass = this._isPortraitMobile && this._hideTable ? "position-absolute-0 width-full height-full" : this._isPortraitMobile ? "display-none height-0" : "";
@@ -581,6 +593,15 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
581
593
  const id = "toggle-layout";
582
594
  return (h(Fragment, null, h("calcite-action", { active: this.appLayout === 'splitView', class: "toggle-node", icon: "browser", id: "browser-action", onClick: () => { this.appLayout = "splitView"; }, text: "" }), h("calcite-tooltip", { placement: "right", "reference-element": "browser-action" }, h("span", null, this._translations.splitView)), h("calcite-action", { active: this.appLayout === 'tableView', class: "toggle-node", icon: "dock-left", id: "dock-left-action", onClick: () => { this.appLayout = "tableView"; }, text: "" }), h("calcite-tooltip", { placement: "right", "reference-element": "dock-left-action" }, h("span", null, this._translations.tableView)), h("calcite-action", { active: this.appLayout === 'mapView', class: "toggle-node", disabled: this._layerIds?.length === 0, icon: "browser-map", id: "browser-map-action", onClick: () => { this.appLayout = "mapView"; }, text: "" }), h("calcite-tooltip", { placement: "right", "reference-element": "browser-map-action" }, h("span", null, this._translations.mapView)), h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), slot: "actions-end", text: "" }), h("calcite-tooltip", { placement: "bottom", "reference-element": id }, h("span", null, tooltip))));
583
595
  }
596
+ /**
597
+ * Show delete dialog
598
+ *
599
+ * @returns node that will support delete or keep of the features
600
+ * @protected
601
+ */
602
+ _deleteModal() {
603
+ return (h("delete-dialog", { id: "deleteDialogId", ids: this._deleteIds, layer: this._layer, locale: this.locale, onDeleteDialogClose: () => this._deleteDialogOpen = false, open: this._deleteDialogOpen }));
604
+ }
584
605
  /**
585
606
  * Show filter component in modal
586
607
  *
@@ -818,6 +839,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
818
839
  "theme": [1],
819
840
  "zoomAndScrollToSelected": [4, "zoom-and-scroll-to-selected"],
820
841
  "zoomToScale": [2, "zoom-to-scale"],
842
+ "_deleteDialogOpen": [32],
821
843
  "_enableCreateFeatures": [32],
822
844
  "_hideFooter": [32],
823
845
  "_hideTable": [32],
@@ -834,7 +856,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
834
856
  "_showInformationHeader": [32],
835
857
  "_layerIds": [32],
836
858
  "_isLoading": [32]
837
- }, [[8, "featureSelectionChange", "featureSelectionChange"], [8, "popupClosed", "popupClosed"], [8, "layoutChanged", "layoutChanged"], [8, "mapChanged", "mapChanged"], [8, "layerSelectionChange", "layerSelectionChange"], [8, "idsFound", "idsFound"]], {
859
+ }, [[8, "featureSelectionChange", "featureSelectionChange"], [8, "popupClosed", "popupClosed"], [8, "layoutChanged", "layoutChanged"], [8, "mapChanged", "mapChanged"], [8, "layerSelectionChange", "layerSelectionChange"], [8, "showDelete", "showDelete"], [8, "idsFound", "idsFound"]], {
838
860
  "appLayout": ["appLayoutWatchHandler"],
839
861
  "enableZoom": ["enableZoomWatchHandler"],
840
862
  "locale": ["localeWatchHandler"]
@@ -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
  //
@@ -322,7 +322,7 @@ 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: '24382e9b9e955147bcdbf4bf65fb3672c121a8e9' }, this._getMapLayerPicker(), h("div", { key: '9c0d835c1ebb8020619c0629517021ea257ff38f', class: "border-bottom" }), h("div", { key: '19caa1aad9667d1b518d0e5ebe6deeeb44fbdbcf', class: "padding-top-sides-1" }, h("div", { key: 'e9cd25ddbb4c47d6fef8c670507bb1039ae9f360', class: "search-widget", ref: (el) => { this._searchElement = el; } }), h("div", { key: 'b44dae71755a90cf675ba213704be1c65e5d5f1f', class: mapToolsContainerClass }, h("map-draw-tools", { key: '8f9ec344e4056cbc456ea721f4ccdd7311d34797', 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: 'b93bf01281a8b2ffc5cf23536b40e380b95da3c8', class: "border-bottom" }), this._getNameInput()));
326
326
  }
327
327
  /**
328
328
  * Renders the buffer tools component.
@@ -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
  //