@arcgis/map-components 5.0.0-next.163 → 5.0.0-next.165

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 (229) hide show
  1. package/dist/cdn/27EX7BAT.js +2 -0
  2. package/dist/cdn/{ANP7PYGJ.js → 2FBKLGCE.js} +1 -1
  3. package/dist/cdn/{U3H7EVCU.js → 2GYHEEJC.js} +1 -1
  4. package/dist/cdn/2KXVCJMQ.js +2 -0
  5. package/dist/cdn/{K4PC3ILQ.js → 2TODV24L.js} +1 -1
  6. package/dist/cdn/{MAM7YHLA.js → 2VVXUYOF.js} +1 -1
  7. package/dist/cdn/{QUHJMEBB.js → 2YI467ME.js} +1 -1
  8. package/dist/cdn/34S3BZS7.js +2 -0
  9. package/dist/cdn/{JCW65STL.js → 36NT6EOS.js} +1 -1
  10. package/dist/cdn/{7NOD6U2Y.js → 3K3Q3L5Z.js} +1 -1
  11. package/dist/cdn/{ORVYHFUJ.js → 3L6KP67K.js} +1 -1
  12. package/dist/cdn/{UELD2T53.js → 3O5MUEQE.js} +1 -1
  13. package/dist/cdn/{ILFME5US.js → 3RF66PN5.js} +1 -1
  14. package/dist/cdn/{PYMUS3H4.js → 46XRVUAH.js} +1 -1
  15. package/dist/cdn/{CO7UZYM2.js → 4IFHPHVF.js} +1 -1
  16. package/dist/cdn/{42WUBROP.js → 4OMTR2QQ.js} +1 -1
  17. package/dist/cdn/{RZ4T32PU.js → 4PK3GJ4F.js} +1 -1
  18. package/dist/cdn/{BGG5VIEL.js → 53LWO7HI.js} +1 -1
  19. package/dist/cdn/{TGUIWWDN.js → 5M4DDFN6.js} +1 -1
  20. package/dist/cdn/{JWT66RP2.js → 5PG27K3A.js} +1 -1
  21. package/dist/cdn/{U4TAMNG3.js → 5UFFQJSU.js} +1 -1
  22. package/dist/cdn/{TQRR2FH6.js → 5Y6NI7HQ.js} +1 -1
  23. package/dist/cdn/{KAZBQ6OA.js → 67G4OVIE.js} +1 -1
  24. package/dist/cdn/{QKSSTPS3.js → 7INPCVND.js} +1 -1
  25. package/dist/cdn/{LE7AXIL2.js → 7QF7HEDI.js} +1 -1
  26. package/dist/cdn/{7AGJFQHK.js → AAH2GFLP.js} +1 -1
  27. package/dist/cdn/AC3NQPKC.js +2 -0
  28. package/dist/cdn/{26SX6MF4.js → AGY724TJ.js} +1 -1
  29. package/dist/cdn/AHTIA2R6.js +2 -0
  30. package/dist/cdn/{25HB2UBJ.js → AIRTNDBH.js} +1 -1
  31. package/dist/cdn/{JZXMWXVD.js → AOZ2GPBD.js} +1 -1
  32. package/dist/cdn/{PZ2JPHRS.js → AX67NWFX.js} +1 -1
  33. package/dist/cdn/{WDTFIXMM.js → BHWPGG7Z.js} +1 -1
  34. package/dist/cdn/{F2HPTFLQ.js → BPZSPB4L.js} +1 -1
  35. package/dist/cdn/{67DKLGTW.js → BQDOPZG6.js} +1 -1
  36. package/dist/cdn/{H5RGMC7S.js → BYVF7WOC.js} +1 -1
  37. package/dist/cdn/{KGJGLAWM.js → CAW2JA3E.js} +1 -1
  38. package/dist/cdn/{JUHCPSPF.js → CAYSZWRK.js} +1 -1
  39. package/dist/cdn/{CSU7GLED.js → CBR6PUEY.js} +1 -1
  40. package/dist/cdn/{CEB3VR24.js → CFZXYFU7.js} +1 -1
  41. package/dist/cdn/{R2FIOZIL.js → CGRFWSSV.js} +1 -1
  42. package/dist/cdn/{KWIBK4I5.js → CGROBDHE.js} +1 -1
  43. package/dist/cdn/{N7QKWBTM.js → COEDZB6D.js} +1 -1
  44. package/dist/cdn/{BKYII5LQ.js → CQ6KMSIO.js} +1 -1
  45. package/dist/cdn/CXJGKZ7S.js +2 -0
  46. package/dist/cdn/{5LG4S2WV.js → DGDL4K6G.js} +1 -1
  47. package/dist/cdn/{4ESEDU4X.js → DHOVN4JA.js} +1 -1
  48. package/dist/cdn/{IQ7EVFBF.js → DI66GYDO.js} +1 -1
  49. package/dist/cdn/{M3AVHGBC.js → DMUVML6L.js} +1 -1
  50. package/dist/cdn/{ZOBY4YF2.js → DXJ7TMEQ.js} +1 -1
  51. package/dist/cdn/EGCQFNG3.js +2 -0
  52. package/dist/cdn/EOFEVRA3.js +2 -0
  53. package/dist/cdn/{XCDPFMHG.js → FFKZELBO.js} +1 -1
  54. package/dist/cdn/{EO66UQLI.js → FNAMDUKT.js} +1 -1
  55. package/dist/cdn/{HYBTGX3N.js → FOLIPPYI.js} +1 -1
  56. package/dist/cdn/{4WMWNIPN.js → FZVLJT66.js} +1 -1
  57. package/dist/cdn/{NMUWFJ4U.js → GD4LUFAZ.js} +1 -1
  58. package/dist/cdn/{WV6XSMZW.js → GK5T2FD6.js} +1 -1
  59. package/dist/cdn/{AJ64UYFM.js → GNCHWVNF.js} +1 -1
  60. package/dist/cdn/{IL56ZRDO.js → GOBIBDSA.js} +1 -1
  61. package/dist/cdn/HOBC5TEW.js +2 -0
  62. package/dist/cdn/{YLSIF5R2.js → HVRIARCB.js} +1 -1
  63. package/dist/cdn/{7WJ6TNOT.js → IEH4OYWP.js} +1 -1
  64. package/dist/cdn/IMPTONCA.js +2 -0
  65. package/dist/cdn/{RYKRMJMK.js → IPCQCFE3.js} +1 -1
  66. package/dist/cdn/{FRGWWVJK.js → J2N4NGSM.js} +1 -1
  67. package/dist/cdn/{F6QNNUIN.js → J4BNEHAO.js} +1 -1
  68. package/dist/cdn/JDP3YCBM.js +2 -0
  69. package/dist/cdn/{RE2BXNZ3.js → JPZMCGTS.js} +1 -1
  70. package/dist/cdn/{2FTXKTA4.js → JW5X664C.js} +1 -1
  71. package/dist/cdn/{NXZJ43G3.js → JYJBSAJT.js} +1 -1
  72. package/dist/cdn/{RB7GCEEB.js → K6Z5GBWL.js} +1 -1
  73. package/dist/cdn/{6424II7L.js → KBQK73Z2.js} +1 -1
  74. package/dist/cdn/{UQKKALKO.js → KCQB4NNK.js} +1 -1
  75. package/dist/cdn/{DT74YNQP.js → KRVZWYAS.js} +1 -1
  76. package/dist/cdn/{OFQNQF6N.js → KVJKF3VJ.js} +1 -1
  77. package/dist/cdn/{J4XU75P7.js → KXTLXAZQ.js} +1 -1
  78. package/dist/cdn/{Z6LXLPK7.js → LRUQSH7S.js} +1 -1
  79. package/dist/cdn/{X7QWBVC2.js → M3LMLGTS.js} +1 -1
  80. package/dist/cdn/{SQFVC4KA.js → MJBV536L.js} +1 -1
  81. package/dist/cdn/{FA3Z6QOE.js → MQYKZ2MY.js} +1 -1
  82. package/dist/cdn/{AX23Q2XH.js → N7JZUN7G.js} +1 -1
  83. package/dist/cdn/{ESNK6MCY.js → NMKZ77A3.js} +1 -1
  84. package/dist/cdn/{6IPVLMFQ.js → OJCRKH55.js} +1 -1
  85. package/dist/cdn/{WLNRPTCN.js → OKSHNWO7.js} +1 -1
  86. package/dist/cdn/{HKVQWRPL.js → OROETUZO.js} +1 -1
  87. package/dist/cdn/OY3WQBQM.js +2 -0
  88. package/dist/cdn/{KRVBBG4M.js → QGNFMBBV.js} +1 -1
  89. package/dist/cdn/{UW3G2BPO.js → QNCFWECI.js} +1 -1
  90. package/dist/cdn/{B7SDETM6.js → QSOGE4GS.js} +1 -1
  91. package/dist/cdn/{OKRTKYGF.js → QTOSV4XU.js} +1 -1
  92. package/dist/cdn/RTC24EVK.js +2 -0
  93. package/dist/cdn/{ONPN5M3Z.js → RTLNV5MH.js} +1 -1
  94. package/dist/cdn/RUC6NG6L.js +2 -0
  95. package/dist/cdn/RYH43ZOR.js +2 -0
  96. package/dist/cdn/{RMFIN5AS.js → RZDIL4FK.js} +1 -1
  97. package/dist/cdn/{NWXN5M4S.js → SAGJDTGS.js} +1 -1
  98. package/dist/cdn/SI3PITPE.js +2 -0
  99. package/dist/cdn/{AJIZTCGT.js → SS3BP5JY.js} +1 -1
  100. package/dist/cdn/{RU5U2DVA.js → STZ7NN7N.js} +1 -1
  101. package/dist/cdn/{T3JWZEB6.js → TBPQMJ3U.js} +1 -1
  102. package/dist/cdn/TCNK7NLA.js +2 -0
  103. package/dist/cdn/{3HYCJV4V.js → UCRB5RGH.js} +1 -1
  104. package/dist/cdn/{GAH6OGQE.js → UEUYXTE3.js} +1 -1
  105. package/dist/cdn/{LT5ALQM5.js → UFQOOCIO.js} +1 -1
  106. package/dist/cdn/{6IUQ5UHX.js → UFWKXIL5.js} +1 -1
  107. package/dist/cdn/UJXCCQWE.js +2 -0
  108. package/dist/cdn/{FD4A66OJ.js → V2QY34FP.js} +1 -1
  109. package/dist/cdn/{ZVTV4UKT.js → V4E5MPHA.js} +1 -1
  110. package/dist/cdn/{SK6O74LF.js → VAXL3OO6.js} +1 -1
  111. package/dist/cdn/{AHGLOKZI.js → VB66GDWY.js} +1 -1
  112. package/dist/cdn/{INYYRLED.js → VEBPC4NS.js} +1 -1
  113. package/dist/cdn/W627TIVM.js +2 -0
  114. package/dist/cdn/{DB2NOQ3D.js → WVRJP4IF.js} +1 -1
  115. package/dist/cdn/{QF7RABZH.js → WX4UNUXQ.js} +1 -1
  116. package/dist/cdn/{UBGE4QNR.js → WXQJ3OSA.js} +1 -1
  117. package/dist/cdn/{CGASUBOS.js → WXXTKBUN.js} +1 -1
  118. package/dist/cdn/{IKOLSNGV.js → WZVTF32R.js} +1 -1
  119. package/dist/cdn/X25QBU47.js +2 -0
  120. package/dist/cdn/{WBGZAAEK.js → X446GLUI.js} +1 -1
  121. package/dist/cdn/{G4FP7GXM.js → X4DF5NLE.js} +1 -1
  122. package/dist/cdn/{PQ5PGLJM.js → X4M3A7NY.js} +1 -1
  123. package/dist/cdn/{AEMKZZZS.js → X4PMY7Z5.js} +1 -1
  124. package/dist/cdn/{5DEOSU7J.js → X72XPU7O.js} +1 -1
  125. package/dist/cdn/{XIOIZK7A.js → X7Z2SLR4.js} +1 -1
  126. package/dist/cdn/{L5JWLRD3.js → XFCXD5BV.js} +1 -1
  127. package/dist/cdn/{D4PJU376.js → XL4ZVZQO.js} +1 -1
  128. package/dist/cdn/{SDWQW3ZX.js → XT5EYUOZ.js} +1 -1
  129. package/dist/cdn/{GCFNRINR.js → XUMBGLCM.js} +1 -1
  130. package/dist/cdn/{2AHY7O7C.js → Y7HAR5TE.js} +1 -1
  131. package/dist/cdn/{7OOAOM5T.js → YBPTQSLR.js} +1 -1
  132. package/dist/cdn/{YXYCWJFF.js → YGFR3GKE.js} +1 -1
  133. package/dist/cdn/{75LFOVPY.js → YJQ24JUD.js} +1 -1
  134. package/dist/cdn/{E5SXPWDJ.js → YOZLJOIM.js} +1 -1
  135. package/dist/cdn/{522HNMQI.js → YQ7TCV5A.js} +1 -1
  136. package/dist/cdn/{MD36SH63.js → YZSRJTGJ.js} +1 -1
  137. package/dist/cdn/{CXHSL2Y4.js → ZFHIU6DT.js} +1 -1
  138. package/dist/cdn/ZNBKMZP7.js +2 -0
  139. package/dist/cdn/{GMR2QJNU.js → ZY32LRC5.js} +1 -1
  140. package/dist/cdn/index.js +1 -1
  141. package/dist/chunks/esri-main.js +1 -1
  142. package/dist/chunks/measurementUtils.js +3 -3
  143. package/dist/components/arcgis-area-measurement-2d/customElement.js +62 -74
  144. package/dist/components/arcgis-area-measurement-3d/customElement.js +52 -64
  145. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +59 -71
  146. package/dist/components/arcgis-directions/customElement.d.ts +17 -0
  147. package/dist/components/arcgis-directions/customElement.js +5 -5
  148. package/dist/components/arcgis-distance-measurement-2d/customElement.js +58 -70
  149. package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
  150. package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
  151. package/dist/components/arcgis-feature/customElement.js +6 -6
  152. package/dist/components/arcgis-feature-table/customElement.d.ts +57 -2
  153. package/dist/components/arcgis-feature-table/customElement.js +28 -13
  154. package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -0
  155. package/dist/components/arcgis-feature-templates/customElement.js +2 -2
  156. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +16 -16
  157. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +55 -55
  158. package/dist/components/arcgis-features/customElement.js +46 -52
  159. package/dist/components/arcgis-link-chart/customElement.js +10 -15
  160. package/dist/components/arcgis-map/customElement.js +1 -6
  161. package/dist/components/arcgis-paste/PasteViewModel.d.ts +1 -1
  162. package/dist/components/arcgis-paste/customElement.js +51 -47
  163. package/dist/components/arcgis-popup/customElement.js +106 -99
  164. package/dist/components/arcgis-popup/types.d.ts +1 -1
  165. package/dist/components/arcgis-print/customElement.d.ts +10 -0
  166. package/dist/components/arcgis-print/customElement.js +7 -7
  167. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +12 -12
  168. package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
  169. package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
  170. package/dist/components/arcgis-scene/customElement.js +8 -13
  171. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +1 -1
  172. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
  173. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +1 -1
  174. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  175. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +1 -1
  176. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  177. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +1 -1
  178. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
  179. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +1 -1
  180. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  181. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +1 -1
  182. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  183. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +1 -1
  184. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  185. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +12 -0
  186. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +7 -7
  187. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +7 -2
  188. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  189. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +74 -14
  190. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +47 -40
  191. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +12 -0
  192. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +80 -65
  193. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +4 -0
  194. package/dist/components/arcgis-utility-network-trace-location/customElement.js +17 -14
  195. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +13 -0
  196. package/dist/components/arcgis-utility-network-trace-results/customElement.js +39 -26
  197. package/dist/components/arcgis-volume-measurement/customElement.js +84 -84
  198. package/dist/components/types.d.ts +5 -3
  199. package/dist/docs/api.json +1 -1
  200. package/dist/docs/docs.json +1 -1
  201. package/dist/docs/vscode.html-custom-data.json +1 -1
  202. package/dist/docs/web-types.json +1 -1
  203. package/dist/loader.js +21 -21
  204. package/dist/types/lumina.d.ts +14 -14
  205. package/dist/types/preact.d.ts +14 -14
  206. package/dist/types/react.d.ts +14 -14
  207. package/dist/types/stencil.d.ts +14 -14
  208. package/package.json +4 -4
  209. package/dist/cdn/3URKZO5O.js +0 -2
  210. package/dist/cdn/55TRWAT7.js +0 -2
  211. package/dist/cdn/BHPXKX47.js +0 -2
  212. package/dist/cdn/D4LTASH2.js +0 -2
  213. package/dist/cdn/FKQSJXNW.js +0 -2
  214. package/dist/cdn/H7O5I4IF.js +0 -2
  215. package/dist/cdn/I5M2Z7WS.js +0 -2
  216. package/dist/cdn/L6YZXUBB.js +0 -2
  217. package/dist/cdn/LEUHIPSJ.js +0 -2
  218. package/dist/cdn/NZXDNMVC.js +0 -2
  219. package/dist/cdn/ODGGFBDK.js +0 -2
  220. package/dist/cdn/P76K34HQ.js +0 -2
  221. package/dist/cdn/P7PWOUNZ.js +0 -2
  222. package/dist/cdn/Q4B4MXH4.js +0 -2
  223. package/dist/cdn/RN57AN5P.js +0 -2
  224. package/dist/cdn/SKIP3GUP.js +0 -2
  225. package/dist/cdn/UNLAUFXF.js +0 -2
  226. package/dist/cdn/URUFNID2.js +0 -2
  227. package/dist/cdn/WREEAAEV.js +0 -2
  228. package/dist/cdn/WTTBFFC2.js +0 -2
  229. package/dist/cdn/Y4RMI55P.js +0 -2
