@esri/solutions-components 0.10.7 → 0.10.9
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 +24 -8
- package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +354 -967
- package/dist/cjs/calcite-graph_2.cjs.entry.js +1082 -0
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tree_3.cjs.entry.js +1 -1
- package/dist/cjs/card-manager_3.cjs.entry.js +246 -18
- package/dist/cjs/crowdsource-manager.cjs.entry.js +171 -50
- 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/refine-results-flow-item.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/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_en.json +5 -1
- package/dist/collection/assets/t9n/layer-table/resources.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_en.json +1 -0
- package/dist/collection/assets/t9n/map-card/resources.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_en.json +6 -1
- package/dist/collection/components/card-manager/card-manager.js +34 -8
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +176 -84
- package/dist/collection/components/layer-table/layer-table.js +175 -8
- package/dist/collection/components/map-card/map-card.css +4 -0
- package/dist/collection/components/map-card/map-card.js +368 -3
- 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 +9 -3
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.css +8 -0
- package/dist/collection/components/map-picker/map-picker.js +74 -3
- 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-results-flow-item/refine-results-flow-item.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-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/demos/crowdsource-manager.html +1 -0
- package/dist/components/card-manager2.js +20 -8
- package/dist/components/crowdsource-manager.js +175 -55
- package/dist/components/layer-table2.js +72 -10
- package/dist/components/map-card2.js +288 -47
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +9 -3
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +24 -5
- 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-results-flow-item.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-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 +24 -8
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/calcite-combobox_3.entry.js +369 -982
- package/dist/esm/calcite-graph_2.entry.js +1077 -0
- package/dist/esm/calcite-shell-panel_14.entry.js +6 -6
- package/dist/esm/calcite-tree_3.entry.js +1 -1
- package/dist/esm/card-manager_3.entry.js +248 -20
- package/dist/esm/crowdsource-manager.entry.js +172 -51
- 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/refine-results-flow-item.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/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_en.json +5 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_en.json +1 -0
- package/dist/solutions-components/assets/t9n/map-card/resources.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_en.json +6 -1
- package/dist/solutions-components/demos/crowdsource-manager.html +1 -0
- package/dist/solutions-components/p-0abc1354.entry.js +6 -0
- package/dist/solutions-components/p-0f7b5d36.entry.js +6 -0
- package/dist/solutions-components/{p-a9818be2.entry.js → p-20c465e9.entry.js} +1 -1
- package/dist/solutions-components/{p-db18bce8.entry.js → p-36b50b5b.entry.js} +1 -1
- package/dist/solutions-components/{p-85512ae3.entry.js → p-445213cf.entry.js} +1 -1
- package/dist/solutions-components/{p-d49f895d.entry.js → p-4a5f0a97.entry.js} +1 -1
- package/dist/solutions-components/{p-002c97df.entry.js → p-5d201016.entry.js} +1 -1
- package/dist/solutions-components/{p-b7cec3bd.entry.js → p-618bafec.entry.js} +1 -1
- package/dist/solutions-components/p-6a66d5a9.entry.js +6 -0
- package/dist/solutions-components/p-71a2d5b8.entry.js +6 -0
- package/dist/solutions-components/p-7a64b026.entry.js +17 -0
- package/dist/solutions-components/p-7d514d7f.entry.js +6 -0
- package/dist/solutions-components/p-85c25564.entry.js +6 -0
- package/dist/solutions-components/{p-235bf02e.entry.js → p-913413c3.entry.js} +1 -1
- package/dist/solutions-components/{p-49aa2929.entry.js → p-bebd4646.entry.js} +1 -1
- package/dist/solutions-components/p-ce454f5a.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/card-manager/card-manager.d.ts +11 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +88 -22
- package/dist/types/components/layer-table/layer-table.d.ts +30 -0
- package/dist/types/components/map-card/map-card.d.ts +124 -0
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +4 -0
- package/dist/types/components/map-picker/map-picker.d.ts +12 -0
- package/dist/types/components.d.ts +130 -8
- package/dist/types/preact.d.ts +4 -2
- package/package.json +5 -5
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +0 -453
- package/dist/esm/calcite-dropdown-group_2.entry.js +0 -448
- package/dist/solutions-components/p-129fd80e.entry.js +0 -6
- package/dist/solutions-components/p-3b426576.entry.js +0 -6
- package/dist/solutions-components/p-72b217f2.entry.js +0 -6
- package/dist/solutions-components/p-8b999a2b.entry.js +0 -6
- package/dist/solutions-components/p-973ff7b2.entry.js +0 -23
- package/dist/solutions-components/p-a001f9c9.entry.js +0 -6
- package/dist/solutions-components/p-c683b3fe.entry.js +0 -6
- package/dist/solutions-components/p-e9d049bd.entry.js +0 -6
@@ -23,7 +23,7 @@ import { d as defineCustomElement$3 } from './scrim.js';
|
|
23
23
|
import { d as defineCustomElement$2 } from './stack.js';
|
24
24
|
import { d as defineCustomElement$1 } from './tooltip.js';
|
25
25
|
|
26
|
-
const mapPickerCss = ":host{display:block;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100%}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}";
|
26
|
+
const mapPickerCss = ":host{display:block;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100%}.width-25{width:25% !important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.border-right{border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}";
|
27
27
|
const MapPickerStyle0 = mapPickerCss;
|
28
28
|
|
29
29
|
const MapPicker = /*@__PURE__*/ proxyCustomElement(class MapPicker extends HTMLElement {
|
@@ -33,6 +33,7 @@ const MapPicker = /*@__PURE__*/ proxyCustomElement(class MapPicker extends HTMLE
|
|
33
33
|
this.__attachShadow();
|
34
34
|
this.mapInfoChange = createEvent(this, "mapInfoChange", 7);
|
35
35
|
this.mapInfos = [];
|
36
|
+
this.isMapLayout = undefined;
|
36
37
|
this._mapListExpanded = false;
|
37
38
|
this._translations = undefined;
|
38
39
|
this._webMapInfo = undefined;
|
@@ -84,6 +85,20 @@ const MapPicker = /*@__PURE__*/ proxyCustomElement(class MapPicker extends HTMLE
|
|
84
85
|
this._webMapSelected(mapInfos[0]);
|
85
86
|
}
|
86
87
|
}
|
88
|
+
/**
|
89
|
+
* Closes the list
|
90
|
+
*/
|
91
|
+
async close() {
|
92
|
+
if (this._mapListExpanded) {
|
93
|
+
this._mapListExpanded = false;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
/**
|
97
|
+
* Expands the list
|
98
|
+
*/
|
99
|
+
async toggle(mapListExpanded) {
|
100
|
+
this._mapListExpanded = mapListExpanded;
|
101
|
+
}
|
87
102
|
//--------------------------------------------------------------------------
|
88
103
|
//
|
89
104
|
// Events (public)
|
@@ -110,7 +125,7 @@ const MapPicker = /*@__PURE__*/ proxyCustomElement(class MapPicker extends HTMLE
|
|
110
125
|
* Renders the component.
|
111
126
|
*/
|
112
127
|
render() {
|
113
|
-
return (h(Host, { key: '
|
128
|
+
return (h(Host, { key: 'd1d4af3cbc382bb6895b8dece215fbef114238bb' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
|
114
129
|
}
|
115
130
|
/**
|
116
131
|
* Called once after the component has loaded
|
@@ -147,7 +162,7 @@ const MapPicker = /*@__PURE__*/ proxyCustomElement(class MapPicker extends HTMLE
|
|
147
162
|
* @protected
|
148
163
|
*/
|
149
164
|
_getToolbar() {
|
150
|
-
return (h("div", { class: "display-flex" }, h("calcite-action-bar", { class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: "header" }, this._getMapPicker())));
|
165
|
+
return (h("div", { class: "display-flex border-right" }, h("calcite-action-bar", { class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: "header" }, this._getMapPicker())));
|
151
166
|
}
|
152
167
|
/**
|
153
168
|
* Get a pick list for all maps in mapInfos
|
@@ -159,7 +174,8 @@ const MapPicker = /*@__PURE__*/ proxyCustomElement(class MapPicker extends HTMLE
|
|
159
174
|
* @protected
|
160
175
|
*/
|
161
176
|
_getMapNameList(show) {
|
162
|
-
const
|
177
|
+
const width = this.isMapLayout ? "width-25" : "width-full";
|
178
|
+
const listClass = show ? `map-list border-bottom-1 ${width}` : "display-none";
|
163
179
|
return (h("div", { class: listClass }, h("calcite-list", { id: "mapList", ref: (el) => this._list = el, selectionAppearance: "border", selectionMode: "single" }, this.mapInfos.map(mapInfo => {
|
164
180
|
return (h("calcite-list-item", { label: mapInfo.name, onClick: () => this._webMapSelected(mapInfo), selected: mapInfo.id === this._loadedId, value: mapInfo.id }));
|
165
181
|
}))));
|
@@ -200,10 +216,13 @@ const MapPicker = /*@__PURE__*/ proxyCustomElement(class MapPicker extends HTMLE
|
|
200
216
|
static get style() { return MapPickerStyle0; }
|
201
217
|
}, [1, "map-picker", {
|
202
218
|
"mapInfos": [16],
|
219
|
+
"isMapLayout": [4, "is-map-layout"],
|
203
220
|
"_mapListExpanded": [32],
|
204
221
|
"_translations": [32],
|
205
222
|
"_webMapInfo": [32],
|
206
|
-
"setMapByID": [64]
|
223
|
+
"setMapByID": [64],
|
224
|
+
"close": [64],
|
225
|
+
"toggle": [64]
|
207
226
|
}, undefined, {
|
208
227
|
"_webMapInfo": ["_webMapInfoWatchHandler"],
|
209
228
|
"mapInfos": ["mapInfosWatchHandler"]
|
@@ -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: 'a94dc7a1257336e387d2c761d8584e7a75bbd316' }, h("div", { key: '0a54b1fce8750084563cbc823222a4679a8e7909', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
|
105
105
|
}
|
106
106
|
//--------------------------------------------------------------------------
|
107
107
|
//
|
@@ -308,7 +308,7 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
|
|
308
308
|
render() {
|
309
309
|
const mapToolsClass = this.enableSketchTools ? "" : "display-none";
|
310
310
|
const mapToolsContainerClass = this.enableSketchTools ? "padding-top-1" : "";
|
311
|
-
return (h(Host, { key: '
|
311
|
+
return (h(Host, { key: '5a04e72d23e06c463d7dc3b453ca91ce046359bd' }, this._getMapLayerPicker(), h("div", { key: 'e821ee7452a1a784b485b487cedeff6425e2b063', class: "border-bottom" }), h("div", { key: '53e9a7d16279c9287af730452492d56ace65cdaf', class: "padding-top-sides-1" }, h("div", { key: 'a56f9637ab82b938e8ee2668fceeec2631f270cf', class: "search-widget", ref: (el) => { this._searchElement = el; } }), h("div", { key: 'c06517880c5e2fca23e45a7392a9d72c159a482c', class: mapToolsContainerClass }, h("map-draw-tools", { key: '54df55d7f39cf68e6bf07ca8ae1c3ac952f8c2ff', active: true, class: mapToolsClass, editGraphicsEnabled: !this._useLayerFeaturesEnabled, graphics: this._graphics, 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: '1d6ec53f2a270407c62972fb6e5775940821ca18', class: "border-bottom" }), this._getNameInput()));
|
312
312
|
}
|
313
313
|
/**
|
314
314
|
* Renders the buffer tools component.
|
@@ -209,7 +209,7 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
|
|
209
209
|
const toolMarginClass = this.enableSingleExpand ? "margin-top-1-2" : "";
|
210
210
|
const toolOrder = this.toolOrder ? this.toolOrder : ["legend", "search", "fullscreen", "floorfilter"];
|
211
211
|
const shadowClass = this.stackTools ? "box-shadow" : "";
|
212
|
-
return (h(Host, { key: '
|
212
|
+
return (h(Host, { key: 'f994555df4df11a4eca6b950c482b393d2ad8e94' }, h("div", { key: 'fa0a53926f01beb8009284da27e82d00ab7ad632', class: containerClass }, this.enableSingleExpand ? (h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, h("div", { key: '09384f900f228b3c452eb137510cc44f6a4615aa', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), h("basemap-gallery", { key: 'ad7751eb21b9024f775c3539b24e462eb68d3c78', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { key: 'd0922fed8b30210fce0edc1f0a56895bf20f0022', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { key: 'd3d2aa061acd9837bd2cc7e1d558d89f3b40386d', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { key: '9a95c34971adcbc0edc749a8b4004ceef79a3f3b', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { key: '7261f9b585a9ff2d016eeaced8ee25065c6c1c0b', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
213
213
|
}
|
214
214
|
//--------------------------------------------------------------------------
|
215
215
|
//
|
@@ -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: '9bc609be932ec1285dcdc2dc3b6336a36494c9f9' }, h("div", { key: '9b64b3fdc3bf3e0265eb544e540c8c32eed8ec9e', class: pciClass }, h("div", { key: 'de7e6a9b213cfb28fcea5c609e664635abf8b782', class: "label-display" }, h("calcite-label", { key: 'e9af278421644f6d23b8b07e3e116affaa576c07', class: "label-display" }, "Enter comma delimited deduct values", this._getDeductValuesInput())), h("div", { key: '0703cf731b5497a09cc6bb54c5e18a63ea2ba244' }, this._getCalculateButton())), h("div", { key: 'bd32e040f6d3789987c53a94484e7aeebc6b82b1', class: deductClass }, h("div", { key: '8f977910db0578ebfc8ea79a19b664e109aba266', class: "position-right" }, h("calcite-action", { key: 'a624606534ff220a97a05aa7cb4f22d4c8bb6ddc', appearance: 'transparent', class: "float-end", icon: "x", onClick: () => this._toggleShowAddDeduct(), scale: "s", text: '' })), h("deduct-calculator", { key: '0b327b89377b88ec2b11065c6f3ecb4b582ef7e4', class: "display-grid padding-top-1", onDeductValueComplete: (evt) => this._addDeductValue(evt) }))));
|
65
65
|
}
|
66
66
|
//--------------------------------------------------------------------------
|
67
67
|
//
|
@@ -291,7 +291,7 @@ const PdfDownload = /*@__PURE__*/ proxyCustomElement(class PdfDownload extends H
|
|
291
291
|
* Renders the component.
|
292
292
|
*/
|
293
293
|
render() {
|
294
|
-
return (h(Host, { key: '
|
294
|
+
return (h(Host, { key: 'a33458caa21a1cbe1545b30eeba3d0d9ce868148' }, h("calcite-select", { key: '75623fdf7467da7e45d917a0149b48a9f5c24394', disabled: this.disabled, label: "", ref: (el) => { this._labelInfoElement = el; } })));
|
295
295
|
}
|
296
296
|
componentDidLoad() {
|
297
297
|
// Render the options outside of Stencil's rendering so that it doesn't mangle RTL text with embedded LTR
|
@@ -292,7 +292,7 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class PublicNotifi
|
|
292
292
|
*/
|
293
293
|
render() {
|
294
294
|
const headerSlot = this._isMobile ? "footer" : "header";
|
295
|
-
return (h(Host, { key: '
|
295
|
+
return (h(Host, { key: 'de2d5102a42be0ef268b269402a027f9ea91d9b5' }, h("calcite-shell", { key: '9ce77bf23a9d6479e7e65742e7caac2b83033975' }, h("calcite-action-bar", { key: 'c82214eda0751577ca6c40474d418286f3954ce5', 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))));
|
296
296
|
}
|
297
297
|
/**
|
298
298
|
* StencilJS: Called once just after the component is first loaded.
|
@@ -51,7 +51,7 @@ const RefineResultsFlowItem$1 = /*@__PURE__*/ proxyCustomElement(class RefineRes
|
|
51
51
|
//
|
52
52
|
//--------------------------------------------------------------------------
|
53
53
|
render() {
|
54
|
-
return (h(Host, { key: '
|
54
|
+
return (h(Host, { key: '301d721cbe276288d621e0cd3a54ee5558dea76a' }, h("slot", { key: 'd8d933a33826d99e7455b6fb4d55e93320f09c96' })));
|
55
55
|
}
|
56
56
|
static get style() { return RefineResultsFlowItemStyle0; }
|
57
57
|
}, [1, "refine-results-flow-item"]);
|
@@ -135,7 +135,7 @@ const RefineSelection = /*@__PURE__*/ proxyCustomElement(class RefineSelection e
|
|
135
135
|
*/
|
136
136
|
render() {
|
137
137
|
const layerPickerClass = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
|
138
|
-
return (h(Host, { key: '
|
138
|
+
return (h(Host, { key: '48fd9fbbe8560ca4d165e5a3e9399ce5c3c7ba8e' }, h("div", { key: '4b314e3941366d8251238a13171d21ce28a7b87e', class: layerPickerClass + " padding-top-sides-1" }, h("div", { key: 'f7007f8333e1a8c160bcbd5659f6410776c54e2a', class: "display-flex" }, h("calcite-label", { key: 'c24380176e9c4791ef1fcda1a3f955265f51b0d7', class: "font-bold width-full label-margin-0" }, h("div", { key: '403542a6105b28368cd364070abfe6d8cf160d7e', class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { key: '745e828c6bbb8c7c89259142ca5301561d441128', class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { key: '15aa897e1cc858b2bda6a9cefca1d87347592bb0', enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id], showTables: false })), h("calcite-popover", { key: '334ab4b1918e6905b4ab90a683ffa5129e6b449f', closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { key: '2770007f82ff6dc157e5ffae8c9f61c55cb47a48', class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { key: 'f29a52a9ac924bf4cd81b5311df6a2a8ca28f0ae', class: "padding-1" }, h("div", { key: 'c0c5815ef8e74971e26517a12c95ca19b2294dc8', class: "padding-bottom-1" }, h("calcite-segmented-control", { key: 'b6338cabb01ba8453df5e00a46ab51e4da924c3d', class: "w-100", width: "full" }, h("calcite-segmented-control-item", { key: '61ecda9667fdf6e3acc7931531ee9a49fdd40295', checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { key: '3b48631b4b75716680f15ac0e4790043926bf857', class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { key: '1e26bced9c292ffdca78a589f3b78961cb5fceb6', checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { key: 'b7abd723a8f440d03d35256812229bf2e84e87c6', class: "font-weight-500" }, this._translations.remove)))), h("div", { key: '368a335da540fb7c747d6f2abffc3e7f98545833' }, h("map-draw-tools", { key: 'a3cc7f67104512ab108157bd3f7ebd57b1a5f202', active: true, drawMode: EDrawMode.REFINE, 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 })), h("br", { key: '038fb2b359eb59730de50778d809841ef33471d9' }), (h("calcite-list", { key: '02fdc3e4096a8f88e727118f9ae27a9b823edb3a', class: "list-border" }, this._getRefineSelectionSetList())))));
|
139
139
|
}
|
140
140
|
//--------------------------------------------------------------------------
|
141
141
|
//
|
@@ -51,7 +51,7 @@ const ShareItem$1 = /*@__PURE__*/ proxyCustomElement(class ShareItem extends HTM
|
|
51
51
|
//
|
52
52
|
//--------------------------------------------------------------------------
|
53
53
|
render() {
|
54
|
-
return (h(Host, { key: '
|
54
|
+
return (h(Host, { key: 'fb0d98cfbbb4becfc168d715f6198a3923f58e03' }, h("slot", { key: '7d8d7644cd59654a081c22b696790aaf8c493ade' })));
|
55
55
|
}
|
56
56
|
static get style() { return ShareItemStyle0; }
|
57
57
|
}, [1, "share-item"]);
|
@@ -1192,11 +1192,11 @@ const SolutionConfiguration$1 = /*@__PURE__*/ proxyCustomElement(class SolutionC
|
|
1192
1192
|
const solutionData = state.getStoreInfo("solutionData");
|
1193
1193
|
this._solutionVariables = JSON.stringify(getSolutionVariables(solutionData.templates, this._translations));
|
1194
1194
|
this._organizationVariables = JSON.stringify(getOrganizationVariables(this._translations));
|
1195
|
-
return (h(Host, { key: '
|
1195
|
+
return (h(Host, { key: '5109582ea7788928ced7d43f3fac23e501dfdec5' }, !this._solutionIsLoaded
|
1196
1196
|
? h("calcite-loader", { label: '' })
|
1197
|
-
: null, h("div", { key: '
|
1197
|
+
: null, h("div", { key: '610c2047b1e04b19e48caf0e503273d6fb19a2ee', class: "configuration-container" }, h("div", { key: '1be0cf6c381f2eea9e9a633527ab01d39b9b76fd', class: "configuration" }, h("calcite-tabs", { key: '8e87e8b72ccabe61b48f43035ef054fc88f73cee', class: "config-tabs" }, h("calcite-tab-nav", { key: '6b28f9b08a6d217390e2bb71bd77589a7ddae1a4', slot: "tab-nav" }, h("calcite-tab-title", { key: '00ee03b7d9f462866b27be154e84541eb95e9cbd' }, this._translations.definitionTab), hasServices ?
|
1198
1198
|
h("calcite-tab-title", null, this._translations.spatialReferenceTab) :
|
1199
|
-
null), h("calcite-tab", { key: '
|
1199
|
+
null), h("calcite-tab", { key: '8f7fe3085cbb8eb6ca604cce44570aa0409f286c', class: "config-tab", selected: true }, h("div", { key: 'abe77878ca8872fde8d96f9ff328015851b02707', class: "config-solution" }, h("div", { key: '6949db8cfdb0aa9b97d1f2583eee69fef3d5aa60', class: this._treeOpen ? "config-inventory" : "config-inventory-hide" }, h("solution-contents", { id: "configInventory", key: `${this.solutionItemId}-contents`, ref: (el) => (this._solutionContentsComponent = el) })), h("calcite-button", { key: '09221fe20f65ee00f80e4a7d9aaa30a84fdec536', 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 }), h("div", { key: '968177e9232d890d70050a7cd275c40bc73cce30', class: "config-item" }, h("solution-item", { authentication: this.authentication, "item-id": this._currentEditItemId, key: `${this.solutionItemId}-item`, "organization-variables": this._organizationVariables, "solution-item-id": this.solutionItemId, "solution-variables": this._solutionVariables })))), hasServices
|
1200
1200
|
? h("calcite-tab", { class: "config-tab" }, h("div", { class: "config-solution" }, h("solution-spatial-ref", { enableDefault: !!spatialReferenceInfo.default, enabled: spatialReferenceInfo?.enabled, featureServices: state.getStoreInfo("featureServices").map(fs => fs.name), id: "configure-solution-spatial-ref", key: `${this.solutionItemId}-spatial-ref` })))
|
1201
1201
|
: null)))));
|
1202
1202
|
}
|
@@ -39,7 +39,7 @@ const SolutionContents = /*@__PURE__*/ proxyCustomElement(class SolutionContents
|
|
39
39
|
* Renders the component.
|
40
40
|
*/
|
41
41
|
render() {
|
42
|
-
return (h(Host, { key: '
|
42
|
+
return (h(Host, { key: 'd91cfec3e955e635a3196043c935733a7f4c726d' }, h("calcite-tree", { key: '6fcf281c5f61578b8d343893367ab1bd97315387' }, this.renderHierarchy(this.templateHierarchy))));
|
43
43
|
}
|
44
44
|
renderHierarchy(objs) {
|
45
45
|
return objs.map((obj) => {
|
@@ -56,7 +56,7 @@ const SolutionItemDetails = /*@__PURE__*/ proxyCustomElement(class SolutionItemD
|
|
56
56
|
* Renders the component.
|
57
57
|
*/
|
58
58
|
render() {
|
59
|
-
return (h(Host, { key: '
|
59
|
+
return (h(Host, { key: 'f93ee5d1152024c4c9d4b7376d8e19e5a0ebaccd' }, h("div", { key: 'd03106d1566be78c478a8ca798cea04161e835a2', class: "parent-container" }, h("div", { key: '78f52543e511e7deecffdc998808fce766863ef3', class: "inputBottomSeparation" }, h("calcite-input", { key: '70783f0059d5e526f56a4ff2cff18e20348c4c16', id: "item-title", value: this.itemDetails.title })), h("div", { key: 'b2cfc981837ee9fd8549dc62057bc98429f3f50a', class: "inputBottomSeparation" }, h("input", { key: '47bdb6fe76a080c297c01ee8624088a501f31f17', accept: ".jpg,.gif,.png,image/jpg,image/gif,image/png", class: "display-none", onChange: (event) => (this._updateThumbnail(event)), ref: (el) => (this.browseForThumbnail = el), type: "file" }), h("button", { key: '7c2b6882f87d63f97c609c071b60b62474931c93', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, h("svg", { key: 'b530933142b3aa03de26baa33e4be11ea9f4c806', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, h("path", { key: '57388aa06be3e6c3bed24673ab63386cc433f6c0', d: "M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" })), this._translations.editThumbnail), h("div", { key: '3906eeaa6bd72d0c53a0e472c3606f0ab879a3d3', class: "flex" }, h("div", { key: 'fa88b2ea055748202ed7c34ce7df2cfc9a1592a0', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, h("img", { key: '2b5e960405c8f41a66bdf93f47e669d5eae646ad', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), h("div", { key: '7762aca4498ef2ca8d70beb59cfc5906229c3e5d', class: "snippet-count-container" }, h("calcite-input", { key: '1a6e9e299e551f2c7a3f99395a789fd4e1bf1e88', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), h("label", { key: 'a66a1569c45189e013d230f7d2c11fd315ffaa29', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), h("calcite-label", { key: '1befca128558c7b638d86521f162bcbf44e889a1' }, this._translations.description, h("label", { key: '496939ec6171b926b8f7d6610fa153a0ee63243c', id: "item-description-label" }, h("calcite-input", { key: 'a97b85340d620f4fa909b4b697e058e5398df145', id: "item-description", type: "textarea", value: this.itemDetails.description }))), h("calcite-label", { key: 'eecadd422f35b01124dbf9ac8ce030c561f8b76d' }, this._translations.tags, h("label", { key: 'be9ba3c1c3e4d3bff74bcaf586cef39a8a5c76f2', id: "item-tags-label" }, h("calcite-input", { key: '9772f1e364dcb9810ea81bbf2871ee3c81bb0f92', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? h("calcite-label", null, this._translations.credits, h("label", { id: "item-credits-label" }, h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? h("calcite-label", null, h("label", { id: "item-terms-label" }, this._translations.termsOfUse, h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
|
60
60
|
}
|
61
61
|
componentDidRender() {
|
62
62
|
this._loadThumb();
|
@@ -26,7 +26,7 @@ const SolutionItemIcon = /*@__PURE__*/ proxyCustomElement(class SolutionItemIcon
|
|
26
26
|
* Renders the component.
|
27
27
|
*/
|
28
28
|
render() {
|
29
|
-
return h("div", { key: '
|
29
|
+
return h("div", { key: '3a30434531363d13bcc0207dbc90f1ee32454113', title: this.type }, h("img", { key: '8ae2eaaeaa00bb86aed97665036fdb1edd14b6be', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
|
30
30
|
}
|
31
31
|
//--------------------------------------------------------------------------
|
32
32
|
//
|
@@ -42,7 +42,7 @@ const SolutionItemSharing = /*@__PURE__*/ proxyCustomElement(class SolutionItemS
|
|
42
42
|
* Renders the component.
|
43
43
|
*/
|
44
44
|
render() {
|
45
|
-
return (h(Host, { key: '
|
45
|
+
return (h(Host, { key: 'b2086d83295956bff47fd5951056000043a4db72' }, h("div", { key: '1344ce75b7ae023544d0c177d883ba1c6eaed05b', class: "container-border" }, h("calcite-label", { key: 'abbd7a7f1e9dbf94d54ef61a2182b2659d60026e' }, this._translations.groupInfo), this._renderItems(this.sharing))));
|
46
46
|
}
|
47
47
|
//--------------------------------------------------------------------------
|
48
48
|
//
|
@@ -74,7 +74,7 @@ const SolutionItem = /*@__PURE__*/ proxyCustomElement(class SolutionItem extends
|
|
74
74
|
* Renders the component.
|
75
75
|
*/
|
76
76
|
render() {
|
77
|
-
return (h(Host, { key: '
|
77
|
+
return (h(Host, { key: 'a26e9c7bc3973e47fb139f1fe83bd4541d4dcd90' }, h("div", { key: '80a990272623f4fccd7558306ffd78896a9ae546', class: "configuration-container" }, h("div", { key: 'cd6ef183c9d9acac8c23c7f3ffb616eb03852384', class: "configuration" }, this._showGroupTabs(this.itemType === "Group"), this._showItemTabs(this.itemType !== "Group")))));
|
78
78
|
}
|
79
79
|
//--------------------------------------------------------------------------
|
80
80
|
//
|
@@ -42,7 +42,7 @@ const SolutionOrganizationVariables = /*@__PURE__*/ proxyCustomElement(class Sol
|
|
42
42
|
* Renders the component.
|
43
43
|
*/
|
44
44
|
render() {
|
45
|
-
return (h(Host, { key: '
|
45
|
+
return (h(Host, { key: '387c9a17b83de9f4aa2dc60666e4c45268b7d656' }, h("div", { key: '5181a83dbd700220b8ec55828a37d35fd1406ed1' }, h("h4", { key: '88eea182594f50b86ba873289d84ea0e1b7cc3eb', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: 'dcbaf3f135d1a6d660e4f17bce722feb6d2fed3e', class: "container-border" }, h("calcite-tree", { key: '4b85c9bd443deb82e570e58ae59c546d8ea9d36d', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
|
46
46
|
}
|
47
47
|
//--------------------------------------------------------------------------
|
48
48
|
//
|
@@ -58,7 +58,7 @@ const SolutionResourceItem = /*@__PURE__*/ proxyCustomElement(class SolutionReso
|
|
58
58
|
*/
|
59
59
|
render() {
|
60
60
|
const hasValidResources = this._hasValidResources();
|
61
|
-
return (h(Host, { key: '
|
61
|
+
return (h(Host, { key: '3209042541d0df8440c8ae7b1564ddad9adb4466' }, h("div", { key: '11d0ad8b5ad181a4db7836e9f3f05fa3e79b924b', class: "resource-item" }, h("div", { key: '1b768c980d3679dd8ce0557cd24c18ab397cac16', class: "margin-bottom-1" }, h("calcite-button", { key: '33a827d3df40e68d985a0f6f8c9fdfb89b78ef25', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: '22adce285d7eb9c5fb5a189b0bee43cd25eb89a3', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '20b41623ed7ab10202a5ea929b9ddd63b62d0c0e', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
|
62
62
|
}
|
63
63
|
_removedResources = {};
|
64
64
|
//--------------------------------------------------------------------------
|
@@ -50,7 +50,7 @@ const SolutionSpatialRef = /*@__PURE__*/ proxyCustomElement(class SolutionSpatia
|
|
50
50
|
}
|
51
51
|
render() {
|
52
52
|
this._updateUIFromStore();
|
53
|
-
return (h(Host, { key: '
|
53
|
+
return (h(Host, { key: 'd0ad66cff340a144e93356015f56b68d208a770a' }, h("label", { key: 'ab1e206b4ca0d4a9c8cd0e6ee3c5e145165966f6', class: "switch-label" }, h("calcite-switch", { key: 'ea8bc162371773ef36b709cd2662738dcf60a9dc', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), h("br", { key: 'a085245ff9605523f532fb8483682fa54300d6c2' }), h("div", { key: '52a86a14efb23a1d56a092494760ab1c82bdf93c', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), h("label", { key: '6b08cf7be83e71b7715cc1e7e7f4ca7193abc3ee', class: "switch-label spatial-ref-component" }, h("calcite-switch", { key: 'dd82b90b032c953f7ce18492d038a4090d3ef4b2', checked: this.enableDefault, class: "spatial-ref-switch", disabled: !this.enabled, onCalciteSwitchChange: (event) => this.enableDefault = event.target.checked, scale: "m" }), this._translations.enableDefaultSpatialReference)));
|
54
54
|
}
|
55
55
|
//--------------------------------------------------------------------------
|
56
56
|
//
|
@@ -80,7 +80,7 @@ const SolutionTemplateData = /*@__PURE__*/ proxyCustomElement(class SolutionTemp
|
|
80
80
|
* Renders the component.
|
81
81
|
*/
|
82
82
|
render() {
|
83
|
-
return (h(Host, { key: '
|
83
|
+
return (h(Host, { key: '2ac01aadffbe8719d947d3258721a24e79c5827a' }, h("div", { key: '8576d2c273b557393ae9c959817c3a1803000ca6', class: "solution-data-container" }, h("calcite-shell", { key: '7962b2da3ebce8428119e95dee13a79fb06a71ca', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: '49c9e36a219e8f09431f88b7e698bd53bc538e43', class: "json-editor" }, h("div", { key: 'ef96fb9a8d9bced4a36dca4786b7c77f06bd3dc7', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: 'f8e1662a22f6b36e0be929aec00c539508527a81', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), h("calcite-shell-panel", { key: '853f9c2df14fe53cc305b290cd1e5b9a8f694b4d', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: '0bc3d510ba7dc9d4ca1339bf6d5fa1a52c249723', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, h("calcite-button", { key: '2c316175ebe7bdbd4911abbdd58c2bcac8c6e39c', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: 'e436c6dba30492a9eda496c4da41a7632cc03232', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: '4956e3bf41676ccf3dd0168f6f4f573f14927110', value: this.organizationVariables })), h("div", { key: '3376d0034d66f01cd78d01adf5653aeeca63b47f', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: 'bb3978deedbe0a439d85d1bb7a8d26380e226dd7', value: this.solutionVariables }))))))));
|
84
84
|
}
|
85
85
|
_initializing = false;
|
86
86
|
//--------------------------------------------------------------------------
|
@@ -43,7 +43,7 @@ const SolutionVariables = /*@__PURE__*/ proxyCustomElement(class SolutionVariabl
|
|
43
43
|
* Renders the component.
|
44
44
|
*/
|
45
45
|
render() {
|
46
|
-
return (h(Host, { key: '
|
46
|
+
return (h(Host, { key: '207eba2b3a7c2ae6958bc253c50a30ba05e4ad53' }, h("div", { key: '258351a67b1ffac4ce9290bdbc7a15fe045e1cf8' }, h("h4", { key: 'e8b6c6ff6b78d2ee885f352069426a79e12a4376', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: 'e68c85b552c5313300250d4e7a29aee50e3d070d', class: "container-border" }, h("calcite-tree", { key: '011383a8abb007bd6d7a59f6a7681f24fc32d3b0', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
|
47
47
|
}
|
48
48
|
//--------------------------------------------------------------------------
|
49
49
|
//
|
@@ -21103,7 +21103,7 @@ const SpatialRef$1 = /*@__PURE__*/ proxyCustomElement(class SpatialRef extends H
|
|
21103
21103
|
* Renders the component.
|
21104
21104
|
*/
|
21105
21105
|
render() {
|
21106
|
-
return (h(Host, { key: '
|
21106
|
+
return (h(Host, { key: '1f9d7ad0fe2043b7e950a59e6b10e1380c218a11' }, h("div", { key: 'f9e14494a1d2783c2d80bbe94d355e397674951b' }, h("calcite-input", { key: '3c2565f0c1f0bf8d7a4051969ca3bcb68a9107ce', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), h("calcite-tree", { key: '7657240c433836340bc0767bb7e9206b75d0691d', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
|
21107
21107
|
}
|
21108
21108
|
_lastHighlightedSref;
|
21109
21109
|
//--------------------------------------------------------------------------
|
@@ -416,7 +416,7 @@ const MapFullscreen = class {
|
|
416
416
|
* Renders the component.
|
417
417
|
*/
|
418
418
|
render() {
|
419
|
-
return (h(Host, { key: '
|
419
|
+
return (h(Host, { key: '27267ebf4781a3c85addd8339028f7ac8d07bfb2' }, h("div", { key: '0966dae1c7ab9a2cba461d2f19b63bea8e5f28cf', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
|
420
420
|
}
|
421
421
|
/**
|
422
422
|
* StencilJS: Called just after the component updates.
|
@@ -543,7 +543,7 @@ const MapLegend = class {
|
|
543
543
|
* StencilJS: Renders the component.
|
544
544
|
*/
|
545
545
|
render() {
|
546
|
-
return (h(Host, { key: '
|
546
|
+
return (h(Host, { key: 'd9f276c9f13ad09a606bda6e2aaf78707824f6e9' }, h("div", { key: 'f2db7bd093313a19ace2ec4340c5d0049b666bdc', ref: (el) => { this._legendElement = el; } })));
|
547
547
|
}
|
548
548
|
/**
|
549
549
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
@@ -593,7 +593,7 @@ const MapLegend = class {
|
|
593
593
|
};
|
594
594
|
MapLegend.style = MapLegendStyle0;
|
595
595
|
|
596
|
-
const mapPickerCss = ":host{display:block;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100%}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}";
|
596
|
+
const mapPickerCss = ":host{display:block;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100%}.width-25{width:25% !important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.border-right{border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}";
|
597
597
|
const MapPickerStyle0 = mapPickerCss;
|
598
598
|
|
599
599
|
const MapPicker = class {
|
@@ -601,6 +601,7 @@ const MapPicker = class {
|
|
601
601
|
registerInstance(this, hostRef);
|
602
602
|
this.mapInfoChange = createEvent(this, "mapInfoChange", 7);
|
603
603
|
this.mapInfos = [];
|
604
|
+
this.isMapLayout = undefined;
|
604
605
|
this._mapListExpanded = false;
|
605
606
|
this._translations = undefined;
|
606
607
|
this._webMapInfo = undefined;
|
@@ -652,6 +653,20 @@ const MapPicker = class {
|
|
652
653
|
this._webMapSelected(mapInfos[0]);
|
653
654
|
}
|
654
655
|
}
|
656
|
+
/**
|
657
|
+
* Closes the list
|
658
|
+
*/
|
659
|
+
async close() {
|
660
|
+
if (this._mapListExpanded) {
|
661
|
+
this._mapListExpanded = false;
|
662
|
+
}
|
663
|
+
}
|
664
|
+
/**
|
665
|
+
* Expands the list
|
666
|
+
*/
|
667
|
+
async toggle(mapListExpanded) {
|
668
|
+
this._mapListExpanded = mapListExpanded;
|
669
|
+
}
|
655
670
|
//--------------------------------------------------------------------------
|
656
671
|
//
|
657
672
|
// Events (public)
|
@@ -678,7 +693,7 @@ const MapPicker = class {
|
|
678
693
|
* Renders the component.
|
679
694
|
*/
|
680
695
|
render() {
|
681
|
-
return (h(Host, { key: '
|
696
|
+
return (h(Host, { key: 'd1d4af3cbc382bb6895b8dece215fbef114238bb' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
|
682
697
|
}
|
683
698
|
/**
|
684
699
|
* Called once after the component has loaded
|
@@ -715,7 +730,7 @@ const MapPicker = class {
|
|
715
730
|
* @protected
|
716
731
|
*/
|
717
732
|
_getToolbar() {
|
718
|
-
return (h("div", { class: "display-flex" }, h("calcite-action-bar", { class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: "header" }, this._getMapPicker())));
|
733
|
+
return (h("div", { class: "display-flex border-right" }, h("calcite-action-bar", { class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: "header" }, this._getMapPicker())));
|
719
734
|
}
|
720
735
|
/**
|
721
736
|
* Get a pick list for all maps in mapInfos
|
@@ -727,7 +742,8 @@ const MapPicker = class {
|
|
727
742
|
* @protected
|
728
743
|
*/
|
729
744
|
_getMapNameList(show) {
|
730
|
-
const
|
745
|
+
const width = this.isMapLayout ? "width-25" : "width-full";
|
746
|
+
const listClass = show ? `map-list border-bottom-1 ${width}` : "display-none";
|
731
747
|
return (h("div", { class: listClass }, h("calcite-list", { id: "mapList", ref: (el) => this._list = el, selectionAppearance: "border", selectionMode: "single" }, this.mapInfos.map(mapInfo => {
|
732
748
|
return (h("calcite-list-item", { label: mapInfo.name, onClick: () => this._webMapSelected(mapInfo), selected: mapInfo.id === this._loadedId, value: mapInfo.id }));
|
733
749
|
}))));
|
@@ -861,7 +877,7 @@ const MapSearch = class {
|
|
861
877
|
* Renders the component.
|
862
878
|
*/
|
863
879
|
render() {
|
864
|
-
return (h(Host, { key: '
|
880
|
+
return (h(Host, { key: 'a94dc7a1257336e387d2c761d8584e7a75bbd316' }, h("div", { key: '0a54b1fce8750084563cbc823222a4679a8e7909', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
|
865
881
|
}
|
866
882
|
//--------------------------------------------------------------------------
|
867
883
|
//
|
@@ -1159,7 +1175,7 @@ const MapTools = class {
|
|
1159
1175
|
const toolMarginClass = this.enableSingleExpand ? "margin-top-1-2" : "";
|
1160
1176
|
const toolOrder = this.toolOrder ? this.toolOrder : ["legend", "search", "fullscreen", "floorfilter"];
|
1161
1177
|
const shadowClass = this.stackTools ? "box-shadow" : "";
|
1162
|
-
return (h(Host, { key: '
|
1178
|
+
return (h(Host, { key: 'f994555df4df11a4eca6b950c482b393d2ad8e94' }, h("div", { key: 'fa0a53926f01beb8009284da27e82d00ab7ad632', class: containerClass }, this.enableSingleExpand ? (h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, h("div", { key: '09384f900f228b3c452eb137510cc44f6a4615aa', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), h("basemap-gallery", { key: 'ad7751eb21b9024f775c3539b24e462eb68d3c78', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { key: 'd0922fed8b30210fce0edc1f0a56895bf20f0022', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { key: 'd3d2aa061acd9837bd2cc7e1d558d89f3b40386d', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { key: '9a95c34971adcbc0edc749a8b4004ceef79a3f3b', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { key: '7261f9b585a9ff2d016eeaced8ee25065c6c1c0b', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
1163
1179
|
}
|
1164
1180
|
//--------------------------------------------------------------------------
|
1165
1181
|
//
|
@@ -511,7 +511,7 @@ const MapDrawTools = class {
|
|
511
511
|
"border" : "border esri-widget esri-sketch__panel";
|
512
512
|
const undoRedoClass = this.drawMode === EDrawMode.SKETCH ?
|
513
513
|
"display-none" : "esri-widget esri-sketch__panel border-left esri-sketch__section";
|
514
|
-
return (h(Host, { key: '
|
514
|
+
return (h(Host, { key: '64c06f74fa05d6debb3a34bbb3d51bc9e2d1e8a6' }, h("div", { key: 'b3ac0f7c2f38da701fcee82580d7d4f55792ffb8', class: containerClass }, h("div", { key: '57625c7617de564ad7f62ed8952dd72108d46bbe', ref: (el) => { this._sketchElement = el; } }), h("div", { key: 'b1c8a28ef1fab0e0cb4a9617e9d366e1002d619d', class: undoRedoClass }, h("calcite-action", { key: 'ae27d672ad615b54bceb37fa56ac8e652f80df61', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { key: '643d1413f98f8059590fb92c702074c9c732f9b1', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
|
515
515
|
}
|
516
516
|
//--------------------------------------------------------------------------
|
517
517
|
//
|