@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
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as i,g as s,h as e}from"./p-e996c38f.js";import{l as a,g as h}from"./p-404cbf48.js";import{P as n}from"./p-3335285a.js";import{g as l,c as o,h as
|
6
|
+
import{r as t,c as i,g as s,h as e}from"./p-e996c38f.js";import{l as a,g as h}from"./p-404cbf48.js";import{P as n}from"./p-3335285a.js";import{g as l,c as o,h as c}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-8d281f47.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-80cb7c73.js";const r=class{constructor(s){t(this,s),this.featureSelect=i(this,"featureSelect",7),this.selectedLayerId=void 0,this.mapView=void 0,this.noFeaturesFoundMsg=void 0,this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.locale=void 0,this.sortingInfo=void 0,this.whereClause=void 0,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.reportingOptions=void 0,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._translations=void 0}get el(){return s(this)}Color;esriConfig;symbolUtils;_popupUtils;_selectedLayer;_highlightHandle;_highlights;_pagination;_validFieldTypes=["small-integer","integer","big-integer","single","long"];_abbreviatedLikeCount;_likeFieldAvailable=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async selectedLayerWatchHandler(){this._selectedLayer=await l(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async refresh(t){if(t&&this._pagination){const t={target:{startItem:this._pagination.startItem}};await this.pageChanged(t)}else await this.initializeFeatureItems()}featureSelect;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this._isLoading=this.showInitialLoading,this._popupUtils=new n,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await l(this.mapView,this.selectedLayerId))}async componentDidLoad(){await this.initializeFeatureItems()}render(){return e("calcite-panel",{key:"6b6214a3dba7df7c2035203750d547945407ecde","full-height":!0,"full-width":!0},this._isLoading&&e("calcite-loader",{key:"1b05d96de0b4d396b13f448311db76315e28b81b",label:"",scale:"m"}),this.showErrorWhenNoFeatures&&0===this._featureItems.length&&!this._isLoading&&e("calcite-notice",{key:"abe755f0bc5c7ff064249159c3154c9ca1c27594",class:"error-msg",icon:"feature-details",kind:"info",open:!0},e("div",{key:"5a8ead1d47151cf088ae9e359052cf35129b09d3",slot:"message"},this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),e("calcite-list",{key:"cd7049462fb654dad0c4c05f127cf3e5d06bc5de",label:"","selection-appearance":"border","selection-mode":"none"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&e("div",{key:"b65b1f491800e489790d79054affc0ddcd089d1f",class:"width-full",slot:"footer"},e("calcite-pagination",{key:"280aa2b17c78f53a4f110f8dc021e630241ebbe0",class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,ref:t=>this._pagination=t,"start-item":"1","total-items":this._featuresCount})))}async initModules(){const[t,i,s]=await a(["esri/Color","esri/config","esri/symbols/support/symbolUtils"]);this.Color=t,this.esriConfig=i,this.symbolUtils=s}async getWhereCondition(){let t="1=1";if(this.whereClause&&(t=this.whereClause),this._selectedLayer?.definitionExpression&&(t=t+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){const i=await o(this.mapView,this.selectedLayerId);i?.filter?.where&&(t=t+" AND "+i.filter.where)}return t}async initializeFeatureItems(){if(this._selectedLayer){this._pagination?.goTo("start"),this._isLoading=this.showInitialLoading,this._featureItems=await this.queryPage(0);const t={where:await this.getWhereCondition()};this._featuresCount=await this._selectedLayer.queryFeatureCount(t),this._isLoading=!1}}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}async featureClicked(t,i){if(this.clearHighlights(),this.highlightOnMap){const i=Number(t.target.value),s=await o(this.mapView,this.selectedLayerId);this._highlightHandle=await c([i],s,this.mapView,!0)}await this.emitSelectedFeature(i)}async emitSelectedFeature(t){const i=t.layer,s=i.createQuery();s.returnGeometry=!0,s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this.featureSelect.emit(e.features[0])}async onFeatureHover(t){if(this.clearHighlights(),this.highlightOnHover){const i=t.getObjectId(),s=await o(this.mapView,this.selectedLayerId);this._highlights&&(s.highlights=JSON.parse(this._highlights)),s.highlightOptions={color:new this.Color("#FFFF00")},this._highlights=JSON.stringify(s.highlights),this._highlightHandle=s.highlight([i])}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(t){const i=this._selectedLayer,s=this.sortingInfo?.field?this.sortingInfo.field:i.objectIdField,e=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),h={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView.spatialReference.toJSON()};s&&e&&(h.orderByFields=[s.toString()+" "+e]);const n=await i.queryFeatures(h);return await this.createFeatureItem(n)}async createFeatureItem(t){const i=t?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,e=i.map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);let e,a;if(this.showUserImageInList){const i=this._selectedLayer.editFieldsInfo?.creatorField;i&&(e=await this.getUserInformation(t))}return this.showFeatureSymbol&&(a=await this.getFeatureSymbol(t)),s&&this.getAbbreviatedLikeCount(t),this.getFeatureItem(t,i,a,e)}));return Promise.all(e)}getAbbreviatedLikeCount(t){const i=this._selectedLayer,s=this.reportingOptions[i.id].likeField;i.fields.forEach((e=>{if(this._validFieldTypes.indexOf(e.type)>-1&&e.name===s&&this.reportingOptions[i.id].like){this._likeFieldAvailable=!0;let i=t.attributes[s]||0;i>999&&(i=i>999999?this._translations.millionsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e6).toString()):this._translations.thousandsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e3).toString())),this._abbreviatedLikeCount=i}}))}getFeatureItem(t,i,s,a){const h=t.attributes[this._selectedLayer.objectIdField].toString();i=i??h;const n=Number(t.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField]).toLocaleString(),l="small"===this.textSize?"feature-list-popup-title-small":"feature-list-popup-title",o=this.showUserImageInList||this.showFeatureSymbol?"feature-list-popup-title-padding-reduced":"feature-list-popup-title-padding";return e("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},onMouseLeave:()=>{this.clearHighlights()},onMouseOver:()=>{this.onFeatureHover(t)},value:h},this.showUserImageInList&&e("calcite-avatar",{class:"profile-img","full-name":a?.fullName,scale:"m",slot:"content-start",thumbnail:a?.userProfileUrl,userId:a?.id,username:a?.fullName?a.username:void 0}),this.showFeatureSymbol&&e("div",{class:"feature-symbol",ref:t=>t&&t.replaceChildren(s),slot:"content-start"}),e("div",{class:`${l} ${o}`,slot:"content-start"},i),this._likeFieldAvailable&&e("div",{class:"like-container",id:h.concat("like"),slot:"content-end"},e("span",null,this._abbreviatedLikeCount),e("calcite-icon",{icon:"thumbs-up",scale:"s"}),e("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":h.concat("like")},n)),e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}async getUserInformation(t){let i=this._selectedLayer.editFieldsInfo?.creatorField;t.attributes.hasOwnProperty(i.toLowerCase())?i=i.toLowerCase():t.attributes.hasOwnProperty(i.toUpperCase())&&(i=i.toUpperCase());let s=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${t.attributes[i]}?f=json&returnUserLicensedItems=true`;const e=this.mapView.map.portalItem.portal?.credential?.token;e&&(s+=`&token=${e}`);const a=await fetch(s),h=await a.json();let n=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${h?.username??t.attributes[i]}/info/blob.png`;return h?.access&&e&&(n+=`?token=${e}`),h.userProfileUrl=n,h}async getFeatureSymbol(t){const i=document.createElement("div");return await this.symbolUtils.getDisplayedSymbol(t).then((async t=>{if(t&&await(this.symbolUtils?.renderPreviewHTML(t,{node:i})),i.children?.length){const t=i.children[0];if(t){const i=Number(t.getAttribute("height")),s=Number(t.getAttribute("width"));s>30?t.setAttribute("width","30"):s<19&&t.setAttribute("width","20"),t.setAttribute("viewBox",`0 0 ${s} ${i}`)}}})),i}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],selectedLayerId:["selectedLayerWatchHandler"],sortingInfo:["sortingInfoWatchHandler"],whereClause:["whereClauseHandler"]}}};r.style=":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;white-space:pre-line}.feature-list-popup-title-small{font-size:small;white-space:pre-line}.feature-list-popup-title-padding{padding:10px 12px}.feature-list-popup-title-padding-reduced{padding:10px 0}.profile-img{margin:0 0.75rem;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray !important;font-style:italic}.feature-symbol{padding:3px 10px;min-width:30px;display:flex;justify-content:center}";export{r as feature_list}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as
|
6
|
+
import{r as t,c as e,g as i,h as s,H as a}from"./p-e996c38f.js";import{g as o}from"./p-404cbf48.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const d=class{constructor(i){t(this,i),this.editsComplete=e(this,"editsComplete",7),this.deleteDialogClose=e(this,"deleteDialogClose",7),this.ids=[],this.layer=void 0,this.locale=void 0,this.open=!1,this._isDeleting=!1,this._translations=void 0}get el(){return i(this)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}editsComplete;deleteDialogClose;async componentWillLoad(){await this._getTranslations()}render(){const t=1===this.ids.length?this._translations?.confirmSingle:this._translations?.confirmMultiple;return s(a,{key:"d672a7218bc19c762c89b519b5d12c8d0122f770"},s("calcite-dialog",{key:"c43ba38dd9477869ae9797f98e3daafce09c5eae",heading:this._translations?.deleteFeature,kind:"danger",modal:!0,onCalciteDialogClose:()=>this._close(),open:this.open,widthScale:"s"},s("div",{key:"481710981431c3bb10b8ec221604f0740f3f8772"},t),s("calcite-button",{key:"8f1fc8a1a66fbd25edbb8d7f99f223b5bfea0517",appearance:"outline",kind:"danger",onClick:()=>this._close(),slot:"footer-end",width:"full"},this._translations?.cancel),s("calcite-button",{key:"46830e28586f1d345de2b19a2d8198f36ae74f15",kind:"danger",loading:this._isDeleting,onClick:()=>{this._deleteFeatures()},slot:"footer-end",width:"full"},this._translations?.delete)))}async _deleteFeatures(){this._isDeleting=!0;const t=this.ids.map((t=>({objectId:t})));await this.layer.applyEdits({deleteFeatures:t}),this._isDeleting=!1,this._close(),this.editsComplete.emit("delete")}_close(){this.open=!1,this.deleteDialogClose.emit()}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};d.style=":host{display:block}.delete-modal{position:fixed}";export{d as delete_dialog}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as i,g as s,h as e,F as a}from"./p-e996c38f.js";import{l as h,g as c,f as n}from"./p-404cbf48.js";import{b as o,d as l,a as r,c as d}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const p=class{constructor(s){t(this,s),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.isActionPending=i(this,"isActionPending",7),this.formReady=i(this,"formReady",7),this.locale=void 0,this.mapView=void 0,this.table=void 0,this.selectedFeature=void 0,this.customizeSubmit=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await h(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return e(a,{key:"650aeca8002a6d1a0dfd38972431021958e17195"},this.showGuidingMsg&&e("calcite-notice",{key:"e81e9ef66e5daa87e45affb573f6ef16bc42b3f3",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{key:"483c0507f64c83e0846ca82ca48d0c93f491162e",slot:"message"},this._translations.provideDetailsMsg)),e("calcite-loader",{key:"335afd31901cdf23eecd9ddb49a1017b2d9310fa",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}disconnectedCallback(){this._editor&&this._editor.destroy()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],c={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(c),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const c=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=c.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};p.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const b=class{constructor(s){t(this,s),this.loadingStatus=i(this,"loadingStatus",7),this.commentSelect=i(this,"commentSelect",7),this.addComment=i(this,"addComment",7),this.likeOrDislikeClicked=i(this,"likeOrDislikeClicked",7),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.locale=void 0,this.showUserImageInCommentsList=!1,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return e("calcite-panel",{key:"f66885aa1e6d13301b16a9ebce45565a0db62a7a","full-height":!0},e("info-card",{key:"be133b617dfa1252e5543aad4a669a924e29cdd7",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&e("div",{key:"0ebeede82e3f3dc5d35e0a6f186b76a101b619ab",class:"buttons-container"},this._commentsAvailable&&e("calcite-button",{key:"8cd9c213f85d444139a3288cb5b7ce656baafb09",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&e("calcite-button",{key:"9103211674bf16c08e87dda654b492a41733c198",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&e("calcite-button",{key:"bf7ab2677cb7d6df10e28bf8ae323bd2c89ef7a7",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&e("feature-list",{key:"c641986811d72b5e75499b33a703654631680d7e",class:"height-full",locale:this.locale,mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await h(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){if(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await o(this.mapView);let s=null,e=null;if(t.relationships.some((a=>{const h=i.filter((i=>t.url===i.url&&i.layerId===a.relatedTableId));if(h&&h.length>0)return s=h[0],e=a.id,!0})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),c=[];h[i]&&h[i].features.forEach((t=>{c.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=c,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const c={updateFeatures:[h]};await e.applyEdits(c).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};b.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const y=class{constructor(s){t(this,s),this.layerSelect=i(this,"layerSelect",7),this.layersListLoaded=i(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.locale=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations()}async componentDidLoad(){await this.setLayers()}render(){return e(a,{key:"a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e"},this._isLoading&&e("calcite-loader",{key:"544a134bccc29048ca80b996844cc944bcd97a24",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&e("calcite-notice",{key:"7557f91c8c3349c120c043ea59458b4c834dce2e",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},e("div",{key:"ea8b20f8c7da5053641cfad56e3395ae3c6286f5",slot:"title"},this._translations.error),e("div",{key:"38aaed7b456aba0b1dd70183be03e9133834dfb4",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&e("calcite-list",{key:"547b0681145fd8d8663b786472be9e5161cbd693",label:"","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async setLayers(){this.mapView&&(this._isLoading=!0,await this.initLayerHash(),this._isLoading=!1)}async initLayerHash(){const t=[];this._layerItemsHash=await l(this.mapView,!0);const i=await r(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await d(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await n(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const i=this._layerItemsHash[t].formattedFeatureCount;return e("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},e("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==i&&""!==i&&e("div",{class:this.showNextIcon?"":"feature-count",slot:"content-end"},"("+i+")"),this.showNextIcon&&e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};y.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";export{p as create_related_feature,b as feature_details,y as layer_list}
|
6
|
+
import{r as t,c as i,g as s,h as e,F as a}from"./p-e996c38f.js";import{l as h,g as c,f as n}from"./p-404cbf48.js";import{b as o,d as l,a as r,c as d}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const p=class{constructor(s){t(this,s),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.isActionPending=i(this,"isActionPending",7),this.formReady=i(this,"formReady",7),this.locale=void 0,this.mapView=void 0,this.table=void 0,this.selectedFeature=void 0,this.customizeSubmit=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await h(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return e(a,{key:"261308f81b5bbed3e136efbb2100db9c1e5994a4"},this.showGuidingMsg&&e("calcite-notice",{key:"3aca1d3f48e46208ce07f2ccdd76ac4af752162d",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{key:"f449d7dcde1cc75bf7470a75ae0ce915ef457459",slot:"message"},this._translations.provideDetailsMsg)),e("calcite-loader",{key:"e94e971b96ddba0ab36f27ffd4e37b820bb2432f",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}disconnectedCallback(){this._editor&&this._editor.destroy()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],c={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(c),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const c=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=c.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};p.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const b=class{constructor(s){t(this,s),this.loadingStatus=i(this,"loadingStatus",7),this.commentSelect=i(this,"commentSelect",7),this.addComment=i(this,"addComment",7),this.likeOrDislikeClicked=i(this,"likeOrDislikeClicked",7),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.locale=void 0,this.showUserImageInCommentsList=!1,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return e("calcite-panel",{key:"be7bebe9da698d963a2602fcacb95ac7206ac1e9","full-height":!0},e("info-card",{key:"1e069f52d59d42f3e2b88463ea7c536c65a0a6b5",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&e("div",{key:"d53f5a1726e4c6299ffd04e266d84005181645f6",class:"buttons-container"},this._commentsAvailable&&e("calcite-button",{key:"4c2616cc9e0107258f5313b66ae96fa31fe582c5",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&e("calcite-button",{key:"7c87aa085df04a8b58625097c2ce70e5853b82f9",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&e("calcite-button",{key:"59eb48b91fc2a394cafdcbeeebf5baafae9a8c9b",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&e("feature-list",{key:"f34ee203202944666c40e14bdfdc59265414fbe1",class:"height-full",locale:this.locale,mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await h(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){if(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await o(this.mapView);let s=null,e=null;if(t.relationships.some((a=>{const h=i.filter((i=>t.url===i.url&&i.layerId===a.relatedTableId));if(h&&h.length>0)return s=h[0],e=a.id,!0})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),c=[];h[i]&&h[i].features.forEach((t=>{c.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=c,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const c={updateFeatures:[h]};await e.applyEdits(c).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};b.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const y=class{constructor(s){t(this,s),this.layerSelect=i(this,"layerSelect",7),this.layersListLoaded=i(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.locale=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations()}async componentDidLoad(){await this.setLayers()}render(){return e(a,{key:"a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e"},this._isLoading&&e("calcite-loader",{key:"544a134bccc29048ca80b996844cc944bcd97a24",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&e("calcite-notice",{key:"7557f91c8c3349c120c043ea59458b4c834dce2e",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},e("div",{key:"ea8b20f8c7da5053641cfad56e3395ae3c6286f5",slot:"title"},this._translations.error),e("div",{key:"38aaed7b456aba0b1dd70183be03e9133834dfb4",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&e("calcite-list",{key:"547b0681145fd8d8663b786472be9e5161cbd693",label:"","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async setLayers(){this.mapView&&(this._isLoading=!0,await this.initLayerHash(),this._isLoading=!1)}async initLayerHash(){const t=[];this._layerItemsHash=await l(this.mapView,!0);const i=await r(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await d(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await n(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const i=this._layerItemsHash[t].formattedFeatureCount;return e("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},e("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==i&&""!==i&&e("div",{class:this.showNextIcon?"":"feature-count",slot:"content-end"},"("+i+")"),this.showNextIcon&&e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};y.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";export{p as create_related_feature,b as feature_details,y as layer_list}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,g as s,a as e,h as a,H as l}from"./p-e996c38f.js";import{b as o,c as n,a as h}from"./p-80cb7c73.js";import{l as c,g as r}from"./p-404cbf48.js";import{e as d,h as p}from"./p-d572627c.js";import{s as g}from"./p-e6859850.js";import{c as b,r as m}from"./p-8d281f47.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-8717729a.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const u=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.locale=void 0,this.mapView=void 0,this.noResultText=void 0,this.initialNotice="",this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._exportGraphics=!1,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=o.PDF,this._fetchingData=!1,this._isMobile=void 0,this._numDuplicates=0,this._pageType=n.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}get el(){return s(this)}_activeSelection;_downloadTools;_geometryEngine;Graphic;_jsonUtils;_onboardingImageUrl="";_popupsEnabled;_removeDuplicates;_searchConfiguration;_selectTools;_mediaQuery;_titleElement;_titleValue=void 0;_numSelected=0;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(t){t?.popup&&(this._popupsEnabled=t?.popupEnabled),this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);this.mapView&&(s!==JSON.stringify(i)||s&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){if(this._checkPopups(),this.mapView?.popup&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._updateExportGraphics(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),i===n.EXPORT&&this._removeExportGraphics(),t!==n.SELECT)return this._highlightFeatures()}searchConfigurationChange;selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=e("assets/data/images/onboarding.png")}render(){return a(l,{key:"f181d473e00426938204de5a5c178aefb4bb407a"},a("calcite-shell",{key:"8ad537ed97ff0df163367f2bb5fb5abe543acc07"},a("calcite-action-bar",{key:"b2189df6eb2bbee518a7f312ca8c2644d6d812b6",class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",n.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",n.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",n.EXPORT,this._translations.export)),this._getPage(this._pageType)))}async componentDidLoad(){this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i,s]=await c(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils","esri/Graphic"]);this._geometryEngine=t,this._jsonUtils=i,this.Graphic=s}_initSearchConfiguration(t){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=t,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,s){return a("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},a("div",{class:"background-override"},a("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),a("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},a("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections(),i=t?this._translations.listHasSetsTip:""!==this.initialNotice?this.initialNotice:this._translations.selectLayerAndAdd;return a("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(i,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),a("div",{class:"display-flex padding-1"},a("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},a("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return a("div",{class:"display-flex padding-sides-1"},a("img",{class:"img-container",role:"presentation",src:this._onboardingImageUrl}))}_getSelectionSetList(){return a("div",{class:"padding-top-1-2 padding-bottom-1-2"},a("calcite-list",{class:"list-border margin-sides-1",label:""},this._selectionSets.reduce(((t,i,s)=>{const e=this._getSelectionSetIds(i);let l=!0;return i.workflowType===h.REFINE&&(l=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),l&&t.push(a("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",e.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==h.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===h.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),s=m(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==h.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_getSelectPage(){const t=this._translations.selectSearchTip;return a("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),a("div",null,a("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enableLayerFeatures:this.enableLayerFeatures,enableLayerFeaturesOnLoad:this.enableLayerFeaturesOnLoad,enableSearchDistance:this.enableSearchDistance,enableSearchDistanceOnLoad:this.enableSearchDistanceOnLoad,enableSketchTools:this.enableSketchTools,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,locale:this.locale,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,searchDistanceEnabled:this.enableSearchDistanceOnLoad,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol,useLayerFeaturesEnabled:this.enableLayerFeaturesOnLoad})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return a("calcite-panel",null,a("div",null,this._getLabel(this._translations.export,!1),t?a("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),a("div",{class:"padding-sides-1 "+i},a("div",{class:"display-flex"},a("calcite-label",{layout:"inline"},a("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),a("div",{class:"display-flex"},this._translations.removeDuplicate,a("div",{class:"info-message padding-start-1-2"},a("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"remove-duplicates-icon",scale:"s"})),a("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},a("span",{class:"tooltip-message"},this._translations.duplicatesTip))),a("div",{class:"border-bottom"}),a("div",{class:"padding-top-sides-1"},a("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t),width:"full"},a("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},a("span",{class:"font-weight-500"},this._translations.pdf)),a("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},a("span",{class:"font-weight-500"},this._translations.csv)))),a("div",{class:"padding-bottom-1"},this._getExportOptions()),a("div",{class:"padding-1 display-flex"},a("calcite-button",{disabled:!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},a("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=this._addMap?"display-flex":"display-none",s=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",e=this._addResults?"":"display-none";return a("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addResults,onCalciteCheckboxChange:()=>this._addResults=!this._addResults}),this._translations.addResults)),a("div",{class:`padding-top-sides-1 ${e}`},a("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),a("div",{class:`padding-sides-1 ${e}`},a("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,locale:this.locale,ref:t=>{this._downloadTools=t}})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.title)),a("div",{class:t},this._getLabel(this._translations.title,!0,""),a("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:s})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._handleAddMapChange()}),this._translations.includeMap)),a("div",{class:`padding-top-sides-1 ${i}`},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._exportGraphics,onCalciteCheckboxChange:()=>this._handleExportGraphicsChange()}),this._translations.listGraphics),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"list-graphics-icon",scale:"s"}),a("calcite-popover",{closable:!0,label:"",referenceElement:"list-graphics-icon"},a("span",{class:"tooltip-message"},this._translations.listGraphicsTip))))}_handleAddMapChange(){this._addMap=!this._addMap,this._updateExportGraphics()}_handleExportGraphicsChange(){this._exportGraphics=!this._exportGraphics,this._updateExportGraphics()}_getManagedLayer(t){let i;return Object.keys(g.managedLayers).some((s=>{const e=this.mapView.map.layers.findIndex((t=>t.title===s));if(g.managedLayers[s]===t)return i=this.mapView.map.layers.getItemAt(e),!0})),i}_updateExportGraphics(t=!1){!t&&this._exportGraphics&&this._addMap||this._removeExportGraphics(),this._exportGraphics&&this._addMap&&this._addExportGraphics()}_removeExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");t&&t.graphics.removeAll(),i&&i.graphics.removeAll()}_addExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");this._selectionSets.forEach((s=>{if(s.download&&(t&&t.graphics.add(s.sketchGraphic),i)){const t=new this.Graphic({geometry:s.buffer,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});i.graphics.add(t)}}))}_getRefinePage(){const t=this._hasSelections();return a("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?a("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),a("refine-selection",{enabledLayerIds:this.selectionLayerIds,locale:this.locale,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,s,e,l,o){return a("div",{class:"padding-bottom-1"},a("div",{class:"display-flex padding-top-sides-1"},a("calcite-button",{disabled:i,onClick:s,width:"full"},a("span",{class:"font-weight-500"},t))),a("div",{class:"display-flex padding-top-1-2 padding-sides-1"},a("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},a("span",{class:"font-weight-500"},e))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return a("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},a("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{const s=this._getSelectionSetIds(i),e=i.workflowType!==h.REFINE||s.length>0;return!this._downloadActive&&i.download&&e&&(this._downloadActive=!0),e&&t.push(a("div",{class:"display-flex padding-sides-1 padding-bottom-1"},a("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),a("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list",label:""},a("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",s.length.toString()))))))),t}),[])||a("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),this._updateExportGraphics(!0),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===o.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=t?.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(this.mapView.map,t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===o.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(this.mapView.map,t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{if(i.workflowType===h.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const s=i?.layerView?.layer.id;t=this._updateExportInfos(t,s,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,e,l=!1,o=""){return a("calcite-action",{disabled:!t,icon:i,iconFlipRtl:!0,indicator:l,onClick:e,slot:o,text:s})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(n.LIST)}async _saveSelection(){const t=await(this._selectTools?.getSelection()),i=this._selectTools?.isUpdate;return this._selectionSets=i?this._selectionSets.map((i=>i.id===t.id?t:i)):[...this._selectionSets,t],this._home()}async _clearSelection(){await(this._selectTools?.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,s)=>{if(s!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){d(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===h.REFINE?n.REFINE:n.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===n.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){const e=t[i[s]];g.highlightHandles.push(await p(e.ids,e.layerView,this.mapView))}}_checkPopups(){"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=this.mapView?.popupEnabled)}_clearHighlight(){g&&g.highlightHandles&&g.removeHandles()}async _getTranslations(){const t=await r(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{u as public_notification}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{p as e,b as a}from"./p-e996c38f.js";export{s as setNonce}from"./p-e996c38f.js";import{g as t}from"./p-c545b14f.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await t(),a(JSON.parse('[["p-f2d7b9c3",[[0,"crowdsource-manager",{"appLayout":[1025,"app-layout"],"appProxies":[8,"app-proxies"],"basemapConfig":[16],"coverPageEnabled":[4,"cover-page-enabled"],"customInfoText":[1,"custom-info-text"],"defaultAppLayout":[1,"default-app-layout"],"defaultCenter":[1,"default-center"],"defaultGlobalId":[1,"default-global-id"],"defaultLayer":[1,"default-layer"],"defaultLevel":[1,"default-level"],"defaultOid":[1,"default-oid"],"defaultWebmap":[1,"default-webmap"],"honorMapFieldSettings":[4,"honor-map-field-settings"],"introductionWindowEnabled":[4,"introduction-window-enabled"],"enableAutoRefresh":[4,"enable-auto-refresh"],"enableBasemap":[4,"enable-basemap"],"enableColumnReorder":[4,"enable-column-reorder"],"enableCSV":[4,"enable-c-s-v"],"enableFloorFilter":[4,"enable-floor-filter"],"enableFullscreen":[4,"enable-fullscreen"],"enableHome":[4,"enable-home"],"enableLegend":[4,"enable-legend"],"enableSearch":[4,"enable-search"],"enableShare":[4,"enable-share"],"enableZoom":[4,"enable-zoom"],"locale":[1],"mapInfos":[16],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"popupHeaderColor":[1,"popup-header-color"],"popupHeaderHoverColor":[1,"popup-header-hover-color"],"popupHeaderHoverTextColor":[1,"popup-header-hover-text-color"],"popupHeaderTextColor":[1,"popup-header-text-color"],"searchConfiguration":[16],"shareIncludeEmbed":[4,"share-include-embed"],"shareIncludeSocial":[4,"share-include-social"],"showNewestFirst":[4,"show-newest-first"],"theme":[1],"zoomAndScrollToSelected":[4,"zoom-and-scroll-to-selected"],"zoomToScale":[2,"zoom-to-scale"],"_deleteDialogOpen":[32],"_enableCreateFeatures":[32],"_hideFooter":[32],"_hideTable":[32],"_isMobile":[32],"_isPortraitMobile":[32],"_translations":[32],"_layer":[32],"_layoutMode":[32],"_mapInfo":[32],"_mapView":[32],"_panelOpen":[32],"_numSelected":[32],"_filterOpen":[32],"_showInformationHeader":[32],"_layerIds":[32],"_isLoading":[32]},[[8,"featureSelectionChange","featureSelectionChange"],[8,"popupClosed","popupClosed"],[8,"layoutChanged","layoutChanged"],[8,"mapChanged","mapChanged"],[8,"layerSelectionChange","layerSelectionChange"],[8,"showDelete","showDelete"],[8,"idsFound","idsFound"]],{"appLayout":["appLayoutWatchHandler"],"enableZoom":["enableZoomWatchHandler"],"locale":["localeWatchHandler"]}]]],["p-60b3b8b4",[[0,"crowdsource-reporter",{"center":[1],"commentButtonText":[1,"comment-button-text"],"commentSubmittedMessage":[1,"comment-submitted-message"],"defaultWebmap":[1,"default-webmap"],"description":[1],"enableAnonymousAccess":[4,"enable-anonymous-access"],"enableAnonymousComments":[4,"enable-anonymous-comments"],"enableComments":[4,"enable-comments"],"enableHome":[4,"enable-home"],"enableLogin":[4,"enable-login"],"enableNewReports":[4,"enable-new-reports"],"enableSearch":[4,"enable-search"],"enableZoom":[4,"enable-zoom"],"isMobile":[4,"is-mobile"],"layerExpressions":[16],"layerId":[1,"layer-id"],"level":[1],"locale":[1],"loginTitle":[1,"login-title"],"mapInfos":[16],"mapView":[16],"objectId":[1,"object-id"],"reportButtonText":[1,"report-button-text"],"reportingOptions":[16],"reportsHeader":[1,"reports-header"],"reportSubmittedMessage":[1,"report-submitted-message"],"searchConfiguration":[16],"showComments":[4,"show-comments"],"showUserImageInCommentsList":[4,"show-user-image-in-comments-list"],"showFeatureSymbol":[4,"show-feature-symbol"],"showMyReportsOnly":[4,"show-my-reports-only"],"theme":[1],"zoomToScale":[2,"zoom-to-scale"],"floorLevel":[1,"floor-level"],"_featureCreationFailedErrorMsg":[32],"_filterActive":[32],"_flowItems":[32],"_hasValidLayers":[32],"_mapInfo":[32],"_reportSubmitted":[32],"_selectedLayerName":[32],"_showSubmitCancelButton":[32],"_showLoadingIndicator":[32],"_sidePanelCollapsed":[32],"_translations":[32],"_updatedProgressBarStatus":[32],"_updatedSorting":[32],"_updatedSortOption":[32],"_commentSubmitted":[32],"_addingCommentFailed":[32],"updateLayerExpressionsT9n":[64]},null,{"isMobile":["isMobileWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"floorLevel":["floorLevelWatchHandler"],"showMyReportsOnly":["showMyReportsOnlyWatchHandler"],"layerExpressions":["layerExpressionsWatchHandler"],"showFeatureSymbol":["showFeatureSymbolWatchHandler"]}]]],["p-837e0939",[[0,"solution-configuration",{"authentication":[1040],"locale":[1],"serializedAuthentication":[1025,"serialized-authentication"],"solutionItemId":[1537,"solution-item-id"],"showLoading":[1540,"show-loading"],"_currentEditItemId":[32],"_organizationVariables":[32],"_solutionContentsComponent":[32],"_solutionIsLoaded":[32],"_solutionVariables":[32],"_templateHierarchy":[32],"_translations":[32],"_treeOpen":[32],"getSpatialReferenceInfo":[64],"saveSolution":[64],"unloadSolution":[64]},[[8,"solutionItemSelected","_solutionItemSelected"]],{"serializedAuthentication":["serializedAuthenticationWatchHandler"],"solutionItemId":["valueWatchHandler"],"locale":["localeWatchHandler"]}]]],["p-fe9b2c74",[[2,"instant-apps-interactive-legend",{"view":[16],"zoomTo":[4,"zoom-to"],"featureCount":[1028,"feature-count"],"filterMode":[16],"compact":[4],"handles":[32],"reactiveUtils":[32],"legendvm":[32],"widget":[32],"messages":[32]},null,{"handles":["init"],"reactiveUtils":["init"],"view":["init"],"compact":["compactHandler"]}]]],["p-dcabfe6a",[[0,"public-notification",{"addresseeLayerIds":[16],"bufferColor":[8,"buffer-color"],"bufferOutlineColor":[8,"buffer-outline-color"],"customLabelEnabled":[4,"custom-label-enabled"],"defaultBufferDistance":[2,"default-buffer-distance"],"defaultBufferUnit":[1,"default-buffer-unit"],"defaultExportTitle":[1,"default-export-title"],"defaultNumLabelsPerPage":[2,"default-num-labels-per-page"],"enableLayerFeatures":[4,"enable-layer-features"],"enableLayerFeaturesOnLoad":[4,"enable-layer-features-on-load"],"enableSearchDistance":[4,"enable-search-distance"],"enableSearchDistanceOnLoad":[4,"enable-search-distance-on-load"],"enableSketchTools":[4,"enable-sketch-tools"],"featureEffect":[16],"featureHighlightEnabled":[4,"feature-highlight-enabled"],"locale":[1],"mapView":[16],"noResultText":[1,"no-result-text"],"searchConfiguration":[1040],"selectionLayerIds":[16],"showRefineSelection":[4,"show-refine-selection"],"showSearchSettings":[4,"show-search-settings"],"sketchLineSymbol":[8,"sketch-line-symbol"],"sketchPointSymbol":[8,"sketch-point-symbol"],"sketchPolygonSymbol":[8,"sketch-polygon-symbol"],"_exportGraphics":[32],"_addMap":[32],"_addResults":[32],"_addTitle":[32],"_downloadActive":[32],"_exportType":[32],"_fetchingData":[32],"_isMobile":[32],"_numDuplicates":[32],"_pageType":[32],"_saveEnabled":[32],"_selectionSets":[32],"_translations":[32]},[[8,"selectionSetsChanged","selectionSetsChanged"]],{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"searchConfiguration":["watchSearchConfigurationHandler"],"sketchLineSymbol":["sketchLineSymbolWatchHandler"],"sketchPointSymbol":["sketchPointSymbolWatchHandler"],"sketchPolygonSymbol":["sketchPolygonSymbolWatchHandler"],"_pageType":["pageTypeWatchHandler"]}]]],["p-dc704bc6",[[1,"instant-apps-language-switcher",{"icon":[1],"portalItem":[16],"view":[16],"locales":[16],"defaultLocale":[1,"default-locale"],"selectedLanguage":[1,"selected-language"],"calciteDropdownOverlayPositioning":[1,"calcite-dropdown-overlay-positioning"],"messages":[32],"t9nData":[32],"refresh":[64]}]]],["p-d59fb1a7",[[1,"instant-apps-export",{"output":[1040],"beforeExport":[16],"popoverIcon":[1,"popover-icon"],"extraContent":[16],"extraContentLabel":[1,"extra-content-label"],"headerTitle":[1025,"header-title"],"logoImage":[1025,"logo-image"],"includeExtraContent":[1028,"include-extra-content"],"showExtraContentInImg":[4,"show-extra-content-in-img"],"includeLegend":[1028,"include-legend"],"includeMap":[1028,"include-map"],"includePopup":[1028,"include-popup"],"includeFileFormat":[1028,"include-file-format"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"scale":[1],"showHeaderTitle":[4,"show-header-title"],"showIncludeLegend":[4,"show-include-legend"],"showIncludeMap":[4,"show-include-map"],"showIncludePopup":[4,"show-include-popup"],"showScaleBar":[4,"show-scale-bar"],"view":[16],"maskBackground":[1,"mask-background"],"maskBorder":[1,"mask-border"],"baseClass":[32],"exportIsLoading":[32],"messages":[32],"selectedFileType":[32]},null,{"includeMap":["watchIncludeMap"],"view":["watchView"]}]]],["p-3f83917b",[[2,"instant-apps-interactive-legend-group-legend-element-caption",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[1028]}]]],["p-64a6162f",[[1,"instant-apps-landing-page",{"titleText":[1,"title-text"],"subtitleText":[1,"subtitle-text"],"descriptionText":[1,"description-text"],"entryButtonText":[1,"entry-button-text"],"iconImage":[1,"icon-image"],"iconImageScale":[1,"icon-image-scale"],"iconImageAltText":[1,"icon-image-alt-text"],"alignment":[1],"disableTransition":[4,"disable-transition"],"backgroundImageSrc":[1,"background-image-src"],"open":[1028],"entryButtonScale":[1,"entry-button-scale"],"fontFamily":[513,"font-family"],"enableSignIn":[4,"enable-sign-in"],"portal":[16],"oauthappid":[1]},null,{"open":["emitToggleEvent"]}]]],["p-d099573a",[[2,"instant-apps-measurement",{"view":[16],"areaUnit":[1,"area-unit"],"linearUnit":[1,"linear-unit"],"coordinateFormat":[1,"coordinate-format"],"activeToolType":[1,"active-tool-type"],"closable":[4],"messages":[32]}]]],["p-b636a8b4",[[1,"pci-calculator",{"showAddDeduct":[32]}]]],["p-40b36394",[[1,"solution-item-accordion",{"locale":[1],"templateInfos":[16],"_sortedTemplateInfos":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"],"templateInfos":["templateInfosWatchHandler"]}]]],["p-4868d196",[[1,"consent-manager",{"amazonAppId":[1,"amazon-app-id"],"amazonAppName":[1,"amazon-app-name"],"amazonUserPoolID":[1,"amazon-user-pool-i-d"],"amazonVersion":[1,"amazon-version"],"firstUseVar":[1,"first-use-var"],"locale":[1],"measurementIds":[16],"portal":[16],"_open":[32],"_translations":[32],"getInstance":[64]},null,{"locale":["localeWatchHandler"]}]]],["p-c9686e6c",[[1,"instant-apps-app-guide",{"header":[4],"data":[16],"messages":[32],"headerText":[32]},null,{"data":["watchPropHandler"],"headerText":["watchStateHandler"]}]]],["p-95d1c104",[[1,"instant-apps-control-panel",{"components":[16],"view":[16]}]]],["p-3f14b242",[[1,"instant-apps-create",{"popoverIcon":[1,"popover-icon"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"showHeader":[4,"show-header"],"content":[16],"options":[16],"portal":[16],"baseClass":[32],"messages":[32],"CreateOptionsLookup":[32]},null,{"content":["contentChanged"]}]]],["p-ffe1e3a3",[[1,"instant-apps-export-views",{"output":[1040],"beforeExport":[16],"popoverIcon":[1,"popover-icon"],"includeLegend":[1028,"include-legend"],"includeMap":[1028,"include-map"],"includePopup":[1028,"include-popup"],"includeHeader":[1028,"include-header"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"scale":[1],"showIncludeLegend":[4,"show-include-legend"],"showIncludeMap":[4,"show-include-map"],"showIncludePopup":[4,"show-include-popup"],"showIncludeHeader":[4,"show-include-header"],"showScaleBar":[4,"show-scale-bar"],"exportViews":[16],"baseClass":[32],"exportIsLoading":[32],"messages":[32]},null,{"includeMap":["watchIncludeMap"],"exportViews":["watchView"]}]]],["p-2a16aa29",[[1,"instant-apps-keyboard-shortcuts",{"view":[16],"messages":[32]}]]],["p-6369b974",[[0,"instant-apps-popover",{"popoverTitle":[513,"popover-title"],"subtitle":[513],"content":[513],"imgSrc":[513,"img-src"],"imgAlt":[513,"img-alt"],"mediaSrc":[513,"media-src"],"index":[514],"referenceElement":[513,"reference-element"],"parent":[16],"placement":[1],"refId":[1,"ref-id"],"pagination":[516],"disableAction":[516,"disable-action"],"popoverAction":[16],"messageOverrides":[16],"messages":[32]}]]],["p-552fb1c0",[[4,"instant-apps-popovers",{"inTour":[1540,"in-tour"],"currentId":[1537,"current-id"],"instantAppsPopovers":[16],"beforeOpen":[16],"open":[64],"close":[64],"beginTour":[64],"endTour":[64]}]]],["p-be16bc80",[[1,"instant-apps-scoreboard",{"view":[16],"items":[16],"position":[1],"mode":[1],"itemLimit":[2,"item-limit"],"autoDockEnabled":[4,"auto-dock-enabled"],"geometry":[1040],"queryType":[1,"query-type"],"state":[32],"messages":[32],"itemIndex":[32],"layers":[32],"layerViews":[32],"isMobile":[32]},null,{"items":["generateUIDs","storeLayers"],"layers":["storeLayerViews"],"geometry":["calculateScoreboardItemValuesFromGeometry"],"layerViews":["calculateScoreboardItemValues"]}]]],["p-c2e57b81",[[1,"instant-apps-splash",{"localStorageKey":[1,"local-storage-key"],"titleText":[1,"title-text"],"content":[1025],"primaryButtonText":[1,"primary-button-text"],"open":[1028],"closeButtonDisabled":[4,"close-button-disabled"],"outsideCloseDisabled":[4,"outside-close-disabled"],"secondaryButton":[4,"secondary-button"],"secondaryButtonText":[1,"secondary-button-text"],"secondaryButtonIcon":[1,"secondary-button-icon"],"secondaryButtonCallback":[16],"messages":[32]},null,{"content":["sanitizeContent"]}]]],["p-bc8d8128",[[0,"instant-apps-time-filter",{"timeInfoConfigItems":[16],"filterMode":[16],"view":[16],"timeSliderConfig":[16],"autoPlay":[4,"auto-play"],"timeSliderRef":[32]},null,{"timeInfoConfigItems":["updateTimeInfoConfigItems"],"filterMode":["updateFilterMode"],"timeSliderConfig":["updateTimeSliderConfig"],"autoPlay":["updateAutoPlay"]}]]],["p-0326f1f4",[[0,"spatial-ref",{"defaultWkid":[1538,"default-wkid"],"disabled":[1540],"locale":[1],"value":[1537],"_cachedValue":[32],"_spatialRef":[32],"_srSearchText":[32],"_translations":[32],"createSpatialRefDisplay":[64],"getSpatialRef":[64],"wkidToDisplay":[64]},null,{"locale":["localeWatchHandler"],"value":["valueChanged"]}]]],["p-38814554",[[0,"store-manager",{"value":[1537],"templates":[1040],"authentication":[1040],"getStoreInfo":[64]}]]],["p-980d9473",[[2,"instant-apps-interactive-legend-classic",{"legendvm":[16],"zoomTo":[4,"zoom-to"],"featureCount":[4,"feature-count"],"filterMode":[16],"messages":[8],"isLoading":[32],"intLegendId":[32]},null,{"filterMode":["handleFilterModeChange"]}]]],["p-e5cb329f",[[6,"instant-apps-language-translator",{"portalItem":[16],"appSettings":[16],"locales":[16],"open":[1028],"userLocaleInputOnChangeCallback":[16],"translatedLocaleInputOnChangeCallback":[16],"saving":[32],"messages":[32],"isCollapse":[32],"getTranslationData":[64],"setTranslationData":[64],"getPortalItemResource":[64],"batchWriteToPortalItemResource":[64]},[[8,"translatorItemDataUpdated","handleT9nItemUpdate"]],{"locales":["handleLocaleChange"],"appSettings":["handleAppSettings"]}]]],["p-fabab119",[[1,"deduct-calculator"]]],["p-d324196d",[[1,"instant-apps-header",{"titleText":[1,"title-text"],"titleTextLink":[1,"title-text-link"],"backgroundColor":[1,"background-color"],"textColor":[1,"text-color"],"logoImage":[1,"logo-image"],"logoScale":[1537,"logo-scale"],"logoImageAltText":[1,"logo-image-alt-text"],"logoLink":[1,"logo-link"],"infoButton":[1540,"info-button"],"infoIsOpen":[516,"info-is-open"],"infoTitleText":[1,"info-title-text"],"customHeaderHtml":[1025,"custom-header-html"],"headerAlignment":[1025,"header-alignment"],"customHeaderCss":[1025,"custom-header-css"],"fontFamily":[513,"font-family"],"mobileWidthBreakpoint":[2,"mobile-width-breakpoint"],"dir":[32],"initialScale":[32],"toggleInfo":[64]},null,{"customHeaderHtml":["sanitizeCustomHeaderHtml"]}]]],["p-c50ff9f1",[[2,"instant-apps-measurement-tool",{"view":[16],"measureConfiguration":[16],"activeTool":[1,"active-tool"]},null,{"activeTool":["_updateToolType"]}]]],["p-37ae171f",[[1,"instant-apps-sign-in",{"type":[1],"portal":[16],"oauthappid":[1],"openInPopup":[4,"open-in-popup"],"landingPage":[4,"landing-page"],"titleText":[1,"title-text"],"subtitleText":[1,"subtitle-text"],"descriptionText":[1,"description-text"],"showIndicator":[4,"show-indicator"],"closeLandingPage":[16],"signInDropdownItems":[16],"isSignedIn":[32],"user":[32],"ready":[32],"messages":[32]},null,{"portal":["watchPortal"],"oauthappid":["watchOauthappid"]}]]],["p-f95cc485",[[0,"feature-list",{"selectedLayerId":[1,"selected-layer-id"],"mapView":[16],"noFeaturesFoundMsg":[1,"no-features-found-msg"],"pageSize":[2,"page-size"],"highlightOnMap":[4,"highlight-on-map"],"highlightOnHover":[4,"highlight-on-hover"],"locale":[1],"sortingInfo":[16],"whereClause":[1,"where-clause"],"textSize":[1,"text-size"],"showInitialLoading":[4,"show-initial-loading"],"showErrorWhenNoFeatures":[4,"show-error-when-no-features"],"showUserImageInList":[4,"show-user-image-in-list"],"showFeatureSymbol":[4,"show-feature-symbol"],"applyLayerViewFilter":[4,"apply-layer-view-filter"],"reportingOptions":[16],"_featureItems":[32],"_featuresCount":[32],"_isLoading":[32],"_translations":[32],"refresh":[64]},null,{"locale":["localeWatchHandler"],"selectedLayerId":["selectedLayerWatchHandler"],"sortingInfo":["sortingInfoWatchHandler"],"whereClause":["whereClauseHandler"]}]]],["p-f1b5f09a",[[1,"delete-dialog",{"ids":[16],"layer":[16],"locale":[1],"open":[4],"_isDeleting":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"]}]]],["p-7d4a72fa",[[0,"map-layer-picker",{"appearance":[1],"defaultLayerId":[1,"default-layer-id"],"display":[1],"enabledLayerIds":[16],"enabledTableIds":[16],"height":[2],"isMobile":[4,"is-mobile"],"locale":[1],"mapView":[16],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"placeholderIcon":[1,"placeholder-icon"],"selectedIds":[1040],"scale":[1],"showTables":[4,"show-tables"],"showTablesDisabled":[4,"show-tables-disabled"],"showSingleLayerAsLabel":[4,"show-single-layer-as-label"],"type":[1],"_hasMultipleLayers":[32],"_hasValidLayers":[32],"_isDropdownOpen":[32],"ids":[32],"selectedName":[32],"_translations":[32],"setLayerById":[64],"setLayerByIds":[64],"updateLayer":[64]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"]}]]],["p-8585c128",[[1,"instant-apps-filter-list",{"layerExpressions":[1040],"autoUpdateUrl":[4,"auto-update-url"],"closeBtn":[4,"close-btn"],"closeBtnOnClick":[16],"comboboxOverlayPositioning":[1,"combobox-overlay-positioning"],"closeBtnText":[1,"close-btn-text"],"openFilters":[4,"open-filters"],"extentSelector":[4,"extent-selector"],"extentSelectorConfig":[16],"urlParams":[1040],"filterCount":[1026,"filter-count"],"view":[16],"zoomBtn":[4,"zoom-btn"],"resetBtn":[4,"reset-btn"],"resetFiltersOnDisconnect":[4,"reset-filters-on-disconnect"],"loading":[32],"filterLayerExpressions":[32],"messages":[32],"baseClass":[32],"initDefExpressions":[32],"initMapImageExpressions":[32],"initPointCloudFilters":[32],"getFilterInitState":[64],"forceReset":[64],"updateInitDefExpressions":[64],"getCurrentLayerExpressions":[64],"handleUpdatingT9nData":[64]},null,{"view":["watchViewHandler"],"layerExpressions":["watchLayerExpressions"]}],[1,"instant-apps-social-share",{"mode":[513],"shareUrl":[1025,"share-url"],"autoUpdateShareUrl":[1028,"auto-update-share-url"],"shareText":[513,"share-text"],"embed":[516],"shareButtonColor":[513,"share-button-color"],"shareButtonType":[513,"share-button-type"],"shareButtonScale":[513,"share-button-scale"],"iframeInnerText":[513,"iframe-inner-text"],"popoverButtonIconScale":[513,"popover-button-icon-scale"],"view":[16],"displayTipText":[516,"display-tip-text"],"shortenShareUrl":[516,"shorten-share-url"],"socialMedia":[516,"social-media"],"shareIconsLayout":[513,"share-icons-layout"],"scale":[513],"successMessage":[513,"success-message"],"defaultUrlParams":[16],"inlineSuccessPopoverPlacement":[513,"inline-success-popover-placement"],"popoverPositioning":[513,"popover-positioning"],"removePopoverOffset":[516,"remove-popover-offset"],"messages":[32],"opened":[32],"copied":[32],"inlineCopyLinkOpened":[32],"inlineCopyEmbedOpened":[32],"embedWidth":[32],"embedHeight":[32]}]]],["p-d6c60b8f",[[0,"map-card",{"appLayout":[1,"app-layout"],"appProxies":[8,"app-proxies"],"defaultWebmapId":[1,"default-webmap-id"],"defaultLayerId":[1,"default-layer-id"],"enableHome":[4,"enable-home"],"enableLegend":[4,"enable-legend"],"enableFloorFilter":[4,"enable-floor-filter"],"enableFullscreen":[4,"enable-fullscreen"],"enableShare":[4,"enable-share"],"enableSingleExpand":[4,"enable-single-expand"],"enableSearch":[4,"enable-search"],"enableBasemap":[4,"enable-basemap"],"basemapConfig":[16],"hidden":[4],"homeZoomIndex":[2,"home-zoom-index"],"homeZoomPosition":[1,"home-zoom-position"],"homeZoomToolsSize":[1,"home-zoom-tools-size"],"locale":[1],"mapInfos":[16],"mapWidgetsIndex":[2,"map-widgets-index"],"mapWidgetsPosition":[1,"map-widgets-position"],"mapWidgetsSize":[1,"map-widgets-size"],"mapView":[16],"stackTools":[4,"stack-tools"],"theme":[1],"toolOrder":[16],"isMapLayout":[4,"is-map-layout"],"shareIncludeEmbed":[4,"share-include-embed"],"shareIncludeSocial":[4,"share-include-social"],"selectedFeaturesIds":[16],"selectedLayer":[16],"zoomToScale":[2,"zoom-to-scale"],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"isMobile":[4,"is-mobile"],"mapInfo":[16],"_translations":[32],"_searchConfiguration":[32],"_webMapInfo":[32],"_showHideOpen":[32],"_toolInfos":[32],"_controlsThatFit":[32],"resetFilter":[64],"updateFilterState":[64],"updateLayer":[64]},[[8,"mapInfoChange","mapInfoChange"],[8,"noLayersFound","noLayersFound"],[8,"layerSelectionChange","layerSelectionChange"]],{"appLayout":["appLayoutWatchHandler"],"enableHome":["enableHomeWatchHandler"],"enableShare":["enableShareWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"selectedLayer":["selectedLayerWatchHandler"],"selectedFeaturesIds":["selectedFeaturesIdsWatchHandler"],"_controlsThatFit":["_controlsThatFitWatchHandler"]}],[0,"card-manager",{"customInfoText":[1,"custom-info-text"],"enableEditGeometry":[4,"enable-edit-geometry"],"isMobile":[4,"is-mobile"],"layer":[1040],"locale":[1],"mapView":[16],"zoomAndScrollToSelected":[4,"zoom-and-scroll-to-selected"],"selectedFeaturesIds":[16],"enableCreateFeatures":[4,"enable-create-features"],"selectingFeatureFromMap":[4,"selecting-feature-from-map"],"_cardLoading":[32],"_graphics":[32],"_showCreateFeatureComponent":[32],"_showSubmitBtn":[32],"_translations":[32]},[[8,"featureSelectionChange","featureSelectionChange"],[8,"layerSelectionChange","layerSelectionChange"]],{"locale":["localeWatchHandler"]}],[0,"layer-table",{"appLayout":[1,"app-layout"],"defaultGlobalId":[16],"defaultLayerId":[1,"default-layer-id"],"defaultOid":[16],"enableAutoRefresh":[4,"enable-auto-refresh"],"enableColumnReorder":[4,"enable-column-reorder"],"enableCSV":[4,"enable-c-s-v"],"enableInlineEdit":[4,"enable-inline-edit"],"enableShare":[4,"enable-share"],"honorMapFieldSettings":[4,"honor-map-field-settings"],"isMobile":[4,"is-mobile"],"locale":[1],"mapHidden":[4,"map-hidden"],"mapInfo":[16],"mapView":[16],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"selectedIds":[16],"shareIncludeEmbed":[4,"share-include-embed"],"shareIncludeSocial":[4,"share-include-social"],"showNewestFirst":[4,"show-newest-first"],"zoomAndScrollToSelected":[4,"zoom-and-scroll-to-selected"],"zoomToScale":[2,"zoom-to-scale"],"createFilterModal":[4,"create-filter-modal"],"_allIds":[32],"_controlsThatFit":[32],"_csvExporting":[32],"_fetchingData":[32],"_filterActive":[32],"_filterOpen":[32],"_layer":[32],"_selectAllActive":[32],"_showHideOpen":[32],"_showOnlySelected":[32],"_toolInfos":[32],"_translations":[32],"_fullTextSearchInfo":[32],"_searchPlaceHolder":[32],"_size":[32],"_queryingData":[32],"closeFilter":[64],"filterReset":[64],"filterUpdate":[64],"validateActiveEdits":[64],"refresh":[64]},[[10,"beforeMapInfoChange","beforeMapInfoChange"],[8,"editorInitialized","editorInitialized"],[8,"selectionChanged","selectionChanged"],[8,"beforeLayerSelectionChange","beforeLayerSelectionChange"],[8,"layerSelectionChange","layerSelectionChange"],[8,"editsComplete","editsComplete"],[8,"facilityChanged","facilityChanged"],[8,"levelChanged","levelChanged"],[8,"siteChanged","siteChanged"],[8,"noLayersFound","noLayersFound"],[8,"clearSelection","clearSelection"]],{"appLayout":["appLayoutWatchHandler"],"defaultOid":["defaultOidWatchHandler"],"defaultGlobalId":["defaultGlobalIdWatchHandler"],"enableCSV":["enableCSVWatchHandler"],"enableInlineEdit":["enableInlineEditWatchHandler"],"enableShare":["enableShareWatchHandler"],"_controlsThatFit":["_controlsThatFitWatchHandler"],"locale":["localeWatchHandler"],"mapHidden":["mapHiddenWatchHandler"],"isMobile":["isMobileWatchHandler"],"mapInfo":["mapInfoWatchHandler"],"mapView":["mapViewWatchHandler"],"_layer":["_layerWatchHandler"],"selectedIds":["selectedIdsWatchHandler"]}]]],["p-698656b8",[[0,"solution-item",{"authentication":[1040],"itemId":[1537,"item-id"],"locale":[1],"solutionVariables":[1537,"solution-variables"],"organizationVariables":[1537,"organization-variables"],"itemType":[32],"_translations":[32]},null,{"itemId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[0,"solution-contents",{"selectedItemId":[1537,"selected-item-id"],"templateHierarchy":[1040]},null,{"templateHierarchy":["valueWatchHandler"]}],[0,"solution-spatial-ref",{"enabled":[1540],"enableDefault":[1540,"enable-default"],"featureServices":[1040],"locale":[1025],"_translations":[32],"_testAccess":[64]},[[8,"solutionStoreHasChanges","solutionStoreHasChanges"]],{"enabled":["enabledChanged"],"enableDefault":["enableDefaultChanged"],"locale":["localeWatchHandler"]}]]],["p-b7421036",[[0,"feature-details",{"mapView":[16],"graphics":[16],"reportingOptions":[16],"layerItemsHash":[16],"locale":[1],"showUserImageInCommentsList":[4,"show-user-image-in-comments-list"],"_likeFieldAvailable":[32],"_likeCount":[32],"_disLikeCount":[32],"_dislikeFieldAvailable":[32],"_commentsAvailable":[32],"_isLikeBtnClicked":[32],"_isDislikeBtnClicked":[32],"_relatedFeaturesOIDs":[32],"_updating":[32],"refresh":[64],"back":[64],"next":[64],"toggleListView":[64]},null,{"graphics":["graphicsWatchHandler"]}],[0,"create-related-feature",{"locale":[1],"mapView":[16],"table":[16],"selectedFeature":[16],"customizeSubmit":[4,"customize-submit"],"showGuidingMsg":[4,"show-guiding-msg"],"_editorLoading":[32],"_translations":[32],"submit":[64]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"_editorLoading":["_editorLoadingWatchHandler"]}],[0,"layer-list",{"mapView":[16],"layers":[16],"locale":[1],"showFeatureCount":[4,"show-feature-count"],"showNextIcon":[4,"show-next-icon"],"applyLayerViewFilter":[4,"apply-layer-view-filter"],"_noLayersToDisplay":[32],"_mapLayerIds":[32],"_isLoading":[32],"_translations":[32],"refresh":[64]},null,{"locale":["localeWatchHandler"]}]]],["p-8e21a871",[[1,"buffer-tools",{"appearance":[1025],"distance":[1026],"geometries":[1040],"locale":[1],"max":[1026],"min":[1026],"sliderTicks":[1026,"slider-ticks"],"unionResults":[1028,"union-results"],"unit":[1025],"disabled":[4],"_translations":[32],"getTranslatedUnit":[64]},null,{"geometries":["geometriesWatchHandler"],"disabled":["disabledWatchHandler"],"locale":["localeWatchHandler"]}],[0,"map-draw-tools",{"active":[4],"drawMode":[1,"draw-mode"],"editGraphicsEnabled":[4,"edit-graphics-enabled"],"graphics":[1040],"locale":[1],"mapView":[1040],"pointSymbol":[1040],"polylineSymbol":[1040],"polygonSymbol":[1040],"redoEnabled":[4,"redo-enabled"],"undoEnabled":[4,"undo-enabled"],"_translations":[32],"_selectionMode":[32],"clear":[64],"updateGraphics":[64]},null,{"graphics":["graphicsWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"]}]]],["p-79d66109",[[0,"map-select-tools",{"bufferColor":[8,"buffer-color"],"bufferOutlineColor":[8,"buffer-outline-color"],"customLabelEnabled":[4,"custom-label-enabled"],"enabledLayerIds":[16],"enableLayerFeatures":[4,"enable-layer-features"],"enableLayerFeaturesOnLoad":[4,"enable-layer-features-on-load"],"enableSearchDistance":[4,"enable-search-distance"],"enableSearchDistanceOnLoad":[4,"enable-search-distance-on-load"],"enableSketchTools":[4,"enable-sketch-tools"],"defaultBufferDistance":[2,"default-buffer-distance"],"defaultBufferUnit":[1,"default-buffer-unit"],"geometries":[16],"isUpdate":[4,"is-update"],"layerViews":[16],"locale":[1],"mapView":[16],"noResultText":[1,"no-result-text"],"searchConfiguration":[1040],"selectionSet":[16],"selectionLayerIds":[16],"selectLayerView":[16],"sketchLineSymbol":[16],"sketchPointSymbol":[16],"sketchPolygonSymbol":[16],"searchDistanceEnabled":[4,"search-distance-enabled"],"useLayerFeaturesEnabled":[4,"use-layer-features-enabled"],"_numSelected":[32],"_searchTerm":[32],"_selectionLoading":[32],"_translations":[32],"clearSelection":[64],"getSelection":[64]},[[8,"searchConfigurationChange","searchConfigurationChangeChanged"],[8,"distanceChanged","distanceChanged"],[8,"unitChanged","unitChanged"]],{"geometries":["watchGeometriesHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"searchConfiguration":["watchSearchConfigurationHandler"]}],[0,"refine-selection",{"addresseeLayer":[16],"enabledLayerIds":[16],"locale":[1],"mapView":[16],"selectionSets":[1040],"sketchLineSymbol":[16],"sketchPointSymbol":[16],"sketchPolygonSymbol":[16],"_translations":[32],"_selectionMode":[32],"_refineLayer":[32]},null,{"locale":["localeWatchHandler"]}],[1,"pdf-download",{"defaultNumLabelsPerPage":[2,"default-num-labels-per-page"],"disabled":[4],"locale":[1],"_translations":[32],"downloadCSV":[64],"downloadPDF":[64]},null,{"locale":["localeWatchHandler"]}]]],["p-ea09b078",[[2,"instant-apps-language-translator-item",{"fieldName":[1,"field-name"],"translatedLanguageLabels":[16],"setting":[16],"userLocaleInputOnChangeCallback":[16],"translatedLocaleInputOnChangeCallback":[16]}],[2,"instant-apps-language-translator-search",{"t9nPlaceholder":[1,"t-9n-placeholder"],"results":[32]}],[0,"instant-apps-ckeditor-wrapper",{"value":[1025],"editorInstance":[1032,"editor-instance"],"config":[16]},null,{"value":["updateValue"]}]]],["p-5e4e0f84",[[0,"solution-item-icon",{"isPortal":[4,"is-portal"],"type":[1],"typeKeywords":[16]}]]],["p-d1551601",[[2,"instant-apps-interactive-legend-layer-element-caption",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[1028]}],[2,"instant-apps-interactive-legend-count",{"showTotal":[4,"show-total"],"legendvm":[16],"activeLayerInfo":[16],"categoryId":[1,"category-id"],"infoIndex":[2,"info-index"],"messages":[8],"selected":[4],"legendElement":[16]}]]],["p-28858c2f",[[6,"instant-apps-interactive-legend-group-legend-element",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[32]},[[8,"layerCaptionElementExpandUpdated","layerCaptionElementExpandUpdatedEmitted"]]],[6,"instant-apps-interactive-legend-layer-element",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[32]},[[8,"layerCaptionElementExpandUpdated","layerCaptionElementExpandUpdatedEmitted"]]],[6,"instant-apps-interactive-legend-legend-element",{"activeLayerInfo":[16],"isSizeRamp":[4,"is-size-ramp"],"isChild":[4,"is-child"],"isColorRamp":[4,"is-color-ramp"],"isRelationshipRamp":[4,"is-relationship-ramp"],"isInteractive":[4,"is-interactive"],"zoomTo":[4,"zoom-to"],"legendElement":[16],"titleText":[1,"title-text"],"legendvm":[16],"legendElementIndex":[2,"legend-element-index"],"messages":[8],"expanded":[32]},[[8,"legendLayerExpandUpdated","legendLayerExpandUpdatedEmitted"]]],[2,"instant-apps-interactive-legend-relationship",{"filterMode":[16],"activeLayerInfo":[16],"legendElement":[16],"messages":[8]},[[8,"showAllSelected","showAllSelectedEmitted"]]],[2,"instant-apps-interactive-legend-legend-element-caption",{"legendvm":[16],"activeLayerInfo":[16],"layer":[16],"titleText":[1,"title-text"],"legendElementIndex":[2,"legend-element-index"],"zoomTo":[4,"zoom-to"],"isInteractive":[4,"is-interactive"],"legendElement":[16],"expanded":[1028],"messages":[8]}]]],["p-ed1ecb5b",[[0,"solution-template-data",{"instanceid":[1537],"itemId":[1537,"item-id"],"locale":[1],"organizationVariables":[1537,"organization-variables"],"solutionVariables":[1537,"solution-variables"],"varsOpen":[1540,"vars-open"],"_translations":[32],"value":[32]},null,{"itemId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[1,"solution-item-sharing",{"groupId":[1537,"group-id"],"locale":[1],"_translations":[32],"sharing":[32],"getShareInfo":[64]},null,{"groupId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[0,"solution-item-details",{"itemId":[1537,"item-id"],"locale":[1],"itemDetails":[32],"itemEdit":[32],"_translations":[32],"thumbnail":[32],"thumbnailContainer":[32]},[[0,"calciteInputInput","inputReceivedHandler"]],{"locale":["localeWatchHandler"]}],[1,"solution-resource-item",{"authentication":[1040],"itemId":[1537,"item-id"],"locale":[1],"resourceFilePaths":[32],"resources":[32],"_translations":[32]},null,{"itemId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[1,"solution-variables",{"value":[1537],"locale":[1],"_solutionVariables":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"],"value":["valueWatchHandler"]}],[0,"json-editor",{"hasChanges":[1540,"has-changes"],"hasErrors":[1540,"has-errors"],"instanceid":[1544],"locale":[1],"value":[1544],"getEditorContents":[64],"prepareForDeletion":[64],"replaceCurrentSelection":[64],"reset":[64]},null,{"locale":["localeWatchHandler"]}],[1,"solution-organization-variables",{"locale":[1],"value":[1537],"_organizationVariables":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"],"value":["valueWatchHandler"]}]]],["p-7271fa31",[[0,"create-feature",{"mapView":[16],"selectedLayerId":[1,"selected-layer-id"],"customizeSubmit":[4,"customize-submit"],"locale":[1],"searchConfiguration":[16],"isMobile":[4,"is-mobile"],"floorLevel":[1,"floor-level"],"formElements":[8,"form-elements"],"enableSearch":[4,"enable-search"],"showGuidingMsg":[4,"show-guiding-msg"],"showGuidingMsgWhileDrawing":[4,"show-guiding-msg-while-drawing"],"_editorLoading":[32],"_currentPage":[32],"_translations":[32],"submit":[64],"refresh":[64]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"isMobile":["isMobileHandler"],"_editorLoading":["_editorLoadingWatchHandler"]}],[0,"info-card",{"enableEditGeometry":[4,"enable-edit-geometry"],"graphics":[16],"isLoading":[4,"is-loading"],"isMobile":[4,"is-mobile"],"mapView":[16],"allowEditing":[4,"allow-editing"],"highlightEnabled":[4,"highlight-enabled"],"locale":[1],"paginationEnabled":[4,"pagination-enabled"],"position":[1],"_alertOpen":[32],"_count":[32],"_editRecordOpen":[32],"_mobileTitle":[32],"_showListView":[32],"_translations":[32],"getSelectedFeature":[64],"refresh":[64],"back":[64],"next":[64],"toggleListView":[64],"updateCurrentGraphic":[64]},[[8,"closeEdit","closeEdit"],[8,"layerSelectionChange","layerSelectionChange"],[8,"refreshGraphics","refreshGraphics"]],{"graphics":["graphicsWatchHandler"],"isMobile":["isMobileWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"]}],[1,"delete-button",{"deleteDialog":[8,"delete-dialog"],"buttonType":[1,"button-type"],"disabled":[4],"icon":[1],"ids":[16],"layer":[16],"locale":[1],"_confirmDelete":[32],"_deleteEndabled":[32],"_supportsDelete":[32],"_translations":[32]},null,{"ids":["idsWatchHandler"],"layer":["layerWatchHandler"],"locale":["localeWatchHandler"]}],[0,"edit-card",{"enableEditGeometry":[4,"enable-edit-geometry"],"graphics":[1040],"locale":[1],"mapView":[16],"open":[1028],"graphicIndex":[2,"graphic-index"],"_editorLoading":[32],"_translations":[32]},[[8,"featureSelectionChange","featureSelectionChange"]],{"graphics":["graphicsWatchHandler"],"locale":["localeWatchHandler"],"open":["openWatchHandler"]}]]],["p-832707fd",[[1,"map-tools",{"basemapConfig":[16],"enableLegend":[4,"enable-legend"],"enableFloorFilter":[4,"enable-floor-filter"],"enableFullscreen":[4,"enable-fullscreen"],"enableSearch":[4,"enable-search"],"enableBasemap":[4,"enable-basemap"],"enableHome":[4,"enable-home"],"enableSingleExpand":[4,"enable-single-expand"],"homeZoomToolsSize":[1,"home-zoom-tools-size"],"layout":[1],"locale":[1],"mapView":[16],"mapWidgetsSize":[1,"map-widgets-size"],"position":[1],"searchConfiguration":[16],"stackTools":[4,"stack-tools"],"toolOrder":[16],"_hasFloorInfo":[32],"_translations":[32],"_showTools":[32],"_showBasemapWidget":[32],"_showFloorFilter":[32],"_showFullscreen":[32],"_showLegendWidget":[32],"_showSearchWidget":[32]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"_showBasemapWidget":["_showBasemapWidgetWatchHandler"],"_showFloorFilter":["_showFloorFilterWatchHandler"],"_showFullscreen":["_showFullscreenWatchHandler"],"_showLegendWidget":["_showLegendWidgetWatchHandler"],"_showSearchWidget":["_showSearchWidgetWatchHandler"]}],[1,"map-picker",{"locale":[1],"mapInfos":[16],"isMapLayout":[4,"is-map-layout"],"_mapListExpanded":[32],"_translations":[32],"_webMapInfo":[32],"setMapByID":[64],"close":[64],"toggle":[64]},null,{"_webMapInfo":["_webMapInfoWatchHandler"],"locale":["localeWatchHandler"],"mapInfos":["mapInfosWatchHandler"]}],[1,"basemap-gallery",{"mapView":[16],"basemapConfig":[16],"basemapWidget":[16]},null,{"basemapConfig":["basemapConfigWatchHandler"],"mapView":["mapViewWatchHandler"]}],[1,"floor-filter",{"enabled":[4],"floorFilterWidget":[16],"mapView":[16]},null,{"mapView":["mapViewWatchHandler"],"enabled":["enabledWatchHandler"]}],[1,"map-fullscreen",{"mapView":[16],"fullscreenWidget":[16]},null,{"mapView":["mapViewWatchHandler"]}],[1,"map-legend",{"mapView":[16],"legendWidget":[16]},null,{"mapView":["mapViewWatchHandler"]}],[1,"map-search",{"mapView":[16],"popupEnabled":[4,"popup-enabled"],"resultGraphicEnabled":[4,"result-graphic-enabled"],"searchConfiguration":[16],"searchTerm":[1,"search-term"],"searchWidget":[16]},null,{"searchConfiguration":["watchSearchConfigurationHandler"],"mapView":["mapViewWatchHandler"]}]]]]'),e))));
|
6
|
+
import{p as e,b as a}from"./p-e996c38f.js";export{s as setNonce}from"./p-e996c38f.js";import{g as t}from"./p-c545b14f.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await t(),a(JSON.parse('[["p-30ea587b",[[0,"crowdsource-manager",{"appLayout":[1025,"app-layout"],"appProxies":[8,"app-proxies"],"basemapConfig":[16],"coverPageEnabled":[4,"cover-page-enabled"],"customInfoText":[1,"custom-info-text"],"defaultAppLayout":[1,"default-app-layout"],"defaultCenter":[1,"default-center"],"defaultGlobalId":[1,"default-global-id"],"defaultLayer":[1,"default-layer"],"defaultLevel":[1,"default-level"],"defaultOid":[1,"default-oid"],"defaultWebmap":[1,"default-webmap"],"honorMapFieldSettings":[4,"honor-map-field-settings"],"introductionWindowEnabled":[4,"introduction-window-enabled"],"enableAutoRefresh":[4,"enable-auto-refresh"],"enableBasemap":[4,"enable-basemap"],"enableColumnReorder":[4,"enable-column-reorder"],"enableCSV":[4,"enable-c-s-v"],"enableFloorFilter":[4,"enable-floor-filter"],"enableFullscreen":[4,"enable-fullscreen"],"enableHome":[4,"enable-home"],"enableLegend":[4,"enable-legend"],"enableSearch":[4,"enable-search"],"enableShare":[4,"enable-share"],"enableZoom":[4,"enable-zoom"],"locale":[1],"mapInfos":[16],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"popupHeaderColor":[1,"popup-header-color"],"popupHeaderHoverColor":[1,"popup-header-hover-color"],"popupHeaderHoverTextColor":[1,"popup-header-hover-text-color"],"popupHeaderTextColor":[1,"popup-header-text-color"],"searchConfiguration":[16],"shareIncludeEmbed":[4,"share-include-embed"],"shareIncludeSocial":[4,"share-include-social"],"showNewestFirst":[4,"show-newest-first"],"theme":[1],"zoomAndScrollToSelected":[4,"zoom-and-scroll-to-selected"],"zoomToScale":[2,"zoom-to-scale"],"_deleteDialogOpen":[32],"_enableCreateFeatures":[32],"_hideFooter":[32],"_hideTable":[32],"_isMobile":[32],"_isPortraitMobile":[32],"_translations":[32],"_layer":[32],"_layoutMode":[32],"_mapInfo":[32],"_mapView":[32],"_panelOpen":[32],"_numSelected":[32],"_filterOpen":[32],"_showInformationHeader":[32],"_layerIds":[32],"_isLoading":[32]},[[8,"featureSelectionChange","featureSelectionChange"],[8,"popupClosed","popupClosed"],[8,"layoutChanged","layoutChanged"],[8,"mapChanged","mapChanged"],[8,"layerSelectionChange","layerSelectionChange"],[8,"showDelete","showDelete"],[8,"idsFound","idsFound"]],{"appLayout":["appLayoutWatchHandler"],"enableZoom":["enableZoomWatchHandler"],"locale":["localeWatchHandler"]}]]],["p-37fe59a0",[[0,"crowdsource-reporter",{"center":[1],"commentButtonText":[1,"comment-button-text"],"commentSubmittedMessage":[1,"comment-submitted-message"],"defaultWebmap":[1,"default-webmap"],"description":[1],"enableAnonymousAccess":[4,"enable-anonymous-access"],"enableAnonymousComments":[4,"enable-anonymous-comments"],"enableComments":[4,"enable-comments"],"enableHome":[4,"enable-home"],"enableLogin":[4,"enable-login"],"enableNewReports":[4,"enable-new-reports"],"enableSearch":[4,"enable-search"],"enableZoom":[4,"enable-zoom"],"isMobile":[4,"is-mobile"],"layerExpressions":[16],"layerId":[1,"layer-id"],"level":[1],"locale":[1],"loginTitle":[1,"login-title"],"mapInfos":[16],"mapView":[16],"objectId":[1,"object-id"],"reportButtonText":[1,"report-button-text"],"reportingOptions":[16],"reportsHeader":[1,"reports-header"],"reportSubmittedMessage":[1,"report-submitted-message"],"searchConfiguration":[16],"showComments":[4,"show-comments"],"showUserImageInCommentsList":[4,"show-user-image-in-comments-list"],"showFeatureSymbol":[4,"show-feature-symbol"],"showMyReportsOnly":[4,"show-my-reports-only"],"theme":[1],"zoomToScale":[2,"zoom-to-scale"],"floorLevel":[1,"floor-level"],"_featureCreationFailedErrorMsg":[32],"_filterActive":[32],"_flowItems":[32],"_hasValidLayers":[32],"_mapInfo":[32],"_reportSubmitted":[32],"_selectedLayerName":[32],"_showSubmitCancelButton":[32],"_showLoadingIndicator":[32],"_sidePanelCollapsed":[32],"_translations":[32],"_updatedProgressBarStatus":[32],"_updatedSorting":[32],"_updatedSortOption":[32],"_commentSubmitted":[32],"_addingCommentFailed":[32],"updateLayerExpressionsT9n":[64]},null,{"isMobile":["isMobileWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"floorLevel":["floorLevelWatchHandler"],"showMyReportsOnly":["showMyReportsOnlyWatchHandler"],"layerExpressions":["layerExpressionsWatchHandler"],"showFeatureSymbol":["showFeatureSymbolWatchHandler"]}]]],["p-b536e583",[[0,"solution-configuration",{"authentication":[1040],"locale":[1],"serializedAuthentication":[1025,"serialized-authentication"],"solutionItemId":[1537,"solution-item-id"],"showLoading":[1540,"show-loading"],"_currentEditItemId":[32],"_organizationVariables":[32],"_solutionContentsComponent":[32],"_solutionIsLoaded":[32],"_solutionVariables":[32],"_templateHierarchy":[32],"_translations":[32],"_treeOpen":[32],"getSpatialReferenceInfo":[64],"saveSolution":[64],"unloadSolution":[64]},[[8,"solutionItemSelected","_solutionItemSelected"]],{"serializedAuthentication":["serializedAuthenticationWatchHandler"],"solutionItemId":["valueWatchHandler"],"locale":["localeWatchHandler"]}]]],["p-fe9b2c74",[[2,"instant-apps-interactive-legend",{"view":[16],"zoomTo":[4,"zoom-to"],"featureCount":[1028,"feature-count"],"filterMode":[16],"compact":[4],"handles":[32],"reactiveUtils":[32],"legendvm":[32],"widget":[32],"messages":[32]},null,{"handles":["init"],"reactiveUtils":["init"],"view":["init"],"compact":["compactHandler"]}]]],["p-f9deadd7",[[0,"public-notification",{"addresseeLayerIds":[16],"bufferColor":[8,"buffer-color"],"bufferOutlineColor":[8,"buffer-outline-color"],"customLabelEnabled":[4,"custom-label-enabled"],"defaultBufferDistance":[2,"default-buffer-distance"],"defaultBufferUnit":[1,"default-buffer-unit"],"defaultExportTitle":[1,"default-export-title"],"defaultNumLabelsPerPage":[2,"default-num-labels-per-page"],"enableLayerFeatures":[4,"enable-layer-features"],"enableLayerFeaturesOnLoad":[4,"enable-layer-features-on-load"],"enableSearchDistance":[4,"enable-search-distance"],"enableSearchDistanceOnLoad":[4,"enable-search-distance-on-load"],"enableSketchTools":[4,"enable-sketch-tools"],"featureEffect":[16],"featureHighlightEnabled":[4,"feature-highlight-enabled"],"locale":[1],"mapView":[16],"noResultText":[1,"no-result-text"],"initialNotice":[1,"initial-notice"],"searchConfiguration":[1040],"selectionLayerIds":[16],"showRefineSelection":[4,"show-refine-selection"],"showSearchSettings":[4,"show-search-settings"],"sketchLineSymbol":[8,"sketch-line-symbol"],"sketchPointSymbol":[8,"sketch-point-symbol"],"sketchPolygonSymbol":[8,"sketch-polygon-symbol"],"_exportGraphics":[32],"_addMap":[32],"_addResults":[32],"_addTitle":[32],"_downloadActive":[32],"_exportType":[32],"_fetchingData":[32],"_isMobile":[32],"_numDuplicates":[32],"_pageType":[32],"_saveEnabled":[32],"_selectionSets":[32],"_translations":[32]},[[8,"selectionSetsChanged","selectionSetsChanged"]],{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"searchConfiguration":["watchSearchConfigurationHandler"],"sketchLineSymbol":["sketchLineSymbolWatchHandler"],"sketchPointSymbol":["sketchPointSymbolWatchHandler"],"sketchPolygonSymbol":["sketchPolygonSymbolWatchHandler"],"_pageType":["pageTypeWatchHandler"]}]]],["p-dc704bc6",[[1,"instant-apps-language-switcher",{"icon":[1],"portalItem":[16],"view":[16],"locales":[16],"defaultLocale":[1,"default-locale"],"selectedLanguage":[1,"selected-language"],"calciteDropdownOverlayPositioning":[1,"calcite-dropdown-overlay-positioning"],"messages":[32],"t9nData":[32],"refresh":[64]}]]],["p-d59fb1a7",[[1,"instant-apps-export",{"output":[1040],"beforeExport":[16],"popoverIcon":[1,"popover-icon"],"extraContent":[16],"extraContentLabel":[1,"extra-content-label"],"headerTitle":[1025,"header-title"],"logoImage":[1025,"logo-image"],"includeExtraContent":[1028,"include-extra-content"],"showExtraContentInImg":[4,"show-extra-content-in-img"],"includeLegend":[1028,"include-legend"],"includeMap":[1028,"include-map"],"includePopup":[1028,"include-popup"],"includeFileFormat":[1028,"include-file-format"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"scale":[1],"showHeaderTitle":[4,"show-header-title"],"showIncludeLegend":[4,"show-include-legend"],"showIncludeMap":[4,"show-include-map"],"showIncludePopup":[4,"show-include-popup"],"showScaleBar":[4,"show-scale-bar"],"view":[16],"maskBackground":[1,"mask-background"],"maskBorder":[1,"mask-border"],"baseClass":[32],"exportIsLoading":[32],"messages":[32],"selectedFileType":[32]},null,{"includeMap":["watchIncludeMap"],"view":["watchView"]}]]],["p-3f83917b",[[2,"instant-apps-interactive-legend-group-legend-element-caption",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[1028]}]]],["p-64a6162f",[[1,"instant-apps-landing-page",{"titleText":[1,"title-text"],"subtitleText":[1,"subtitle-text"],"descriptionText":[1,"description-text"],"entryButtonText":[1,"entry-button-text"],"iconImage":[1,"icon-image"],"iconImageScale":[1,"icon-image-scale"],"iconImageAltText":[1,"icon-image-alt-text"],"alignment":[1],"disableTransition":[4,"disable-transition"],"backgroundImageSrc":[1,"background-image-src"],"open":[1028],"entryButtonScale":[1,"entry-button-scale"],"fontFamily":[513,"font-family"],"enableSignIn":[4,"enable-sign-in"],"portal":[16],"oauthappid":[1]},null,{"open":["emitToggleEvent"]}]]],["p-d099573a",[[2,"instant-apps-measurement",{"view":[16],"areaUnit":[1,"area-unit"],"linearUnit":[1,"linear-unit"],"coordinateFormat":[1,"coordinate-format"],"activeToolType":[1,"active-tool-type"],"closable":[4],"messages":[32]}]]],["p-9e3a40bc",[[1,"pci-calculator",{"showAddDeduct":[32]}]]],["p-64f814dd",[[1,"solution-item-accordion",{"locale":[1],"listSelectionMode":[1,"list-selection-mode"],"templateInfos":[16],"_sortedTemplateInfos":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"],"templateInfos":["templateInfosWatchHandler"]}]]],["p-5093ae54",[[1,"consent-manager",{"amazonAppId":[1,"amazon-app-id"],"amazonAppName":[1,"amazon-app-name"],"amazonUserPoolID":[1,"amazon-user-pool-i-d"],"amazonVersion":[1,"amazon-version"],"firstUseVar":[1,"first-use-var"],"locale":[1],"measurementIds":[16],"portal":[16],"_open":[32],"_translations":[32],"getInstance":[64]},null,{"locale":["localeWatchHandler"]}]]],["p-c9686e6c",[[1,"instant-apps-app-guide",{"header":[4],"data":[16],"messages":[32],"headerText":[32]},null,{"data":["watchPropHandler"],"headerText":["watchStateHandler"]}]]],["p-95d1c104",[[1,"instant-apps-control-panel",{"components":[16],"view":[16]}]]],["p-3f14b242",[[1,"instant-apps-create",{"popoverIcon":[1,"popover-icon"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"showHeader":[4,"show-header"],"content":[16],"options":[16],"portal":[16],"baseClass":[32],"messages":[32],"CreateOptionsLookup":[32]},null,{"content":["contentChanged"]}]]],["p-ffe1e3a3",[[1,"instant-apps-export-views",{"output":[1040],"beforeExport":[16],"popoverIcon":[1,"popover-icon"],"includeLegend":[1028,"include-legend"],"includeMap":[1028,"include-map"],"includePopup":[1028,"include-popup"],"includeHeader":[1028,"include-header"],"mode":[513],"popoverPositioning":[1,"popover-positioning"],"popoverPlacement":[1,"popover-placement"],"scale":[1],"showIncludeLegend":[4,"show-include-legend"],"showIncludeMap":[4,"show-include-map"],"showIncludePopup":[4,"show-include-popup"],"showIncludeHeader":[4,"show-include-header"],"showScaleBar":[4,"show-scale-bar"],"exportViews":[16],"baseClass":[32],"exportIsLoading":[32],"messages":[32]},null,{"includeMap":["watchIncludeMap"],"exportViews":["watchView"]}]]],["p-2a16aa29",[[1,"instant-apps-keyboard-shortcuts",{"view":[16],"messages":[32]}]]],["p-6369b974",[[0,"instant-apps-popover",{"popoverTitle":[513,"popover-title"],"subtitle":[513],"content":[513],"imgSrc":[513,"img-src"],"imgAlt":[513,"img-alt"],"mediaSrc":[513,"media-src"],"index":[514],"referenceElement":[513,"reference-element"],"parent":[16],"placement":[1],"refId":[1,"ref-id"],"pagination":[516],"disableAction":[516,"disable-action"],"popoverAction":[16],"messageOverrides":[16],"messages":[32]}]]],["p-552fb1c0",[[4,"instant-apps-popovers",{"inTour":[1540,"in-tour"],"currentId":[1537,"current-id"],"instantAppsPopovers":[16],"beforeOpen":[16],"open":[64],"close":[64],"beginTour":[64],"endTour":[64]}]]],["p-be16bc80",[[1,"instant-apps-scoreboard",{"view":[16],"items":[16],"position":[1],"mode":[1],"itemLimit":[2,"item-limit"],"autoDockEnabled":[4,"auto-dock-enabled"],"geometry":[1040],"queryType":[1,"query-type"],"state":[32],"messages":[32],"itemIndex":[32],"layers":[32],"layerViews":[32],"isMobile":[32]},null,{"items":["generateUIDs","storeLayers"],"layers":["storeLayerViews"],"geometry":["calculateScoreboardItemValuesFromGeometry"],"layerViews":["calculateScoreboardItemValues"]}]]],["p-c2e57b81",[[1,"instant-apps-splash",{"localStorageKey":[1,"local-storage-key"],"titleText":[1,"title-text"],"content":[1025],"primaryButtonText":[1,"primary-button-text"],"open":[1028],"closeButtonDisabled":[4,"close-button-disabled"],"outsideCloseDisabled":[4,"outside-close-disabled"],"secondaryButton":[4,"secondary-button"],"secondaryButtonText":[1,"secondary-button-text"],"secondaryButtonIcon":[1,"secondary-button-icon"],"secondaryButtonCallback":[16],"messages":[32]},null,{"content":["sanitizeContent"]}]]],["p-bc8d8128",[[0,"instant-apps-time-filter",{"timeInfoConfigItems":[16],"filterMode":[16],"view":[16],"timeSliderConfig":[16],"autoPlay":[4,"auto-play"],"timeSliderRef":[32]},null,{"timeInfoConfigItems":["updateTimeInfoConfigItems"],"filterMode":["updateFilterMode"],"timeSliderConfig":["updateTimeSliderConfig"],"autoPlay":["updateAutoPlay"]}]]],["p-e43c8944",[[0,"spatial-ref",{"defaultWkid":[1538,"default-wkid"],"disabled":[1540],"locale":[1],"value":[1537],"_cachedValue":[32],"_spatialRef":[32],"_srSearchText":[32],"_translations":[32],"createSpatialRefDisplay":[64],"getSpatialRef":[64],"wkidToDisplay":[64]},null,{"locale":["localeWatchHandler"],"value":["valueChanged"]}]]],["p-38814554",[[0,"store-manager",{"value":[1537],"templates":[1040],"authentication":[1040],"getStoreInfo":[64]}]]],["p-980d9473",[[2,"instant-apps-interactive-legend-classic",{"legendvm":[16],"zoomTo":[4,"zoom-to"],"featureCount":[4,"feature-count"],"filterMode":[16],"messages":[8],"isLoading":[32],"intLegendId":[32]},null,{"filterMode":["handleFilterModeChange"]}]]],["p-e5cb329f",[[6,"instant-apps-language-translator",{"portalItem":[16],"appSettings":[16],"locales":[16],"open":[1028],"userLocaleInputOnChangeCallback":[16],"translatedLocaleInputOnChangeCallback":[16],"saving":[32],"messages":[32],"isCollapse":[32],"getTranslationData":[64],"setTranslationData":[64],"getPortalItemResource":[64],"batchWriteToPortalItemResource":[64]},[[8,"translatorItemDataUpdated","handleT9nItemUpdate"]],{"locales":["handleLocaleChange"],"appSettings":["handleAppSettings"]}]]],["p-e3e35c14",[[1,"deduct-calculator"]]],["p-d324196d",[[1,"instant-apps-header",{"titleText":[1,"title-text"],"titleTextLink":[1,"title-text-link"],"backgroundColor":[1,"background-color"],"textColor":[1,"text-color"],"logoImage":[1,"logo-image"],"logoScale":[1537,"logo-scale"],"logoImageAltText":[1,"logo-image-alt-text"],"logoLink":[1,"logo-link"],"infoButton":[1540,"info-button"],"infoIsOpen":[516,"info-is-open"],"infoTitleText":[1,"info-title-text"],"customHeaderHtml":[1025,"custom-header-html"],"headerAlignment":[1025,"header-alignment"],"customHeaderCss":[1025,"custom-header-css"],"fontFamily":[513,"font-family"],"mobileWidthBreakpoint":[2,"mobile-width-breakpoint"],"dir":[32],"initialScale":[32],"toggleInfo":[64]},null,{"customHeaderHtml":["sanitizeCustomHeaderHtml"]}]]],["p-c50ff9f1",[[2,"instant-apps-measurement-tool",{"view":[16],"measureConfiguration":[16],"activeTool":[1,"active-tool"]},null,{"activeTool":["_updateToolType"]}]]],["p-37ae171f",[[1,"instant-apps-sign-in",{"type":[1],"portal":[16],"oauthappid":[1],"openInPopup":[4,"open-in-popup"],"landingPage":[4,"landing-page"],"titleText":[1,"title-text"],"subtitleText":[1,"subtitle-text"],"descriptionText":[1,"description-text"],"showIndicator":[4,"show-indicator"],"closeLandingPage":[16],"signInDropdownItems":[16],"isSignedIn":[32],"user":[32],"ready":[32],"messages":[32]},null,{"portal":["watchPortal"],"oauthappid":["watchOauthappid"]}]]],["p-ed443a0b",[[0,"feature-list",{"selectedLayerId":[1,"selected-layer-id"],"mapView":[16],"noFeaturesFoundMsg":[1,"no-features-found-msg"],"pageSize":[2,"page-size"],"highlightOnMap":[4,"highlight-on-map"],"highlightOnHover":[4,"highlight-on-hover"],"locale":[1],"sortingInfo":[16],"whereClause":[1,"where-clause"],"textSize":[1,"text-size"],"showInitialLoading":[4,"show-initial-loading"],"showErrorWhenNoFeatures":[4,"show-error-when-no-features"],"showUserImageInList":[4,"show-user-image-in-list"],"showFeatureSymbol":[4,"show-feature-symbol"],"applyLayerViewFilter":[4,"apply-layer-view-filter"],"reportingOptions":[16],"_featureItems":[32],"_featuresCount":[32],"_isLoading":[32],"_translations":[32],"refresh":[64]},null,{"locale":["localeWatchHandler"],"selectedLayerId":["selectedLayerWatchHandler"],"sortingInfo":["sortingInfoWatchHandler"],"whereClause":["whereClauseHandler"]}]]],["p-ee3bb943",[[1,"delete-dialog",{"ids":[16],"layer":[16],"locale":[1],"open":[4],"_isDeleting":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"]}]]],["p-318f5c87",[[0,"map-layer-picker",{"appearance":[1],"defaultLayerId":[1,"default-layer-id"],"display":[1],"enabledLayerIds":[16],"enabledTableIds":[16],"height":[2],"isMobile":[4,"is-mobile"],"locale":[1],"mapView":[16],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"placeholderIcon":[1,"placeholder-icon"],"selectedIds":[1040],"scale":[1],"showTables":[4,"show-tables"],"showTablesDisabled":[4,"show-tables-disabled"],"showSingleLayerAsLabel":[4,"show-single-layer-as-label"],"type":[1],"_hasMultipleLayers":[32],"_hasValidLayers":[32],"_isDropdownOpen":[32],"ids":[32],"selectedName":[32],"_translations":[32],"setLayerById":[64],"setLayerByIds":[64],"updateLayer":[64]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"]}]]],["p-8585c128",[[1,"instant-apps-filter-list",{"layerExpressions":[1040],"autoUpdateUrl":[4,"auto-update-url"],"closeBtn":[4,"close-btn"],"closeBtnOnClick":[16],"comboboxOverlayPositioning":[1,"combobox-overlay-positioning"],"closeBtnText":[1,"close-btn-text"],"openFilters":[4,"open-filters"],"extentSelector":[4,"extent-selector"],"extentSelectorConfig":[16],"urlParams":[1040],"filterCount":[1026,"filter-count"],"view":[16],"zoomBtn":[4,"zoom-btn"],"resetBtn":[4,"reset-btn"],"resetFiltersOnDisconnect":[4,"reset-filters-on-disconnect"],"loading":[32],"filterLayerExpressions":[32],"messages":[32],"baseClass":[32],"initDefExpressions":[32],"initMapImageExpressions":[32],"initPointCloudFilters":[32],"getFilterInitState":[64],"forceReset":[64],"updateInitDefExpressions":[64],"getCurrentLayerExpressions":[64],"handleUpdatingT9nData":[64]},null,{"view":["watchViewHandler"],"layerExpressions":["watchLayerExpressions"]}],[1,"instant-apps-social-share",{"mode":[513],"shareUrl":[1025,"share-url"],"autoUpdateShareUrl":[1028,"auto-update-share-url"],"shareText":[513,"share-text"],"embed":[516],"shareButtonColor":[513,"share-button-color"],"shareButtonType":[513,"share-button-type"],"shareButtonScale":[513,"share-button-scale"],"iframeInnerText":[513,"iframe-inner-text"],"popoverButtonIconScale":[513,"popover-button-icon-scale"],"view":[16],"displayTipText":[516,"display-tip-text"],"shortenShareUrl":[516,"shorten-share-url"],"socialMedia":[516,"social-media"],"shareIconsLayout":[513,"share-icons-layout"],"scale":[513],"successMessage":[513,"success-message"],"defaultUrlParams":[16],"inlineSuccessPopoverPlacement":[513,"inline-success-popover-placement"],"popoverPositioning":[513,"popover-positioning"],"removePopoverOffset":[516,"remove-popover-offset"],"messages":[32],"opened":[32],"copied":[32],"inlineCopyLinkOpened":[32],"inlineCopyEmbedOpened":[32],"embedWidth":[32],"embedHeight":[32]}]]],["p-83ba1288",[[0,"map-card",{"appLayout":[1,"app-layout"],"appProxies":[8,"app-proxies"],"defaultWebmapId":[1,"default-webmap-id"],"defaultLayerId":[1,"default-layer-id"],"enableHome":[4,"enable-home"],"enableLegend":[4,"enable-legend"],"enableFloorFilter":[4,"enable-floor-filter"],"enableFullscreen":[4,"enable-fullscreen"],"enableShare":[4,"enable-share"],"enableSingleExpand":[4,"enable-single-expand"],"enableSearch":[4,"enable-search"],"enableBasemap":[4,"enable-basemap"],"basemapConfig":[16],"hidden":[4],"homeZoomIndex":[2,"home-zoom-index"],"homeZoomPosition":[1,"home-zoom-position"],"homeZoomToolsSize":[1,"home-zoom-tools-size"],"locale":[1],"mapInfos":[16],"mapWidgetsIndex":[2,"map-widgets-index"],"mapWidgetsPosition":[1,"map-widgets-position"],"mapWidgetsSize":[1,"map-widgets-size"],"mapView":[16],"stackTools":[4,"stack-tools"],"theme":[1],"toolOrder":[16],"isMapLayout":[4,"is-map-layout"],"shareIncludeEmbed":[4,"share-include-embed"],"shareIncludeSocial":[4,"share-include-social"],"selectedFeaturesIds":[16],"selectedLayer":[16],"zoomToScale":[2,"zoom-to-scale"],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"isMobile":[4,"is-mobile"],"mapInfo":[16],"_translations":[32],"_searchConfiguration":[32],"_webMapInfo":[32],"_showHideOpen":[32],"_toolInfos":[32],"_controlsThatFit":[32],"resetFilter":[64],"updateFilterState":[64],"updateLayer":[64]},[[8,"mapInfoChange","mapInfoChange"],[8,"noLayersFound","noLayersFound"],[8,"layerSelectionChange","layerSelectionChange"]],{"appLayout":["appLayoutWatchHandler"],"enableHome":["enableHomeWatchHandler"],"enableShare":["enableShareWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"selectedLayer":["selectedLayerWatchHandler"],"selectedFeaturesIds":["selectedFeaturesIdsWatchHandler"],"_controlsThatFit":["_controlsThatFitWatchHandler"]}],[0,"card-manager",{"customInfoText":[1,"custom-info-text"],"enableEditGeometry":[4,"enable-edit-geometry"],"isMobile":[4,"is-mobile"],"layer":[1040],"locale":[1],"mapView":[16],"zoomAndScrollToSelected":[4,"zoom-and-scroll-to-selected"],"selectedFeaturesIds":[16],"enableCreateFeatures":[4,"enable-create-features"],"selectingFeatureFromMap":[4,"selecting-feature-from-map"],"_cardLoading":[32],"_graphics":[32],"_showCreateFeatureComponent":[32],"_showSubmitBtn":[32],"_translations":[32]},[[8,"featureSelectionChange","featureSelectionChange"],[8,"layerSelectionChange","layerSelectionChange"]],{"locale":["localeWatchHandler"]}],[0,"layer-table",{"appLayout":[1,"app-layout"],"defaultGlobalId":[16],"defaultLayerId":[1,"default-layer-id"],"defaultOid":[16],"enableAutoRefresh":[4,"enable-auto-refresh"],"enableColumnReorder":[4,"enable-column-reorder"],"enableCSV":[4,"enable-c-s-v"],"enableInlineEdit":[4,"enable-inline-edit"],"enableShare":[4,"enable-share"],"honorMapFieldSettings":[4,"honor-map-field-settings"],"isMobile":[4,"is-mobile"],"locale":[1],"mapHidden":[4,"map-hidden"],"mapInfo":[16],"mapView":[16],"onlyShowUpdatableLayers":[4,"only-show-updatable-layers"],"selectedIds":[16],"shareIncludeEmbed":[4,"share-include-embed"],"shareIncludeSocial":[4,"share-include-social"],"showNewestFirst":[4,"show-newest-first"],"zoomAndScrollToSelected":[4,"zoom-and-scroll-to-selected"],"zoomToScale":[2,"zoom-to-scale"],"createFilterModal":[4,"create-filter-modal"],"_allIds":[32],"_controlsThatFit":[32],"_csvExporting":[32],"_fetchingData":[32],"_filterActive":[32],"_filterOpen":[32],"_layer":[32],"_selectAllActive":[32],"_showHideOpen":[32],"_showOnlySelected":[32],"_toolInfos":[32],"_translations":[32],"_fullTextSearchInfo":[32],"_searchPlaceHolder":[32],"_size":[32],"_queryingData":[32],"closeFilter":[64],"filterReset":[64],"filterUpdate":[64],"validateActiveEdits":[64],"refresh":[64]},[[10,"beforeMapInfoChange","beforeMapInfoChange"],[8,"editorInitialized","editorInitialized"],[8,"selectionChanged","selectionChanged"],[8,"beforeLayerSelectionChange","beforeLayerSelectionChange"],[8,"layerSelectionChange","layerSelectionChange"],[8,"editsComplete","editsComplete"],[8,"facilityChanged","facilityChanged"],[8,"levelChanged","levelChanged"],[8,"siteChanged","siteChanged"],[8,"noLayersFound","noLayersFound"],[8,"clearSelection","clearSelection"]],{"appLayout":["appLayoutWatchHandler"],"defaultOid":["defaultOidWatchHandler"],"defaultGlobalId":["defaultGlobalIdWatchHandler"],"enableCSV":["enableCSVWatchHandler"],"enableInlineEdit":["enableInlineEditWatchHandler"],"enableShare":["enableShareWatchHandler"],"_controlsThatFit":["_controlsThatFitWatchHandler"],"locale":["localeWatchHandler"],"mapHidden":["mapHiddenWatchHandler"],"isMobile":["isMobileWatchHandler"],"mapInfo":["mapInfoWatchHandler"],"mapView":["mapViewWatchHandler"],"_layer":["_layerWatchHandler"],"selectedIds":["selectedIdsWatchHandler"]}]]],["p-1d1d7e63",[[0,"solution-item",{"authentication":[1040],"itemId":[1537,"item-id"],"locale":[1],"solutionVariables":[1537,"solution-variables"],"organizationVariables":[1537,"organization-variables"],"itemType":[32],"_translations":[32]},null,{"itemId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[0,"solution-contents",{"selectedItemId":[1537,"selected-item-id"],"templateHierarchy":[1040]},null,{"templateHierarchy":["valueWatchHandler"]}],[0,"solution-spatial-ref",{"enabled":[1540],"enableDefault":[1540,"enable-default"],"featureServices":[1040],"locale":[1025],"_translations":[32],"_testAccess":[64]},[[8,"solutionStoreHasChanges","solutionStoreHasChanges"]],{"enabled":["enabledChanged"],"enableDefault":["enableDefaultChanged"],"locale":["localeWatchHandler"]}]]],["p-f0b1b6f6",[[0,"feature-details",{"mapView":[16],"graphics":[16],"reportingOptions":[16],"layerItemsHash":[16],"locale":[1],"showUserImageInCommentsList":[4,"show-user-image-in-comments-list"],"_likeFieldAvailable":[32],"_likeCount":[32],"_disLikeCount":[32],"_dislikeFieldAvailable":[32],"_commentsAvailable":[32],"_isLikeBtnClicked":[32],"_isDislikeBtnClicked":[32],"_relatedFeaturesOIDs":[32],"_updating":[32],"refresh":[64],"back":[64],"next":[64],"toggleListView":[64]},null,{"graphics":["graphicsWatchHandler"]}],[0,"create-related-feature",{"locale":[1],"mapView":[16],"table":[16],"selectedFeature":[16],"customizeSubmit":[4,"customize-submit"],"showGuidingMsg":[4,"show-guiding-msg"],"_editorLoading":[32],"_translations":[32],"submit":[64]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"_editorLoading":["_editorLoadingWatchHandler"]}],[0,"layer-list",{"mapView":[16],"layers":[16],"locale":[1],"showFeatureCount":[4,"show-feature-count"],"showNextIcon":[4,"show-next-icon"],"applyLayerViewFilter":[4,"apply-layer-view-filter"],"_noLayersToDisplay":[32],"_mapLayerIds":[32],"_isLoading":[32],"_translations":[32],"refresh":[64]},null,{"locale":["localeWatchHandler"]}]]],["p-34b50565",[[1,"buffer-tools",{"appearance":[1025],"distance":[1026],"geometries":[1040],"locale":[1],"max":[1026],"min":[1026],"sliderTicks":[1026,"slider-ticks"],"unionResults":[1028,"union-results"],"unit":[1025],"disabled":[4],"_translations":[32],"getTranslatedUnit":[64]},null,{"geometries":["geometriesWatchHandler"],"disabled":["disabledWatchHandler"],"locale":["localeWatchHandler"]}],[0,"map-draw-tools",{"active":[4],"drawMode":[1,"draw-mode"],"editGraphicsEnabled":[4,"edit-graphics-enabled"],"graphics":[1040],"locale":[1],"mapView":[1040],"pointSymbol":[1040],"polylineSymbol":[1040],"polygonSymbol":[1040],"redoEnabled":[4,"redo-enabled"],"undoEnabled":[4,"undo-enabled"],"_translations":[32],"_selectionMode":[32],"clear":[64],"updateGraphics":[64]},null,{"graphics":["graphicsWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"]}]]],["p-7dc7d3dc",[[0,"map-select-tools",{"bufferColor":[8,"buffer-color"],"bufferOutlineColor":[8,"buffer-outline-color"],"customLabelEnabled":[4,"custom-label-enabled"],"enabledLayerIds":[16],"enableLayerFeatures":[4,"enable-layer-features"],"enableLayerFeaturesOnLoad":[4,"enable-layer-features-on-load"],"enableSearchDistance":[4,"enable-search-distance"],"enableSearchDistanceOnLoad":[4,"enable-search-distance-on-load"],"enableSketchTools":[4,"enable-sketch-tools"],"defaultBufferDistance":[2,"default-buffer-distance"],"defaultBufferUnit":[1,"default-buffer-unit"],"geometries":[16],"isUpdate":[4,"is-update"],"layerViews":[16],"locale":[1],"mapView":[16],"noResultText":[1,"no-result-text"],"searchConfiguration":[1040],"selectionSet":[16],"selectionLayerIds":[16],"selectLayerView":[16],"sketchLineSymbol":[16],"sketchPointSymbol":[16],"sketchPolygonSymbol":[16],"searchDistanceEnabled":[4,"search-distance-enabled"],"useLayerFeaturesEnabled":[4,"use-layer-features-enabled"],"_numSelected":[32],"_searchTerm":[32],"_selectionLoading":[32],"_translations":[32],"clearSelection":[64],"getSelection":[64]},[[8,"searchConfigurationChange","searchConfigurationChangeChanged"],[8,"distanceChanged","distanceChanged"],[8,"unitChanged","unitChanged"]],{"geometries":["watchGeometriesHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"searchConfiguration":["watchSearchConfigurationHandler"]}],[0,"refine-selection",{"addresseeLayer":[16],"enabledLayerIds":[16],"locale":[1],"mapView":[16],"selectionSets":[1040],"sketchLineSymbol":[16],"sketchPointSymbol":[16],"sketchPolygonSymbol":[16],"_translations":[32],"_selectionMode":[32],"_refineLayer":[32]},null,{"locale":["localeWatchHandler"]}],[1,"pdf-download",{"defaultNumLabelsPerPage":[2,"default-num-labels-per-page"],"disabled":[4],"locale":[1],"_translations":[32],"downloadCSV":[64],"downloadPDF":[64]},null,{"locale":["localeWatchHandler"]}]]],["p-ea09b078",[[2,"instant-apps-language-translator-item",{"fieldName":[1,"field-name"],"translatedLanguageLabels":[16],"setting":[16],"userLocaleInputOnChangeCallback":[16],"translatedLocaleInputOnChangeCallback":[16]}],[2,"instant-apps-language-translator-search",{"t9nPlaceholder":[1,"t-9n-placeholder"],"results":[32]}],[0,"instant-apps-ckeditor-wrapper",{"value":[1025],"editorInstance":[1032,"editor-instance"],"config":[16]},null,{"value":["updateValue"]}]]],["p-dafc6680",[[0,"solution-item-icon",{"isPortal":[4,"is-portal"],"type":[1],"typeKeywords":[16]}]]],["p-d1551601",[[2,"instant-apps-interactive-legend-layer-element-caption",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[1028]}],[2,"instant-apps-interactive-legend-count",{"showTotal":[4,"show-total"],"legendvm":[16],"activeLayerInfo":[16],"categoryId":[1,"category-id"],"infoIndex":[2,"info-index"],"messages":[8],"selected":[4],"legendElement":[16]}]]],["p-28858c2f",[[6,"instant-apps-interactive-legend-group-legend-element",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[32]},[[8,"layerCaptionElementExpandUpdated","layerCaptionElementExpandUpdatedEmitted"]]],[6,"instant-apps-interactive-legend-layer-element",{"legendvm":[16],"featureCount":[4,"feature-count"],"activeLayerInfo":[16],"messages":[8],"isChild":[4,"is-child"],"expanded":[32]},[[8,"layerCaptionElementExpandUpdated","layerCaptionElementExpandUpdatedEmitted"]]],[6,"instant-apps-interactive-legend-legend-element",{"activeLayerInfo":[16],"isSizeRamp":[4,"is-size-ramp"],"isChild":[4,"is-child"],"isColorRamp":[4,"is-color-ramp"],"isRelationshipRamp":[4,"is-relationship-ramp"],"isInteractive":[4,"is-interactive"],"zoomTo":[4,"zoom-to"],"legendElement":[16],"titleText":[1,"title-text"],"legendvm":[16],"legendElementIndex":[2,"legend-element-index"],"messages":[8],"expanded":[32]},[[8,"legendLayerExpandUpdated","legendLayerExpandUpdatedEmitted"]]],[2,"instant-apps-interactive-legend-relationship",{"filterMode":[16],"activeLayerInfo":[16],"legendElement":[16],"messages":[8]},[[8,"showAllSelected","showAllSelectedEmitted"]]],[2,"instant-apps-interactive-legend-legend-element-caption",{"legendvm":[16],"activeLayerInfo":[16],"layer":[16],"titleText":[1,"title-text"],"legendElementIndex":[2,"legend-element-index"],"zoomTo":[4,"zoom-to"],"isInteractive":[4,"is-interactive"],"legendElement":[16],"expanded":[1028],"messages":[8]}]]],["p-6f4e5c19",[[0,"solution-template-data",{"instanceid":[1537],"itemId":[1537,"item-id"],"locale":[1],"organizationVariables":[1537,"organization-variables"],"solutionVariables":[1537,"solution-variables"],"varsOpen":[1540,"vars-open"],"_translations":[32],"value":[32]},null,{"itemId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[1,"solution-item-sharing",{"groupId":[1537,"group-id"],"locale":[1],"_translations":[32],"sharing":[32],"getShareInfo":[64]},null,{"groupId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[0,"solution-item-details",{"itemId":[1537,"item-id"],"locale":[1],"itemDetails":[32],"itemEdit":[32],"_translations":[32],"thumbnail":[32],"thumbnailContainer":[32]},[[0,"calciteInputInput","inputReceivedHandler"]],{"locale":["localeWatchHandler"]}],[1,"solution-resource-item",{"authentication":[1040],"itemId":[1537,"item-id"],"locale":[1],"resourceFilePaths":[32],"resources":[32],"_translations":[32]},null,{"itemId":["itemIdWatchHandler"],"locale":["localeWatchHandler"]}],[1,"solution-variables",{"value":[1537],"locale":[1],"_solutionVariables":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"],"value":["valueWatchHandler"]}],[0,"json-editor",{"hasChanges":[1540,"has-changes"],"hasErrors":[1540,"has-errors"],"instanceid":[1544],"locale":[1],"value":[1544],"getEditorContents":[64],"prepareForDeletion":[64],"replaceCurrentSelection":[64],"reset":[64]},null,{"locale":["localeWatchHandler"]}],[1,"solution-organization-variables",{"locale":[1],"value":[1537],"_organizationVariables":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"],"value":["valueWatchHandler"]}]]],["p-4b98adf3",[[0,"create-feature",{"mapView":[16],"selectedLayerId":[1,"selected-layer-id"],"customizeSubmit":[4,"customize-submit"],"locale":[1],"searchConfiguration":[16],"isMobile":[4,"is-mobile"],"floorLevel":[1,"floor-level"],"formElements":[8,"form-elements"],"enableSearch":[4,"enable-search"],"showGuidingMsg":[4,"show-guiding-msg"],"showGuidingMsgWhileDrawing":[4,"show-guiding-msg-while-drawing"],"_editorLoading":[32],"_currentPage":[32],"_translations":[32],"submit":[64],"refresh":[64]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"isMobile":["isMobileHandler"],"_editorLoading":["_editorLoadingWatchHandler"]}],[0,"info-card",{"enableEditGeometry":[4,"enable-edit-geometry"],"graphics":[16],"isLoading":[4,"is-loading"],"isMobile":[4,"is-mobile"],"mapView":[16],"allowEditing":[4,"allow-editing"],"highlightEnabled":[4,"highlight-enabled"],"locale":[1],"paginationEnabled":[4,"pagination-enabled"],"position":[1],"_alertOpen":[32],"_count":[32],"_editRecordOpen":[32],"_mobileTitle":[32],"_showListView":[32],"_translations":[32],"getSelectedFeature":[64],"refresh":[64],"back":[64],"next":[64],"toggleListView":[64],"updateCurrentGraphic":[64]},[[8,"closeEdit","closeEdit"],[8,"layerSelectionChange","layerSelectionChange"],[8,"refreshGraphics","refreshGraphics"]],{"graphics":["graphicsWatchHandler"],"isMobile":["isMobileWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"]}],[1,"delete-button",{"deleteDialog":[8,"delete-dialog"],"buttonType":[1,"button-type"],"disabled":[4],"icon":[1],"ids":[16],"layer":[16],"locale":[1],"_confirmDelete":[32],"_deleteEndabled":[32],"_supportsDelete":[32],"_translations":[32]},null,{"ids":["idsWatchHandler"],"layer":["layerWatchHandler"],"locale":["localeWatchHandler"]}],[0,"edit-card",{"enableEditGeometry":[4,"enable-edit-geometry"],"graphics":[1040],"locale":[1],"mapView":[16],"open":[1028],"graphicIndex":[2,"graphic-index"],"_editorLoading":[32],"_translations":[32]},[[8,"featureSelectionChange","featureSelectionChange"]],{"graphics":["graphicsWatchHandler"],"locale":["localeWatchHandler"],"open":["openWatchHandler"]}]]],["p-33d03eb9",[[1,"map-tools",{"basemapConfig":[16],"enableLegend":[4,"enable-legend"],"enableFloorFilter":[4,"enable-floor-filter"],"enableFullscreen":[4,"enable-fullscreen"],"enableSearch":[4,"enable-search"],"enableBasemap":[4,"enable-basemap"],"enableHome":[4,"enable-home"],"enableSingleExpand":[4,"enable-single-expand"],"homeZoomToolsSize":[1,"home-zoom-tools-size"],"layout":[1],"locale":[1],"mapView":[16],"mapWidgetsSize":[1,"map-widgets-size"],"position":[1],"searchConfiguration":[16],"stackTools":[4,"stack-tools"],"toolOrder":[16],"_hasFloorInfo":[32],"_translations":[32],"_showTools":[32],"_showBasemapWidget":[32],"_showFloorFilter":[32],"_showFullscreen":[32],"_showLegendWidget":[32],"_showSearchWidget":[32]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"_showBasemapWidget":["_showBasemapWidgetWatchHandler"],"_showFloorFilter":["_showFloorFilterWatchHandler"],"_showFullscreen":["_showFullscreenWatchHandler"],"_showLegendWidget":["_showLegendWidgetWatchHandler"],"_showSearchWidget":["_showSearchWidgetWatchHandler"]}],[1,"map-picker",{"locale":[1],"mapInfos":[16],"isMapLayout":[4,"is-map-layout"],"_mapListExpanded":[32],"_translations":[32],"_webMapInfo":[32],"setMapByID":[64],"close":[64],"toggle":[64]},null,{"_webMapInfo":["_webMapInfoWatchHandler"],"locale":["localeWatchHandler"],"mapInfos":["mapInfosWatchHandler"]}],[1,"basemap-gallery",{"mapView":[16],"basemapConfig":[16],"basemapWidget":[16]},null,{"basemapConfig":["basemapConfigWatchHandler"],"mapView":["mapViewWatchHandler"]}],[1,"floor-filter",{"enabled":[4],"floorFilterWidget":[16],"mapView":[16]},null,{"mapView":["mapViewWatchHandler"],"enabled":["enabledWatchHandler"]}],[1,"map-fullscreen",{"mapView":[16],"fullscreenWidget":[16]},null,{"mapView":["mapViewWatchHandler"]}],[1,"map-legend",{"mapView":[16],"legendWidget":[16]},null,{"mapView":["mapViewWatchHandler"]}],[1,"map-search",{"mapView":[16],"popupEnabled":[4,"popup-enabled"],"resultGraphicEnabled":[4,"result-graphic-enabled"],"searchConfiguration":[16],"searchTerm":[1,"search-term"],"searchWidget":[16]},null,{"searchConfiguration":["watchSearchConfigurationHandler"],"mapView":["mapViewWatchHandler"]}]]]]'),e))));
|
@@ -378,6 +378,7 @@ export interface ITemplateInfo {
|
|
378
378
|
type: string;
|
379
379
|
typeKeywords: string[];
|
380
380
|
snippet: string;
|
381
|
+
url?: string;
|
381
382
|
}
|
382
383
|
|
383
384
|
/**
|
@@ -644,4 +645,19 @@ export interface IReportingOption {
|
|
644
645
|
export interface ISortingInfo {
|
645
646
|
field: string;
|
646
647
|
order: 'asc' | 'desc';
|
647
|
-
}
|
648
|
+
}
|
649
|
+
|
650
|
+
export interface ISolutionItemHover {
|
651
|
+
itemId: string;
|
652
|
+
entering: boolean;
|
653
|
+
}
|
654
|
+
|
655
|
+
export interface ISolutionItemSelected {
|
656
|
+
itemId: string;
|
657
|
+
selected: boolean;
|
658
|
+
}
|
659
|
+
|
660
|
+
export interface ISolutionTypeHover {
|
661
|
+
itemType: string;
|
662
|
+
entering: boolean;
|
663
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
Built
|
1
|
+
Built Wed 01/15/2025 14:40:52.94
|
2
2
|
develop
|
3
|
-
commit
|
4
|
-
Merge:
|
3
|
+
commit 54fcf1f180c9ff6682891cd705218f52fbc1002d
|
4
|
+
Merge: d51d43ad8 fdd4b3c66
|
5
5
|
Author: John Hauck <jhauck@esri.com>
|
6
|
-
Date:
|
6
|
+
Date: Wed Jan 15 13:35:15 2025 -0800
|
7
7
|
|
8
|
-
Merge pull request #
|
8
|
+
Merge pull request #1103 from Esri/manager-click-list
|
9
9
|
|
10
|
-
|
10
|
+
remove calcite flow item
|
@@ -94,6 +94,11 @@ export declare class PublicNotification {
|
|
94
94
|
* when left empty the default text "0 selected features from {layerTitle}" will be shown
|
95
95
|
*/
|
96
96
|
noResultText: string;
|
97
|
+
/**
|
98
|
+
* string: The value to show in the initial notice to help with on boarding the user.
|
99
|
+
* When left empty the selectLayerAndAdd text from the nls will be used.
|
100
|
+
*/
|
101
|
+
initialNotice: string;
|
97
102
|
/**
|
98
103
|
* ISearchConfiguration: Configuration details for the Search widget
|
99
104
|
*/
|