@arcgis/map-components 5.2.0-next.95 → 5.2.0-next.97

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 (233) hide show
  1. package/dist/cdn/22TB66OC.js +2 -0
  2. package/dist/cdn/{GIQDIWW4.js → 22VFTYTN.js} +1 -1
  3. package/dist/cdn/367Z3TKY.js +2 -0
  4. package/dist/cdn/{AY2PVEY5.js → 3AIQYNSA.js} +1 -1
  5. package/dist/cdn/{QTGJ2TIJ.js → 454H3MLO.js} +1 -1
  6. package/dist/cdn/{FRAZUJ7K.js → 4MSBOUHQ.js} +1 -1
  7. package/dist/cdn/{SK4OCYH7.js → 4YU2AF7S.js} +1 -1
  8. package/dist/cdn/5FWT3N7B.js +2 -0
  9. package/dist/cdn/6KYWLAYH.js +2 -0
  10. package/dist/cdn/6SEM26SM.js +2 -0
  11. package/dist/cdn/6ZE7BJTS.js +2 -0
  12. package/dist/cdn/72HH6FSN.js +2 -0
  13. package/dist/cdn/{SSJBKHEN.js → 77NK4UBY.js} +1 -1
  14. package/dist/cdn/{LPB2JMJ5.js → 7F2DXC54.js} +1 -1
  15. package/dist/cdn/{Y56FOEA4.js → A3KD2UAY.js} +1 -1
  16. package/dist/cdn/AJBOKAK6.js +2 -0
  17. package/dist/cdn/{2HYRTMJ6.js → AOBYM5ZK.js} +1 -1
  18. package/dist/cdn/{MXYWUI34.js → ASVNFERZ.js} +1 -1
  19. package/dist/cdn/AZ6IOGGT.js +2 -0
  20. package/dist/cdn/{PWY44JI6.js → B4KOVXN3.js} +1 -1
  21. package/dist/cdn/{7TTSWTGP.js → BHENVS42.js} +1 -1
  22. package/dist/cdn/BOPKJR3D.js +2 -0
  23. package/dist/cdn/{K2FKS4AS.js → BZGHEINJ.js} +1 -1
  24. package/dist/cdn/{VHHRBGXN.js → CJLML2XS.js} +1 -1
  25. package/dist/cdn/CKO4VE36.js +2 -0
  26. package/dist/cdn/{2F6NRCC5.js → DVGE5VPK.js} +1 -1
  27. package/dist/cdn/{I3VQ46FA.js → EAQV7AZQ.js} +1 -1
  28. package/dist/cdn/EDGLEFG3.js +2 -0
  29. package/dist/cdn/{CEMBX25Q.js → EXIPQBCY.js} +1 -1
  30. package/dist/cdn/FCNNRX3Q.js +2 -0
  31. package/dist/cdn/FCVLHRLJ.js +2 -0
  32. package/dist/cdn/G743AW46.js +2 -0
  33. package/dist/cdn/{XZGU6TR6.js → GGKOLSCH.js} +1 -1
  34. package/dist/cdn/{3CHIGFZL.js → GLMK45AB.js} +1 -1
  35. package/dist/cdn/H7KG55LR.js +2 -0
  36. package/dist/cdn/{S5XIZ2L4.js → HXNLIDLQ.js} +1 -1
  37. package/dist/cdn/{7ZZWKH2U.js → IPT3YBSG.js} +2 -2
  38. package/dist/cdn/{UAGCCYQB.js → IXDLJKJA.js} +1 -1
  39. package/dist/cdn/{B5FTF7WR.js → J624KHFL.js} +1 -1
  40. package/dist/cdn/{G2BLA5NQ.js → JAQYZZRT.js} +1 -1
  41. package/dist/cdn/{KZPPV365.js → JMYDF3AT.js} +1 -1
  42. package/dist/cdn/L4DWZT4V.js +2 -0
  43. package/dist/cdn/{XAZNEI2W.js → LCG5BEEY.js} +1 -1
  44. package/dist/cdn/{VWV6XWSU.js → LW6SRLBI.js} +1 -1
  45. package/dist/cdn/{5SVULVBJ.js → MAILUSIQ.js} +1 -1
  46. package/dist/cdn/N2RLGXGJ.js +2 -0
  47. package/dist/cdn/NRT2ZCWC.js +2 -0
  48. package/dist/cdn/{HOKDRJ4R.js → NSUQXUWH.js} +1 -1
  49. package/dist/cdn/{V42KBFW7.js → OCAPESF3.js} +1 -1
  50. package/dist/cdn/{F3JDX4A7.js → OMEJFPK7.js} +1 -1
  51. package/dist/cdn/P2JBFLSB.js +2 -0
  52. package/dist/cdn/{D6BWGR3Z.js → P5CQYFPA.js} +1 -1
  53. package/dist/cdn/R5GMCIAH.js +2 -0
  54. package/dist/cdn/{AKNAVXKD.js → RC7BSNQ3.js} +1 -1
  55. package/dist/cdn/{O6CGTOAO.js → S7JDLOX2.js} +1 -1
  56. package/dist/cdn/SA4IYYIE.js +2 -0
  57. package/dist/cdn/{QD3GVN2C.js → SDY4E3WA.js} +1 -1
  58. package/dist/cdn/{CJ536VHT.js → SGU4TP7V.js} +1 -1
  59. package/dist/cdn/TDGEDT35.js +2 -0
  60. package/dist/cdn/{66PT52ED.js → TZEAPNBI.js} +1 -1
  61. package/dist/cdn/{CA5LXWO6.js → UOZG2EH7.js} +1 -1
  62. package/dist/cdn/{GMSIYMNC.js → UPJTKQR3.js} +1 -1
  63. package/dist/cdn/{2JLMOWRT.js → VULA5TJD.js} +1 -1
  64. package/dist/cdn/VZXCU47M.js +2 -0
  65. package/dist/cdn/{FRSROWP4.js → W6IFUQTQ.js} +1 -1
  66. package/dist/cdn/{SVJ7AEMP.js → WAFRMU5C.js} +1 -1
  67. package/dist/cdn/WLGR4IHZ.js +2 -0
  68. package/dist/cdn/{CX3OZJEH.js → WMK7RLBA.js} +1 -1
  69. package/dist/cdn/{4FVOBVTD.js → YEN7K65V.js} +2 -2
  70. package/dist/cdn/YVQJ4XD4.js +2 -0
  71. package/dist/cdn/{FZDURX2Y.js → YWOTHCBH.js} +1 -1
  72. package/dist/cdn/{N5VJ4SAX.js → ZCRUGROJ.js} +1 -1
  73. package/dist/cdn/{VT2IDAHB.js → ZUWNZX6G.js} +1 -1
  74. package/dist/cdn/assets/layer-list-next/t9n/messages.en.json +1 -1
  75. package/dist/cdn/assets/selection-list/t9n/messages.en.json +1 -0
  76. package/dist/cdn/assets/video-player/t9n/messages.en.json +1 -1
  77. package/dist/cdn/index.js +1 -1
  78. package/dist/cdn/main.css +1 -1
  79. package/dist/chunks/esri-main.js +1 -1
  80. package/dist/chunks/layer-list-utils.js +23 -17
  81. package/dist/chunks/slots.js +1 -1
  82. package/dist/chunks/svgUtils.js +1 -1
  83. package/dist/chunks/univariateUtils.js +1 -1
  84. package/dist/chunks/utils2.js +66 -50
  85. package/dist/chunks/utils3.js +50 -13
  86. package/dist/chunks/utils4.js +13 -45
  87. package/dist/chunks/utils5.js +51 -0
  88. package/dist/components/arcgis-aggregated-features/customElement.js +7 -7
  89. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +21 -0
  90. package/dist/components/arcgis-area-measurement-2d/customElement.js +5 -5
  91. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +16 -0
  92. package/dist/components/arcgis-area-measurement-3d/customElement.js +10 -10
  93. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +5 -6
  94. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +6 -5
  95. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +11 -1
  96. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +1 -1
  97. package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +2 -2
  98. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +18 -0
  99. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  100. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +19 -0
  101. package/dist/components/arcgis-distance-measurement-2d/customElement.js +5 -5
  102. package/dist/components/arcgis-feature/customElement.js +27 -27
  103. package/dist/components/arcgis-feature-attachments/customElement.js +73 -60
  104. package/dist/components/arcgis-feature-next/customElement.d.ts +7 -0
  105. package/dist/components/arcgis-feature-next/customElement.js +12 -12
  106. package/dist/components/arcgis-feature-relationship/customElement.js +54 -45
  107. package/dist/components/arcgis-features-next/customElement.d.ts +7 -0
  108. package/dist/components/arcgis-features-next/customElement.js +16 -16
  109. package/dist/components/arcgis-layer-list-item-indicator/customElement.js +6 -6
  110. package/dist/components/arcgis-layer-list-item-panel/customElement.js +20 -16
  111. package/dist/components/arcgis-layer-list-next/customElement.d.ts +41 -9
  112. package/dist/components/arcgis-layer-list-next/customElement.js +49 -45
  113. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +134 -10
  114. package/dist/components/arcgis-layer-list-next/types.d.ts +5 -0
  115. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  116. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  117. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  118. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  119. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  120. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  121. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  122. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
  123. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +1 -1
  124. package/dist/components/arcgis-popup/customElement.d.ts +7 -0
  125. package/dist/components/arcgis-popup/customElement.js +15 -15
  126. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  127. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  128. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  129. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  130. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  131. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  132. package/dist/components/arcgis-scene/customElement.d.ts +2 -2
  133. package/dist/components/arcgis-selection-list/customElement.d.ts +421 -0
  134. package/dist/components/arcgis-selection-list/customElement.js +279 -0
  135. package/dist/components/arcgis-selection-list/index.d.ts +1 -0
  136. package/dist/components/arcgis-selection-list/index.js +16 -0
  137. package/dist/components/arcgis-selection-list/types.d.ts +85 -0
  138. package/dist/components/arcgis-table-list-next/customElement.js +5 -5
  139. package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +2 -1
  140. package/dist/components/arcgis-utility-network-elements-result-item/customElement.d.ts +1 -1
  141. package/dist/components/arcgis-utility-network-elements-result-item/customElement.js +2 -2
  142. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +11 -0
  143. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +76 -78
  144. package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +10 -4
  145. package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +17 -25
  146. package/dist/components/arcgis-video-player/customElement.d.ts +3 -0
  147. package/dist/components/arcgis-video-player/customElement.js +1 -1
  148. package/dist/components/arcgis-video-player-slider/customElement.js +9 -9
  149. package/dist/components/arcgis-volume-measurement/customElement.d.ts +37 -0
  150. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  151. package/dist/docs/api.json +1 -1
  152. package/dist/docs/docs.json +1 -1
  153. package/dist/docs/vscode.html-custom-data.json +1 -1
  154. package/dist/docs/web-types.json +1 -1
  155. package/dist/index.d.ts +10 -0
  156. package/dist/loader.js +15 -14
  157. package/dist/types/lumina.d.ts +19 -12
  158. package/dist/types/preact.d.ts +20 -12
  159. package/dist/types/react.d.ts +21 -12
  160. package/dist/types/stencil.d.ts +19 -12
  161. package/dist/utils/layer-list-utils.d.ts +1 -1
  162. package/package.json +7 -7
  163. package/dist/cdn/2GDWXNYN.js +0 -2
  164. package/dist/cdn/376WTHOL.js +0 -2
  165. package/dist/cdn/4YFREAQ2.js +0 -2
  166. package/dist/cdn/A6Z7H75I.js +0 -2
  167. package/dist/cdn/CDMVB72W.js +0 -2
  168. package/dist/cdn/D5TJRWW3.js +0 -2
  169. package/dist/cdn/ECXHREHJ.js +0 -2
  170. package/dist/cdn/FIIA3N5X.js +0 -2
  171. package/dist/cdn/FY6IGGPV.js +0 -2
  172. package/dist/cdn/G7HOUS4O.js +0 -2
  173. package/dist/cdn/HF3GCBAI.js +0 -2
  174. package/dist/cdn/HISWL3K3.js +0 -2
  175. package/dist/cdn/HPLMTKLF.js +0 -2
  176. package/dist/cdn/JKOIMKKL.js +0 -2
  177. package/dist/cdn/JOPAUFUX.js +0 -2
  178. package/dist/cdn/LDDAJOTV.js +0 -2
  179. package/dist/cdn/LKCX5SXM.js +0 -2
  180. package/dist/cdn/LMNH2RHA.js +0 -2
  181. package/dist/cdn/MBFY4GDJ.js +0 -2
  182. package/dist/cdn/PI55I5L7.js +0 -2
  183. package/dist/cdn/S3QMZKDY.js +0 -2
  184. package/dist/cdn/XQH6U57U.js +0 -2
  185. package/dist/cdn/YDP5A3EP.js +0 -2
  186. package/dist/cdn/ZSDNX326.js +0 -2
  187. package/dist/chunks/layer-list-item.js +0 -181
  188. /package/dist/cdn/{WKBILCAY.js → 2ZG7S6GM.js} +0 -0
  189. /package/dist/cdn/{4WURS3DM.js → 3VWL4SN7.js} +0 -0
  190. /package/dist/cdn/{4GIRSQMC.js → 4F6FNH6V.js} +0 -0
  191. /package/dist/cdn/{KYWZUC6M.js → 4J6DMRVO.js} +0 -0
  192. /package/dist/cdn/{FVZJPOWC.js → 5OBSJYCP.js} +0 -0
  193. /package/dist/cdn/{5CB7FWG6.js → 657KH5W3.js} +0 -0
  194. /package/dist/cdn/{ESYSNSNH.js → 6B4ROFUM.js} +0 -0
  195. /package/dist/cdn/{RKXHWHFR.js → 6RT7GRX4.js} +0 -0
  196. /package/dist/cdn/{3ZXNGXHC.js → 7DI2ZSB3.js} +0 -0
  197. /package/dist/cdn/{4AEFZEGM.js → 7JKYXV7H.js} +0 -0
  198. /package/dist/cdn/{NDWLSQ4W.js → 7NO3F7GQ.js} +0 -0
  199. /package/dist/cdn/{4KYPBCNM.js → AA2HLLIM.js} +0 -0
  200. /package/dist/cdn/{BU5HRIOW.js → ADZF7IHV.js} +0 -0
  201. /package/dist/cdn/{B4RNNO6A.js → B6JLKBMG.js} +0 -0
  202. /package/dist/cdn/{ZOGRVFHK.js → D2FVI5JG.js} +0 -0
  203. /package/dist/cdn/{HW5YYDPC.js → D5LP3DJA.js} +0 -0
  204. /package/dist/cdn/{OJOQP2IU.js → DNQGXWL3.js} +0 -0
  205. /package/dist/cdn/{QU5PA5MZ.js → DSPV4EIK.js} +0 -0
  206. /package/dist/cdn/{FV7FUSTO.js → E3AEBH36.js} +0 -0
  207. /package/dist/cdn/{2EDZ2LNR.js → FRGVEQAZ.js} +0 -0
  208. /package/dist/cdn/{ZXEH6MEU.js → G7DHB4QN.js} +0 -0
  209. /package/dist/cdn/{MGILHYX4.js → GJAC7GKP.js} +0 -0
  210. /package/dist/cdn/{G42D353L.js → GLZMKGGW.js} +0 -0
  211. /package/dist/cdn/{WRKX7F2G.js → H3RDAWS7.js} +0 -0
  212. /package/dist/cdn/{YFM2SKWI.js → HDYBFSI5.js} +0 -0
  213. /package/dist/cdn/{NGQUETWM.js → HH4A44WX.js} +0 -0
  214. /package/dist/cdn/{5EU3QVP7.js → HRTVHZHG.js} +0 -0
  215. /package/dist/cdn/{7427KHVF.js → IU63DGNP.js} +0 -0
  216. /package/dist/cdn/{O3SPKYBG.js → J3KTKVLP.js} +0 -0
  217. /package/dist/cdn/{BV52G5DA.js → JHF7SGKM.js} +0 -0
  218. /package/dist/cdn/{GLKTAVV5.js → JU4MCJPU.js} +0 -0
  219. /package/dist/cdn/{77ZD2RFI.js → KVIE42LT.js} +0 -0
  220. /package/dist/cdn/{W2UZH6QI.js → LG3G4BFF.js} +0 -0
  221. /package/dist/cdn/{VDTRRLON.js → MDTNPISF.js} +0 -0
  222. /package/dist/cdn/{XYRTRBXU.js → OO4SKY7C.js} +0 -0
  223. /package/dist/cdn/{SNX6WY7J.js → OTTKYEPK.js} +0 -0
  224. /package/dist/cdn/{J4VKIBXE.js → QH4RNPEX.js} +0 -0
  225. /package/dist/cdn/{IHWFNEBS.js → QJBQ3JLC.js} +0 -0
  226. /package/dist/cdn/{KG3HVAZY.js → SE4NXMGA.js} +0 -0
  227. /package/dist/cdn/{AZWQWNTK.js → SOOVHYLT.js} +0 -0
  228. /package/dist/cdn/{KMNELKA3.js → T5QDEAAE.js} +0 -0
  229. /package/dist/cdn/{W2YB27M6.js → TKEBTPPA.js} +0 -0
  230. /package/dist/cdn/{6URW6H47.js → TTBQBEDS.js} +0 -0
  231. /package/dist/cdn/{BIKEUMV7.js → VFHHDNXC.js} +0 -0
  232. /package/dist/cdn/{QZHFPTSI.js → X2MAQDWV.js} +0 -0
  233. /package/dist/cdn/{LGNLLGA6.js → YWQU6EBN.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as _ } from "../../chunks/runtime.js";
