@esri/solutions-components 0.11.22 → 0.11.23

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.
Files changed (57) hide show
  1. package/dist/cjs/card-manager_3.cjs.entry.js +8 -4
  2. package/dist/cjs/create-feature_4.cjs.entry.js +21 -10
  3. package/dist/cjs/create-related-feature_3.cjs.entry.js +25 -19
  4. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -2
  5. package/dist/cjs/crowdsource-reporter.cjs.entry.js +7 -6
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/solutions-components.cjs.js +1 -1
  8. package/dist/collection/components/card-manager/card-manager.js +23 -2
  9. package/dist/collection/components/create-feature/create-feature.css +1 -1
  10. package/dist/collection/components/create-feature/create-feature.js +28 -3
  11. package/dist/collection/components/create-related-feature/create-related-feature.css +1 -1
  12. package/dist/collection/components/create-related-feature/create-related-feature.js +74 -49
  13. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +23 -2
  14. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +27 -6
  15. package/dist/collection/components/edit-card/edit-card.css +1 -1
  16. package/dist/collection/components/edit-card/edit-card.js +48 -23
  17. package/dist/collection/components/feature-details/feature-details.js +27 -6
  18. package/dist/collection/components/info-card/info-card.js +23 -2
  19. package/dist/collection/components/layer-table/layer-table.js +5 -2
  20. package/dist/components/card-manager2.js +4 -2
  21. package/dist/components/create-feature2.js +10 -4
  22. package/dist/components/create-related-feature2.js +21 -15
  23. package/dist/components/crowdsource-manager.js +4 -2
  24. package/dist/components/crowdsource-reporter.js +8 -6
  25. package/dist/components/edit-card2.js +11 -5
  26. package/dist/components/feature-details2.js +8 -6
  27. package/dist/components/info-card2.js +4 -2
  28. package/dist/components/layer-table2.js +5 -2
  29. package/dist/esm/card-manager_3.entry.js +8 -4
  30. package/dist/esm/create-feature_4.entry.js +21 -10
  31. package/dist/esm/create-related-feature_3.entry.js +25 -19
  32. package/dist/esm/crowdsource-manager.entry.js +3 -2
  33. package/dist/esm/crowdsource-reporter.entry.js +7 -6
  34. package/dist/esm/loader.js +1 -1
  35. package/dist/esm/solutions-components.js +1 -1
  36. package/dist/solutions-components/p-2507c685.entry.js +6 -0
  37. package/dist/solutions-components/p-386b0163.entry.js +6 -0
  38. package/dist/solutions-components/p-99e00361.entry.js +6 -0
  39. package/dist/solutions-components/p-a415a60d.entry.js +6 -0
  40. package/dist/solutions-components/p-b5a102db.entry.js +6 -0
  41. package/dist/solutions-components/solutions-components.esm.js +1 -1
  42. package/dist/solutions-components_commit.txt +6 -6
  43. package/dist/types/components/card-manager/card-manager.d.ts +4 -0
  44. package/dist/types/components/create-feature/create-feature.d.ts +4 -0
  45. package/dist/types/components/create-related-feature/create-related-feature.d.ts +23 -19
  46. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -0
  47. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +4 -0
  48. package/dist/types/components/edit-card/edit-card.d.ts +8 -4
  49. package/dist/types/components/feature-details/feature-details.d.ts +4 -0
  50. package/dist/types/components/info-card/info-card.d.ts +4 -0
  51. package/dist/types/components.d.ts +64 -0
  52. package/package.json +1 -1
  53. package/dist/solutions-components/p-1ac20964.entry.js +0 -6
  54. package/dist/solutions-components/p-892b42be.entry.js +0 -6
  55. package/dist/solutions-components/p-9161beb0.entry.js +0 -6
  56. package/dist/solutions-components/p-decfd5fc.entry.js +0 -6
  57. package/dist/solutions-components/p-eba271dd.entry.js +0 -6
