@esri/solutions-components 5.1.3 → 5.1.4

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 (99) hide show
  1. package/dist/cdn/{QWUJHEPY.js → 2FC35CH6.js} +1 -1
  2. package/dist/cdn/{TSLAML4I.js → 2MIHHSV7.js} +1 -1
  3. package/dist/cdn/{SY3D5J7W.js → 2N37BZ4E.js} +1 -1
  4. package/dist/cdn/2WPU2KT4.js +2 -0
  5. package/dist/cdn/{RM6HYEWM.js → 3254TLMD.js} +1 -1
  6. package/dist/cdn/{XOCNSPTC.js → 3I3KEFHZ.js} +1 -1
  7. package/dist/cdn/{56PIVLPU.js → 3RBIHT6V.js} +1 -1
  8. package/dist/cdn/{RNMVOUE3.js → 44AKLIIM.js} +1 -1
  9. package/dist/cdn/{6AWTIASQ.js → 4IC54M4H.js} +1 -1
  10. package/dist/cdn/{MXNYBLUV.js → 5BRYPQAD.js} +1 -1
  11. package/dist/cdn/{3N2AUH5S.js → 5LBPBZXP.js} +1 -1
  12. package/dist/cdn/{Y2DDFGCN.js → 6OLOFYVJ.js} +1 -1
  13. package/dist/cdn/{MOHSZVTU.js → 6TXK3KEU.js} +1 -1
  14. package/dist/cdn/{AKXVDLK3.js → 6U5LXE7U.js} +1 -1
  15. package/dist/cdn/{TKIL55TV.js → 6UFOKMNB.js} +1 -1
  16. package/dist/cdn/{AX2U2PGS.js → 7GVXGILS.js} +1 -1
  17. package/dist/cdn/{MZ63UWGX.js → AZOSLWYH.js} +1 -1
  18. package/dist/cdn/{KZBPVSUW.js → B23WYSJV.js} +1 -1
  19. package/dist/cdn/{PLELSLAV.js → B2ORGYXT.js} +1 -1
  20. package/dist/cdn/{KX4F4INQ.js → BANY6ETR.js} +1 -1
  21. package/dist/cdn/{WEADUP3Y.js → BKVQ3IHI.js} +1 -1
  22. package/dist/cdn/{S3CBTGXW.js → BNBBHCXL.js} +1 -1
  23. package/dist/cdn/{WXFKH5GM.js → CIHBT3OX.js} +1 -1
  24. package/dist/cdn/{HCY3VGST.js → CNSPJ2EC.js} +1 -1
  25. package/dist/cdn/{UNKENPV5.js → D7VJTHDK.js} +1 -1
  26. package/dist/cdn/{C7YLT2V6.js → DCW5HGF5.js} +1 -1
  27. package/dist/cdn/{KN5XFC7O.js → DKFIPJDR.js} +1 -1
  28. package/dist/cdn/{LABCYKSC.js → E6FH6VES.js} +1 -1
  29. package/dist/cdn/{3TO6KC3G.js → EJPQED7E.js} +1 -1
  30. package/dist/cdn/{AHC3CH4P.js → EKX2WVH2.js} +1 -1
  31. package/dist/cdn/{X52CK3FZ.js → ELYRONBX.js} +1 -1
  32. package/dist/cdn/{YWO5HXXP.js → FOYNK4SB.js} +1 -1
  33. package/dist/cdn/{JCPQ7OOS.js → G5MS44YY.js} +1 -1
  34. package/dist/cdn/{AULN2QXN.js → GZQHLOSR.js} +1 -1
  35. package/dist/cdn/{GVREVCUB.js → HA5UBO4F.js} +1 -1
  36. package/dist/cdn/{5LM5R34X.js → HCUAJO3O.js} +1 -1
  37. package/dist/cdn/{RQQWTDQG.js → IATGWFGP.js} +1 -1
  38. package/dist/cdn/{WKTMPKVR.js → IDF2I3MN.js} +1 -1
  39. package/dist/cdn/{NGAS7OCN.js → IPJJSTZU.js} +1 -1
  40. package/dist/cdn/{BACWGZE4.js → ISSIJKKQ.js} +1 -1
  41. package/dist/cdn/{5EYRW6FE.js → IVPBAGUF.js} +1 -1
  42. package/dist/cdn/{FWRNU7AK.js → JB5Q4OQ3.js} +1 -1
  43. package/dist/cdn/{VBZL2GZD.js → JCNPJDTU.js} +1 -1
  44. package/dist/cdn/{B57TWGXS.js → JJC3L6OY.js} +1 -1
  45. package/dist/cdn/{PPLHKHZ3.js → JXRHNAZL.js} +1 -1
  46. package/dist/cdn/{CYKO5XJY.js → KIF46SPD.js} +1 -1
  47. package/dist/cdn/{V4OFLP6D.js → KSVHFBIC.js} +1 -1
  48. package/dist/cdn/{MIKSQTTI.js → LWPJ3YGN.js} +1 -1
  49. package/dist/cdn/{TFWTXEN7.js → M43XW3ID.js} +1 -1
  50. package/dist/cdn/{3MN7XFQ2.js → MDHAIKSW.js} +1 -1
  51. package/dist/cdn/{37CMWBMW.js → MHMP2XKO.js} +1 -1
  52. package/dist/cdn/{G63VTGNV.js → MO3P37S4.js} +1 -1
  53. package/dist/cdn/{BWFET22E.js → N7CCVVIF.js} +1 -1
  54. package/dist/cdn/{OLN76PG4.js → NM5TPOWT.js} +1 -1
  55. package/dist/cdn/{VZY472CH.js → NNFMXYPK.js} +1 -1
  56. package/dist/cdn/{PIRHBQVO.js → P364VUYG.js} +1 -1
  57. package/dist/cdn/{6SHN7V3N.js → PM3JQSRI.js} +1 -1
  58. package/dist/cdn/{2GJEHDZJ.js → PRYFDRHL.js} +1 -1
  59. package/dist/cdn/{2DCSGUOX.js → QFMV5FIH.js} +1 -1
  60. package/dist/cdn/{IKA3ESQ5.js → RCCNBRKL.js} +1 -1
  61. package/dist/cdn/{B7YYMYZB.js → RPVFPXRS.js} +1 -1
  62. package/dist/cdn/{FL4YRGDB.js → SHH2SZMK.js} +1 -1
  63. package/dist/cdn/{ZIIHIUUV.js → STT65ICR.js} +1 -1
  64. package/dist/cdn/{LI3GKZ35.js → SY6G2BJJ.js} +1 -1
  65. package/dist/cdn/{3XOKCST3.js → SZOVVQKR.js} +1 -1
  66. package/dist/cdn/{GCLCH6NX.js → SZS6HTVV.js} +1 -1
  67. package/dist/cdn/{4PDKVX4T.js → T6LB222K.js} +1 -1
  68. package/dist/cdn/{DRZ2MEHM.js → TWQBX23F.js} +1 -1
  69. package/dist/cdn/{GLD7SDA5.js → TXO47END.js} +1 -1
  70. package/dist/cdn/{6FPVZV4K.js → UEROFURZ.js} +1 -1
  71. package/dist/cdn/{45JNINYV.js → ULDTR3ZJ.js} +1 -1
  72. package/dist/cdn/{KGL266WS.js → UO7BW66X.js} +1 -1
  73. package/dist/cdn/{ESH7SFXX.js → VEHKPB2T.js} +1 -1
  74. package/dist/cdn/{XEON6B7Z.js → VESIRJGO.js} +1 -1
  75. package/dist/cdn/{UEC5OGAS.js → VIDMRGST.js} +1 -1
  76. package/dist/cdn/{2GHTA5PV.js → VRNFQILE.js} +1 -1
  77. package/dist/cdn/{2CCKYJSY.js → WD2PX7HI.js} +1 -1
  78. package/dist/cdn/{O7LSXSBD.js → WJZWNDP6.js} +1 -1
  79. package/dist/cdn/WWV4AGZ6.js +2 -0
  80. package/dist/cdn/{ENJC4SNG.js → XPAPUNHH.js} +1 -1
  81. package/dist/cdn/{5BJO5ABV.js → XTHPWGYU.js} +1 -1
  82. package/dist/cdn/{NBWMZOGE.js → Y73BJ3I2.js} +1 -1
  83. package/dist/cdn/{PWGCOGC7.js → Z36KRE25.js} +1 -1
  84. package/dist/cdn/{MWTTZLRQ.js → ZMHQCYGN.js} +1 -1
  85. package/dist/cdn/ZSAOF72V.js +2 -0
  86. package/dist/cdn/{43MZA66W.js → ZU3YB37T.js} +1 -1
  87. package/dist/cdn/index.js +1 -1
  88. package/dist/chunks/runtime.js +1 -1
  89. package/dist/components/card-manager/customElement.js +1 -1
  90. package/dist/components/crowdsource-manager/customElement.js +7 -9
  91. package/dist/components/layer-table/customElement.js +75 -65
  92. package/dist/docs/api.json +1 -1
  93. package/dist/docs/docs.json +1 -1
  94. package/dist/docs/web-types.json +1 -1
  95. package/dist/solutions-components_commit.txt +7 -4
  96. package/package.json +1 -1
  97. package/dist/cdn/DTTQLI5W.js +0 -2
  98. package/dist/cdn/R437P4KQ.js +0 -2
  99. package/dist/cdn/UKAP3ALW.js +0 -2
