@esri/solutions-components 0.11.9 → 0.11.10
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/{asyncToGenerator-c7fc3ee4.js → asyncToGenerator-ccb3278b.js} +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/buffer-tools_2.cjs.entry.js +2 -2
- package/dist/cjs/card-manager_3.cjs.entry.js +4 -4
- package/dist/cjs/consent-manager.cjs.entry.js +4 -4
- package/dist/cjs/{constants-bed33322.js → constants-cb1b5548.js} +1 -1
- package/dist/cjs/create-feature_4.cjs.entry.js +5 -5
- package/dist/cjs/create-related-feature_3.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +2 -2
- package/dist/cjs/delete-dialog.cjs.entry.js +2 -2
- package/dist/cjs/{downloadUtils-9ce90176.js → downloadUtils-47d639a9.js} +3 -3
- package/dist/cjs/{effects-fdd163a9.js → effects-c3f6d203.js} +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +5 -5
- package/dist/cjs/{helpers-6a222aa7.js → helpers-2170c127.js} +2 -2
- package/dist/cjs/{index.es-6549e26a.js → index.es-f2dfef62.js} +2 -2
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-create.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-popover.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-splash.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -5
- package/dist/cjs/json-editor_7.cjs.entry.js +2 -2
- package/dist/cjs/{languageUtil-a3e1eafd.js → languageUtil-f22ce913.js} +1 -1
- package/dist/cjs/{loadModules-df8b13ca.js → loadModules-581c909a.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-2dd3020a.js → locale-223194d0.js} +2 -2
- package/dist/cjs/{locale-1c60be9c.js → locale-70d78da8.js} +1 -1
- package/dist/cjs/map-layer-picker.cjs.entry.js +2 -2
- package/dist/cjs/map-select-tools_3.cjs.entry.js +4 -4
- package/dist/cjs/{popupUtils-93b14f86.js → popupUtils-a06bdfad.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +9 -6
- package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
- package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
- package/dist/cjs/solution-item-accordion.cjs.entry.js +33 -6
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
- package/dist/cjs/{utils-53383d03.js → utils-e4a0ff78.js} +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_en.json +2 -2
- package/dist/collection/components/public-notification/public-notification.js +25 -2
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +114 -4
- package/dist/collection/demos/solution-item-accordion.html +5 -3
- package/dist/collection/utils/interfaces.ts +17 -1
- package/dist/components/public-notification.js +6 -2
- package/dist/components/solution-item-accordion.js +33 -5
- package/dist/esm/{asyncToGenerator-96b2368d.js → asyncToGenerator-48cd21fe.js} +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/buffer-tools_2.entry.js +2 -2
- package/dist/esm/card-manager_3.entry.js +4 -4
- package/dist/esm/consent-manager.entry.js +4 -4
- package/dist/esm/{constants-637a40f5.js → constants-abe87823.js} +1 -1
- package/dist/esm/create-feature_4.entry.js +5 -5
- package/dist/esm/create-related-feature_3.entry.js +2 -2
- package/dist/esm/crowdsource-manager.entry.js +2 -2
- package/dist/esm/crowdsource-reporter.entry.js +2 -2
- package/dist/esm/delete-dialog.entry.js +2 -2
- package/dist/esm/{downloadUtils-1179f077.js → downloadUtils-6ca6519f.js} +3 -3
- package/dist/esm/{effects-d42ccf96.js → effects-c8fc15b3.js} +1 -1
- package/dist/esm/feature-list.entry.js +5 -5
- package/dist/esm/{helpers-bd1ff401.js → helpers-673c1beb.js} +2 -2
- package/dist/esm/{index.es-6b399444.js → index.es-158fd72a.js} +2 -2
- package/dist/esm/instant-apps-app-guide.entry.js +4 -4
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
- package/dist/esm/instant-apps-control-panel.entry.js +2 -2
- package/dist/esm/instant-apps-create.entry.js +4 -4
- package/dist/esm/instant-apps-export-views.entry.js +4 -4
- package/dist/esm/instant-apps-export.entry.js +4 -4
- package/dist/esm/instant-apps-filter-list_2.entry.js +4 -4
- package/dist/esm/instant-apps-header.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +4 -4
- package/dist/esm/instant-apps-interactive-legend.entry.js +6 -6
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +4 -4
- package/dist/esm/instant-apps-language-switcher.entry.js +6 -6
- package/dist/esm/instant-apps-language-translator.entry.js +6 -6
- package/dist/esm/instant-apps-measurement-tool.entry.js +2 -2
- package/dist/esm/instant-apps-measurement.entry.js +4 -4
- package/dist/esm/instant-apps-popover.entry.js +4 -4
- package/dist/esm/instant-apps-scoreboard.entry.js +4 -4
- package/dist/esm/instant-apps-sign-in.entry.js +4 -4
- package/dist/esm/instant-apps-splash.entry.js +4 -4
- package/dist/esm/instant-apps-time-filter.entry.js +5 -5
- package/dist/esm/json-editor_7.entry.js +2 -2
- package/dist/esm/{languageUtil-2b6e191a.js → languageUtil-a3e6adf6.js} +1 -1
- package/dist/esm/{loadModules-d5a25252.js → loadModules-400cb067.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-7874c756.js → locale-4cea650e.js} +1 -1
- package/dist/esm/{locale-4744c8a4.js → locale-d96a2bff.js} +2 -2
- package/dist/esm/map-layer-picker.entry.js +2 -2
- package/dist/esm/map-select-tools_3.entry.js +4 -4
- package/dist/esm/{popupUtils-cfe51dfd.js → popupUtils-dea8b2bb.js} +2 -2
- package/dist/esm/public-notification.entry.js +9 -6
- package/dist/esm/solution-configuration.entry.js +2 -2
- package/dist/esm/solution-contents_3.entry.js +2 -2
- package/dist/esm/solution-item-accordion.entry.js +34 -7
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +2 -2
- package/dist/esm/{utils-04fffcaf.js → utils-92313b5a.js} +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_en.json +2 -2
- package/dist/solutions-components/demos/solution-item-accordion.html +5 -3
- package/dist/solutions-components/{p-6369b974.entry.js → p-0055118a.entry.js} +1 -1
- package/dist/solutions-components/{p-7d4a72fa.entry.js → p-00965f29.entry.js} +1 -1
- package/dist/solutions-components/{p-97f33e9f.js → p-00eccd9f.js} +1 -1
- package/dist/solutions-components/{p-f1b5f09a.entry.js → p-0620c894.entry.js} +1 -1
- package/dist/solutions-components/{p-d6c60b8f.entry.js → p-098ca58c.entry.js} +1 -1
- package/dist/solutions-components/{p-f2d7b9c3.entry.js → p-118331aa.entry.js} +1 -1
- package/dist/solutions-components/p-1b161201.entry.js +6 -0
- package/dist/solutions-components/{p-d099573a.entry.js → p-1f4b9762.entry.js} +1 -1
- package/dist/solutions-components/{p-48242dd4.js → p-1f9f8107.js} +1 -1
- package/dist/solutions-components/{p-8d281f47.js → p-24b9d4b9.js} +2 -2
- package/dist/solutions-components/{p-95d1c104.entry.js → p-26190dbf.entry.js} +1 -1
- package/dist/solutions-components/{p-d324196d.entry.js → p-26f96d2f.entry.js} +1 -1
- package/dist/solutions-components/{p-3f83917b.entry.js → p-2b2ebb38.entry.js} +1 -1
- package/dist/solutions-components/{p-b7421036.entry.js → p-2be294e3.entry.js} +1 -1
- package/dist/solutions-components/{p-2a16aa29.entry.js → p-3155f0d6.entry.js} +1 -1
- package/dist/solutions-components/{p-fe9b2c74.entry.js → p-38331e47.entry.js} +1 -1
- package/dist/solutions-components/{p-3f14b242.entry.js → p-3bed6b51.entry.js} +1 -1
- package/dist/solutions-components/{p-404cbf48.js → p-4b2ec507.js} +1 -1
- package/dist/solutions-components/{p-c2e57b81.entry.js → p-4c97ab32.entry.js} +1 -1
- package/dist/solutions-components/{p-ea09b078.entry.js → p-5833cc4f.entry.js} +1 -1
- package/dist/solutions-components/{p-8e21a871.entry.js → p-59fbd618.entry.js} +1 -1
- package/dist/solutions-components/{p-7271fa31.entry.js → p-5aefa348.entry.js} +1 -1
- package/dist/solutions-components/p-5e3b74ff.entry.js +6 -0
- package/dist/solutions-components/{p-ffe1e3a3.entry.js → p-61310787.entry.js} +1 -1
- package/dist/solutions-components/{p-648b5a9e.js → p-619fefa1.js} +1 -1
- package/dist/solutions-components/{p-d65f8b73.js → p-62a0aa8e.js} +1 -1
- package/dist/solutions-components/{p-28858c2f.entry.js → p-6537611b.entry.js} +1 -1
- package/dist/solutions-components/{p-832707fd.entry.js → p-66e0a2ae.entry.js} +1 -1
- package/dist/solutions-components/{p-bc8d8128.entry.js → p-67aa6fdc.entry.js} +1 -1
- package/dist/solutions-components/{p-be16bc80.entry.js → p-6df9fc09.entry.js} +1 -1
- package/dist/solutions-components/{p-837e0939.entry.js → p-6ee5a767.entry.js} +1 -1
- package/dist/solutions-components/{p-d001e961.js → p-813c7077.js} +1 -1
- package/dist/solutions-components/{p-8585c128.entry.js → p-91177188.entry.js} +1 -1
- package/dist/solutions-components/{p-37ae171f.entry.js → p-928dc0da.entry.js} +1 -1
- package/dist/solutions-components/{p-c9686e6c.entry.js → p-9d977ad2.entry.js} +1 -1
- package/dist/solutions-components/{p-e5cb329f.entry.js → p-a28f1b42.entry.js} +1 -1
- package/dist/solutions-components/{p-ed1ecb5b.entry.js → p-a756fe7c.entry.js} +1 -1
- package/dist/solutions-components/{p-4695cfab.js → p-a7824793.js} +1 -1
- package/dist/solutions-components/{p-c50ff9f1.entry.js → p-acdb22c6.entry.js} +1 -1
- package/dist/solutions-components/{p-d59fb1a7.entry.js → p-ae7bed8d.entry.js} +1 -1
- package/dist/solutions-components/{p-79d66109.entry.js → p-af2a1ae1.entry.js} +1 -1
- package/dist/solutions-components/{p-ac122d9e.js → p-af2c8aa9.js} +1 -1
- package/dist/solutions-components/{p-7dc95675.js → p-b382fabf.js} +1 -1
- package/dist/solutions-components/{p-980d9473.entry.js → p-b5845b40.entry.js} +1 -1
- package/dist/solutions-components/{p-f95cc485.entry.js → p-bd8a3a91.entry.js} +1 -1
- package/dist/solutions-components/{p-d1551601.entry.js → p-c5aa99a9.entry.js} +1 -1
- package/dist/solutions-components/{p-0326f1f4.entry.js → p-c7e0799c.entry.js} +1 -1
- package/dist/solutions-components/{p-60b3b8b4.entry.js → p-cf0717b7.entry.js} +1 -1
- package/dist/solutions-components/{p-698656b8.entry.js → p-d83eb0b2.entry.js} +1 -1
- package/dist/solutions-components/p-d991af6f.js +6 -0
- package/dist/solutions-components/{p-4868d196.entry.js → p-dd0e85e0.entry.js} +1 -1
- package/dist/solutions-components/{p-dc704bc6.entry.js → p-ddeaaadf.entry.js} +1 -1
- package/dist/solutions-components/{p-3335285a.js → p-e70ae0b0.js} +2 -2
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +17 -1
- package/dist/solutions-components_commit.txt +6 -6
- package/dist/types/components/public-notification/public-notification.d.ts +5 -0
- package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +22 -2
- package/dist/types/components.d.ts +38 -2
- package/dist/types/preact.d.ts +5 -1
- package/dist/types/utils/interfaces.d.ts +13 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-40b36394.entry.js +0 -6
- package/dist/solutions-components/p-80262cb7.js +0 -6
- package/dist/solutions-components/p-dcabfe6a.entry.js +0 -6
- /package/dist/cjs/{esri-loader-08dc41bd.js → esri-loader-a56cbcbe.js} +0 -0
- /package/dist/cjs/{typeof-2a7e2dec.js → typeof-920a4426.js} +0 -0
- /package/dist/esm/{esri-loader-c6842c6b.js → esri-loader-781d738a.js} +0 -0
- /package/dist/esm/{typeof-ef2a007d.js → typeof-2511410e.js} +0 -0
- /package/dist/solutions-components/{p-0a24ad5f.js → p-6a68306c.js} +0 -0
- /package/dist/solutions-components/{p-4fe489cf.js → p-af7e43e0.js} +0 -0
@@ -23,6 +23,7 @@ import { getLocaleComponentStrings } from "../../utils/locale";
|
|
23
23
|
export class SolutionItemAccordion {
|
24
24
|
constructor() {
|
25
25
|
this.locale = undefined;
|
26
|
+
this.listSelectionMode = "none";
|
26
27
|
this.templateInfos = [];
|
27
28
|
this._sortedTemplateInfos = [];
|
28
29
|
this._translations = undefined;
|
@@ -101,6 +102,9 @@ export class SolutionItemAccordion {
|
|
101
102
|
// Events (public)
|
102
103
|
//
|
103
104
|
//--------------------------------------------------------------------------
|
105
|
+
solutionItemHover;
|
106
|
+
solutionItemSelect;
|
107
|
+
solutionTypeHover;
|
104
108
|
//--------------------------------------------------------------------------
|
105
109
|
//
|
106
110
|
// Functions (lifecycle)
|
@@ -117,13 +121,31 @@ export class SolutionItemAccordion {
|
|
117
121
|
* Renders the component.
|
118
122
|
*/
|
119
123
|
render() {
|
120
|
-
return (h(Host, { key: '
|
124
|
+
return (h(Host, { key: '291cc1ca78a6fbb4adbe83d42b2c48542f51f4d8' }, this._getAccordion()));
|
121
125
|
}
|
122
126
|
//--------------------------------------------------------------------------
|
123
127
|
//
|
124
128
|
// Functions (protected)
|
125
129
|
//
|
126
130
|
//--------------------------------------------------------------------------
|
131
|
+
/**
|
132
|
+
* Deselect all items in the accordion except the one with the provided id.
|
133
|
+
* Only applies when selectionMode is "single" or "single-persist".
|
134
|
+
*
|
135
|
+
* @param id the id of the item to keep selected
|
136
|
+
*
|
137
|
+
* @protected
|
138
|
+
*/
|
139
|
+
_deselectOthers(id) {
|
140
|
+
if (this.listSelectionMode === "single" || this.listSelectionMode === "single-persist") {
|
141
|
+
const items = this.el.shadowRoot.querySelectorAll("calcite-list-item");
|
142
|
+
items.forEach(item => {
|
143
|
+
if (item.id !== id) {
|
144
|
+
item.selected = false;
|
145
|
+
}
|
146
|
+
});
|
147
|
+
}
|
148
|
+
}
|
127
149
|
/**
|
128
150
|
* Get the Accordion component
|
129
151
|
*
|
@@ -159,7 +181,7 @@ export class SolutionItemAccordion {
|
|
159
181
|
const tType = this._getTypeForDisplay(t.type, t.typeKeywords);
|
160
182
|
return tType === _type;
|
161
183
|
});
|
162
|
-
return (h("calcite-accordion-item", { description: `${_type} (${templateInfos.length})
|
184
|
+
return (h("calcite-accordion-item", { description: `${_type} (${templateInfos.length})`, onMouseEnter: () => this.solutionTypeHover.emit({ itemType: _type, entering: true }), onMouseLeave: () => this.solutionTypeHover.emit({ itemType: _type, entering: false }) }, h("solution-item-icon", { class: "padding-start-1 display-flex align-center", slot: "actions-start", type: templateInfo.type, typeKeywords: templateInfo.typeKeywords }), this._getList(templateInfos)));
|
163
185
|
}
|
164
186
|
/**
|
165
187
|
* Get the list of template infos for the current type
|
@@ -172,7 +194,7 @@ export class SolutionItemAccordion {
|
|
172
194
|
*/
|
173
195
|
_getList(templateInfos) {
|
174
196
|
const sortedTemplateInfos = this._sortTemplatesByTitle(templateInfos);
|
175
|
-
return (h("calcite-list", { label: "" }, sortedTemplateInfos.map(t => this._getListItem(t))));
|
197
|
+
return (h("calcite-list", { label: "", selectionAppearance: "border", selectionMode: this.listSelectionMode }, sortedTemplateInfos.map(t => this._getListItem(t))));
|
176
198
|
}
|
177
199
|
/**
|
178
200
|
* Get list item for the current type
|
@@ -184,7 +206,9 @@ export class SolutionItemAccordion {
|
|
184
206
|
* @protected
|
185
207
|
*/
|
186
208
|
_getListItem(templateInfo) {
|
187
|
-
return (h("calcite-list-item", { class: "font-size-override", description: templateInfo.snippet, label: templateInfo.title,
|
209
|
+
return (h("calcite-list-item", { class: "font-size-override", description: templateInfo.snippet, id: templateInfo.id, label: templateInfo.title, onCalciteListItemSelect: () => { this._deselectOthers(templateInfo.id); this.solutionItemSelect.emit({ itemId: templateInfo.id, selected: true }); }, onMouseEnter: () => this.solutionItemHover.emit({ itemId: templateInfo.id, entering: true }), onMouseLeave: () => this.solutionItemHover.emit({ itemId: templateInfo.id, entering: false }), value: templateInfo.id }, templateInfo.url
|
210
|
+
? h("calcite-action", { icon: "launch", onClick: () => window.open(templateInfo.url, "_blank"), slot: "actions-end", text: this._translations?.openDetails?.replace("{{solutionTitle}}", templateInfo.title) })
|
211
|
+
: null));
|
188
212
|
}
|
189
213
|
/**
|
190
214
|
* Sort the templates based on the title
|
@@ -310,6 +334,26 @@ export class SolutionItemAccordion {
|
|
310
334
|
"attribute": "locale",
|
311
335
|
"reflect": false
|
312
336
|
},
|
337
|
+
"listSelectionMode": {
|
338
|
+
"type": "string",
|
339
|
+
"mutable": false,
|
340
|
+
"complexType": {
|
341
|
+
"original": "\"multiple\" | \"single\" | \"single-persist\" | \"none\"",
|
342
|
+
"resolved": "\"multiple\" | \"none\" | \"single\" | \"single-persist\"",
|
343
|
+
"references": {}
|
344
|
+
},
|
345
|
+
"required": false,
|
346
|
+
"optional": false,
|
347
|
+
"docs": {
|
348
|
+
"tags": [],
|
349
|
+
"text": "Specifies the selection mode of the item-type lists used in the component, where:\r\n \"multiple\" allows any number of selections,\r\n \"single\" allows only one selection,\r\n \"single-persist\" allows one selection and prevents de-selection, and\r\n \"none\" does not allow any selections (default)"
|
350
|
+
},
|
351
|
+
"getter": false,
|
352
|
+
"setter": false,
|
353
|
+
"attribute": "list-selection-mode",
|
354
|
+
"reflect": false,
|
355
|
+
"defaultValue": "\"none\""
|
356
|
+
},
|
313
357
|
"templateInfos": {
|
314
358
|
"type": "unknown",
|
315
359
|
"mutable": false,
|
@@ -342,6 +386,72 @@ export class SolutionItemAccordion {
|
|
342
386
|
"_translations": {}
|
343
387
|
};
|
344
388
|
}
|
389
|
+
static get events() {
|
390
|
+
return [{
|
391
|
+
"method": "solutionItemHover",
|
392
|
+
"name": "solutionItemHover",
|
393
|
+
"bubbles": true,
|
394
|
+
"cancelable": true,
|
395
|
+
"composed": true,
|
396
|
+
"docs": {
|
397
|
+
"tags": [],
|
398
|
+
"text": ""
|
399
|
+
},
|
400
|
+
"complexType": {
|
401
|
+
"original": "ISolutionItemHover",
|
402
|
+
"resolved": "ISolutionItemHover",
|
403
|
+
"references": {
|
404
|
+
"ISolutionItemHover": {
|
405
|
+
"location": "import",
|
406
|
+
"path": "../../utils/interfaces",
|
407
|
+
"id": "src/utils/interfaces.ts::ISolutionItemHover"
|
408
|
+
}
|
409
|
+
}
|
410
|
+
}
|
411
|
+
}, {
|
412
|
+
"method": "solutionItemSelect",
|
413
|
+
"name": "solutionItemSelect",
|
414
|
+
"bubbles": true,
|
415
|
+
"cancelable": true,
|
416
|
+
"composed": true,
|
417
|
+
"docs": {
|
418
|
+
"tags": [],
|
419
|
+
"text": ""
|
420
|
+
},
|
421
|
+
"complexType": {
|
422
|
+
"original": "ISolutionItemSelected",
|
423
|
+
"resolved": "ISolutionItemSelected",
|
424
|
+
"references": {
|
425
|
+
"ISolutionItemSelected": {
|
426
|
+
"location": "import",
|
427
|
+
"path": "../../utils/interfaces",
|
428
|
+
"id": "src/utils/interfaces.ts::ISolutionItemSelected"
|
429
|
+
}
|
430
|
+
}
|
431
|
+
}
|
432
|
+
}, {
|
433
|
+
"method": "solutionTypeHover",
|
434
|
+
"name": "solutionTypeHover",
|
435
|
+
"bubbles": true,
|
436
|
+
"cancelable": true,
|
437
|
+
"composed": true,
|
438
|
+
"docs": {
|
439
|
+
"tags": [],
|
440
|
+
"text": ""
|
441
|
+
},
|
442
|
+
"complexType": {
|
443
|
+
"original": "ISolutionTypeHover",
|
444
|
+
"resolved": "ISolutionTypeHover",
|
445
|
+
"references": {
|
446
|
+
"ISolutionTypeHover": {
|
447
|
+
"location": "import",
|
448
|
+
"path": "../../utils/interfaces",
|
449
|
+
"id": "src/utils/interfaces.ts::ISolutionTypeHover"
|
450
|
+
}
|
451
|
+
}
|
452
|
+
}
|
453
|
+
}];
|
454
|
+
}
|
345
455
|
static get elementRef() { return "el"; }
|
346
456
|
static get watchers() {
|
347
457
|
return [{
|
@@ -478,7 +478,8 @@
|
|
478
478
|
"useOnly",
|
479
479
|
"Web Map"
|
480
480
|
],
|
481
|
-
"snippet": "A map used in the Catch Basin Volunteer Manager app to review volunteer applications."
|
481
|
+
"snippet": "A map used in the Catch Basin Volunteer Manager app to review volunteer applications.",
|
482
|
+
"url": "https://www.arcgis.com/home/item.html?id=373c7d07495e456183e61bb2cba6d732"
|
482
483
|
},
|
483
484
|
{
|
484
485
|
"id": "6d9665599c684910962904b20bb899eb",
|
@@ -495,7 +496,8 @@
|
|
495
496
|
"useOnly",
|
496
497
|
"Web Map"
|
497
498
|
],
|
498
|
-
"snippet": "A map used in the Catch Basin Volunteer Manager app to update catch basin adoption detail."
|
499
|
+
"snippet": "A map used in the Catch Basin Volunteer Manager app to update catch basin adoption detail.",
|
500
|
+
"url": "https://www.arcgis.com/home/item.html?id=6d9665599c684910962904b20bb899eb"
|
499
501
|
}];
|
500
502
|
|
501
503
|
}
|
@@ -503,7 +505,7 @@
|
|
503
505
|
</head>
|
504
506
|
|
505
507
|
<body onload="addValues()">
|
506
|
-
<solution-item-accordion id="demo" class="main column"
|
508
|
+
<solution-item-accordion id="demo" class="main column"/>
|
507
509
|
</body>
|
508
510
|
|
509
511
|
</html>
|
@@ -378,6 +378,7 @@ export interface ITemplateInfo {
|
|
378
378
|
type: string;
|
379
379
|
typeKeywords: string[];
|
380
380
|
snippet: string;
|
381
|
+
url?: string;
|
381
382
|
}
|
382
383
|
|
383
384
|
/**
|
@@ -644,4 +645,19 @@ export interface IReportingOption {
|
|
644
645
|
export interface ISortingInfo {
|
645
646
|
field: string;
|
646
647
|
order: 'asc' | 'desc';
|
647
|
-
}
|
648
|
+
}
|
649
|
+
|
650
|
+
export interface ISolutionItemHover {
|
651
|
+
itemId: string;
|
652
|
+
entering: boolean;
|
653
|
+
}
|
654
|
+
|
655
|
+
export interface ISolutionItemSelected {
|
656
|
+
itemId: string;
|
657
|
+
selected: boolean;
|
658
|
+
}
|
659
|
+
|
660
|
+
export interface ISolutionTypeHover {
|
661
|
+
itemType: string;
|
662
|
+
entering: boolean;
|
663
|
+
}
|
@@ -43,6 +43,7 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class PublicNotifi
|
|
43
43
|
this.locale = undefined;
|
44
44
|
this.mapView = undefined;
|
45
45
|
this.noResultText = undefined;
|
46
|
+
this.initialNotice = "";
|
46
47
|
this.searchConfiguration = undefined;
|
47
48
|
this.selectionLayerIds = [];
|
48
49
|
this.showRefineSelection = false;
|
@@ -265,7 +266,7 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class PublicNotifi
|
|
265
266
|
*/
|
266
267
|
render() {
|
267
268
|
const headerSlot = this._isMobile ? "footer" : "header";
|
268
|
-
return (h(Host, { key: '
|
269
|
+
return (h(Host, { key: '61ed8da1de1c6780188fb7bd4f69c82036ddf705' }, h("calcite-shell", { key: '9eb929b7d27d103a207be34681623ca2e0097ef1' }, h("calcite-action-bar", { key: '3c7ad5516fdca78819ebdbdc7c41642c816239ec', 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))));
|
269
270
|
}
|
270
271
|
/**
|
271
272
|
* StencilJS: Called once just after the component is first loaded.
|
@@ -464,7 +465,9 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class PublicNotifi
|
|
464
465
|
*/
|
465
466
|
_getListPage() {
|
466
467
|
const hasSets = this._hasSelections();
|
467
|
-
|
468
|
+
const noticeMessage = hasSets ? this._translations.listHasSetsTip :
|
469
|
+
this.initialNotice !== "" ? this.initialNotice : this._translations.selectLayerAndAdd;
|
470
|
+
return (h("calcite-panel", null, this._getLabel(this._translations.myLists), this._getNotice(noticeMessage, "padding-sides-1 padding-bottom-1", "word-wrap-anywhere"), hasSets ? this._getSelectionSetList() : (this._getOnboardingImage()), h("div", { class: "display-flex padding-1" }, h("calcite-button", { onClick: () => { this._setPageType(EPageType.SELECT); }, width: "full" }, h("span", { class: "font-weight-500" }, this._translations.add)))));
|
468
471
|
}
|
469
472
|
/**
|
470
473
|
* Display an image to help illustrate the basic workflow of the widget
|
@@ -1091,6 +1094,7 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class PublicNotifi
|
|
1091
1094
|
"locale": [1],
|
1092
1095
|
"mapView": [16],
|
1093
1096
|
"noResultText": [1, "no-result-text"],
|
1097
|
+
"initialNotice": [1, "initial-notice"],
|
1094
1098
|
"searchConfiguration": [1040],
|
1095
1099
|
"selectionLayerIds": [16],
|
1096
1100
|
"showRefineSelection": [4, "show-refine-selection"],
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
7
7
|
import { g as getLocaleComponentStrings } from './locale.js';
|
8
8
|
import { d as defineCustomElement$2 } from './solution-item-icon2.js';
|
9
9
|
|
@@ -15,7 +15,11 @@ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionI
|
|
15
15
|
super();
|
16
16
|
this.__registerHost();
|
17
17
|
this.__attachShadow();
|
18
|
+
this.solutionItemHover = createEvent(this, "solutionItemHover", 7);
|
19
|
+
this.solutionItemSelect = createEvent(this, "solutionItemSelect", 7);
|
20
|
+
this.solutionTypeHover = createEvent(this, "solutionTypeHover", 7);
|
18
21
|
this.locale = undefined;
|
22
|
+
this.listSelectionMode = "none";
|
19
23
|
this.templateInfos = [];
|
20
24
|
this._sortedTemplateInfos = [];
|
21
25
|
this._translations = undefined;
|
@@ -89,6 +93,9 @@ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionI
|
|
89
93
|
// Events (public)
|
90
94
|
//
|
91
95
|
//--------------------------------------------------------------------------
|
96
|
+
solutionItemHover;
|
97
|
+
solutionItemSelect;
|
98
|
+
solutionTypeHover;
|
92
99
|
//--------------------------------------------------------------------------
|
93
100
|
//
|
94
101
|
// Functions (lifecycle)
|
@@ -105,13 +112,31 @@ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionI
|
|
105
112
|
* Renders the component.
|
106
113
|
*/
|
107
114
|
render() {
|
108
|
-
return (h(Host, { key: '
|
115
|
+
return (h(Host, { key: '291cc1ca78a6fbb4adbe83d42b2c48542f51f4d8' }, this._getAccordion()));
|
109
116
|
}
|
110
117
|
//--------------------------------------------------------------------------
|
111
118
|
//
|
112
119
|
// Functions (protected)
|
113
120
|
//
|
114
121
|
//--------------------------------------------------------------------------
|
122
|
+
/**
|
123
|
+
* Deselect all items in the accordion except the one with the provided id.
|
124
|
+
* Only applies when selectionMode is "single" or "single-persist".
|
125
|
+
*
|
126
|
+
* @param id the id of the item to keep selected
|
127
|
+
*
|
128
|
+
* @protected
|
129
|
+
*/
|
130
|
+
_deselectOthers(id) {
|
131
|
+
if (this.listSelectionMode === "single" || this.listSelectionMode === "single-persist") {
|
132
|
+
const items = this.el.shadowRoot.querySelectorAll("calcite-list-item");
|
133
|
+
items.forEach(item => {
|
134
|
+
if (item.id !== id) {
|
135
|
+
item.selected = false;
|
136
|
+
}
|
137
|
+
});
|
138
|
+
}
|
139
|
+
}
|
115
140
|
/**
|
116
141
|
* Get the Accordion component
|
117
142
|
*
|
@@ -147,7 +172,7 @@ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionI
|
|
147
172
|
const tType = this._getTypeForDisplay(t.type, t.typeKeywords);
|
148
173
|
return tType === _type;
|
149
174
|
});
|
150
|
-
return (h("calcite-accordion-item", { description: `${_type} (${templateInfos.length})
|
175
|
+
return (h("calcite-accordion-item", { description: `${_type} (${templateInfos.length})`, onMouseEnter: () => this.solutionTypeHover.emit({ itemType: _type, entering: true }), onMouseLeave: () => this.solutionTypeHover.emit({ itemType: _type, entering: false }) }, h("solution-item-icon", { class: "padding-start-1 display-flex align-center", slot: "actions-start", type: templateInfo.type, typeKeywords: templateInfo.typeKeywords }), this._getList(templateInfos)));
|
151
176
|
}
|
152
177
|
/**
|
153
178
|
* Get the list of template infos for the current type
|
@@ -160,7 +185,7 @@ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionI
|
|
160
185
|
*/
|
161
186
|
_getList(templateInfos) {
|
162
187
|
const sortedTemplateInfos = this._sortTemplatesByTitle(templateInfos);
|
163
|
-
return (h("calcite-list", { label: "" }, sortedTemplateInfos.map(t => this._getListItem(t))));
|
188
|
+
return (h("calcite-list", { label: "", selectionAppearance: "border", selectionMode: this.listSelectionMode }, sortedTemplateInfos.map(t => this._getListItem(t))));
|
164
189
|
}
|
165
190
|
/**
|
166
191
|
* Get list item for the current type
|
@@ -172,7 +197,9 @@ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionI
|
|
172
197
|
* @protected
|
173
198
|
*/
|
174
199
|
_getListItem(templateInfo) {
|
175
|
-
return (h("calcite-list-item", { class: "font-size-override", description: templateInfo.snippet, label: templateInfo.title,
|
200
|
+
return (h("calcite-list-item", { class: "font-size-override", description: templateInfo.snippet, id: templateInfo.id, label: templateInfo.title, onCalciteListItemSelect: () => { this._deselectOthers(templateInfo.id); this.solutionItemSelect.emit({ itemId: templateInfo.id, selected: true }); }, onMouseEnter: () => this.solutionItemHover.emit({ itemId: templateInfo.id, entering: true }), onMouseLeave: () => this.solutionItemHover.emit({ itemId: templateInfo.id, entering: false }), value: templateInfo.id }, templateInfo.url
|
201
|
+
? h("calcite-action", { icon: "launch", onClick: () => window.open(templateInfo.url, "_blank"), slot: "actions-end", text: this._translations?.openDetails?.replace("{{solutionTitle}}", templateInfo.title) })
|
202
|
+
: null));
|
176
203
|
}
|
177
204
|
/**
|
178
205
|
* Sort the templates based on the title
|
@@ -272,6 +299,7 @@ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionI
|
|
272
299
|
static get style() { return SolutionItemAccordionStyle0; }
|
273
300
|
}, [1, "solution-item-accordion", {
|
274
301
|
"locale": [1],
|
302
|
+
"listSelectionMode": [1, "list-selection-mode"],
|
275
303
|
"templateInfos": [16],
|
276
304
|
"_sortedTemplateInfos": [32],
|
277
305
|
"_translations": [32]
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-089957fe.js';
|
7
|
-
import { _ as _typeof } from './typeof-
|
7
|
+
import { _ as _typeof } from './typeof-2511410e.js';
|
8
8
|
|
9
9
|
var defineProperty = {exports: {}};
|
10
10
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, g as getElement, h, H as Host, c as createEvent } from './index-df5db8e9.js';
|
7
|
-
import { l as loadModules, g as getLocaleComponentStrings } from './locale-
|
8
|
-
import './esri-loader-
|
7
|
+
import { l as loadModules, g as getLocaleComponentStrings } from './locale-4cea650e.js';
|
8
|
+
import './esri-loader-781d738a.js';
|
9
9
|
import './_commonjsHelpers-089957fe.js';
|
10
10
|
|
11
11
|
const basemapGalleryCss = ":host{display:block}";
|
@@ -4,10 +4,10 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-df5db8e9.js';
|
7
|
-
import { l as loadModules, g as getLocaleComponentStrings } from './locale-
|
7
|
+
import { l as loadModules, g as getLocaleComponentStrings } from './locale-4cea650e.js';
|
8
8
|
import { f as EDrawMode } from './interfaces-659e3836.js';
|
9
9
|
import { s as state } from './publicNotificationStore-9ec5e22a.js';
|
10
|
-
import './esri-loader-
|
10
|
+
import './esri-loader-781d738a.js';
|
11
11
|
import './_commonjsHelpers-089957fe.js';
|
12
12
|
import './index-c247b62b.js';
|
13
13
|
|
@@ -4,13 +4,13 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-df5db8e9.js';
|
7
|
-
import { g as getLocaleComponentStrings, l as loadModules } from './locale-
|
7
|
+
import { g as getLocaleComponentStrings, l as loadModules } from './locale-4cea650e.js';
|
8
8
|
import { g as getLayerOrTable, q as queryFeaturesByID, e as goToSelection, f as queryAllIds, i as queryAllOidsWithQueryFeatures, j as queryFeaturesByGlobalID, c as getFeatureLayerView } from './mapViewUtils-f54edae3.js';
|
9
|
-
import { d as downloadCSV } from './downloadUtils-
|
10
|
-
import './esri-loader-
|
9
|
+
import { d as downloadCSV } from './downloadUtils-6ca6519f.js';
|
10
|
+
import './esri-loader-781d738a.js';
|
11
11
|
import './_commonjsHelpers-089957fe.js';
|
12
12
|
import './interfaces-659e3836.js';
|
13
|
-
import './typeof-
|
13
|
+
import './typeof-2511410e.js';
|
14
14
|
import './index-d88c3eb6.js';
|
15
15
|
import './solution-resource-30a29505.js';
|
16
16
|
import './restHelpersGet-a7fda344.js';
|
@@ -4,12 +4,12 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h as h$1, H as Host } from './index-df5db8e9.js';
|
7
|
-
import { g as getLocaleComponentStrings } from './locale-
|
7
|
+
import { g as getLocaleComponentStrings } from './locale-4cea650e.js';
|
8
8
|
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './_commonjsHelpers-089957fe.js';
|
9
|
-
import { d as defineProperty, _ as _asyncToGenerator$1, a as _defineProperty$2 } from './asyncToGenerator-
|
10
|
-
import { _ as _typeof$1, t as t$2 } from './typeof-
|
9
|
+
import { d as defineProperty, _ as _asyncToGenerator$1, a as _defineProperty$2 } from './asyncToGenerator-48cd21fe.js';
|
10
|
+
import { _ as _typeof$1, t as t$2 } from './typeof-2511410e.js';
|
11
11
|
import { r as request, _ as __assign, g as getPortalUrl, u as updateItem } from './update-ad0b88fa.js';
|
12
|
-
import './esri-loader-
|
12
|
+
import './esri-loader-781d738a.js';
|
13
13
|
|
14
14
|
function shouldDisableTracking(options = {}) {
|
15
15
|
const { disabled, portal } = options;
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import { l as loadModules } from './loadModules-
|
6
|
+
import { l as loadModules } from './loadModules-400cb067.js';
|
7
7
|
|
8
8
|
async function fetchResourceData(resource) {
|
9
9
|
try {
|
@@ -4,14 +4,14 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h, F as Fragment, H as Host } from './index-df5db8e9.js';
|
7
|
-
import { l as loadModules, g as getLocaleComponentStrings } from './locale-
|
7
|
+
import { l as loadModules, g as getLocaleComponentStrings } from './locale-4cea650e.js';
|
8
8
|
import { a as getAllLayers, g as getLayerOrTable } from './mapViewUtils-f54edae3.js';
|
9
|
-
import { P as PopupUtils } from './popupUtils-
|
10
|
-
import './esri-loader-
|
9
|
+
import { P as PopupUtils } from './popupUtils-dea8b2bb.js';
|
10
|
+
import './esri-loader-781d738a.js';
|
11
11
|
import './_commonjsHelpers-089957fe.js';
|
12
12
|
import './interfaces-659e3836.js';
|
13
|
-
import './downloadUtils-
|
14
|
-
import './typeof-
|
13
|
+
import './downloadUtils-6ca6519f.js';
|
14
|
+
import './typeof-2511410e.js';
|
15
15
|
import './index-d88c3eb6.js';
|
16
16
|
import './solution-resource-30a29505.js';
|
17
17
|
import './restHelpersGet-a7fda344.js';
|
@@ -4,9 +4,9 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h, F as Fragment } from './index-df5db8e9.js';
|
7
|
-
import { l as loadModules, g as getLocaleComponentStrings, f as formatNumber } from './locale-
|
7
|
+
import { l as loadModules, g as getLocaleComponentStrings, f as formatNumber } from './locale-4cea650e.js';
|
8
8
|
import { b as getAllTables, d as getMapLayerHash, a as getAllLayers, c as getFeatureLayerView } from './mapViewUtils-f54edae3.js';
|
9
|
-
import './esri-loader-
|
9
|
+
import './esri-loader-781d738a.js';
|
10
10
|
import './_commonjsHelpers-089957fe.js';
|
11
11
|
import './interfaces-659e3836.js';
|
12
12
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host, F as Fragment } from './index-df5db8e9.js';
|
7
|
-
import { g as getLocaleComponentStrings } from './locale-
|
7
|
+
import { g as getLocaleComponentStrings } from './locale-4cea650e.js';
|
8
8
|
import { E as ELayoutMode } from './interfaces-659e3836.js';
|
9
9
|
import { g as getLayerOrTable } from './mapViewUtils-f54edae3.js';
|
10
|
-
import './esri-loader-
|
10
|
+
import './esri-loader-781d738a.js';
|
11
11
|
import './_commonjsHelpers-089957fe.js';
|
12
12
|
|
13
13
|
const crowdsourceManagerCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}.z-index-1{z-index:1 !important}.filter-content-space{--calcite-dialog-content-space:0px}";
|
@@ -4,9 +4,9 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host, F as Fragment } from './index-df5db8e9.js';
|
7
|
-
import { l as loadModules, g as getLocaleComponentStrings } from './locale-
|
7
|
+
import { l as loadModules, g as getLocaleComponentStrings } from './locale-4cea650e.js';
|
8
8
|
import { g as getLayerOrTable, a as getAllLayers, b as getAllTables, c as getFeatureLayerView, h as highlightFeatures, d as getMapLayerHash, q as queryFeaturesByID } from './mapViewUtils-f54edae3.js';
|
9
|
-
import './esri-loader-
|
9
|
+
import './esri-loader-781d738a.js';
|
10
10
|
import './_commonjsHelpers-089957fe.js';
|
11
11
|
import './interfaces-659e3836.js';
|
12
12
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-df5db8e9.js';
|
7
|
-
import { g as getLocaleComponentStrings } from './locale-
|
8
|
-
import './esri-loader-
|
7
|
+
import { g as getLocaleComponentStrings } from './locale-4cea650e.js';
|
8
|
+
import './esri-loader-781d738a.js';
|
9
9
|
import './_commonjsHelpers-089957fe.js';
|
10
10
|
|
11
11
|
const deleteDialogCss = ":host{display:block}.delete-modal{position:fixed}";
|
@@ -3,9 +3,9 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import { t } from './typeof-
|
6
|
+
import { t } from './typeof-2511410e.js';
|
7
7
|
import { a as getAssetPath } from './index-df5db8e9.js';
|
8
|
-
import { l as loadModules } from './locale-
|
8
|
+
import { l as loadModules } from './locale-4cea650e.js';
|
9
9
|
import { q as queryFeaturesByID } from './mapViewUtils-f54edae3.js';
|
10
10
|
import { S as Sanitizer } from './index-d88c3eb6.js';
|
11
11
|
import './solution-resource-30a29505.js';
|
@@ -1602,7 +1602,7 @@ function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++
|
|
1602
1602
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1603
1603
|
* ====================================================================
|
1604
1604
|
*/
|
1605
|
-
function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):import('./index.es-
|
1605
|
+
function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):import('./index.es-158fd72a.js')).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}E.API.addSvgAsImage=function(t,r,n,i,o,s,c,u){if(isNaN(r)||isNaN(n))throw a.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw a.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var h=document.createElement("canvas");h.width=i,h.height=o;var l=h.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,h.width,h.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then((function(e){return e.fromString(l,t,f)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(f)})).then((function(){d.addImage(h.toDataURL("image/jpeg",1),r,n,i,o,c,u);}))};}(),E.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},E.API.viewerPreferences=function(e,r){var n;e=e||{},r=r||!1;var i,a,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(s),u=[],h=0,l=0,f=0;function d(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===r){var p=c.length;for(f=0;f<p;f+=1)n[c[f]].value=n[c[f]].defaultValue,n[c[f]].explicitSet=!1;}if("object"===t(e))for(a in e)if(o=e[a],d(c,a)&&void 0!==o){if("boolean"===n[a].type&&"boolean"==typeof o)n[a].value=o;else if("name"===n[a].type&&d(n[a].valueSet,o))n[a].value=o;else if("integer"===n[a].type&&Number.isInteger(o))n[a].value=o;else if("array"===n[a].type){for(h=0;h<o.length;h+=1)if(i=!0,1===o[h].length&&"number"==typeof o[h][0])u.push(String(o[h]-1));else if(o[h].length>1){for(l=0;l<o[h].length;l+=1)"number"!=typeof o[h][l]&&(i=!1);!0===i&&u.push([o[h][0]-1,o[h][1]-1].join(" "));}n[a].value="["+u.join(" ")+"]";}else n[a].value=n[a].defaultValue;n[a].explicitSet=!0;}return !1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in n)!0===n[t].explicitSet&&("name"===n[t].type?e.push("/"+t+" /"+n[t].value):e.push("/"+t+" "+n[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>");})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},
|
1606
1606
|
/** ====================================================================
|
1607
1607
|
* @license
|
1608
1608
|
* jsPDF XMP metadata plugin
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import { l as loadModules } from './loadModules-
|
6
|
+
import { l as loadModules } from './loadModules-400cb067.js';
|
7
7
|
|
8
8
|
async function getMergedEffect(presetLayerEffect, featureLayerView, type) {
|
9
9
|
const [jsonUtils] = await loadModules(['esri/layers/effects/jsonUtils']);
|
@@ -4,13 +4,13 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h } from './index-df5db8e9.js';
|
7
|
-
import { l as loadModules, g as getLocaleComponentStrings } from './locale-
|
8
|
-
import { P as PopupUtils } from './popupUtils-
|
7
|
+
import { l as loadModules, g as getLocaleComponentStrings } from './locale-4cea650e.js';
|
8
|
+
import { P as PopupUtils } from './popupUtils-dea8b2bb.js';
|
9
9
|
import { g as getLayerOrTable, c as getFeatureLayerView, h as highlightFeatures } from './mapViewUtils-f54edae3.js';
|
10
|
-
import './esri-loader-
|
10
|
+
import './esri-loader-781d738a.js';
|
11
11
|
import './_commonjsHelpers-089957fe.js';
|
12
|
-
import './downloadUtils-
|
13
|
-
import './typeof-
|
12
|
+
import './downloadUtils-6ca6519f.js';
|
13
|
+
import './typeof-2511410e.js';
|
14
14
|
import './index-d88c3eb6.js';
|
15
15
|
import './solution-resource-30a29505.js';
|
16
16
|
import './restHelpersGet-a7fda344.js';
|
@@ -3,8 +3,8 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import { l as loadModules } from './loadModules-
|
7
|
-
import { g as getMergedEffect } from './effects-
|
6
|
+
import { l as loadModules } from './loadModules-400cb067.js';
|
7
|
+
import { g as getMergedEffect } from './effects-c8fc15b3.js';
|
8
8
|
import { c as createStore } from './index-c247b62b.js';
|
9
9
|
|
10
10
|
const InteractiveLegendStore = createStore({ data: {}, relationshipRampExpandStates: {}, compact: false });
|