@@ -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,h as e,H as a,F as h}from"./p-e996c38f.js";import{l,g as o}from"./p-404cbf48.js";import{g as n,a as c,b as r,c as d,h as u,d as p,q as f}from"./p-dcd2f00b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const m=class{constructor(s){t(this,s),this.togglePanel=i(this,"togglePanel",7),this.center=void 0,this.commentButtonText=void 0,this.commentSubmittedMessage=void 0,this.defaultWebmap="",this.description=void 0,this.enableAnonymousAccess=void 0,this.enableAnonymousComments=void 0,this.enableComments=void 0,this.enableHome=!0,this.enableLogin=void 0,this.enableNewReports=void 0,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=void 0,this.layerExpressions=[],this.layerId=void 0,this.level=void 0,this.locale=void 0,this.loginTitle=void 0,this.mapInfos=[],this.mapView=void 0,this.objectId=void 0,this.reportButtonText=void 0,this.reportingOptions=void 0,this.reportsHeader=void 0,this.reportSubmittedMessage=void 0,this.searchConfiguration=void 0,this.showComments=void 0,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage=void 0,this.theme="light",this.zoomToScale=void 0,this.floorLevel=void 0,this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this._featureCreationFailedErrorMsg=void 0,this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._mapInfo=void 0,this._reportSubmitted=!1,this._selectedLayerName=void 0,this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=void 0,this._updatedProgressBarStatus=25,this._updatedSorting=void 0,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1}get el(){return s(this)}_createFeature;_currentFeatureId;_defaultCenter;_defaultLevel;_editableLayerIds;_featureDetails;_featureList;_currentFeature;_selectedRelatedFeature;_relatedTable;_filterList;_highlightHandle;_layerList;_createRelatedFeature;_layers;_mapChange;_mapClickHandle;reactiveUtils;FeatureFilter;_selectedFeature;_selectedFeatureIndex;_selectedLayerId;_shareNode;_urlParamsLoaded;_validLayers;_nonVisibleValidLayers;_selectedLayer;_layerItemsHash;_showFullPanel;_floorExpression;_formElements=[];_prevSelectedLayerId;_currentLayerExpressions;_initDefExpressions;_t9nLayerExpressions;async isMobileWatchHandler(t){this.updatePanelState(!1,this._showFullPanel),t&&"filter-panel"===this._flowItems[this._flowItems.length-1]?(await this.backFromFilterPanel(),this._filterOpen=!0):!t&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{this.setInitExpressions(),await this.setMapView()}))}async floorLevelWatchHandler(){if(this._editableLayerIds)for(const t of this._editableLayerIds){const i=await n(this.mapView,t);i.floorInfo?.floorField&&this._updateFloorDefinitionExpression(i)}"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&await this._layerList.refresh(),this._featureList&&this._featureList.refresh(),this._createFeature&&this._createFeature.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await(this._featureList?.refresh())}async showFeatureSymbolWatchHandler(){await(this._featureList?.refresh())}async updateLayerExpressionsT9n(t){if(this._t9nLayerExpressions=t||this.layerExpressions,null!=this._filterList)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(null!=this._currentLayerExpressions){const t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}togglePanel;async componentWillLoad(){this._urlParamsLoaded=!1,await this._initModules(),await this._getTranslations(),await(this.mapView?.when((async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible)):[],this.setInitExpressions(),await this.setMapView()})))}componentWillRender(){(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}render(){const t="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return e(a,{key:"11cf5f3a1674460c6ab9d2979d621417431e7130"},this._reportSubmitted&&e("calcite-alert",{key:"ab40068608e235cbbeda293d62f501c1bcc2a123","auto-close":!0,class:t+" report-submitted-msg",icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._reportSubmitted=!1},open:!0,placement:"top"},e("div",{key:"91e436fa80c41457465f0816b66e205793f5a91d",slot:"message"},this.reportSubmittedMessage?this.reportSubmittedMessage:this._translations.submitMsg)),this._featureCreationFailedErrorMsg&&e("calcite-alert",{key:"6dbcd02898e6328f343af94985f069d8261dce1f","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._featureCreationFailedErrorMsg=""},open:!0,placement:"top"},e("div",{key:"fc97e5f02b5241af076243b7fa8bb19f29c3dad6",slot:"title"},this._translations.error),e("div",{key:"9583f6bd62f2a36c50e8309a353dd634300aa835",slot:"message"},this._featureCreationFailedErrorMsg)),this._commentSubmitted&&e("calcite-alert",{key:"0d216fc75481b249ee63468b2c0145ed7f09d09e","auto-close":!0,class:"report-submitted "+t,icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._commentSubmitted=!1},open:!0,placement:"top"},e("div",{key:"700a788d9f0f12200bee0625576571a8c352a6a1",slot:"message"},this.commentSubmittedMessage||this._translations.commentSubmittedMsg)),this._addingCommentFailed&&e("calcite-alert",{key:"28ef0e56c42d3d366e33374368461eba9bb5e896","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._addingCommentFailed=!1},open:!0,placement:"top"},e("div",{key:"90e8757ee650b3f55c456d0fd56a45dac6df263e",slot:"title"},this._translations.error),e("div",{key:"b819d951be7340af388767b40e423a279b33ea85",slot:"message"},this._translations.addingCommentFailedMsg)),e("div",{key:"167d0cb576feaaa77279110ab40df63e1a6146ae"},e("calcite-shell",{key:"b4d83790aa3a47a9c336821c54bc3e0fa1d9e308","content-behind":!0},this._getReporter())),this.isMobile&&this.filterModal())}async _initModules(){const[t,i]=await l(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter"]);this.reactiveUtils=t,this.FeatureFilter=i}async setSelectedLayer(t,i){this._selectedLayerId=t,this._selectedLayer=await n(this.mapView,t),this._selectedLayerName=i,this._validLayers.forEach((i=>{this._nonVisibleValidLayers.find((t=>t.id===i.id))||i.set("visible",!t||i.id===t)}))}_getLayersConfig(t){return this.reportingOptions&&this.reportingOptions[t]?this.reportingOptions[t]:null}_getReporter(){const t=[];return this._flowItems.forEach((i=>{switch(i){case"layer-list":t.push(this.getLayerListFlowItem());break;case"feature-list":t.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":t.push(this.getFilterPanel());break;case"feature-details":t.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":t.push(this.getChooseCategoryFlowItem());break;case"feature-create":t.push(this.getFeatureCreateFlowItem());break;case"comment-details":t.push(this.getCommentDetailsFlowItem());break;case"add-comment":t.push(this.getAddCommentFlowItem())}})),e("calcite-panel",{class:"width-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},this.mapView?e("calcite-flow",null,t?.length>0&&t):e("calcite-loader",{label:"",scale:"m"}))}filterModal(){return(this.layerExpressions?this.layerExpressions.filter((t=>t.id===this._selectedLayerId)):[]).length>0&&e("calcite-modal",{"aria-labelledby":"modal-title",class:"modal",kind:"brand",onCalciteModalClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},e("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},this._translations?.filterLayerTitle?.replace("{{title}}",this._selectedLayerName)),e("div",{slot:"content"},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:()=>{this._closeFilter()},comboboxOverlayPositioning:"fixed",layerExpressions:this._currentLayerExpressions,onFilterListReset:()=>{this._filterActive=!1,this._featureList.refresh()},onFilterUpdate:()=>this._handleFilterUpdate(this._filterList?.filterCount>0),ref:t=>this._filterList=t,resetBtn:!0,resetFiltersOnDisconnect:!1,view:this.mapView,zoomBtn:!1})))}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,null!=this._filterList&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions())}async sortOptionClick(t,i,s){this._updatedSorting={field:t,order:i},this._updatedSortOption=s}_toggleSort(){const t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return e("calcite-popover",{autoClose:!0,label:"",offsetDistance:0,placement:this.isMobile?"leading-start":"bottom-start",pointerDisabled:!0,referenceElement:"sort-popover"},e("calcite-list",{label:"","selection-mode":"single-persist"},e("calcite-list-item",{label:this._translations.sortNewest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")},selected:"newest"===this._updatedSortOption,value:"newest"}),e("calcite-list-item",{label:this._translations.sortOldest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")},selected:"oldest"===this._updatedSortOption,value:"oldest"}),t&&e(h,null,e("calcite-list-item",{label:this._translations.sortHighestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"desc","highestVoted")},selected:"highestVoted"===this._updatedSortOption,value:"highestVoted"}),e("calcite-list-item",{label:this._translations.sortLowestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"asc","lowestVoted")},selected:"lowestVoted"===this._updatedSortOption,value:"lowestVoted"}))))}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(t){this._showLoadingIndicator=!0,this._filterActive=t,await this._featureList.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportsHeader,selected:"layer-list"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),this._hasValidLayers&&this.enableNewReports&&e("calcite-button",{appearance:"solid",onClick:this.navigateToChooseCategory.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),e("calcite-panel",{"full-height":!0,"full-width":!0},e("layer-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",filterByMapExtent:this.filterByMapExtent,layers:this._editableLayerIds?.length>0?this._editableLayerIds:this._layers,locale:this.locale,mapView:this.mapView,onLayerSelect:this.displayFeaturesList.bind(this),onLayersListLoaded:this.layerListLoaded.bind(this),ref:t=>this._layerList=t,showFeatureCount:!0,showNextIcon:!0})))}getChooseCategoryFlowItem(){const t=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd)):[];return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"reporting-layer-list"===this._flowItems[this._flowItems.length-1]},e("calcite-panel",{"full-height":!0,"full-width":!0},e("div",{class:"progress-bar"},e("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),e("calcite-notice",{class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{slot:"message"},this._translations.chooseCategoryMsg)),e("layer-list",{class:"height-full",layers:t,locale:this.locale,mapView:this.mapView,onLayerSelect:this.navigateToCreateFeature.bind(this),showFeatureCount:!1,showNextIcon:!1})))}getFeatureCreateFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,onCalciteFlowItemBack:this.backFromCreateFeaturePanel.bind(this),selected:"feature-create"===this._flowItems[this._flowItems.length-1]},this._showSubmitCancelButton&&e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateFeaturePanel.bind(this),width:"full"},this._translations.cancel)),e("calcite-panel",{"full-height":!0,"full-width":!0},e("div",{class:"progress-bar"},e("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),e("create-feature",{customizeSubmit:!0,enableSearch:!0,enableSnapping:this.enableSnapping,floorLevel:this.floorLevel,formElements:this._formElements.find((t=>t.id===this._selectedLayerId)),isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onDrawComplete:this.onFormReady.bind(this),onEditingAttachment:this.showSubmitCancelButton.bind(this),onFail:this.createFeatureFailed.bind(this),onModeChanged:this.backFromCreateFeaturePanel.bind(this),onProgressStatus:this.updatedProgressStatus.bind(this),onSuccess:this.onReportSubmitted.bind(this),ref:t=>this._createFeature=t,searchConfiguration:this.searchConfiguration,selectedLayerId:this._selectedLayerId,submitNewReportsMessage:this.submitNewReportsMessage})))}updatedProgressStatus(t){this._updatedProgressBarStatus=t.detail}onFormReady(){this._showSubmitCancelButton=!0}showSubmitCancelButton(t){this._showSubmitCancelButton=!t.detail}onCreateFeatureSubmitButtonClick(){this._createFeature&&this._createFeature.submit()}backFromCreateFeaturePanel(){this._createFeature&&this.updateNonVisibleLayersOnMap(!1),this.backFromSelectedPanel()}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature&&this._createRelatedFeature.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(t){console.error(t.detail),this._featureCreationFailedErrorMsg=t.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(t){console.error(t.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,await this._featureDetails.refresh(this._currentFeature),setTimeout((()=>{this._showLoadingIndicator=!1}),300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList&&await this._layerList.refresh(),1===this._editableLayerIds.length?(await this._featureList.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(t){t.detail.layerId&&t.detail.layerName&&await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(t){this._nonVisibleValidLayers.find((t=>t.id===this._selectedLayerId))&&this._selectedLayer.set("visible",t)}async layerListLoaded(t){if(this._layerList&&"layer-list"===this._flowItems[this._flowItems.length-1]||"feature-list"===this._flowItems[0]){const i=t.detail,s=await c(this.mapView),e=[];this._validLayers=[],this._nonVisibleValidLayers=[],s.forEach((t=>{i.includes(t.id)&&(this._validLayers.push(t),t.visible||this._nonVisibleValidLayers.push(t),this._getLayersConfig(t.id)?.reporting&&this._layerItemsHash[t.id]&&this._layerItemsHash[t.id].supportsAdd&&e.push(t.id))})),this.handleMapClick(),this._hasValidLayers=e.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}}async displayFeaturesList(t){await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}updateSortingOptions(){const t=""===this.sortOption?"newest":this.sortOption,i="oldest"===t||"lowestVoted"===t?"asc":"desc",s=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"";this._updatedSorting={field:"newest"===t||"oldest"===t?this._selectedLayer.objectIdField:s,order:i},this._updatedSortOption=s||"highestVoted"!==t&&"lowestVoted"!==t?t:"newest"}async backFromFilterPanel(){null!=this._filterList&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),await this._featureList.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;const t=[...this._flowItems];"comment-details"!==t[t.length-1]&&"add-comment"!==t[t.length-1]&&this.clearHighlights(),"reporting-layer-list"!==t[t.length-1]&&("feature-create"!==t[t.length-1]||"feature-list"!==t[0]&&"feature-list"!==t[t.length-2])||this.updatePanelState(this._sidePanelCollapsed,!1),t.pop(),1!==t.length||"layer-list"!==t[0]?this._flowItems=[...t]:this.navigateToHomePage()}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(t,i){this._sidePanelCollapsed=t,this._showFullPanel=i,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(t){this._showLoadingIndicator=!0,await this.setSelectedFeatures([t.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){const t=this._currentFeature.layer,i=await r(this.mapView);t.relationships.some((s=>{const e=i.filter((i=>t.url===i.url&&i.layerId===s.relatedTableId));if(e&&e.length>0)return this._relatedTable=e[0],!0}))}async updatingFeatureDetails(t){this._showLoadingIndicator=t}async selectionChanged(t){this.updatingFeatureDetails(!0),await this.setCurrentFeature(t.detail.selectedFeature[0]),this.highlightOnMap(t.detail.selectedFeature[0]),this._selectedFeatureIndex=t.detail.selectedFeatureIndex,await this._featureDetails.refresh(t.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(t){this._selectedRelatedFeature=[t.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(t,i){const s=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash[this._selectedLayerId].supportsAdd,a=this._currentLayerExpressions?.length>0;return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:i,loading:!this.isMobile&&this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"feature-list"===this._flowItems[this._flowItems.length-1]},this._toggleSort(),e("calcite-action",{icon:"sort-ascending-arrow",id:"sort-popover",slot:"header-actions-end",text:this._translations.sort,title:this._translations.sort}),a&&e("calcite-action",{icon:"filter",indicator:this._filterActive,onClick:()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]},slot:"header-actions-end",text:this._translations.filter,title:this._translations.filter}),this.isMobile&&this.getActionToExpandCollapsePanel(),this.enableNewReports&&s&&e("calcite-button",{appearance:"solid",onClick:this.navigateToCreateFeature.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),e("calcite-panel",{"full-height":!0},e("feature-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",filterByMapExtent:this.filterByMapExtent,highlightOnHover:!0,locale:this.locale,mapView:this.mapView,noFeaturesFoundMsg:this._translations.featureErrorMsg,onFeatureSelect:this.onFeatureSelectFromList.bind(this),pageSize:30,ref:t=>this._featureList=t,reportingOptions:this.reportingOptions,selectedLayerId:t,showFeatureSymbol:this.showFeatureSymbol,sortingInfo:this._updatedSorting})))}getFilterPanel(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._translations?.filterLayerTitle?.replace("{{title}}",this._selectedLayerName),loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromFilterPanel.bind(this),selected:"filter-panel"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("div",{class:"width-full",slot:"footer"},e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",disabled:!this._filterActive,onClick:this.resetFilterList.bind(this),width:"full"},this._translations.resetFilter),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromFilterPanel.bind(this),width:"full"},this._translations.close))),e("calcite-panel",{"full-height":!0},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtnOnClick:()=>{},comboboxOverlayPositioning:"fixed",layerExpressions:this._currentLayerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList?.filterCount>0)},ref:t=>this._filterList=t,resetBtn:!1,resetFiltersOnDisconnect:!1,view:this.mapView,zoomBtn:!1})))}getFeatureDetailsFlowItem(){const t=this._getLayersConfig(this._selectedLayerId)?.comment&&this._selectedLayer.relationships.length>0&&this._relatedTable;return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"feature-details"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"share-node",embed:!1,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,removePopoverOffset:!0,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",slot:"header-actions-end",socialMedia:!0,view:this.mapView}),this._selectedFeature.length>1&&this.getFeaturesPagination(),e("calcite-panel",null,e("feature-details",{class:"full-height",enableSnapping:this.enableSnapping,graphics:this._selectedFeature,layerItemsHash:this._layerItemsHash,locale:this.locale,mapView:this.mapView,onAddComment:this.showAddCommentsPanel.bind(this),onCommentSelect:this.onCommentSelectFromList.bind(this),onFeatureSelectionChange:this.selectionChanged.bind(this),onLikeOrDislikeClicked:()=>{this._featureList.refresh(!0)},onLoadingStatus:t=>{this.updatingFeatureDetails(t.detail)},ref:t=>this._featureDetails=t,reportingOptions:this.reportingOptions,showFullCommentTitle:this.showFullCommentTitle,showUserImageInCommentsList:this.showUserImageInCommentsList}),t&&e("calcite-button",{appearance:"solid",onClick:this.showAddCommentsPanel.bind(this),slot:"footer",width:"full"},this.commentButtonText||this._translations.comment)))}getFeaturesPagination(){return e("div",{class:"feature-pagination"},e("div",null,e("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-left",id:"solutions-back",onClick:()=>{this._featureDetails.back()},scale:"s",width:"full"}),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},e("span",null,this._translations.back))),e("calcite-button",{appearance:"transparent",onClick:()=>{this._featureDetails.toggleListView()},scale:"s"},e("span",{class:"pagination-count"},this._getCount())),e("div",null,e("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-right",id:"solutions-next",onClick:()=>{this._featureDetails.next()},scale:"s",width:"full"}),e("calcite-tooltip",{placement:"top","reference-element":"solutions-next"},e("span",null,this._translations.next))))}getCommentDetailsFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"comment-details"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("calcite-panel",{"full-height":!0},e("info-card",{allowEditing:!1,enableSnapping:this.enableSnapping,graphics:this._selectedRelatedFeature,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,paginationEnabled:!1})))}getAddCommentFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromCreateRelatedFeaturePanel.bind(this),selected:"add-comment"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("div",{class:"width-full",slot:"footer"},this._showSubmitCancelButton&&e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateRelatedFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateRelatedFeaturePanel.bind(this),width:"full"},this._translations.cancel))),e("calcite-panel",null,e("create-related-feature",{customizeSubmit:!0,enableSnapping:this.enableSnapping,locale:this.locale,mapView:this.mapView,onFail:this.addCommentFailed.bind(this),onFormReady:this.onFormReady.bind(this),onIsActionPending:this.showSubmitCancelButton.bind(this),onSuccess:this.onCommentSubmitted.bind(this),ref:t=>this._createRelatedFeature=t,selectedFeature:this._currentFeature,table:this._relatedTable})))}async setSelectedFeatures(t){this._selectedFeature=t,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:null)}async setCurrentFeature(t){if(this._currentFeature=t,t&&t.layer){const i=t.layer;this.setSelectedLayer(i.id,i.title),this._currentFeatureId=t.attributes[i.objectIdField],this._getLayersConfig(i.id)?.comment&&i.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(t){if(this.clearHighlights(),t&&t.geometry&&t.layer){const i=await d(this.mapView,t.layer.id);i.highlightOptions=null,this._highlightHandle=await u([t.getObjectId()],i,this.mapView,!0,this.zoomToScale)}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return e("calcite-action",{icon:this._sidePanelCollapsed?"chevrons-up":"chevrons-down",onClick:this.toggleSidePanel.bind(this),slot:"header-actions-end",text:this._sidePanelCollapsed?this._translations.expand:this._translations.collapse})}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),1===this._editableLayerIds?.length?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0)}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",this.onMapClick.bind(this))}async onMapClick(t){this.mapView.popupEnabled=!1;const i=await this.mapView.hitTest(t);if(i.results.length>0){const t=[];i.results.forEach((function(i){"graphic"===i.type&&t.push(i.graphic)}));const s=t.filter((t=>this._validLayers.includes(t.layer))),e=t.filter((t=>!this._validLayers.includes(t.layer)&&t?.layer?.popupEnabled&&t?.layer?.id));if(s.length>0&&(await this.setSelectedFeatures(s),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(t[0])):this._flowItems=[...this._flowItems,"feature-details"]),e.length>0){this.mapView.popupEnabled=!0;const t={features:e,updateLocationEnabled:!0};await this.mapView.openPopup(t)}}}_getCount(){const t=(this._selectedFeatureIndex+1).toString(),i=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}_updateFloorDefinitionExpression(t){const i=`${t.floorInfo.floorField} = '${this.floorLevel}'`,s=t.definitionExpression;t.definitionExpression=s?.indexOf(this._floorExpression)>-1?s.replace(this._floorExpression,i):i,this._floorExpression=i}_getFormElements(){const t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i&&this.floorLevel&&t?.formTemplate){const i=this._formElements.find((i=>i.id===t.id));0!==this._formElements.length&&i||this._formElements.push({id:t.id,orgElements:t.formTemplate.elements,orgExpressionInfos:t.formTemplate.expressionInfos})}}reduceToConfiguredLayers(t,i){return Object.keys(t).reduce(((s,e)=>{const a=this.reportingOptions?this._getLayersConfig(e)?.visible:t[e].supportsAdd;return!i.includes(e)&&a&&s.push(e),s}),[])}refreshLists(){setTimeout((()=>{this._layerList&&"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList.refresh(),this._featureList&&this._featureList.refresh()}),50)}async _updateFeatures(){for(const t of this._editableLayerIds){const i=await d(this.mapView,t);await this._showMyFeaturesOnly(i);const s=i.layer?.floorInfo?.floorField;s&&this.floorLevel&&this._updateFloorDefinitionExpression(i.layer)}}async _showMyFeaturesOnly(t){const i=this.mapView.map.portalItem.portal?.credential?.userId;if(i){const s=t.layer.editFieldsInfo?.creatorField.toLowerCase();t.filter=this.showMyReportsOnly&&s?new this.FeatureFilter({where:s+"='"+i+"'"}):null}}async getLayersToShowInList(){const t=await p(this.mapView,!0),i=await c(this.mapView),s=[];i.forEach((i=>{"feature"===i?.type&&i?.editingEnabled&&i?.capabilities?.operations?.supportsAdd&&(t[i.id].supportsAdd=!0),i?.editingEnabled||s.push(i.id)})),this._editableLayerIds=this.reduceToConfiguredLayers(t,s),this._layerItemsHash=t}async renderFeaturesList(){this._flowItems=["feature-list"];const t={detail:this._editableLayerIds};await this.layerListLoaded(t),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0].title),this.updateSortingOptions(),this.handleSelectedLayersFilter()}_updateShareURL(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._selectedLayerId?i.searchParams.set("layerid",this._selectedLayerId):i.searchParams.delete("layerid"),this._selectedFeature?.length?i.searchParams.set("oid",this._currentFeatureId):i.searchParams.delete("oid"),this._shareNode.shareUrl=i.href}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){const t=await n(this.mapView,this.layerId);if(t){const i=await f([Number(this.objectId)],t,[],!0,this.mapView.spatialReference);i.length&&(await this.setSelectedFeatures(i),this._flowItems=this._flowItems.length&&"feature-details"!==this._flowItems[this._flowItems.length-1]?[...this._flowItems,"feature-details"]:[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){const t=this.layerExpressions?structuredClone(this.layerExpressions.filter((t=>t.id===this._selectedLayerId))):[];null!=this._t9nLayerExpressions&&this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){const t=await n(this.mapView,this._prevSelectedLayerId);t&&(t.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}resetFilterList(){this._filterList?.forceReset(),null!=this._selectedLayer&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(null==this._selectedLayer)return;const t=[];if(this._currentLayerExpressions?.length>0){const i=this._currentLayerExpressions[0];for(const s of i.expressions){const{active:i,definitionExpression:e}=s;i&&e&&t.push(`(${e})`)}this._filterActive=t.length>0,this.updateFilterLayerDefExpression(t,i.operator)}}updateFilterLayerDefExpression(t,i){const s=this._initDefExpressions[this._selectedLayerId],e=t?.length>0&&null!=s?`(${t.join(i)}) AND (${s})`:t.length>0?t.join(i):s;this._selectedLayer.definitionExpression=e}setInitExpressions(){if(this._initDefExpressions={},null==this.mapView)return;const t=this.mapView.map;t.allLayers.concat(t.allTables).forEach((t=>{"feature"===t.type&&(this._initDefExpressions[t.id]=t.definitionExpression)}))}handleLayerExpressionsT9n(t,i){t?.forEach((t=>{const s=i?.find((i=>i.id===t.id));null!=s&&(t.title=s.title,t.expressions?.forEach((t=>{const i=s.expressions?.find((i=>i.id===t.id));null!=i&&(t.name=i.name)})))}))}static get watchers(){return{isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],floorLevel:["floorLevelWatchHandler"],showMyReportsOnly:["showMyReportsOnlyWatchHandler"],filterByMapExtent:["filterByMapExtentChangeWatchHandler"],layerExpressions:["layerExpressionsWatchHandler"],showFeatureSymbol:["showFeatureSymbolWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}";export{m as crowdsource_reporter}
@@ -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,h as e,F as a}from"./p-e996c38f.js";import{l as h,g as n,f as c}from"./p-404cbf48.js";import{b as o,d as l,a as r,c as d}from"./p-dcd2f00b.js";import{e as p}from"./p-0a24ad5f.js";import"./p-80cb7c73.js";import"./p-d4056c1c.js";const f=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.customizeSubmit=!1,this.enableSnapping=!1,this.locale=void 0,this.mapView=void 0,this.selectedFeature=void 0,this.showGuidingMsg=!0,this.table=void 0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;reactiveUtils;_addingAttachment;_container;_editor;_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:"5251d18b13ed90499cd960305773b6fb04efd4db"},this.showGuidingMsg&&e("calcite-notice",{key:"9f2902f8dab476734d3a70fad4e5cc7996f721a8",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{key:"650f56b689cde544c96e24a966da7283efcdfcbe",slot:"message"},this._translations.provideDetailsMsg)),e("calcite-loader",{key:"be4c67978909e7dcf18fe8dece831b8830dee5d1",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.enableSnapping||this._container.classList.add("hide-editor-toolbar"),this._editor=new this.Editor({view:this.mapView,visibleElements:{flow:!0,settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping},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],n={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(n),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 n=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=n.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 n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};f.style=":host{display:block}.hide-editor-toolbar .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 y=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.enableSnapping=!1,this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.locale=void 0,this.showUserImageInCommentsList=!1,this.showFullCommentTitle=!0,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:"9fea2f56281419fd95720cd6b0f7369017d975b0","full-height":!0},e("info-card",{key:"ae9f7a316ba49b59dbbfaeb011aa3475b70f809b",allowEditing:!1,enableSnapping:this.enableSnapping,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:"7da88cf71d12c05321895a04d8e4039d74a466e9",class:"buttons-container"},this._commentsAvailable&&e("calcite-button",{key:"ebc7b32a69c551fe8e2a8dd10d69cde8b9078e4f",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&e("calcite-button",{key:"ef43f47829ebb6b04dbaaf7a20ee9848d9c21c87",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:"64651be363c2d1a5083002dcad4bff4d040a396a",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:"fff5e1ce72310a5a41b2223578165011026e1b8c",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,showFullTitle:this.showFullCommentTitle,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)})),n=[];h[i]&&h[i].features.forEach((t=>{n.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=n,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 n={updateFeatures:[h]};await e.applyEdits(n).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"]}}};y.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 b=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.filterByMapExtent=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;reactiveUtils;_filterByMapExtentHandle;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}filterByMapExtentWatchHandler(t){t?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this.filterByMapExtent&&this.initializeMapExtentFilter()}async componentDidLoad(){await this.setLayers()}render(){return e(a,{key:"ac83dce884ea72ee461cc628efb51bce08cf4ce5"},this._isLoading&&e("calcite-loader",{key:"77d15458f7a081acdae63f26ffaf7b2a5ca143ec",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&e("calcite-notice",{key:"d48169628cdaf271a1263f1ef3218a98e64897f1",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},e("div",{key:"e5568829b5c90524f0d9313e4812d30837609db2",slot:"title"},this._translations.error),e("div",{key:"13f04655936656439c1119c56a0f7f919994f402",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&e("calcite-list",{key:"b20eeb9052c5f75a2bf798e797ec928d37729484",label:"","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async initModules(){const[t]=await p.exports.loadModules(["esri/core/reactiveUtils"]);this.reactiveUtils=t}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(()=>{this.setLayers()}),{initial:!0})}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)}i.geometry=this.filterByMapExtent?this.mapView.extent:null;const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await c(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:"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 n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],filterByMapExtent:["filterByMapExtentWatchHandler"]}}};b.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;word-break:break-word}.feature-count{padding:0 10px}";export{f as create_related_feature,y as feature_details,b as layer_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{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-9161beb0",[[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],"_mapExtentFilterChecked":[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-892b42be",[[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"],"submitNewReportsMessage":[1,"submit-new-reports-message"],"theme":[1],"zoomToScale":[2,"zoom-to-scale"],"floorLevel":[1,"floor-level"],"showFullCommentTitle":[4,"show-full-comment-title"],"filterByMapExtent":[4,"filter-by-map-extent"],"sortOption":[1,"sort-option"],"_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],"_filterOpen":[32],"updateLayerExpressionsT9n":[64]},null,{"isMobile":["isMobileWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"floorLevel":["floorLevelWatchHandler"],"showMyReportsOnly":["showMyReportsOnlyWatchHandler"],"filterByMapExtent":["filterByMapExtentChangeWatchHandler"],"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-f75786a8",[[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-09041307",[[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-fa663804",[[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-8dd677dd",[[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-ba4e219a",[[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-41a3b49a",[[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-244316dd",[[1,"solution-item-accordion",{"locale":[1],"listSelectionMode":[1,"list-selection-mode"],"templateInfos":[16],"_sortedTemplateInfos":[32],"_translations":[32],"deselectAll":[64],"selectItem":[64]},null,{"locale":["localeWatchHandler"],"templateInfos":["templateInfosWatchHandler"]}]]],["p-72d04c7a",[[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-4ced7b11",[[1,"instant-apps-app-guide",{"header":[4],"data":[16],"messages":[32],"headerText":[32]},null,{"data":["watchPropHandler"],"headerText":["watchStateHandler"]}]]],["p-ff317687",[[1,"instant-apps-control-panel",{"components":[16],"view":[16]}]]],["p-4e7514a3",[[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-4f7fb338",[[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-443168f0",[[1,"instant-apps-keyboard-shortcuts",{"view":[16],"messages":[32]}]]],["p-a277d08c",[[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-9927342d",[[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-c6c697e5",[[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-65105504",[[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-f956c598",[[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-8a010f9e",[[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-f165921f",[[2,"instant-apps-measurement-tool",{"view":[16],"measureConfiguration":[16],"activeTool":[1,"active-tool"]},null,{"activeTool":["_updateToolType"]}]]],["p-aad84d69",[[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-541eb93a",[[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],"showFullTitle":[4,"show-full-title"],"filterByMapExtent":[4,"filter-by-map-extent"],"_featureItems":[32],"_featuresCount":[32],"_isLoading":[32],"_searchPlaceHolder":[32],"_fullTextSearchInfo":[32],"_translations":[32],"refresh":[64]},null,{"locale":["localeWatchHandler"],"selectedLayerId":["selectedLayerWatchHandler"],"sortingInfo":["sortingInfoWatchHandler"],"whereClause":["whereClauseHandler"],"filterByMapExtent":["filterByMapExtentHandler"]}]]],["p-ee3bb943",[[1,"delete-dialog",{"ids":[16],"layer":[16],"locale":[1],"open":[4],"_isDeleting":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"]}]]],["p-6d20da19",[[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-3ce5c7fd",[[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-1ac20964",[[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],"validateTableUpdate":[64],"validateActiveEdits":[64],"refresh":[64]},[[10,"beforeMapInfoChange","beforeMapInfoChange"],[8,"editorInitialized","editorInitialized"],[8,"closeEdit","closeEdit"],[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-decfd5fc",[[0,"feature-details",{"mapView":[16],"graphics":[16],"reportingOptions":[16],"layerItemsHash":[16],"locale":[1],"showUserImageInCommentsList":[4,"show-user-image-in-comments-list"],"showFullCommentTitle":[4,"show-full-comment-title"],"_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"],"filterByMapExtent":[4,"filter-by-map-extent"],"_noLayersToDisplay":[32],"_mapLayerIds":[32],"_isLoading":[32],"_translations":[32],"refresh":[64]},null,{"locale":["localeWatchHandler"],"filterByMapExtent":["filterByMapExtentWatchHandler"]}]]],["p-a5eaf7fe",[[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-7e233b70",[[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-5786b9da",[[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-4d5dd39e",[[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-b394f504",[[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-eba271dd",[[0,"create-feature",{"customizeSubmit":[4,"customize-submit"],"enableSearch":[4,"enable-search"],"floorLevel":[1,"floor-level"],"formElements":[8,"form-elements"],"isMobile":[4,"is-mobile"],"locale":[1],"mapView":[16],"searchConfiguration":[16],"selectedLayerId":[1,"selected-layer-id"],"showGuidingMsg":[4,"show-guiding-msg"],"showGuidingMsgWhileDrawing":[4,"show-guiding-msg-while-drawing"],"submitNewReportsMessage":[1,"submit-new-reports-message"],"_currentPage":[32],"_editorLoading":[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],"showCloseBtn":[4,"show-close-btn"],"_alertOpen":[32],"_count":[32],"_editRecordOpen":[32],"_mobileTitle":[32],"_showListView":[32],"_translations":[32],"_navigatedToRelatedFeature":[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-386b0163",[[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"],"enableSnapping":[4,"enable-snapping"],"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],"_mapExtentFilterChecked":[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-a415a60d",[[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"],"enableSnapping":[4,"enable-snapping"],"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"],"submitNewReportsMessage":[1,"submit-new-reports-message"],"theme":[1],"zoomToScale":[2,"zoom-to-scale"],"floorLevel":[1,"floor-level"],"showFullCommentTitle":[4,"show-full-comment-title"],"filterByMapExtent":[4,"filter-by-map-extent"],"sortOption":[1,"sort-option"],"_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],"_filterOpen":[32],"updateLayerExpressionsT9n":[64]},null,{"isMobile":["isMobileWatchHandler"],"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"floorLevel":["floorLevelWatchHandler"],"showMyReportsOnly":["showMyReportsOnlyWatchHandler"],"filterByMapExtent":["filterByMapExtentChangeWatchHandler"],"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-f75786a8",[[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-09041307",[[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-fa663804",[[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-8dd677dd",[[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-ba4e219a",[[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-41a3b49a",[[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-244316dd",[[1,"solution-item-accordion",{"locale":[1],"listSelectionMode":[1,"list-selection-mode"],"templateInfos":[16],"_sortedTemplateInfos":[32],"_translations":[32],"deselectAll":[64],"selectItem":[64]},null,{"locale":["localeWatchHandler"],"templateInfos":["templateInfosWatchHandler"]}]]],["p-72d04c7a",[[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-4ced7b11",[[1,"instant-apps-app-guide",{"header":[4],"data":[16],"messages":[32],"headerText":[32]},null,{"data":["watchPropHandler"],"headerText":["watchStateHandler"]}]]],["p-ff317687",[[1,"instant-apps-control-panel",{"components":[16],"view":[16]}]]],["p-4e7514a3",[[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-4f7fb338",[[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-443168f0",[[1,"instant-apps-keyboard-shortcuts",{"view":[16],"messages":[32]}]]],["p-a277d08c",[[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-9927342d",[[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-c6c697e5",[[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-65105504",[[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-f956c598",[[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-8a010f9e",[[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-f165921f",[[2,"instant-apps-measurement-tool",{"view":[16],"measureConfiguration":[16],"activeTool":[1,"active-tool"]},null,{"activeTool":["_updateToolType"]}]]],["p-aad84d69",[[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-541eb93a",[[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],"showFullTitle":[4,"show-full-title"],"filterByMapExtent":[4,"filter-by-map-extent"],"_featureItems":[32],"_featuresCount":[32],"_isLoading":[32],"_searchPlaceHolder":[32],"_fullTextSearchInfo":[32],"_translations":[32],"refresh":[64]},null,{"locale":["localeWatchHandler"],"selectedLayerId":["selectedLayerWatchHandler"],"sortingInfo":["sortingInfoWatchHandler"],"whereClause":["whereClauseHandler"],"filterByMapExtent":["filterByMapExtentHandler"]}]]],["p-ee3bb943",[[1,"delete-dialog",{"ids":[16],"layer":[16],"locale":[1],"open":[4],"_isDeleting":[32],"_translations":[32]},null,{"locale":["localeWatchHandler"]}]]],["p-6d20da19",[[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-3ce5c7fd",[[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-2507c685",[[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"],"enableSnapping":[4,"enable-snapping"],"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],"validateTableUpdate":[64],"validateActiveEdits":[64],"refresh":[64]},[[10,"beforeMapInfoChange","beforeMapInfoChange"],[8,"editorInitialized","editorInitialized"],[8,"closeEdit","closeEdit"],[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-b5a102db",[[0,"feature-details",{"enableSnapping":[4,"enable-snapping"],"mapView":[16],"graphics":[16],"reportingOptions":[16],"layerItemsHash":[16],"locale":[1],"showUserImageInCommentsList":[4,"show-user-image-in-comments-list"],"showFullCommentTitle":[4,"show-full-comment-title"],"_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",{"customizeSubmit":[4,"customize-submit"],"enableSnapping":[4,"enable-snapping"],"locale":[1],"mapView":[16],"selectedFeature":[16],"showGuidingMsg":[4,"show-guiding-msg"],"table":[16],"_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"],"filterByMapExtent":[4,"filter-by-map-extent"],"_noLayersToDisplay":[32],"_mapLayerIds":[32],"_isLoading":[32],"_translations":[32],"refresh":[64]},null,{"locale":["localeWatchHandler"],"filterByMapExtent":["filterByMapExtentWatchHandler"]}]]],["p-a5eaf7fe",[[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-7e233b70",[[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-5786b9da",[[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-4d5dd39e",[[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-b394f504",[[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-99e00361",[[0,"create-feature",{"customizeSubmit":[4,"customize-submit"],"enableSearch":[4,"enable-search"],"enableSnapping":[4,"enable-snapping"],"floorLevel":[1,"floor-level"],"formElements":[8,"form-elements"],"isMobile":[4,"is-mobile"],"locale":[1],"mapView":[16],"searchConfiguration":[16],"selectedLayerId":[1,"selected-layer-id"],"showGuidingMsg":[4,"show-guiding-msg"],"showGuidingMsgWhileDrawing":[4,"show-guiding-msg-while-drawing"],"submitNewReportsMessage":[1,"submit-new-reports-message"],"_currentPage":[32],"_editorLoading":[32],"_translations":[32],"submit":[64],"refresh":[64]},null,{"locale":["localeWatchHandler"],"mapView":["mapViewWatchHandler"],"isMobile":["isMobileHandler"],"_editorLoading":["_editorLoadingWatchHandler"]}],[0,"info-card",{"enableEditGeometry":[4,"enable-edit-geometry"],"enableSnapping":[4,"enable-snapping"],"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],"showCloseBtn":[4,"show-close-btn"],"_alertOpen":[32],"_count":[32],"_editRecordOpen":[32],"_mobileTitle":[32],"_showListView":[32],"_translations":[32],"_navigatedToRelatedFeature":[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"],"enableSnapping":[4,"enable-snapping"],"graphicIndex":[2,"graphic-index"],"graphics":[1040],"locale":[1],"mapView":[16],"open":[1028],"_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))));
@@ -1,10 +1,10 @@
1
- Built Thu 01/30/2025 16:01:33.65
1
+ Built Fri 01/31/2025 13:04:36.57
2
2
  develop
3
- commit e475af576c5507b54948e11c21d11f9458e6e3c4
4
- Merge: 9ebfcf73c 37479ae14
3
+ commit 4ff5cfc0c77ffd31b59cb9a47247b928924fa537
4
+ Merge: b793f5011 8847f6620
5
5
  Author: John Hauck <jhauck@esri.com>
6
- Date: Thu Jan 30 14:51:44 2025 -0800
6
+ Date: Fri Jan 31 11:31:43 2025 -0800
7
7
 
8
- Merge pull request #1143 from Esri/popover-update
8
+ Merge pull request #1146 from Esri/misc-updates
9
9
 
10
- misc updates
10
+ Misc updates
@@ -25,6 +25,10 @@ export declare class CardManager {
25
25
  * When true the geometry of the current feature will be editable
26
26
  */
27
27
  enableEditGeometry: boolean;
28
+ /**
29
+ * When true the snapping options will be exposed
30
+ */
31
+ enableSnapping: boolean;
28
32
  /**
29
33
  * When true the component will render an optimized view for mobile devices
30
34
  */
@@ -28,6 +28,10 @@ export declare class CreateFeature {
28
28
  * boolean: When true the Search box will be displayed
29
29
  */
30
30
  enableSearch?: boolean;
31
+ /**
32
+ * When true the snapping options will be exposed
33
+ */
34
+ enableSnapping: boolean;
31
35
  /**
32
36
  * string: selected floor level
33
37
  */
@@ -17,6 +17,15 @@ import { EventEmitter } from '../../stencil-public-runtime';
17
17
  import CreateRelatedFeature_T9n from "../../assets/t9n/create-related-feature/resources.json";
18
18
  export declare class CreateRelatedFeature {
19
19
  el: HTMLCreateRelatedFeatureElement;
20
+ /**
21
+ * boolean: Set this to true when have a custom submit button in the app.
22
+ * This will hide the header and footer elements of the editor and user needs to execute the submit method manually.
23
+ */
24
+ customizeSubmit?: boolean;
25
+ /**
26
+ * When true the snapping options will be exposed
27
+ */
28
+ enableSnapping: boolean;
20
29
  /**
21
30
  * string: Locale to use for translation of stings in the UI
22
31
  */
@@ -26,22 +35,17 @@ export declare class CreateRelatedFeature {
26
35
  */
27
36
  mapView: __esri.MapView;
28
37
  /**
29
- * __esri.FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
30
- */
31
- table: __esri.FeatureLayer;
32
- /**
33
- * __esri.Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
34
- */
35
- selectedFeature: __esri.Graphic;
36
- /**
37
- * boolean: Set this to true when have a custom submit button in the app.
38
- * This will hide the header and footer elements of the editor and user needs to execute the submit method manually.
38
+ * __esri.Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
39
39
  */
40
- customizeSubmit?: boolean;
40
+ selectedFeature: __esri.Graphic;
41
41
  /**
42
42
  * boolean: When true the notice message should be shown
43
43
  */
44
44
  showGuidingMsg?: boolean;
45
+ /**
46
+ * __esri.FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
47
+ */
48
+ table: __esri.FeatureLayer;
45
49
  /**
46
50
  * boolean: When true a loading indicator will be shown while the editor loads
47
51
  */
@@ -56,23 +60,23 @@ export declare class CreateRelatedFeature {
56
60
  * The Editor constructor
57
61
  */
58
62
  protected Editor: typeof import("esri/widgets/Editor");
59
- /**
60
- * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
61
- * The Editor instance
62
- */
63
- protected _editor: __esri.Editor;
64
63
  /**
65
64
  * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
66
65
  */
67
66
  protected reactiveUtils: typeof import("esri/core/reactiveUtils");
67
+ /**
68
+ * boolean: Flag to maintain the add attachment
69
+ */
70
+ protected _addingAttachment: boolean;
68
71
  /**
69
72
  * HTMLDivElement: The node the editor will be added to
70
73
  */
71
74
  protected _container: HTMLDivElement;
72
75
  /**
73
- * boolean: Flag to maintain the add attachment
74
- */
75
- protected _addingAttachment: boolean;
76
+ * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
77
+ * The Editor instance
78
+ */
79
+ protected _editor: __esri.Editor;
76
80
  /**
77
81
  * boolean: Flag to maintain form submission using submit button
78
82
  */
@@ -125,6 +125,10 @@ export declare class CrowdsourceManager {
125
125
  * boolean: when true the share widget will be available
126
126
  */
127
127
  enableShare: boolean;
128
+ /**
129
+ * When true the snapping options will be exposed
130
+ */
131
+ enableSnapping: boolean;
128
132
  /**
129
133
  * boolean: when true the zoom widget will be available
130
134
  */
@@ -67,6 +67,10 @@ export declare class CrowdsourceReporter {
67
67
  * boolean: when true the search widget will be available
68
68
  */
69
69
  enableSearch: boolean;
70
+ /**
71
+ * When true the snapping options will be exposed
72
+ */
73
+ enableSnapping: boolean;
70
74
  /**
71
75
  * boolean: when true the zoom widget will be available
72
76
  */
@@ -21,6 +21,14 @@ export declare class EditCard {
21
21
  * When true the geometry of the current feature will be editable
22
22
  */
23
23
  enableEditGeometry: boolean;
24
+ /**
25
+ * When true the snapping options will be exposed
26
+ */
27
+ enableSnapping: boolean;
28
+ /**
29
+ * The index of the current graphic
30
+ */
31
+ graphicIndex: number;
24
32
  /**
25
33
  * esri/Graphic[]: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
26
34
  */
@@ -37,10 +45,6 @@ export declare class EditCard {
37
45
  * When true the component is displayed
38
46
  */
39
47
  open: boolean;
40
- /**
41
- * The index of the current graphic
42
- */
43
- graphicIndex: number;
44
48
  /**
45
49
  * boolean: When true a loading indicator will be shown while the editor loads
46
50
  */
@@ -18,6 +18,10 @@ import { IReportingOptions } from '../../components';
18
18
  import { ILayerItemsHash } from "../layer-list/layer-list";
19
19
  export declare class FeatureDetails {
20
20
  el: HTMLFeatureDetailsElement;
21
+ /**
22
+ * When true the snapping options will be exposed
23
+ */
24
+ enableSnapping: boolean;
21
25
  /**
22
26
  * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
23
27
  */