package/dist/cdn/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a}from"./5BJO5ABV.js";import{v as e}from"./T3EPRHTT.js";import"./EXBEKVP5.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./PIRHBQVO.js"),"_translations:,builderVisible,hasActiveBuilderDesign,open,userFirstName"],"buffer-tools":[()=>import("./UNKENPV5.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./2GHTA5PV.js"),"_translations:,allowedPasteLayerIds:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapComponentId,mapView:,pasteEnabled,selectedFeaturesIds:,selectingFeatureFromMap,showCopyPasteActions,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./KN5XFC7O.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./NGAS7OCN.js"),"_translations:,aiImageExtraction:,aiTextExtraction:,allowMultipleCreation,appName,customizeSubmit,enableMessageLocation,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./UEC5OGAS.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./KGL266WS.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./MXNYBLUV.js"),"_translations:,aiImageExtraction:,aiTextExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableMessageLocation,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortFields:,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./PWGCOGC7.js")],"delete-button":[()=>import("./3XOKCST3.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./IKA3ESQ5.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./O7LSXSBD.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./KX4F4INQ.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./C7YLT2V6.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./FWRNU7AK.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./GVREVCUB.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,featuresReferenceId,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,pasteEnabled,position,showCloseBtn,showCopyPasteActions;back,getSelectedFeature,next,refresh,toggleListView"],"layer-list":[()=>import("./MIKSQTTI.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./5EYRW6FE.js"),"layerListRef:,mapView:,visibilityIcon"],"layer-table":[()=>import("./WXFKH5GM.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,layerIds:,mapHidden,mapInfo:,mapView:,pasteEnabled,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showCopyPasteActions,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate;isFilterActive"],"map-basemap-gallery":[()=>import("./6SHN7V3N.js"),"basemapConfig:,basemapGalleryRef:,mapView:"],"map-card":[()=>import("./AX2U2PGS.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapComponentId,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,pasteEnabled,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showCopyPasteActions,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./WKTMPKVR.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./AHC3CH4P.js"),"enabled,floorFilterRef:,mapView:"],"map-fullscreen":[()=>import("./MWTTZLRQ.js"),"fullscreenRef:,mapView:"],"map-layer-picker":[()=>import("./56PIVLPU.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./VBZL2GZD.js"),"legendRef:,mapView:"],"map-picker":[()=>import("./WEADUP3Y.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./S3CBTGXW.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchComponent:,searchConfiguration:,searchTerm"],"map-select-tools":[()=>import("./43MZA66W.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./BACWGZE4.js"),"_translations:,basemapConfig:,configLayerOrderDefined,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./RNMVOUE3.js")],"pdf-download":[()=>import("./LI3GKZ35.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./2CCKYJSY.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./R437P4KQ.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./BWFET22E.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-builder-assistant":[()=>import("./Y2DDFGCN.js"),"_translations:,design,readOnlyNotice"],"solution-configure-titles":[()=>import("./TFWTXEN7.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./G63VTGNV.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./4PDKVX4T.js"),"_translations:,card:,debugFailDeployment,design:,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./3MN7XFQ2.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./PLELSLAV.js"),"_translations:,card:,cardRef,diagramKey,open,readOnlyNotice,templateInfos:"],"solution-deploying-dialog":[()=>import("./DTTQLI5W.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./2GJEHDZJ.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./PPLHKHZ3.js"),"_translations:,card:,readOnlyNotice"],"solution-item-accordion":[()=>import("./MOHSZVTU.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:,usageContext;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./YWO5HXXP.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./ESH7SFXX.js"),"designType,isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./XEON6B7Z.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./GCLCH6NX.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./2DCSGUOX.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./TSLAML4I.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./HCY3VGST.js"),"_translations:,sortType;searchSolutions,setSearchOptions;getDisplayedSolutionIds"],"solutions-all-shell":[()=>import("./V4OFLP6D.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./B7YYMYZB.js"),"_translations:,appConfig,initTab,initTitleOrId,loadExampleBuilderData,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./QWUJHEPY.js"),"_translations:,appConfig,assistantOpen,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-list":[()=>import("./FL4YRGDB.js"),"_translations:,hasLinks,listTitle,referenceCards:,results:"],"solutions-deployed-panel":[()=>import("./TKIL55TV.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./RQQWTDQG.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./NBWMZOGE.js"),"_translations:,hideIndustryFilter,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./MZ63UWGX.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./5LM5R34X.js"),"_translations:;scrollToSection"],"solutions-searchsort-toolbar":[()=>import("./ZIIHIUUV.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-builder-assistant,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-list,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a)
2
+ import{a}from"./XTHPWGYU.js";import{v as e}from"./T3EPRHTT.js";import"./EXBEKVP5.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./P364VUYG.js"),"_translations:,builderVisible,hasActiveBuilderDesign,open,userFirstName"],"buffer-tools":[()=>import("./D7VJTHDK.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./VRNFQILE.js"),"_translations:,allowedPasteLayerIds:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapComponentId,mapView:,pasteEnabled,selectedFeaturesIds:,selectingFeatureFromMap,showCopyPasteActions,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./DKFIPJDR.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./IPJJSTZU.js"),"_translations:,aiImageExtraction:,aiTextExtraction:,allowMultipleCreation,appName,customizeSubmit,enableMessageLocation,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./VIDMRGST.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./UO7BW66X.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./5BRYPQAD.js"),"_translations:,aiImageExtraction:,aiTextExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableMessageLocation,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortFields:,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./Z36KRE25.js")],"delete-button":[()=>import("./SZOVVQKR.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./RCCNBRKL.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./WJZWNDP6.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./BANY6ETR.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./DCW5HGF5.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./JB5Q4OQ3.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./HA5UBO4F.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,featuresReferenceId,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,pasteEnabled,position,showCloseBtn,showCopyPasteActions;back,getSelectedFeature,next,refresh,toggleListView"],"layer-list":[()=>import("./LWPJ3YGN.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./IVPBAGUF.js"),"layerListRef:,mapView:,visibilityIcon"],"layer-table":[()=>import("./CIHBT3OX.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,layerIds:,mapHidden,mapInfo:,mapView:,pasteEnabled,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showCopyPasteActions,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate;isFilterActive"],"map-basemap-gallery":[()=>import("./PM3JQSRI.js"),"basemapConfig:,basemapGalleryRef:,mapView:"],"map-card":[()=>import("./7GVXGILS.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapComponentId,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,pasteEnabled,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showCopyPasteActions,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./IDF2I3MN.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./EKX2WVH2.js"),"enabled,floorFilterRef:,mapView:"],"map-fullscreen":[()=>import("./ZMHQCYGN.js"),"fullscreenRef:,mapView:"],"map-layer-picker":[()=>import("./3RBIHT6V.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./JCNPJDTU.js"),"legendRef:,mapView:"],"map-picker":[()=>import("./BKVQ3IHI.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./BNBBHCXL.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchComponent:,searchConfiguration:,searchTerm"],"map-select-tools":[()=>import("./ZU3YB37T.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./ISSIJKKQ.js"),"_translations:,basemapConfig:,configLayerOrderDefined,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./44AKLIIM.js")],"pdf-download":[()=>import("./SY6G2BJJ.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./WD2PX7HI.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./WWV4AGZ6.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./N7CCVVIF.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-builder-assistant":[()=>import("./6OLOFYVJ.js"),"_translations:,design,readOnlyNotice"],"solution-configure-titles":[()=>import("./M43XW3ID.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./MO3P37S4.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./T6LB222K.js"),"_translations:,card:,debugFailDeployment,design:,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./MDHAIKSW.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./B2ORGYXT.js"),"_translations:,card:,cardRef,diagramKey,open,readOnlyNotice,templateInfos:"],"solution-deploying-dialog":[()=>import("./ZSAOF72V.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./PRYFDRHL.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./JXRHNAZL.js"),"_translations:,card:,readOnlyNotice"],"solution-item-accordion":[()=>import("./6TXK3KEU.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:,usageContext;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./FOYNK4SB.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./VEHKPB2T.js"),"designType,isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./VESIRJGO.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./SZS6HTVV.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./QFMV5FIH.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./2MIHHSV7.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./CNSPJ2EC.js"),"_translations:,sortType;searchSolutions,setSearchOptions;getDisplayedSolutionIds"],"solutions-all-shell":[()=>import("./KSVHFBIC.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./RPVFPXRS.js"),"_translations:,appConfig,initTab,initTitleOrId,loadExampleBuilderData,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./2FC35CH6.js"),"_translations:,appConfig,assistantOpen,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-list":[()=>import("./SHH2SZMK.js"),"_translations:,hasLinks,listTitle,referenceCards:,results:"],"solutions-deployed-panel":[()=>import("./6UFOKMNB.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./IATGWFGP.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./Y73BJ3I2.js"),"_translations:,hideIndustryFilter,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./AZOSLWYH.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./HCUAJO3O.js"),"_translations:;scrollToSection"],"solutions-searchsort-toolbar":[()=>import("./STT65ICR.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-builder-assistant,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-list,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a)
@@ -2,7 +2,7 @@
2
2
  import "../cdn/main.css";
3
3
  import { makeRuntime as e } from "@arcgis/lumina";
4
4
  import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
5
- const t = e({ defaultAssetPath: "https://js.arcgis.com/5.1.2/solutions-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: i, setAssetPath: u } = t;
5
+ const t = e({ defaultAssetPath: "https://js.arcgis.com/5.1.3/solutions-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: i, setAssetPath: u } = t;
6
6
  t.t = s;
7
7
  t.o = r;
8
8
  t.c = a;
@@ -112,7 +112,7 @@ class B extends y {
112
112
  } catch (e) {
113
113
  console.error("Reset paste workflow failed:", e);
114
114
  } finally {
115
- this._pasteComponent.value.closed = !0;
115
+ this._pasteComponent.value && (this._pasteComponent.value.closed = !0);
116
116
  }
117
117
  }
118
118
  async load() {
@@ -4,13 +4,13 @@ import { g as $ } from "../../chunks/mapViewUtils.js";
4
4
  import { defineCustomElements as v } from "@arcgis/instant-apps-components/dist/loader";
5
5
  import { u as C } from "../../chunks/useT9n.js";
6
6
  import { css as I, html as s, nothing as L } from "lit";
7
- import { createRef as p, ref as u } from "lit-html/directives/ref.js";
7
+ import { createRef as c, ref as u } from "lit-html/directives/ref.js";
8
8
  import { LitElement as M, createEvent as _, noShadowRoot as x, safeClassMap as f, safeStyleMap as T } from "@arcgis/lumina";
9
9
  import { setupViewFocusKeyboardWatcher as S } from "templates-common-library/functionality/keyboardUtils";
10
10
  const F = I`@layer{:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-surface-2)}.padding-1-2{padding:.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.z-index-2{z-index:2!important}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-top{border-top:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none!important}.adjusted-height-50_25{height:calc(50% + 25px)}.display-grid{display:grid}.padding-inline-start-75{padding-inline-start:.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button,.esri-floor-filter__level-button,.esri-floor-filter__browse-button{width:40px!important;height:40px!important}.position-absolute-0{position:absolute;inset:0}.visibility-hidden{visibility:hidden;height:0px}.border-width-0{border-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;margin:100px 0;z-index:1}.left-0{left:0}.right-0{right:0}.floating-container .floating-button{box-shadow:0 10px 25px #5c5d5e99;-webkit-transform:translatey(5px);transform:translatey(5px);-webkit-transition:all .3s;transition:all .3s}.z-index-0{z-index:0!important}.z-index-1{z-index:1!important}.filter-content-space{--calcite-dialog-content-space: 0px}.background-dark{background:var(--calcite-color-surface-1)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}}`;
11
11
  class V extends M {
12
12
  constructor() {
13
- super(), this.coverPageEnabled = !1, this.customInfoText = "", this.defaultCenter = "", this.defaultGlobalId = "", this.defaultLayer = "", this.defaultLevel = "", this.defaultOid = "", this.defaultWebmap = "", this.honorMapFieldSettings = !1, this.introductionWindowEnabled = !1, this.enableAutoRefresh = !1, this.enableBasemap = !0, this.enableColumnReorder = !0, this.enableCSV = !0, this.enableFloorFilter = !0, this.enableFullscreen = !0, this.enableHome = !0, this.enableLegend = !0, this.enableLayerList = !0, this.enableMapList = !0, this.visibilityIcon = "eyeball", this.enableSearch = !0, this.enableShare = !1, this.enableSnapping = !0, this.enableZoom = !0, this.mapInfos = [], this.onlyShowUpdatableLayers = !1, this.popupHeaderColor = "", this.popupHeaderHoverColor = "", this.popupHeaderHoverTextColor = "", this.popupHeaderTextColor = "", this.shareIncludeEmbed = !1, this.shareIncludeSocial = !1, this.showNewestFirst = !0, this.theme = "light", this.zoomAndScrollToSelected = !1, this.enableSelectionTool = !0, this.featureSelectionMode = "multiple", this._deleteDialogOpen = !1, this._enableCreateFeatures = !0, this._hideFooter = !1, this._hideTable = !1, this._isMobile = !1, this._translations = C({ name: "crowdsource-manager", blocking: !0 }), this._layoutMode = "GRID", this._panelOpen = !0, this._numSelected = 0, this._filterOpen = !1, this._showInformationHeader = !0, this._layerExpressions = [], this._layerIds = [], this._isLoading = !0, this._mapExtentFilterChecked = !1, this._deleteIds = [], this._showInvalidMapAlert = !1, this._currentMapInfos = [], this._pasteEnabled = !1, this._showCopyPasteActions = !1, this._defaultAppLayoutHonored = !1, this._defaultCenterHonored = !1, this._defaultLevelHonored = !1, this._layerTable = p(), this._shouldSetMapView = !1, this._filterList = p(), this._mapCard = p(), this._isMapViewOnLoad = !1, this.showIntroductionWindow = _(), this.showCoverPage = _(), this.listenOn(window, "featureSelectionChange", this.featureSelectionChange), this.listenOn(window, "popupClosed", this.popupClosed), this.listenOn(window, "layoutChanged", this.layoutChanged), this.listenOn(window, "mapChanged", this.mapChanged), this.listenOn(window, "layerSelectionChange", this.layerSelectionChange), this.listenOn(window, "showDelete", this.showDelete), this.listenOn(window, "noLayersFound", this.noLayersFound), this.listenOn(window, "clearSelection", this.clearSelection), this.listenOn(window, "relatedRecordToggled", this.relatedRecordToggled), this.listenOn(window, "creatingFeature", this.creatingFeature), this.listenOn(window, "featuresCopied", this.featuresCopied), this.listenOn(window, "disablePaste", this.disablePaste), this.listenOn(window, "idsFound", this.idsFound), v(window);
13
+ super(), this.coverPageEnabled = !1, this.customInfoText = "", this.defaultCenter = "", this.defaultGlobalId = "", this.defaultLayer = "", this.defaultLevel = "", this.defaultOid = "", this.defaultWebmap = "", this.honorMapFieldSettings = !1, this.introductionWindowEnabled = !1, this.enableAutoRefresh = !1, this.enableBasemap = !0, this.enableColumnReorder = !0, this.enableCSV = !0, this.enableFloorFilter = !0, this.enableFullscreen = !0, this.enableHome = !0, this.enableLegend = !0, this.enableLayerList = !0, this.enableMapList = !0, this.visibilityIcon = "eyeball", this.enableSearch = !0, this.enableShare = !1, this.enableSnapping = !0, this.enableZoom = !0, this.mapInfos = [], this.onlyShowUpdatableLayers = !1, this.popupHeaderColor = "", this.popupHeaderHoverColor = "", this.popupHeaderHoverTextColor = "", this.popupHeaderTextColor = "", this.shareIncludeEmbed = !1, this.shareIncludeSocial = !1, this.showNewestFirst = !0, this.theme = "light", this.zoomAndScrollToSelected = !1, this.enableSelectionTool = !0, this.featureSelectionMode = "multiple", this._deleteDialogOpen = !1, this._enableCreateFeatures = !0, this._hideFooter = !1, this._hideTable = !1, this._isMobile = !1, this._translations = C({ name: "crowdsource-manager", blocking: !0 }), this._layoutMode = "GRID", this._panelOpen = !0, this._numSelected = 0, this._filterOpen = !1, this._showInformationHeader = !0, this._layerExpressions = [], this._layerIds = [], this._isLoading = !0, this._mapExtentFilterChecked = !1, this._deleteIds = [], this._showInvalidMapAlert = !1, this._currentMapInfos = [], this._pasteEnabled = !1, this._showCopyPasteActions = !1, this._defaultAppLayoutHonored = !1, this._defaultCenterHonored = !1, this._defaultLevelHonored = !1, this._layerTable = c(), this._shouldSetMapView = !1, this._filterList = c(), this._mapCard = c(), this._isMapViewOnLoad = !1, this.showIntroductionWindow = _(), this.showCoverPage = _(), this.listenOn(window, "featureSelectionChange", this.featureSelectionChange), this.listenOn(window, "popupClosed", this.popupClosed), this.listenOn(window, "layoutChanged", this.layoutChanged), this.listenOn(window, "mapChanged", this.mapChanged), this.listenOn(window, "layerSelectionChange", this.layerSelectionChange), this.listenOn(window, "showDelete", this.showDelete), this.listenOn(window, "noLayersFound", this.noLayersFound), this.listenOn(window, "clearSelection", this.clearSelection), this.listenOn(window, "relatedRecordToggled", this.relatedRecordToggled), this.listenOn(window, "creatingFeature", this.creatingFeature), this.listenOn(window, "featuresCopied", this.featuresCopied), this.listenOn(window, "disablePaste", this.disablePaste), this.listenOn(window, "idsFound", this.idsFound), v(window);
14
14
  }
15
15
  static {
16
16
  this.properties = { appLayout: 1, appProxies: 1, basemapConfig: 0, coverPageEnabled: 5, customInfoText: 1, defaultAppLayout: 1, defaultCenter: 1, defaultGlobalId: 1, defaultLayer: 1, defaultLevel: 1, defaultOid: 1, defaultWebmap: 1, honorMapFieldSettings: 5, introductionWindowEnabled: 5, enableAutoRefresh: 5, enableBasemap: 5, enableColumnReorder: 5, enableCSV: 5, enableFloorFilter: 5, enableFullscreen: 5, enableHome: 5, enableLegend: 5, enableLayerList: 5, enableMapList: 5, visibilityIcon: 1, enableSearch: 5, enableShare: 5, enableSnapping: 5, enableZoom: 5, mapInfos: 0, onlyShowUpdatableLayers: 5, popupHeaderColor: 1, popupHeaderHoverColor: 1, popupHeaderHoverTextColor: 1, popupHeaderTextColor: 1, searchConfiguration: 0, shareIncludeEmbed: 5, shareIncludeSocial: 5, showNewestFirst: 5, theme: 1, zoomAndScrollToSelected: 5, zoomToScale: 9, enableSelectionTool: 5, featureSelectionMode: 1, _deleteDialogOpen: 16, _enableCreateFeatures: 16, _hideFooter: 16, _hideTable: 16, _isMobile: 16, _translations: 16, _layer: 16, _layoutMode: 16, _mapInfo: 16, _mapView: 16, _panelOpen: 16, _numSelected: 16, _filterOpen: 16, _showInformationHeader: 16, _layerExpressions: 16, _layerIds: 16, _isLoading: 16, _mapExtentFilterChecked: 16, _deleteIds: 16, _showInvalidMapAlert: 16, _currentMapInfos: 16, _pasteEnabled: 16, _showCopyPasteActions: 16 };
@@ -172,8 +172,8 @@ class V extends M {
172
172
  }} .pasteEnabled=${this._pasteEnabled} .selectedFeaturesIds=${this._layerTable.value?.selectedIds} .selectingFeatureFromMap=${this.appLayout === "mapView"} .showCopyPasteActions=${this._showCopyPasteActions} .showSketchWidgets=${l?.geometryType !== "point"} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected}></card-manager></div>`;
173
173
  }
174
174
  _getTable(e, t, i) {
175
- const a = this.appLayout === "mapView", l = this.appLayout === "tableView", o = i && this._isMobile ? "visibility-hidden" : a ? "display-none" : "", r = a ? "height-full width-full z-index-0" : "display-none", h = this._getTableSizeClass(e, t), n = e === "HORIZONTAL" ? "horizontal" : "vertical", d = e === "HORIZONTAL" ? "header" : "panel-start", c = this.defaultWebmap && this.defaultLayer, m = this._isMobile ? "border-top" : "", b = this.defaultGlobalId ? this.defaultGlobalId?.indexOf(",") > -1 ? this.defaultGlobalId.split(",") : [this.defaultGlobalId] : void 0, g = this.defaultOid ? this.defaultOid?.indexOf(",") > -1 ? this.defaultOid.split(",").map((y) => Number.parseInt(y, 10)) : [Number.parseInt(this.defaultOid, 10)] : void 0;
176
- return s`<calcite-shell class=${`${h} ${m} border-bottom z-index-1`}>${this._isMobile ? void 0 : s`<calcite-action-bar class="border-sides" expand-disabled .layout=${n} slot=${d ?? L}>${this.getActions(e, t)}</calcite-action-bar>`}<div class=${`width-full height-full position-relative z-index-0 ${o}`}><layer-table .appLayout=${this.appLayout} .defaultGlobalId=${c ? b : void 0} .defaultLayerId=${c ? this.defaultLayer : ""} .defaultOid=${c && !b ? g : void 0} .enableAutoRefresh=${this.enableAutoRefresh} .enableCSV=${this.enableCSV} .enableColumnReorder=${this.enableColumnReorder} .enableInlineEdit=${this?._mapInfo?.enableInlineEdit} .enableTableAutosave=${this._mapInfo?.enableTableAutosave !== void 0 ? this._mapInfo?.enableTableAutosave : !0} .enableShare=${this.enableShare} .featureSelectionMode=${this.featureSelectionMode} .honorMapFieldSettings=${this.honorMapFieldSettings} .isMobile=${this._isMobile} .mapHidden=${l} .mapInfo=${this._mapInfo} .mapView=${this?._mapView} .pasteEnabled=${this._pasteEnabled} .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} .showNewestFirst=${this.showNewestFirst} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected} .zoomToScale=${this.zoomToScale} .showCopyPasteActions=${this._showCopyPasteActions} .layerIds=${this._layerIds} ${u(this._layerTable)}></layer-table></div><div class=${f(r)} id=full-map-view></div></calcite-shell>`;
175
+ const a = this.appLayout === "mapView", l = this.appLayout === "tableView", o = i && this._isMobile ? "visibility-hidden" : a ? "display-none" : "", r = a ? "height-full width-full z-index-0" : "display-none", h = this._getTableSizeClass(e, t), n = e === "HORIZONTAL" ? "horizontal" : "vertical", d = e === "HORIZONTAL" ? "header" : "panel-start", p = this.defaultWebmap && this.defaultLayer, m = this._isMobile ? "border-top" : "", b = this.defaultGlobalId ? this.defaultGlobalId?.indexOf(",") > -1 ? this.defaultGlobalId.split(",") : [this.defaultGlobalId] : void 0, g = this.defaultOid ? this.defaultOid?.indexOf(",") > -1 ? this.defaultOid.split(",").map((y) => Number.parseInt(y, 10)) : [Number.parseInt(this.defaultOid, 10)] : void 0;
176
+ return s`<calcite-shell class=${`${h} ${m} border-bottom z-index-1`}>${this._isMobile ? void 0 : s`<calcite-action-bar class="border-sides" expand-disabled .layout=${n} slot=${d ?? L}>${this.getActions(e, t)}</calcite-action-bar>`}<div class=${`width-full height-full position-relative z-index-0 ${o}`}><layer-table .appLayout=${this.appLayout} .defaultGlobalId=${p ? b : void 0} .defaultLayerId=${p ? this.defaultLayer : ""} .defaultOid=${p && !b ? g : void 0} .enableAutoRefresh=${this.enableAutoRefresh} .enableCSV=${this.enableCSV} .enableColumnReorder=${this.enableColumnReorder} .enableInlineEdit=${this?._mapInfo?.enableInlineEdit} .enableTableAutosave=${this._mapInfo?.enableTableAutosave !== void 0 ? this._mapInfo?.enableTableAutosave : !0} .enableShare=${this.enableShare} .featureSelectionMode=${this.featureSelectionMode} .honorMapFieldSettings=${this.honorMapFieldSettings} .isMobile=${this._isMobile} .mapHidden=${l} .mapInfo=${this._mapInfo} .mapView=${this?._mapView} .pasteEnabled=${this._pasteEnabled} .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} .showNewestFirst=${this.showNewestFirst} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected} .zoomToScale=${this.zoomToScale} .showCopyPasteActions=${this._showCopyPasteActions} .layerIds=${this._layerIds} ${u(this._layerTable)}></layer-table></div><div class=${f(r)} id=full-map-view></div></calcite-shell>`;
177
177
  }
178
178
  getActions(e, t) {
179
179
  const i = this._getDividerIcon(e, t), a = t ? this._translations.close : this._translations.open, l = "toggle-layout";
@@ -228,13 +228,11 @@ class V extends M {
228
228
  this._isMobile = e, t && (this._panelOpen = !0), this._isMobile ? (this.showHideMapPopupAndTable(!this._isMobile), this.appLayout = "splitView") : (this._layer?.isTable && (this.appLayout = "tableView"), this._isMobile = !1), this._layoutMode = this._isMobile ? "HORIZONTAL" : "GRID";
229
229
  }
230
230
  updateCurrentMapInfos() {
231
- this._currentMapInfos = this.mapInfos, !this.enableMapList && this.defaultWebmap && (this._currentMapInfos = this.mapInfos.filter((e) => e.id === this.defaultWebmap));
231
+ this._currentMapInfos = this.mapInfos, this._mapInfo = this._mapChange && this._getMapInfo(this._mapChange.id), this._handleCopyPasteActions(), !this.enableMapList && this.defaultWebmap && (this._currentMapInfos = this.mapInfos.filter((e) => e.id === this.defaultWebmap));
232
232
  }
233
233
  _handleCopyPasteActions() {
234
- if (this._layer) {
235
- const e = this._mapInfo?.enableCopyPaste !== !1;
236
- this._showCopyPasteActions = e && !this._isMobile;
237
- }
234
+ const e = this._mapInfo?.enableCopyPaste !== !1;
235
+ this._showCopyPasteActions = e && !this._isMobile;
238
236
  }
239
237
  _toggleLayout() {
240
238
  this._panelOpen = !this._panelOpen;
@@ -3,11 +3,11 @@ import { c as E } from "../../chunks/runtime.js";
3
3
  import { e as I, g as T, c as v } from "../../chunks/mapViewUtils.js";
4
4
  import { b as F } from "../../chunks/queryUtils.js";
5
5
  import { d as x } from "../../chunks/downloadUtils.js";
6
- import { b as g } from "../../chunks/interfaces.js";
6
+ import { b } from "../../chunks/interfaces.js";
7
7
  import { defineCustomElements as S } from "@arcgis/instant-apps-components/loader";
8
8
  import { u as O } from "../../chunks/useT9n.js";
9
9
  import { css as C, html as c, nothing as u } from "lit";
10
- import { createRef as y, ref as b } from "lit-html/directives/ref.js";
10
+ import { createRef as y, ref as g } from "lit-html/directives/ref.js";
11
11
  import { LitElement as A, createEvent as o, noShadowRoot as H, safeClassMap as m } from "@arcgis/lumina";
12
12
  import { f as L } from "../../chunks/helpers.js";
13
13
  import $ from "@arcgis/core/widgets/FeatureTable.js";
@@ -17,7 +17,7 @@ import w from "@arcgis/core/widgets/FeatureTable/support/TableTemplate.js";
17
17
  const V = C`@layer{:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-surface-1)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-dialog-content-space: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-surface-2)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}}`;
18
18
  class M extends A {
19
19
  constructor() {
20
- super(), this.defaultGlobalId = [], this.defaultLayerId = "", this.defaultOid = [], this.enableAutoRefresh = !1, this.enableColumnReorder = !0, this.enableCSV = !1, this.enableInlineEdit = !1, this.enableShare = !1, this.enableTableAutosave = !0, this.featureSelectionMode = "multiple", this.selectedRelatedIds = [], this.honorMapFieldSettings = !1, this.isMobile = !1, this.mapHidden = !1, this.showOnlyUpdatableLayers = !1, this.selectedIds = [], this.shareIncludeEmbed = !1, this.shareIncludeSocial = !1, this.showNewestFirst = !1, this.zoomAndScrollToSelected = !1, this.pasteEnabled = !1, this.showCopyPasteActions = !1, this.layerIds = [], this._allIds = [], this._configLayerOrderDefined = !1, this._csvExporting = !1, this._fetchingData = !1, this._hideTable = !1, this._filterActive = !1, this._selectAllActive = !1, this._showHideOpen = !1, this._showOnlySelected = !1, this._toolInfos = [], this._translations = O({ name: "layer-table", blocking: !0 }), this._fullTextSearchInfo = [], this._searchPlaceHolder = "", this._size = 0, this._queryingData = !1, this._editEnabled = !1, this._enabledLayerIds = [], this._defaultGlobalIdHonored = !1, this._defaultOidHonored = !1, this._deleteEnabled = !1, this._floorExpression = "", this._floorField = "", this._floorLevel = "", this._loaded = !1, this._shareNode = y(), this._toolbar = y(), this._searchExpression = "", this._skipEditCheck = !1, this._tempSelectedIds = [], this._outOFExtentOids = [], this._shouldUpdateTableOnExtentChange = !0, this._creatingFeature = !1, this._searchNode = y(), this._layerEditsHandles = [], this._pastedFeaturesIds = [], this._shouldSelectCreatedFeatures = !1, this.columnReorder = o(), this.featureSelectionChange = o(), this.toggleFilter = o(), this.showDelete = o(), this.relatedRecordToggled = o(), this.editMultipleFeatures = o(), this.copyFeatures = o(), this.pasteFeatures = o(), this.featuresAdded = o(), this.initCreateComponent = o(), this.requestLayerSelectionChange = o(), this.beforeFeatureSelectionChange = o(), this.continueEditing = o(), this.createFeatureEditorInitialized = (e) => {
20
+ super(), this.defaultGlobalId = [], this.defaultLayerId = "", this.defaultOid = [], this.enableAutoRefresh = !1, this.enableColumnReorder = !0, this.enableCSV = !1, this.enableInlineEdit = !1, this.enableShare = !1, this.enableTableAutosave = !0, this.featureSelectionMode = "multiple", this.selectedRelatedIds = [], this.honorMapFieldSettings = !1, this.isMobile = !1, this.mapHidden = !1, this.showOnlyUpdatableLayers = !1, this.selectedIds = [], this.shareIncludeEmbed = !1, this.shareIncludeSocial = !1, this.showNewestFirst = !1, this.zoomAndScrollToSelected = !1, this.pasteEnabled = !1, this.showCopyPasteActions = !1, this.layerIds = [], this._allIds = [], this._configLayerOrderDefined = !1, this._csvExporting = !1, this._fetchingData = !1, this._hideTable = !1, this._filterActive = !1, this._selectAllActive = !1, this._showHideOpen = !1, this._showOnlySelected = !1, this._toolInfos = [], this._translations = O({ name: "layer-table", blocking: !0 }), this._fullTextSearchInfo = [], this._searchPlaceHolder = "", this._size = 0, this._queryingData = !1, this._editEnabled = !1, this._enabledLayerIds = [], this._defaultGlobalIdHonored = !1, this._defaultOidHonored = !1, this._deleteEnabled = !1, this._floorExpression = "", this._floorField = "", this._floorLevel = "", this._loaded = !1, this._shareNode = y(), this._toolbar = y(), this._searchExpression = "", this._skipEditCheck = !1, this._tempSelectedIds = [], this._outOFExtentOids = [], this._shouldUpdateTableOnExtentChange = !0, this._creatingFeature = !1, this._searchNode = y(), this._layerEditsHandles = [], this._pastedFeaturesIds = [], this._shouldSelectCreatedFeatures = !1, this._isAddingListeners = !1, this.columnReorder = o(), this.featureSelectionChange = o(), this.toggleFilter = o(), this.showDelete = o(), this.relatedRecordToggled = o(), this.editMultipleFeatures = o(), this.copyFeatures = o(), this.pasteFeatures = o(), this.featuresAdded = o(), this.initCreateComponent = o(), this.requestLayerSelectionChange = o(), this.beforeFeatureSelectionChange = o(), this.continueEditing = o(), this.createFeatureEditorInitialized = (e) => {
21
21
  this._createFeatureEditor = e.detail;
22
22
  }, this.createFeatureEditorClosed = () => {
23
23
  this._createFeatureEditor = void 0;
@@ -149,9 +149,9 @@ class M extends A {
149
149
  if (s.rowHighlightIds.length && s.rowHighlightIds.removeAll(), s.rowHighlightIds.add(i), this._highlightFeatures(i), this.zoomAndScrollToSelected && s && this.mapView) {
150
150
  const a = s.viewModel.getObjectIdIndex(i);
151
151
  s.scrollToIndex(a);
152
- const l = t.layer, h = this.mapView.allLayerViews.toArray();
153
- let r;
154
- h.some(async (n) => n.layer.title === l?.title && n.layer.type === "feature" ? (r = n, this.mapView && await I([i], r, this.mapView, !0, void 0, this.zoomToScale), !0) : !1);
152
+ const l = t.layer, r = this.mapView.allLayerViews.toArray();
153
+ let h;
154
+ r.some(async (n) => n.layer.title === l?.title && n.layer.type === "feature" ? (h = n, this.mapView && await I([i], h, this.mapView, !0, void 0, this.zoomToScale), !0) : !1);
155
155
  }
156
156
  }
157
157
  async beforeLayerSelectionChange(e) {
@@ -210,10 +210,10 @@ class M extends A {
210
210
  await this._initToolInfos();
211
211
  }
212
212
  render() {
213
- const e = this._fetchingData || this._hideTable ? "display-none" : "height-full", t = this._fetchingData ? "" : "display-none", i = this._queryingData ? "" : "display-none", s = this._size.toString(), a = this.selectedIds.length.toString(), l = this.isMobile ? "height-full" : "height-full-adjusted", h = this._canShowFullTextSearch();
214
- return this._validateActiveActions(), c`<div><calcite-scrim class=${m(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile && c`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}` || ""}${h && c`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${(r) => {
215
- this._searchTextChanged(r);
216
- }} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder ?? u} type=search ${b(this._searchNode)}></calcite-input></div>` || ""}<calcite-loader class=${m(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${m(e)} ${b(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile ? void 0 : c`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}", s) + " | " + this._translations.recordsSelected.replace("{{selected-number-of-records}}", a)).replace("{{total}}", s).replace("{{selected}}", a)}</div>`}</calcite-shell></div>`;
213
+ const e = this._fetchingData || this._hideTable ? "display-none" : "height-full", t = this._fetchingData ? "" : "display-none", i = this._queryingData ? "" : "display-none", s = this._size.toString(), a = this.selectedIds.length.toString(), l = this.isMobile ? "height-full" : "height-full-adjusted", r = this._canShowFullTextSearch();
214
+ return this._validateActiveActions(), c`<div><calcite-scrim class=${m(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile && c`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}` || ""}${r && c`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${(h) => {
215
+ this._searchTextChanged(h);
216
+ }} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder ?? u} type=search ${g(this._searchNode)}></calcite-input></div>` || ""}<calcite-loader class=${m(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${m(e)} ${g(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile ? void 0 : c`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}", s) + " | " + this._translations.recordsSelected.replace("{{selected-number-of-records}}", a)).replace("{{total}}", s).replace("{{selected}}", a)}</div>`}</calcite-shell></div>`;
217
217
  }
218
218
  updated() {
219
219
  this._table && this.updateRelatedAttachmentColumns();
@@ -289,7 +289,7 @@ class M extends A {
289
289
  return c`<div class="display-flex" slot=${e ?? u}><field-selection .configExtraFields=${s?.extraFields} .layer=${t} .mapView=${this.mapView} .table=${i} .tableRef=${this.el}></field-selection>${this.enableShare && !this.isMobile ? this._getShare("share") : void 0}</div>`;
290
290
  }
291
291
  _getTableControlRow(e) {
292
- return c`<div class=${"height-51-px width-full display-flex"} slot=${e ?? u} ${b(this._toolbar)}>${this._getActionBar()}</div>`;
292
+ return c`<div class=${"height-51-px width-full display-flex"} slot=${e ?? u} ${g(this._toolbar)}>${this._getActionBar()}</div>`;
293
293
  }
294
294
  _getActionBar() {
295
295
  return c`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar") ?? u} layout=horizontal><calcite-action-group>${this.isMobile ? void 0 : this._getActions()}</calcite-action-group></calcite-action-bar>`;
@@ -300,7 +300,7 @@ class M extends A {
300
300
  _validateEnabledActions() {
301
301
  const e = this._getIds().length, t = ["zoom-to-object", "pencil", "trash", "erase", "selected-items-filter", "copy"];
302
302
  this._toolInfos?.forEach((i) => {
303
- i && t.indexOf(i.icon) > -1 && (i.disabled = i.icon === "pencil" ? e < 2 || e > g : e < 1, i.toolTip = i.icon === "pencil" ? e > g ? this._translations.featureEditLimitNotice : this._translations.editMultiple : i.toolTip);
303
+ i && t.indexOf(i.icon) > -1 && (i.disabled = i.icon === "pencil" ? e < 2 || e > b : e < 1, i.toolTip = i.icon === "pencil" ? e > b ? this._translations.featureEditLimitNotice : this._translations.editMultiple : i.toolTip);
304
304
  });
305
305
  }
306
306
  _validateActiveActions() {
@@ -310,7 +310,7 @@ class M extends A {
310
310
  });
311
311
  }
312
312
  async _initToolInfos() {
313
- const e = this._getIds().length > 0, t = this._relatedFeatureTable ? this._relatedFeatureTable.layer.isTable : this._layer?.isTable, i = this.featureSelectionMode === "multiple" && this._layer?.capabilities?.operations.supportsUpdate, s = this._getSelectedIds().length < 2 || this._getSelectedIds().length > g, a = !this.mapHidden && !t, l = !this._relatedFeatureTable && (!this._layer?.isTable || this._hasFilterExpressions()), h = this._featuresEmpty(), r = this.featureSelectionMode === "single";
313
+ const e = this._getIds().length > 0, t = this._relatedFeatureTable ? this._relatedFeatureTable.layer.isTable : this._layer?.isTable, i = this.featureSelectionMode === "multiple" && this._layer?.capabilities?.operations.supportsUpdate, s = this._getSelectedIds().length < 2 || this._getSelectedIds().length > b, a = !this.mapHidden && !t, l = !this._relatedFeatureTable && (!this._layer?.isTable || this._hasFilterExpressions()), r = this._featuresEmpty(), h = this.featureSelectionMode === "single";
314
314
  let n = this.enableCSV;
315
315
  if (this._relatedFeatureTable) {
316
316
  const f = await this._queryRelatedFeatures();
@@ -386,21 +386,21 @@ class M extends A {
386
386
  func: () => this._toggleShowSelected(),
387
387
  disabled: !e,
388
388
  toolTip: this._showOnlySelected ? this._translations.showAll : this._translations.showSelected
389
- }), !r && !this._relatedFeatureTable && d.push({
389
+ }), !h && !this._relatedFeatureTable && d.push({
390
390
  active: !1,
391
391
  icon: "list-check-all",
392
392
  indicator: !1,
393
393
  func: async () => await this._selectAll(),
394
394
  label: this._translations.selectAll,
395
- disabled: h,
395
+ disabled: r,
396
396
  toolTip: this._translations.selectAll
397
- }), !r && !this._relatedFeatureTable && d.push({
397
+ }), !h && !this._relatedFeatureTable && d.push({
398
398
  active: !1,
399
399
  icon: "compare",
400
400
  indicator: !1,
401
401
  func: async () => await this._switchSelected(),
402
402
  label: this._translations.switchSelected,
403
- disabled: h,
403
+ disabled: r,
404
404
  toolTip: this._translations.switchSelected
405
405
  }), d.push({
406
406
  active: !1,
@@ -421,33 +421,41 @@ class M extends A {
421
421
  },
422
422
  label: this._translations.exportCSV,
423
423
  loading: this._csvExporting,
424
- disabled: h,
424
+ disabled: r,
425
425
  toolTip: this._translations.exportCSV
426
426
  }), this._toolInfos = [...d];
427
427
  }
428
428
  async _addListenersForLayers() {
429
- this._layerEditsHandles.forEach((i) => i.remove()), this._layerEditsHandles = [];
430
- const e = this.mapView, t = [...new Set(this.layerIds)];
431
- if (!(!e || t.length === 0))
432
- for (const i of t) {
433
- const s = await T(e, i);
434
- if (!s)
435
- continue;
436
- const a = s.on("edits", async (l) => {
437
- const h = Array.isArray(l?.addedFeatures) ? l.addedFeatures : [], r = Array.isArray(l?.updatedFeatures) ? l.updatedFeatures : [];
438
- if (h.length === 0 && r.length === 0)
439
- return;
440
- const n = h.map((_) => _.objectId).filter((_) => _ != null), d = r.map((_) => _.objectId).filter((_) => _ != null);
441
- if (n.length === 0 && d.length === 0)
442
- return;
443
- const f = this._layer?.id;
444
- if (this._shouldSelectCreatedFeatures) {
445
- await this._selectFeatures(n, i), i === f && this.featuresAdded.emit(n);
446
- return;
447
- } else i === f && n.length > 0 ? (this._searchExpression ? (this._clearSelection(), await this._searchFullText(!0)) : await this._refresh(!1, !0), this.initCreateComponent.emit()) : i === f && d.length > 0 && this._searchExpression && await this._selectFeatures(d, i);
448
- });
449
- a && this._layerEditsHandles.push(a);
429
+ if (!this._isAddingListeners) {
430
+ this._isAddingListeners = !0;
431
+ try {
432
+ this._layerEditsHandles.forEach((i) => i.remove()), this._layerEditsHandles = [];
433
+ const e = this.mapView, t = [...new Set(this.layerIds)];
434
+ if (!e || t.length === 0)
435
+ return;
436
+ for (const i of t) {
437
+ const s = await T(e, i);
438
+ if (!s)
439
+ continue;
440
+ const a = s.on("edits", async (l) => {
441
+ const r = Array.isArray(l?.addedFeatures) ? l.addedFeatures : [], h = Array.isArray(l?.updatedFeatures) ? l.updatedFeatures : [];
442
+ if (r.length === 0 && h.length === 0)
443
+ return;
444
+ const n = r.map((_) => _.objectId).filter((_) => _ != null), d = h.map((_) => _.objectId).filter((_) => _ != null);
445
+ if (n.length === 0 && d.length === 0)
446
+ return;
447
+ const f = this._layer?.id;
448
+ if (this._shouldSelectCreatedFeatures) {
449
+ await this._selectFeatures(n, i), i === f && this.featuresAdded.emit(n);
450
+ return;
451
+ } else i === f && n.length > 0 ? (this._searchExpression ? (this._clearSelection(), await this._searchFullText(!0)) : await this._refresh(!1, !0), this.initCreateComponent.emit()) : i === f && d.length > 0 && this._searchExpression && await this._selectFeatures(d, i);
452
+ });
453
+ a && this._layerEditsHandles.push(a);
454
+ }
455
+ } finally {
456
+ this._isAddingListeners = !1;
450
457
  }
458
+ }
451
459
  }
452
460
  async _selectFeatures(e, t) {
453
461
  try {
@@ -479,9 +487,9 @@ class M extends A {
479
487
  const t = this._layer?.id;
480
488
  return this.mapInfo?.filterConfig?.layerExpressions && t !== void 0 && (e = this.mapInfo.filterConfig.layerExpressions.filter((i) => i.id === t)), e.length > 0;
481
489
  }
482
- _getAction(e, t, i, s, a, l, h, r) {
490
+ _getAction(e, t, i, s, a, l, r, h) {
483
491
  const n = this._layer === void 0 ? !0 : l;
484
- return c`<calcite-action .active=${e} .disabled=${n} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${h} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto", `layer-table-${t}`, r)}`;
492
+ return c`<calcite-action .active=${e} .disabled=${n} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${r} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto", `layer-table-${t}`, h)}`;
485
493
  }
486
494
  _showDelete() {
487
495
  this.showDelete.emit({
@@ -489,7 +497,7 @@ class M extends A {
489
497
  });
490
498
  }
491
499
  _getShare(e) {
492
- return c`<div id=${this._getId(e) ?? u}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${b(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom", e, this._translations.share)}</div>`;
500
+ return c`<div id=${this._getId(e) ?? u}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${g(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom", e, this._translations.share)}</div>`;
493
501
  }
494
502
  _updateShareUrl() {
495
503
  const e = this._shareNode.value?.shareUrl;
@@ -510,7 +518,9 @@ class M extends A {
510
518
  }
511
519
  _getIds() {
512
520
  let e = this._relatedFeatureTable ?? this._table;
513
- return this._relatedFeatureTable && this._table && this._table.highlightIds.getItemAt(0) !== this.selectedIds[0] && (e = this._table), e?.highlightIds.map((t) => Number.parseInt(t.toString(), 10)).toArray() ?? [];
521
+ this._relatedFeatureTable && this._table && this._table.highlightIds.getItemAt(0) !== this.selectedIds[0] && (e = this._table);
522
+ const t = e?.highlightIds.map((i) => Number.parseInt(i.toString(), 10)).toArray() ?? [];
523
+ return Array.from(new Set(t));
514
524
  }
515
525
  onTableNodeCreate(e) {
516
526
  this._tableNode = e;
@@ -779,13 +789,13 @@ class M extends A {
779
789
  this._table?.highlightIds.removeAll();
780
790
  const l = s[0].graphic.getObjectId();
781
791
  if (l) {
782
- const h = this._table?.highlightIds.indexOf(l);
783
- h !== void 0 && h < 0 && this._table?.highlightIds.add(l);
792
+ const r = this._table?.highlightIds.indexOf(l);
793
+ r !== void 0 && r < 0 && this._table?.highlightIds.add(l);
784
794
  }
785
795
  } else
786
796
  s.forEach((a) => {
787
- const l = Number(a.graphic.getObjectId()), h = this._table?.highlightIds.indexOf(l);
788
- h && h < 0 && l && this._table?.highlightIds.add(l);
797
+ const l = Number(a.graphic.getObjectId()), r = this._table?.highlightIds.indexOf(l);
798
+ r && r < 0 && l && this._table?.highlightIds.add(l);
789
799
  });
790
800
  this._showOnlySelected && this._table && (this._table.filterBySelectionEnabled = !0);
791
801
  }
@@ -813,10 +823,10 @@ class M extends A {
813
823
  if (this._relatedFeatureTable?.tableParent && this._relatedFeatureTable.highlightIds.length === 0) {
814
824
  const l = this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);
815
825
  if (l !== void 0) {
816
- const h = await this._queryRelatedFeatures(), r = [];
817
- h && h[l]?.features && (h[l].features.forEach((n) => {
818
- n.attributes && r.push(n.attributes[e.objectIdField]);
819
- }), i = r.length > 0 ? r : []);
826
+ const r = await this._queryRelatedFeatures(), h = [];
827
+ r && r[l]?.features && (r[l].features.forEach((n) => {
828
+ n.attributes && h.push(n.attributes[e.objectIdField]);
829
+ }), i = h.length > 0 ? h : []);
820
830
  }
821
831
  }
822
832
  t[e.id] = {
@@ -827,10 +837,10 @@ class M extends A {
827
837
  const s = this._relatedFeatureTable ?? this._table;
828
838
  if (!s)
829
839
  return;
830
- const a = s && s.columns.toArray().reduce((l, h) => {
831
- if (!h.hidden) {
832
- const r = h?.name || h?.fieldName;
833
- r && l.push(r.toLocaleLowerCase());
840
+ const a = s && s.columns.toArray().reduce((l, r) => {
841
+ if (!r.hidden) {
842
+ const h = r?.name || r?.fieldName;
843
+ h && l.push(h.toLocaleLowerCase());
834
844
  }
835
845
  return l;
836
846
  }, []);
@@ -849,13 +859,13 @@ class M extends A {
849
859
  ), this._updateToolInfoLoading("export", !1), this._csvExporting = !1;
850
860
  }
851
861
  async _queryRelatedFeatures() {
852
- const e = this._relatedFeatureTable ? this._relatedFeatureTable ? this._relatedFeatureTable.layer : this._relatedFeatureTable.tableParent?.layer : this._layer, t = this._relatedFeatureTable?.tableParent?.highlightIds?.items[0], i = this._relatedFeatureTable?.tableParent?.layer, s = e?.relationships?.find((h) => i.relationships?.some((r) => r.id === h.id)), a = new D({
862
+ const e = this._relatedFeatureTable ? this._relatedFeatureTable ? this._relatedFeatureTable.layer : this._relatedFeatureTable.tableParent?.layer : this._layer, t = this._relatedFeatureTable?.tableParent?.highlightIds?.items[0], i = this._relatedFeatureTable?.tableParent?.layer, s = e?.relationships?.find((r) => i.relationships?.some((h) => h.id === r.id)), a = new D({
853
863
  objectIds: [t],
854
864
  outFields: ["*"],
855
865
  relationshipId: s?.id
856
866
  });
857
- return t && a && await i.queryRelatedFeatures(a).catch(async (h) => {
858
- console.error(h);
867
+ return t && a && await i.queryRelatedFeatures(a).catch(async (r) => {
868
+ console.error(r);
859
869
  });
860
870
  }
861
871
  _updateToolInfoLoading(e, t) {
@@ -909,9 +919,9 @@ class M extends A {
909
919
  const a = this._layer?.attributeTableTemplate?.elements;
910
920
  let l = [];
911
921
  a?.length > 0 && this.honorMapFieldSettings && (l = a.map((n) => n.fieldName));
912
- const h = s?.fields && s?.fieldOrder ? s.fieldOrder.filter((n) => s?.fields && s.fields.indexOf(n) > -1) : l.length > 0 ? l : void 0;
913
- let r;
914
- return t && (r = t.reduce((n, d) => {
922
+ const r = s?.fields && s?.fieldOrder ? s.fieldOrder.filter((n) => s?.fields && s.fields.indexOf(n) > -1) : l.length > 0 ? l : void 0;
923
+ let h;
924
+ return t && (h = t.reduce((n, d) => {
915
925
  const f = {
916
926
  type: "field",
917
927
  fieldName: d.name,
@@ -919,13 +929,13 @@ class M extends A {
919
929
  menuConfig: this._getMenuConfig(d.name)
920
930
  };
921
931
  return s && s.fields && s?.fields?.length > 0 ? s.fields.indexOf(d.name) > -1 && n.push(f) : l.length > 0 ? l.indexOf(d.name) > -1 && n.push(f) : n.push(f), n;
922
- }, [])), r ? h ? r?.sort(this._sortFields.bind(this, h)) : r : [];
932
+ }, [])), h ? r ? h?.sort(this._sortFields.bind(this, r)) : h : [];
923
933
  }
924
934
  updateRelatedAttachmentColumns() {
925
935
  let e = this._getLayerOption(this._layer?.id || ""), t = this.hasAttachmentsEnabled(this._layer), i = !0;
926
- const s = "attachments", a = (e?.extraFields || []).reduce((h, r) => (r.startsWith("related:") ? h.related.push(r.split("related:")[1]) : h.extra.push(r), h), { related: [], extra: [] }), l = a.extra.some((h) => h.toLowerCase() === s);
927
- a && (t = l && t, i = a.related.length > 0, this._table?.columns.forEach((h) => {
928
- h.fieldName.startsWith("EsriFeatureTableRelationshipColumn") && (h.hidden = !a.related.some((r) => r.toLowerCase() === (h.effectiveLabel || "").toLowerCase())), h.fieldName.startsWith("EsriFeatureTableAttachmentsColumn") && (h.hidden = !a.extra.some((r) => r.toLowerCase() === h.effectiveLabel.toLowerCase()));
936
+ const s = "attachments", a = (e?.extraFields || []).reduce((r, h) => (h.startsWith("related:") ? r.related.push(h.split("related:")[1]) : r.extra.push(h), r), { related: [], extra: [] }), l = a.extra.some((r) => r.toLowerCase() === s);
937
+ a && (t = l && t, i = a.related.length > 0, this._table?.columns.forEach((r) => {
938
+ r.fieldName.startsWith("EsriFeatureTableRelationshipColumn") && (r.hidden = !a.related.some((h) => h.toLowerCase() === (r.effectiveLabel || "").toLowerCase())), r.fieldName.startsWith("EsriFeatureTableAttachmentsColumn") && (r.hidden = !a.extra.some((h) => h.toLowerCase() === r.effectiveLabel.toLowerCase()));
929
939
  })), this._table.relatedRecordsEnabled = i, this._table.attachmentsEnabled = t;
930
940
  }
931
941
  getFieldLabel(e, t) {