@esri/solutions-components 0.8.25 → 0.8.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +6 -6
- package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-alert_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-flow_6.cjs.entry.js +87 -58
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +7 -7
- package/dist/cjs/card-manager_3.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +3 -3
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +1 -1
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/location-flow-item.cjs.entry.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/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/components/create-feature/create-feature.js +82 -50
- package/dist/collection/components/create-related-feature/create-related-feature.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.css +4 -0
- package/dist/collection/components/delete-button/delete-button.js +2 -2
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-comments/feature-comments.js +1 -1
- package/dist/collection/components/feature-details/feature-details.js +6 -6
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.js +3 -3
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +1 -1
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
- package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +1 -1
- package/dist/collection/components/refine-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/components/create-feature2.js +90 -53
- package/dist/components/create-related-feature2.js +1 -1
- package/dist/components/crowdsource-manager.js +1 -1
- package/dist/components/crowdsource-reporter.js +1 -1
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +3 -3
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-details2.js +6 -6
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +3 -3
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/info-card2.js +2 -2
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/layer-table2.js +1 -1
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +1 -1
- package/dist/components/refine-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-ref2.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +6 -6
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/calcite-alert_4.entry.js +6 -6
- package/dist/esm/calcite-dropdown-group_2.entry.js +1 -1
- package/dist/esm/calcite-flow_6.entry.js +87 -58
- package/dist/esm/calcite-shell-panel_14.entry.js +7 -7
- package/dist/esm/card-manager_3.entry.js +2 -2
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +3 -3
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/layout-manager.entry.js +1 -1
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/location-flow-item.entry.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/solution-item-icon.entry.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/solutions-components/{p-2c044250.entry.js → p-053be79f.entry.js} +2 -2
- package/dist/solutions-components/{p-1ff9eb95.entry.js → p-05b3a5d9.entry.js} +1 -1
- package/dist/solutions-components/p-0d17246a.entry.js +6 -0
- package/dist/solutions-components/{p-b3160299.entry.js → p-1e915546.entry.js} +1 -1
- package/dist/solutions-components/{p-97e343df.entry.js → p-1f4b174f.entry.js} +1 -1
- package/dist/solutions-components/p-27e9ea86.entry.js +6 -0
- package/dist/solutions-components/{p-72317f8e.entry.js → p-296375d3.entry.js} +2 -2
- package/dist/solutions-components/{p-af4be4ce.entry.js → p-2a6db6e8.entry.js} +1 -1
- package/dist/solutions-components/p-4870be89.entry.js +6 -0
- package/dist/solutions-components/p-51b5ac05.entry.js +6 -0
- package/dist/solutions-components/{p-686fa7ce.entry.js → p-66722851.entry.js} +1 -1
- package/dist/solutions-components/{p-f35cc7ae.entry.js → p-81747268.entry.js} +1 -1
- package/dist/solutions-components/{p-84a5d221.entry.js → p-92eadd14.entry.js} +1 -1
- package/dist/solutions-components/{p-fc665a1a.entry.js → p-96c901b4.entry.js} +1 -1
- package/dist/solutions-components/p-9cfc59dd.entry.js +6 -0
- package/dist/solutions-components/{p-16730f05.entry.js → p-b656b73e.entry.js} +1 -1
- package/dist/solutions-components/{p-8c500fd7.entry.js → p-bfdabb9d.entry.js} +1 -1
- package/dist/solutions-components/p-c5becad1.entry.js +6 -0
- package/dist/solutions-components/{p-102b1f94.entry.js → p-cb20ba34.entry.js} +1 -1
- package/dist/solutions-components/p-cd694107.entry.js +17 -0
- package/dist/solutions-components/p-e1662e32.entry.js +6 -0
- package/dist/solutions-components/p-eda6994e.entry.js +6 -0
- package/dist/solutions-components/{p-bf57dbfd.entry.js → p-edcc1f23.entry.js} +1 -1
- package/dist/solutions-components/p-f7b791a8.entry.js +6 -0
- package/dist/solutions-components/p-fac36b42.entry.js +6 -0
- package/dist/solutions-components/{p-33845a79.entry.js → p-fd28754c.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/create-feature/create-feature.d.ts +21 -3
- package/package.json +1 -1
- package/dist/solutions-components/p-28c6906c.entry.js +0 -6
- package/dist/solutions-components/p-3470c0f7.entry.js +0 -6
- package/dist/solutions-components/p-3fae9775.entry.js +0 -6
- package/dist/solutions-components/p-5b817c98.entry.js +0 -6
- package/dist/solutions-components/p-71de367b.entry.js +0 -6
- package/dist/solutions-components/p-8a81f3c7.entry.js +0 -6
- package/dist/solutions-components/p-aa06f4d1.entry.js +0 -6
- package/dist/solutions-components/p-b76b5310.entry.js +0 -6
- package/dist/solutions-components/p-c047a6fc.entry.js +0 -6
- package/dist/solutions-components/p-c2ec0dcc.entry.js +0 -17
- package/dist/solutions-components/p-e9176a44.entry.js +0 -6
|
@@ -162,7 +162,7 @@ const FloorFilter = class {
|
|
|
162
162
|
return this._initModules();
|
|
163
163
|
}
|
|
164
164
|
render() {
|
|
165
|
-
return (index.h(index.Host, { key: '
|
|
165
|
+
return (index.h(index.Host, { key: '98769446b20d8a9432b571b5653abbc6613bdfe5' }, index.h("div", { key: '6606a2593fec1885fc02b07a168bdea43e7f864a', ref: (el) => { this._floorFilterElement = el; } })));
|
|
166
166
|
}
|
|
167
167
|
//--------------------------------------------------------------------------
|
|
168
168
|
//
|
|
@@ -255,7 +255,7 @@ const MapFullscreen = class {
|
|
|
255
255
|
* Renders the component.
|
|
256
256
|
*/
|
|
257
257
|
render() {
|
|
258
|
-
return (index.h(index.Host, { key: '
|
|
258
|
+
return (index.h(index.Host, { key: '943217d26f3cf5861c165c3300ba24736ce8f7dc' }, index.h("div", { key: '6c76ebf6e63dab19f24d776cd27cd86b74ea93d0', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
|
|
259
259
|
}
|
|
260
260
|
/**
|
|
261
261
|
* StencilJS: Called just after the component updates.
|
|
@@ -361,7 +361,7 @@ const MapLegend = class {
|
|
|
361
361
|
* StencilJS: Renders the component.
|
|
362
362
|
*/
|
|
363
363
|
render() {
|
|
364
|
-
return (index.h(index.Host, { key: '
|
|
364
|
+
return (index.h(index.Host, { key: 'bdd3b848bec1aec6f8c7676f8bab5e9463b16064' }, index.h("div", { key: 'd7bb217db6971758ef8774d19d6ac5cfa94a0ddc', ref: (el) => { this._legendElement = el; } })));
|
|
365
365
|
}
|
|
366
366
|
/**
|
|
367
367
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
|
@@ -479,7 +479,7 @@ const MapPicker = class {
|
|
|
479
479
|
* Renders the component.
|
|
480
480
|
*/
|
|
481
481
|
render() {
|
|
482
|
-
return (index.h(index.Host, { key: '
|
|
482
|
+
return (index.h(index.Host, { key: '86994e2c4d87809c1508b073c3af1c0975c2d81d' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
|
|
483
483
|
}
|
|
484
484
|
/**
|
|
485
485
|
* Called once after the component has loaded
|
|
@@ -638,7 +638,7 @@ const MapSearch = class {
|
|
|
638
638
|
* Renders the component.
|
|
639
639
|
*/
|
|
640
640
|
render() {
|
|
641
|
-
return (index.h(index.Host, { key: '
|
|
641
|
+
return (index.h(index.Host, { key: '5036a89c6a686b2486ff88dffd06f0bed1ea510e' }, index.h("div", { key: '4c5ede4d9877ff0ca0f16706c99aba354df21fd1', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
|
|
642
642
|
}
|
|
643
643
|
//--------------------------------------------------------------------------
|
|
644
644
|
//
|
|
@@ -903,7 +903,7 @@ const MapTools = class {
|
|
|
903
903
|
const toolMarginClass = this.enableSingleExpand ? "margin-top-1-2" : "";
|
|
904
904
|
const toolOrder = this.toolOrder ? this.toolOrder : ["legend", "search", "fullscreen", "floorfilter"];
|
|
905
905
|
const shadowClass = this.stackTools ? "box-shadow" : "";
|
|
906
|
-
return (index.h(index.Host, { key: '
|
|
906
|
+
return (index.h(index.Host, { key: 'a1557491ffd833bed11843dbe1bd040a9d2d6b15' }, index.h("div", { key: '8866b3bc6e05fa75605b078e1a3deecaf6392024', class: containerClass }, this.enableSingleExpand ? (index.h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, index.h("div", { key: '6a4e62ad1afcca39365aa965ffabedf8933051d4', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), index.h("basemap-gallery", { key: '4edade9536c0912a89f6a9335ae05ae46669e14d', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), index.h("map-search", { key: '046d02c1927def025294645c6e855906fabd30aa', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), index.h("map-legend", { key: '54575e31073bdc68b611939eb0e619e4479b26f3', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), index.h("map-fullscreen", { key: '9a54a22e12c372dd85717f83cf31b4ace80489eb', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), index.h("floor-filter", { key: 'ffadf501a03186ed6f2fec8754cd758faea5b4dd', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
|
907
907
|
}
|
|
908
908
|
//--------------------------------------------------------------------------
|
|
909
909
|
//
|
|
@@ -420,7 +420,7 @@ const MapDrawTools = class {
|
|
|
420
420
|
"border" : "border esri-widget esri-sketch__panel";
|
|
421
421
|
const undoRedoClass = this.drawMode === interfaces.EDrawMode.SKETCH ?
|
|
422
422
|
"display-none" : "esri-widget esri-sketch__panel border-left esri-sketch__section";
|
|
423
|
-
return (index.h(index.Host, { key: '
|
|
423
|
+
return (index.h(index.Host, { key: '1f9544ac97df4b51337260e1bb7cf3b5d923fa03' }, index.h("div", { key: 'eca20834d2eacf3cc4a30e6ecf15a2f8d894cb8f', class: containerClass }, index.h("div", { key: '32bbaf5a03251c035821880231acb894a452b8dd', ref: (el) => { this._sketchElement = el; } }), index.h("div", { key: 'cd446419c2b7d347711a48851baec46f24d20375', class: undoRedoClass }, index.h("calcite-action", { key: '03ce63c7805c1cc1b63e78336ba624199eef3336', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), index.h("calcite-action", { key: '0d688389277586163c589561865ab7778021ac10', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
|
|
424
424
|
}
|
|
425
425
|
//--------------------------------------------------------------------------
|
|
426
426
|
//
|
|
@@ -329,7 +329,7 @@ const Alert = class {
|
|
|
329
329
|
};
|
|
330
330
|
Alert.style = CalciteAlertStyle0;
|
|
331
331
|
|
|
332
|
-
const deleteButtonCss = ":host{display:block}";
|
|
332
|
+
const deleteButtonCss = ":host{display:block}.delete-modal{position:fixed}";
|
|
333
333
|
const DeleteButtonStyle0 = deleteButtonCss;
|
|
334
334
|
|
|
335
335
|
const DeleteButton = class {
|
|
@@ -386,7 +386,7 @@ const DeleteButton = class {
|
|
|
386
386
|
* Renders the component.
|
|
387
387
|
*/
|
|
388
388
|
render() {
|
|
389
|
-
return (index.h(index.Host, { key: '
|
|
389
|
+
return (index.h(index.Host, { key: '87e080ea4203ab7fcb1313d8fa57a3d5c5d37885' }, this.buttonType === "button" ? (index.h("calcite-button", { appearance: "outline", disabled: !this._deleteEndabled, id: "solutions-delete", kind: "danger", onClick: () => this._delete(), width: "full" }, this._translations.deleteCount.replace("{{n}}", this.ids.length.toString()))) : (index.h("calcite-action", { appearance: "solid", compact: true, disabled: !this._deleteEndabled, id: this.icon, onClick: () => this._delete(), scale: "s", text: this._translations.delete }, index.h("calcite-button", { appearance: "transparent", iconStart: this.icon, kind: "danger" }, this._translations.delete))), this._deleteMessage()));
|
|
390
390
|
}
|
|
391
391
|
/**
|
|
392
392
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
|
@@ -423,7 +423,7 @@ const DeleteButton = class {
|
|
|
423
423
|
_deleteMessage() {
|
|
424
424
|
const confirmMessage = this.ids.length === 1 ? this._translations.confirmSingle :
|
|
425
425
|
this._translations.confirmMultiple;
|
|
426
|
-
return (index.h("calcite-modal", { "aria-labelledby": "modal-title", kind: "danger", onCalciteModalClose: () => this._deleteClosed(), open: this._confirmDelete }, index.h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations.deleteFeature), index.h("div", { slot: "content" }, confirmMessage), index.h("calcite-button", { appearance: "outline", kind: "danger", onClick: () => this._deleteClosed(), slot: "secondary", width: "full" }, this._translations.cancel), index.h("calcite-button", { kind: "danger", loading: this._isDeleting, onClick: () => void this._deleteFeatures(), slot: "primary", width: "full" }, this._translations.delete)));
|
|
426
|
+
return (index.h("calcite-modal", { "aria-labelledby": "modal-title", class: "delete-modal", kind: "danger", onCalciteModalClose: () => this._deleteClosed(), open: this._confirmDelete }, index.h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations.deleteFeature), index.h("div", { slot: "content" }, confirmMessage), index.h("calcite-button", { appearance: "outline", kind: "danger", onClick: () => this._deleteClosed(), slot: "secondary", width: "full" }, this._translations.cancel), index.h("calcite-button", { kind: "danger", loading: this._isDeleting, onClick: () => void this._deleteFeatures(), slot: "primary", width: "full" }, this._translations.delete)));
|
|
427
427
|
}
|
|
428
428
|
/**
|
|
429
429
|
* Delete the currently selected features
|
|
@@ -560,7 +560,7 @@ const EditCard = class {
|
|
|
560
560
|
!this.graphics[0].layer.editingEnabled : true;
|
|
561
561
|
const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
|
|
562
562
|
const loadingClass = this._editorLoading ? "" : "display-none";
|
|
563
|
-
return (index.h(index.Host, { key: '
|
|
563
|
+
return (index.h(index.Host, { key: '80acdd7d9b9441be28664ab60b7ad5d19c633bdd' }, index.h("div", { key: 'c8e41f2f7f3d5fcc4f49dd42b1f530c9e422cc8a', class: "position-absolute" }, editDisabled ? (index.h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, index.h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, index.h("div", { key: '4b93fef902254d2a55e997bccdb4e16ee67c3c75', class: "position-absolute" }, index.h("div", { key: '1794c5c246ab90b2915a15a15077ae7d82ec567c', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), index.h("calcite-loader", { key: '001162f8ae947cae915de33c16a116efd7795f75', class: loadingClass, label: "", scale: "s" })))));
|
|
564
564
|
}
|
|
565
565
|
//--------------------------------------------------------------------------
|
|
566
566
|
//
|
|
@@ -842,8 +842,8 @@ const InfoCard = class {
|
|
|
842
842
|
const id = (_d = (_c = this._features) === null || _c === void 0 ? void 0 : _c.selectedFeature) === null || _d === void 0 ? void 0 : _d.getObjectId();
|
|
843
843
|
const ids = parseInt(id === null || id === void 0 ? void 0 : id.toString(), 10) > -1 ? [id] : [];
|
|
844
844
|
const deleteEnabled = ((_e = this._layer) === null || _e === void 0 ? void 0 : _e.editingEnabled) && ((_h = (_g = (_f = this._layer) === null || _f === void 0 ? void 0 : _f.capabilities) === null || _g === void 0 ? void 0 : _g.operations) === null || _h === void 0 ? void 0 : _h.supportsDelete);
|
|
845
|
-
return (index.h(index.Host, { key: '
|
|
846
|
-
index.h("div", { key: '
|
|
845
|
+
return (index.h(index.Host, { key: 'ac9c78b064154a666a50e7e8540f13bd541c4d37' }, index.h("calcite-shell", { key: 'e12b6fd8ac5f92282899edceb5818764fb543301', style: { position: this.position } }, this._getHeader(), index.h("calcite-loader", { key: 'e73db3c6f71cddf497cb20e1f59e9f1d8b1ecdd6', class: loadingClass, label: this._translations.fetchingData }), index.h("div", { key: 'ab1913d90206219978d425a45f312da3e73bcca8', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), index.h("div", { key: '67242dfb2b219e71a135c88d9d5e2fd40b083226', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
|
|
846
|
+
index.h("div", { key: '25ee3d9374a5ce97c4fcd672b1f78315d1294719', class: "display-flex top-border padding-1-2" }, index.h("calcite-button", { key: '840e3b4ae075fbfd7836f2757128e2cfe9f267e3', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (index.h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, onEditsComplete: () => this._closePopup() })) : undefined, index.h("calcite-tooltip", { key: '747436c3815e94976c2838777a26185c9cb7ab28', placement: "bottom", "reference-element": "solutions-edit" }, index.h("span", { key: 'd40dbe85eddaf99acc522f305960ce59c16a8b1f' }, this._translations.edit)), this.isMobile ? (index.h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, index.h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && index.h("div", { key: '9a1b1e5d7e4432f6b2cd80f77a49f50b1910117f', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, index.h("div", { key: '9b6fd66023b514ff996107ade3af93415f1353f1' }, index.h("calcite-button", { key: '823bcbe1a3b592344972e6ef39fd5088ab6197fa', appearance: 'transparent', disabled: nextBackDisabled, iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), index.h("calcite-tooltip", { key: 'f547487c9eae179e0c65015a24432c936de2ceca', placement: "top", "reference-element": "solutions-back" }, index.h("span", { key: 'f6f352416103008acc20238efe7e7714fca8d05e' }, this._translations.back))), index.h("calcite-action", { key: '799e06b8af5df338b920ddc578fa349de469e786', class: 'pagination-action', onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, index.h("span", { key: 'adee5b6b5149dbb4c1d6136c1314db89a04e8913', class: "pagination-count" }, this._count)), index.h("div", { key: '87f181c53ad1806a9831d01b54fdd51434a5a4c2' }, index.h("calcite-button", { key: 'a4612a6f0d9b6a9412e60022599cba536cd4f623', appearance: "transparent", disabled: nextBackDisabled, iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), index.h("calcite-tooltip", { key: '613849a34a568fe8df2abe8b1813070cb7a54633', placement: "top", "reference-element": "solutions-next" }, index.h("span", { key: '35a2e621ce4b3bccb2b859e961db1065d619b2d9' }, this._translations.next))))), index.h("edit-card", { key: 'a2054fc21fc09dbffc47e1a7617a4b91b29d26fd', class: editClass, graphicIndex: (_j = this._features) === null || _j === void 0 ? void 0 : _j.selectedFeatureIndex, graphics: this.graphics, mapView: this.mapView, open: this._editRecordOpen }), index.h("calcite-alert", { key: 'ec0fd6540b21987c80fe2035efa96d197c1e6cec', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, index.h("div", { key: '721a363423ec61a9645b003a7d53849137fe1b82', slot: "title" }, this._translations.editDisabled), index.h("div", { key: '143e9ff06f5363682e8b9e1976fdbfdd1b56f2a9', slot: "message" }, this._translations.enableEditing)))));
|
|
847
847
|
}
|
|
848
848
|
//--------------------------------------------------------------------------
|
|
849
849
|
//
|
|
@@ -171,7 +171,7 @@ const MapLayerPicker = class {
|
|
|
171
171
|
const id = "map-layer-picker";
|
|
172
172
|
let style = this.height > 0 ? { "height": `${this.height.toString()}px` } : {};
|
|
173
173
|
style = Object.assign(Object.assign({}, style), { "display": this.display });
|
|
174
|
-
return (index.h(index.Host, { key: '
|
|
174
|
+
return (index.h(index.Host, { key: 'a96e93924530d926c5e10dd2f7212f3f8c1cbe3c' }, index.h("div", { key: '4b96a73e43e86c31291e4ac60eb15976b01de6a2', class: "map-layer-picker-container", style: style }, index.h("div", { key: 'e75c61d8ce0853814dd3903b9e1952cc613b6fbb', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
|
|
175
175
|
!this._hasMultipleLayers && this.showSingleLayerAsLabel ? this._getSingleLayerPlaceholder() :
|
|
176
176
|
this.type === "combobox" ? this._getCombobox(id) :
|
|
177
177
|
this.type === "select" ? this._getSelect(id) : this._getDropdown(id)))));
|
|
@@ -359,6 +359,7 @@ const CreateFeature = class {
|
|
|
359
359
|
this.selectedLayerId = undefined;
|
|
360
360
|
this.customizeSubmit = false;
|
|
361
361
|
this.searchConfiguration = undefined;
|
|
362
|
+
this._editorLoading = false;
|
|
362
363
|
this.showSearchWidget = undefined;
|
|
363
364
|
}
|
|
364
365
|
//--------------------------------------------------------------------------
|
|
@@ -367,13 +368,25 @@ const CreateFeature = class {
|
|
|
367
368
|
//
|
|
368
369
|
//--------------------------------------------------------------------------
|
|
369
370
|
/**
|
|
370
|
-
|
|
371
|
-
|
|
371
|
+
* Called each time the mapView prop is changed.
|
|
372
|
+
*/
|
|
372
373
|
async mapViewWatchHandler() {
|
|
373
374
|
await this.mapView.when(async () => {
|
|
374
375
|
await this.init();
|
|
375
376
|
});
|
|
376
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* When _editorLoading is true the container node will be hidden while starting the create workflow
|
|
380
|
+
*/
|
|
381
|
+
async _editorLoadingWatchHandler(v) {
|
|
382
|
+
var _a, _b;
|
|
383
|
+
if (v) {
|
|
384
|
+
(_a = this._container) === null || _a === void 0 ? void 0 : _a.classList.add("display-none");
|
|
385
|
+
await this.startCreate();
|
|
386
|
+
(_b = this._container) === null || _b === void 0 ? void 0 : _b.classList.remove("display-none");
|
|
387
|
+
this._editorLoading = false;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
377
390
|
//--------------------------------------------------------------------------
|
|
378
391
|
//
|
|
379
392
|
// Methods (public)
|
|
@@ -421,7 +434,9 @@ const CreateFeature = class {
|
|
|
421
434
|
*/
|
|
422
435
|
render() {
|
|
423
436
|
const showSearchWidget = this.showSearchWidget ? '' : 'display-none';
|
|
424
|
-
|
|
437
|
+
const loaderClass = this._editorLoading ? "" : "display-none";
|
|
438
|
+
const featureFormClass = this._editorLoading ? "display-none" : "";
|
|
439
|
+
return (index.h(index.Fragment, { key: '2e790defdd5592fed729853888ee06143c95c84d' }, index.h("calcite-loader", { key: 'a0f1de0064ea80305d4aaf83f78939c0236c955a', class: loaderClass, label: "", scale: "s" }), index.h("div", { key: '1af391d6d7fd0dffa2e8e4b43905f8081a5f9820', class: featureFormClass, id: "feature-form" }), index.h("div", { key: '88d12115c3c2e0d34a5d6fd8895fb60cec6e9b5d', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref" })));
|
|
425
440
|
}
|
|
426
441
|
//--------------------------------------------------------------------------
|
|
427
442
|
//
|
|
@@ -457,11 +472,13 @@ const CreateFeature = class {
|
|
|
457
472
|
* @protected
|
|
458
473
|
*/
|
|
459
474
|
async createEditorWidget() {
|
|
475
|
+
var _a;
|
|
460
476
|
if (this._editor) {
|
|
461
477
|
this._editor.destroy();
|
|
462
478
|
}
|
|
463
479
|
const layerInfos = [];
|
|
464
|
-
|
|
480
|
+
this._container = document.createElement("div");
|
|
481
|
+
(_a = this._container) === null || _a === void 0 ? void 0 : _a.classList.add("display-none");
|
|
465
482
|
const allMapLayers = await mapViewUtils.getAllLayers(this.mapView);
|
|
466
483
|
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
|
467
484
|
allMapLayers.forEach(async (eachLayer) => {
|
|
@@ -480,9 +497,9 @@ const CreateFeature = class {
|
|
|
480
497
|
visibleElements: {
|
|
481
498
|
snappingControls: false
|
|
482
499
|
},
|
|
483
|
-
container
|
|
500
|
+
container: this._container
|
|
484
501
|
});
|
|
485
|
-
this.el.appendChild(
|
|
502
|
+
this.el.appendChild(this._container);
|
|
486
503
|
//Add handle to watch if attachments are added/edited
|
|
487
504
|
const attachmentHandle = this.reactiveUtils.watch(() => this._editor.viewModel.state, (state) => {
|
|
488
505
|
if (state === 'adding-attachment' || state === 'editing-attachment') {
|
|
@@ -501,13 +518,14 @@ const CreateFeature = class {
|
|
|
501
518
|
const handle = this.reactiveUtils.watch(() => this._editor.viewModel.featureTemplatesViewModel.state, (state) => {
|
|
502
519
|
if (state === 'ready') {
|
|
503
520
|
this.progressStatus.emit(0.5);
|
|
504
|
-
|
|
521
|
+
this._editorLoading = true;
|
|
505
522
|
}
|
|
506
523
|
});
|
|
507
524
|
this._editor.viewModel.addHandles(handle);
|
|
508
525
|
//Add handle to watch editor viewmodel state and then show the search widget
|
|
509
526
|
const formHandle = this.reactiveUtils.watch(() => this._editor.viewModel.state, (state) => {
|
|
510
527
|
if (state === 'creating-features') {
|
|
528
|
+
this._editorLoading = true;
|
|
511
529
|
this.showSearchWidget = true;
|
|
512
530
|
}
|
|
513
531
|
});
|
|
@@ -518,36 +536,39 @@ const CreateFeature = class {
|
|
|
518
536
|
* @protected
|
|
519
537
|
*/
|
|
520
538
|
async startCreate() {
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
this.
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
539
|
+
return new Promise((resolve, reject) => {
|
|
540
|
+
var _a;
|
|
541
|
+
if ((_a = this._editor.viewModel.featureTemplatesViewModel.items) === null || _a === void 0 ? void 0 : _a.length) {
|
|
542
|
+
const items = this._editor.viewModel.featureTemplatesViewModel.items[0].get("items");
|
|
543
|
+
//once the feature template is selected handle the event for formSubmit and sketch complete
|
|
544
|
+
//also, hide the headers and footer in the editor as we will be showing our own submit and cancel button
|
|
545
|
+
this._editor.viewModel.featureTemplatesViewModel.on('select', () => {
|
|
546
|
+
this.progressStatus.emit(0.75);
|
|
547
|
+
setTimeout(() => {
|
|
548
|
+
//on form submit
|
|
549
|
+
this._editor.viewModel.featureFormViewModel.on('submit', this.submitted.bind(this));
|
|
550
|
+
//on sketch complete emit the event
|
|
551
|
+
this._editor.viewModel.sketchViewModel.on("create", (evt) => {
|
|
552
|
+
if (evt.state === "complete") {
|
|
553
|
+
this.showSearchWidget = false;
|
|
554
|
+
this.progressStatus.emit(1);
|
|
555
|
+
this.drawComplete.emit();
|
|
556
|
+
}
|
|
557
|
+
});
|
|
558
|
+
this.hideEditorsElements().then(() => {
|
|
559
|
+
resolve({});
|
|
560
|
+
}, e => reject(e));
|
|
561
|
+
}, 700);
|
|
562
|
+
});
|
|
563
|
+
//if only one feature template then directly start geometry creation for that
|
|
564
|
+
//else allow feature template selection to user
|
|
565
|
+
if (items.length === 1) {
|
|
566
|
+
this._editor.viewModel.featureTemplatesViewModel.select(items[0]);
|
|
567
|
+
}
|
|
568
|
+
//hides the header and footer elements in editor widget
|
|
569
|
+
void this.hideEditorsElements();
|
|
547
570
|
}
|
|
548
|
-
|
|
549
|
-
this.hideEditorsElements();
|
|
550
|
-
}
|
|
571
|
+
});
|
|
551
572
|
}
|
|
552
573
|
/**
|
|
553
574
|
* Display search widget to search location
|
|
@@ -582,7 +603,7 @@ const CreateFeature = class {
|
|
|
582
603
|
if (this._editor.viewModel.sketchViewModel.createGraphic && pointGeometry) {
|
|
583
604
|
this._editor.viewModel.sketchViewModel.createGraphic.set('geometry', pointGeometry);
|
|
584
605
|
this._editor.viewModel.sketchViewModel.complete();
|
|
585
|
-
this.hideEditorsElements();
|
|
606
|
+
void this.hideEditorsElements();
|
|
586
607
|
}
|
|
587
608
|
}, 100);
|
|
588
609
|
}
|
|
@@ -641,22 +662,21 @@ const CreateFeature = class {
|
|
|
641
662
|
* Hides the elements of editor widget
|
|
642
663
|
* @protected
|
|
643
664
|
*/
|
|
644
|
-
hideEditorsElements() {
|
|
665
|
+
async hideEditorsElements() {
|
|
666
|
+
var _a;
|
|
645
667
|
if (!this.customizeSubmit) {
|
|
646
668
|
return;
|
|
647
669
|
}
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
});
|
|
659
|
-
}, 700);
|
|
670
|
+
await this.timeout(700);
|
|
671
|
+
//hides the header and footer on the featureForm
|
|
672
|
+
(_a = this.el.querySelector('.esri-editor').querySelectorAll('calcite-flow-item')) === null || _a === void 0 ? void 0 : _a.forEach((flowItem) => {
|
|
673
|
+
var _a, _b, _c, _d, _e;
|
|
674
|
+
const article = (_c = (_b = (_a = flowItem.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('calcite-panel')) === null || _b === void 0 ? void 0 : _b.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelector('article');
|
|
675
|
+
//hide the header
|
|
676
|
+
(_d = article === null || article === void 0 ? void 0 : article.querySelector('header')) === null || _d === void 0 ? void 0 : _d.setAttribute('style', 'display: none');
|
|
677
|
+
//hide the footer
|
|
678
|
+
(_e = article === null || article === void 0 ? void 0 : article.querySelector('footer')) === null || _e === void 0 ? void 0 : _e.setAttribute('style', 'display: none');
|
|
679
|
+
});
|
|
660
680
|
}
|
|
661
681
|
/**
|
|
662
682
|
* On creation of feature emit the event that the feature is created
|
|
@@ -692,9 +712,18 @@ const CreateFeature = class {
|
|
|
692
712
|
this.success.emit();
|
|
693
713
|
}
|
|
694
714
|
}
|
|
715
|
+
/**
|
|
716
|
+
* call setTimeout in Promise wrapper
|
|
717
|
+
* @param delay The time, in milliseconds that the timer should wait before the promise is resolved
|
|
718
|
+
* @protected
|
|
719
|
+
*/
|
|
720
|
+
timeout(delay) {
|
|
721
|
+
return new Promise(resolve => setTimeout(resolve, delay));
|
|
722
|
+
}
|
|
695
723
|
get el() { return index.getElement(this); }
|
|
696
724
|
static get watchers() { return {
|
|
697
|
-
"mapView": ["mapViewWatchHandler"]
|
|
725
|
+
"mapView": ["mapViewWatchHandler"],
|
|
726
|
+
"_editorLoading": ["_editorLoadingWatchHandler"]
|
|
698
727
|
}; }
|
|
699
728
|
};
|
|
700
729
|
CreateFeature.style = CreateFeatureStyle0;
|
|
@@ -786,7 +815,7 @@ const CreateRelatedFeature = class {
|
|
|
786
815
|
this.reactiveUtils = reactiveUtils;
|
|
787
816
|
}
|
|
788
817
|
render() {
|
|
789
|
-
return (index.h(index.Host, { key: '
|
|
818
|
+
return (index.h(index.Host, { key: 'c8516898db79b35b7fba909810afdc56b0602ebd' }));
|
|
790
819
|
}
|
|
791
820
|
/**
|
|
792
821
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
|
@@ -1045,12 +1074,12 @@ const FeatureDetails = class {
|
|
|
1045
1074
|
var _a, _b, _c, _d, _e;
|
|
1046
1075
|
//When related features found show comments list of only those features else comments list will be empty
|
|
1047
1076
|
const commentsListWhereClause = ((_a = this._relatedFeaturesOIDs) === null || _a === void 0 ? void 0 : _a.length) > 0 ? `objectId in(${this._relatedFeaturesOIDs})` : '1=0';
|
|
1048
|
-
return (index.h("calcite-panel", { key: '
|
|
1049
|
-
index.h("div", { key: '
|
|
1050
|
-
index.h("div", { key: '
|
|
1051
|
-
index.h("calcite-button", { key: '
|
|
1052
|
-
index.h("calcite-button", { key: '
|
|
1053
|
-
index.h("feature-list", { key: '
|
|
1077
|
+
return (index.h("calcite-panel", { key: 'e42bbf7e4070b03c43aec1bf47c442b65cd35731', "full-height": true }, index.h("info-card", { key: 'f44099e2f8f87edbc656700e65daeb1bf934d41c', allowEditing: false, graphics: this.graphics, highlightEnabled: false, isLoading: false, isMobile: false, mapView: this.mapView, onSelectionChanged: (e) => { this.featureSelectionChange.emit(e.detail); }, paginationEnabled: false, position: "relative", ref: el => this._infoCard = el }), (this._likeFieldAvailable || this._dislikeFieldAvailable || this._commentsAvailable) &&
|
|
1078
|
+
index.h("div", { key: 'aa65adf8d8b6a059d5e9d0e74a1896eb20c84eaf', class: "buttons-container" }, this._commentsAvailable &&
|
|
1079
|
+
index.h("div", { key: '09dd5da4932a9a0526b413592d25469087eaf4c9', class: "comment-btn" }, index.h("span", { key: '48f7080ace69de3589aa4f3b199eb25e53f61110' }, this._relatedFeaturesOIDs.length), index.h("calcite-icon", { key: 'f524b4d66a0a6427dda6a7a93e9dc362fe7337fc', icon: "speech-bubble", scale: 's' })), this._likeFieldAvailable &&
|
|
1080
|
+
index.h("calcite-button", { key: '278a685b13f7ae2a37cb649a0933006104fa7b9f', appearance: "transparent", iconEnd: "thumbs-up", kind: this._isLikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onLikeButtonClick.bind(this), scale: 'm' }, (_c = (_b = this._likeCount) !== null && _b !== void 0 ? _b : this._selectedGraphic.attributes[this._likeField]) !== null && _c !== void 0 ? _c : 0), this._dislikeFieldAvailable &&
|
|
1081
|
+
index.h("calcite-button", { key: '7010b6ef352be7c587d7ca49fe3b8411aeb163c6', appearance: "transparent", iconEnd: "thumbs-down", kind: this._isDislikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onDislikeButtonClick.bind(this), scale: 'm' }, (_e = (_d = this._disLikeCount) !== null && _d !== void 0 ? _d : this._selectedGraphic.attributes[this._dislikeField]) !== null && _e !== void 0 ? _e : 0)), this.relatedTableId && this._commentsAvailable &&
|
|
1082
|
+
index.h("feature-list", { key: '526614c384fa627057a18528c1bd4aaf2b9c70d8', class: "height-full", mapView: this.mapView, onFeatureSelect: (e) => { this.commentSelect.emit(e.detail); }, pageSize: 5, ref: el => this._commentsList = el, selectedLayerId: this.relatedTableId, showErrorWhenNoFeatures: false, showInitialLoading: false, textSize: "small", whereClause: commentsListWhereClause })));
|
|
1054
1083
|
}
|
|
1055
1084
|
/**
|
|
1056
1085
|
* Load esri javascript api modules
|
|
@@ -1930,7 +1930,7 @@ const JsonEditor = class {
|
|
|
1930
1930
|
* Renders the component.
|
|
1931
1931
|
*/
|
|
1932
1932
|
render() {
|
|
1933
|
-
return (index.h(index.Host, { key: '
|
|
1933
|
+
return (index.h(index.Host, { key: '160ba6c2961d67add84b4f23b4aacd2213d064b2' }, index.h("div", { key: 'bf0a77eed1d206376244526db6a261cce163ca69', id: `${this.instanceid}-editor-container`, class: "editor-container padding-right" }, index.h("div", { key: '65a0f2f69d4b7f9694a6617755c638d9ad19e168', class: "editor-controls" }, index.h("div", { key: '3fccc399a3e2a45fe55a374c869a7a7c7533eafc', class: "editor-buttons" }, index.h("calcite-icon", { key: '5007e48c8ecf9d5a037e062bbb3b5ee3710b18eb', id: `${this.instanceid}-errorFlag`, icon: "exclamation-mark-triangle", title: this._translations.errorFlag, scale: "s", class: "edit-error-flag" }), index.h("calcite-button", { key: '37f8abf8027e0743e373de473421d06884f61d0b', id: `${this.instanceid}-undo`, color: "blue", appearance: "solid", title: this._translations.undo, onClick: () => this._undo(), scale: "s", class: "edit-button" }, index.h("calcite-icon", { key: '31c88e27793f4e07ccc20df6d6c88fa0d6661977', icon: "undo", scale: "s" })), index.h("calcite-button", { key: '56a5945e706a5c66044678f768d567286893c7b1', id: `${this.instanceid}-redo`, color: "blue", appearance: "solid", title: this._translations.redo, onClick: () => this._redo(), scale: "s", class: "edit-button" }, index.h("calcite-icon", { key: 'b2a2d56e6818ee09be15114fcab357732f9f0c99', icon: "redo", scale: "s" })), index.h("calcite-button", { key: '63acf48f78d1f9cdcd86c5862e399be2217a16c1', id: `${this.instanceid}-diff`, color: "blue", appearance: "solid", title: this._translations.diff, onClick: () => this._toggleEditor(), scale: "s", class: "edit-button" }, index.h("calcite-icon", { key: '677f9c42bbb449fb51325a9dd4b60affd8a73cd7', icon: "compare", scale: "s" })), index.h("calcite-button", { key: '7cf8fac59ad4096ed541bfd1e6454cec70890c72', id: `${this.instanceid}-search`, appearance: "outline", color: "blue", title: this._translations.search, onClick: () => this._search(), scale: "s", class: "edit-button" }, index.h("calcite-icon", { key: '1e2e4290e7b7254a533a99d85ea2745050b22e55', icon: "search", scale: "s" })), index.h("calcite-button", { key: 'ec656bcb0a64a6ff6a42760710f8067eae18b9a5', id: `${this.instanceid}-reset`, color: "blue", appearance: "solid", disabled: true, title: this._translations.cancelEdits, onClick: () => this._reset(), scale: "s", class: "edit-button" }, index.h("calcite-icon", { key: '0210b400f5934c68c45fe61f4bf11d3efca97333', icon: "reset", scale: "s" })))), index.h("div", { key: 'd14efe742fe79b18a436bf522e33924c2a7e72d5', class: "edit-parent" }, index.h("div", { key: 'e550bbc5968b71701220a44cba17afa9f5f61c48', id: `${this.instanceid}-container`, class: "json-edit-container" }), index.h("div", { key: '9778b7229d2f3ec994c8a8d707a7f7b394697823', id: `${this.instanceid}-diff-container`, class: "json-edit-container display-none" })))));
|
|
1934
1934
|
}
|
|
1935
1935
|
//--------------------------------------------------------------------------
|
|
1936
1936
|
//
|
|
@@ -2282,7 +2282,7 @@ const SolutionItemDetails = class {
|
|
|
2282
2282
|
* Renders the component.
|
|
2283
2283
|
*/
|
|
2284
2284
|
render() {
|
|
2285
|
-
return (index.h(index.Host, { key: '
|
|
2285
|
+
return (index.h(index.Host, { key: 'd4443b28db9314e9c6976d97af02e7af14d2a5ff' }, index.h("div", { key: 'bd2969f299df5fab6bab10a6cd6dbe7c7213aba4', class: "parent-container" }, index.h("div", { key: 'd7226027bddc89eb4ff89899ee45728534331a5d', class: "inputBottomSeparation" }, index.h("calcite-input", { key: '9fcd5e9c9d5fe7ac652fff4fa06801fec240380f', id: "item-title", value: this.itemDetails.title })), index.h("div", { key: '9542faf04236ec293eff1f1abf0667ee4d26ab45', class: "inputBottomSeparation" }, index.h("input", { key: '9a431fef50c9be4f084b33003c6be4cab65a7da0', 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" }), index.h("button", { key: '9ed82a0e807acd0344bd52bcef653728419d3fc1', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, index.h("svg", { key: '230d6a270cd61f4785b7f39e951e996a7b37a1ca', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, index.h("path", { key: '96a6c77691e152072aa0de03f63d8ec82f1ca051', 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), index.h("div", { key: 'de04396607c0a61eb1e13bb56581aae9e939b286', class: "flex" }, index.h("div", { key: '3df8a6cde94bc275b85db55375aaa351453c46fb', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, index.h("img", { key: 'a5084eff2ebee0514c5cac6acf4e1b8dcaaf47d5', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), index.h("div", { key: '73199d7582082575282f36ecb6afed3ee6bd900e', class: "snippet-count-container" }, index.h("calcite-input", { key: '7aa7c61d42be36c237c6bd9b72e4ec24ef6dc07d', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), index.h("label", { key: '9ae2f293b2cb64a475a0969b7e00951a1b55e251', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), index.h("calcite-label", { key: '98cf6dd0f1f53e15c857baeb4f3a580586935762' }, this._translations.description, index.h("label", { key: '2f54c0fd6d75e4b08e74cf5b30d9794d0375a267', id: "item-description-label" }, index.h("calcite-input", { key: '91cf40b10f1bed0cd4bc83a988d9a4151ddec2e6', id: "item-description", type: "textarea", value: this.itemDetails.description }))), index.h("calcite-label", { key: '4261ff6e21385fb681cb6a52dbaa8e3d75973d8b' }, this._translations.tags, index.h("label", { key: 'cde48f34fd18fe530dea6be06c8fb5e602048266', id: "item-tags-label" }, index.h("calcite-input", { key: 'e11931c90df113bd512bab39be092257ffd92e42', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? index.h("calcite-label", null, this._translations.credits, index.h("label", { id: "item-credits-label" }, index.h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? index.h("calcite-label", null, index.h("label", { id: "item-terms-label" }, this._translations.termsOfUse, index.h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
|
|
2286
2286
|
}
|
|
2287
2287
|
componentDidRender() {
|
|
2288
2288
|
this._loadThumb();
|
|
@@ -2447,7 +2447,7 @@ const SolutionItemSharing = class {
|
|
|
2447
2447
|
* Renders the component.
|
|
2448
2448
|
*/
|
|
2449
2449
|
render() {
|
|
2450
|
-
return (index.h(index.Host, { key: '
|
|
2450
|
+
return (index.h(index.Host, { key: '7042ab9382712488f9184b305e417dd93379422f' }, index.h("div", { key: '00baf7fac31f03b249592eb8603a74d6f93f2615', class: "container-border" }, index.h("calcite-label", { key: '5328280b6ee86819366800e43eda0c44b55ca277' }, this._translations.groupInfo), this._renderItems(this.sharing))));
|
|
2451
2451
|
}
|
|
2452
2452
|
//--------------------------------------------------------------------------
|
|
2453
2453
|
//
|
|
@@ -2566,7 +2566,7 @@ const SolutionOrganizationVariables = class {
|
|
|
2566
2566
|
* Renders the component.
|
|
2567
2567
|
*/
|
|
2568
2568
|
render() {
|
|
2569
|
-
return (index.h(index.Host, { key: '
|
|
2569
|
+
return (index.h(index.Host, { key: 'a4456905e1abde8eca22dfb6f3da81959d509b75' }, index.h("div", { key: '8fc37e2a59237ed0cca05b096f901a82da696151' }, index.h("h4", { key: '7bdd9e95f37297c51778a866542517048622e5ca', class: "org-var-header" }, this._translations.orgVariables)), index.h("div", { key: '10bfcebd83ddc363f04149a03298b0c5247fd265', class: "container-border" }, index.h("calcite-tree", { key: '1d168ebbceaf566fb8f4ddea85acba39c08bbd53', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
|
|
2570
2570
|
}
|
|
2571
2571
|
//--------------------------------------------------------------------------
|
|
2572
2572
|
//
|
|
@@ -2654,7 +2654,7 @@ const SolutionResourceItem = class {
|
|
|
2654
2654
|
*/
|
|
2655
2655
|
render() {
|
|
2656
2656
|
const hasValidResources = this._hasValidResources();
|
|
2657
|
-
return (index.h(index.Host, { key: '
|
|
2657
|
+
return (index.h(index.Host, { key: 'c36fddfce9c4c97b281281ec11dfa017d496141e' }, index.h("div", { key: 'e1166173669689e9acee92cc7e53747ebcec0c09', class: "resource-item" }, index.h("div", { key: '86c8e1d498d7b84e9587cdcf4a3bb971fc1ecaad', class: "margin-bottom-1" }, index.h("calcite-button", { key: 'f382275e75efeb5beadef582ddd343a283f014e2', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), index.h("calcite-button", { key: 'c487e618472b047f8db71e8989f849c844682080', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), index.h("div", { key: '08733ba234cba9b5ea19455256fa961d23ae933b', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
|
|
2658
2658
|
}
|
|
2659
2659
|
//--------------------------------------------------------------------------
|
|
2660
2660
|
//
|
|
@@ -2936,7 +2936,7 @@ const SolutionTemplateData = class {
|
|
|
2936
2936
|
* Renders the component.
|
|
2937
2937
|
*/
|
|
2938
2938
|
render() {
|
|
2939
|
-
return (index.h(index.Host, { key: '
|
|
2939
|
+
return (index.h(index.Host, { key: 'f6c478a45be7ba02a79446dca5a12ecb7cfaf817' }, index.h("div", { key: 'd268f063606f2d0a0dfbe76f0ea907074ac91c60', class: "solution-data-container" }, index.h("calcite-shell", { key: '170f35aa82ad4e4fbd7e111b558417712396a44d', class: "light var-container", dir: "ltr" }, index.h("calcite-panel", { key: 'ada2da8d5240d9904cd9021c9573eee5bd8fe6a4', class: "json-editor" }, index.h("div", { key: '51001e6bcf73ed23d6c76f5d9c17a66b5cbd1d05', class: "solution-data-child-container calcite-match-height" }, index.h("json-editor", { key: '4390b6ff57b3d6341a8c984e8393badf4122df2a', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), index.h("calcite-shell-panel", { key: '866f4349e9ca6f5e8120479997248c2962c18b90', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, index.h("div", { key: 'adb11719b67d10a9a4da50d79ac23eadc68544a7', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, index.h("calcite-button", { key: 'c6a7365e101045ad0f30700e6ba296ff62f0942d', 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 }), index.h("div", { key: '76b05d456a9cafd25af16e3848e453ccfda5f1bc', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, index.h("solution-organization-variables", { key: '4b2df6867414d5a6e4e9423b2133196dfd85b3bd', value: this.organizationVariables })), index.h("div", { key: 'eb5201a82e27a52e0a4f9c38cdc9db3f0c1173d8', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, index.h("solution-variables", { key: '00dda00409364b66e092e9ec304524c35f7d0704', value: this.solutionVariables }))))))));
|
|
2940
2940
|
}
|
|
2941
2941
|
//--------------------------------------------------------------------------
|
|
2942
2942
|
//
|
|
@@ -3009,7 +3009,7 @@ const SolutionVariables = class {
|
|
|
3009
3009
|
* Renders the component.
|
|
3010
3010
|
*/
|
|
3011
3011
|
render() {
|
|
3012
|
-
return (index.h(index.Host, { key: '
|
|
3012
|
+
return (index.h(index.Host, { key: '6673253cf19a8d760dc1444feef39a74258d01ed' }, index.h("div", { key: '44e5a11c8f31558baf8458cc883e579f2f23ff47' }, index.h("h4", { key: 'f8b7a19e4a9eb4860015cfdb6c55c2b94d66a222', class: "org-var-header" }, this._translations.solVariables)), index.h("div", { key: 'ffb70400c5fd22a944328672e7eaefa5918fce5c', class: "container-border" }, index.h("calcite-tree", { key: 'de81612c2a603f17b1bcb58f0b750401db0d4f20', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
|
|
3013
3013
|
}
|
|
3014
3014
|
//--------------------------------------------------------------------------
|
|
3015
3015
|
//
|
|
@@ -400,7 +400,7 @@ const LayerTable = class {
|
|
|
400
400
|
const selected = this.selectedIds.length.toString();
|
|
401
401
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
|
402
402
|
this._validateActiveActions();
|
|
403
|
-
return (index.h(index.Host, { key: '
|
|
403
|
+
return (index.h(index.Host, { key: 'c0451b25b6253fc017f59f471ced6347a618bdcf' }, index.h("calcite-shell", { key: 'b71245a1b347aae2e06ccccd750875d9c0571b1b' }, this._getTableControlRow("header"), index.h("div", { key: 'a4c9e51f2cfa9e90bd1b67e8d542e93896321037', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: 'e50e3a4165c02c56f99897fa29f079b2ef1e02ff', class: "height-full width-full" }, index.h("calcite-loader", { key: 'ad263eb3ac8558d6cd0777f993f663ddd0f7fbe6', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '2bcbdf8197b4bcc5102d408538dab17acd803ae9', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
|
404
404
|
.replace("{{total}}", total)
|
|
405
405
|
.replace("{{selected}}", selected))) : undefined)), this._filterModal()));
|
|
406
406
|
}
|
|
@@ -1711,7 +1711,7 @@ const MapCard = class {
|
|
|
1711
1711
|
const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
|
|
1712
1712
|
const mapPickerClass = ((_a = this.mapInfos) === null || _a === void 0 ? void 0 : _a.length) > 1 ? "" : "display-none";
|
|
1713
1713
|
const mapHeightClass = ((_b = this.mapInfos) === null || _b === void 0 ? void 0 : _b.length) > 1 ? "map-height" : "height-full";
|
|
1714
|
-
return (index.h(index.Host, { key: '
|
|
1714
|
+
return (index.h(index.Host, { key: '4f5c0cd408f92856ceb2ba281a02856064ef6a5a' }, index.h("map-picker", { key: 'f69742384dc5ba13bbf257592cc8c35de77590f0', class: mapPickerClass, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), index.h("div", { key: '3ddddf3f674d49ae59fe627af1c67ec59718c9a3', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), index.h("map-tools", { key: '6cb9518e74af0594ab6b657f0caec3598c250cb2', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
|
|
1715
1715
|
}
|
|
1716
1716
|
//--------------------------------------------------------------------------
|
|
1717
1717
|
//
|
|
@@ -199,7 +199,7 @@ const CrowdsourceManager = class {
|
|
|
199
199
|
render() {
|
|
200
200
|
// only avoid border when we have a header color that is not white
|
|
201
201
|
const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
|
|
202
|
-
return (index.h(index.Host, { key: '
|
|
202
|
+
return (index.h(index.Host, { key: '9624c9a65dfde0984d1abdc8ed78f709d58874f3' }, index.h("calcite-shell", { key: '0b54737e19b7ab1b17a1841b7b83267515a5de51', class: "position-relative" }, index.h("calcite-panel", { key: 'aea71b81bd854548f921920cb6dc259d8441a2b2', class: `width-full height-full ${borderClass}` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
205
205
|
* Called after each render
|
|
@@ -113,7 +113,7 @@ const CrowdsourceReporter = class {
|
|
|
113
113
|
*/
|
|
114
114
|
render() {
|
|
115
115
|
const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
|
|
116
|
-
return (index.h(index.Host, { key: '
|
|
116
|
+
return (index.h(index.Host, { key: '119bb8b1c9115dca4e15c45ddd8e7fbed500b4d7' }, this._reportSubmitted && index.h("calcite-alert", { key: 'ef85c61fb5c9eaac9391c1e37494ef5e4244dadb', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '616a75103a227cf1b50d9e43fea129afc3fee4f9', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && index.h("calcite-alert", { key: '2faf9a9729bf90b87e044bfe8958571735f2cbf5', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, index.h("div", { key: '66cdf81166042ff4efddd4cc5801d790463d75fc', slot: "title" }, this._translations.error), index.h("div", { key: 'ad289b06742d2159d6fcfbdc42ecc9fb6d81f362', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && index.h("calcite-alert", { key: '27aee542bfd2cae8972035d17167407b35b5eb76', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '70a8a21de05b00d409adb226d6393817f7514930', slot: "message" }, this._translations.commentSubmittedMsg)), this._addingCommentFailed && index.h("calcite-alert", { key: '107ab01eca03500faeb4db5a2ac0e9dc7261e6fc', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, index.h("div", { key: '31e6fba8c28489f87897a13ebb4e7b8956452191', slot: "title" }, this._translations.error), index.h("div", { key: '6f0868946ef6e04490ba1e0806a03e26c756760b', slot: "message" }, this._translations.addingCommentFailedMsg)), index.h("div", { key: 'e169b7b466023010d45151ca9b7dfb900d8d7f9f' }, index.h("calcite-shell", { key: '72899b8eff6622233224df91223ee5d59539905b', "content-behind": true }, this._getReporter())), this.filterModal()));
|
|
117
117
|
}
|
|
118
118
|
//--------------------------------------------------------------------------
|
|
119
119
|
//
|