@esri/solutions-components 0.10.44 → 0.10.46
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +5 -5
- package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/{calcite-alert_5.cjs.entry.js → calcite-alert_6.cjs.entry.js} +136 -0
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +6 -6
- package/dist/cjs/{calcite-shell_3.cjs.entry.js → calcite-shell.cjs.entry.js} +0 -256
- package/dist/cjs/card-manager_3.cjs.entry.js +13 -7
- package/dist/cjs/crowdsource-manager.cjs.entry.js +25 -4
- package/dist/cjs/delete-dialog.cjs.entry.js +131 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +19 -19
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +2 -2
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
- package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +31 -3
- package/dist/collection/components/layer-table/layer-table.js +32 -7
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +54 -20
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +2 -2
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/utils/interfaces.ts +4 -0
- package/dist/components/crowdsource-manager.js +27 -5
- package/dist/components/layer-table2.js +84 -91
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +19 -19
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +2 -2
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/solution-configuration.js +3 -3
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-accordion.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +5 -5
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/{calcite-alert_5.entry.js → calcite-alert_6.entry.js} +136 -1
- package/dist/esm/calcite-combobox_3.entry.js +1 -1
- package/dist/esm/calcite-shell-panel_14.entry.js +6 -6
- package/dist/esm/{calcite-shell_3.entry.js → calcite-shell.entry.js} +2 -256
- package/dist/esm/card-manager_3.entry.js +13 -7
- package/dist/esm/crowdsource-manager.entry.js +25 -4
- package/dist/esm/delete-dialog.entry.js +127 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +19 -19
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/public-notification.entry.js +2 -2
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/solution-configuration.entry.js +3 -3
- package/dist/esm/solution-contents_3.entry.js +3 -3
- package/dist/esm/solution-item-accordion.entry.js +1 -1
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/solutions-components/{p-ce53e33d.entry.js → p-11c2426d.entry.js} +2 -2
- package/dist/solutions-components/p-1336a071.entry.js +6 -0
- package/dist/solutions-components/{p-5001cc41.entry.js → p-274aa753.entry.js} +1 -1
- package/dist/solutions-components/{p-e1e21798.entry.js → p-36b864ba.entry.js} +1 -1
- package/dist/solutions-components/p-41503b16.entry.js +6 -0
- package/dist/solutions-components/{p-561c0e02.entry.js → p-44dc3dec.entry.js} +1 -1
- package/dist/solutions-components/{p-471d5c7f.entry.js → p-45ab1117.entry.js} +2 -2
- package/dist/solutions-components/p-49ed272d.entry.js +11 -0
- package/dist/solutions-components/{p-b7fbaeb7.entry.js → p-6b5b52c1.entry.js} +1 -1
- package/dist/solutions-components/{p-62d8796c.entry.js → p-7475b8b4.entry.js} +2 -2
- package/dist/solutions-components/{p-80e81af7.entry.js → p-7bcfe068.entry.js} +1 -1
- package/dist/solutions-components/{p-41314f33.entry.js → p-96027923.entry.js} +1 -1
- package/dist/solutions-components/p-9c25ee2c.entry.js +6 -0
- package/dist/solutions-components/{p-8d4a4498.entry.js → p-b6d50640.entry.js} +1 -1
- package/dist/solutions-components/p-b8d1b57a.entry.js +6 -0
- package/dist/solutions-components/p-b95968fa.entry.js +6 -0
- package/dist/solutions-components/p-d2f8d8a8.entry.js +6 -0
- package/dist/solutions-components/{p-d51c07d2.entry.js → p-f57978f3.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +4 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +19 -0
- package/dist/types/components/layer-table/layer-table.d.ts +5 -5
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +8 -8
- package/dist/types/components.d.ts +23 -2
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/utils/interfaces.d.ts +3 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-0a2e5861.entry.js +0 -6
- package/dist/solutions-components/p-56beff4c.entry.js +0 -6
- package/dist/solutions-components/p-8b92fe23.entry.js +0 -6
- package/dist/solutions-components/p-8e2f4995.entry.js +0 -6
- package/dist/solutions-components/p-d7afbe8d.entry.js +0 -11
- package/dist/solutions-components/p-f0509d41.entry.js +0 -6
@@ -51,12 +51,12 @@ const MapSelectTools = class {
|
|
51
51
|
this.sketchLineSymbol = undefined;
|
52
52
|
this.sketchPointSymbol = undefined;
|
53
53
|
this.sketchPolygonSymbol = undefined;
|
54
|
+
this.searchDistanceEnabled = false;
|
55
|
+
this.useLayerFeaturesEnabled = false;
|
54
56
|
this._numSelected = 0;
|
55
|
-
this._searchDistanceEnabled = false;
|
56
57
|
this._searchTerm = undefined;
|
57
58
|
this._selectionLoading = false;
|
58
59
|
this._translations = undefined;
|
59
|
-
this._useLayerFeaturesEnabled = false;
|
60
60
|
}
|
61
61
|
get el() { return index.getElement(this); }
|
62
62
|
//--------------------------------------------------------------------------
|
@@ -245,9 +245,9 @@ const MapSelectTools = class {
|
|
245
245
|
graphics: this._graphics,
|
246
246
|
selectLayers: this.layerViews,
|
247
247
|
skipGeomOIDs: this._skipGeomOIDs,
|
248
|
-
searchDistanceEnabled: this.
|
248
|
+
searchDistanceEnabled: this.searchDistanceEnabled,
|
249
249
|
workflowType: this._workflowType,
|
250
|
-
useLayerFeaturesEnabled: this.
|
250
|
+
useLayerFeaturesEnabled: this.useLayerFeaturesEnabled,
|
251
251
|
sketchGraphic: this._sketchGraphic
|
252
252
|
};
|
253
253
|
}
|
@@ -305,30 +305,30 @@ const MapSelectTools = class {
|
|
305
305
|
render() {
|
306
306
|
const mapToolsClass = this.enableSketchTools ? "" : "display-none";
|
307
307
|
const mapToolsContainerClass = this.enableSketchTools ? "padding-top-1" : "";
|
308
|
-
return (index.h(index.Host, { key: '
|
308
|
+
return (index.h(index.Host, { key: '1c312d53b800ca401726c653e12465e92abf0eef' }, this._getMapLayerPicker(), index.h("div", { key: '2da9eb5316656769ec2f80dfa5fbdc190c62b1cb', class: "border-bottom" }), index.h("div", { key: 'b21d332e5da0aa8cfb34fdab7a1075bfbd5efb42', class: "padding-top-sides-1" }, index.h("div", { key: '2dd59511d4f07cc2cd43b5b5c2a8037303d21546', class: "search-widget", ref: (el) => { this._searchElement = el; } }), index.h("div", { key: '1149bcd2f36171b82f6902fbf89bb0400383fdde', class: mapToolsContainerClass }, index.h("map-draw-tools", { key: '2d3b1b91a108bf2bb2db463e7ffd4574f4a36dac', active: true, class: mapToolsClass, editGraphicsEnabled: !this.useLayerFeaturesEnabled, graphics: this._graphics, locale: this.locale, mapView: this.mapView, onSketchGraphicsChange: (evt) => void this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, ref: (el) => { this._drawTools = el; } })), this.enableSearchDistance ? this._getBufferOptions() : undefined, this.enableLayerFeatures ? this._getUseLayerFeaturesOptions() : undefined, this._getNumSelected()), index.h("div", { key: 'd4068bef106e1f4226b1f9c104a626fe0a0f6700', class: "border-bottom" }), this._getNameInput()));
|
309
309
|
}
|
310
310
|
/**
|
311
311
|
* Renders the buffer tools component.
|
312
312
|
*/
|
313
313
|
_getBufferOptions() {
|
314
314
|
if (this.enableSearchDistanceOnLoad) {
|
315
|
-
this.
|
315
|
+
this.searchDistanceEnabled = true;
|
316
316
|
this.enableSearchDistanceOnLoad = false;
|
317
317
|
}
|
318
|
-
const showBufferToolsClass = this.
|
318
|
+
const showBufferToolsClass = this.searchDistanceEnabled ? "search-distance" : "div-not-visible";
|
319
319
|
const bufferDistance = typeof this.selectionSet?.distance === "number" ? this.selectionSet.distance : this.defaultBufferDistance;
|
320
|
-
return (index.h("div", null, index.h("div", { class: "padding-top-1 display-flex" }, index.h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, index.h("div", { class: "tooltip-container" }, this._translations.searchDistance, index.h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "search-distance-icon", scale: "s" }))), index.h("calcite-popover", { closable: true, label: "", referenceElement: "search-distance-icon" }, index.h("span", { class: "tooltip-message" }, this._translations.useSearchDistanceTootip)), index.h("calcite-switch", { checked: this.
|
320
|
+
return (index.h("div", null, index.h("div", { class: "padding-top-1 display-flex" }, index.h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, index.h("div", { class: "tooltip-container" }, this._translations.searchDistance, index.h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "search-distance-icon", scale: "s" }))), index.h("calcite-popover", { closable: true, label: "", referenceElement: "search-distance-icon" }, index.h("span", { class: "tooltip-message" }, this._translations.useSearchDistanceTootip)), index.h("calcite-switch", { checked: this.searchDistanceEnabled, onCalciteSwitchChange: () => this.searchDistanceEnabled = !this.searchDistanceEnabled })), index.h("div", { class: showBufferToolsClass }, index.h("buffer-tools", { disabled: !this.searchDistanceEnabled, distance: bufferDistance, geometries: this.geometries, locale: this.locale, onBufferComplete: (evt) => void this._bufferComplete(evt), ref: (el) => this._bufferTools = el, unit: this.selectionSet?.unit || this.defaultBufferUnit }))));
|
321
321
|
}
|
322
322
|
/**
|
323
323
|
* Renders the map layer picker component.
|
324
324
|
*/
|
325
325
|
_getUseLayerFeaturesOptions() {
|
326
326
|
if (this.enableLayerFeaturesOnLoad) {
|
327
|
-
this.
|
327
|
+
this.useLayerFeaturesEnabled = true;
|
328
328
|
this.enableLayerFeaturesOnLoad = false;
|
329
329
|
}
|
330
|
-
const useLayerFeaturesClass = this.
|
331
|
-
return (index.h("div", null, index.h("div", { class: "padding-top-1 display-flex" }, index.h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, index.h("div", { class: "tooltip-container" }, this._translations.useLayerFeatures, index.h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "use-layer-features-icon", scale: "s" }))), index.h("calcite-popover", { closable: true, label: "", referenceElement: "use-layer-features-icon" }, index.h("span", { class: "tooltip-message" }, this._translations.useLayerFeaturesTooltip)), index.h("calcite-switch", { checked: this.
|
330
|
+
const useLayerFeaturesClass = this.useLayerFeaturesEnabled ? "div-visible" : "div-not-visible";
|
331
|
+
return (index.h("div", null, index.h("div", { class: "padding-top-1 display-flex" }, index.h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, index.h("div", { class: "tooltip-container" }, this._translations.useLayerFeatures, index.h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "use-layer-features-icon", scale: "s" }))), index.h("calcite-popover", { closable: true, label: "", referenceElement: "use-layer-features-icon" }, index.h("span", { class: "tooltip-message" }, this._translations.useLayerFeaturesTooltip)), index.h("calcite-switch", { checked: this.useLayerFeaturesEnabled, onCalciteSwitchChange: () => { this._useLayerFeaturesEnabledChanged(); } })), index.h("div", { class: useLayerFeaturesClass + " padding-top-1" }, index.h("map-layer-picker", { enabledLayerIds: this.selectionLayerIds, locale: this.locale, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedIds: this.layerViews.map(l => l.layer.id), showTables: false }))));
|
332
332
|
}
|
333
333
|
/**
|
334
334
|
* Renders the number of selected features
|
@@ -409,8 +409,8 @@ const MapSelectTools = class {
|
|
409
409
|
this._selectLayers = this.selectionSet.selectLayers;
|
410
410
|
this._selectedIds = this.selectionSet.selectedIds;
|
411
411
|
this._skipGeomOIDs = this.selectionSet.skipGeomOIDs;
|
412
|
-
this.
|
413
|
-
this.
|
412
|
+
this.searchDistanceEnabled = this.selectionSet.searchDistanceEnabled;
|
413
|
+
this.useLayerFeaturesEnabled = this.selectionSet.useLayerFeaturesEnabled;
|
414
414
|
this._distance = this.selectionSet.searchDistanceEnabled ? this.selectionSet.distance : 0;
|
415
415
|
this._unit = this.selectionSet.unit;
|
416
416
|
this._workflowType = this.selectionSet.workflowType;
|
@@ -429,7 +429,7 @@ const MapSelectTools = class {
|
|
429
429
|
});
|
430
430
|
});
|
431
431
|
this._selectionLabel = this.selectionSet?.label;
|
432
|
-
if (!this.
|
432
|
+
if (!this.useLayerFeaturesEnabled) {
|
433
433
|
await this._drawTools?.updateGraphics();
|
434
434
|
}
|
435
435
|
await mapViewUtils.goToSelection(this.selectionSet.selectedIds, this.selectionSet.layerView, this.mapView, false);
|
@@ -635,13 +635,13 @@ const MapSelectTools = class {
|
|
635
635
|
if (!forceUpdate) {
|
636
636
|
this._sketchGraphic = graphics[0];
|
637
637
|
}
|
638
|
-
this._workflowType = this.
|
638
|
+
this._workflowType = this.useLayerFeaturesEnabled ? interfaces.EWorkflowType.SELECT : interfaces.EWorkflowType.SKETCH;
|
639
639
|
if (this._workflowType === interfaces.EWorkflowType.SKETCH) {
|
640
640
|
await this._drawTools.updateGraphics();
|
641
641
|
}
|
642
642
|
await this._updateLabel();
|
643
643
|
this._clearSearchWidget();
|
644
|
-
if (this.
|
644
|
+
if (this.useLayerFeaturesEnabled && !forceUpdate) {
|
645
645
|
// Will only ever be a single graphic
|
646
646
|
const geometries = Array.isArray(graphics) ? graphics.map(g => g.geometry) : this.geometries;
|
647
647
|
await this._selectLayerFeatures(geometries[0]);
|
@@ -955,7 +955,7 @@ const MapSelectTools = class {
|
|
955
955
|
* @protected
|
956
956
|
*/
|
957
957
|
_useLayerFeaturesEnabledChanged() {
|
958
|
-
this.
|
958
|
+
this.useLayerFeaturesEnabled = !this.useLayerFeaturesEnabled;
|
959
959
|
if (this._sketchGraphic) {
|
960
960
|
void this._sketchGraphicsChanged({
|
961
961
|
detail: {
|
@@ -1270,7 +1270,7 @@ const PdfDownload = class {
|
|
1270
1270
|
* Renders the component.
|
1271
1271
|
*/
|
1272
1272
|
render() {
|
1273
|
-
return (index.h(index.Host, { key: '
|
1273
|
+
return (index.h(index.Host, { key: 'b3912d0709a26b249bf1dcaf77ff61036392c611' }, index.h("calcite-select", { key: 'ad6170eb7c52519940e8e93a8e552d660a9203f2', disabled: this.disabled, label: "", ref: (el) => { this._labelInfoElement = el; } })));
|
1274
1274
|
}
|
1275
1275
|
componentDidLoad() {
|
1276
1276
|
// Render the options outside of Stencil's rendering so that it doesn't mangle RTL text with embedded LTR
|
@@ -1451,7 +1451,7 @@ const RefineSelection = class {
|
|
1451
1451
|
*/
|
1452
1452
|
render() {
|
1453
1453
|
const layerPickerClass = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
|
1454
|
-
return (index.h(index.Host, { key: '
|
1454
|
+
return (index.h(index.Host, { key: 'efa77aec940afdb80051b36300a492ac5764a413' }, index.h("div", { key: 'ac59062ad6b3bb15727d1d88ac99ba983c7a2ff9', class: layerPickerClass + " padding-top-sides-1" }, index.h("div", { key: '27599ce74e9f7d6133f6cbfa40db4acfa8c00eeb', class: "display-flex" }, index.h("calcite-label", { key: 'b8acd5160effc68b7ee03a85ba8d6d2a5966c3e8', class: "font-bold width-full label-margin-0" }, index.h("div", { key: 'b2185de868b979281984019dbea9cf58a8bdef59', class: "display-flex" }, this._translations.inputLayer, index.h("calcite-icon", { key: '3bd42d1897e3d4374c9affeb20a4af09866645b4', class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "refine-input-layer", scale: "s" })), index.h("map-layer-picker", { key: '3c7202cb44db02ff2650aa2075af55a51f180018', enabledLayerIds: this._enabledLayerIds, locale: this.locale, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id], showTables: false })), index.h("calcite-popover", { key: 'd70f7e4ad2926d05b05a2e74a4f69ae1bffb8cea', closable: true, label: "", referenceElement: "refine-input-layer" }, index.h("span", { key: 'bd70416a30a863e8cf96ac34c0b90cb420955344', class: "tooltip-message" }, this._translations.inputLayerTip)))), index.h("div", { key: '084b833c369a39179d28d1bbe07710fad7d47933', class: "padding-1" }, index.h("div", { key: '42056204fd2d97c1d2ab5fa9300b5d8bd903bb8a', class: "padding-bottom-1" }, index.h("calcite-segmented-control", { key: '6baa72a792c4785338ccfb462c019fa945bf1002', class: "w-100", width: "full" }, index.h("calcite-segmented-control-item", { key: 'e31ce029fcd48521aac0d7cb09426fc6afb0d536', checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(interfaces.ESelectionMode.ADD), value: interfaces.ESelectionMode.ADD }, index.h("span", { key: '63fa738b401c7d2e1d55ea63faa5d2fc9496feae', class: "font-weight-500" }, this._translations.add)), index.h("calcite-segmented-control-item", { key: '77510ca6a043780cf6bd4eb835b0f88a51d4b2f1', checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(interfaces.ESelectionMode.REMOVE), value: interfaces.ESelectionMode.REMOVE }, index.h("span", { key: '3ae3c0b4fd72d7f8cb72a8e013528f1f2539bed1', class: "font-weight-500" }, this._translations.remove)))), index.h("div", { key: '41a3bea7ebbc8f2e62d842804d8081aae112d703' }, index.h("map-draw-tools", { key: '1bd98c62b98e196c9ec907059c6728790aa872fc', active: true, drawMode: interfaces.EDrawMode.REFINE, locale: this.locale, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: this._refineSelectionSet?.redoStack.length > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: this._refineSelectionSet?.undoStack.length > 0 })), index.h("br", { key: 'ccdeef335f78d4eca3ebacd0fafb468db8c9ee7f' }), (index.h("calcite-list", { key: 'd2831ba128c37412ee91d51bc73d58ae0d3f0979', class: "list-border" }, this._getRefineSelectionSetList())))));
|
1455
1455
|
}
|
1456
1456
|
//--------------------------------------------------------------------------
|
1457
1457
|
//
|
@@ -54,7 +54,7 @@ const PciCalculator = class {
|
|
54
54
|
render() {
|
55
55
|
const pciClass = !this.showAddDeduct ? "display-grid" : "display-none";
|
56
56
|
const deductClass = this.showAddDeduct ? "position-relative" : "display-none";
|
57
|
-
return (index.h(index.Host, { key: '
|
57
|
+
return (index.h(index.Host, { key: '4f333fa9aecd33cf2b34d85802c79256073f940c' }, index.h("div", { key: '6946f22e384fac51a20e2efb7b4ddbf2de7517ed', class: pciClass }, index.h("div", { key: 'e30e88571eb1b89588798d51ba788e4b6dc7d269', class: "label-display" }, index.h("calcite-label", { key: '034582e553ac4191939095cec8d836bc567ea77e', class: "label-display" }, "Enter comma delimited deduct values", this._getDeductValuesInput())), index.h("div", { key: '7fc1ae8d901b0a1ce820e53e225b275f1d779eb6' }, this._getCalculateButton())), index.h("div", { key: 'b74849f5007f54d3019be5e18a85769186edfffa', class: deductClass }, index.h("div", { key: 'ae8bf9314b0ead0b3f9d220d81cc410c2a29dc6f', class: "position-right" }, index.h("calcite-action", { key: 'cac38dc7e539275a0baeb0511fb8a09e8f96fa7a', appearance: 'transparent', class: "float-end", icon: "x", onClick: () => this._toggleShowAddDeduct(), scale: "s", text: '' })), index.h("deduct-calculator", { key: '68bcd78e3ef4505e5b1e5f0ea76d15f9e00fc18d', class: "display-grid padding-top-1", onDeductValueComplete: (evt) => this._addDeductValue(evt) }))));
|
58
58
|
}
|
59
59
|
//--------------------------------------------------------------------------
|
60
60
|
//
|
@@ -267,7 +267,7 @@ const PublicNotification = class {
|
|
267
267
|
*/
|
268
268
|
render() {
|
269
269
|
const headerSlot = this._isMobile ? "footer" : "header";
|
270
|
-
return (index.h(index.Host, { key: '
|
270
|
+
return (index.h(index.Host, { key: '0d4380d143c98ca5a3d2ddf0cf4ab2396eb2fd2a' }, index.h("calcite-shell", { key: '2768c18a968d0c1ec655dfe59fa6e9d1386e9aa3' }, index.h("calcite-action-bar", { key: 'a9f5ad4a339e0a6b729c753dfb7841bbedba6624', class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: headerSlot }, this._getActionGroup("list-check", interfaces.EPageType.LIST, this._translations.myLists), this.showRefineSelection ? this._getActionGroup("test-data", interfaces.EPageType.REFINE, this._translations.refineSelection) : null, this._getActionGroup("export", interfaces.EPageType.EXPORT, this._translations.export)), this._getPage(this._pageType))));
|
271
271
|
}
|
272
272
|
/**
|
273
273
|
* StencilJS: Called once just after the component is first loaded.
|
@@ -604,7 +604,7 @@ const PublicNotification = class {
|
|
604
604
|
*/
|
605
605
|
_getSelectPage() {
|
606
606
|
const noticeText = this._translations.selectSearchTip;
|
607
|
-
return (index.h("calcite-panel", null, this._getLabel(this._translations.stepTwoFull, true), this._getNotice(noticeText, "padding-1", "word-wrap-anywhere"), index.h("div", null, index.h("map-select-tools", { bufferColor: this.bufferColor, bufferOutlineColor: this.bufferOutlineColor, class: "font-bold", customLabelEnabled: this.customLabelEnabled, defaultBufferDistance: this.defaultBufferDistance, defaultBufferUnit: this.defaultBufferUnit, enableLayerFeatures: this.enableLayerFeatures, enableLayerFeaturesOnLoad: this.enableLayerFeaturesOnLoad, enableSearchDistance: this.enableSearchDistance, enableSearchDistanceOnLoad: this.enableSearchDistanceOnLoad, enableSketchTools: this.enableSketchTools, enabledLayerIds: this.addresseeLayerIds, isUpdate: !!this._activeSelection, locale: this.locale, mapView: this.mapView, noResultText: this.noResultText, onSelectionSetChange: (evt) => this._updateForSelection(evt), ref: (el) => { this._selectTools = el; }, searchConfiguration: this._searchConfiguration, selectionLayerIds: this.selectionLayerIds, selectionSet: this._activeSelection, sketchLineSymbol: this.sketchLineSymbol, sketchPointSymbol: this.sketchPointSymbol, sketchPolygonSymbol: this.sketchPolygonSymbol })), this._getPageNavButtons(this._translations.done, this._numSelected === 0, () => { void this._saveSelection(); }, this._translations.cancel, false, () => { void this._home(); })));
|
607
|
+
return (index.h("calcite-panel", null, this._getLabel(this._translations.stepTwoFull, true), this._getNotice(noticeText, "padding-1", "word-wrap-anywhere"), index.h("div", null, index.h("map-select-tools", { bufferColor: this.bufferColor, bufferOutlineColor: this.bufferOutlineColor, class: "font-bold", customLabelEnabled: this.customLabelEnabled, defaultBufferDistance: this.defaultBufferDistance, defaultBufferUnit: this.defaultBufferUnit, enableLayerFeatures: this.enableLayerFeatures, enableLayerFeaturesOnLoad: this.enableLayerFeaturesOnLoad, enableSearchDistance: this.enableSearchDistance, enableSearchDistanceOnLoad: this.enableSearchDistanceOnLoad, enableSketchTools: this.enableSketchTools, enabledLayerIds: this.addresseeLayerIds, isUpdate: !!this._activeSelection, locale: this.locale, mapView: this.mapView, noResultText: this.noResultText, onSelectionSetChange: (evt) => this._updateForSelection(evt), ref: (el) => { this._selectTools = el; }, searchConfiguration: this._searchConfiguration, searchDistanceEnabled: this.enableSearchDistanceOnLoad, selectionLayerIds: this.selectionLayerIds, selectionSet: this._activeSelection, sketchLineSymbol: this.sketchLineSymbol, sketchPointSymbol: this.sketchPointSymbol, sketchPolygonSymbol: this.sketchPolygonSymbol, useLayerFeaturesEnabled: this.enableLayerFeaturesOnLoad })), this._getPageNavButtons(this._translations.done, this._numSelected === 0, () => { void this._saveSelection(); }, this._translations.cancel, false, () => { void this._home(); })));
|
608
608
|
}
|
609
609
|
/**
|
610
610
|
* Create the main download page that has the shared aspects of both PDF and CSV
|
@@ -53,7 +53,7 @@ const ShareItem = class {
|
|
53
53
|
//
|
54
54
|
//--------------------------------------------------------------------------
|
55
55
|
render() {
|
56
|
-
return (index.h(index.Host, { key: '
|
56
|
+
return (index.h(index.Host, { key: 'fb0d98cfbbb4becfc168d715f6198a3923f58e03' }, index.h("slot", { key: '60b3c4db7192cc50fb57056c172abf8fb0e048fd' })));
|
57
57
|
}
|
58
58
|
};
|
59
59
|
ShareItem.style = ShareItemStyle0;
|
@@ -1178,11 +1178,11 @@ const SolutionConfiguration = class {
|
|
1178
1178
|
const solutionData = solutionStore.state.getStoreInfo("solutionData");
|
1179
1179
|
this._solutionVariables = JSON.stringify(templates.getSolutionVariables(solutionData.templates, this._translations));
|
1180
1180
|
this._organizationVariables = JSON.stringify(templates.getOrganizationVariables(this._translations));
|
1181
|
-
return (index.h(index.Host, { key: '
|
1181
|
+
return (index.h(index.Host, { key: '809b0a719774c3b51ad151982f297b287691d0cc' }, !this._solutionIsLoaded
|
1182
1182
|
? index.h("calcite-loader", { label: '' })
|
1183
|
-
: null, index.h("div", { key: '
|
1183
|
+
: null, index.h("div", { key: '2544740bc686d7fe363bed2db65cdbe43bf4d5bd', class: "configuration-container" }, index.h("div", { key: '408a760b71313eb7e9eac8f6a678dc91e4638d6c', class: "configuration" }, index.h("calcite-tabs", { key: 'dd7305e5a4e9fa71a4ed3b1847fed522db9aab93', class: "config-tabs" }, index.h("calcite-tab-nav", { key: '86ed45d74d5ec71424c55647c3d2be6b26ecff64', slot: "tab-nav" }, index.h("calcite-tab-title", { key: '5c994072f82dad7c7a96dad36588590ee878bfe7' }, this._translations.definitionTab), hasServices ?
|
1184
1184
|
index.h("calcite-tab-title", null, this._translations.spatialReferenceTab) :
|
1185
|
-
null), index.h("calcite-tab", { key: '
|
1185
|
+
null), index.h("calcite-tab", { key: 'cbbcb55de04b43bd373adac942980c11532af4d5', class: "config-tab", selected: true }, index.h("div", { key: '23fa5d4811faeeb74af221d1c1ed10a49c9c6ef5', class: "config-solution" }, index.h("div", { key: 'b633743e464284e99dca1f80c93bf1ff5cb18870', class: this._treeOpen ? "config-inventory" : "config-inventory-hide" }, index.h("solution-contents", { id: "configInventory", key: `${this.solutionItemId}-contents`, ref: (el) => (this._solutionContentsComponent = el) })), index.h("calcite-button", { key: 'e415661d2902e809c6ce805e5e0ed26b6f4c29c0', appearance: "transparent", class: "collapse-btn", "icon-start": this._treeOpen ? "chevrons-left" : "chevrons-right", id: "collapse-vars", onClick: () => this._toggleTree(), scale: "s", title: this._treeOpen ? this._translations.collapse : this._translations.expand }), index.h("div", { key: 'a3968cb69c45376a0cbf2127e1c5126b4f34af54', class: "config-item" }, index.h("solution-item", { authentication: this.authentication, "item-id": this._currentEditItemId, key: `${this.solutionItemId}-item`, locale: this.locale, "organization-variables": this._organizationVariables, "solution-item-id": this.solutionItemId, "solution-variables": this._solutionVariables })))), hasServices
|
1186
1186
|
? index.h("calcite-tab", { class: "config-tab" }, index.h("div", { class: "config-solution" }, index.h("solution-spatial-ref", { enableDefault: !!spatialReferenceInfo.default, enabled: spatialReferenceInfo?.enabled, featureServices: solutionStore.state.getStoreInfo("featureServices").map(fs => fs.name), id: "configure-solution-spatial-ref", key: `${this.solutionItemId}-spatial-ref`, locale: this.locale })))
|
1187
1187
|
: null)))));
|
1188
1188
|
}
|
@@ -47,7 +47,7 @@ const SolutionContents = class {
|
|
47
47
|
* Renders the component.
|
48
48
|
*/
|
49
49
|
render() {
|
50
|
-
return (index.h(index.Host, { key: '
|
50
|
+
return (index.h(index.Host, { key: 'd91cfec3e955e635a3196043c935733a7f4c726d' }, index.h("calcite-tree", { key: '6fcf281c5f61578b8d343893367ab1bd97315387' }, this.renderHierarchy(this.templateHierarchy))));
|
51
51
|
}
|
52
52
|
renderHierarchy(objs) {
|
53
53
|
return objs.map((obj) => {
|
@@ -158,7 +158,7 @@ const SolutionItem = class {
|
|
158
158
|
* Renders the component.
|
159
159
|
*/
|
160
160
|
render() {
|
161
|
-
return (index.h(index.Host, { key: '
|
161
|
+
return (index.h(index.Host, { key: '721f488604e2d9ad7a063d0776e11587baca4d3d' }, index.h("div", { key: '32b1a71eddf54a139b62cc68b5acdd5e5cc53e7a', class: "configuration-container" }, index.h("div", { key: '9064802d85a4f77faec0bbc6c17b303c7b9bdf16', class: "configuration" }, this._showGroupTabs(this.itemType === "Group"), this._showItemTabs(this.itemType !== "Group")))));
|
162
162
|
}
|
163
163
|
//--------------------------------------------------------------------------
|
164
164
|
//
|
@@ -265,7 +265,7 @@ const SolutionSpatialRef = class {
|
|
265
265
|
}
|
266
266
|
render() {
|
267
267
|
this._updateUIFromStore();
|
268
|
-
return (index.h(index.Host, { key: '
|
268
|
+
return (index.h(index.Host, { key: '1badb0e90bbc64684ca6954c0d9122933ee894ce' }, index.h("label", { key: '3977294c964c895b537c709efe7b822d32a50239', class: "switch-label" }, index.h("calcite-switch", { key: '5e72cb2f635e584046cddcbd772a0fa5e729d6e8', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), index.h("br", { key: 'c952c9e94b4e1bfd65a2c01b469bfc799bed669b' }), index.h("div", { key: 'd4c63008954968f5e78e9383b27419b95a18b6be', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), index.h("label", { key: 'f49057d234fbc45d821b4da5971542f32ad845b7', class: "switch-label spatial-ref-component" }, index.h("calcite-switch", { key: '91754097e35a9218d6ce4412bc2d10ebc28e8518', checked: this.enableDefault, class: "spatial-ref-switch", disabled: !this.enabled, onCalciteSwitchChange: (event) => this.enableDefault = event.target.checked, scale: "m" }), this._translations.enableDefaultSpatialReference)));
|
269
269
|
}
|
270
270
|
//--------------------------------------------------------------------------
|
271
271
|
//
|
@@ -121,7 +121,7 @@ const SolutionItemAccordion = class {
|
|
121
121
|
* Renders the component.
|
122
122
|
*/
|
123
123
|
render() {
|
124
|
-
return (index.h(index.Host, { key: '
|
124
|
+
return (index.h(index.Host, { key: '3fd8de4658f18f1719282fabc3ca9299fa1a6952' }, this._getAccordion()));
|
125
125
|
}
|
126
126
|
//--------------------------------------------------------------------------
|
127
127
|
//
|
@@ -29,7 +29,7 @@ const SolutionItemIcon = class {
|
|
29
29
|
* Renders the component.
|
30
30
|
*/
|
31
31
|
render() {
|
32
|
-
return index.h("div", { key: '
|
32
|
+
return index.h("div", { key: 'e14a2bed4b4c74b5959d7b12f73f9c8a1b374e6d', title: this.type }, index.h("img", { key: 'd7a7eccc3361946b2641e8499af21b199792a223', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
|
33
33
|
}
|
34
34
|
//--------------------------------------------------------------------------
|
35
35
|
//
|