@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.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +5 -5
- package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/{calcite-alert_5.cjs.entry.js → calcite-alert_6.cjs.entry.js} +136 -0
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +6 -6
- package/dist/cjs/{calcite-shell_3.cjs.entry.js → calcite-shell.cjs.entry.js} +0 -256
- package/dist/cjs/card-manager_3.cjs.entry.js +13 -7
- package/dist/cjs/crowdsource-manager.cjs.entry.js +25 -4
- package/dist/cjs/delete-dialog.cjs.entry.js +131 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +1 -1
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
- package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +31 -3
- package/dist/collection/components/layer-table/layer-table.js +32 -7
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/utils/interfaces.ts +4 -0
- package/dist/components/crowdsource-manager.js +27 -5
- package/dist/components/layer-table2.js +84 -91
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/solution-configuration.js +3 -3
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-accordion.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +5 -5
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/{calcite-alert_5.entry.js → calcite-alert_6.entry.js} +136 -1
- package/dist/esm/calcite-combobox_3.entry.js +1 -1
- package/dist/esm/calcite-shell-panel_14.entry.js +6 -6
- package/dist/esm/{calcite-shell_3.entry.js → calcite-shell.entry.js} +2 -256
- package/dist/esm/card-manager_3.entry.js +13 -7
- package/dist/esm/crowdsource-manager.entry.js +25 -4
- package/dist/esm/delete-dialog.entry.js +127 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +3 -3
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/public-notification.entry.js +1 -1
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/solution-configuration.entry.js +3 -3
- package/dist/esm/solution-contents_3.entry.js +3 -3
- package/dist/esm/solution-item-accordion.entry.js +1 -1
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/solutions-components/{p-56beff4c.entry.js → p-112df7b2.entry.js} +1 -1
- package/dist/solutions-components/{p-ce53e33d.entry.js → p-11c2426d.entry.js} +2 -2
- package/dist/solutions-components/{p-5001cc41.entry.js → p-274aa753.entry.js} +1 -1
- package/dist/solutions-components/{p-e1e21798.entry.js → p-36b864ba.entry.js} +1 -1
- package/dist/solutions-components/{p-561c0e02.entry.js → p-44dc3dec.entry.js} +1 -1
- package/dist/solutions-components/{p-471d5c7f.entry.js → p-45ab1117.entry.js} +2 -2
- package/dist/solutions-components/p-49ed272d.entry.js +11 -0
- package/dist/solutions-components/{p-b7fbaeb7.entry.js → p-6b5b52c1.entry.js} +1 -1
- package/dist/solutions-components/{p-62d8796c.entry.js → p-7475b8b4.entry.js} +2 -2
- package/dist/solutions-components/{p-80e81af7.entry.js → p-7bcfe068.entry.js} +1 -1
- package/dist/solutions-components/{p-41314f33.entry.js → p-96027923.entry.js} +1 -1
- package/dist/solutions-components/p-9c25ee2c.entry.js +6 -0
- package/dist/solutions-components/{p-0a2e5861.entry.js → p-add973e2.entry.js} +1 -1
- package/dist/solutions-components/{p-8d4a4498.entry.js → p-b6d50640.entry.js} +1 -1
- package/dist/solutions-components/p-b8d1b57a.entry.js +6 -0
- package/dist/solutions-components/p-b95968fa.entry.js +6 -0
- package/dist/solutions-components/p-d2f8d8a8.entry.js +6 -0
- package/dist/solutions-components/{p-d51c07d2.entry.js → p-f57978f3.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +4 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +19 -0
- package/dist/types/components/layer-table/layer-table.d.ts +5 -5
- package/dist/types/components.d.ts +7 -2
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/utils/interfaces.d.ts +3 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-8b92fe23.entry.js +0 -6
- package/dist/solutions-components/p-8e2f4995.entry.js +0 -6
- package/dist/solutions-components/p-d7afbe8d.entry.js +0 -11
- package/dist/solutions-components/p-f0509d41.entry.js +0 -6
|
@@ -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: '
|
|
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
|
|
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$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
20
|
-
import { d as defineCustomElement$
|
|
21
|
-
import { d as defineCustomElement$
|
|
22
|
-
import { d as defineCustomElement$
|
|
23
|
-
import { d as defineCustomElement$
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$
|
|
28
|
-
import { d as defineCustomElement$
|
|
29
|
-
import { d as defineCustomElement$
|
|
30
|
-
import { d as defineCustomElement$
|
|
31
|
-
import { d as defineCustomElement$
|
|
32
|
-
import { d as defineCustomElement$
|
|
33
|
-
import { d as defineCustomElement$
|
|
34
|
-
import { d as defineCustomElement$
|
|
35
|
-
import { d as defineCustomElement$
|
|
36
|
-
import { d as defineCustomElement$
|
|
37
|
-
import { d as defineCustomElement$
|
|
38
|
-
import { d as defineCustomElement$
|
|
39
|
-
import { d as defineCustomElement$
|
|
40
|
-
import { d as defineCustomElement$
|
|
41
|
-
import { d as defineCustomElement$
|
|
42
|
-
import { d as defineCustomElement$
|
|
43
|
-
import { d as defineCustomElement$
|
|
44
|
-
import { d as defineCustomElement$
|
|
45
|
-
import { d as defineCustomElement$
|
|
46
|
-
import { d as defineCustomElement$
|
|
47
|
-
import { d as defineCustomElement$
|
|
48
|
-
import { d as defineCustomElement$5 } from './delete-button2.js';
|
|
49
|
-
import { d as defineCustomElement$4 } from './delete-dialog2.js';
|
|
12
|
+
import { d as defineCustomElement$D } from './action.js';
|
|
13
|
+
import { d as defineCustomElement$C } from './action-bar.js';
|
|
14
|
+
import { d as defineCustomElement$B } from './action-group.js';
|
|
15
|
+
import { d as defineCustomElement$A } from './action-menu.js';
|
|
16
|
+
import { d as defineCustomElement$z } from './block.js';
|
|
17
|
+
import { d as defineCustomElement$y } from './button.js';
|
|
18
|
+
import { d as defineCustomElement$x } from './checkbox.js';
|
|
19
|
+
import { d as defineCustomElement$w } from './chip.js';
|
|
20
|
+
import { d as defineCustomElement$v } from './combobox.js';
|
|
21
|
+
import { d as defineCustomElement$u } from './combobox-item.js';
|
|
22
|
+
import { d as defineCustomElement$t } from './date-picker.js';
|
|
23
|
+
import { d as defineCustomElement$s } from './date-picker-day.js';
|
|
24
|
+
import { d as defineCustomElement$r } from './date-picker-month.js';
|
|
25
|
+
import { d as defineCustomElement$q } from './date-picker-month-header.js';
|
|
26
|
+
import { d as defineCustomElement$p } from './dropdown.js';
|
|
27
|
+
import { d as defineCustomElement$o } from './dropdown-group.js';
|
|
28
|
+
import { d as defineCustomElement$n } from './dropdown-item.js';
|
|
29
|
+
import { d as defineCustomElement$m } from './graph.js';
|
|
30
|
+
import { d as defineCustomElement$l } from './handle.js';
|
|
31
|
+
import { d as defineCustomElement$k } from './icon.js';
|
|
32
|
+
import { d as defineCustomElement$j } from './input.js';
|
|
33
|
+
import { d as defineCustomElement$i } from './input-date-picker.js';
|
|
34
|
+
import { d as defineCustomElement$h } from './input-text.js';
|
|
35
|
+
import { d as defineCustomElement$g } from './label2.js';
|
|
36
|
+
import { d as defineCustomElement$f } from './loader.js';
|
|
37
|
+
import { d as defineCustomElement$e } from './modal.js';
|
|
38
|
+
import { d as defineCustomElement$d } from './notice.js';
|
|
39
|
+
import { d as defineCustomElement$c } from './option.js';
|
|
40
|
+
import { d as defineCustomElement$b } from './panel.js';
|
|
41
|
+
import { d as defineCustomElement$a } from './popover.js';
|
|
42
|
+
import { d as defineCustomElement$9 } from './progress.js';
|
|
43
|
+
import { d as defineCustomElement$8 } from './scrim.js';
|
|
44
|
+
import { d as defineCustomElement$7 } from './select.js';
|
|
45
|
+
import { d as defineCustomElement$6 } from './shell.js';
|
|
46
|
+
import { d as defineCustomElement$5 } from './slider.js';
|
|
47
|
+
import { d as defineCustomElement$4 } from './tooltip.js';
|
|
50
48
|
import { d as defineCustomElement$3 } from './instant-apps-filter-list2.js';
|
|
51
49
|
import { d as defineCustomElement$2 } from './instant-apps-social-share2.js';
|
|
52
50
|
import { d as defineCustomElement$1 } from './map-layer-picker2.js';
|
|
@@ -60,6 +58,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
60
58
|
this.__registerHost();
|
|
61
59
|
this.featureSelectionChange = createEvent(this, "featureSelectionChange", 7);
|
|
62
60
|
this.toggleFilter = createEvent(this, "toggleFilter", 7);
|
|
61
|
+
this.showDelete = createEvent(this, "showDelete", 7);
|
|
63
62
|
this.appLayout = undefined;
|
|
64
63
|
this.defaultGlobalId = undefined;
|
|
65
64
|
this.defaultLayerId = undefined;
|
|
@@ -90,7 +89,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
90
89
|
this._filterOpen = false;
|
|
91
90
|
this._layer = undefined;
|
|
92
91
|
this._selectAllActive = false;
|
|
93
|
-
this._deleteDialogOpen = false;
|
|
94
92
|
this._showHideOpen = false;
|
|
95
93
|
this._showOnlySelected = false;
|
|
96
94
|
this._toolInfos = undefined;
|
|
@@ -457,6 +455,10 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
457
455
|
* Emitted on demand when filter action is clicked
|
|
458
456
|
*/
|
|
459
457
|
toggleFilter;
|
|
458
|
+
/**
|
|
459
|
+
* Emitted on demand when when the delete dialog should be shown
|
|
460
|
+
*/
|
|
461
|
+
showDelete;
|
|
460
462
|
/**
|
|
461
463
|
* Scroll and zoom to the selected feature from the Features widget.
|
|
462
464
|
*
|
|
@@ -570,10 +572,10 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
570
572
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
|
571
573
|
const showSearch = this._canShowFullTextSearch();
|
|
572
574
|
this._validateActiveActions();
|
|
573
|
-
return (h(Host, { key: '
|
|
574
|
-
h("div", { key: '
|
|
575
|
+
return (h(Host, { key: 'ade26bd309af37b5b9f9bdc355f1cf6c575fa89a' }, h("calcite-shell", { key: '95668ae72cde1a3600e17a0d138ba8b810a4c525' }, this._getTableControlRow("header"), h("div", { key: '488eabfc4666c0d81aacbac523e7ba20288a4701', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '75d01c41afbb872f57472adc76045431163c0cab', class: "height-full width-full" }, showSearch &&
|
|
576
|
+
h("div", { key: 'b6062ca6e5702fc835777a6fe6ecec7a66926bc0', class: "search-container" }, h("calcite-input", { key: 'eade11ccb0d7b6d5aed838dbb6b2eaec4286d8c6', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), h("calcite-loader", { key: '889c97b23074f5be4b045199cf48632720d6c598', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '4ac0bfdaf07c38ff57008bade29b4b90b11f437d', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
|
575
577
|
.replace("{{total}}", total)
|
|
576
|
-
.replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal()
|
|
578
|
+
.replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal()));
|
|
577
579
|
}
|
|
578
580
|
_deleteDialog;
|
|
579
581
|
/**
|
|
@@ -1169,7 +1171,9 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1169
1171
|
*
|
|
1170
1172
|
*/
|
|
1171
1173
|
_showDelete() {
|
|
1172
|
-
this.
|
|
1174
|
+
this.showDelete.emit({
|
|
1175
|
+
ids: this._getIds()
|
|
1176
|
+
});
|
|
1173
1177
|
}
|
|
1174
1178
|
/**
|
|
1175
1179
|
* Get an action and tooltip for share
|
|
@@ -1247,7 +1251,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1247
1251
|
*/
|
|
1248
1252
|
_getDangerAction(icon, label, func, disabled) {
|
|
1249
1253
|
const _disabled = this._layer === undefined ? true : disabled;
|
|
1250
|
-
return (h("div", { class: "display-flex", id: this._getId(icon) },
|
|
1254
|
+
return (h("div", { class: "display-flex", id: this._getId(icon) }, (h("calcite-action", { appearance: "solid", compact: true, disabled: _disabled, id: icon, onClick: func, text: "" }, h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
|
|
1251
1255
|
}
|
|
1252
1256
|
/**
|
|
1253
1257
|
* Return all currently selected IDs from the table
|
|
@@ -2005,7 +2009,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
2005
2009
|
"_filterOpen": [32],
|
|
2006
2010
|
"_layer": [32],
|
|
2007
2011
|
"_selectAllActive": [32],
|
|
2008
|
-
"_deleteDialogOpen": [32],
|
|
2009
2012
|
"_showHideOpen": [32],
|
|
2010
2013
|
"_showOnlySelected": [32],
|
|
2011
2014
|
"_toolInfos": [32],
|
|
@@ -2037,7 +2040,7 @@ function defineCustomElement() {
|
|
|
2037
2040
|
if (typeof customElements === "undefined") {
|
|
2038
2041
|
return;
|
|
2039
2042
|
}
|
|
2040
|
-
const components = ["layer-table", "calcite-action", "calcite-action-bar", "calcite-action-group", "calcite-action-menu", "calcite-block", "calcite-button", "calcite-checkbox", "calcite-chip", "calcite-combobox", "calcite-combobox-item", "calcite-date-picker", "calcite-date-picker-day", "calcite-date-picker-month", "calcite-date-picker-month-header", "calcite-dropdown", "calcite-dropdown-group", "calcite-dropdown-item", "calcite-graph", "calcite-handle", "calcite-icon", "calcite-input", "calcite-input-date-picker", "calcite-input-text", "calcite-label", "calcite-loader", "calcite-modal", "calcite-notice", "calcite-option", "calcite-panel", "calcite-popover", "calcite-progress", "calcite-scrim", "calcite-select", "calcite-shell", "calcite-slider", "calcite-tooltip", "
|
|
2043
|
+
const components = ["layer-table", "calcite-action", "calcite-action-bar", "calcite-action-group", "calcite-action-menu", "calcite-block", "calcite-button", "calcite-checkbox", "calcite-chip", "calcite-combobox", "calcite-combobox-item", "calcite-date-picker", "calcite-date-picker-day", "calcite-date-picker-month", "calcite-date-picker-month-header", "calcite-dropdown", "calcite-dropdown-group", "calcite-dropdown-item", "calcite-graph", "calcite-handle", "calcite-icon", "calcite-input", "calcite-input-date-picker", "calcite-input-text", "calcite-label", "calcite-loader", "calcite-modal", "calcite-notice", "calcite-option", "calcite-panel", "calcite-popover", "calcite-progress", "calcite-scrim", "calcite-select", "calcite-shell", "calcite-slider", "calcite-tooltip", "instant-apps-filter-list", "instant-apps-social-share", "map-layer-picker"];
|
|
2041
2044
|
components.forEach(tagName => { switch (tagName) {
|
|
2042
2045
|
case "layer-table":
|
|
2043
2046
|
if (!customElements.get(tagName)) {
|
|
@@ -2045,191 +2048,181 @@ function defineCustomElement() {
|
|
|
2045
2048
|
}
|
|
2046
2049
|
break;
|
|
2047
2050
|
case "calcite-action":
|
|
2048
|
-
if (!customElements.get(tagName)) {
|
|
2049
|
-
defineCustomElement$F();
|
|
2050
|
-
}
|
|
2051
|
-
break;
|
|
2052
|
-
case "calcite-action-bar":
|
|
2053
|
-
if (!customElements.get(tagName)) {
|
|
2054
|
-
defineCustomElement$E();
|
|
2055
|
-
}
|
|
2056
|
-
break;
|
|
2057
|
-
case "calcite-action-group":
|
|
2058
2051
|
if (!customElements.get(tagName)) {
|
|
2059
2052
|
defineCustomElement$D();
|
|
2060
2053
|
}
|
|
2061
2054
|
break;
|
|
2062
|
-
case "calcite-action-
|
|
2055
|
+
case "calcite-action-bar":
|
|
2063
2056
|
if (!customElements.get(tagName)) {
|
|
2064
2057
|
defineCustomElement$C();
|
|
2065
2058
|
}
|
|
2066
2059
|
break;
|
|
2067
|
-
case "calcite-
|
|
2060
|
+
case "calcite-action-group":
|
|
2068
2061
|
if (!customElements.get(tagName)) {
|
|
2069
2062
|
defineCustomElement$B();
|
|
2070
2063
|
}
|
|
2071
2064
|
break;
|
|
2072
|
-
case "calcite-
|
|
2065
|
+
case "calcite-action-menu":
|
|
2073
2066
|
if (!customElements.get(tagName)) {
|
|
2074
2067
|
defineCustomElement$A();
|
|
2075
2068
|
}
|
|
2076
2069
|
break;
|
|
2077
|
-
case "calcite-
|
|
2070
|
+
case "calcite-block":
|
|
2078
2071
|
if (!customElements.get(tagName)) {
|
|
2079
2072
|
defineCustomElement$z();
|
|
2080
2073
|
}
|
|
2081
2074
|
break;
|
|
2082
|
-
case "calcite-
|
|
2075
|
+
case "calcite-button":
|
|
2083
2076
|
if (!customElements.get(tagName)) {
|
|
2084
2077
|
defineCustomElement$y();
|
|
2085
2078
|
}
|
|
2086
2079
|
break;
|
|
2087
|
-
case "calcite-
|
|
2080
|
+
case "calcite-checkbox":
|
|
2088
2081
|
if (!customElements.get(tagName)) {
|
|
2089
2082
|
defineCustomElement$x();
|
|
2090
2083
|
}
|
|
2091
2084
|
break;
|
|
2092
|
-
case "calcite-
|
|
2085
|
+
case "calcite-chip":
|
|
2093
2086
|
if (!customElements.get(tagName)) {
|
|
2094
2087
|
defineCustomElement$w();
|
|
2095
2088
|
}
|
|
2096
2089
|
break;
|
|
2097
|
-
case "calcite-
|
|
2090
|
+
case "calcite-combobox":
|
|
2098
2091
|
if (!customElements.get(tagName)) {
|
|
2099
2092
|
defineCustomElement$v();
|
|
2100
2093
|
}
|
|
2101
2094
|
break;
|
|
2102
|
-
case "calcite-
|
|
2095
|
+
case "calcite-combobox-item":
|
|
2103
2096
|
if (!customElements.get(tagName)) {
|
|
2104
2097
|
defineCustomElement$u();
|
|
2105
2098
|
}
|
|
2106
2099
|
break;
|
|
2107
|
-
case "calcite-date-picker
|
|
2100
|
+
case "calcite-date-picker":
|
|
2108
2101
|
if (!customElements.get(tagName)) {
|
|
2109
2102
|
defineCustomElement$t();
|
|
2110
2103
|
}
|
|
2111
2104
|
break;
|
|
2112
|
-
case "calcite-date-picker-
|
|
2105
|
+
case "calcite-date-picker-day":
|
|
2113
2106
|
if (!customElements.get(tagName)) {
|
|
2114
2107
|
defineCustomElement$s();
|
|
2115
2108
|
}
|
|
2116
2109
|
break;
|
|
2117
|
-
case "calcite-
|
|
2110
|
+
case "calcite-date-picker-month":
|
|
2118
2111
|
if (!customElements.get(tagName)) {
|
|
2119
2112
|
defineCustomElement$r();
|
|
2120
2113
|
}
|
|
2121
2114
|
break;
|
|
2122
|
-
case "calcite-
|
|
2115
|
+
case "calcite-date-picker-month-header":
|
|
2123
2116
|
if (!customElements.get(tagName)) {
|
|
2124
2117
|
defineCustomElement$q();
|
|
2125
2118
|
}
|
|
2126
2119
|
break;
|
|
2127
|
-
case "calcite-dropdown
|
|
2120
|
+
case "calcite-dropdown":
|
|
2128
2121
|
if (!customElements.get(tagName)) {
|
|
2129
2122
|
defineCustomElement$p();
|
|
2130
2123
|
}
|
|
2131
2124
|
break;
|
|
2132
|
-
case "calcite-
|
|
2125
|
+
case "calcite-dropdown-group":
|
|
2133
2126
|
if (!customElements.get(tagName)) {
|
|
2134
2127
|
defineCustomElement$o();
|
|
2135
2128
|
}
|
|
2136
2129
|
break;
|
|
2137
|
-
case "calcite-
|
|
2130
|
+
case "calcite-dropdown-item":
|
|
2138
2131
|
if (!customElements.get(tagName)) {
|
|
2139
2132
|
defineCustomElement$n();
|
|
2140
2133
|
}
|
|
2141
2134
|
break;
|
|
2142
|
-
case "calcite-
|
|
2135
|
+
case "calcite-graph":
|
|
2143
2136
|
if (!customElements.get(tagName)) {
|
|
2144
2137
|
defineCustomElement$m();
|
|
2145
2138
|
}
|
|
2146
2139
|
break;
|
|
2147
|
-
case "calcite-
|
|
2140
|
+
case "calcite-handle":
|
|
2148
2141
|
if (!customElements.get(tagName)) {
|
|
2149
2142
|
defineCustomElement$l();
|
|
2150
2143
|
}
|
|
2151
2144
|
break;
|
|
2152
|
-
case "calcite-
|
|
2145
|
+
case "calcite-icon":
|
|
2153
2146
|
if (!customElements.get(tagName)) {
|
|
2154
2147
|
defineCustomElement$k();
|
|
2155
2148
|
}
|
|
2156
2149
|
break;
|
|
2157
|
-
case "calcite-input
|
|
2150
|
+
case "calcite-input":
|
|
2158
2151
|
if (!customElements.get(tagName)) {
|
|
2159
2152
|
defineCustomElement$j();
|
|
2160
2153
|
}
|
|
2161
2154
|
break;
|
|
2162
|
-
case "calcite-
|
|
2155
|
+
case "calcite-input-date-picker":
|
|
2163
2156
|
if (!customElements.get(tagName)) {
|
|
2164
2157
|
defineCustomElement$i();
|
|
2165
2158
|
}
|
|
2166
2159
|
break;
|
|
2167
|
-
case "calcite-
|
|
2160
|
+
case "calcite-input-text":
|
|
2168
2161
|
if (!customElements.get(tagName)) {
|
|
2169
2162
|
defineCustomElement$h();
|
|
2170
2163
|
}
|
|
2171
2164
|
break;
|
|
2172
|
-
case "calcite-
|
|
2165
|
+
case "calcite-label":
|
|
2173
2166
|
if (!customElements.get(tagName)) {
|
|
2174
2167
|
defineCustomElement$g();
|
|
2175
2168
|
}
|
|
2176
2169
|
break;
|
|
2177
|
-
case "calcite-
|
|
2170
|
+
case "calcite-loader":
|
|
2178
2171
|
if (!customElements.get(tagName)) {
|
|
2179
2172
|
defineCustomElement$f();
|
|
2180
2173
|
}
|
|
2181
2174
|
break;
|
|
2182
|
-
case "calcite-
|
|
2175
|
+
case "calcite-modal":
|
|
2183
2176
|
if (!customElements.get(tagName)) {
|
|
2184
2177
|
defineCustomElement$e();
|
|
2185
2178
|
}
|
|
2186
2179
|
break;
|
|
2187
|
-
case "calcite-
|
|
2180
|
+
case "calcite-notice":
|
|
2188
2181
|
if (!customElements.get(tagName)) {
|
|
2189
2182
|
defineCustomElement$d();
|
|
2190
2183
|
}
|
|
2191
2184
|
break;
|
|
2192
|
-
case "calcite-
|
|
2185
|
+
case "calcite-option":
|
|
2193
2186
|
if (!customElements.get(tagName)) {
|
|
2194
2187
|
defineCustomElement$c();
|
|
2195
2188
|
}
|
|
2196
2189
|
break;
|
|
2197
|
-
case "calcite-
|
|
2190
|
+
case "calcite-panel":
|
|
2198
2191
|
if (!customElements.get(tagName)) {
|
|
2199
2192
|
defineCustomElement$b();
|
|
2200
2193
|
}
|
|
2201
2194
|
break;
|
|
2202
|
-
case "calcite-
|
|
2195
|
+
case "calcite-popover":
|
|
2203
2196
|
if (!customElements.get(tagName)) {
|
|
2204
2197
|
defineCustomElement$a();
|
|
2205
2198
|
}
|
|
2206
2199
|
break;
|
|
2207
|
-
case "calcite-
|
|
2200
|
+
case "calcite-progress":
|
|
2208
2201
|
if (!customElements.get(tagName)) {
|
|
2209
2202
|
defineCustomElement$9();
|
|
2210
2203
|
}
|
|
2211
2204
|
break;
|
|
2212
|
-
case "calcite-
|
|
2205
|
+
case "calcite-scrim":
|
|
2213
2206
|
if (!customElements.get(tagName)) {
|
|
2214
2207
|
defineCustomElement$8();
|
|
2215
2208
|
}
|
|
2216
2209
|
break;
|
|
2217
|
-
case "calcite-
|
|
2210
|
+
case "calcite-select":
|
|
2218
2211
|
if (!customElements.get(tagName)) {
|
|
2219
2212
|
defineCustomElement$7();
|
|
2220
2213
|
}
|
|
2221
2214
|
break;
|
|
2222
|
-
case "calcite-
|
|
2215
|
+
case "calcite-shell":
|
|
2223
2216
|
if (!customElements.get(tagName)) {
|
|
2224
2217
|
defineCustomElement$6();
|
|
2225
2218
|
}
|
|
2226
2219
|
break;
|
|
2227
|
-
case "
|
|
2220
|
+
case "calcite-slider":
|
|
2228
2221
|
if (!customElements.get(tagName)) {
|
|
2229
2222
|
defineCustomElement$5();
|
|
2230
2223
|
}
|
|
2231
2224
|
break;
|
|
2232
|
-
case "
|
|
2225
|
+
case "calcite-tooltip":
|
|
2233
2226
|
if (!customElements.get(tagName)) {
|
|
2234
2227
|
defineCustomElement$4();
|
|
2235
2228
|
}
|
|
@@ -401,7 +401,7 @@ const MapCard = /*@__PURE__*/ proxyCustomElement(class MapCard extends HTMLEleme
|
|
|
401
401
|
const mapHeightClass = this.mapInfos?.length > 1 || this.isMapLayout ? "map-height" : "height-full";
|
|
402
402
|
const progressClass = this.isMapLayout ? "" : "display-none";
|
|
403
403
|
this._validateActiveActions();
|
|
404
|
-
return (h(Host, { key: '
|
|
404
|
+
return (h(Host, { key: '5861d407b8529c6834d5d05450693d1fff2b71ee' }, h("div", { key: '01e028e8a00fc66d5eaa8eb7f85b58d579c3e7ff', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options"), this.enableShare && !this.isMobile && this.isMapLayout ? this._getShare("share") : undefined), h("calcite-progress", { key: '6a0b7a2a734f3631b8c8a712acaf60a9e95c6c16', class: progressClass, value: 0 }), h("div", { key: '74cebf9c194bfc5b72be3b397821f586a5923fa4', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: '6c87207eecaacf61c594f1036af38c0548ea1767', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, locale: this.locale, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
|
|
405
405
|
}
|
|
406
406
|
/**
|
|
407
407
|
* Called each time after the component is loaded
|
|
@@ -185,7 +185,7 @@ const MapDrawTools = /*@__PURE__*/ proxyCustomElement(class MapDrawTools extends
|
|
|
185
185
|
"border" : "border esri-widget esri-sketch__panel";
|
|
186
186
|
const undoRedoClass = this.drawMode === EDrawMode.SKETCH ?
|
|
187
187
|
"display-none" : "esri-widget esri-sketch__panel border-left esri-sketch__section";
|
|
188
|
-
return (h(Host, { key: '
|
|
188
|
+
return (h(Host, { key: '253db0399bab5d5fc6f4232bb537ddeec81fec2c' }, h("div", { key: 'bbac53da8b8b1196cc3a7aedf5479cd4e33ab3ea', class: containerClass }, h("div", { key: '8d3dae2c2f82f7e4d7aae92d4a4c6050d2a96478', ref: (el) => { this._sketchElement = el; } }), h("div", { key: 'd635374374ebdff26157a1258ba84932d491e36a', class: undoRedoClass }, h("calcite-action", { key: 'fb437fec19fa7ffc57459e426ba988fd4d50c1e6', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { key: 'fd3f4f3e8b722b95c0b7aad1fc6b909a97787b86', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
|
|
189
189
|
}
|
|
190
190
|
//--------------------------------------------------------------------------
|
|
191
191
|
//
|
|
@@ -88,7 +88,7 @@ const MapFullscreen = /*@__PURE__*/ proxyCustomElement(class MapFullscreen exten
|
|
|
88
88
|
* Renders the component.
|
|
89
89
|
*/
|
|
90
90
|
render() {
|
|
91
|
-
return (h(Host, { key: '
|
|
91
|
+
return (h(Host, { key: '7eec3dc5ab76a4ad8fdd24d8d18f8e6cf2820dde' }, h("div", { key: '2093cc2a6a3678209e61eea63ebde2f69ec00011', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
94
|
* StencilJS: Called just after the component updates.
|
|
@@ -173,7 +173,7 @@ const MapLayerPicker = /*@__PURE__*/ proxyCustomElement(class MapLayerPicker ext
|
|
|
173
173
|
const id = "map-layer-picker";
|
|
174
174
|
let style = this.height > 0 ? { "height": `${this.height.toString()}px` } : {};
|
|
175
175
|
style = { ...style, "display": this.display };
|
|
176
|
-
return (h(Host, { key: '
|
|
176
|
+
return (h(Host, { key: '47d80c20f364f6d4f1a247f7f84d25ca4ff5cd7b' }, h("div", { key: '16ecc0c3dad51b0707304e003861e419796f3fba', class: "map-layer-picker-container", style: style }, h("div", { key: '56a3d93b9f91afd753952a0e86fe9ee426c529f5', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
|
|
177
177
|
!this._hasMultipleLayers && this.showSingleLayerAsLabel ? this._getSingleLayerPlaceholder() :
|
|
178
178
|
this.type === "combobox" ? this._getCombobox(id) :
|
|
179
179
|
this.type === "select" ? this._getSelect(id) : this._getDropdown(id)))));
|
|
@@ -73,7 +73,7 @@ const MapLegend = /*@__PURE__*/ proxyCustomElement(class MapLegend extends HTMLE
|
|
|
73
73
|
* StencilJS: Renders the component.
|
|
74
74
|
*/
|
|
75
75
|
render() {
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: '768d9d69042516c6d4edc55fcb0af23f90d33e6e' }, h("div", { key: 'e1147cf58240e7a6fcb9a00fce3649a380755e3d', ref: (el) => { this._legendElement = el; } })));
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
79
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
|
@@ -134,7 +134,7 @@ const MapPicker = /*@__PURE__*/ proxyCustomElement(class MapPicker extends HTMLE
|
|
|
134
134
|
* Renders the component.
|
|
135
135
|
*/
|
|
136
136
|
render() {
|
|
137
|
-
return (h(Host, { key: '
|
|
137
|
+
return (h(Host, { key: 'ecfbf2669de4ce8c916e47c7a731f0a3ad33b419' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
140
|
* Called once after the component has loaded
|
|
@@ -101,7 +101,7 @@ const MapSearch = /*@__PURE__*/ proxyCustomElement(class MapSearch extends HTMLE
|
|
|
101
101
|
* Renders the component.
|
|
102
102
|
*/
|
|
103
103
|
render() {
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: '36e0fb49fdedbe9e8789fba37f86a2f2d57b4e45' }, h("div", { key: '796ee258723e9277dc98323ba76def22bd7dca3a', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
|
|
105
105
|
}
|
|
106
106
|
//--------------------------------------------------------------------------
|
|
107
107
|
//
|
|
@@ -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: '
|
|
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: '
|
|
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
|
//
|