@esri/solutions-components 5.1.1 → 5.1.2

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 (127) hide show
  1. package/dist/cdn/{E5A7A2YY.js → 3CSSTWYC.js} +1 -1
  2. package/dist/cdn/{OYMJFSWN.js → 3DNEBMT3.js} +1 -1
  3. package/dist/cdn/{VTRC64F6.js → 3FIRDPVD.js} +1 -1
  4. package/dist/cdn/{5YD3IE6V.js → 3KYCZII7.js} +1 -1
  5. package/dist/cdn/{P2QNOVPZ.js → 3NI2BJYO.js} +1 -1
  6. package/dist/cdn/{G2H3X6NS.js → 3W7ANZME.js} +1 -1
  7. package/dist/cdn/{P4ZYEBFM.js → 4RH7N22O.js} +1 -1
  8. package/dist/cdn/{6FNUCCS3.js → 5F6WBFDO.js} +1 -1
  9. package/dist/cdn/{S57RXN34.js → 5IO4VX4R.js} +1 -1
  10. package/dist/cdn/{KXANPOG5.js → 5Q64VY2E.js} +1 -1
  11. package/dist/cdn/{N5D7USS3.js → 65OXHGCN.js} +1 -1
  12. package/dist/cdn/{DGY2VKHA.js → 6F6YFDOY.js} +1 -1
  13. package/dist/cdn/{PGFW2YO5.js → 6KBY56R4.js} +1 -1
  14. package/dist/cdn/{XYJU325L.js → 6L6JOGWD.js} +1 -1
  15. package/dist/cdn/{Q5XHG472.js → 6OKLCUSH.js} +1 -1
  16. package/dist/cdn/{224NND54.js → 6RQBPR56.js} +1 -1
  17. package/dist/cdn/{ERQAH6G3.js → 74Z5A6E2.js} +1 -1
  18. package/dist/cdn/{WJRVHF3G.js → 7AHZBLTM.js} +1 -1
  19. package/dist/cdn/{AXEZNIEX.js → 7EJXZVSX.js} +1 -1
  20. package/dist/cdn/{K6GC6RUA.js → 7NQYBMRX.js} +1 -1
  21. package/dist/cdn/{SWUMBQ6T.js → 7XPOQHB4.js} +1 -1
  22. package/dist/cdn/A4KEZALJ.js +2 -0
  23. package/dist/cdn/{7GVLJERR.js → AS7PVOU3.js} +1 -1
  24. package/dist/cdn/{ZX5GQTIE.js → BFFHQBDI.js} +1 -1
  25. package/dist/cdn/{3T56IY7B.js → BKIKLE4Z.js} +1 -1
  26. package/dist/cdn/{D25JFQEK.js → BWNEUQZZ.js} +1 -1
  27. package/dist/cdn/{VNYXOWZX.js → BZWJ3KFS.js} +115 -115
  28. package/dist/cdn/{4G5PYXFM.js → C2GWD5VP.js} +1 -1
  29. package/dist/cdn/{US5ONKMV.js → C3SIGIJC.js} +1 -1
  30. package/dist/cdn/CC7JGR5Q.js +2 -0
  31. package/dist/cdn/{R7DGMKJ5.js → CKPQTIAF.js} +1 -1
  32. package/dist/cdn/{Z324WI3X.js → CRTJERAB.js} +1 -1
  33. package/dist/cdn/{DJXQKOIX.js → CVKCFLNY.js} +1 -1
  34. package/dist/cdn/{CJJEWE3Q.js → CVNW2AU2.js} +1 -1
  35. package/dist/cdn/{XDLYXP3W.js → CXTHIJOC.js} +65 -73
  36. package/dist/cdn/{R6ANOQU2.js → DE7GSGUB.js} +1 -1
  37. package/dist/cdn/{5VUSSAPX.js → DEVAXAP7.js} +1 -1
  38. package/dist/cdn/{K5EP7XDM.js → DF2U7HIU.js} +1 -1
  39. package/dist/cdn/{NEZAEPUJ.js → DLV7AZZ6.js} +1 -1
  40. package/dist/cdn/{4RWJ22V3.js → DQJ36YEL.js} +1 -1
  41. package/dist/cdn/{MZOWOFAE.js → DXI5HEQM.js} +1 -1
  42. package/dist/cdn/{EL34IIAJ.js → E3O6DPAL.js} +1 -1
  43. package/dist/cdn/{W3SEKNJO.js → E5YZOOW3.js} +1 -1
  44. package/dist/cdn/{SUOJTOE2.js → EBDDUQNC.js} +1 -1
  45. package/dist/cdn/{RY7S2ICL.js → EHIUCEAX.js} +1 -1
  46. package/dist/cdn/{WZHA7MTK.js → EJRV6YWD.js} +1 -1
  47. package/dist/cdn/EX4K4RKP.js +2 -0
  48. package/dist/cdn/{2MDEEI52.js → FSFVH74N.js} +1 -1
  49. package/dist/cdn/{VIZY55AV.js → GHVPHEOH.js} +1 -1
  50. package/dist/cdn/GPIIJWNM.js +2 -0
  51. package/dist/cdn/{KWOBLDUS.js → GRVDJVOF.js} +1 -1
  52. package/dist/cdn/{P734JXTN.js → GSI62QHB.js} +1 -1
  53. package/dist/cdn/{B7TH7XYI.js → GWIC6C6P.js} +1 -1
  54. package/dist/cdn/{6CVQ3V2G.js → GZZMHIFA.js} +1 -1
  55. package/dist/cdn/{TDDVICGP.js → HQFL3NGM.js} +1 -1
  56. package/dist/cdn/{QKQXW6OQ.js → INFZEU32.js} +1 -1
  57. package/dist/cdn/{Q5LSIHQ4.js → J7DTCWOP.js} +1 -1
  58. package/dist/cdn/{GSOMYPWB.js → KB7CXY4N.js} +1 -1
  59. package/dist/cdn/{OU4VLS5H.js → KMY4AVEA.js} +1 -1
  60. package/dist/cdn/{KENYVRIH.js → L6XSVTY3.js} +1 -1
  61. package/dist/cdn/{DQPIAF2T.js → LCDURBN6.js} +1 -1
  62. package/dist/cdn/{JKUPRPWA.js → LFIP5DV3.js} +1 -1
  63. package/dist/cdn/{PDJXTJHO.js → LK6WQCXQ.js} +1 -1
  64. package/dist/cdn/{ONAAPGO3.js → LSDYUCCZ.js} +1 -1
  65. package/dist/cdn/{VEBBZ2RS.js → LXJI7FYN.js} +1 -1
  66. package/dist/cdn/{4SYZADNV.js → MVXK7UGO.js} +1 -1
  67. package/dist/cdn/{LIEHXKWK.js → MZ5XI2CY.js} +1 -1
  68. package/dist/cdn/{NWNUNME7.js → NIUKLQOT.js} +1 -1
  69. package/dist/cdn/{AIM6JKQK.js → NJSQ3NUT.js} +1 -1
  70. package/dist/cdn/{G772MFBV.js → NVNB4L52.js} +1 -1
  71. package/dist/cdn/{KLFAQLC6.js → NWOPIQFN.js} +1 -1
  72. package/dist/cdn/{M5VGNDPK.js → O6HS2AMH.js} +1 -1
  73. package/dist/cdn/{HQIM7CQS.js → OPWMEQVM.js} +1 -1
  74. package/dist/cdn/{VX3K6KJB.js → OVAQRVFG.js} +1 -1
  75. package/dist/cdn/{HMZ4VIJQ.js → P2FSR5OV.js} +1 -1
  76. package/dist/cdn/{E4OPUBGE.js → PQVA7SKB.js} +1 -1
  77. package/dist/cdn/{QWQ535RX.js → PSM4UX7K.js} +1 -1
  78. package/dist/cdn/{EWIPITVN.js → Q5N7I65T.js} +1 -1
  79. package/dist/cdn/{RPUUOIRT.js → QODVIACF.js} +1 -1
  80. package/dist/cdn/{VXIWNY5G.js → QVD3AXIP.js} +1 -1
  81. package/dist/cdn/{DEATAJID.js → RAL6IXW5.js} +1 -1
  82. package/dist/cdn/{Y3PEQHDX.js → RJLEYL7O.js} +1 -1
  83. package/dist/cdn/{JGSZS6VC.js → RNNEZRGA.js} +1 -1
  84. package/dist/cdn/{SEII6Y3C.js → RPL5Q7IL.js} +1 -1
  85. package/dist/cdn/{PEI3LZZL.js → RQVXDCWL.js} +1 -1
  86. package/dist/cdn/{LADUP3BG.js → SQEPSAKG.js} +1 -1
  87. package/dist/cdn/{DXQBDTBG.js → T7O4WZGU.js} +1 -1
  88. package/dist/cdn/{F6LBLCUM.js → UDWEFNJE.js} +1 -1
  89. package/dist/cdn/{VPHEAUEZ.js → UILBHLN7.js} +1 -1
  90. package/dist/cdn/{AIZ2P72X.js → VSRNGZ43.js} +1 -1
  91. package/dist/cdn/{3BL4GCSN.js → WNYAZ4ME.js} +1 -1
  92. package/dist/cdn/{GYVIOOMC.js → WRMREY3V.js} +1 -1
  93. package/dist/cdn/{5A5W5PLO.js → WVCL5OUK.js} +1 -1
  94. package/dist/cdn/{QKPUJ5CZ.js → XIUYVZYL.js} +1 -1
  95. package/dist/cdn/{VZ2ZZK3Y.js → Y2KRCLNN.js} +1 -1
  96. package/dist/cdn/{67KMG355.js → YBJ6AHAG.js} +1 -1
  97. package/dist/cdn/{OTTBXOCQ.js → YHF3Q7QB.js} +1 -1
  98. package/dist/cdn/{GV3GU3O3.js → Z6CZ7GFZ.js} +1 -1
  99. package/dist/cdn/{YJ3DKEEZ.js → ZB5UCRCG.js} +1 -1
  100. package/dist/cdn/{NQP26Q5H.js → ZHVO477V.js} +1 -1
  101. package/dist/cdn/{OSOSX7F3.js → ZXGNDW3R.js} +1 -1
  102. package/dist/cdn/index.js +1 -1
  103. package/dist/chunks/runtime.js +1 -1
  104. package/dist/components/arcgis-solutions-assistant/customElement.js +125 -119
  105. package/dist/components/crowdsource-manager/customElement.d.ts +0 -6
  106. package/dist/components/crowdsource-manager/customElement.js +14 -11
  107. package/dist/components/layer-table/customElement.js +2 -2
  108. package/dist/docs/api.json +1 -1
  109. package/dist/docs/docs.json +1 -1
  110. package/dist/docs/vscode.html-custom-data.json +1 -1
  111. package/dist/docs/web-types.json +1 -1
  112. package/dist/loader.js +1 -1
  113. package/dist/solutions-components_commit.txt +7 -4
  114. package/dist/types/lumina.d.ts +1 -1
  115. package/dist/types/preact.d.ts +1 -1
  116. package/dist/types/react.d.ts +1 -1
  117. package/dist/types/stencil.d.ts +1 -1
  118. package/dist/utils/interfaces.d.ts +1 -0
  119. package/package.json +1 -3
  120. package/dist/cdn/4VP3KTLL.js +0 -2
  121. package/dist/cdn/BQ2LFMED.js +0 -2
  122. package/dist/cdn/D5OMLQMV.js +0 -2
  123. package/dist/cdn/OGH565H7.js +0 -3
  124. package/dist/cdn/QH343537.js +0 -56
  125. package/dist/cdn/UUKV62PY.js +0 -109
  126. package/dist/cdn/WNM5Z4SM.js +0 -2
  127. package/dist/cdn/ZPEVEBJD.js +0 -121
