@esri/solutions-components 0.11.9 → 0.11.11
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_2.cjs.entry.js +1 -1
- package/dist/cjs/card-manager_3.cjs.entry.js +6 -6
- package/dist/cjs/consent-manager.cjs.entry.js +1 -1
- package/dist/cjs/create-feature_4.cjs.entry.js +6 -6
- package/dist/cjs/create-related-feature_3.cjs.entry.js +7 -7
- 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/delete-dialog.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +3 -3
- package/dist/cjs/json-editor_7.cjs.entry.js +7 -7
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-layer-picker.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 +5 -2
- package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
- package/dist/cjs/solution-item-accordion.cjs.entry.js +31 -4
- 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/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/card-manager/card-manager.js +1 -1
- package/dist/collection/components/consent-manager/consent-manager.js +1 -1
- package/dist/collection/components/create-feature/create-feature.js +2 -2
- 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.js +1 -1
- package/dist/collection/components/delete-dialog/delete-dialog.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-details/feature-details.js +6 -6
- package/dist/collection/components/feature-list/feature-list.js +3 -3
- 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 +4 -4
- 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 +25 -2
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +114 -4
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/solution-item-accordion.html +5 -3
- package/dist/collection/utils/interfaces.ts +17 -1
- package/dist/components/card-manager2.js +1 -1
- package/dist/components/consent-manager.js +1 -1
- package/dist/components/create-feature2.js +2 -2
- 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 +1 -1
- package/dist/components/delete-dialog2.js +1 -1
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/feature-details2.js +6 -6
- package/dist/components/feature-list2.js +3 -3
- 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 +4 -4
- 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 +6 -2
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/solution-configuration.js +3 -3
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-accordion.js +33 -5
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +6 -6
- package/dist/esm/buffer-tools_2.entry.js +1 -1
- package/dist/esm/card-manager_3.entry.js +6 -6
- package/dist/esm/consent-manager.entry.js +1 -1
- package/dist/esm/create-feature_4.entry.js +6 -6
- package/dist/esm/create-related-feature_3.entry.js +7 -7
- 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/delete-dialog.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +3 -3
- package/dist/esm/json-editor_7.entry.js +7 -7
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-layer-picker.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 +5 -2
- package/dist/esm/solution-configuration.entry.js +3 -3
- package/dist/esm/solution-contents_3.entry.js +3 -3
- package/dist/esm/solution-item-accordion.entry.js +32 -5
- 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/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-698656b8.entry.js → p-1d1d7e63.entry.js} +1 -1
- package/dist/solutions-components/{p-f2d7b9c3.entry.js → p-30ea587b.entry.js} +1 -1
- package/dist/solutions-components/{p-7d4a72fa.entry.js → p-318f5c87.entry.js} +1 -1
- package/dist/solutions-components/{p-832707fd.entry.js → p-33d03eb9.entry.js} +1 -1
- package/dist/solutions-components/{p-8e21a871.entry.js → p-34b50565.entry.js} +1 -1
- package/dist/solutions-components/{p-60b3b8b4.entry.js → p-37fe59a0.entry.js} +1 -1
- package/dist/solutions-components/{p-7271fa31.entry.js → p-4b98adf3.entry.js} +1 -1
- package/dist/solutions-components/{p-4868d196.entry.js → p-5093ae54.entry.js} +1 -1
- package/dist/solutions-components/p-64f814dd.entry.js +6 -0
- package/dist/solutions-components/{p-ed1ecb5b.entry.js → p-6f4e5c19.entry.js} +1 -1
- package/dist/solutions-components/{p-79d66109.entry.js → p-7dc7d3dc.entry.js} +1 -1
- package/dist/solutions-components/p-83ba1288.entry.js +6 -0
- package/dist/solutions-components/p-9e3a40bc.entry.js +6 -0
- package/dist/solutions-components/{p-837e0939.entry.js → p-b536e583.entry.js} +1 -1
- package/dist/solutions-components/{p-5e4e0f84.entry.js → p-dafc6680.entry.js} +1 -1
- package/dist/solutions-components/p-e3e35c14.entry.js +6 -0
- package/dist/solutions-components/{p-0326f1f4.entry.js → p-e43c8944.entry.js} +1 -1
- package/dist/solutions-components/{p-f95cc485.entry.js → p-ed443a0b.entry.js} +1 -1
- package/dist/solutions-components/{p-f1b5f09a.entry.js → p-ee3bb943.entry.js} +1 -1
- package/dist/solutions-components/{p-b7421036.entry.js → p-f0b1b6f6.entry.js} +1 -1
- package/dist/solutions-components/p-f9deadd7.entry.js +6 -0
- 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-b636a8b4.entry.js +0 -6
- package/dist/solutions-components/p-d6c60b8f.entry.js +0 -6
- package/dist/solutions-components/p-dcabfe6a.entry.js +0 -6
- package/dist/solutions-components/p-fabab119.entry.js +0 -6
@@ -604,8 +604,8 @@ export class LayerTable {
|
|
604
604
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
605
605
|
const showSearch = this._canShowFullTextSearch();
|
606
606
|
this._validateActiveActions();
|
607
|
-
return (h(Host, { key: '
|
608
|
-
h("div", { key: '
|
607
|
+
return (h(Host, { key: 'f51377beacfa93e7f6faccb054748c33f0fe41e2' }, h("div", { key: '1c4745468d68c3394d2479ddc0128cee2f8f8119' }, h("calcite-scrim", { key: '107f64b58b12fd258cdd6cac17ab671f3bf761b9', class: scrimClass, loading: this._queryingData }), h("calcite-shell", { key: '770b53edf5626c49f941f46cf120fe97cb5161a2' }, this._getTableControlRow("header"), h("div", { key: '452b1d740d7e1e3a27fcdc0366fbe4f3cfb6d2e3', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '63b8dd565344f7a04f42bd6ec63596a0599095bc', class: "height-full width-full" }, showSearch &&
|
608
|
+
h("div", { key: 'c2fc7178a79e00527ed1d383bd54788e476dc7a5', class: "search-container" }, h("calcite-input", { key: 'b8e81f96528ebf2cdb3650b6ef0492c9f492c5c7', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), h("calcite-loader", { key: 'bce4751b3d1d568f916d40e50893b88cb84b4b70', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '9fdcdfec8f715b68e01ec75a328d4b91ad4975ea', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
609
609
|
.replace("{{total}}", total)
|
610
610
|
.replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal())));
|
611
611
|
}
|
@@ -837,8 +837,8 @@ export class LayerTable {
|
|
837
837
|
const selected = this._columnsInfo[k];
|
838
838
|
return (h("calcite-dropdown-item", { id: `layer-table-${k.toLowerCase().replaceAll(" ", "")}`, label: k, onClick: (e) => {
|
839
839
|
const target = e.target;
|
840
|
-
this._columnsInfo[target.label] = target.selected;
|
841
|
-
if (
|
840
|
+
this._columnsInfo[target.label] = !target.selected;
|
841
|
+
if (target.selected) {
|
842
842
|
this._table.hideColumn(target.label);
|
843
843
|
}
|
844
844
|
else {
|
@@ -344,7 +344,7 @@ export class MapCard {
|
|
344
344
|
const mapHeightClass = this.mapInfos?.length > 1 || this.isMapLayout ? "map-height" : "height-full";
|
345
345
|
const progressClass = this.isMapLayout ? "" : "display-none";
|
346
346
|
this._validateActiveActions();
|
347
|
-
return (h(Host, { key: '
|
347
|
+
return (h(Host, { key: 'c75f46c3c93b03c8ffbd63b281623a63ea790ca7' }, h("div", { key: '786c752edecfc230c0c80ef221160c8f91ca2013', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options"), this.enableShare && !this.isMobile && this.isMapLayout ? this._getShare("share") : undefined), h("calcite-progress", { key: '73fc88be2657f9f2483c624b2251192b318705e6', class: progressClass, value: 0 }), h("div", { key: '196fdeb21377ff9cd67327c8172ef96371e4397f', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: 'edf7abde0350d0627fc84ae05c829885e37a4624', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, locale: this.locale, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
|
348
348
|
}
|
349
349
|
/**
|
350
350
|
* Called each time after the component is loaded
|
@@ -192,7 +192,7 @@ export class MapDrawTools {
|
|
192
192
|
"border" : "border esri-widget esri-sketch__panel";
|
193
193
|
const undoRedoClass = this.drawMode === EDrawMode.SKETCH ?
|
194
194
|
"display-none" : "esri-widget esri-sketch__panel border-left esri-sketch__section";
|
195
|
-
return (h(Host, { key: '
|
195
|
+
return (h(Host, { key: '55983c5e2102a1bc5c1936946a6c343d8b5e6ce4' }, h("div", { key: 'd0cd16b9f3d1386ce39236aacd7cd1ef9e585a55', class: containerClass }, h("div", { key: 'cbeea2fc130e72a2b1739702cf49e35b798975ed', ref: (el) => { this._sketchElement = el; } }), h("div", { key: '50a103c4b4daf46f8da6607d6820545b44128aeb', class: undoRedoClass }, h("calcite-action", { key: '35f3767f23b1e86545df36b765571f90a2f2fa32', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { key: '28961fa0141eda4848257fe7dd40e4c5a22ed65b', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
|
196
196
|
}
|
197
197
|
//--------------------------------------------------------------------------
|
198
198
|
//
|
@@ -95,7 +95,7 @@ export class MapFullscreen {
|
|
95
95
|
* Renders the component.
|
96
96
|
*/
|
97
97
|
render() {
|
98
|
-
return (h(Host, { key: '
|
98
|
+
return (h(Host, { key: '657b81420a155322e56e3cb20b8656605233c0d4' }, h("div", { key: '5ebf1f1b368f1d32bbcc4d8b1380d4aa7b985ab1', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
|
99
99
|
}
|
100
100
|
/**
|
101
101
|
* StencilJS: Called just after the component updates.
|
@@ -193,7 +193,7 @@ export class MapLayerPicker {
|
|
193
193
|
const id = "map-layer-picker";
|
194
194
|
let style = this.height > 0 ? { "height": `${this.height.toString()}px` } : {};
|
195
195
|
style = { ...style, "display": this.display };
|
196
|
-
return (h(Host, { key: '
|
196
|
+
return (h(Host, { key: '61600c26f6e6f66b2b8fdfc4694059015cc83235' }, h("div", { key: '211b48bb10b86e2b48729a02c21b2cb2d320b581', class: "map-layer-picker-container", style: style }, h("div", { key: 'b2f00e60282715337af2d0db3a1d4552b77aefae', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
|
197
197
|
!this._hasMultipleLayers && this.showSingleLayerAsLabel ? this._getSingleLayerPlaceholder() :
|
198
198
|
this.type === "combobox" ? this._getCombobox(id) :
|
199
199
|
this.type === "select" ? this._getSelect(id) : this._getDropdown(id)))));
|
@@ -86,7 +86,7 @@ export class MapLegend {
|
|
86
86
|
* StencilJS: Renders the component.
|
87
87
|
*/
|
88
88
|
render() {
|
89
|
-
return (h(Host, { key: '
|
89
|
+
return (h(Host, { key: 'dd7414c2dccf150f1d47d8f9491d89905feb64af' }, h("div", { key: '16951986e7602ea0b66a3f55ee1a678cc0af84ce', ref: (el) => { this._legendElement = el; } })));
|
90
90
|
}
|
91
91
|
/**
|
92
92
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
@@ -139,7 +139,7 @@ export class MapPicker {
|
|
139
139
|
* Renders the component.
|
140
140
|
*/
|
141
141
|
render() {
|
142
|
-
return (h(Host, { key: '
|
142
|
+
return (h(Host, { key: 'f02389d06d3e4030387c0cded08b665fe8ee36eb' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
|
143
143
|
}
|
144
144
|
/**
|
145
145
|
* Called once after the component has loaded
|
@@ -109,7 +109,7 @@ export class MapSearch {
|
|
109
109
|
* Renders the component.
|
110
110
|
*/
|
111
111
|
render() {
|
112
|
-
return (h(Host, { key: '
|
112
|
+
return (h(Host, { key: '9c344160df28da3a895a9b7c3c7e32b8a43fa6b8' }, h("div", { key: 'd98417c82b0fae1c7abc5ef54886579182d5464a', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
|
113
113
|
}
|
114
114
|
//--------------------------------------------------------------------------
|
115
115
|
//
|
@@ -310,7 +310,7 @@ export class MapSelectTools {
|
|
310
310
|
render() {
|
311
311
|
const mapToolsClass = this.enableSketchTools ? "" : "display-none";
|
312
312
|
const mapToolsContainerClass = this.enableSketchTools ? "padding-top-1" : "";
|
313
|
-
return (h(Host, { key: '
|
313
|
+
return (h(Host, { key: '5aa96f3189490b1f544bc6802772e99ce24e30ca' }, this._getMapLayerPicker(), h("div", { key: '677afdaf1c84e5c7cf0217abe331afe47682b61f', class: "border-bottom" }), h("div", { key: '45d85c333df0e1f081a85b11e94e2a29fe5b8782', class: "padding-top-sides-1" }, h("div", { key: 'f26f760210ee8307eea537e0df28a4856876fccc', class: "search-widget", ref: (el) => { this._searchElement = el; } }), h("div", { key: 'd9d703d05bc2990f2345036a227fe1e57c9d79ce', class: mapToolsContainerClass }, h("map-draw-tools", { key: '8f0eff15a801d654dfaf855f16fe165fad013c49', active: true, class: mapToolsClass, editGraphicsEnabled: !this.useLayerFeaturesEnabled, graphics: this._graphics, locale: this.locale, mapView: this.mapView, onSketchGraphicsChange: (evt) => void this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, ref: (el) => { this._drawTools = el; } })), this.enableSearchDistance ? this._getBufferOptions() : undefined, this.enableLayerFeatures ? this._getUseLayerFeaturesOptions() : undefined, this._getNumSelected()), h("div", { key: '89a597f46094f93d80b87c4c86a5b7f3fb6a1889', class: "border-bottom" }), this._getNameInput()));
|
314
314
|
}
|
315
315
|
/**
|
316
316
|
* Renders the buffer tools component.
|
@@ -222,7 +222,7 @@ export class MapTools {
|
|
222
222
|
const toolMarginClass = this.enableSingleExpand ? "margin-top-1-2" : "";
|
223
223
|
const toolOrder = this.toolOrder ? this.toolOrder : ["legend", "search", "fullscreen", "floorfilter"];
|
224
224
|
const shadowClass = this.stackTools ? "box-shadow" : "";
|
225
|
-
return (h(Host, { key: '
|
225
|
+
return (h(Host, { key: '2fc2ec5b50545b65962e3942512a935e4017908d' }, h("div", { key: 'aa7824c19b2dbdaf7e21d1bc59dd066f2b3623b5', class: containerClass }, this.enableSingleExpand ? (h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, h("div", { key: '7cd0c1f2f69cf961c11c7b8b3c1989342a300f77', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), h("basemap-gallery", { key: 'f6c9fc50b1e8360d4d60df85bd0c2341a0504fcf', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { key: '3e231e74bff5d0b373e6105b738a27aeef880094', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { key: 'ce1388b4892e6870ac3a38399e5ad619ab843be1', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { key: '414ea8be82bbc1a9fd7f9ab63f5c1ee7e3dc25b1', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { key: '9dcada2a4f2cd48a1db01d26b74b75aa09f37f8b', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
226
226
|
}
|
227
227
|
//--------------------------------------------------------------------------
|
228
228
|
//
|
@@ -70,7 +70,7 @@ export class PciCalculator {
|
|
70
70
|
render() {
|
71
71
|
const pciClass = !this.showAddDeduct ? "display-grid" : "display-none";
|
72
72
|
const deductClass = this.showAddDeduct ? "position-relative" : "display-none";
|
73
|
-
return (h(Host, { key: '
|
73
|
+
return (h(Host, { key: '9ebd821665a19fc6708e09b2e44260214990dcdd' }, h("div", { key: '02f0a5c314fe16375507a74703aea0f9e2328eae', class: pciClass }, h("div", { key: '051c8b68051cb9f2942d7314c9362551f9da5fc5', class: "label-display" }, h("calcite-label", { key: 'd4cc480632b676835357bb6b6bc49faa64d88a67', class: "label-display" }, "Enter comma delimited deduct values", this._getDeductValuesInput())), h("div", { key: 'd31ae7e152dc81a64f23fa3afe417cc2819dda18' }, this._getCalculateButton())), h("div", { key: 'e1b9defe18ae895870bae941833d58680cad6f32', class: deductClass }, h("div", { key: '832a4e9cf3f6b216bb5c8141fac98262c1b7fac2', class: "position-right" }, h("calcite-action", { key: '892c1c30895c1e6d076a1a38d7f1c3f5db3ab5ca', appearance: 'transparent', class: "float-end", icon: "x", onClick: () => this._toggleShowAddDeduct(), scale: "s", text: '' })), h("deduct-calculator", { key: 'f2690de17acd803348f25743a3b9f1db482afd0a', class: "display-grid padding-top-1", onDeductValueComplete: (evt) => this._addDeductValue(evt) }))));
|
74
74
|
}
|
75
75
|
//--------------------------------------------------------------------------
|
76
76
|
//
|
@@ -114,7 +114,7 @@ export class PdfDownload {
|
|
114
114
|
* Renders the component.
|
115
115
|
*/
|
116
116
|
render() {
|
117
|
-
return (h(Host, { key: '
|
117
|
+
return (h(Host, { key: 'afa6cf667c52c3923d99db3f53854f5acb12ecb3' }, h("calcite-select", { key: '97eed0501514f4b1466d02dfc8f58ddce55cc2ec', disabled: this.disabled, label: "", ref: (el) => { this._labelInfoElement = el; } })));
|
118
118
|
}
|
119
119
|
componentDidLoad() {
|
120
120
|
// Render the options outside of Stencil's rendering so that it doesn't mangle RTL text with embedded LTR
|
@@ -46,6 +46,7 @@ export class PublicNotification {
|
|
46
46
|
this.locale = undefined;
|
47
47
|
this.mapView = undefined;
|
48
48
|
this.noResultText = undefined;
|
49
|
+
this.initialNotice = "";
|
49
50
|
this.searchConfiguration = undefined;
|
50
51
|
this.selectionLayerIds = [];
|
51
52
|
this.showRefineSelection = false;
|
@@ -273,7 +274,7 @@ export class PublicNotification {
|
|
273
274
|
*/
|
274
275
|
render() {
|
275
276
|
const headerSlot = this._isMobile ? "footer" : "header";
|
276
|
-
return (h(Host, { key: '
|
277
|
+
return (h(Host, { key: 'f181d473e00426938204de5a5c178aefb4bb407a' }, h("calcite-shell", { key: '8ad537ed97ff0df163367f2bb5fb5abe543acc07' }, h("calcite-action-bar", { key: 'b2189df6eb2bbee518a7f312ca8c2644d6d812b6', 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))));
|
277
278
|
}
|
278
279
|
/**
|
279
280
|
* StencilJS: Called once just after the component is first loaded.
|
@@ -472,7 +473,9 @@ export class PublicNotification {
|
|
472
473
|
*/
|
473
474
|
_getListPage() {
|
474
475
|
const hasSets = this._hasSelections();
|
475
|
-
|
476
|
+
const noticeMessage = hasSets ? this._translations.listHasSetsTip :
|
477
|
+
this.initialNotice !== "" ? this.initialNotice : this._translations.selectLayerAndAdd;
|
478
|
+
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)))));
|
476
479
|
}
|
477
480
|
/**
|
478
481
|
* Display an image to help illustrate the basic workflow of the widget
|
@@ -1445,6 +1448,26 @@ export class PublicNotification {
|
|
1445
1448
|
"attribute": "no-result-text",
|
1446
1449
|
"reflect": false
|
1447
1450
|
},
|
1451
|
+
"initialNotice": {
|
1452
|
+
"type": "string",
|
1453
|
+
"mutable": false,
|
1454
|
+
"complexType": {
|
1455
|
+
"original": "string",
|
1456
|
+
"resolved": "string",
|
1457
|
+
"references": {}
|
1458
|
+
},
|
1459
|
+
"required": false,
|
1460
|
+
"optional": false,
|
1461
|
+
"docs": {
|
1462
|
+
"tags": [],
|
1463
|
+
"text": "string: The value to show in the initial notice to help with on boarding the user.\r\nWhen left empty the selectLayerAndAdd text from the nls will be used."
|
1464
|
+
},
|
1465
|
+
"getter": false,
|
1466
|
+
"setter": false,
|
1467
|
+
"attribute": "initial-notice",
|
1468
|
+
"reflect": false,
|
1469
|
+
"defaultValue": "\"\""
|
1470
|
+
},
|
1448
1471
|
"searchConfiguration": {
|
1449
1472
|
"type": "unknown",
|
1450
1473
|
"mutable": true,
|
@@ -127,7 +127,7 @@ export class RefineSelection {
|
|
127
127
|
*/
|
128
128
|
render() {
|
129
129
|
const layerPickerClass = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
|
130
|
-
return (h(Host, { key: '
|
130
|
+
return (h(Host, { key: '01d9d6eb8f212f458bd6651d8e874bb108a6e773' }, h("div", { key: 'eb9fb249f89a671e9c67fb83db2203713814d72b', class: layerPickerClass + " padding-top-sides-1" }, h("div", { key: 'a5991f6da0f888e85e1cf88967c8c8aa12790575', class: "display-flex" }, h("calcite-label", { key: 'e8f31c546ceae8a02ed1d49ec8ae9f1f6fb78022', class: "font-bold width-full label-margin-0" }, h("div", { key: 'd4be658063d140f56356ce7b694841e9bc89a1b3', class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { key: '6d3ff8cbb1bcc62aca444eb4d030a236466adfac', class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { key: '1e9dad9f2c8ff2ce130f79c37d804d4bd8162a96', enabledLayerIds: this._enabledLayerIds, locale: this.locale, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id], showTables: false })), h("calcite-popover", { key: 'b4f838f56f88cff5973d8f5fd3c54b7f0d7c72b3', closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { key: 'fcbdf68353eabcf090e60d8a239f07230f4bb37c', class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { key: '33891e7ff61cdd224a8652bae3e9d55256eb44a0', class: "padding-1" }, h("div", { key: 'a291edada53ed10197bec5fcc53d999f79042203', class: "padding-bottom-1" }, h("calcite-segmented-control", { key: '0c84665a705a12d1e51fb470e604bc52d8ac7543', class: "w-100", width: "full" }, h("calcite-segmented-control-item", { key: 'e50d78508164a4ddf2a5da9def80a19a4562cb8c', checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { key: 'b48811b1a2e56942965c944ff1eb35e10edd1db8', class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { key: 'dff6a191781fc4c6c3bde6fb3290da0ce96dea84', checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { key: '6dd86784de32c25ffbe8c5e61847cb506a122b5e', class: "font-weight-500" }, this._translations.remove)))), h("div", { key: 'd39ce91248e4eb7867049bfe9d5537a74f96a0d2' }, h("map-draw-tools", { key: '24a30d188807bf40749def362c21048ee92bb81b', active: true, drawMode: EDrawMode.REFINE, locale: this.locale, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: this._refineSelectionSet?.redoStack.length > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: this._refineSelectionSet?.undoStack.length > 0 })), h("br", { key: '7d28ea63ea92de45bd457f0aef93d99deea62553' }), (h("calcite-list", { key: '9b3c34304632ccf9253eec71e955502a0be48a13', class: "list-border", label: "" }, this._getRefineSelectionSetList())))));
|
131
131
|
}
|
132
132
|
//--------------------------------------------------------------------------
|
133
133
|
//
|
@@ -99,11 +99,11 @@ export class SolutionConfiguration {
|
|
99
99
|
const solutionData = state.getStoreInfo("solutionData");
|
100
100
|
this._solutionVariables = JSON.stringify(utils.getSolutionVariables(solutionData.templates, this._translations));
|
101
101
|
this._organizationVariables = JSON.stringify(utils.getOrganizationVariables(this._translations));
|
102
|
-
return (h(Host, { key: '
|
102
|
+
return (h(Host, { key: 'f35438d2bb88a8d3bc41d33af02e2fe36e2471de' }, !this._solutionIsLoaded
|
103
103
|
? h("calcite-loader", { label: '' })
|
104
|
-
: null, h("div", { key: '
|
104
|
+
: null, h("div", { key: 'cb9773d8ab59089cde1de594960e0d978ec6b1fb', class: "configuration-container" }, h("div", { key: 'b72462547e2930c170552816ea6bd1640326e67e', class: "configuration" }, h("calcite-tabs", { key: '4d2f673c9463a6ad40a64e9dd4ea7771be1658cf', class: "config-tabs" }, h("calcite-tab-nav", { key: '850511fd6a627da0117e8b93451fe5da0ef7ad8c', slot: "tab-nav" }, h("calcite-tab-title", { key: '8b3db2665846b1529c4fcd4829516b854705028b' }, this._translations.definitionTab), hasServices ?
|
105
105
|
h("calcite-tab-title", null, this._translations.spatialReferenceTab) :
|
106
|
-
null), h("calcite-tab", { key: '
|
106
|
+
null), h("calcite-tab", { key: '6298bbcc14066f2ffce75076718a5b802bc7dcb1', class: "config-tab", selected: true }, h("div", { key: '6876e11323dce264ead965243d476abff1e0d3f4', class: "config-solution" }, h("div", { key: '011f8114fa18676728410ef45eccdec512c81f93', class: this._treeOpen ? "config-inventory" : "config-inventory-hide" }, h("solution-contents", { id: "configInventory", key: `${this.solutionItemId}-contents`, ref: (el) => (this._solutionContentsComponent = el) })), h("calcite-button", { key: 'e38b67164540f2a0bd8aa7ceb19b1944e6c30a49', appearance: "transparent", class: "collapse-btn", "icon-start": this._treeOpen ? "chevrons-left" : "chevrons-right", id: "collapse-vars", onClick: () => this._toggleTree(), scale: "s", title: this._treeOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: '26e352cfd8e3f701bac219afc10e8f33f22042c0', class: "config-item" }, h("solution-item", { authentication: this.authentication, "item-id": this._currentEditItemId, key: `${this.solutionItemId}-item`, locale: this.locale, "organization-variables": this._organizationVariables, "solution-item-id": this.solutionItemId, "solution-variables": this._solutionVariables })))), hasServices
|
107
107
|
? h("calcite-tab", { class: "config-tab" }, h("div", { class: "config-solution" }, h("solution-spatial-ref", { enableDefault: !!spatialReferenceInfo.default, enabled: spatialReferenceInfo?.enabled, featureServices: state.getStoreInfo("featureServices").map(fs => fs.name), id: "configure-solution-spatial-ref", key: `${this.solutionItemId}-spatial-ref`, locale: this.locale })))
|
108
108
|
: null)))));
|
109
109
|
}
|
@@ -47,7 +47,7 @@ export class SolutionContents {
|
|
47
47
|
* Renders the component.
|
48
48
|
*/
|
49
49
|
render() {
|
50
|
-
return (h(Host, { key: '
|
50
|
+
return (h(Host, { key: '37e448ea1e2f90ba78d409253ac92443309fcb10' }, h("calcite-tree", { key: '57eba99bbbabaf2b46817d1faab158b915ecd9a7' }, this.renderHierarchy(this.templateHierarchy))));
|
51
51
|
}
|
52
52
|
renderHierarchy(objs) {
|
53
53
|
return objs.map((obj) => {
|
@@ -69,7 +69,7 @@ export class SolutionItem {
|
|
69
69
|
* Renders the component.
|
70
70
|
*/
|
71
71
|
render() {
|
72
|
-
return (h(Host, { key: '
|
72
|
+
return (h(Host, { key: '3985a0dbb1f383a629cb5dcbc7be3a3e58ee2c7f' }, h("div", { key: 'd75f55817d693dea817bfa2c5bdf17179aef115c', class: "configuration-container" }, h("div", { key: '3a5ba206e78d1c7db76dd4329296a4c155573de0', class: "configuration" }, this._showGroupTabs(this.itemType === "Group"), this._showItemTabs(this.itemType !== "Group")))));
|
73
73
|
}
|
74
74
|
//--------------------------------------------------------------------------
|
75
75
|
//
|
@@ -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: '705d8a65c8b27eb2724ca73c7d092432ff680149' }, 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 [{
|
@@ -80,7 +80,7 @@ export class SolutionItemDetails {
|
|
80
80
|
* Renders the component.
|
81
81
|
*/
|
82
82
|
render() {
|
83
|
-
return (h(Host, { key: '
|
83
|
+
return (h(Host, { key: '032ff1aeb8c703b36ff4746508e0b6b35ad29516' }, h("div", { key: 'a6ef24150d812c790a9762c7e6dcaefcfacc2c36', class: "parent-container" }, h("div", { key: 'e03091a4557a0e15af35782350aec472c94a0151', class: "inputBottomSeparation" }, h("calcite-input", { key: 'e45e06e9e140cc1bcd070faef6efeccd773ce7cc', id: "item-title", value: this.itemDetails.title })), h("div", { key: '9f62241ee3f46730aa48f40c5c9e55ea823c2e6f', class: "inputBottomSeparation" }, h("input", { key: '1c90efe7904fffbccb189032069396cf21e21228', accept: ".jpg,.gif,.png,image/jpg,image/gif,image/png", class: "display-none", onChange: (event) => (this._updateThumbnail(event)), ref: (el) => (this.browseForThumbnail = el), type: "file" }), h("button", { key: 'fbc1a6f8c40ac4ba7840bf80d16b4039d2bbb5a7', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, h("svg", { key: '1d4eacbc6445262ffa9bd9fe3d407a8a4560dd36', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, h("path", { key: '58eaaf7e259d7ef37ae352874488fce873a416b9', d: "M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" })), this._translations.editThumbnail), h("div", { key: 'a1d50881d34eddd023e0a9b677575a7573df583a', class: "flex" }, h("div", { key: 'e31f5d4cdaaee8765cc982ba9adda88df977e803', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, h("img", { key: 'c2d9b5e31e25b1bc139e1c119042044fdd8b31dd', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), h("div", { key: 'eaa96a675562d8969124ba3169e46d4fe9d180cb', class: "snippet-count-container" }, h("calcite-input", { key: '47d6b25a65fbe60f38668710b1eb14129c4aa6f2', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), h("label", { key: '8267140b46c94425eda185020c76307e70c33684', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), h("calcite-label", { key: '70ffbe01451016a0016d044e2f3e4d1e41722cb0' }, this._translations.description, h("label", { key: 'f7c014575c2a6964a45fad059646d79ebadf5e18', id: "item-description-label" }, h("calcite-input", { key: '34d78b42697be944d413102975aff3d31498abba', id: "item-description", type: "textarea", value: this.itemDetails.description }))), h("calcite-label", { key: '2d51c7a3b709b41e5adb0f73756a9528f86c20a5' }, this._translations.tags, h("label", { key: 'ea9ddfa6662d7ab8eb92301c59b6fd5876d7d59b', id: "item-tags-label" }, h("calcite-input", { key: 'aec1f0ee4408d4cb687bb31b313cb47b58979733', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? h("calcite-label", null, this._translations.credits, h("label", { id: "item-credits-label" }, h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? h("calcite-label", null, h("label", { id: "item-terms-label" }, this._translations.termsOfUse, h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
|
84
84
|
}
|
85
85
|
componentDidRender() {
|
86
86
|
this._loadThumb();
|
@@ -40,7 +40,7 @@ export class SolutionItemIcon {
|
|
40
40
|
* Renders the component.
|
41
41
|
*/
|
42
42
|
render() {
|
43
|
-
return h("div", { key: '
|
43
|
+
return h("div", { key: 'e14a2bed4b4c74b5959d7b12f73f9c8a1b374e6d', title: this.type }, h("img", { key: 'd7a7eccc3361946b2641e8499af21b199792a223', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
|
44
44
|
}
|
45
45
|
//--------------------------------------------------------------------------
|
46
46
|
//
|
@@ -66,7 +66,7 @@ export class SolutionItemSharing {
|
|
66
66
|
* Renders the component.
|
67
67
|
*/
|
68
68
|
render() {
|
69
|
-
return (h(Host, { key: '
|
69
|
+
return (h(Host, { key: 'eca66b743e748d9f915c6d356ea84075ab21709a' }, h("div", { key: 'b0765e14cc9de5a81afa5d20bc41e7f78913a37e', class: "container-border" }, h("calcite-label", { key: '36cbf3b48a2641bcb2107e61609c2ec6c9f18991' }, this._translations.groupInfo), this._renderItems(this.sharing))));
|
70
70
|
}
|
71
71
|
//--------------------------------------------------------------------------
|
72
72
|
//
|
@@ -64,7 +64,7 @@ export class SolutionOrganizationVariables {
|
|
64
64
|
* Renders the component.
|
65
65
|
*/
|
66
66
|
render() {
|
67
|
-
return (h(Host, { key: '
|
67
|
+
return (h(Host, { key: '4d1a39b53287d445a1fc66cd5088a7bc60516ab6' }, h("div", { key: '7a40ad712fe1af01e92701d128f65b0590aa15bc' }, h("h4", { key: '7517fc56b5b0128ee102dc3f57e334501befe14f', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: 'd48cbc3ffb24ba54ded2b24c7c518ecf8114cd55', class: "container-border" }, h("calcite-tree", { key: '383124c0ae3d646dc9ee857109051e7a151dbe62', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
|
68
68
|
}
|
69
69
|
//--------------------------------------------------------------------------
|
70
70
|
//
|
@@ -75,7 +75,7 @@ export class SolutionResourceItem {
|
|
75
75
|
*/
|
76
76
|
render() {
|
77
77
|
const hasValidResources = this._hasValidResources();
|
78
|
-
return (h(Host, { key: '
|
78
|
+
return (h(Host, { key: '36017a54e5f8fafda593af2b727f1fbda80c7455' }, h("div", { key: 'eb9f53c9b4161c09e0b00d9a4d90a814d944819c', class: "resource-item" }, h("div", { key: '504dfa5fb623ed27a0829f60ebbf5de17b6d467f', class: "margin-bottom-1" }, h("calcite-button", { key: 'e578443e1ef409917c5946c77e660c04d273cb6c', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: 'e4c11326d7c5d96de1d0983eb0beb3cf726177c8', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '3617bf40ac8b01d70b523642757a624c977ea491', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
|
79
79
|
}
|
80
80
|
_removedResources = {};
|
81
81
|
//--------------------------------------------------------------------------
|
@@ -74,7 +74,7 @@ export class SolutionSpatialRef {
|
|
74
74
|
}
|
75
75
|
render() {
|
76
76
|
this._updateUIFromStore();
|
77
|
-
return (h(Host, { key: '
|
77
|
+
return (h(Host, { key: 'b137587cf67e4f3bd498166c2c482894dd94e66d' }, h("label", { key: '728399a596edc07757ec9c34cfe149c8ae65da3f', class: "switch-label" }, h("calcite-switch", { key: 'bd3310bae9296b86bb0f77474d200c430b974196', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), h("br", { key: '7f247a248515aff35d96125e1813ca40d1935c07' }), h("div", { key: 'a2415c6cbb9cca553544106b24bb7268c4ff5bd2', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), h("label", { key: '46fccf4ef6cb409d1a74f62832d7fabd9f88cf44', class: "switch-label spatial-ref-component" }, h("calcite-switch", { key: '74e3afca88b1770421be663ec0075ade8faf7a64', checked: this.enableDefault, class: "spatial-ref-switch", disabled: !this.enabled, onCalciteSwitchChange: (event) => this.enableDefault = event.target.checked, scale: "m" }), this._translations.enableDefaultSpatialReference)));
|
78
78
|
}
|
79
79
|
//--------------------------------------------------------------------------
|
80
80
|
//
|
@@ -91,7 +91,7 @@ export class SolutionTemplateData {
|
|
91
91
|
* Renders the component.
|
92
92
|
*/
|
93
93
|
render() {
|
94
|
-
return (h(Host, { key: '
|
94
|
+
return (h(Host, { key: 'db99cf57229d7d8b9fe6315e180d95de0b20fc8d' }, h("div", { key: '83473f420d1417c85ebb4119be9f359cab878c54', class: "solution-data-container" }, h("calcite-shell", { key: '013754ef962c2e5c112f6a8cc6c5d1b8e768078e', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: '11ab2a07fe4af542d8cefc1c131246deef43dd9a', class: "json-editor" }, h("div", { key: 'ba0460977eb0375acaf5b11ce951986a08ece39b', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: '53251c1583aa7e8cf2a4e9a1f22e4c72430d3928', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, locale: this.locale, value: this.value }))), h("calcite-shell-panel", { key: '30c47797a35ff7228c4318a5633aec57de05b8cf', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: '028b16654835744f0735b880ca85a3d174963414', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, h("calcite-button", { key: 'bb5049611e778b970454544851a625ccef47d23a', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: 'c2a30a7c27db181e0dfe0e201d9d3b2742247080', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: '178c4301c8558c4fe7114c8f6cf5bc0df10883a0', locale: this.locale, value: this.organizationVariables })), h("div", { key: 'f85375bac946cff856b6915f340bf926498265ea', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: '166d0752746994bc4aebd4e41660f8a2d2c678ea', locale: this.locale, value: this.solutionVariables }))))))));
|
95
95
|
}
|
96
96
|
_initializing = false;
|
97
97
|
//--------------------------------------------------------------------------
|
@@ -64,7 +64,7 @@ export class SolutionVariables {
|
|
64
64
|
* Renders the component.
|
65
65
|
*/
|
66
66
|
render() {
|
67
|
-
return (h(Host, { key: '
|
67
|
+
return (h(Host, { key: 'a9354a1d3b3d91b9b9522bec945726e106487b78' }, h("div", { key: 'd38d0151ba9f8421e3ec863ce90b234964cb7f21' }, h("h4", { key: '3d10129c3327e803e38b4fc21976764f9ac91693', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: '8b79cef63c5b8f5f66b0e11a4b94021f6a025fc3', class: "container-border" }, h("calcite-tree", { key: '7f69edec6e35a65e45b461d69e92d0e163563bee', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
|
68
68
|
}
|
69
69
|
//--------------------------------------------------------------------------
|
70
70
|
//
|