@@ -2,15 +2,15 @@
2
2
  import { c as l } from "../../chunks/runtime.js";
3
3
  import { css as o, html as e } from "lit";
4
4
  import { watch as i } from "@arcgis/core/core/reactiveUtils.js";
5
- import { LitElement as n } from "@arcgis/lumina";
6
- import { u as r } from "../../chunks/useHandles.js";
5
+ import { LitElement as r } from "@arcgis/lumina";
6
+ import { u as n } from "../../chunks/useHandles.js";
7
7
  const c = o`:host{display:flex;flex-direction:column;height:100%}.layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm);display:flex;flex-direction:column;flex-grow:1;gap:var(--calcite-spacing-md)}.panel-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--calcite-spacing-sm)}.advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}`;
8
- class d extends n {
8
+ class d extends r {
9
9
  constructor() {
10
- super(...arguments), this._handles = r("disconnect"), this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1;
10
+ super(...arguments), this._handles = n("disconnect"), this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1, this.hideFeatureAttributes = !1, this.hideIncludeTables = !1;
11
11
  }
12
12
  static {
13
- this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0 };
13
+ this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0, hideFeatureAttributes: 5, hideIncludeTables: 5 };
14
14
  }
15
15
  static {
16
16
  this.styles = c;
@@ -42,7 +42,7 @@ class d extends n {
42
42
  return e`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`;
43
43
  }
44
44
  _renderAdvancedSection() {
45
- return this.hideAdvancedOptions ? null : e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class="advanced-options-section" collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .autoPopulateAuthor=${this.autoPopulateAuthor} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`;
45
+ return this.hideAdvancedOptions ? null : e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class="advanced-options-section" collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .autoPopulateAuthor=${this.autoPopulateAuthor} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`;
46
46
  }
47
47
  _renderExportButton() {
48
48
  return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`;
@@ -4,22 +4,22 @@ import { css as i, html as a } from "lit";
4
4
  import { LitElement as l } from "@arcgis/lumina";
5
5
  import { i as o } from "../../chunks/utils2.js";
6
6
  import { u as c } from "../../chunks/useHandles.js";
7
- import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
8
- const p = i`:host{display:flex;flex-direction:column;flex-grow:1}calcite-tabs{flex-grow:1}calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
7
+ import { watch as d } from "@arcgis/core/core/reactiveUtils.js";
8
+ const n = i`:host{display:flex;flex-direction:column;flex-grow:1}calcite-tabs{flex-grow:1}calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
9
9
  class r extends l {
10
10
  constructor() {
11
- super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1, this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1;
11
+ super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1, this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1, this.hideFeatureAttributes = !1, this.hideIncludeTables = !1;
12
12
  }
13
13
  static {
14
- this.properties = { _selectedTab: 16, _hasPendingExport: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, showSaveAs: 5, arcgisSaveAs: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1 };
14
+ this.properties = { _selectedTab: 16, _hasPendingExport: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, showSaveAs: 5, arcgisSaveAs: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1, hideFeatureAttributes: 5, hideIncludeTables: 5 };
15
15
  }
16
16
  static {
17
- this.styles = p;
17
+ this.styles = n;
18
18
  }
19
19
  loaded() {
20
20
  this.manager.onLifecycle(() => [
21
21
  this.viewModel.exportedLinks.on("change", () => {
22
- this._handles.removeHandles("pending-exports"), this._handles.addHandles(this.viewModel.exportedLinks.toArray().map((e) => n(() => e.state, () => this.requestUpdate(), { initial: !0 })), "pending-exports");
22
+ this._handles.removeHandles("pending-exports"), this._handles.addHandles(this.viewModel.exportedLinks.toArray().map((e) => d(() => e.state, () => this.requestUpdate(), { initial: !0 })), "pending-exports");
23
23
  })
24
24
  ]);
25
25
  }
@@ -41,7 +41,7 @@ class r extends l {
41
41
  }
42
42
  render() {
43
43
  const e = this.viewModel.exportedLinks.some(({ state: t }) => t === "pending");
44
- return a`<calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .autoPopulateAuthor=${this.autoPopulateAuthor} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-exports-panel></calcite-tab></calcite-tabs>`;
44
+ return a`<calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .autoPopulateAuthor=${this.autoPopulateAuthor} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-exports-panel></calcite-tab></calcite-tabs>`;
45
45
  }
46
46
  }
47
47
  s("arcgis-print-main-panel", r);
@@ -4,16 +4,16 @@ import { html as a } from "lit";
4
4
  import l from "@arcgis/core/Camera.js";
5
5
  import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
6
6
  import v from "@arcgis/core/geometry/Point.js";
7
- import g from "@arcgis/core/views/SceneView.js";
8
- import u from "@arcgis/core/WebScene.js";
7
+ import u from "@arcgis/core/views/SceneView.js";
8
+ import g from "@arcgis/core/WebScene.js";
9
9
  import { LitElement as d, createEvent as r, safeClassMap as n } from "@arcgis/lumina";
10
- import { makeAccessorController as c, reEmitEvent as t, reCreateAccessor as y } from "@arcgis/lumina/controllers/accessor";
10
+ import { makeAccessorController as w, reEmitEvent as t, reCreateAccessor as y } from "@arcgis/lumina/controllers/accessor";
11
11
  import { createRef as o, ref as h } from "lit/directives/ref.js";
12
12
  import { U as f, u as b, a as V } from "../../chunks/useArcgisViewReadyError.js";
13
13
  import { s as C } from "../../chunks/esri-main.js";
14
- import { s as E, C as w } from "../../chunks/slots.js";
14
+ import { s as E, C as c } from "../../chunks/slots.js";
15
15
  import { b as _, c as A, p as P, i as D } from "../../chunks/component-utils.js";
16
- const I = c(u, {}), R = c(g, {});
16
+ const I = w(g, {}), R = w(u, {});
17
17
  class k extends d {
18
18
  constructor() {
19
19
  super(), this._containerRef = o(), this._mapRef = o(), this._uiController = new f(this), this._cameraProperties = {}, this.arcgisLoadError = b(this), this.arcgisViewReadyError = V(this), this._map = I(this), this.view = R(this), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.animationsDisabled = this.view.animationsEnabled, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.environment = this.view.environment, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.groundView = this.view.groundView, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.updating = this.view.updating, this.viewingMode = this.view.viewingMode, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = t(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = t(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = t(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = t(() => this.view, "double-tap-drag"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = t(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
@@ -208,12 +208,7 @@ class k extends d {
208
208
  }, { initial: this.view.ready }),
209
209
  s(() => this.view.attributionHeight, (e) => {
210
210
  this._uiController.handleAttributionHeightChange(e);
211
- }, { initial: !0 }),
212
- // Temporary workaround for https://devtopia.esri.com/WebGIS/arcgis-web-components/issues/12012
213
- // Until https://devtopia.esri.com/WebGIS/arcgis-js-api/pull/78321 is picked up by components
214
- s(() => this.view.ready, () => {
215
- this.view.notifyChange("attributionHeight");
216
- })
211
+ }, { initial: !0 })
217
212
  ]);
218
213
  }
219
214
  _mutateCamera(i) {
@@ -225,10 +220,10 @@ class k extends d {
225
220
  i(e), this.camera = e;
226
221
  }
227
222
  renderMain() {
228
- return a`<div class=${n(w.base)} ${h(this._mapRef)}></div>`;
223
+ return a`<div class=${n(c.base)} ${h(this._mapRef)}></div>`;
229
224
  }
230
225
  render() {
231
- return a`${this.renderMain()}<section class=${n(w.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}</section>`;
226
+ return a`${this.renderMain()}<section class=${n(c.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}</section>`;
232
227
  }
233
228
  }
234
229
  p("arcgis-scene", k);
@@ -291,7 +291,7 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
291
291
  */
292
292
  accessor sliderStyle: BinaryColorSizeSliderStyle;
293
293
  /** The current state of the component. */
294
- accessor state: SmartMappingSliderBaseState;
294
+ get state(): SmartMappingSliderBaseState;
295
295
  /**
296
296
  * The size stops from the [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
297
297
  * to link to the slider. You must provide either three or five stops. The minimum size
@@ -12,7 +12,7 @@ class _ extends l {
12
12
  super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.handlesSyncedToPrimary = this.widget.handlesSyncedToPrimary, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.persistSizeRangeEnabled = this.widget.persistSizeRangeEnabled, this.precision = this.widget.precision, this.sliderStyle = this.widget.style, this.state = this.widget.state, this.stops = this.widget.stops, this.zoomOptions = this.widget.zoomOptions, this.arcgisPropertyChange = n()("histogramConfig", "max", "min", "precision", "sliderStyle", "state", "zoomOptions"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
13
13
  }
14
14
  static {
15
- this.properties = { label: 16, autoDestroyDisabled: 5, handlesSyncedToPrimary: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, persistSizeRangeEnabled: 5, precision: 9, referenceElement: 1, sliderStyle: 0, state: 1, stops: 0, zoomOptions: 0 };
15
+ this.properties = { label: 16, autoDestroyDisabled: 5, handlesSyncedToPrimary: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, persistSizeRangeEnabled: 5, precision: 9, referenceElement: 1, sliderStyle: 0, state: 32, stops: 0, zoomOptions: 0 };
16
16
  }
17
17
  static {
18
18
  this.styles = c;
@@ -273,7 +273,7 @@ export abstract class ArcgisSliderClassedColorLegacy extends LitElement {
273
273
  */
274
274
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
275
275
  /** The current state of the component. */
276
- accessor state: SmartMappingSliderBaseState;
276
+ get state(): SmartMappingSliderBaseState;
277
277
  /** Permanently destroy the component. */
278
278
  destroy(): Promise<void>;
279
279
  /**
@@ -12,7 +12,7 @@ class h extends l {
12
12
  super(...arguments), this.widget = _(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.breaks = this.widget.breaks, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.state = this.widget.state, this.arcgisPropertyChange = d()("breaks", "histogramConfig", "max", "min", "precision", "state"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
13
13
  }
14
14
  static {
15
- this.properties = { label: 16, autoDestroyDisabled: 5, breaks: 0, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, state: 1 };
15
+ this.properties = { label: 16, autoDestroyDisabled: 5, breaks: 0, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, state: 32 };
16
16
  }
17
17
  static {
18
18
  this.styles = n;
@@ -280,7 +280,7 @@ export abstract class ArcgisSliderClassedSizeLegacy extends LitElement {
280
280
  */
281
281
  accessor sliderStyle: ClassedSizeSliderStyle;
282
282
  /** The current state of the component. */
283
- accessor state: SmartMappingSliderBaseState;
283
+ get state(): SmartMappingSliderBaseState;
284
284
  /** Permanently destroy the component. */
285
285
  destroy(): Promise<void>;
286
286
  /**
@@ -12,7 +12,7 @@ class h extends l {
12
12
  super(...arguments), this.widget = _(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.breaks = this.widget.breaks, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.sliderStyle = this.widget.style, this.state = this.widget.state, this.arcgisPropertyChange = d()("breaks", "histogramConfig", "max", "min", "precision", "sliderStyle", "state"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
13
13
  }
14
14
  static {
15
- this.properties = { label: 16, autoDestroyDisabled: 5, breaks: 0, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state: 1 };
15
+ this.properties = { label: 16, autoDestroyDisabled: 5, breaks: 0, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state: 32 };
16
16
  }
17
17
  static {
18
18
  this.styles = c;
@@ -327,7 +327,7 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
327
327
  */
328
328
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
329
329
  /** The current state of the component. */
330
- accessor state: SmartMappingSliderBaseState;
330
+ get state(): SmartMappingSliderBaseState;
331
331
  /**
332
332
  * The colors and sizes corresponding with data values in the [ColorVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/ColorVariable/)
333
333
  * and [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/) of the renderer associated with the slider.
@@ -12,7 +12,7 @@ class _ extends l {
12
12
  super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.handlesSyncedToPrimary = this.widget.handlesSyncedToPrimary, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.persistSizeRangeEnabled = this.widget.persistSizeRangeEnabled, this.precision = this.widget.precision, this.primaryHandleEnabled = this.widget.primaryHandleEnabled, this.state = this.widget.state, this.stops = this.widget.stops, this.zoomOptions = this.widget.zoomOptions, this.arcgisPropertyChange = d()("histogramConfig", "max", "min", "precision", "state", "stops", "zoomOptions"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
13
13
  }
14
14
  static {
15
- this.properties = { label: 16, autoDestroyDisabled: 5, handlesSyncedToPrimary: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, persistSizeRangeEnabled: 5, precision: 9, primaryHandleEnabled: 5, referenceElement: 1, state: 1, stops: 0, zoomOptions: 0 };
15
+ this.properties = { label: 16, autoDestroyDisabled: 5, handlesSyncedToPrimary: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, persistSizeRangeEnabled: 5, precision: 9, primaryHandleEnabled: 5, referenceElement: 1, state: 32, stops: 0, zoomOptions: 0 };
16
16
  }
17
17
  static {
18
18
  this.styles = c;
@@ -108,7 +108,7 @@ export abstract class ArcgisSliderHeatmapLegacy extends LitElement {
108
108
  */
109
109
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
110
110
  /** The current state of the component. */
111
- accessor state: SmartMappingSliderBaseState;
111
+ get state(): SmartMappingSliderBaseState;
112
112
  /**
113
113
  * The color stops of the [HeatmapRenderer](https://developers.arcgis.com/javascript/latest/references/core/renderers/HeatmapRenderer/) to associate with the slider.
114
114
  *
@@ -12,7 +12,7 @@ class c extends o {
12
12
  super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.state = this.widget.state, this.stops = this.widget.stops, this.arcgisPropertyChange = s()("precision", "state", "stops"), this.arcgisReady = a(), this.arcgisThumbChange = e(() => this.widget, "thumb-change"), this.arcgisThumbDrag = e(() => this.widget, "thumb-drag");
13
13
  }
14
14
  static {
15
- this.properties = { label: 16, autoDestroyDisabled: 5, icon: 1, max: 40, min: 40, precision: 9, referenceElement: 1, state: 1, stops: 0 };
15
+ this.properties = { label: 16, autoDestroyDisabled: 5, icon: 1, max: 40, min: 40, precision: 9, referenceElement: 1, state: 32, stops: 0 };
16
16
  }
17
17
  static {
18
18
  this.styles = d;
@@ -273,7 +273,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
273
273
  */
274
274
  accessor sliderStyle: OpacitySliderStyle;
275
275
  /** The current state of the component. */
276
- accessor state: SmartMappingSliderBaseState;
276
+ get state(): SmartMappingSliderBaseState;
277
277
  /**
278
278
  * The opacity stops from the [OpacityVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/OpacityVariable/)
279
279
  * to link to the slider. The opacity values in these stops will be used
@@ -12,7 +12,7 @@ class h extends a {
12
12
  super(...arguments), this.widget = p(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.sliderStyle = this.widget.style, this.state = this.widget.state, this.stops = this.widget.stops, this.zoomOptions = this.widget.zoomOptions, this.arcgisPropertyChange = n()("histogramConfig", "max", "min", "precision", "sliderStyle", "state", "stops", "zoomOptions"), this.arcgisReady = d(), this.arcgisThumbChange = e(() => this.widget, "thumb-change"), this.arcgisThumbDrag = e(() => this.widget, "thumb-drag");
13
13
  }
14
14
  static {
15
- this.properties = { label: 16, autoDestroyDisabled: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state: 1, stops: 0, zoomOptions: 0 };
15
+ this.properties = { label: 16, autoDestroyDisabled: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state: 32, stops: 0, zoomOptions: 0 };
16
16
  }
17
17
  static {
18
18
  this.styles = c;
@@ -271,7 +271,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
271
271
  */
272
272
  accessor sliderStyle: SizeSliderStyle;
273
273
  /** The current state of the component. */
274
- accessor state: SmartMappingSliderBaseState;
274
+ get state(): SmartMappingSliderBaseState;
275
275
  /**
276
276
  * The size stops from the [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/) to link to the slider.
277
277
  *
@@ -12,7 +12,7 @@ class _ extends l {
12
12
  super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.sliderStyle = this.widget.style, this.state = this.widget.state, this.stops = this.widget.stops, this.zoomOptions = this.widget.zoomOptions, this.arcgisPropertyChange = d()("histogramConfig", "max", "min", "precision", "sliderStyle", "state", "stops", "zoomOptions"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
13
13
  }
14
14
  static {
15
- this.properties = { label: 16, autoDestroyDisabled: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state: 1, stops: 0, zoomOptions: 0 };
15
+ this.properties = { label: 16, autoDestroyDisabled: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state: 32, stops: 0, zoomOptions: 0 };
16
16
  }
17
17
  static {
18
18
  this.styles = c;
@@ -35,6 +35,16 @@ export abstract class ArcgisUtilityNetworkAggregatedGeometry extends LitElement
35
35
  };
36
36
  showGraphics: string;
37
37
  }>;
38
+ /**
39
+ * If true, the component will not be destroyed automatically when it is
40
+ * disconnected from the document. This is useful when you want to move the
41
+ * component to a different place on the page, or temporarily hide it. If this
42
+ * is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-aggregated-geometry/#destroy) method when you are done to
43
+ * prevent memory leaks.
44
+ *
45
+ * @default false
46
+ */
47
+ accessor autoDestroyDisabled: boolean;
38
48
  /** @required */
39
49
  accessor geometry: AggregatedGeometry | undefined;
40
50
  /**
@@ -48,6 +58,8 @@ export abstract class ArcgisUtilityNetworkAggregatedGeometry extends LitElement
48
58
  accessor state: State;
49
59
  /** @required */
50
60
  accessor view: MapView | undefined;
61
+ /** Permanently destroy the component. */
62
+ destroy(): Promise<void>;
51
63
  readonly arcgisHideGraphicsChange: import("@arcgis/lumina").TargetedEvent<this, boolean>;
52
64
  readonly "@eventTypes": {
53
65
  arcgisHideGraphicsChange: ArcgisUtilityNetworkAggregatedGeometry["arcgisHideGraphicsChange"]["detail"];
@@ -29,31 +29,31 @@ class k extends G {
29
29
  listMode: "hide",
30
30
  title: e
31
31
  }), p(this.view, this._graphicsLayer);
32
- }, this.hideGraphics = !1, this.graphicsColor = new n([255, 255, 0, 0.6]), this.state = "ready", this.arcgisHideGraphicsChange = f();
32
+ }, this.hideGraphics = !1, this.graphicsColor = new n([255, 255, 0, 0.6]), this.state = "ready", this.autoDestroyDisabled = !1, this.arcgisHideGraphicsChange = f();
33
33
  }
34
34
  static {
35
- this.properties = { geometry: 0, hideGraphics: 5, graphicsColor: 0, state: 1, view: 0 };
35
+ this.properties = { geometry: 0, hideGraphics: 5, graphicsColor: 0, state: 1, view: 0, autoDestroyDisabled: 5 };
36
36
  }
37
37
  static {
38
38
  this.styles = S;
39
39
  }
40
+ async destroy() {
41
+ this.view?.map && this._graphicsLayer && this.view.map.remove(this._graphicsLayer), await this.manager.destroy();
42
+ }
40
43
  connectedCallback() {
41
44
  super.connectedCallback(), this.view && this._graphicsLayer && p(this.view, this._graphicsLayer);
42
45
  }
43
46
  load() {
44
47
  !this.geometry || !this.view?.map || this._loadProjectOperator().then(() => this._createGraphicsLayer());
45
48
  }
46
- loaded() {
47
- this.geometry || a("error", this, o("geometry")), this.view ? this.view.map || a("error", this, o("The property `view` was provided, but `view.map` is null. Cannot draw aggregated geometry.")) : a("error", this, o("view"));
48
- }
49
49
  willUpdate(i) {
50
50
  if (i.has("graphicsColor") && this._updateGraphicSymbols(), i.has("geometry") && (this._graphicsLayer?.removeAll(), this._addAggregatedGeometryToView()), i.has("view")) {
51
51
  const e = i.get("view");
52
52
  e?.map && this._graphicsLayer && (e.map.remove(this._graphicsLayer), this._createGraphicsLayer(), this._addAggregatedGeometryToView());
53
53
  }
54
54
  }
55
- disconnectedCallback() {
56
- super.disconnectedCallback(), this.view?.map && this._graphicsLayer && this.view.map.remove(this._graphicsLayer);
55
+ loaded() {
56
+ this.geometry || a("error", this, o("geometry")), this.view ? this.view.map || a("error", this, o("The property `view` was provided, but `view.map` is null. Cannot draw aggregated geometry.")) : a("error", this, o("view"));
57
57
  }
58
58
  _handleShowGraphicsChange() {
59
59
  this.hideGraphics = !this.hideGraphics, this.hideGraphics ? this._graphicsLayer?.removeAll() : this._graphicsLayer?.addMany(this._projectedGraphics), this.arcgisHideGraphicsChange.emit(this.hideGraphics);
@@ -7,12 +7,17 @@ import type { Icon } from "@esri/calcite-components/components/calcite-icon";
7
7
  import type { InputSetting } from "@arcgis/core/widgets/UtilityNetworkTrace.js";
8
8
 
9
9
  /**
10
- * Utility Network Trace component provides a way to run traces in a Utility Network based on connectivity or traversability from set input flags. Input flags (starting points and barriers) can be set by clicking the view.
10
+ * > [!WARNING]
11
+ * >
12
+ * > This component is **deprecated**. [arcgis-utility-network-trace-analysis](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/) is the preferred component for utility network tracing and should be used for all new development.
13
+ *
14
+ * Utility Network Trace component provides a way to run traces in a Utility Network based on connectivity or traversability from set trace locations. Trace locations (starting points and barriers) can be set by clicking the view.
11
15
  *
12
16
  * > The Utility Network Trace component does not support proxied feature services or feature services that utilize stored credentials.
13
17
  *
14
18
  * Note: Sign in to access the data in this sample, U/P: `viewer01`/`I68VGU^nMurF`
15
19
  *
20
+ * @deprecated since 5.0, use [arcgis-utility-network-trace-analysis](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/) instead.
16
21
  * @since 4.28
17
22
  */
18
23
  export abstract class ArcgisUtilityNetworkTrace extends LitElement {
@@ -216,7 +221,7 @@ export abstract class ArcgisUtilityNetworkTrace extends LitElement {
216
221
  readonly arcgisAddFlagError: import("@arcgis/lumina").TargetedEvent<this, UtilityNetworkTraceViewModelAddFlagErrorEvent>;
217
222
  readonly arcgisAddResultArea: import("@arcgis/lumina").TargetedEvent<this, UtilityNetworkTraceViewModelAddResultAreaEvent>;
218
223
  /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
219
- readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
224
+ readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state" | "traceResults"; }>;
220
225
  /** Emitted when the component associated with a map or scene view is ready to be interacted with. */
221
226
  readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
222
227
  readonly arcgisRemoveResultArea: import("@arcgis/lumina").TargetedEvent<this, UtilityNetworkTraceViewModelRemoveResultAreaEvent>;
@@ -9,7 +9,7 @@ import { css as n } from "lit";
9
9
  const l = n`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.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}:host{min-width:300px}.esri-utility-network-trace{flex:auto;width:300px}.esri-utility-network-trace calcite-icon{box-sizing:initial}.esri-utility-network-trace calcite-tab{background-color:var(--calcite-color-foreground-2);padding-top:0;padding-bottom:0}.esri-utility-network-trace calcite-tab:not([selected]){flex:0}.esri-utility-network-trace.esri-component.esri-widget--panel{min-height:120px;width:300px}.esri-utility-network-trace__add-button-container{justify-content:center;margin:18px 0 var(--calcite-spacing-md);display:grid}.esri-utility-network-trace__block-container{margin-top:0;height:95%}.esri-utility-network-trace__block-content{border-bottom:none;margin:0}.esri-utility-network-trace__clear-results-block{position:absolute;bottom:0;left:0;margin:0;border-top:3px solid #6e6e6e26;background-color:#f3f3f3}.esri-utility-network-trace__divider{color:inherit;border-color:var(--calcite-color-border-input);border-bottom-style:solid;border-bottom-width:1px;flex:none;margin:0 0 var(--calcite-spacing-md)}.esri-utility-network-trace__double-pad-top{padding-top:10px}.esri-utility-network-trace__feature-content{height:300px}.esri-utility-network-trace__flow{height:100%}.esri-utility-network-trace__list-container{background-color:var(--calcite-color-foreground-1);padding:3px}.esri-utility-network-trace__notice-container{padding:var(--calcite-spacing-xs)}.esri-utility-network-trace__number-input{width:150px}.esri-utility-network-trace__pad-bottom{padding-bottom:5px}.esri-utility-network-trace__pad-top{padding-top:5px}.esri-utility-network-trace__reset-prompt{background-color:var(--calcite-color-background);color:var(--calcite-color-text-2);border-top:3px solid var(--calcite-color-border-input);flex-flow:column;max-height:85%;padding:var(--calcite-spacing-md) 15px;animation:.1s ease-in-out esri-fade-in-up;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 1px 2px #0000004d}.esri-utility-network-trace__results-container{height:100%}.esri-utility-network-trace__tabs{min-height:250px;position:relative}`, c = s(r);
10
10
  class d extends o {
11
11
  constructor() {
12
- super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.autoDestroyDisabled = !1, this.defaultGraphicColor = this.widget.defaultGraphicColor, this.disabled = this.widget.disabled, this.enableResultArea = this.widget.enableResultArea, this.flags = this.widget.flags, this.icon = this.widget.icon, this.inputSettings = this.widget.inputSettings, this.label = this.widget.label, this.resultAreaProperties = this.widget.resultAreaProperties, this.selectOnCompleteDisabled = this.widget.selectOnComplete, this.selectedTraces = this.widget.selectedTraces, this.showGraphicsOnCompleteDisabled = this.widget.showGraphicsOnComplete, this.showSelectionAttributesDisabled = this.widget.showSelectionAttributes, this.state = this.viewModel.state, this.traceResults = this.widget.traceResults, this.arcgisAddFlag = e(() => this.widget, "add-flag"), this.arcgisAddFlagComplete = e(() => this.widget, "add-flag-complete"), this.arcgisAddFlagError = e(() => this.widget, "add-flag-error"), this.arcgisAddResultArea = e(() => this.widget, "add-result-area"), this.arcgisPropertyChange = i()("state"), this.arcgisReady = a(), this.arcgisRemoveResultArea = e(() => this.widget, "remove-result-area");
12
+ super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.autoDestroyDisabled = !1, this.defaultGraphicColor = this.widget.defaultGraphicColor, this.disabled = this.widget.disabled, this.enableResultArea = this.widget.enableResultArea, this.flags = this.widget.flags, this.icon = this.widget.icon, this.inputSettings = this.widget.inputSettings, this.label = this.widget.label, this.resultAreaProperties = this.widget.resultAreaProperties, this.selectOnCompleteDisabled = this.widget.selectOnComplete, this.selectedTraces = this.widget.selectedTraces, this.showGraphicsOnCompleteDisabled = this.widget.showGraphicsOnComplete, this.showSelectionAttributesDisabled = this.widget.showSelectionAttributes, this.state = this.viewModel.state, this.traceResults = this.widget.traceResults, this.arcgisAddFlag = e(() => this.widget, "add-flag"), this.arcgisAddFlagComplete = e(() => this.widget, "add-flag-complete"), this.arcgisAddFlagError = e(() => this.widget, "add-flag-error"), this.arcgisAddResultArea = e(() => this.widget, "add-result-area"), this.arcgisPropertyChange = i()("state", "traceResults"), this.arcgisReady = a(), this.arcgisRemoveResultArea = e(() => this.widget, "remove-result-area");
13
13
  }
14
14
  static {
15
15
  this.properties = { view: 0, autoDestroyDisabled: 5, defaultGraphicColor: 0, disabled: 7, enableResultArea: 5, flags: 0, icon: 1, inputSettings: 0, label: 1, referenceElement: 1, resultAreaProperties: 0, selectOnCompleteDisabled: 5, selectedTraces: 0, showGraphicsOnCompleteDisabled: 5, showSelectionAttributesDisabled: 5, state: 32, traceResults: 32 };
@@ -11,6 +11,63 @@ import type { UtilityNetworkTraceAnalysisState } from "@arcgis/core/networks/Uti
11
11
 
12
12
  export type UtilityNetworkTraceAnalysisDisplayMode = "add-spatial-feature-list" | "add-spatial-feature" | "add-spatial-instructions" | "default";
13
13
 
14
+ /**
15
+ * ## Overview
16
+ *
17
+ * The Utility Network Trace Analysis component allows users to run traces and view trace results in a utility network.
18
+ *
19
+ * - The component supports selecting a utility network and a named trace configuration in that utility network. Both the utility network and trace configuration must be [stored in the map](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#utilityNetworks).
20
+ * - Trace locations (starting points and barriers) are set by selecting features on the view.
21
+ * - When a subnetwork-based trace is selected, the component displays the domain, tier, and target tier specified by the selected named trace configuration.
22
+ * - If the user selects a subnetwork trace with a specified subnetwork name, the component provides an option to choose a subnetwork name instead of starting location(s) to run the trace with.
23
+ *
24
+ * Supported trace types are: `connected`, `upstream`, `downstream`, `shortest-path`, `subnetwork`, `subnetwork-controller`, `loops`, and `isolation`.
25
+ *
26
+ * The component can display the following from a trace result: elements (as [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#traceResultFeatures)), aggregated geometries, and function results.
27
+ *
28
+ * > [!WARNING]
29
+ * >
30
+ * > The Utility Network Trace Analysis component does not support proxied feature services or feature services that utilize stored credentials.
31
+ * >
32
+ * > This component also does not support `path` and `circuit` trace types or the `paths` and `circuits` result types.
33
+ *
34
+ * ## Working with nonspatial objects
35
+ *
36
+ * The Utility Network Trace Analysis component supports selecting nonspatial objects as trace locations by traversing associations.
37
+ *
38
+ * When selecting a trace location or viewing a trace result feature, information about the feature is displayed according to the
39
+ * [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) of the layer that the feature belongs to.
40
+ * If the feature's layer has no PopupTemplate, a default template is used to display the feature's attributes.
41
+ *
42
+ * To select a nonspatial object as a trace location, first select a spatial feature on the map that is associated with the target nonspatial object.
43
+ * The spatial feature's layer must have a PopupTemplate that includes a [UtilityNetworkAssociationsContent](https://developers.arcgis.com/javascript/latest/references/core/popup/content/UtilityNetworkAssociationsContent/).
44
+ * Navigate through the spatial feature's associations to the target nonspatial object, then add the object as a trace location.
45
+ *
46
+ * ## Examples
47
+ *
48
+ * This component can be used slotted into an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/):
49
+ *
50
+ * ```html
51
+ * <arcgis-map item-id="471eb0bf37074b1fbb972b1da70fb310">
52
+ * <arcgis-utility-network-trace-analysis slot="bottom-left"></arcgis-utility-network-trace-analysis>
53
+ * </arcgis-map>
54
+ * ```
55
+ *
56
+ * Alternatively, this component can be used outside of a map by providing a [referenceElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#referenceElement):
57
+ *
58
+ * ```html
59
+ * <calcite-shell>
60
+ * <calcite-shell-panel slot="panel-start" position="start" width-scale="l">
61
+ * <arcgis-utility-network-trace-analysis reference-element="#map-element"></arcgis-utility-network-trace-analysis>
62
+ * </calcite-shell-panel>
63
+ * <arcgis-map id="map-element" item-id="471eb0bf37074b1fbb972b1da70fb310"></arcgis-map>
64
+ * </calcite-shell>
65
+ * ```
66
+ *
67
+ * Note: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`
68
+ *
69
+ * @since 5.0
70
+ */
14
71
  export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
15
72
  /** @internal */
16
73
  protected _messages: {
@@ -71,14 +128,14 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
71
128
  /**
72
129
  * The color used to render graphics for aggregated geometries in trace results, specified as a
73
130
  * [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/) object.
131
+ *
74
132
  * Aggregated geometry is only rendered if the trace configuration specifies aggregated geometry as a result type.
133
+ *
75
134
  * Default color is #FFFF00.
76
135
  *
77
136
  * @see [Color constructor](https://developers.arcgis.com/javascript/latest/references/core/Color/#constructors-summary)
78
137
  */
79
138
  accessor aggregatedGeometryGraphicsColor: Color;
80
- /** @default false */
81
- accessor allowEditingDisabled: boolean;
82
139
  /**
83
140
  * If true, the component will not be destroyed automatically when it is
84
141
  * disconnected from the document. This is useful when you want to move the
@@ -100,11 +157,10 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
100
157
  * ```
101
158
  */
102
159
  accessor beforeTraceLocationSelectStart: (() => Promise<void>) | undefined;
103
- /** @default false */
104
- accessor closable: boolean;
105
160
  /**
106
161
  * Whether to disable highlighting trace result features on the map.
107
- * If set to true, the features returned by a trace will not be highlighted on the map.
162
+ *
163
+ * If true, the features returned by a trace will not be highlighted on the map.
108
164
  *
109
165
  * @default false
110
166
  * @example
@@ -118,6 +174,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
118
174
  accessor disableHighlightFeatureResults: boolean;
119
175
  /**
120
176
  * Whether to hide feature results in the results tab.
177
+ *
121
178
  * If true, when features are returned by a trace, they will not be visible in the results tab.
122
179
  * A message will be displayed in its place indicating that features were returned by the trace, but are not visible in the results pane.
123
180
  * This string can be overridden with the `messageOverrides` property.
@@ -138,7 +195,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
138
195
  * ```
139
196
  */
140
197
  accessor hideFeatureResults: boolean;
141
- accessor icon: string | undefined;
198
+ /** The component's default label. */
142
199
  accessor label: string | undefined;
143
200
  /**
144
201
  * Replace localized message strings with your own strings.
@@ -179,17 +236,20 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
179
236
  * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
180
237
  */
181
238
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
239
+ /** The current state of the component. */
240
+ get state(): UtilityNetworkTraceAnalysisState;
182
241
  /**
183
- * The current state of the component.
242
+ * An array of features returned by the trace result.
243
+ *
244
+ * This array is populated if the trace returned [element](https://developers.arcgis.com/javascript/latest/references/core/rest/networks/support/TraceResult/#elements) results.
184
245
  *
185
- * @since 5.0
246
+ * When [@arcgisTraceResultFeaturesReady](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#event-arcgisTraceResultFeaturesReady) is raised, trace result features are available.
247
+ * When a new trace has been run, or the trace results are cleared, this array is cleared.
186
248
  */
187
- get state(): UtilityNetworkTraceAnalysisState;
188
249
  get traceResultFeatures(): Graphic[];
189
250
  /**
190
- * This property defines the target [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/).
191
- *
192
- * @since 5.0
251
+ * The view associated with the component.
252
+ * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-utility-network-trace-analysis component will be associated with a map or scene component rather than using the `view` property.
193
253
  */
194
254
  accessor view: MapView | null | undefined;
195
255
  /** Permanently destroy the component. */
@@ -197,7 +257,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
197
257
  /**
198
258
  * Fires when the user toggles displaying aggregated geometry results in the result pane.
199
259
  * Event payload contains a boolean representing whether the aggregated geometry graphics are hidden.
200
- * If true, the user has hidden the graphics on the view's map.
260
+ * If true, the aggregated geometry graphics are hidden on the view.
201
261
  *
202
262
  * @example
203
263
  * ```js
@@ -265,7 +325,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
265
325
  readonly arcgisTraceResultClear: import("@arcgis/lumina").TargetedEvent<this, void>;
266
326
  /**
267
327
  * Fires when the trace result features are ready.
268
- * Check property `traceResultFeatures` for the trace result features.
328
+ * Check property [traceResultFeatures](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-utility-network-trace-analysis/#traceResultFeatures) for the trace result features.
269
329
  *
270
330
  * @example
271
331
  * ```js