package/dist/loader.js CHANGED
@@ -8,7 +8,7 @@ const s = a(e, {
8
8
  "consent-manager": [() => import("./components/consent-manager/customElement.js"), "_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],
9
9
  "create-feature": [() => import("./components/create-feature/customElement.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"],
10
10
  "create-related-feature": [() => import("./components/create-related-feature/customElement.js"), "_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],
11
- "crowdsource-manager": [() => import("./components/crowdsource-manager/customElement.js"), "_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCopyPaste,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"],
11
+ "crowdsource-manager": [() => import("./components/crowdsource-manager/customElement.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"],
12
12
  "crowdsource-reporter": [() => import("./components/crowdsource-reporter/customElement.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"],
13
13
  "deduct-calculator": [() => import("./components/deduct-calculator/customElement.js")],
14
14
  "delete-button": [() => import("./components/delete-button/customElement.js"), "_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],
@@ -1,7 +1,10 @@
1
- Built 06/23/2026 11:30:04.66
1
+ Built 06/24/2026 13:17:21.01
2
2
  release/5.1.0
3
- commit 0bea5d8c54a2e7f769a7cc54bfcee284e243ec24
3
+ commit 2d1e5935f67e4d3da9ee9efa085f69b8cc721d66
4
+ Merge: bb3caeeea 10d22946f
4
5
  Author: John Hauck <jhauck@esri.com>
5
- Date: Tue Jun 23 12:18:51 2026 -0600
6
+ Date: Wed Jun 24 14:04:17 2026 -0600
6
7
 
7
- update versions
8
+ Merge pull request #2612 from Esri/prev8048-handle-2-letter-locale
9
+
10
+ Truncate locale to 2 characters to handle tunable config param for doc skill
@@ -106,7 +106,7 @@ interface LuminaCreateRelatedFeature extends Partial<Pick<CreateRelatedFeature,
106
106
  onsuccess?: EventHandler<CreateRelatedFeature["success"]>;
107
107
  }
108
108
 
109
- interface LuminaCrowdsourceManager extends Partial<Pick<CrowdsourceManager, "appLayout" | "appProxies" | "basemapConfig" | "coverPageEnabled" | "customInfoText" | "defaultAppLayout" | "defaultCenter" | "defaultGlobalId" | "defaultLayer" | "defaultLevel" | "defaultOid" | "defaultWebmap" | "enableAutoRefresh" | "enableBasemap" | "enableColumnReorder" | "enableCopyPaste" | "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">>, h.JSX.HTMLAttributes<CrowdsourceManager> {
109
+ interface LuminaCrowdsourceManager extends Partial<Pick<CrowdsourceManager, "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">>, h.JSX.HTMLAttributes<CrowdsourceManager> {
110
110
  onshowCoverPage?: EventHandler<CrowdsourceManager["showCoverPage"]>;
111
111
  onshowIntroductionWindow?: EventHandler<CrowdsourceManager["showIntroductionWindow"]>;
112
112
  }
@@ -107,7 +107,7 @@ interface PreactCreateRelatedFeature extends Partial<Pick<CreateRelatedFeature,
107
107
  onsuccess?: EventHandler<CreateRelatedFeature["success"]>;
108
108
  }
109
109
 
110
- interface PreactCrowdsourceManager extends Partial<Pick<CrowdsourceManager, "appLayout" | "appProxies" | "basemapConfig" | "coverPageEnabled" | "customInfoText" | "defaultAppLayout" | "defaultCenter" | "defaultGlobalId" | "defaultLayer" | "defaultLevel" | "defaultOid" | "defaultWebmap" | "enableAutoRefresh" | "enableBasemap" | "enableColumnReorder" | "enableCopyPaste" | "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">>, HTMLAttributes<CrowdsourceManager> {
110
+ interface PreactCrowdsourceManager extends Partial<Pick<CrowdsourceManager, "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">>, HTMLAttributes<CrowdsourceManager> {
111
111
  onshowCoverPage?: EventHandler<CrowdsourceManager["showCoverPage"]>;
112
112
  onshowIntroductionWindow?: EventHandler<CrowdsourceManager["showIntroductionWindow"]>;
113
113
  }
@@ -107,7 +107,7 @@ interface ReactCreateRelatedFeature extends Partial<Pick<CreateRelatedFeature, "
107
107
  onsuccess?: EventHandler<CreateRelatedFeature["success"]>;
108
108
  }
109
109
 
110
- interface ReactCrowdsourceManager extends Partial<Pick<CrowdsourceManager, "appLayout" | "appProxies" | "basemapConfig" | "coverPageEnabled" | "customInfoText" | "defaultAppLayout" | "defaultCenter" | "defaultGlobalId" | "defaultLayer" | "defaultLevel" | "defaultOid" | "defaultWebmap" | "enableAutoRefresh" | "enableBasemap" | "enableColumnReorder" | "enableCopyPaste" | "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">>, HTMLProps<CrowdsourceManager> {
110
+ interface ReactCrowdsourceManager extends Partial<Pick<CrowdsourceManager, "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">>, HTMLProps<CrowdsourceManager> {
111
111
  onshowCoverPage?: EventHandler<CrowdsourceManager["showCoverPage"]>;
112
112
  onshowIntroductionWindow?: EventHandler<CrowdsourceManager["showIntroductionWindow"]>;
113
113
  }
@@ -107,7 +107,7 @@ interface StencilCreateRelatedFeature extends Partial<Pick<CreateRelatedFeature,
107
107
  onSuccess?: EventHandler<CreateRelatedFeature["success"]>;
108
108
  }
109
109
 
110
- interface StencilCrowdsourceManager extends Partial<Pick<CrowdsourceManager, "appLayout" | "appProxies" | "basemapConfig" | "coverPageEnabled" | "customInfoText" | "defaultAppLayout" | "defaultCenter" | "defaultGlobalId" | "defaultLayer" | "defaultLevel" | "defaultOid" | "defaultWebmap" | "enableAutoRefresh" | "enableBasemap" | "enableColumnReorder" | "enableCopyPaste" | "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">>, StencilJsx.HTMLAttributes<CrowdsourceManager> {
110
+ interface StencilCrowdsourceManager extends Partial<Pick<CrowdsourceManager, "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">>, StencilJsx.HTMLAttributes<CrowdsourceManager> {
111
111
  onShowCoverPage?: EventHandler<CrowdsourceManager["showCoverPage"]>;
112
112
  onShowIntroductionWindow?: EventHandler<CrowdsourceManager["showIntroductionWindow"]>;
113
113
  }
@@ -244,6 +244,7 @@ export interface IMapInfo {
244
244
  createFeatureButtonLabel: string;
245
245
  enableEditGeometry: boolean;
246
246
  enableTableAutosave: boolean;
247
+ enableCopyPaste?: boolean;
247
248
  }
248
249
 
249
250
  export interface ILayerOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solutions-components",
3
- "version": "5.1.1",
3
+ "version": "5.1.2",
4
4
  "description": "Web Components for Esri's Solutions Applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -79,10 +79,8 @@
79
79
  },
80
80
  "dependencies": {
81
81
  "@arcgis/ai-components": "^5.1.0",
82
- "@arcgis/ai-orchestrator": "^5.1.0-next",
83
82
  "@arcgis/app-components": "^4.15.40",
84
83
  "@arcgis/common-components": "^5.1.0",
85
- "@arcgis/components-utils": ">=5.0.0-next.1 <5.1",
86
84
  "@arcgis/lumina": "^5.1.0",
87
85
  "@emotion/css": "^11.13.5",
88
86
  "@esri/arcgis-html-sanitizer": "^4.1.0",
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import z from"./E5A7A2YY.js";import y from"./GV3GU3O3.js";import v from"./F6LBLCUM.js";import"./R7DGMKJ5.js";import"./SWUMBQ6T.js";import t from"./ERQAH6G3.js";import s from"./67KMG355.js";import r from"./CJJEWE3Q.js";import q from"./4G5PYXFM.js";import n from"./DXQBDTBG.js";import m from"./SAVDBHDE.js";import l from"./DQPIAF2T.js";import"./HYQVSB6C.js";import j from"./HQIM7CQS.js";import i from"./NWNUNME7.js";import h from"./RY7S2ICL.js";import g from"./LOSU3FPH.js";import"./K5EP7XDM.js";import"./YUWXPLTE.js";import{a as k}from"./PPFEO3UH.js";import"./NQH7ZZWD.js";import"./MHMM4RFR.js";import"./BSIPKI63.js";import e from"./4RWJ22V3.js";import b from"./TK5EXRZL.js";import{a as D,b as A,c as x}from"./2B4SGB3I.js";import{a as u}from"./RLSY4VUQ.js";import"./CGQALCTZ.js";import{a as S}from"./AIZ2P72X.js";import"./QMAV4UTN.js";import"./Y2AUIXNK.js";import"./TEHBW75B.js";import"./RSPNBIIE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./36LRAUE4.js";import"./JMY4B4WQ.js";import"./VQ5ZAQUF.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./6ERMTA3J.js";import"./GF4QELNV.js";import"./3TAQSXLA.js";import"./PY6RTQDR.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import{b as C}from"./YJ3DKEEZ.js";import{F as o,G as a,H as T,J as p,L as w,h as f,i as d,q as c}from"./T3EPRHTT.js";import"./EXBEKVP5.js";export default $arcgis.t(([,,,{m:I},{c:O,j:F,n:$,o:L,r:h},{g:B,h:R},,,{b:M},{a:P},y,E,,,,{a:g}])=>{var N=f`.back-color-override{background-color:var(--calcite-color-surface-3);--calcite-tab-border-color: var(--calcite-color-surface-4)}:host{--panel-edge-adjustment: 2vw;--assistant-panel-min-width: 420px;--assistant-panel-width: max(var(--assistant-panel-min-width), calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment) - 15px))}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tab{--calcite-color-focus: transparent}calcite-tab>*{--calcite-color-focus: initial}calcite-tabs{--calcite-tab-border-color: var(--calcite-color-border-2);flex:1;min-height:0}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-deployed-shell,solutions-all-shell,solutions-resources-shell,calcite-tab-nav,solution-deployed-card-panel,.resources-menu-container{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.resources-menu-container{background-color:var(--calcite-color-foreground-1)}.resources-menu-toolbar{height:66px;display:flex;align-items:center}.resources-menu-toolbar calcite-menu-item{transition:border-color .2s ease}.resources-menu-toolbar calcite-menu-item[active]{border-bottom-color:var(--calcite-color-brand)}.border{height:0;box-shadow:0 1px 0 0 var(--calcite-color-border-2)}.overflow-auto{overflow:auto}solution-details-panel{scroll-margin-top:3rem}.main-content{container-type:inline-size;display:flex;flex-direction:column;height:100%;overflow:hidden}.main-content.assistant-open{margin-inline-end:var(--assistant-panel-width)}.assistant-open solutions-searchsort-toolbar,.assistant-open solution-details-panel,.assistant-open solutions-deployed-shell,.assistant-open solutions-all-shell,.assistant-open solutions-resources-shell,.assistant-open calcite-tab-nav,.assistant-open solution-deployed-card-panel,.assistant-open .resources-menu-container,.assistant-open .border{margin-inline-start:max(var(--panel-edge-adjustment),calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment)));margin-inline-end:0;width:auto;max-width:1440px}.assistant-open solutions-searchsort-toolbar{overflow:hidden;scrollbar-gutter:stable}.builder-panel{position:fixed;top:65px;inset-inline-start:max(var(--panel-edge-adjustment),calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment)));inset-inline-end:var(--assistant-panel-width);bottom:0;z-index:400;display:flex;flex-direction:column;transition:transform .3s cubic-bezier(.4,0,.2,1);pointer-events:auto}.builder-panel.display-none{display:flex!important;transform:translate(100%);pointer-events:none}.builder-panel:dir(rtl).display-none{transform:translate(-100%)}@supports (-webkit-touch-callout: none){.builder-panel.display-none{display:none!important;transform:none}.builder-panel:dir(rtl).display-none{transform:none}}.builder-panel.display-none:has(~.assistant-panel.display-none){display:none!important;transition:none}.assistant-panel{position:fixed;top:65px;inset-inline-end:0;bottom:0;width:var(--assistant-panel-width);min-width:var(--assistant-panel-min-width);z-index:400;display:flex;flex-direction:column}@media(max-width:800px){.builder-panel{display:none!important}.assistant-panel{width:100%;box-shadow:none}.main-content.assistant-open{margin-inline-end:0}}.assistant-fab{position:fixed;bottom:var(--calcite-spacing-xxl);inset-inline-end:var(--calcite-spacing-xxl);z-index:500}calcite-tooltip{--calcite-tooltip-max-size-x: 16rem}.assistant-fab-popover{--calcite-popover-max-size-x: 16rem}.assistant-fab-popover__content{display:block;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-md);font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word}`,V={solution:{title:"Bus Stop ADA Compliance Inspections",description:"Bus Stop ADA Compliance Inspections can be used to perform routine inspections of bus stops for ADA compliance and monitor inspection progress.",thumbnailUrl:P,tags:["Bus Stop","ADA Compliance","Inspection","Field","Monitor","ArcGIS Solutions"],strings:[{key:"inspectionsByMonth",value:"Inspections by Month",description:"Descriptive title of dashboard chart displaying the number of inspections completed by month."},{key:"inspectionsCompleted",value:"Inspections Completed",description:"Descriptive title of dashboard indicator displaying the total number of inspections completed."},{key:"assetInventory",value:"Bus Stop Inventory",description:"Descriptive title of dashboard indicator displaying the total number of bus stops."}]},items:[{id:"b21885d38b3c4924922ce36c90112737",title:"Bus Stop ADA Inspection Dashboard",description:"An ArcGIS Dashboards app used to monitor bus stop ADA compliance inspections.",type:"Dashboard"},{id:"54f69b6af00b4f06b1c1eef05e80dc93",title:"Bus Stop ADA Inspection Map",description:"A map used by the Bus Stop ADA Inspection Dashboard app to monitor inspections.",type:"Web Map"},{id:"2fc93fa4e07e42508669d02acb837a75",title:"Bus Stop ADA Inspection Field Map",description:"A map used in ArcGIS Field Maps to inspect bus stops in the field for ADA compliance.",type:"Web Map"},{id:"0bd4ecf9c95e4dcd8ff1744adc12f323",title:"BusStops_field",description:"A hosted feature layer view used to inspect bus stops for ADA compliance.",type:"Feature Layer (hosted, view)"},{id:"0bd4ecf9c95e4dcd8ff1744adc12f324",title:"BusStops_dashboard",description:"A hosted feature layer view used to monitor bus stop ADA inspections.",type:"Feature Layer (hosted, view)"},{id:"36d0bdce3a74436f8314c88c9667003e",title:"BusStops",description:"A hosted feature layer used to store bus stop and ADA inspection details.",type:"Feature Layer (hosted)"}],featureLayer:{itemId:"36d0bdce3a74436f8314c88c9667003e",addLayers:!0,layers:[{id:"0",type:"Point",typeMutable:!0,name:"BusStops",description:"Point layer containing bus stop locations and ADA compliance information.",customFields:[{name:"stop_id",type:"string",alias:"Stop ID",description:"Identifier for the bus stop.",choiceList:null,length:255},{name:"location_description",type:"string",alias:"Location Description",description:"Description of the bus stop location.",choiceList:null,length:255},{name:"shelter_present",type:"string",alias:"Shelter Present",description:"Indicates if a waiting shelter is present at the bus stop.",choiceList:["Yes","No"],length:5},{name:"bench_present",type:"string",alias:"Bench Present",description:"Indicates if a bench is present at the bus stop.",choiceList:["Yes","No"],length:5},{name:"ada_compliant",type:"string",alias:"ADA Compliant",description:"Indicates if the bus stop meets ADA compliance requirements.",choiceList:["Yes","No"],length:5},{name:"capacity",type:"integer",alias:"Seating Capacity",description:"Number of people that can be seated at the bus stop."},{name:"distance_from_curb",type:"double",alias:"Distance from Curb (ft)",description:"Distance in feet from the curb to the shelter."},{name:"last_inspection_date",type:"date",alias:"Last Inspection Date",description:"Date of the most recent inspection."},{name:"installation_date",type:"date",alias:"Installation Date",description:"Date when the bus stop was installed."}],requiredFields:[{name:"route_number",type:"string",alias:"Route Number",description:"Number of the bus route that uses this stop.",choiceList:null,length:50},{name:"average_daily_riders",type:"integer",alias:"Average Daily Riders",description:"Average number of riders using this stop per day."},{name:"inspection_priority",type:"string",alias:"Inspection Priority",description:"Priority level for scheduling inspections.",choiceList:["High","Medium","Low"],length:10}],systemFields:[{name:"objectid",type:"oid",alias:"ObjectID",description:"Unique identifier for each record in the dataset."},{name:"globalid",type:"globalid",alias:"GlobalID",description:"Globally unique identifier for the record."},{name:"created_date",type:"date",alias:"Created On",description:"Date when the record was created."},{name:"created_user",type:"string",alias:"Created By",description:"User who created the record."},{name:"last_edited_date",type:"date",alias:"Last Edited On",description:"Date when the record was last edited."},{name:"last_edited_user",type:"string",alias:"Last Edited By",description:"User who last edited the record."}]},{id:"1",type:"Polyline",typeMutable:!1,name:"Routes",description:"Polyline layer containing bus route paths.",customFields:[{name:"route_name",type:"string",alias:"Route Name",description:"Name of the bus route.",choiceList:null,length:100},{name:"route_type",type:"string",alias:"Route Type",description:"Type of bus route service.",choiceList:["Express","Local","Rapid"],length:20},{name:"frequency_minutes",type:"integer",alias:"Frequency (minutes)",description:"How often buses run on this route in minutes."},{name:"route_length_miles",type:"double",alias:"Route Length (miles)",description:"Total length of the route in miles."}],requiredFields:[{name:"route_id",type:"string",alias:"Route ID",description:"Unique identifier for the route.",choiceList:null,length:50},{name:"active",type:"string",alias:"Active Status",description:"Whether the route is currently active.",choiceList:["Yes","No"],length:3}],systemFields:[{name:"objectid",type:"oid",alias:"ObjectID",description:"Unique identifier for each record in the dataset."},{name:"globalid",type:"globalid",alias:"GlobalID",description:"Globally unique identifier for the record."},{name:"created_date",type:"date",alias:"Created On",description:"Date when the record was created."},{name:"created_user",type:"string",alias:"Created By",description:"User who created the record."},{name:"last_edited_date",type:"date",alias:"Last Edited On",description:"Date when the record was last edited."},{name:"last_edited_user",type:"string",alias:"Last Edited By",description:"User who last edited the record."}]},{id:"2",type:"Polygon",typeMutable:!1,name:"ServiceAreas",description:"Polygon layer defining bus service coverage areas.",customFields:[{name:"area_name",type:"string",alias:"Area Name",description:"Name of the service area.",choiceList:null,length:100},{name:"service_level",type:"string",alias:"Service Level",description:"Level of service provided in this area.",choiceList:["High Frequency","Standard","Limited"],length:20},{name:"population",type:"integer",alias:"Population",description:"Estimated population within the service area."},{name:"area_sq_miles",type:"double",alias:"Area (sq miles)",description:"Size of the service area in square miles."}],requiredFields:[{name:"district_id",type:"string",alias:"District ID",description:"Unique identifier for the service district.",choiceList:null,length:50}],systemFields:[{name:"objectid",type:"oid",alias:"ObjectID",description:"Unique identifier for each record in the dataset."},{name:"globalid",type:"globalid",alias:"GlobalID",description:"Globally unique identifier for the record."},{name:"created_date",type:"date",alias:"Created On",description:"Date when the record was created."},{name:"created_user",type:"string",alias:"Created By",description:"User who created the record."},{name:"last_edited_date",type:"date",alias:"Last Edited On",description:"Date when the record was last edited."},{name:"last_edited_user",type:"string",alias:"Last Edited By",description:"User who last edited the record."}]},{id:"3",type:"Point",typeMutable:!1,name:"Tasks",description:"Point layer containing task assignments for bus stop inspections, related to BusStops layer.",customFields:[{name:"task_id",type:"string",alias:"Task ID",description:"Unique identifier for the task assignment.",choiceList:null,length:50},{name:"stop_id",type:"string",alias:"Bus Stop ID",description:"ID of the bus stop to be inspected (relates to BusStops layer).",choiceList:null,length:255},{name:"assigned_to",type:"string",alias:"Assigned To",description:"Name of the inspector assigned to this task.",choiceList:null,length:100},{name:"due_date",type:"date",alias:"Due Date",description:"Date by which the inspection should be completed."},{name:"priority",type:"string",alias:"Priority",description:"Priority level of the inspection task.",choiceList:["High","Medium","Low"],length:10},{name:"notes",type:"string",alias:"Task Notes",description:"Additional notes or instructions for the inspection task.",choiceList:null,length:500}],requiredFields:[{name:"status",type:"string",alias:"Task Status",description:"Current status of the task assignment.",choiceList:["Not Started","In Progress","Completed","Cancelled"],length:20},{name:"assignment_date",type:"date",alias:"Assignment Date",description:"Date when the task was created and assigned."}],systemFields:[{name:"objectid",type:"oid",alias:"ObjectID",description:"Unique identifier for each record in the dataset."},{name:"globalid",type:"globalid",alias:"GlobalID",description:"Globally unique identifier for the record."},{name:"created_date",type:"date",alias:"Created On",description:"Date when the record was created."},{name:"created_user",type:"string",alias:"Created By",description:"User who created the record."},{name:"last_edited_date",type:"date",alias:"Last Edited On",description:"Date when the record was last edited."},{name:"last_edited_user",type:"string",alias:"Last Edited By",description:"User who last edited the record."}]},{id:"4",typeMutable:!1,type:"Table",name:"Inspections",description:"Table containing inspection records and findings.",customFields:[{name:"inspection_id",type:"string",alias:"Inspection ID",description:"Unique identifier for the inspection.",choiceList:null,length:50},{name:"stop_id",type:"string",alias:"Bus Stop ID",description:"ID of the bus stop that was inspected.",choiceList:null,length:255},{name:"inspector_name",type:"string",alias:"Inspector Name",description:"Name of the person who performed the inspection.",choiceList:null,length:100},{name:"inspection_date",type:"date",alias:"Inspection Date",description:"Date when the inspection was performed."},{name:"overall_condition",type:"string",alias:"Overall Condition",description:"Overall condition assessment of the bus stop.",choiceList:["Excellent","Good","Fair","Poor","Critical"],length:20},{name:"issues_found",type:"integer",alias:"Issues Found",description:"Number of issues identified during inspection."},{name:"notes",type:"string",alias:"Inspection Notes",description:"Additional notes or comments about the inspection.",choiceList:null,length:1e3}],requiredFields:[{name:"inspection_status",type:"string",alias:"Inspection Status",description:"Current status of the inspection.",choiceList:["Scheduled","In Progress","Completed","Cancelled"],length:20}],systemFields:[{name:"objectid",type:"oid",alias:"ObjectID",description:"Unique identifier for each record in the dataset."},{name:"globalid",type:"globalid",alias:"GlobalID",description:"Globally unique identifier for the record."},{name:"created_date",type:"date",alias:"Created On",description:"Date when the record was created."},{name:"created_user",type:"string",alias:"Created By",description:"User who created the record."},{name:"last_edited_date",type:"date",alias:"Last Edited On",description:"Date when the record was last edited."},{name:"last_edited_user",type:"string",alias:"Last Edited By",description:"User who last edited the record."}]}]}},v=class extends T{constructor(){super(),this.initTitleOrId="",this.sortType="relevance",this.useLocalAppConfig=!1,this.loadExampleBuilderData=!1,this.authentication=void 0,this._isLoaded=!1,this.isMobile=!1,this._isViewportMobile=window.innerWidth<=800,this._isAssistantOpen=!1,this._builderVisible=!1,this._hasActiveBuilderDesign=!1,this._showFabTooltip=!0,this._fabTooltipDismissed=!1,this._activeTab="all-solutions",this._activeResourcesMenuItem="getStarted",this._showDeployedCardFetchFailed=!1,this._globalAlerts=[],this._translations=S({name:"solutions-deploy-app",blocking:!0}),this._agoTerms=`${L}`,this._allCards=[],this._allShell=o(),this._allTab=o(),this._allTabTitle=o(),this._resourcesTab=o(),this._resourcesTabTitle=o(),this._categories=[],this._configContextProvider=u({context:A}),this._delay=!1,this._deployAppNav=o(),this._deployedCardPanel=o(),this._deployCardFetchFailedMessage="",this._deployedCardTab=o(),this._deployedCardTabTitle=o(),this._detailsShell=o(),this._detailsTab=o(),this._detailsTabTitle=o(),this._forceInit=!1,this._getSuggested=!1,this._tabpanelsFixed=!1,this._solutionBuilderPanel=o(),this._builderDesignContextProvider=u({context:x}),this._isMobileContextProvider=u({context:D}),this._handleWindowResize=()=>{let t=window.innerWidth<=800;this._isViewportMobile!==t&&(this._isViewportMobile=t,t&&(this._isAssistantOpen=!1,this._builderVisible=!1))},this._mainContentRef=o(),this._mySolutionsShell=o(),this._mySolutionsTab=o(),this._mySolutionsTabTitle=o(),this._resourcesShell=o(),this._sortField="relevance",this._sortOrder="desc",this._telemetryManager=new g,this.deployAppTabSelected=c(),this.deployedCardFetchFailed=c(),this.detailsCardSelected=c(),this.deployedCardSelected=c(),this.metaTagStringsReady=c(),this.sessionRefreshed=c(),this.tabChanged=c(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"displayDeployedCard",this._handleDeployedCardDisplay),this.listenOn(window,"navTabSelected",this._setActiveTab),this.listenOn(window,"forceSelectTab",t=>this.selectTab(t.detail,{})),this.listenOn(window,"showGlobalAlert",this._handleShowGlobalAlert),this.listenOn(window,"openAssistant",()=>{this._openAssistant()}),this.listenOn(window,"closeAssistant",()=>{this._isAssistantOpen=!1,this._builderVisible=!1}),this.listenOn(window,"toggleSolutionBuilder",()=>{this._builderVisible=!this._builderVisible}),this.listenOn(window,"hideSolutionBuilder",()=>{this._builderVisible=!1}),this.listenOn(window,"discardBuilder",t=>{this._hasActiveBuilderDesign=t.detail}),this.listenOn(window,"arcgis-solution-design-update",this._solutionBuilderSelected),window.addEventListener("resize",this._handleWindowResize),this._builderDesignContextProvider.value={design:this.loadExampleBuilderData?V:null,updateDesign:t=>{this._builderDesignContextProvider.value={...this._builderDesignContextProvider.value,design:t}},isBuilderVisible:!1,setBuilderVisible:t=>{this._builderVisible=t,this._builderDesignContextProvider.value={...this._builderDesignContextProvider.value,isBuilderVisible:t}}},this.loadExampleBuilderData&&(this._hasActiveBuilderDesign=!0)}static{this.properties={appConfig:1,initTab:1,initTitleOrId:1,sortType:1,useLocalAppConfig:5,loadExampleBuilderData:5,authentication:16,_isLoaded:16,isMobile:16,_isViewportMobile:16,_isAssistantOpen:16,_builderVisible:16,_hasActiveBuilderDesign:16,_showFabTooltip:16,_fabTooltipDismissed:16,_activeTab:16,_activeResourcesMenuItem:16,_showDeployedCardFetchFailed:16,_globalAlerts:16,_translations:16}}static{this.styles=N}get _telemetry(){return this._configContextProvider.value?.telemetrySession}get _isDisconnectedEnvironment(){return this._configContextProvider.value?.isEnterprise===!0&&this._configContextProvider.value?.authentication?.CanSearchArcGISOnline===!1}get _readOnlyNotice(){return this._configContextProvider.value?.isEnterprise?this._translations.writableEnterprise||"":(this._translations.writableOnline||"").replace("{{url}}","https://status.arcgis.com/")}_openAssistant(){this._telemetry?.logEvent({category:h.ASSISTANT,action:"Open"}),this._isAssistantOpen=!0}async selectTab(t,e){if(this._isLoaded||this._forceInit){let i=this._getDefaultSearchOptions(e);switch(this._searchSortToolbar&&(this._searchSortToolbar.scope=t.tabType),t.tabType){case"all-solutions":this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,i&&await this._allShell.value?.searchSolutions(i);break;case"resources":this._resourcesTab.value.selected=!0,this._resourcesTabTitle.value.selected=!0;break;case"deployed-card":if(this.authentication?.IsSignedIn){if(this._forceInit=!0,this._isLoaded=!1,this._cardFetcherDeployed&&await this._getDeployedSolution(t.tabTitleOrId),this._deployedSolutions?.cards?.length>0){let s;this._deployedSolutions.cards.some(l=>l.id===t.tabTitleOrId?(s=l,this.deployedCardSelected.emit({card:s}),!0):!1),this._isLoaded=!0,this._forceInit=!1}else return this._isLoaded=!0,this._forceInit=!1,this.selectTab({tabTitleOrId:"",tabType:"deployments"},e);break}else await this.authentication?.signIn();case"details":if(this._allCards){let s=B(this._allCards,t.tabTitleOrId);s=s||R(this._allCards,t.tabTitleOrId),s?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(s)):(t.tabType="all-solutions",this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0)}break;case"deployments":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0,this._searchSortToolbar&&i?.filter&&this._searchSortToolbar.changeOwnerFilter(i.filter!=="Organization"),i&&await this._mySolutionsShell.value?.searchSolutions(i);break}return this._builderVisible=!1,this._setActiveTab(new CustomEvent("setActiveTab",{detail:t})),this._blurTabs(),this._showDeployedCardFetchFailed&&(this.deployedCardFetchFailed.emit({message:this._deployCardFetchFailedMessage,title:this._translations.failedToOpen}),this._showDeployedCardFetchFailed=!1),!0}else return this._initTab=t,this._initFilters=e,!1}updated(t){this._fixTabpanelFocus(),t.has("_isAssistantOpen")&&this._setScrollbarGutters(this._isAssistantOpen?"stable":"stable both-edges"),!this._resizeObserver&&this._mainContentRef.value&&(this._resizeObserver=new ResizeObserver(e=>{for(let i of e){let s=i.contentRect.width<=800;this.isMobile!==s&&(this.isMobile=s,this._isMobileContextProvider.setValue(s))}}),this._resizeObserver.observe(this._mainContentRef.value))}_fixTabpanelFocus(){if(!this._tabpanelsFixed&&this._allTab.value){let t=[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab];Promise.all(t.map(async e=>{let i=e.value;if(i&&(await i.componentOnReady?.(),i.shadowRoot)){let s=i.shadowRoot.querySelector('[role="tabpanel"]');s&&(s.tabIndex=-1)}})).then(()=>{this._tabpanelsFixed=!0,this._setupTabpanelObserver()}).catch(()=>{this._tabpanelsFixed=!0})}}_setupTabpanelObserver(){this._tabpanelObserver||(this._tabpanelObserver=new MutationObserver(t=>{t.forEach(e=>{if(e.type==="attributes"&&e.attributeName==="tabindex"){let i=e.target;i.getAttribute("role")==="tabpanel"&&i.tabIndex===0&&(i.tabIndex=-1)}})}),[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab].forEach(t=>{let e=t.value;if(e?.shadowRoot){let i=e.shadowRoot.querySelector('[role="tabpanel"]');i&&this._tabpanelObserver.observe(i,{attributes:!0,attributeFilter:["tabindex"]})}}))}async load(){this.useLocalAppConfig&&(this.appConfig=M)}render(){let t=this._isLoaded?"display-none":"",e=this._isLoaded?"":"display-none";return d`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .assistantOpen=${this._isAssistantOpen} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${a(this._deployAppNav)}></solutions-deploy-app-nav><div class=${`main-content${this._isAssistantOpen?" assistant-open":""}`} ${a(this._mainContentRef)}>${this._isSearchToolbarShowing()&&d`<div class="border"></div>`||""}<solutions-searchsort-toolbar class=${p(this._activeTab==="resources"?"display-none":"")} ${a(async i=>{i&&(await this._deployAppNav.value?.componentOnReady(),this._searchSortToolbar=i,i.scope=this._activeTab)})}></solutions-searchsort-toolbar>${this._activeTab==="resources"&&d`<div class="border"></div><div class="resources-menu-container"><calcite-menu .label=${this._translations.resourcesNavigationMenuLabel} class="resources-menu-toolbar"><calcite-menu-item .active=${this._activeResourcesMenuItem==="getStarted"||void 0} .label=${this._translations.resourcesGetStarted} .text=${this._translations.resourcesGetStarted} @click=${()=>this._handleResourcesMenuClick("getStarted")}></calcite-menu-item><calcite-menu-item .active=${this._activeResourcesMenuItem==="documentation"||void 0} .label=${this._translations.resourcesDocumentation} .text=${this._translations.resourcesDocumentation} @click=${()=>this._handleResourcesMenuClick("documentation")}></calcite-menu-item><calcite-menu-item .active=${this._activeResourcesMenuItem==="support"||void 0} .label=${this._translations.resourcesSupport} .text=${this._translations.resourcesSupport} @click=${()=>this._handleResourcesMenuClick("support")}></calcite-menu-item></calcite-menu></div>`||""}<calcite-loader class=${p(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader>${this._renderGlobalAlerts()}<calcite-tabs class=${p(e)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${a(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${a(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${a(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${a(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${a(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${a(this._allTab)}><solutions-all-shell class="height-100" ${a(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${a(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._resourcesTab)}><solutions-resources-shell class="height-100" ${a(this._resourcesShell)}></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${a(this._detailsTab)}><solution-details-panel class="height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></div>${!this._configContextProvider.value?.isEnterprise&&d`<div class=${`builder-panel${this._builderVisible&&!this._isViewportMobile?"":" display-none"}`}><solution-builder-assistant class="height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._solutionBuilderPanel)}></solution-builder-assistant></div><div class=${`assistant-panel${this._isAssistantOpen&&!this._isViewportMobile?"":" display-none"}`}><arcgis-solutions-assistant class="height-100" .builderVisible=${this._builderVisible} .hasActiveBuilderDesign=${this._hasActiveBuilderDesign}></arcgis-solutions-assistant></div><calcite-fab aria-label=${this._translations.assistantFabTooltip??w} class=${`assistant-fab${this._isAssistantOpen||this._isViewportMobile?" display-none":""}`} icon=effects id=assistant-fab-button @click=${()=>{this._openAssistant(),this._fabTooltipDismissed=!0,this._showFabTooltip=!1}} scale=l></calcite-fab>${!this._fabTooltipDismissed&&d`<calcite-popover closable class=${`assistant-fab-popover${this._isAssistantOpen||this._isViewportMobile?" display-none":""}`} .label=${this._translations.assistantFabTooltip} overlay-positioning=fixed @calcitePopoverClose=${()=>{this._fabTooltipDismissed=!0,this._showFabTooltip=!1}} .open=${this._showFabTooltip&&!this._isAssistantOpen&&!this._isViewportMobile} placement=leading reference-element=assistant-fab-button><span class="assistant-fab-popover__content">${this._translations.assistantFabTooltip}</span></calcite-popover>`||""}`||""}</calcite-shell>`}loaded(){this._setScrollbarGutters()}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this._handleWindowResize),this._resizeObserver?.disconnect(),this._tabpanelObserver?.disconnect()}async _handleResourcesMenuClick(t){this._activeResourcesMenuItem=t,await this._resourcesShell.value?.scrollToSection(t)}_renderGlobalAlerts(){return k(this._globalAlerts,t=>t.id,t=>d`<calcite-alert .autoClose=${t.autoClose} .autoCloseDuration=${t.autoCloseDuration} .icon=${t.icon} .kind=${t.kind} .label=${t.title||""} @calciteAlertClose=${()=>this._removeGlobalAlert(t.id)} open>${t.title&&d`<div slot=title>${t.title}</div>`||""}<div slot=message>${t.message}</div></calcite-alert>`)}async _handleAuthInit(t){let e=t.detail;e.telemetrySession||(e.telemetrySession=g.getDisabledSession()),this._configContextProvider.setValue(e),e.authentication&&(this.authentication=e.authentication),this._cardFetcherDeployed=new y(e.locale,e.orgUrl,e.portalURL),this._cardsFetcher=new y(e.locale,e.orgUrl,e.portalURL),this._isDisconnectedEnvironment||await this._getSolutions(e.primarySolutionsGroupId,e.agoBasedEnterpriseSolutionsGroupId),this._configContextProvider.value.allCards=this._allCards,this._configContextProvider.value.anonAgolSession=this._cardsFetcher.anonAgolSession,this._configContextProvider.value.agolPortalUrl=this._cardsFetcher.agolPortalUrl,await this._initializeTelemetry(),this._isLoaded=!0,this._setRefreshInterval(),this._initTab?(this.selectTab(this._initTab,this._initFilters),this._logTabViewTelemetry(this._initTab.tabType),this._initTab=void 0,this._initFilters=void 0):this.authentication?.IsSignedIn&&(this.initTab==="details"||this.initTab==="deployed-card"||(this._logTabViewTelemetry(this._activeTab),this._emitMetaTagStrings(this._activeTab)))}_setActiveTab(t){let e=t.detail.tabType,i=this._activeTab!==e;switch(this._activeTab=e,i&&this._logTabViewTelemetry(e),e){case"all-solutions":this._allTabTitle.value?.click();break;case"deployments":this._mySolutionsTabTitle.value?.click();break;case"resources":this._resourcesTabTitle.value?.click();break;case"deployed-card":this._deployedCardTabTitle.value?.click();break;case"details":this._detailsTabTitle.value?.click();break}this._builderVisible=!1,e!=="details"&&e!=="deployed-card"&&(this._deployAppNav.value.activateMenuItem(e),this.deployAppTabSelected.emit(e),this._emitMetaTagStrings(e))}_logTabViewTelemetry(t,e){let i;switch(t){case"all-solutions":i=h.ALL_SOLUTIONS;break;case"deployments":i=h.DEPLOYMENTS;break;case"resources":i=h.RESOURCES;break;case"details":i=h.SOLUTION_DETAILS;break;case"deployed-card":i=h.DEPLOYMENTS;break}if(!((t==="details"||t==="deployed-card")&&!e)&&i){let s=[];if((t==="details"||t==="deployed-card")&&e){let n=e,b=t==="deployed-card"?"":n.title||"";s.push(b),s.push(n.deployCommonId||""),s.push(n.deployVersion||""),s.push(""),s.push(I(n.typeKeywords))}let l=t==="deployed-card"?"Open":"View";this._telemetry?.logEvent({category:i,action:l,dimensions:s.length>0?s:void 0})}}_emitMetaTagStrings(t,e){let i="",s="";switch(t){case"all-solutions":i=this._translations.metaAllSolutionsTitle,s=this._translations.metaAllSolutionsDescription;break;case"deployments":case"deployed-card":i=this._translations.metaDeploymentsTitle,s=this._translations.metaDeploymentsDescription;break;case"resources":i=this._translations.metaResourcesTitle,s=this._translations.metaResourcesDescription;break;case"details":e&&(i=this._translations.metaDetailsTitle.replace("{title}",e.title),s=e.snippet);break}this.metaTagStringsReady.emit({pageType:t,title:i,description:s,detailTemplate:e})}_handleCalciteTabChanged(){this.tabChanged.emit(this._activeTab)}_detailsCardSelected(t){this._activeTab="details",this._detailsTabTitle.value.selected=!0,this._detailsTab.value.selected=!0,this._deployAppNav.value.clearMenuItems(),t?.detail&&(this._selectedDetailsCard=t.detail),this._logTabViewTelemetry("details",this._selectedDetailsCard),this._emitMetaTagStrings("details",this._selectedDetailsCard)}_deployedCardSelected(t){this._activeTab="deployed-card",this._deployedCardTabTitle.value.selected=!0,this._deployedCardTab.value.selected=!0,this._deployAppNav.value.clearMenuItems(),t?.detail?.card&&(this._selectedDeployedCard=t.detail.card),this._logTabViewTelemetry("deployed-card",this._selectedDeployedCard),this._emitMetaTagStrings("deployed-card")}_solutionBuilderSelected(t){t?.detail&&(this._builderVisible=!0,this._hasActiveBuilderDesign=!0,this._builderDesignContextProvider.value={design:t.detail,updateDesign:e=>{this._builderDesignContextProvider.value={...this._builderDesignContextProvider.value,design:e}},isBuilderVisible:!0,setBuilderVisible:e=>{this._builderVisible=e,this._builderDesignContextProvider.value={...this._builderDesignContextProvider.value,isBuilderVisible:e}}})}_handleDeployedCardDisplay(t){let{card:e,cardRef:i}=t.detail;this.deployedCardSelected.emit({card:e,cardRef:i})}_handleShowGlobalAlert(t){let e=t.detail,i=e.id||`alert-${Date.now()}-${Math.random().toString(36).substr(2,9)}`;this._globalAlerts=[...this._globalAlerts,{...e,id:i}]}_removeGlobalAlert(t){this._globalAlerts=this._globalAlerts.filter(e=>e.id!==t)}async _initializeTelemetry(){let t=this._configContextProvider.value;if(!this.authentication||!t)return;let e=await this._telemetryManager.initializeTelemetry(this.authentication,t);this._configContextProvider.value.telemetrySession=e}async _getSolutions(t,e){if(this._isDisconnectedEnvironment)return[];this._abortController?(this._abortController.abort(),this._abortController=new AbortController):this._abortController=new AbortController;let i=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested,num:100},t,e,this._configContextProvider.value.userSession,this._configContextProvider.value.isEnterprise,this._abortController.signal,{num:1e3});return this._abortController=void 0,this._allCards.length===0&&i?.cards&&(this._allCards=i?.cards),this._allCards}async _getDeployedSolution(t){let e=this._configContextProvider.value.authentication,i=this._configContextProvider.value.userSession;if(e&&i&&e.IsSignedIn){this._abortControllerDeployed?(this._abortControllerDeployed.abort(),this._abortControllerDeployed=new AbortController):this._abortControllerDeployed=new AbortController;let s=O(e);try{let l=await E(e,i,this._cardsFetcher,this._cardFetcherDeployed,$,"created","desc",!1,[],[],this._abortControllerDeployed.signal,s?"My organization's solutions":"My solutions",t);l.cards.length===0||l.cards[0].typeKeywords.indexOf("Deployed")<0?(this._deployCardFetchFailedMessage=this._translations.failedToFetchNotSolution.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):this._deployedSolutions=l}catch(l){let n=l.message;n.indexOf("CONT_0001")>-1||n.indexOf("Item does not exist or is inaccessible.")>-1?(this._deployCardFetchFailedMessage=this._translations.failedToFetchWrongId.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):n.indexOf("GWM_0003")>-1||n.indexOf("You do not have permissions to access this resource or perform this operation.")>-1?(this._deployCardFetchFailedMessage=this._translations.failedToFetchWrongPermissions.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):(this._showDeployedCardFetchFailed=!0,this._deployCardFetchFailedMessage=""),console.warn(l)}}}_blurTabs(){this._allTabTitle.value?.blur(),this._resourcesTabTitle.value?.blur(),this._detailsTabTitle.value?.blur(),this._mySolutionsTabTitle.value?.blur()}_isSearchToolbarShowing(){return this._activeTab==="all-solutions"||this._activeTab==="deployments"&&this.authentication?.IsSignedIn===!0}_getDefaultSearchOptions(t){let e;if(t){let i=t.domain,s=t.industry==="AEC"?F.AEC:t.industry,l=t.offerType,n=t.searchTerm,b="",r=t.sortField,_=t.owner,m=t.filter;r==="suggested"&&!this.authentication?.IsSignedIn&&(r=this.sortType),e=i||s?{type:i?"domain":s?"industry":""}:void 0,i&&(e=e?{...e,domain:i}:{domain:i}),s&&(e=e?{...e,industry:s}:{industry:s}),n&&(e=e?{...e,searchTerm:n}:{searchTerm:n}),e&&(e={...e,displayValue:b}),r&&(e=e?{...e,sortType:r}:{sortType:r}),l&&(r=l.toLowerCase(),e=e?{...e,sortType:r}:{sortType:r}),_&&(e=e?{...e,owner:_}:{owner:_}),m&&(e=e?{...e,filter:m}:{filter:m})}return e}_setScrollbarGutters(t="stable both-edges"){[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab].forEach(e=>{let i=e.value?.shadowRoot?.firstElementChild;i?.style&&(i.style.scrollbarGutter=t)})}_setRefreshInterval(){let{userSession:t,authentication:e}=this._configContextProvider.value;if(t&&t.tokenDuration&&e?.IsSignedIn){let i=Date.now(),s=(e.Credential?.expires-i)*.95;setInterval(async()=>{if(e.Credential&&e.Credential.expires){await e.Credential?.refreshToken();let l=new Date(e.Credential.expires);t.updateToken(e.Credential.token,l),this.sessionRefreshed.emit(t.token)}},s)}}};C("solutions-deploy-app",v);return v},"identity/IdentityManager","identity/OAuthInfo","portal/Portal",b,e,g,h,i,j,l,m,n,q,r,s,t,v,y,z)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as x}from"./JGSZS6VC.js";import b from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import"./MXPZF4RB.js";import{a as L}from"./AIZ2P72X.js";import"./QMAV4UTN.js";import"./Y2AUIXNK.js";import{b as I}from"./YJ3DKEEZ.js";import{F as h,G as r,H as v,J as d,K as C,h as y,i as s,l as w,q as _,u as $}from"./T3EPRHTT.js";import"./EXBEKVP5.js";export default $arcgis.t(([,{d:M}])=>{function T(f){let e=t=>{(t?.altKey||t?.metaKey)&&t?.code==="KeyM"&&f?.focus()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}var k=y`@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}}`,m=class extends v{constructor(){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.enableCopyPaste=!0,this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._translations=L({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=h(),this._shouldSetMapView=!1,this._filterList=h(),this._mapCard=h(),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),x(window)}static{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,enableCopyPaste:5,_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}}static{this.styles=k}static{this.shadowRootOptions=$}willUpdate(e){e.has("appLayout")&&this.appLayout&&this.appLayoutWatchHandler(this.appLayout,e.get("appLayout")),e.has("enableZoom")&&(this.hasUpdated||this.enableZoom!==!0)&&this.enableZoomWatchHandler(),e.has("mapInfos")&&this.hasUpdated&&this.mapInfosWatchHandler(),e.has("_isMobile")&&this.hasUpdated&&this._handleCopyPasteActions(),e.has("enableCopyPaste")&&this.hasUpdated&&this._handleCopyPasteActions()}appLayoutWatchHandler(e,t){e!==t&&(this._layerTable.value?.validateTableUpdate(e==="splitView"),this._setActiveLayout(e),this.appLayout==="mapView"&&this._layer?.isTable&&this._mapCard.value&&this._mapCard.value.updateLayer(),this._isMapViewOnLoad&&this._layerTable.value&&this._layerTable.value.refresh())}enableZoomWatchHandler(){this._initMapZoom()}mapInfosWatchHandler(){this.updateCurrentMapInfos()}async featureSelectionChange(e){this._numSelected=e.detail?.length}async popupClosed(){this._isMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(e){this._layoutMode=e.detail}async mapChanged(e){this._isMapViewOnLoad&&(this._showMapInFullView(),this._isMapViewOnLoad=!1),this._mapChange=e.detail,this.showHideMapPopupAndTable(!1),this._pasteEnabled=!1,this._mapChange?.isValid?await this._mapChange.mapView?.when(async()=>{await this._setMapView()}):(this._mapInfo=this._mapChange&&this._getMapInfo(this._mapChange.id),this._showInvalidMapAlert=!0)}async layerSelectionChange(e){let t=e.detail[0],i=this._mapView&&await M(this._mapView,t);i&&await i.when(()=>{i.isTable&&!this._isMobile&&(this.appLayout="tableView"),this._layer=i,this._pasteEnabled=!1,this._handleCopyPasteActions(),this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1})}async showDelete(e){this._deleteIds=e.detail.ids,this._deleteDialogOpen=!0}async noLayersFound(){this._layer=void 0,this._isLoading=!1}async clearSelection(){this.showHideMapPopupAndTable(!1)}async relatedRecordToggled(e){let t=e.detail;this._relatedTableLayer=t}async creatingFeature(){this.appLayout="splitView"}featuresCopied(){this._pasteEnabled=!0}disablePaste(){this._pasteEnabled=!1}idsFound(e){this._layerIds=e.detail}load(){this.updateCurrentMapInfos(),this._resizeObserver=new ResizeObserver(()=>this._onResize())}render(){let e=this.popupHeaderColor&&this.popupHeaderColor!=="#FFFFFF"?"border-width-0":"",t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",i=this._translations.invalidWebMapMsg?.replace("{{web_map}}",this._mapInfo?.name||"");return s`${this._showInvalidMapAlert&&s`<calcite-alert auto-close class=${d(t)} icon=check-circle kind=danger label @calciteAlertClose=${()=>{this._showInvalidMapAlert=!1}} open placement=top><div slot=message>${i}</div></calcite-alert>`||""}<calcite-shell class="position-relative"><calcite-panel class=${`width-full height-full ${e}`} .loading=${this._isLoading}>${this._getBody(this._layoutMode,this._panelOpen,this._hideTable)}</calcite-panel>${this._getFooter()}</calcite-shell>${this._filterModal()}${!this._isMobile&&this._deleteModal()||""}`}async updated(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}loaded(){this._resizeObserver?.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad=this.appLayout==="mapView",this._setActiveLayout(this.appLayout)}_getFooter(){let e=this._numSelected>0,t=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._relatedTableLayer:this._layer,i=this._layer?.editingEnabled&&this._layer.capabilities?.operations.supportsDelete;return this._isMobile&&e&&!this._hideFooter?s`<div class=${"width-100"} slot=footer><div class="display-flex padding-1-2"><calcite-button appearance=solid id=solutions-show @click=${()=>this.showHideMapPopupAndTable(!0)} width=full>${this._translations.view.replace("{{n}}",this._numSelected.toString())}</calcite-button>${i?s`<delete-button class="padding-inline-start-1 width-full" id=solutions-delete .ids=${this.updateIdsToBeDeleted()} @deleteClicked=${this.updateIdsToBeDeleted} .layer=${t}></delete-button>`:void 0}</div></div>`:void 0}updateIdsToBeDeleted(){return this._deleteIds=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._layerTable.value.selectedRelatedIds:this._layerTable.value?.selectedIds,this._deleteIds}_setActiveLayout(e){e==="splitView"&&!this._panelOpen&&this._toggleLayout(),e==="mapView"?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(e,t){return e==="HORIZONTAL"?t?"chevrons-up":"chevrons-down":e==="VERTICAL"||e==="GRID"?t?"chevrons-left":"chevrons-right":void 0}_getMapSizeClass(e,t,i){let a="";switch(e){case"HORIZONTAL":a=`${t&&!i?"height-1-2 display-grid":t&&i?"height-full":"height-0"} width-full position-relative`;break;case"GRID":a=`height-full position-relative ${t?"width-1-3":"width-0"}`;break;case"VERTICAL":a=`height-full position-relative ${t?"width-1-2":"width-0"}`;break}return a}_getTableSizeClass(e,t){let i="";switch(e){case"HORIZONTAL":i=`${t?"height-1-2":"height-full"} width-full display-flex flex-column`;break;case"GRID":i=`${t?"width-2-3":"width-full"} height-full display-flex`;break;case"VERTICAL":i=`${t?"width-1-2":"width-full"} height-full display-flex`;break}return i}_getBody(e,t,i){let a=e==="HORIZONTAL"?"":"display-flex",l=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",o=document.dir==="rtl"?"left-0":"right-0";return s`<calcite-panel class="width-full height-full position-absolute"><div class=${`width-full height-full overflow-hidden ${a}`}>${this._getMapAndCard(e,t,i)}${this._getTable(e,t,i)}</div>${this.coverPageEnabled&&s`<div class=${`floating-container ${o}`} @click=${this.coverPageButtonClick}><calcite-button appearance=solid class=${`floating-button ${l}`} icon-start=content-minimal kind=neutral .label=${this._translations.coverPage} round scale=l split-child=primary width=auto></calcite-button></div>`||""}${this.introductionWindowEnabled&&s`<div class=${`floating-container ${o}`} @click=${this.infoButtonClick}><calcite-button appearance=solid class=${`floating-button ${l}`} icon-start=information-letter kind=neutral .label=${this._translations.information} round scale=l split-child=primary width=auto></calcite-button></div>`||""}</calcite-panel>`}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(e,t,i){let a=this._getMapSizeClass(e,t,i);return s`<div class=${`${a} overflow-hidden z-index-2`}>${this._getMapNode(t)}${this._getPopupExpandNode()}</div>`}_getMapNode(e){let t=this.appLayout==="mapView",i=this.appLayout==="tableView",a=this._isMobile?"height-full":t||i?"position-absolute-0":this._layoutMode==="HORIZONTAL"&&(!this._isMobile||e)?"":"adjusted-height-50",l=this.defaultWebmap&&this.defaultLayer,o=this.enableSelectionTool&&this.featureSelectionMode==="multiple"&&!this._layer?.isTable,p=["home","legend","search","fullscreen","basemap","floorfilter","layers-list","selectiontool"],c=["map-picker","map-layer-picker"],n=document.dir||"ltr";return s`<div class=${`${a} overflow-hidden`} id=card-mapView><map-card .appLayout=${this.appLayout} .appProxies=${this.appProxies} .basemapConfig=${this.basemapConfig} class="width-full" .defaultLayerId=${l?this.defaultLayer:""} .defaultWebmapId=${this.defaultWebmap} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableLayerList=${this.enableLayerList} .enableSearch=${this.enableSearch} .enableSelectionTool=${o} .enableShare=${this.enableShare} enable-single-expand enable-map-layer-picker enable-map-picker .featureSelectionMode=${this.featureSelectionMode} .hide=${!this._isMobile&&i} zoom-tools-size=s .isMapLayout=${t} .isMobile=${this._isMobile} .mapInfo=${this._mapInfo} .mapInfos=${this._currentMapInfos.filter(u=>u.visible!==!1)} map-widgets-index=0 .mapWidgetsPosition=${n==="rtl"?"top-right":"top-left"} .mobileMapWidgetsPosition=${n==="rtl"?"top-left":"top-right"} map-component-id=arcgis-map map-widgets-size=s .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} .pasteEnabled=${this._pasteEnabled} @toggleFilter=${this._toggleFilter} .selectedFeaturesIds=${this._layerTable.value?.selectedIds??[]} .selectedLayer=${this._layer} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} .showCopyPasteActions=${this._showCopyPasteActions} stack-tools .theme=${this.theme} .visibilityIcon=${this.visibilityIcon} .mapToolsOrder=${p} .mobileToolsOrder=${c} .zoomToScale=${this.zoomToScale} ${r(this._mapCard)}></map-card></div>`}_getPopupExpandNode(){let e=this._isMobile?"height-full":"height-full position-relative",t=this._isMobile&&this._showInformationHeader?"display-none height-0":"",i=this.popupHeaderColor?"":this._isMobile?"calcite-mode-light":"calcite-mode-dark",a=this._isMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isMobile?"display-none height-0":"",l=this._currentMapInfos?.length>1&&this.appLayout==="tableView"?"position-relative top-51":"",o=this.appLayout!=="tableView"?"position-sticky":"";return s`<div class=${`${i} ${e} ${a} ${l} ${o}`} style=${C({"--calcite-panel-header-background-color":this.popupHeaderColor,"--calcite-color-surface-3":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor})}><calcite-panel>${!this._isMobile&&this._showInformationHeader||this._numSelected>0&&!this._isMobile?s`<div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-icon aria-hidden=true icon=information scale=s></calcite-icon><div class="padding-inline-start-75">${this._translations.information}</div></div>`:s`<div></div>`}${this._getCardNode()}</calcite-panel></div>`}_getCardNode(){let e=this.appLayout==="mapView",t=this.appLayout==="tableView",i=this._isMobile?"height-full":t&&this._currentMapInfos?.length>1?"adjusted-height-100-51":e||t?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isMobile?"height-full":"height-50":"adjusted-height-50_25",a=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",l=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._relatedTableLayer:this._layer;return s`<div class=${`width-50 height-full ${a}`}><card-manager class=${`${i} width-full`} .allowedPasteLayerIds=${this._layerIds} .customInfoText=${this.customInfoText} .enableCreateFeatures=${this._enableCreateFeatures&&!this._isMobile} .createBtnLabel=${this._mapInfo?.createFeatureButtonLabel} .enableEditGeometry=${this._mapInfo?.enableEditGeometry} .enableSnapping=${this.enableSnapping} .isMobile=${this._isMobile} .layerOrTable=${l} .mapView=${this?._mapView} map-component-id=arcgis-map @backFromCreateWorkFlow=${()=>{this._showInformationHeader=!0}} @createWorkFlowStarted=${()=>{this.appLayout=l?.isTable?"tableView":"mapView",this._showInformationHeader=!1}} .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>`}_getTable(e,t,i){let a=this.appLayout==="mapView",l=this.appLayout==="tableView",o=i&&this._isMobile?"visibility-hidden":a?"display-none":"",p=a?"height-full width-full z-index-0":"display-none",c=this._getTableSizeClass(e,t),n=e==="HORIZONTAL"?"horizontal":"vertical",u=e==="HORIZONTAL"?"header":"panel-start",b=this.defaultWebmap&&this.defaultLayer,S=this._isMobile?"border-top":"",g=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,F=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map(V=>Number.parseInt(V,10)):[Number.parseInt(this.defaultOid,10)]:void 0;return s`<calcite-shell class=${`${c} ${S} border-bottom z-index-1`}>${this._isMobile?void 0:s`<calcite-action-bar class="border-sides" expand-disabled .layout=${n} slot=${u??w}>${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=${b?g:void 0} .defaultLayerId=${b?this.defaultLayer:""} .defaultOid=${b&&!g?F: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} ${r(this._layerTable)}></layer-table></div><div class=${d(p)} id=full-map-view></div></calcite-shell>`}getActions(e,t){let i=this._getDividerIcon(e,t),a=t?this._translations.close:this._translations.open,l="toggle-layout";return s`<calcite-action .active=${this.appLayout==="splitView"} alignment=center class="toggle-node" icon=browser id=browser-action @click=${()=>{this.appLayout="splitView"}} .text=${this._translations.splitView}></calcite-action><calcite-tooltip placement=right reference-element=browser-action><span>${this._translations.splitView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="tableView"} alignment=center class="toggle-node" icon=dock-left id=dock-left-action @click=${()=>{this.appLayout="tableView"}} .text=${this._translations.tableView}></calcite-action><calcite-tooltip placement=right reference-element=dock-left-action><span>${this._translations.tableView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="mapView"} alignment=center class="toggle-node" .disabled=${this._layer?.isTable} icon=browser-map id=browser-map-action @click=${()=>{this.appLayout="mapView"}} .text=${this._translations.mapView}></calcite-action><calcite-tooltip placement=right reference-element=browser-map-action><span>${this._translations.mapView}</span></calcite-tooltip><calcite-action alignment=center class="toggle-node" .icon=${i} id=${l} @click=${()=>this._toggleLayout()} slot=actions-end .text=${a}></calcite-action><calcite-tooltip placement=bottom .referenceElement=${l}><span>${a}</span></calcite-tooltip>`}_deleteModal(){let e=(this._layerTable.value?.selectedRelatedIds?.length??0)>0?this._relatedTableLayer:this._layer;return s`<delete-dialog id=deleteDialogId .ids=${this._deleteIds} .layer=${e} @deleteDialogClose=${()=>this._deleteDialogOpen=!1} .open=${this._deleteDialogOpen}></delete-dialog>`}_mapExtentFilter(){let e=this._layerExpressions?.length===0;return s`<calcite-panel><div><calcite-block class=${d(this.theme==="dark"?"background-dark":"")} heading menu-placement=bottom-end open><div class="filter-extent-container"><div class="filter-extent-message"><span>${this._translations.filterByExtentMsg}</span><calcite-icon icon=information id=filter-message-info scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top reference-element=filter-message-info>${this._translations.filterByExtentTooltipMsg}</calcite-tooltip></div><calcite-switch .checked=${this._mapExtentFilterChecked} @calciteSwitchChange=${t=>{let i=!!(t.target.checked||this._filterList.value?.filterCount&&this._filterList.value?.filterCount>0);this._layerTable.value&&this._layerTable.value?.filterUpdate(i,t.target.checked),this._mapCard.value&&this._mapCard.value?.updateFilterState(i),this._mapExtentFilterChecked=t.target.checked}} scale=m></calcite-switch></div></calcite-block>${e&&s`<div class="filter-modal-buttons" slot=footer><calcite-button appearance=outline @click=${this._handleFilterListReset} width=full>${this._translations.Resetfilter}</calcite-button><calcite-button @click=${this._closeFilter} width=full>${this._translations.close}</calcite-button></div>`||""}</div></calcite-panel>`}_filterModal(){let e=this._layerExpressions?.length>0,t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return s`<calcite-dialog class=${`filter-content-space ${t}`} .heading=${this._translations.filter.replace("{{title}}",this._layer?.title||"")} id=solutions-filter-dialog-manager kind=brand modal @calciteDialogClose=${()=>{this._closeFilter()}} .open=${this._filterOpen} width=s>${!this._layer?.isTable&&this._mapExtentFilter()||""}${e&&this._mapView&&s`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>{this._closeFilter()}} combobox-overlay-positioning=fixed .layerExpressions=${this._layerExpressions} @filterListReset=${this._handleFilterListReset} @filterUpdate=${()=>{this._updateFilter()}} .view=${this._mapView} ${r(this._filterList)}></instant-apps-filter-list>`||""}</calcite-dialog>`}_updateFilter(){let e=this._filterList?.value?.filterCount&&this._filterList.value.filterCount>0||this._mapExtentFilterChecked;this._layerTable.value&&this._layerTable.value?.filterUpdate(e),this._mapCard.value&&this._mapCard.value.updateFilterState(e)}_initLayerExpressions(){let e=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=e?e.filter(t=>t.id===this._layer?.id):[]}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.value&&this._mapCard.value.resetFilter(),this._layerTable.value&&this._layerTable.value?.isFilterActive()&&this._layerTable.value.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.value&&this._layerTable.value.closeFilter())}_onResize(){let e=this.el.offsetWidth<=1024,t=!this._isMobile&&e;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"}updateCurrentMapInfos(){this._currentMapInfos=this.mapInfos,!this.enableMapList&&this.defaultWebmap&&(this._currentMapInfos=this.mapInfos.filter(e=>e.id===this.defaultWebmap))}_handleCopyPasteActions(){this._layer&&(this._showCopyPasteActions=this.enableCopyPaste&&!this._isMobile)}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if(this.appLayout!=="mapView"){let e=document.getElementById("full-map-view")?.childNodes[0],t=document.getElementById("card-mapView");e&&t&&t.appendChild(e)}}_showMapInFullView(){let e=document.getElementById("card-mapView")?.childNodes,t;e?.forEach(a=>{!t&&a.mapView&&(t=a)});let i=document.getElementById("full-map-view");t&&i&&i.appendChild(t)}showHideMapPopupAndTable(e){this._hideTable=e,this._hideFooter=e}_getMapInfo(e){let t;return this._currentMapInfos.some(i=>i.id===e?(t={...i},!0):!1),t}async _setMapView(){let e=this._mapChange&&this._getMapInfo(this._mapChange.id);if(e&&this._mapChange){this._mapInfo=e,this._initLayerExpressions(),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView&&(this._mapView.popupEnabled=!1,T(this._mapView));let t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map(a=>Number.parseFloat(a)),i=!this.defaultLevel||this._defaultLevelHonored?void 0:Number.parseInt(this.defaultLevel,10);t&&i&&(await this._mapView?.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView?.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView?.ui.remove("zoom")}};I("crowdsource-manager",m);return m},a,b)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a}from"./K5EP7XDM.js";import"./YUWXPLTE.js";import"./AIZ2P72X.js";import"./QMAV4UTN.js";import"./Y2AUIXNK.js";import"./YJ3DKEEZ.js";import"./T3EPRHTT.js";import"./EXBEKVP5.js";export{a as SolutionDeployingDialog};
@@ -1,3 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import"./EXBEKVP5.js";var o=`(function(){"use strict";const h=(a,r)=>{if(a.length!==r.length)throw new Error("Vectors must be the same length");let c=0,t=0,e=0;for(let n=0;n<a.length;++n){const s=a[n],l=r[n];c+=s*l,t+=s*s,e+=l*l}const i=Math.sqrt(t*e);if(i===0)return 0;const m=c/i;return Math.max(-1,Math.min(1,m))},f=(a,r,c=.6)=>{const t=[],e=[...a];for(;t.length<r&&e.length>0;){let i=-1,m=-1/0;for(let n=0;n<e.length;n++){const s=e[n].score,l=t.length===0?0:Math.max(...t.map(o=>h(e[n].vector,o.vector))),d=c*s-(1-c)*l;d>m&&(m=d,i=n)}t.push(e[i]),e.splice(i,1)}return t.map(({name:i,score:m})=>({name:i,score:m}))};let p=[];const u=new Map,v=12,y=10,M=a=>{p=a.layers.map(r=>({id:r.id,vector:r.vector}))},E=a=>{u.clear();for(const r of a.layers){const c=r.fields.map(t=>({name:t.name,vector:t.vector}));u.set(r.id,c)}};globalThis.addEventListener("message",a=>{(async()=>{const{type:r,webmapEmbeddings:c,layerIdForFieldsSearch:t=[],requestId:e,precomputedEmbedding:i,minScore:m=0,topResults:n=v}=a.data;switch(r){case"generateEmbeddings":{c&&(M(c),E(c)),globalThis.postMessage("completed");break}case"layerSearch":{if(p.length>0)try{const s=p.map(o=>({id:o.id,vector:o.vector,score:h(i,o.vector)})),d=f(s.map(o=>({name:o.id,vector:o.vector,score:o.score})),y).map(({name:o,score:b})=>({id:o,score:b}));globalThis.postMessage({requestId:e,results:d})}catch(s){globalThis.postMessage({requestId:e,results:[],error:s instanceof Error?s.message:"Calculation error"})}else globalThis.postMessage({requestId:e,results:[],error:"Layer embeddings not initialized"});break}case"fieldSearch":{if(t.length>0)try{const s=t.map(l=>{const d=u.get(l);if(!d)return{layerId:l,results:[]};const o=d.map(g=>({name:g.name,vector:g.vector,score:h(i,g.vector)})).filter(({score:g})=>g>=m),b=f(o,n);return{layerId:l,results:b}});globalThis.postMessage({requestId:e,results:s})}catch(s){globalThis.postMessage({requestId:e,results:[],error:s instanceof Error?s.message:"Field search calculation error"})}break}default:console.warn("Unknown message type:",r)}})()})})();
3
- `,r=typeof self<"u"&&self.Blob&&new Blob(["(self.URL || self.webkitURL).revokeObjectURL(self.location.href);",o],{type:"text/javascript;charset=utf-8"});function a(t){let e;try{if(e=r&&(self.URL||self.webkitURL).createObjectURL(r),!e)throw"";let s=new Worker(e,{name:t?.name});return s.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(e)}),s}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(o),{name:t?.name})}}export{a as default};
@@ -1,56 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import"./EXBEKVP5.js";var e=`This Feature Layer is part of a Feature Service. The Feature Layer contains various fields, each with its own name, type, and description.
3
- The Feature Layer is a collection of geographic features that represent real-world entities. Each feature in the layer has attributes that provide additional information about the feature. The layer may include point, line, or polygon geometries, depending on the type of data it represents.
4
- The geometry type for this layer is {layerGeometryType}.
5
-
6
- Here is the field information for each field in the Feature Layer. Each field has a name, alias, type, valueType and description. These should help you understand the data represented in the Feature Layer.
7
-
8
- Field Descriptions:
9
- {fieldInformation}
10
-
11
- Your task is to :
12
-
13
- - analyze the field descriptions to understand the data represented in the Feature Layer.
14
- - Generate the following for the layer:
15
- - a title: a concise title that accurately reflects the content and purpose of the feature service.
16
- - a description: a detailed description of the feature layer
17
-
18
- Consider the following aspects in your description:
19
-
20
- - purpose of this feature layer
21
- - types of data and geometric entities represented in the layer
22
- - sources of the layer information and the geographic area covered
23
- - potential applications and usefulness of the feature layer in the GIS world
24
-
25
- If any of the above topics are not applicable, you can skip them. Don't include statements that indicate something this Feature Layer is not or does not have. Avoid listing field names, types, and other technical details.
26
-
27
- Instructions while generating the title:
28
-
29
- - Avoid using special characters in the title.
30
- - Avoid using 'layer' in the title.
31
- - Avoid using all uppercase letters in the title. Use title case instead.
32
- - The title should not be too long.
33
-
34
- You are given Feature Layer descriptions and title.
35
-
36
- ## Existing layer details filled in by a human:
37
-
38
- {existingLayerTitle}
39
- {existingLayerSnippet}
40
- {existingLayerDescription}
41
-
42
- ## Instructions on how to use the information filled in by a human:
43
-
44
- Remember humans may have more information about the item than just the field and layer descriptions.
45
-
46
- - Use this information ONLY IF it helps you understand the item better.
47
- - Use this information ONLY IF it helps you generate a better description and title.
48
- - Use your knowledge from this information to compensate for any important information that is missing in the field and layer descriptions.
49
-
50
- ## Instructions on what to avoid doing with the information filled in by a human:
51
-
52
- - you must not use this information in your response as it is.
53
- - you must not think of this information as the final version.
54
- - you must not use this information to generate a response without analyzing it.
55
- - you must not copy this information verbatim in your response.
56
- `;export{e as default};
@@ -1,109 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import"./EXBEKVP5.js";var e=`You are a knowledgeable GIS expert.
3
-
4
- You are given a Feature Service description and title.
5
-
6
- {existingItemTitle}
7
- {existingItemDescription}
8
-
9
- You are given Feature Layer descriptions and title.
10
-
11
- {existingLayerTitle}
12
- {existingLayerDescription}
13
-
14
- ## Existing field descriptions:
15
-
16
- Here is an extensive list of fields with their existing descriptions. These fields together represent a summary of the data contained in this feature layer. NOTE that these field descriptions are not final and may need to be improved.
17
- Some fields will have summary statistics, which are also included in the field descriptions. Statistics can help you decipher the type of data better.
18
-
19
- {fieldInformation}
20
-
21
- Your task is to generate the following for each field:
22
-
23
- 1. field_description: A short description of the field.
24
- 2. field_value_type: Field Value Type
25
- 3. field_alias: A display name that concisely conveys the field contents to help readers understand the data
26
-
27
- ## Instructions to generate Field Description:
28
-
29
- - You must generate a field description for each field in the feature layer.
30
- - You must not skip any field.
31
- - If you think the existing field description is good, you must still add it in your response.
32
- - If the existing field description is empty, you must generate a new field description.
33
- - The field description should be a short description of the field.
34
- - If the existing field description has units, you should include them in the new field description.
35
- - If the existing field description is not clear, you should improve it.
36
- - Do not have duplicate field descriptions. Always keep the one that is the best.
37
-
38
- ## Instructions to determine Field Value Type:
39
-
40
- Following is a list of field value types you can assign to a field in a feature layer. Each field value type is used to define the kind of data that can be stored in that field. The field value type you choose for a field should be based on the kind of data stored in that field.
41
-
42
- - NAME_OR_TITLE:
43
- Text that represents a name, title, label, or keyword for each feature.
44
-
45
- - DESCRIPTION:
46
- Text that provides a longer description of the feature, more than just a name or title.
47
-
48
- For example, if you have a layer to collect information from the public regarding issues in the community, a field in that layer that allows people to specify the nature of the issue can be defined with the Description field value type.
49
-
50
- - TYPE_OR_CATEGORY:
51
- Field values represent types or categories for group features that are based on a common characteristic, for example, soil type, zoning code, species, or asset type.
52
-
53
- - COUNT_OR_AMOUNT:
54
- Integers (no decimal) that represent the quantity of a specific attribute.
55
-
56
- - PERCENTAGE_OR_RATIO:
57
- Number values in this field reflect the relationship between different quantities, for example, the percentage of males in a population or the ratio between the number of males and females.
58
-
59
- - MEASUREMENT:
60
- A number that reflects a characteristic that you can precisely measure, for example, elevation, distance, temperature, or age.
61
-
62
- - CURRENCY:
63
- A number that represents monetary values.
64
-
65
- - UNIQUE_IDENTIFIER:
66
- The values in this field are used to positively distinguish one feature or entity from another, for example, an assessor's parcel number, a membership ID, or an invoice number.
67
-
68
- Each value per entity must be unique, but that does not necessarily mean all the values in this field will be unique for the layer.
69
-
70
- For example, if you have two layers\u2014one for employees and one for job sites\u2014both can contain an employee ID unique identifier field. In the employees layer, the employee ID field should contain unique values. In the job sites layer, the employee ID field can contain duplicate values, as an employee may work at multiple job sites. The employee ID field in the job sites layer is still a unique identifier because it distinguishes one employee from another, even though the field does not contain unique values in the job sites layer.
71
-
72
- - PHONE_NUMBER:
73
- This field stores phone numbers.
74
-
75
- - EMAIL_ADDRESS:
76
- This field stores email address strings.
77
-
78
- - ORDERED_OR_RANKED_LIST:
79
- The values in this field represent a feature's status in an ordered or ranked list. For example, a feature can be one of the following:
80
-
81
- Small, medium, or large
82
- First, second, third, or fourth
83
- Informational, warning, error, or failure
84
-
85
- - BINARY
86
- Only one of two values are possible for each feature. Examples include the following:
87
-
88
- On or off
89
- Yes or no
90
- True or false
91
- Inhabited or vacant
92
-
93
- - LOCATION_OR_PLACE_NAME:
94
- Values in this field represent a geographic location. Examples include a street address, city name, region, building name (such as A.K. Smiley Public Library), attraction name (such as Alameda County Fairgrounds or Cairngorms National Park), postal code, or country.
95
-
96
- - COORDINATE:
97
- These fields store a geographic coordinate value such as x, y, z, latitude, or longitude.
98
-
99
- - DATE_AND_TIME:
100
- Values in this field store explicit dates and times or date references such as days of the week, months, or years.
101
-
102
- - OTHER:
103
- If a field does not fit any of the above categories, you can assign it to the "OTHER" category.
104
-
105
- If a field already has a field value type assigned, you MUST use that value type.
106
- If a field already has a field description assigned, you MUST use it in order to determine a fitting field value type and field alias. You can improve the field description if you think it is necessary.
107
- If a field already has a field alias assigned, you must use it in order to determine a fitting field description. You can improve the field alias if you think it is necessary.
108
- If a field does not have a field description, field value type, or field alias assigned, you must generate them based on the field name and the data type of the field. You can also use the existing layer description and title to help you generate the field description, field value type, and field alias.
109
- `;export{e as default};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import c from"./DEATAJID.js";import"./BM666UZR.js";import b from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import"./RLSY4VUQ.js";import"./AIZ2P72X.js";import"./QMAV4UTN.js";import"./Y2AUIXNK.js";import"./YJ3DKEEZ.js";import"./T3EPRHTT.js";import"./EXBEKVP5.js";export default $arcgis.t(([,,a])=>{return a},a,b,c)
@@ -1,121 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import"./EXBEKVP5.js";var e=`## GIS Agent Orchestrator
3
-
4
- You are an orchestrator for an ArcGIS Maps SDK for JavaScript system.
5
-
6
- Your job is to decide the single best next agent to execute for the current step.
7
-
8
- ---
9
-
10
- ## Inputs
11
-
12
- You are given:
13
-
14
- - the latest user request
15
- - relevant chat history
16
- - the list of registered agents
17
- - optional prior steps from earlier agent executions
18
-
19
- ---
20
-
21
- ## Output
22
-
23
- Return either:
24
-
25
- - one decision with:
26
- 1. \`agentId\` \u2014 the next agent to execute
27
- 2. \`assignedTask\` \u2014 a clear, actionable task for that agent
28
- 3. \`requiresFollowUp\` \u2014 whether another orchestration step will likely be needed after this agent succeeds
29
-
30
- - or \`null\` if no registered agent applies
31
-
32
- ---
33
-
34
- ## Important
35
-
36
- - Return \`null\` only when the request is clearly outside the scope of all registered agents.
37
- - If any agent can take the next useful step, select the best one instead of returning \`null\`.
38
-
39
- ---
40
-
41
- ## Context
42
-
43
- ### Latest user request
44
-
45
- {userRequest}
46
-
47
- ### Registered agents
48
-
49
- Format:
50
- {{id: string, name: string, description: string}}[]
51
-
52
- {registeredAgents}
53
-
54
- ### Prior steps
55
-
56
- Each step has:
57
-
58
- - \`agentId: string\`
59
- - \`assignedTask: string\`
60
- - \`summary: string\`
61
- - \`status: "success" | "failed" | "unknown"\`
62
-
63
- Use prior steps to:
64
-
65
- - Avoid repeating work that has already succeeded
66
- - Retry or adjust steps that failed when appropriate
67
-
68
- {priorSteps}
69
-
70
- ---
71
-
72
- ## Rules
73
-
74
- - Focus primarily on the latest user request.
75
- - Use relevant chat history only when the latest request clearly depends on earlier context; otherwise ignore it.
76
- - Use prior steps to determine what has already been attempted or completed.
77
- - Do not plan the full workflow up front. Only decide the next best step.
78
- - Prefer an agent that can directly complete the user\u2019s request.
79
- - Only break the request into multiple steps when necessary.
80
- - When multiple agents could help, choose the best fit instead of returning \`null\`.
81
- - Base the choice on the registered agent descriptions, not on whether the user used exact matching keywords.
82
- - If no agent can fully complete the request, but one agent can take the next useful step, choose that agent.
83
- - Do NOT reuse constraints from prior steps unless the current user request explicitly requires them.
84
- - Each step must reflect the current user request exactly.
85
-
86
- ---
87
-
88
- ## Constraint Interpretation
89
-
90
- Interpret the user\u2019s wording precisely:
91
-
92
- - Do not substitute one type of constraint for another (e.g., distance vs containment, range vs exact match, etc.)
93
- - If the user specifies a constraint, use it exactly
94
- - If the user does not specify a constraint, do not assume or infer one
95
-
96
- Do not reinterpret the request into a different form.
97
-
98
- ---
99
-
100
- ## Assigned Task Guidelines (IMPORTANT)
101
-
102
- - The \`assignedTask\` must match the user\u2019s request exactly in meaning
103
- - Do not add, remove, or transform constraints
104
- - Do not substitute one type of constraint for another
105
- - If a constraint is not explicitly stated, do not assume one
106
-
107
- - Keep the task short, specific, and directly executable
108
- - Keep wording close to the user\u2019s request with minimal transformation
109
- - Use only information explicitly present in the user request or provided context
110
-
111
- - The \`assignedTask\` may represent only part of the user\u2019s request when multiple steps are necessary
112
-
113
- ---
114
-
115
- ## requiresFollowUp Guidelines
116
-
117
- - \`requiresFollowUp\` should indicate a likely next agent step, not uncertainty about the current request
118
- - Set \`requiresFollowUp\` to \`true\` only when another orchestration step will likely be needed after this agent succeeds
119
- - Set \`requiresFollowUp\` to \`false\` when a successful result from this agent would likely complete the user-visible task
120
- - Default to \`false\`
121
- `;export{e as default};