3
- import { css as w, html as d } from "lit";
4
- import { LitElement as f, createEvent as b, nothing as v, safeClassMap as x } from "@arcgis/lumina";
3
+ import { css as w, html as c } from "lit";
4
+ import { LitElement as f, createEvent as v, nothing as b, safeClassMap as x } from "@arcgis/lumina";
5
5
  import { usePropertyChange as y } from "@arcgis/lumina/controllers";
6
6
  import { u as k } from "../../chunks/useT9n.js";
7
7
  import { m as M } from "../../chunks/useViewModel.js";
@@ -16,8 +16,8 @@ import { A as S } from "../../chunks/AnalysisViewModel.js";
16
16
  import { g as U, a as C, b as u, r as E, m, c as D } from "../../chunks/measurementUtils.js";
17
17
  const j = w`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--arcgis-internal-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}:host{width:300px;.esri-widget--panel{min-width:0}}`;
18
18
  var L = Object.defineProperty, P = Object.getOwnPropertyDescriptor, n = (t, e, a, r) => {
19
- for (var i = r > 1 ? void 0 : r ? P(e, a) : e, s = t.length - 1, c; s >= 0; s--)
20
- (c = t[s]) && (i = (r ? c(e, a, i) : c(i)) || i);
19
+ for (var i = r > 1 ? void 0 : r ? P(e, a) : e, s = t.length - 1, d; s >= 0; s--)
20
+ (d = t[s]) && (i = (r ? d(e, a, i) : d(i)) || i);
21
21
  return r && i && L(e, a, i), i;
22
22
  };
