@esri/solutions-components 0.10.43 → 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 +42 -8
- 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 +61 -8
- 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 +113 -92
- 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 +42 -8
- 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 +9 -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-a1d8aed8.entry.js +0 -6
- package/dist/solutions-components/p-d7afbe8d.entry.js +0 -11
|
@@ -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;
|
|
@@ -261,6 +259,10 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
261
259
|
* string the current search expression
|
|
262
260
|
*/
|
|
263
261
|
_searchExpression;
|
|
262
|
+
/**
|
|
263
|
+
* number[]: selected features from table
|
|
264
|
+
*/
|
|
265
|
+
_tempSelectedIds;
|
|
264
266
|
//--------------------------------------------------------------------------
|
|
265
267
|
//
|
|
266
268
|
// Watch handlers
|
|
@@ -453,6 +455,10 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
453
455
|
* Emitted on demand when filter action is clicked
|
|
454
456
|
*/
|
|
455
457
|
toggleFilter;
|
|
458
|
+
/**
|
|
459
|
+
* Emitted on demand when when the delete dialog should be shown
|
|
460
|
+
*/
|
|
461
|
+
showDelete;
|
|
456
462
|
/**
|
|
457
463
|
* Scroll and zoom to the selected feature from the Features widget.
|
|
458
464
|
*
|
|
@@ -566,10 +572,10 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
566
572
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
|
567
573
|
const showSearch = this._canShowFullTextSearch();
|
|
568
574
|
this._validateActiveActions();
|
|
569
|
-
return (h(Host, { key: '
|
|
570
|
-
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
|
|
571
577
|
.replace("{{total}}", total)
|
|
572
|
-
.replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal()
|
|
578
|
+
.replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal()));
|
|
573
579
|
}
|
|
574
580
|
_deleteDialog;
|
|
575
581
|
/**
|
|
@@ -629,18 +635,37 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
629
635
|
*
|
|
630
636
|
*/
|
|
631
637
|
async _searchFullText() {
|
|
638
|
+
let selectedIds = [];
|
|
639
|
+
let showSelected = false;
|
|
640
|
+
if (this._showOnlySelected) {
|
|
641
|
+
selectedIds = this._tempSelectedIds;
|
|
642
|
+
showSelected = true;
|
|
643
|
+
}
|
|
644
|
+
else {
|
|
645
|
+
this._clearSelection();
|
|
646
|
+
this._tempSelectedIds = [];
|
|
647
|
+
}
|
|
632
648
|
//always clear previous search definition
|
|
633
649
|
if (this._searchExpression) {
|
|
634
650
|
this._clearSearchDefinitionExpression();
|
|
635
651
|
}
|
|
652
|
+
let searchedIds = [];
|
|
636
653
|
if (this._fullTextSearchInfo.length) {
|
|
637
654
|
if (this._fullTextSearchInfo[0].searchTerm) {
|
|
638
655
|
const searchQueryParams = this._layer.createQuery();
|
|
639
656
|
searchQueryParams.fullText = this._fullTextSearchInfo;
|
|
640
|
-
|
|
657
|
+
searchedIds = await this._layer.queryObjectIds(searchQueryParams);
|
|
658
|
+
if (showSelected && selectedIds?.length) {
|
|
659
|
+
searchedIds = searchedIds.filter((id) => selectedIds.includes(id));
|
|
660
|
+
}
|
|
641
661
|
await this._updateSearchDefinitionExpression(searchedIds?.length ? searchedIds : [-1]);
|
|
642
662
|
}
|
|
643
663
|
}
|
|
664
|
+
// highlight the feature only when selected feature is present in applied filter
|
|
665
|
+
if (showSelected && searchedIds?.length) {
|
|
666
|
+
this._showOnlySelected = true;
|
|
667
|
+
this._table.highlightIds.addMany(searchedIds.reverse());
|
|
668
|
+
}
|
|
644
669
|
//Added timeout and table.refresh() to avoid the issue in which we see empty table records after searching in combination to filter/reset filter
|
|
645
670
|
await new Promise(resolve => setTimeout(resolve, 800));
|
|
646
671
|
await this._updateAllIds();
|
|
@@ -1146,7 +1171,9 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1146
1171
|
*
|
|
1147
1172
|
*/
|
|
1148
1173
|
_showDelete() {
|
|
1149
|
-
this.
|
|
1174
|
+
this.showDelete.emit({
|
|
1175
|
+
ids: this._getIds()
|
|
1176
|
+
});
|
|
1150
1177
|
}
|
|
1151
1178
|
/**
|
|
1152
1179
|
* Get an action and tooltip for share
|
|
@@ -1224,7 +1251,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1224
1251
|
*/
|
|
1225
1252
|
_getDangerAction(icon, label, func, disabled) {
|
|
1226
1253
|
const _disabled = this._layer === undefined ? true : disabled;
|
|
1227
|
-
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)));
|
|
1228
1255
|
}
|
|
1229
1256
|
/**
|
|
1230
1257
|
* Return all currently selected IDs from the table
|
|
@@ -1260,6 +1287,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1260
1287
|
highlightEnabled: true,
|
|
1261
1288
|
multiSortEnabled: false,
|
|
1262
1289
|
visibleElements: {
|
|
1290
|
+
columnDescriptions: false,
|
|
1263
1291
|
header: false,
|
|
1264
1292
|
menu: false
|
|
1265
1293
|
},
|
|
@@ -1290,6 +1318,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1290
1318
|
// only readd in specific case where we have multiple selected and then click one of the currently selected
|
|
1291
1319
|
const reAdd = this.selectedIds.length > 1 && evt.removed.length === 1;
|
|
1292
1320
|
const newIds = reAdd ? evt.removed : ids.filter(id => this.selectedIds.indexOf(id) < 0);
|
|
1321
|
+
this._tempSelectedIds = newIds.length ? [...newIds] : [...this.selectedIds];
|
|
1293
1322
|
this._clearSelection();
|
|
1294
1323
|
this.selectedIds = [...newIds];
|
|
1295
1324
|
if (newIds.length > 0) {
|
|
@@ -1302,10 +1331,12 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1302
1331
|
else {
|
|
1303
1332
|
// https://github.com/Esri/solutions-components/issues/365
|
|
1304
1333
|
this.selectedIds = ids.reverse();
|
|
1334
|
+
this._tempSelectedIds = [...this.selectedIds];
|
|
1305
1335
|
}
|
|
1306
1336
|
}
|
|
1307
1337
|
else if (this._ctrlIsPressed) {
|
|
1308
1338
|
this.selectedIds = ids.reverse();
|
|
1339
|
+
this._tempSelectedIds = [...this.selectedIds];
|
|
1309
1340
|
}
|
|
1310
1341
|
else if (this._shiftIsPressed && ids?.length > 0) {
|
|
1311
1342
|
this._skipOnChange = true;
|
|
@@ -1342,6 +1373,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1342
1373
|
}, []);
|
|
1343
1374
|
const selectedIds = _start < _end ? idsInRange.reverse() : idsInRange;
|
|
1344
1375
|
this.selectedIds = [...new Set([...selectedIds, ...this.selectedIds])];
|
|
1376
|
+
this._tempSelectedIds = [...this.selectedIds];
|
|
1345
1377
|
this._table.highlightIds.addMany(this.selectedIds.filter(i => ids.indexOf(i) < 0));
|
|
1346
1378
|
}
|
|
1347
1379
|
}
|
|
@@ -1977,7 +2009,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
|
1977
2009
|
"_filterOpen": [32],
|
|
1978
2010
|
"_layer": [32],
|
|
1979
2011
|
"_selectAllActive": [32],
|
|
1980
|
-
"_deleteDialogOpen": [32],
|
|
1981
2012
|
"_showHideOpen": [32],
|
|
1982
2013
|
"_showOnlySelected": [32],
|
|
1983
2014
|
"_toolInfos": [32],
|
|
@@ -2009,7 +2040,7 @@ function defineCustomElement() {
|
|
|
2009
2040
|
if (typeof customElements === "undefined") {
|
|
2010
2041
|
return;
|
|
2011
2042
|
}
|
|
2012
|
-
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"];
|
|
2013
2044
|
components.forEach(tagName => { switch (tagName) {
|
|
2014
2045
|
case "layer-table":
|
|
2015
2046
|
if (!customElements.get(tagName)) {
|
|
@@ -2017,191 +2048,181 @@ function defineCustomElement() {
|
|
|
2017
2048
|
}
|
|
2018
2049
|
break;
|
|
2019
2050
|
case "calcite-action":
|
|
2020
|
-
if (!customElements.get(tagName)) {
|
|
2021
|
-
defineCustomElement$F();
|
|
2022
|
-
}
|
|
2023
|
-
break;
|
|
2024
|
-
case "calcite-action-bar":
|
|
2025
|
-
if (!customElements.get(tagName)) {
|
|
2026
|
-
defineCustomElement$E();
|
|
2027
|
-
}
|
|
2028
|
-
break;
|
|
2029
|
-
case "calcite-action-group":
|
|
2030
2051
|
if (!customElements.get(tagName)) {
|
|
2031
2052
|
defineCustomElement$D();
|
|
2032
2053
|
}
|
|
2033
2054
|
break;
|
|
2034
|
-
case "calcite-action-
|
|
2055
|
+
case "calcite-action-bar":
|
|
2035
2056
|
if (!customElements.get(tagName)) {
|
|
2036
2057
|
defineCustomElement$C();
|
|
2037
2058
|
}
|
|
2038
2059
|
break;
|
|
2039
|
-
case "calcite-
|
|
2060
|
+
case "calcite-action-group":
|
|
2040
2061
|
if (!customElements.get(tagName)) {
|
|
2041
2062
|
defineCustomElement$B();
|
|
2042
2063
|
}
|
|
2043
2064
|
break;
|
|
2044
|
-
case "calcite-
|
|
2065
|
+
case "calcite-action-menu":
|
|
2045
2066
|
if (!customElements.get(tagName)) {
|
|
2046
2067
|
defineCustomElement$A();
|
|
2047
2068
|
}
|
|
2048
2069
|
break;
|
|
2049
|
-
case "calcite-
|
|
2070
|
+
case "calcite-block":
|
|
2050
2071
|
if (!customElements.get(tagName)) {
|
|
2051
2072
|
defineCustomElement$z();
|
|
2052
2073
|
}
|
|
2053
2074
|
break;
|
|
2054
|
-
case "calcite-
|
|
2075
|
+
case "calcite-button":
|
|
2055
2076
|
if (!customElements.get(tagName)) {
|
|
2056
2077
|
defineCustomElement$y();
|
|
2057
2078
|
}
|
|
2058
2079
|
break;
|
|
2059
|
-
case "calcite-
|
|
2080
|
+
case "calcite-checkbox":
|
|
2060
2081
|
if (!customElements.get(tagName)) {
|
|
2061
2082
|
defineCustomElement$x();
|
|
2062
2083
|
}
|
|
2063
2084
|
break;
|
|
2064
|
-
case "calcite-
|
|
2085
|
+
case "calcite-chip":
|
|
2065
2086
|
if (!customElements.get(tagName)) {
|
|
2066
2087
|
defineCustomElement$w();
|
|
2067
2088
|
}
|
|
2068
2089
|
break;
|
|
2069
|
-
case "calcite-
|
|
2090
|
+
case "calcite-combobox":
|
|
2070
2091
|
if (!customElements.get(tagName)) {
|
|
2071
2092
|
defineCustomElement$v();
|
|
2072
2093
|
}
|
|
2073
2094
|
break;
|
|
2074
|
-
case "calcite-
|
|
2095
|
+
case "calcite-combobox-item":
|
|
2075
2096
|
if (!customElements.get(tagName)) {
|
|
2076
2097
|
defineCustomElement$u();
|
|
2077
2098
|
}
|
|
2078
2099
|
break;
|
|
2079
|
-
case "calcite-date-picker
|
|
2100
|
+
case "calcite-date-picker":
|
|
2080
2101
|
if (!customElements.get(tagName)) {
|
|
2081
2102
|
defineCustomElement$t();
|
|
2082
2103
|
}
|
|
2083
2104
|
break;
|
|
2084
|
-
case "calcite-date-picker-
|
|
2105
|
+
case "calcite-date-picker-day":
|
|
2085
2106
|
if (!customElements.get(tagName)) {
|
|
2086
2107
|
defineCustomElement$s();
|
|
2087
2108
|
}
|
|
2088
2109
|
break;
|
|
2089
|
-
case "calcite-
|
|
2110
|
+
case "calcite-date-picker-month":
|
|
2090
2111
|
if (!customElements.get(tagName)) {
|
|
2091
2112
|
defineCustomElement$r();
|
|
2092
2113
|
}
|
|
2093
2114
|
break;
|
|
2094
|
-
case "calcite-
|
|
2115
|
+
case "calcite-date-picker-month-header":
|
|
2095
2116
|
if (!customElements.get(tagName)) {
|
|
2096
2117
|
defineCustomElement$q();
|
|
2097
2118
|
}
|
|
2098
2119
|
break;
|
|
2099
|
-
case "calcite-dropdown
|
|
2120
|
+
case "calcite-dropdown":
|
|
2100
2121
|
if (!customElements.get(tagName)) {
|
|
2101
2122
|
defineCustomElement$p();
|
|
2102
2123
|
}
|
|
2103
2124
|
break;
|
|
2104
|
-
case "calcite-
|
|
2125
|
+
case "calcite-dropdown-group":
|
|
2105
2126
|
if (!customElements.get(tagName)) {
|
|
2106
2127
|
defineCustomElement$o();
|
|
2107
2128
|
}
|
|
2108
2129
|
break;
|
|
2109
|
-
case "calcite-
|
|
2130
|
+
case "calcite-dropdown-item":
|
|
2110
2131
|
if (!customElements.get(tagName)) {
|
|
2111
2132
|
defineCustomElement$n();
|
|
2112
2133
|
}
|
|
2113
2134
|
break;
|
|
2114
|
-
case "calcite-
|
|
2135
|
+
case "calcite-graph":
|
|
2115
2136
|
if (!customElements.get(tagName)) {
|
|
2116
2137
|
defineCustomElement$m();
|
|
2117
2138
|
}
|
|
2118
2139
|
break;
|
|
2119
|
-
case "calcite-
|
|
2140
|
+
case "calcite-handle":
|
|
2120
2141
|
if (!customElements.get(tagName)) {
|
|
2121
2142
|
defineCustomElement$l();
|
|
2122
2143
|
}
|
|
2123
2144
|
break;
|
|
2124
|
-
case "calcite-
|
|
2145
|
+
case "calcite-icon":
|
|
2125
2146
|
if (!customElements.get(tagName)) {
|
|
2126
2147
|
defineCustomElement$k();
|
|
2127
2148
|
}
|
|
2128
2149
|
break;
|
|
2129
|
-
case "calcite-input
|
|
2150
|
+
case "calcite-input":
|
|
2130
2151
|
if (!customElements.get(tagName)) {
|
|
2131
2152
|
defineCustomElement$j();
|
|
2132
2153
|
}
|
|
2133
2154
|
break;
|
|
2134
|
-
case "calcite-
|
|
2155
|
+
case "calcite-input-date-picker":
|
|
2135
2156
|
if (!customElements.get(tagName)) {
|
|
2136
2157
|
defineCustomElement$i();
|
|
2137
2158
|
}
|
|
2138
2159
|
break;
|
|
2139
|
-
case "calcite-
|
|
2160
|
+
case "calcite-input-text":
|
|
2140
2161
|
if (!customElements.get(tagName)) {
|
|
2141
2162
|
defineCustomElement$h();
|
|
2142
2163
|
}
|
|
2143
2164
|
break;
|
|
2144
|
-
case "calcite-
|
|
2165
|
+
case "calcite-label":
|
|
2145
2166
|
if (!customElements.get(tagName)) {
|
|
2146
2167
|
defineCustomElement$g();
|
|
2147
2168
|
}
|
|
2148
2169
|
break;
|
|
2149
|
-
case "calcite-
|
|
2170
|
+
case "calcite-loader":
|
|
2150
2171
|
if (!customElements.get(tagName)) {
|
|
2151
2172
|
defineCustomElement$f();
|
|
2152
2173
|
}
|
|
2153
2174
|
break;
|
|
2154
|
-
case "calcite-
|
|
2175
|
+
case "calcite-modal":
|
|
2155
2176
|
if (!customElements.get(tagName)) {
|
|
2156
2177
|
defineCustomElement$e();
|
|
2157
2178
|
}
|
|
2158
2179
|
break;
|
|
2159
|
-
case "calcite-
|
|
2180
|
+
case "calcite-notice":
|
|
2160
2181
|
if (!customElements.get(tagName)) {
|
|
2161
2182
|
defineCustomElement$d();
|
|
2162
2183
|
}
|
|
2163
2184
|
break;
|
|
2164
|
-
case "calcite-
|
|
2185
|
+
case "calcite-option":
|
|
2165
2186
|
if (!customElements.get(tagName)) {
|
|
2166
2187
|
defineCustomElement$c();
|
|
2167
2188
|
}
|
|
2168
2189
|
break;
|
|
2169
|
-
case "calcite-
|
|
2190
|
+
case "calcite-panel":
|
|
2170
2191
|
if (!customElements.get(tagName)) {
|
|
2171
2192
|
defineCustomElement$b();
|
|
2172
2193
|
}
|
|
2173
2194
|
break;
|
|
2174
|
-
case "calcite-
|
|
2195
|
+
case "calcite-popover":
|
|
2175
2196
|
if (!customElements.get(tagName)) {
|
|
2176
2197
|
defineCustomElement$a();
|
|
2177
2198
|
}
|
|
2178
2199
|
break;
|
|
2179
|
-
case "calcite-
|
|
2200
|
+
case "calcite-progress":
|
|
2180
2201
|
if (!customElements.get(tagName)) {
|
|
2181
2202
|
defineCustomElement$9();
|
|
2182
2203
|
}
|
|
2183
2204
|
break;
|
|
2184
|
-
case "calcite-
|
|
2205
|
+
case "calcite-scrim":
|
|
2185
2206
|
if (!customElements.get(tagName)) {
|
|
2186
2207
|
defineCustomElement$8();
|
|
2187
2208
|
}
|
|
2188
2209
|
break;
|
|
2189
|
-
case "calcite-
|
|
2210
|
+
case "calcite-select":
|
|
2190
2211
|
if (!customElements.get(tagName)) {
|
|
2191
2212
|
defineCustomElement$7();
|
|
2192
2213
|
}
|
|
2193
2214
|
break;
|
|
2194
|
-
case "calcite-
|
|
2215
|
+
case "calcite-shell":
|
|
2195
2216
|
if (!customElements.get(tagName)) {
|
|
2196
2217
|
defineCustomElement$6();
|
|
2197
2218
|
}
|
|
2198
2219
|
break;
|
|
2199
|
-
case "
|
|
2220
|
+
case "calcite-slider":
|
|
2200
2221
|
if (!customElements.get(tagName)) {
|
|
2201
2222
|
defineCustomElement$5();
|
|
2202
2223
|
}
|
|
2203
2224
|
break;
|
|
2204
|
-
case "
|
|
2225
|
+
case "calcite-tooltip":
|
|
2205
2226
|
if (!customElements.get(tagName)) {
|
|
2206
2227
|
defineCustomElement$4();
|
|
2207
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
|
//
|
|
@@ -61,7 +61,7 @@ const PciCalculator$1 = /*@__PURE__*/ proxyCustomElement(class PciCalculator ext
|
|
|
61
61
|
render() {
|
|
62
62
|
const pciClass = !this.showAddDeduct ? "display-grid" : "display-none";
|
|
63
63
|
const deductClass = this.showAddDeduct ? "position-relative" : "display-none";
|
|
64
|
-
return (h(Host, { key: '
|
|
64
|
+
return (h(Host, { key: '4f333fa9aecd33cf2b34d85802c79256073f940c' }, h("div", { key: '6946f22e384fac51a20e2efb7b4ddbf2de7517ed', class: pciClass }, h("div", { key: 'e30e88571eb1b89588798d51ba788e4b6dc7d269', class: "label-display" }, h("calcite-label", { key: '034582e553ac4191939095cec8d836bc567ea77e', class: "label-display" }, "Enter comma delimited deduct values", this._getDeductValuesInput())), h("div", { key: '7fc1ae8d901b0a1ce820e53e225b275f1d779eb6' }, this._getCalculateButton())), h("div", { key: 'b74849f5007f54d3019be5e18a85769186edfffa', class: deductClass }, h("div", { key: 'ae8bf9314b0ead0b3f9d220d81cc410c2a29dc6f', class: "position-right" }, h("calcite-action", { key: 'cac38dc7e539275a0baeb0511fb8a09e8f96fa7a', appearance: 'transparent', class: "float-end", icon: "x", onClick: () => this._toggleShowAddDeduct(), scale: "s", text: '' })), h("deduct-calculator", { key: '68bcd78e3ef4505e5b1e5f0ea76d15f9e00fc18d', class: "display-grid padding-top-1", onDeductValueComplete: (evt) => this._addDeductValue(evt) }))));
|
|
65
65
|
}
|
|
66
66
|
//--------------------------------------------------------------------------
|
|
67
67
|
//
|
|
@@ -300,7 +300,7 @@ const PdfDownload = /*@__PURE__*/ proxyCustomElement(class PdfDownload extends H
|
|
|
300
300
|
* Renders the component.
|
|
301
301
|
*/
|
|
302
302
|
render() {
|
|
303
|
-
return (h(Host, { key: '
|
|
303
|
+
return (h(Host, { key: 'b3912d0709a26b249bf1dcaf77ff61036392c611' }, h("calcite-select", { key: 'ad6170eb7c52519940e8e93a8e552d660a9203f2', disabled: this.disabled, label: "", ref: (el) => { this._labelInfoElement = el; } })));
|
|
304
304
|
}
|
|
305
305
|
componentDidLoad() {
|
|
306
306
|
// Render the options outside of Stencil's rendering so that it doesn't mangle RTL text with embedded LTR
|
|
@@ -302,7 +302,7 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class PublicNotifi
|
|
|
302
302
|
*/
|
|
303
303
|
render() {
|
|
304
304
|
const headerSlot = this._isMobile ? "footer" : "header";
|
|
305
|
-
return (h(Host, { key: '
|
|
305
|
+
return (h(Host, { key: '0d4380d143c98ca5a3d2ddf0cf4ab2396eb2fd2a' }, h("calcite-shell", { key: '2768c18a968d0c1ec655dfe59fa6e9d1386e9aa3' }, h("calcite-action-bar", { key: 'a9f5ad4a339e0a6b729c753dfb7841bbedba6624', class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: headerSlot }, this._getActionGroup("list-check", EPageType.LIST, this._translations.myLists), this.showRefineSelection ? this._getActionGroup("test-data", EPageType.REFINE, this._translations.refineSelection) : null, this._getActionGroup("export", EPageType.EXPORT, this._translations.export)), this._getPage(this._pageType))));
|
|
306
306
|
}
|
|
307
307
|
/**
|
|
308
308
|
* StencilJS: Called once just after the component is first loaded.
|