23
23
  let o = class extends S {
@@ -103,10 +103,10 @@ o = n([
103
103
  const B = M(o);
104
104
  class R extends f {
105
105
  constructor() {
106
- super(...arguments), this.viewModel = B(this), this.messages = k({ blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.hideStartButton = !1, this.hideUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.icon = "measure-area", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = y()("analysis", "state"), this.arcgisReady = b();
106
+ super(...arguments), this.viewModel = B(this), this.messages = k({ blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.hideStartButton = !1, this.hideUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.icon = "measure-area", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = y()("analysis", "state"), this.arcgisReady = v();
107
107
  }
108
108
  static {
109
- this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, hideStartButton: 5, hideUnitSelect: 5, hideVisualization: 5, icon: 3, label: 1, referenceElement: 1, state: 32, unit: 1, unitOptions: 0 };
109
+ this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, hideStartButton: 5, hideUnitSelect: 5, hideVisualization: 5, icon: 3, label: 1, messageOverrides: 0, referenceElement: 1, state: 32, unit: 1, unitOptions: 0 };
110
110
  }
111
111
  static {
112
112
  this.styles = j;
@@ -121,8 +121,8 @@ class R extends f {
121
121
  z(this.viewModel.start());
122
122
  }
123
123
  render() {
124
- const { messages: e, unit: a, unitOptions: r, viewModel: i } = this, { measurement: s, state: c } = i;
125
- return d`<div aria-label=${e.componentLabel ?? v} class=${x({
124
+ const { messages: e, unit: a, unitOptions: r, viewModel: i } = this, { measurement: s, state: d } = i;
125
+ return c`<div aria-label=${e.componentLabel ?? b} class=${x({
126
126
  [g.widget]: !0,
127
127
  [g.panel]: !0
128
128
  })} role=presentation><arcgis-measurement-content .state=${i.displayState} .hintLabel=${e.hint} .unsupportedLabel=${e.unsupported} .items=${[
@@ -134,9 +134,9 @@ class R extends f {
134
134
  title: e.perimeterLength,
135
135
  measurement: s.perimeter
136
136
  }
137
- ]}>${p({ hidden: this.hideUnitSelect, children: d`<arcgis-unit-select slot=settings .options=${r} .selectLabel=${e.unit} .value=${a} @arcgisUnitSelectChange=${(h) => {
137
+ ]}>${p({ hidden: this.hideUnitSelect, children: c`<arcgis-unit-select slot=settings .options=${r} .selectLabel=${e.unit} .value=${a} @arcgisUnitSelectChange=${(h) => {
138
138
  this.unit = h.detail;
139
- }}></arcgis-unit-select>` })}${p({ hidden: this.hideStartButton, children: d`<calcite-button slot=actions .disabled=${c === "unsupported" || c === "disabled"} @click=${this.start}>${e.newMeasurement}</calcite-button>` })}</arcgis-measurement-content></div>`;
139
+ }}></arcgis-unit-select>` })}${p({ hidden: this.hideStartButton, children: c`<calcite-button slot=actions .disabled=${d === "unsupported" || d === "disabled"} @click=${this.start}>${e.newMeasurement}</calcite-button>` })}</arcgis-measurement-content></div>`;
140
140
  }
141
141
  }
142
142
  _("arcgis-area-measurement-3d", R);
@@ -541,17 +541,16 @@ export abstract class ArcgisBasemapLayerListNext extends LitElement {
541
541
  */
542
542
  accessor minFilterItems: number;
543
543
  /**
544
- * A collection of [layers](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/) that are opened
545
- * in a [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#catalogLayerList) or [arcgis-layer-list-next.tableList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-layer-list-next/#tableList) flow item.
546
- * This property is useful for backing out of the catalog layer list or table list programmatically to the parent layer list.
544
+ * A collection of [layers](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/) opened in a flow item within the component. Use this property to navigate back programmatically by removing the last opened layer.
547
545
  *
548
546
  * @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#catalogLayerList)
549
- * @see [tableList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list-next/#tableList)
550
547
  * @example
548
+ *
551
549
  * ```js
552
- * // back out of the catalog layer list to the basemap layer list
553
- * basemapLayerListElement.openedLayers.pop();
550
+ * // back out of the flow item to the main layer list
551
+ * basemapLayerListNext.openedLayers.pop();
554
552
  * ```
553
+ *
555
554
  */
556
555
  get openedLayers(): Collection<FlowLayer>;
557
556
  /**
@@ -17,8 +17,9 @@ import { u as J } from "../../chunks/useT9n.js";
17
17
  import { m as K } from "../../chunks/useViewModel.js";
18
18
  import { g as b } from "../../chunks/globalCss.js";
19
19
  import { g as h, a as F, b as Q, r as W, s as T, c as X, d as Y, e as Z } from "../../chunks/layer-list-utils.js";
20
- import { r as ee, A as te } from "../../chunks/layer-list-item.js";
21
- import { s as se, a as ie } from "../../chunks/layer-list-next.js";
20
+ import { ArcgisLayerListItem as ee } from "../arcgis-layer-list-next/layer-list-item/customElement.js";
21
+ import { s as te, a as se } from "../../chunks/layer-list-next.js";
22
+ import { r as ie } from "../../chunks/utils2.js";
22
23
  import { c as ae } from "../../chunks/css.js";
23
24
  import "../arcgis-layer-list-item-indicator/customElement.js";
24
25
  import "../arcgis-layer-list-item-panel/customElement.js";
@@ -70,7 +71,7 @@ class ne extends G {
70
71
  this.properties = { _activeItem: 16, _catalogLayerList: 16, _tableList: 16, _tooltipReferenceMap: 16, _layerListMap: 16, openedLayerLists: 16, _allItems: 16, _visibleBaseItems: 16, _visibleReferenceItems: 16, _openedPanelItems: 16, _totalBaseItems: 16, _totalReferenceItems: 16, _baseFilterEnabled: 16, _referenceFilterEnabled: 16, _renderedOpenLayerFlowItems: 16, autoDestroyDisabled: 5, baseFilterPredicate: 0, baseFilterText: 1, baseItemCreatedFunction: 0, baseItems: 32, basemapTitle: 1, catalogLayerList: 32, catalogOptions: 0, closed: 5, collapsed: 7, dragEnabled: 5, editingTitle: 5, filterPlaceholder: 1, headingLevel: 9, hideBaseLayers: 5, hideCatalogLayerList: 5, hideHeading: 5, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, hideReferenceLayers: 5, hideStatusIndicators: 5, icon: 1, knowledgeGraphOptions: 0, label: 1, layerTablesEnabled: 0, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listModeDisabled: 5, mapImageOptions: 0, messageOverrides: 0, minFilterItems: 9, openedLayers: 32, referenceElement: 1, referenceFilterPredicate: 0, referenceFilterText: 1, referenceItems: 32, referenceItemCreatedFunction: 0, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showEditTitleButton: 5, showErrors: 5, showFilter: 5, showTemporaryLayerIndicators: 5, state: 32, tableList: 32, tileOptions: 0, view: 0, visibilityAppearance: 1 };
71
72
  }
72
73
  static {
73
- this.styles = [se, le, ie];
74
+ this.styles = [te, le, se];
74
75
  }
75
76
  get _allItems() {
76
77
  return this.referenceItems.concat(this.baseItems);
@@ -184,7 +185,7 @@ class ne extends G {
184
185
  newIndex: i,
185
186
  from: o,
186
187
  to: c
187
- }), ee(this, a.uid, (g) => g.parentElement?.closest("calcite-list") === e));
188
+ }), ie(this, a.uid, (g) => g.parentElement?.closest("calcite-list") === e));
188
189
  }
189
190
  _handleCalciteListDragEnd(e) {
190
191
  const { fromEl: t, toEl: s, dragEl: i, oldIndex: a } = e;
@@ -302,7 +303,7 @@ class ne extends G {
302
303
  return this.hideReferenceLayers ? null : this._renderList(this._visibleReferenceItems, "reference", !1);
303
304
  }
304
305
  _renderItem(e, t, s, i) {
305
- return d(e.uid, te({ activeItem: this._activeItem, canMove: this._canMove, css: p, displayMode: C, dragEnabled: this.dragEnabled && !t, hideCatalogLayerList: this.hideCatalogLayerList, hideStatusIndicators: this.hideStatusIndicators, item: e, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, messages: this.messages, operationalItems: this._allItems, parent: s, parentTitles: i, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, clearActiveItem: this._clearActiveItem, showErrors: this.showErrors, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handlePanelOpen: this._onPanelOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
306
+ return d(e.uid, ee({ activeItem: this._activeItem, canMove: this._canMove, css: p, displayMode: C, dragEnabled: this.dragEnabled && !t, hideCatalogLayerList: this.hideCatalogLayerList, hideStatusIndicators: this.hideStatusIndicators, item: e, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, messages: this.messages, operationalItems: this._allItems, parent: s, parentTitles: i, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, clearActiveItem: this._clearActiveItem, showErrors: this.showErrors, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handlePanelOpen: this._onPanelOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
306
307
  }
307
308
  }
308
309
  function M(v) {
@@ -387,7 +387,17 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
387
387
  accessor onTablesOpen: ((item: Item) => void) | undefined;
388
388
  /** @internal */
389
389
  get openedLayerLists(): Collection<FlowList>;
390
- /** @internal */
390
+ /**
391
+ * A collection of [layers](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/) opened in a flow item within the component. Use this property to navigate back programmatically by removing the last opened layer.
392
+ *
393
+ * @example
394
+ *
395
+ * ```js
396
+ * // back out of the flow item to the main layer list
397
+ * catalogLayerListNext.openedLayers.pop();
398
+ * ```
399
+ *
400
+ */
391
401
  get openedLayers(): Collection<FlowLayer>;
392
402
  /**
393
403
  * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
@@ -19,7 +19,7 @@ import { m as V } from "../../chunks/useViewModel.js";
19
19
  import { s as v } from "../../chunks/component-utils.js";
20
20
  import { g as f } from "../../chunks/globalCss.js";
21
21
  import { g as T, b as j, r as q, s as z, e as J } from "../../chunks/layer-list-utils.js";
22
- import { A as K } from "../../chunks/layer-list-item.js";
22
+ import { ArcgisLayerListItem as K } from "../arcgis-layer-list-next/layer-list-item/customElement.js";
23
23
  import { s as Q, a as W } from "../../chunks/layer-list-next.js";
24
24
  import { c as X } from "../../chunks/css.js";
25
25
  const m = X, Y = (p) => {
@@ -7,7 +7,7 @@ import type { useT9n } from "../../controllers/useT9n.js";
7
7
  import type { ArcgisTableList } from "../arcgis-table-list/customElement.js";
8
8
  import type { ArcgisCatalogLayerListNext } from "./customElement.js";
9
9
 
10
- /** @internal */
10
+ /** The type used to override the default messages in the Catalog Layer List (next). */
11
11
  export type CatalogLayerListMessageOverrides = ReturnType<typeof useT9n<{
12
12
  componentLabel: string;
13
13
  noItemsToDisplay: string;
@@ -31,7 +31,7 @@ export type CatalogLayerListOptions = Partial<Pick<ArcgisCatalogLayerListNext, "
31
31
  listItemCreatedFunction?: CatalogItemCollection["listItemCreatedFunction"];
32
32
  };
33
33
 
34
- /** @internal */
34
+ /** Represents a layer that can be part of a flow in the Catalog Layer List (next). */
35
35
  export type FlowLayer = CatalogLayer | SubtablesLayer;
36
36
 
37
37
  /** @internal */
@@ -174,6 +174,24 @@ export abstract class ArcgisDirectLineMeasurement3d extends LitElement {
174
174
  accessor icon: Icon["icon"] | undefined;
175
175
  /** The component's default label. */
176
176
  accessor label: string | undefined;
177
+ /**
178
+ * Replace localized message strings with your own strings.
179
+ *
180
+ * _**Note**: Individual message keys may change between releases._
181
+ */
182
+ accessor messageOverrides: {
183
+ componentLabel?: string | undefined;
184
+ direct?: string | undefined;
185
+ distance?: string | undefined;
186
+ hint?: string | undefined;
187
+ horizontal?: string | undefined;
188
+ newMeasurement?: string | undefined;
189
+ snappingDisablePrompt?: string | undefined;
190
+ snappingDisablePromptAlternate?: string | undefined;
191
+ unit?: string | undefined;
192
+ unsupported?: string | undefined;
193
+ vertical?: string | undefined;
194
+ };
177
195
  /** @internal */
178
196
  protected messages: {
179
197
  componentLabel: string;
@@ -116,7 +116,7 @@ class Z extends f {
116
116
  super(...arguments), this.viewModel = T(this), this.messages = D({ name: "directline-measurement-3d", blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.hideStartButton = !1, this.hideUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.icon = "measure-line", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = y()("analysis", "state"), this.arcgisReady = v();
117
117
  }
118
118
  static {
119
- this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, hideStartButton: 5, hideUnitSelect: 5, hideVisualization: 5, icon: 3, label: 1, referenceElement: 1, state: 32, unit: 1, unitOptions: 0 };
119
+ this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, hideStartButton: 5, hideUnitSelect: 5, hideVisualization: 5, icon: 3, label: 1, messageOverrides: 0, referenceElement: 1, state: 32, unit: 1, unitOptions: 0 };
120
120
  }
121
121
  static {
122
122
  this.styles = A;
@@ -137,6 +137,25 @@ export abstract class ArcgisDistanceMeasurement2d extends LitElement {
137
137
  accessor icon: Icon["icon"] | undefined;
138
138
  /** The component's default label. */
139
139
  accessor label: string | undefined;
140
+ /**
141
+ * Replace localized message strings with your own strings.
142
+ *
143
+ * _**Note**: Individual message keys may change between releases._
144
+ */
145
+ accessor messageOverrides: {
146
+ componentLabel?: string | undefined;
147
+ distance?: string | undefined;
148
+ hint?: string | undefined;
149
+ mode?: string | undefined;
150
+ modes?: {
151
+ auto?: string | undefined;
152
+ planar?: string | undefined;
153
+ geodesic?: string | undefined;
154
+ } | undefined;
155
+ newMeasurement?: string | undefined;
156
+ unit?: string | undefined;
157
+ unsupported?: string | undefined;
158
+ };
140
159
  /** @internal */
141
160
  protected messages: {
142
161
  componentLabel: string;
@@ -4,8 +4,8 @@ import { css as f, html as d } from "lit";
4
4
  import { LitElement as v, createEvent as b, nothing as x, safeClassMap as y } from "@arcgis/lumina";
5
5
  import { usePropertyChange as M } from "@arcgis/lumina/controllers";
6
6
  import { classes as k } from "@arcgis/toolkit/dom";
7
- import { u as z } from "../../chunks/useT9n.js";
8
- import { m as O } from "../../chunks/useViewModel.js";
7
+ import { u as O } from "../../chunks/useT9n.js";
8
+ import { m as z } from "../../chunks/useViewModel.js";
9
9
  import { b as V } from "../../chunks/async-utils.js";
10
10
  import { g as p } from "../../chunks/globalCss.js";
11
11
  import { V as g } from "../../chunks/visible-element.js";
@@ -111,13 +111,13 @@ s([
111
111
  r = s([
112
112
  $("components.distance-measurement-2d.DistanceMeasurement2dViewModel")
113
113
  ], r);
114
- const T = O(r);
114
+ const T = z(r);
115
115
  class Z extends v {
116
116
  constructor() {
117
- super(...arguments), this.viewModel = T(this), this.messages = z({ name: "distance-measurement-2d", blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.hideStartButton = !1, this.hideUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.icon = "measure-line", this.snappingOptions = this.viewModel.snappingOptions, this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = M()("analysis", "state"), this.arcgisReady = b();
117
+ super(...arguments), this.viewModel = T(this), this.messages = O({ name: "distance-measurement-2d", blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.hideStartButton = !1, this.hideUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.icon = "measure-line", this.snappingOptions = this.viewModel.snappingOptions, this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = M()("analysis", "state"), this.arcgisReady = b();
118
118
  }
119
119
  static {
120
- this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, hideStartButton: 5, hideUnitSelect: 5, hideVisualization: 5, icon: 3, label: 1, referenceElement: 1, snappingOptions: 0, state: 32, unit: 1, unitOptions: 0 };
120
+ this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, hideStartButton: 5, hideUnitSelect: 5, hideVisualization: 5, icon: 3, label: 1, messageOverrides: 0, referenceElement: 1, snappingOptions: 0, state: 32, unit: 1, unitOptions: 0 };
121
121
  }
122
122
  static {
123
123
  this.styles = L;
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as $ } from "../../chunks/runtime.js";
3
- import { css as w, html as n } from "lit";
3
+ import { css as w, html as r } from "lit";
4
4
  import { ref as y } from "lit/directives/ref.js";
5
5
  import { u as I } from "../../chunks/useT9n.js";
6
6
  import { classes as M } from "@arcgis/toolkit/dom";
@@ -14,7 +14,7 @@ import N from "@arcgis/core/core/Collection.js";
14
14
  import { watch as P } from "@arcgis/core/core/reactiveUtils.js";
15
15
  import { stripHTML as Z } from "@arcgis/core/applications/Components/stringUtils.js";
16
16
  import E from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
17
- const z = w`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element:only-child,.content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, U = x(E);
17
+ const z = w`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element[empty]{display:none}.content-element:not([empty]):only-child,.content-element:not([empty]):last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, U = x(E);
18
18
  class S extends F {
19
19
  constructor() {
20
20
  super(...arguments), this.messages = I(), this._rootFlowNode = null, this.internalFlowItems = new N(), this.flowType = "feature", this.viewModel = U(this), this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.title, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = C()("flowItems", "state"), this.arcgisReady = b();
@@ -73,12 +73,12 @@ class S extends F {
73
73
  this.internalFlowItems?.pop()?.destroy();
74
74
  }
75
75
  render() {
76
- const { state: e } = this.viewModel, t = n`<div class="container">${e === "error" ? this._renderError() : this._renderContentContainer()}</div>`;
77
- return n`<div class="root">${t}</div>`;
76
+ const { state: e } = this.viewModel, t = r`<div class="container">${e === "error" ? this._renderError() : this._renderContentContainer()}</div>`;
77
+ return r`<div class="root">${t}</div>`;
78
78
  }
79
79
  _renderError() {
80
80
  const { messages: e, hideHeading: t } = this;
81
- return n`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t ? null : n`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`;
81
+ return r`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t ? null : r`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`;
82
82
  }
83
83
  _renderAttachments(e) {
84
84
  const { values: t, fieldInfoMap: i, sourceLayer: o, globalValues: s } = this, a = c({
@@ -87,20 +87,20 @@ class S extends F {
87
87
  globalValues: s,
88
88
  layer: o,
89
89
  text: e.title
90
- }), r = c({
90
+ }), n = c({
91
91
  values: t,
92
92
  fieldInfoMap: i,
93
93
  globalValues: s,
94
94
  layer: o,
95
95
  text: e.description
96
96
  });
97
- return n`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${a} class="content-element" .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords ?? void 0} .attachmentTypes=${e.attachmentTypes ?? void 0} .orderByFields=${e.orderByFields ?? void 0} .graphic=${this.graphic ?? void 0} .description=${r} .messages=${this.messages}></arcgis-feature-attachments>`;
97
+ return r`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${a} class="content-element" .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords ?? void 0} .attachmentTypes=${e.attachmentTypes ?? void 0} .orderByFields=${e.orderByFields ?? void 0} .graphic=${this.graphic ?? void 0} .description=${n} .messages=${this.messages}></arcgis-feature-attachments>`;
98
98
  }
99
99
  _renderCustom(e) {
100
- return n`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
100
+ return r`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
101
101
  }
102
102
  _renderFields(e, t) {
103
- const i = this.viewModel.formattedAttributes, { values: o, fieldInfoMap: s, sourceLayer: a, popupTemplate: r, globalValues: l, graphic: d } = this, h = !!e?.fieldInfos, u = (e.fieldInfos ?? r?.fieldInfos ?? [])?.filter(({ fieldName: m }) => !!m && (B(m) || H(m) || m in o)), f = r?.expressionInfos, g = c({
103
+ const i = this.viewModel.formattedAttributes, { values: o, fieldInfoMap: s, sourceLayer: a, popupTemplate: n, globalValues: l, graphic: d } = this, h = !!e?.fieldInfos, u = (e.fieldInfos ?? n?.fieldInfos ?? [])?.filter(({ fieldName: m }) => !!m && (B(m) || H(m) || m in o)), f = n?.expressionInfos, g = c({
104
104
  values: o,
105
105
  fieldInfoMap: s,
106
106
  globalValues: l,
@@ -113,13 +113,13 @@ class S extends F {
113
113
  layer: a,
114
114
  text: e.description
115
115
  });
116
- return n`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${g} class="content-element" .messages=${this.messages} .graphic=${d ?? void 0} .isContentFieldInfos=${h} .layer=${a} .description=${v} .values=${{
116
+ return r`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${g} class="content-element" .messages=${this.messages} .graphic=${d ?? void 0} .isContentFieldInfos=${h} .layer=${a} .description=${v} .values=${{
117
117
  ...i?.global,
118
118
  ...i?.content?.[t]
119
119
  }} .fieldInfos=${u} .expressionInfos=${f ?? void 0}></arcgis-feature-fields>`;
120
120
  }
121
121
  _renderMedia(e, t) {
122
- const { values: i, graphic: o, fieldInfoMap: s, sourceLayer: a, popupTemplate: r, globalValues: l } = this, { formattedAttributes: d, relatedInfos: h } = this.viewModel, p = {
122
+ const { values: i, graphic: o, fieldInfoMap: s, sourceLayer: a, popupTemplate: n, globalValues: l } = this, { formattedAttributes: d, relatedInfos: h } = this.viewModel, p = {
123
123
  ...d?.global,
124
124
  ...d?.content?.[t]
125
125
  }, u = c({
@@ -135,52 +135,52 @@ class S extends F {
135
135
  layer: a,
136
136
  text: e.description
137
137
  });
138
- return n`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex ?? 0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${u} class="content-element" .description=${f} .values=${i} .layer=${a} .graphic=${o ?? void 0} .messages=${this.messages} .fieldInfoMap=${s} .mediaInfos=${e.mediaInfos ?? []} .popupTemplate=${r ?? void 0} .relatedInfos=${h} .formattedValues=${p}></arcgis-feature-media>`;
138
+ return r`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex ?? 0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${u} class="content-element" .description=${f} .values=${i} .layer=${a} .graphic=${o ?? void 0} .messages=${this.messages} .fieldInfoMap=${s} .mediaInfos=${e.mediaInfos ?? []} .popupTemplate=${n ?? void 0} .relatedInfos=${h} .formattedValues=${p}></arcgis-feature-media>`;
139
139
  }
140
140
  _renderText(e) {
141
- return n`<arcgis-feature-content .creator=${e.text} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
141
+ return r`<arcgis-feature-content .creator=${e.text} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
142
142
  }
143
143
  _renderExpression(e, t) {
144
144
  const i = this.viewModel.formattedAttributes, { fieldInfoMap: o } = this;
145
- return n`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .view=${this.viewModel.view ?? void 0} .graphic=${this.graphic ?? void 0} .location=${this.location ?? void 0} .headingLevel=${this.headingLevel} class="content-element" .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${o} .values=${{
145
+ return r`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .view=${this.viewModel.view ?? void 0} .graphic=${this.graphic ?? void 0} .location=${this.location ?? void 0} .headingLevel=${this.headingLevel} class="content-element" .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${o} .values=${{
146
146
  ...i?.global,
147
147
  ...i?.content?.[t]
148
148
  }}></arcgis-feature-expression>`;
149
149
  }
150
150
  _renderRelationship(e, t) {
151
- const { values: i, graphic: o, fieldInfoMap: s, sourceLayer: a, globalValues: r } = this, { displayCount: l, orderByFields: d, relationshipId: h } = e, { formattedAttributes: p, view: u } = this.viewModel, f = {
151
+ const { values: i, graphic: o, fieldInfoMap: s, sourceLayer: a, globalValues: n } = this, { displayCount: l, orderByFields: d, relationshipId: h } = e, { formattedAttributes: p, view: u } = this.viewModel, f = {
152
152
  ...p?.global,
153
153
  ...p?.content?.[t]
154
154
  }, g = c({
155
155
  values: i,
156
156
  fieldInfoMap: s,
157
- globalValues: r,
157
+ globalValues: n,
158
158
  layer: a,
159
159
  text: e.title
160
160
  }), v = c({
161
161
  values: i,
162
162
  fieldInfoMap: s,
163
- globalValues: r,
163
+ globalValues: n,
164
164
  layer: a,
165
165
  text: e.description
166
166
  });
167
- return n`<arcgis-feature-relationship .autoDestroyDisabled=${this.autoDestroyDisabled} class="content-element" .flowItems=${this.flowItems ?? this.internalFlowItems} .description=${v} .layer=${a} .map=${this.map ?? void 0} .displayCount=${l} .graphic=${o ?? void 0} .heading=${g} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${d ?? void 0} .relationshipId=${h ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .values=${f} .view=${u ?? void 0}></arcgis-feature-relationship>`;
167
+ return r`<arcgis-feature-relationship .autoDestroyDisabled=${this.autoDestroyDisabled} class="content-element" .flowItems=${this.flowItems ?? this.internalFlowItems} .description=${v} .layer=${a} .map=${this.map ?? void 0} .displayCount=${l} .graphic=${o ?? void 0} .heading=${g} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${d ?? void 0} .relationshipId=${h ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .values=${f} .view=${u ?? void 0}></arcgis-feature-relationship>`;
168
168
  }
169
169
  _renderAssociation(e) {
170
- const { fieldInfoMap: t, globalValues: i, graphic: o, messages: s, sourceLayer: a, values: r } = this, l = c({
171
- values: r,
170
+ const { fieldInfoMap: t, globalValues: i, graphic: o, messages: s, sourceLayer: a, values: n } = this, l = c({
171
+ values: n,
172
172
  fieldInfoMap: t,
173
173
  globalValues: i,
174
174
  layer: a,
175
175
  text: e.title
176
176
  }), d = c({
177
- values: r,
177
+ values: n,
178
178
  fieldInfoMap: t,
179
179
  globalValues: i,
180
180
  layer: a,
181
181
  text: e.description
182
182
  });
183
- return n`<arcgis-feature-utility-network-associations .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${d} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${o ?? void 0} .heading=${l} .headingLevel=${this.headingLevel} .layer=${a} .map=${this.map ?? void 0} .messages=${s} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
183
+ return r`<arcgis-feature-utility-network-associations .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${d} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${o ?? void 0} .heading=${l} .headingLevel=${this.headingLevel} .layer=${a} .map=${this.map ?? void 0} .messages=${s} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
184
184
  }
185
185
  _renderContentElement(e, t) {
186
186
  switch (e.type) {
@@ -206,11 +206,11 @@ class S extends F {
206
206
  }
207
207
  _renderContent() {
208
208
  const { content: e, graphic: t } = this.viewModel;
209
- return e ? Array.isArray(e) && e.length ? e.length ? e.map(this._renderContentElement, this) : null : typeof e == "string" ? n`<arcgis-feature-content .creator=${e} .graphic=${t ?? void 0} class="content-element"></arcgis-feature-content>` : e instanceof HTMLElement ? e : null : null;
209
+ return e ? Array.isArray(e) && e.length ? e.length ? e.map(this._renderContentElement, this) : null : typeof e == "string" ? r`<arcgis-feature-content .creator=${e} .graphic=${t ?? void 0} class="content-element"></arcgis-feature-content>` : e instanceof HTMLElement ? e : null : null;
210
210
  }
211
211
  _renderContentContainer() {
212
- const { flowItems: e, hideContent: t, internalFlowItems: i, headingLevel: o, state: s, messages: a, heading: r, hideHeading: l } = this, d = t ? null : n`<div class="main">${[this._renderContent(), this._renderLastEditInfo()]}</div>`, h = a.returnToInitialFeature ?? "";
213
- return e ? d : n`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .loading=${s === "loading"} .headingLevel=${o} .heading=${l ? void 0 : Z(r)} .selected=${!i.length}>${!l && r ? n`<div slot=heading><div .innerHTML=${A.sanitize(r ?? "") ?? ""}></div></div>` : null}${d}</calcite-flow-item>${i.toArray().map((p, u) => n`<calcite-flow-item @calciteFlowItemBack=${(f) => {
212
+ const { flowItems: e, hideContent: t, internalFlowItems: i, headingLevel: o, state: s, messages: a, heading: n, hideHeading: l } = this, d = t ? null : r`<div class="main">${[this._renderContent(), this._renderLastEditInfo()]}</div>`, h = a.returnToInitialFeature ?? "";
213
+ return e ? d : r`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .loading=${s === "loading"} .headingLevel=${o} .heading=${l ? void 0 : Z(n)} .selected=${!i.length}>${!l && n ? r`<div slot=heading><div .innerHTML=${A.sanitize(n ?? "") ?? ""}></div></div>` : null}${d}</calcite-flow-item>${i.toArray().map((p, u) => r`<calcite-flow-item @calciteFlowItemBack=${(f) => {
214
214
  f.preventDefault(), this._handleDrillInBackClick();
215
215
  }} .loading=${s === "loading"} .headingLevel=${o} .selected=${u === i.length - 1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${h} title=${h ?? _}></calcite-action>${p}</calcite-flow-item>`)}</calcite-flow>`;
216
216
  }
@@ -218,11 +218,11 @@ class S extends F {
218
218
  const { hideLastEditedInfo: e, messages: t } = this, { lastEditInfo: i } = this.viewModel;
219
219
  if (!i || e)
220
220
  return null;
221
- const { date: o, user: s } = i, a = i.type === "edit" ? s ? t.lastEditedByUser : t.lastEdited : s ? t.lastCreatedByUser : t.lastCreated, r = T(a ?? "", {
221
+ const { date: o, user: s } = i, a = i.type === "edit" ? s ? t.lastEditedByUser : t.lastEdited : s ? t.lastCreatedByUser : t.lastCreated, n = T(a ?? "", {
222
222
  date: o,
223
223
  user: s
224
224
  });
225
- return n`<div class=${L(M("last-edited-info", "content-element"))}>${r}</div>`;
225
+ return r`<div class=${L(M("last-edited-info", "content-element"))}>${n}</div>`;
226
226
  }
227
227
  }
228
228
  $("arcgis-feature", S);