@arcgis/map-components 5.1.0-next.1 → 5.1.0-next.10

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 (360) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/{37TNG76C.js → 24PK3ZLX.js} +1 -1
  3. package/dist/cdn/{ZURN5EZI.js → 2BJHF4JK.js} +1 -1
  4. package/dist/cdn/{M65HMJZA.js → 2K45WUVH.js} +1 -1
  5. package/dist/cdn/2MTWUJIA.js +2 -0
  6. package/dist/cdn/2PAAPTW5.js +2 -0
  7. package/dist/cdn/{UKKUFJLL.js → 33U3K3P2.js} +1 -1
  8. package/dist/cdn/3A7HYDQP.js +2 -0
  9. package/dist/cdn/3OVSVCGF.js +2 -0
  10. package/dist/cdn/{TPOLS4YM.js → 4IC3NWKK.js} +1 -1
  11. package/dist/cdn/{UKNKW6MH.js → 4PWBNKOA.js} +1 -1
  12. package/dist/cdn/{HH6BDERO.js → 4URF7CKU.js} +1 -1
  13. package/dist/cdn/{RP5SO6BA.js → 4YQLL44L.js} +1 -1
  14. package/dist/cdn/{42UR6TXZ.js → 5FZLG5YS.js} +1 -1
  15. package/dist/cdn/5LD4AU4Q.js +2 -0
  16. package/dist/cdn/{OSPWEZQJ.js → 5PJEJPFY.js} +1 -1
  17. package/dist/cdn/{TUW6NLYY.js → 5V7HEV2R.js} +1 -1
  18. package/dist/cdn/{FJJVAOBW.js → 67IVXIOR.js} +1 -1
  19. package/dist/cdn/{K27JJT2P.js → 6XJFSJGE.js} +1 -1
  20. package/dist/cdn/{NGKNECON.js → 7357JBTM.js} +1 -1
  21. package/dist/cdn/{NRV7VFJ7.js → 77ERVO5S.js} +1 -1
  22. package/dist/cdn/{J55YUTPM.js → 7CBBWB77.js} +1 -1
  23. package/dist/cdn/7DTWNSIR.js +2 -0
  24. package/dist/cdn/7L5TRJUA.js +2 -0
  25. package/dist/cdn/{2VC2VUTP.js → 7S4WE6H3.js} +1 -1
  26. package/dist/cdn/7WLTT4K3.js +2 -0
  27. package/dist/cdn/{EX22SAPL.js → 7ZCMIKP6.js} +1 -1
  28. package/dist/cdn/{NIUIKBRD.js → ACWGHEWO.js} +1 -1
  29. package/dist/cdn/{S4XGBADW.js → AIRDJCFV.js} +1 -1
  30. package/dist/cdn/{FQGKKJL7.js → AN2ZNLDK.js} +1 -1
  31. package/dist/cdn/BAPY2HFP.js +2 -0
  32. package/dist/cdn/{PISCYSA5.js → BB5CXHDQ.js} +1 -1
  33. package/dist/cdn/{HK6EWWUB.js → BM2JTRBY.js} +1 -1
  34. package/dist/cdn/{YC423DBS.js → BNJXI23I.js} +1 -1
  35. package/dist/cdn/BX7N3KYH.js +2 -0
  36. package/dist/cdn/{DTVW3MYT.js → CEJGZMGB.js} +1 -1
  37. package/dist/cdn/CKBTMA4D.js +2 -0
  38. package/dist/cdn/{AJHRJ5EA.js → CMWIMRU2.js} +1 -1
  39. package/dist/cdn/{NZAO2BVV.js → CQ2L75M3.js} +1 -1
  40. package/dist/cdn/{5RGFRTJS.js → CUWONRT5.js} +1 -1
  41. package/dist/cdn/{CC53K2CR.js → CXOYV56L.js} +1 -1
  42. package/dist/cdn/{NVACRYY6.js → CZE43OAC.js} +1 -1
  43. package/dist/cdn/D6YUW72R.js +2 -0
  44. package/dist/cdn/{TSPKG2WN.js → D7DDJ2QZ.js} +1 -1
  45. package/dist/cdn/{UVCYUIKZ.js → DLUXWET4.js} +1 -1
  46. package/dist/cdn/{UM2FDZJJ.js → DUT3D6UH.js} +1 -1
  47. package/dist/cdn/{JBJ5NQTI.js → DWW7KAMQ.js} +1 -1
  48. package/dist/cdn/{WW6L6XX4.js → E4YMNWRJ.js} +1 -1
  49. package/dist/cdn/{3XMPN66U.js → EPQN4FJS.js} +1 -1
  50. package/dist/cdn/ERTOHEVB.js +2 -0
  51. package/dist/cdn/EVC4MXIZ.js +2 -0
  52. package/dist/cdn/FANKLSAT.js +2 -0
  53. package/dist/cdn/{EVRFMTMV.js → FOMIDTAN.js} +1 -1
  54. package/dist/cdn/{HO4JUZ6N.js → FQJMTGXO.js} +1 -1
  55. package/dist/cdn/{64OEHFBZ.js → FTBTVD7U.js} +1 -1
  56. package/dist/cdn/G4A4VLTL.js +2 -0
  57. package/dist/cdn/{KXF2562U.js → GHA2ANJZ.js} +1 -1
  58. package/dist/cdn/{3DO7PVNW.js → GLNRLEZE.js} +1 -1
  59. package/dist/cdn/{HR2OOT3F.js → GQN4ALIE.js} +1 -1
  60. package/dist/cdn/{H6ILOF27.js → GS43BIES.js} +1 -1
  61. package/dist/cdn/{YFUI4F5L.js → GUAI5SHN.js} +1 -1
  62. package/dist/cdn/GXBHOVJY.js +2 -0
  63. package/dist/cdn/{SZ5MNKOW.js → HVI2FE73.js} +1 -1
  64. package/dist/cdn/{WGWNMYUH.js → I2WEEE2E.js} +1 -1
  65. package/dist/cdn/{XO6U6OVM.js → I3PBMKT5.js} +1 -1
  66. package/dist/cdn/{RCWZGU5T.js → I6ZXIPND.js} +1 -1
  67. package/dist/cdn/{PMQLTMQ4.js → IIPYTUR3.js} +1 -1
  68. package/dist/cdn/{AP2IFWYH.js → INS77MCT.js} +1 -1
  69. package/dist/cdn/IPNIJANM.js +2 -0
  70. package/dist/cdn/IQPGSWSL.js +2 -0
  71. package/dist/cdn/IY2G6DLG.js +2 -0
  72. package/dist/cdn/{2XSXH4TM.js → JC4DYMKT.js} +1 -1
  73. package/dist/cdn/{M4L5EDRB.js → JCV26SSG.js} +1 -1
  74. package/dist/cdn/{I5QTPPFJ.js → JLIZWDU5.js} +1 -1
  75. package/dist/cdn/{LG4PZVHS.js → JMHCIJG4.js} +1 -1
  76. package/dist/cdn/{556MC5SF.js → JTEJ2NHE.js} +1 -1
  77. package/dist/cdn/{3YA25S2J.js → KBY7C6QM.js} +1 -1
  78. package/dist/cdn/{5PRNT4KD.js → KG2M6IQS.js} +1 -1
  79. package/dist/cdn/KLBNUE5Q.js +2 -0
  80. package/dist/cdn/{ZVTPU2MO.js → KNJ7PME5.js} +1 -1
  81. package/dist/cdn/KQNQ6ITI.js +2 -0
  82. package/dist/cdn/{32K266S4.js → L5EGJLC4.js} +1 -1
  83. package/dist/cdn/{ORH27QWU.js → L6LZYPWJ.js} +1 -1
  84. package/dist/cdn/{R4V6HGJH.js → L7NIKN24.js} +1 -1
  85. package/dist/cdn/LCUXPDUW.js +2 -0
  86. package/dist/cdn/{WOV3LB6K.js → LLNNQ2ED.js} +1 -1
  87. package/dist/cdn/{XRP25NGI.js → LMV6L2OF.js} +1 -1
  88. package/dist/cdn/{C4DJABUI.js → LSF66JVY.js} +1 -1
  89. package/dist/cdn/LVMJAMRO.js +2 -0
  90. package/dist/cdn/{KAXJKSFB.js → LVSNYSCO.js} +1 -1
  91. package/dist/cdn/{52GXKBGP.js → LY735GHL.js} +1 -1
  92. package/dist/cdn/{QVMTO5BV.js → LZ3PMD7Z.js} +1 -1
  93. package/dist/cdn/{ZD25GJYW.js → N76CLHYJ.js} +1 -1
  94. package/dist/cdn/{YZ5ZVEPC.js → OAFAR3NG.js} +1 -1
  95. package/dist/cdn/{OCEXQCFT.js → OJNMPOYD.js} +1 -1
  96. package/dist/cdn/OKZSKR6W.js +2 -0
  97. package/dist/cdn/OMKVQOUI.js +2 -0
  98. package/dist/cdn/{EQCNO3G4.js → P4PTEXIJ.js} +1 -1
  99. package/dist/cdn/{7YLXQNEC.js → PESPV6VP.js} +1 -1
  100. package/dist/cdn/{KNAUIRT6.js → PFYZ7JRB.js} +1 -1
  101. package/dist/cdn/{JTFZMNCO.js → PI6UQWTD.js} +1 -1
  102. package/dist/cdn/{GNGZFV2C.js → POEZXWTT.js} +1 -1
  103. package/dist/cdn/QX27DK37.js +2 -0
  104. package/dist/cdn/{JLK664TB.js → QXUY4FOY.js} +1 -1
  105. package/dist/cdn/{T2ZF4XIZ.js → RISVXUI4.js} +1 -1
  106. package/dist/cdn/RWJKQEMK.js +2 -0
  107. package/dist/cdn/{KHM3S4Q6.js → RXFUZXUX.js} +1 -1
  108. package/dist/cdn/S4I3X6AX.js +2 -0
  109. package/dist/cdn/{KY4FMFIC.js → S52VES4H.js} +1 -1
  110. package/dist/cdn/{S6G6XXTM.js → SFM3XWUA.js} +1 -1
  111. package/dist/cdn/{YC6JWXOW.js → SKGRUNAJ.js} +1 -1
  112. package/dist/cdn/{C7YN3AZA.js → SPACZLHW.js} +1 -1
  113. package/dist/cdn/{F4HWT5H3.js → SSZMOOL6.js} +1 -1
  114. package/dist/cdn/{UAO23YMW.js → SZNBYDQI.js} +1 -1
  115. package/dist/cdn/{4363SIKC.js → TJG4UE24.js} +1 -1
  116. package/dist/cdn/{EENOVGOS.js → TTR6UUEQ.js} +1 -1
  117. package/dist/cdn/U5FUT6DD.js +2 -0
  118. package/dist/cdn/{MAGJWMWM.js → U5HXLA7K.js} +1 -1
  119. package/dist/cdn/{WJ5HD2YN.js → UDPUTCKL.js} +1 -1
  120. package/dist/cdn/{63P5VYGP.js → UZ7KLWGC.js} +1 -1
  121. package/dist/cdn/{IDDSHZVB.js → VGTTCLO3.js} +1 -1
  122. package/dist/cdn/VPJCFCJU.js +2 -0
  123. package/dist/cdn/W5T5EBL3.js +2 -0
  124. package/dist/cdn/XE5UPQ5E.js +2 -0
  125. package/dist/cdn/{FARFUCNU.js → XEOTORJP.js} +1 -1
  126. package/dist/cdn/{3PQT2S7Z.js → XTFD35UI.js} +1 -1
  127. package/dist/cdn/{LHEP4QSS.js → XWAT4IT2.js} +1 -1
  128. package/dist/cdn/Y6KRMZWJ.js +2 -0
  129. package/dist/cdn/{E2JLZZFR.js → YA6FUJR2.js} +1 -1
  130. package/dist/cdn/{FC6W37TT.js → YBJEMNAU.js} +1 -1
  131. package/dist/cdn/YR3SQWM6.js +2 -0
  132. package/dist/cdn/{2EJ4XRH4.js → YSDQ5VNK.js} +1 -1
  133. package/dist/cdn/YZZJQMH4.js +2 -0
  134. package/dist/cdn/Z4F6DHBB.js +2 -0
  135. package/dist/cdn/{WTMMFDEH.js → ZIX3WE2Q.js} +1 -1
  136. package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
  137. package/dist/cdn/index.js +1 -1
  138. package/dist/cdn/main.css +1 -1
  139. package/dist/chunks/AnalysisViewModel.js +106 -99
  140. package/dist/chunks/feature-utils.js +73 -73
  141. package/dist/chunks/layer-utils.js +33 -16
  142. package/dist/chunks/measurementUtils.js +44 -21
  143. package/dist/chunks/slots.js +20 -20
  144. package/dist/chunks/time-utils.js +24 -22
  145. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +18 -9
  146. package/dist/components/arcgis-area-measurement-2d/customElement.js +95 -74
  147. package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
  148. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +20 -18
  149. package/dist/components/arcgis-area-measurement-3d/customElement.js +58 -67
  150. package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
  151. package/dist/components/arcgis-attachments/customElement.d.ts +5 -6
  152. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +3 -4
  153. package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
  154. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +120 -91
  155. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
  156. package/dist/components/arcgis-bookmarks/customElement.d.ts +10 -15
  157. package/dist/components/arcgis-bookmarks/types.d.ts +13 -6
  158. package/dist/components/arcgis-building-explorer/customElement.d.ts +14 -73
  159. package/dist/components/arcgis-building-explorer/customElement.js +3 -3
  160. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +115 -66
  161. package/dist/components/arcgis-clipboard/customElement.d.ts +1 -1
  162. package/dist/components/arcgis-compass/customElement.d.ts +2 -3
  163. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -12
  164. package/dist/components/arcgis-daylight/customElement.d.ts +18 -19
  165. package/dist/components/arcgis-daylight/customElement.js +118 -119
  166. package/dist/components/arcgis-daylight/types.d.ts +1 -0
  167. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +20 -18
  168. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +62 -71
  169. package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
  170. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
  171. package/dist/components/arcgis-directions/customElement.d.ts +7 -8
  172. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +22 -9
  173. package/dist/components/arcgis-distance-measurement-2d/customElement.js +86 -65
  174. package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
  175. package/dist/components/arcgis-editor/customElement.d.ts +15 -16
  176. package/dist/components/arcgis-editor/customElement.js +2 -2
  177. package/dist/components/arcgis-elevation-profile/customElement.d.ts +26 -25
  178. package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
  179. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
  180. package/dist/components/arcgis-expand/customElement.d.ts +6 -7
  181. package/dist/components/arcgis-expand/types.d.ts +1 -0
  182. package/dist/components/arcgis-feature/customElement.d.ts +32 -33
  183. package/dist/components/arcgis-feature/customElement.js +35 -35
  184. package/dist/components/arcgis-feature-fields/customElement.js +29 -28
  185. package/dist/components/arcgis-feature-form/customElement.d.ts +30 -11
  186. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  187. package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
  188. package/dist/components/arcgis-feature-table/customElement.d.ts +99 -63
  189. package/dist/components/arcgis-feature-table/customElement.js +12 -12
  190. package/dist/components/arcgis-feature-templates/customElement.d.ts +14 -12
  191. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +63 -60
  192. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +9 -9
  193. package/dist/components/arcgis-features/customElement.d.ts +31 -33
  194. package/dist/components/arcgis-features/customElement.js +43 -43
  195. package/dist/components/arcgis-floor-filter/customElement.d.ts +7 -10
  196. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  197. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  198. package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
  199. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +35 -36
  200. package/dist/components/arcgis-home/customElement.d.ts +4 -6
  201. package/dist/components/arcgis-layer-list/customElement.d.ts +40 -41
  202. package/dist/components/arcgis-legend/customElement.d.ts +28 -29
  203. package/dist/components/arcgis-line-of-sight/customElement.d.ts +14 -12
  204. package/dist/components/arcgis-link-chart/customElement.d.ts +59 -49
  205. package/dist/components/arcgis-link-chart/customElement.js +42 -31
  206. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -2
  207. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +6 -3
  208. package/dist/components/arcgis-locate/customElement.d.ts +2 -3
  209. package/dist/components/arcgis-map/customElement.d.ts +139 -129
  210. package/dist/components/arcgis-map/customElement.js +24 -13
  211. package/dist/components/arcgis-measurement/customElement.d.ts +1 -2
  212. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +1 -1
  213. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +6 -11
  214. package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
  215. package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
  216. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -3
  217. package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -0
  218. package/dist/components/arcgis-paste/PasteViewModel.d.ts +18 -6
  219. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +264 -120
  220. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +115 -114
  221. package/dist/components/arcgis-paste/customElement.d.ts +1 -1
  222. package/dist/components/arcgis-paste/customElement.js +6 -7
  223. package/dist/components/arcgis-popup/customElement.d.ts +20 -21
  224. package/dist/components/arcgis-popup/customElement.js +1 -1
  225. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -1
  226. package/dist/components/arcgis-print/customElement.d.ts +29 -18
  227. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +13 -1
  228. package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
  229. package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
  230. package/dist/components/arcgis-scale-bar/customElement.js +7 -7
  231. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
  232. package/dist/components/arcgis-scene/customElement.d.ts +155 -150
  233. package/dist/components/arcgis-scene/customElement.js +20 -9
  234. package/dist/components/arcgis-search/customElement.d.ts +37 -30
  235. package/dist/components/arcgis-search/customElement.js +20 -18
  236. package/dist/components/arcgis-shadow-cast/customElement.d.ts +61 -17
  237. package/dist/components/arcgis-sketch/customElement.d.ts +55 -36
  238. package/dist/components/arcgis-sketch/customElement.js +20 -8
  239. package/dist/components/arcgis-slice/customElement.d.ts +16 -16
  240. package/dist/components/arcgis-slice/customElement.js +6 -6
  241. package/dist/components/arcgis-slice/{SliceViewModel.d.ts → types.d.ts} +1 -1
  242. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +77 -27
  243. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
  244. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +30 -31
  245. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +32 -37
  246. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +67 -34
  247. package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
  248. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +106 -36
  249. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
  250. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +7 -10
  251. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +26 -27
  252. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +35 -39
  253. package/dist/components/arcgis-snapping-controls/customElement.d.ts +1 -2
  254. package/dist/components/arcgis-swipe/customElement.d.ts +6 -6
  255. package/dist/components/arcgis-table-list/customElement.d.ts +109 -73
  256. package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
  257. package/dist/components/arcgis-time-of-day-slider/customElement.js +11 -11
  258. package/dist/components/arcgis-time-slider/customElement.d.ts +17 -19
  259. package/dist/components/arcgis-time-zone-label/customElement.d.ts +18 -8
  260. package/dist/components/arcgis-time-zone-label/customElement.js +39 -45
  261. package/dist/components/arcgis-time-zone-label/index.js +1 -2
  262. package/dist/components/arcgis-track/customElement.d.ts +6 -7
  263. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +1 -0
  264. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
  265. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +3 -4
  266. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -5
  267. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +48 -49
  268. package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
  269. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +1 -1
  270. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +30 -25
  271. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -0
  272. package/dist/components/arcgis-utility-network-trace-location/customElement.js +82 -80
  273. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
  274. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +3 -1
  275. package/dist/components/arcgis-utility-network-trace-results/customElement.js +52 -49
  276. package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
  277. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
  278. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +39 -40
  279. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  280. package/dist/components/arcgis-version-management/customElement.d.ts +3 -3
  281. package/dist/components/arcgis-video/customElement.d.ts +12 -12
  282. package/dist/components/arcgis-video-player/customElement.d.ts +5 -5
  283. package/dist/components/arcgis-video-player/customElement.js +2 -2
  284. package/dist/components/arcgis-volume-measurement/customElement.d.ts +31 -27
  285. package/dist/components/arcgis-volume-measurement/customElement.js +211 -211
  286. package/dist/components/arcgis-volume-measurement/index.js +1 -1
  287. package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
  288. package/dist/components/arcgis-weather/customElement.d.ts +17 -18
  289. package/dist/components/arcgis-zoom/customElement.d.ts +6 -2
  290. package/dist/components/types.d.ts +56 -1
  291. package/dist/docs/api.json +1 -1
  292. package/dist/docs/docs.json +1 -1
  293. package/dist/docs/vscode.html-custom-data.json +1 -1
  294. package/dist/docs/web-types.json +1 -1
  295. package/dist/index.d.ts +6 -28
  296. package/dist/loader.js +18 -18
  297. package/dist/types/lumina.d.ts +17 -38
  298. package/dist/types/preact.d.ts +17 -42
  299. package/dist/types/react.d.ts +17 -46
  300. package/dist/types/stencil.d.ts +17 -38
  301. package/package.json +4 -4
  302. package/dist/cdn/3GZCJE62.js +0 -2
  303. package/dist/cdn/4EAZ4PIQ.js +0 -2
  304. package/dist/cdn/4TURMTXA.js +0 -2
  305. package/dist/cdn/55QGHI47.js +0 -2
  306. package/dist/cdn/6UX4KWBN.js +0 -2
  307. package/dist/cdn/7UR4M6PN.js +0 -2
  308. package/dist/cdn/A4UJ53JS.js +0 -2
  309. package/dist/cdn/AGYDL2DX.js +0 -2
  310. package/dist/cdn/B5XR4LXQ.js +0 -2
  311. package/dist/cdn/DOLELC6W.js +0 -2
  312. package/dist/cdn/EYNKJZG3.js +0 -2
  313. package/dist/cdn/I2MQQXVU.js +0 -2
  314. package/dist/cdn/JDZWJLJX.js +0 -2
  315. package/dist/cdn/KECAR2NZ.js +0 -2
  316. package/dist/cdn/LZFDWRYI.js +0 -2
  317. package/dist/cdn/M7VTEC3S.js +0 -2
  318. package/dist/cdn/MRE5HCIK.js +0 -2
  319. package/dist/cdn/MWBGBBXT.js +0 -2
  320. package/dist/cdn/PNDLNFML.js +0 -2
  321. package/dist/cdn/PQJAXYJ2.js +0 -2
  322. package/dist/cdn/RJ76OXB6.js +0 -2
  323. package/dist/cdn/SKW7HQZ6.js +0 -2
  324. package/dist/cdn/SRSYUCVL.js +0 -2
  325. package/dist/cdn/U3LH3AZH.js +0 -2
  326. package/dist/cdn/UTH3SGAS.js +0 -2
  327. package/dist/cdn/VJMMA6UX.js +0 -2
  328. package/dist/cdn/W2E5L6DS.js +0 -2
  329. package/dist/cdn/WGXSSEAL.js +0 -2
  330. package/dist/cdn/X6OVNOLQ.js +0 -2
  331. package/dist/cdn/X7YUU7TS.js +0 -2
  332. package/dist/cdn/XMZSFKKO.js +0 -2
  333. package/dist/cdn/Y53D5YAC.js +0 -2
  334. package/dist/cdn/YGJFZRA4.js +0 -2
  335. package/dist/cdn/YKTB6AFH.js +0 -2
  336. package/dist/cdn/YWQGP6MB.js +0 -2
  337. package/dist/cdn/ZMLRDNKR.js +0 -2
  338. package/dist/cdn/ZUTQE3OX.js +0 -2
  339. package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
  340. package/dist/components/arcgis-building-discipline-tree/index.d.ts +0 -1
  341. package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
  342. package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
  343. package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
  344. package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
  345. package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
  346. package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
  347. package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
  348. package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
  349. package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
  350. package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
  351. package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
  352. package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
  353. package/dist/components/support/goTo.d.ts +0 -37
  354. package/dist/controllers/useArcgisLoadError.d.ts +0 -9
  355. package/dist/support/heading.d.ts +0 -1
  356. package/dist/support/measurementUtils.d.ts +0 -1
  357. package/dist/utils/action-utils.d.ts +0 -3
  358. package/dist/utils/component-utils.d.ts +0 -5
  359. /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
  360. /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
@@ -4,22 +4,58 @@ import type MapView from "@arcgis/core/views/MapView";
4
4
  import type LinkChartView from "@arcgis/core/views/LinkChartView";
5
5
  import type TableListListItem from "@arcgis/core/widgets/TableList/ListItem";
6
6
  import type Collection from "@arcgis/core/core/Collection";
7
- import type WebScene from "@arcgis/core/WebScene.js";
8
7
  import type WebMap from "@arcgis/core/WebMap.js";
8
+ import type WebScene from "@arcgis/core/WebScene.js";
9
9
  import type Collection2 from "@arcgis/core/core/Collection.js";
10
10
  import type ListItem from "@arcgis/core/widgets/TableList/ListItem.js";
11
11
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
12
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
13
- import type { IconName } from "../../utils/action-utils.js";
12
+ import type { ArcgisReferenceElement, IconName } from "../types.js";
14
13
  import type { TableListViewModelTriggerActionEvent } from "@arcgis/core/widgets/TableList/TableListViewModel";
15
14
  import type { FilterPredicate } from "@arcgis/core/widgets/TableList.js";
16
15
  import type { Icon } from "@esri/calcite-components/components/calcite-icon";
17
16
  import type { ListItemModifier, State } from "@arcgis/core/widgets/TableList/types.js";
18
17
 
19
18
  /**
20
- * The Table List component provides a way to display a list of tables associated with a [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html).
19
+ * The Table List component provides a way to display a list of tables associated with a [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/).
20
+ * It is meant to be used with [feature layer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/) tables.
21
+ *
22
+ * If a map contains feature layer tables, they will display within the component. Tables can also be added to the Map's
23
+ * [tables](https://developers.arcgis.com/javascript/latest/references/core/Map/#tables) collection. Any tables referenced in the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#map)
24
+ * property will display in the component. If unsure of whether the layer is a table, check the feature layer's
25
+ * [isTable](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#isTable) property.
26
+ *
27
+ * The [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/) API provides access to each table, allows
28
+ * the developer to configure actions related to the table, and allows the developer to add content to the item related to the table.
29
+ *
30
+ *
31
+ * **Known Limitations**
32
+ * * The TableList component is not supported with [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
21
33
  *
22
34
  * @since 4.28
35
+ * @example
36
+ * ```js
37
+ *
38
+ * const tableListElement = document.createElement("arcgis-table-list");
39
+ * tableListElement.referenceElement = viewElement;
40
+ * tableListElement.slot = "top-left";
41
+ * viewElement.appendChild(tableListElement);
42
+ *
43
+ * const layer = Layer.fromPortalItem({
44
+ * // Loads a layer (table) from a portal item
45
+ * portalItem: {
46
+ * id: "add portal item id"
47
+ * }
48
+ * });
49
+ *
50
+ * // Wait for the layer to load
51
+ * await layer.load()
52
+ *
53
+ * // Check if the layer is a table
54
+ * if (layer.isTable) {
55
+ * // Add the table to the map's tables collection
56
+ * viewElement.map.tables.add(layer);
57
+ * }
58
+ * ```
23
59
  */
24
60
  export abstract class ArcgisTableList extends LitElement {
25
61
  /**
@@ -46,46 +82,60 @@ export abstract class ArcgisTableList extends LitElement {
46
82
  * @default false
47
83
  * @since 4.29
48
84
  * @see [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showCollapseButton)
49
- * @example tableList.collapsed = true;
85
+ * @example
86
+ * ```js
87
+ * tableListElement.collapsed = true;
88
+ * ```
50
89
  */
51
90
  accessor collapsed: boolean;
52
91
  /**
53
- * Indicates whether [list items](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList-ListItem.html) may be reordered within the list by dragging and dropping.
54
- * Drag won't be enabled until the number of list items is equal to or greater than than the value set set in [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList.html#minDragEnabledItems).
92
+ * Indicates whether [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/) may be reordered within the list by dragging and dropping.
93
+ * Drag won't be enabled until the number of list items is equal to or greater than than the value set set in [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#minDragEnabledItems).
55
94
  *
56
95
  * @default false
57
96
  * @since 4.29
58
- * @see [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList.html#minDragEnabledItems)
59
- * @example tableList.dragEnabled = true;
97
+ * @see [minDragEnabledItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#minDragEnabledItems)
98
+ * @example
99
+ * ```js
100
+ * tableListElement.dragEnabled = true;
101
+ * ```
60
102
  */
61
103
  accessor dragEnabled: boolean;
62
104
  /**
63
- * Placeholder text used in the filter input if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList.html#visibleElements) is true.
105
+ * Placeholder text used in the filter input if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter) is true.
64
106
  *
65
107
  * @default ""
66
108
  * @since 4.29
67
109
  * @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter)
68
- * @example tableList.filterPlaceholder = "Filter layers";
110
+ * @example
111
+ * ```js
112
+ * tableListElement.filterPlaceholder = "Filter layers";
113
+ * ```
69
114
  */
70
115
  accessor filterPlaceholder: string;
71
116
  /**
72
- * Specifies a function to handle filtering [list items](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList-ListItem.html).
117
+ * Specifies a function to handle filtering [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/).
73
118
  *
74
119
  * @since 4.32
75
- * @example layerList.filterPredicate = (item) => item.title.toLowerCase().includes("streets");
120
+ * @example
121
+ * ```js
122
+ * tableListElement.filterPredicate = (item) => item.title.toLowerCase().includes("streets");
123
+ * ```
76
124
  */
77
125
  accessor filterPredicate: FilterPredicate | null | undefined;
78
126
  /**
79
- * The value of the filter input text string if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList.html#visibleElements) is true.
127
+ * The value of the filter input text string if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter) is true.
80
128
  *
81
129
  * @default ""
82
130
  * @since 4.29
83
- * @see [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList.html#visibleElements)
131
+ * @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter)
84
132
  * @example
133
+ * ```js
85
134
  * reactiveUtils.watch(
86
- * () => tableList.filterText,
135
+ * () => tableListElement.filterText,
87
136
  * (filterText) => console.log(filterText)
88
137
  * );
138
+ * ```
89
139
  */
90
140
  accessor filterText: string;
91
141
  /**
@@ -112,78 +162,61 @@ export abstract class ArcgisTableList extends LitElement {
112
162
  */
113
163
  accessor label: string;
114
164
  /**
115
- * Specifies a function that accesses each [ListItem](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList-ListItem.html).
165
+ * Specifies a function that accesses each [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/).
116
166
  * Each list item can be modified according to its modifiable properties. Actions can be added
117
- * to list items using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList-ListItem.html#actionsSections)
167
+ * to list items using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/#actionsSections)
118
168
  * property of the ListItem.
119
169
  *
120
170
  * @example
121
- * const tableList = new TableList({
122
- * map: map,
123
- * listItemCreatedFunction: (event) => {
124
- * const { item } = event;
125
- * item.actionsSections = [
126
- * [
127
- * {
128
- * title: "Go to full extent",
129
- * icon: "layer-zoom-to",
130
- * id: "full-extent"
131
- * }
132
- * ]
133
- * ];
134
- * }
135
- * });
171
+ * ```js
172
+ * tableListElement.listItemCreatedFunction = (event) => {
173
+ * const { item } = event;
174
+ * item.actionsSections = [
175
+ * [
176
+ * {
177
+ * title: "Open in feature table",
178
+ * icon: "table",
179
+ * id: "open-table"
180
+ * }
181
+ * ]
182
+ * ];
183
+ * }
184
+ * ```
136
185
  */
137
186
  accessor listItemCreatedFunction: ListItemModifier | null | undefined;
138
187
  /**
139
- * A reference to a [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html) containing the tables. Set this property
188
+ * A reference to a [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) containing the tables. Set this property
140
189
  * to access the underlying tables within the map.
141
190
  *
142
191
  * @since 4.34
143
- * @see [Map#tables](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#tables)
144
- * @see [WebMap#tables](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#tables)
145
- * @example
146
- * Layer.fromPortalItem({
147
- * // Loads a layer (table) from a portal item
148
- * portalItem: { // autocasts new PortalItem()
149
- * id: "add portal item id"
150
- * }
151
- * }).then(function(layer) {
152
- * // Load the layer
153
- * layer.load().then(function() {
154
- * // Check if the layer is a table
155
- * if (layer.isTable) {
156
- * map.tables.add(layer);
157
- * console.log(map.tables);
158
- * }
159
- * });
160
- * });
161
- *
162
- * const tableList = new TableList({
163
- * map: map // map contains tables collection
164
- * });
192
+ * @see [Map#tables](https://developers.arcgis.com/javascript/latest/references/core/Map/#tables)
193
+ * @see [WebMap#tables](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#tables)
165
194
  */
166
- accessor map: WebScene | WebMap | null | undefined;
195
+ accessor map: WebMap | WebScene | null | undefined;
167
196
  /**
168
- * The minimum number of list items required to enable drag and drop reordering with [dragEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList.html#dragEnabled).
197
+ * The minimum number of list items required to enable drag and drop reordering with [dragEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#dragEnabled).
169
198
  *
170
199
  * @default 2
171
200
  * @since 4.29
172
- * @see [dragEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList.html#dragEnabled)
201
+ * @see [dragEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#dragEnabled)
173
202
  * @example
174
- * tableList.dragEnabled = true;
175
- * tableList.minDragEnabledItems = 5;
203
+ * ```js
204
+ * tableListElement.dragEnabled = true;
205
+ * tableListElement.minDragEnabledItems = 5;
206
+ * ```
176
207
  */
177
208
  accessor minDragEnabledItems: number;
178
209
  /**
179
- * The minimum number of list items required to display the [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList-TableListVisibleElements.html) input box.
210
+ * The minimum number of list items required to display the [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter) input box.
180
211
  *
181
212
  * @default 10
182
213
  * @since 4.29
183
214
  * @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-table-list/#showFilter)
184
215
  * @example
185
- * tableList.showFilter = true;
186
- * tableList.minFilterItems = 5;
216
+ * ```js
217
+ * tableListElement.showFilter = true;
218
+ * tableListElement.minFilterItems = 5;
219
+ * ```
187
220
  */
188
221
  accessor minFilterItems: number;
189
222
  /**
@@ -193,15 +226,15 @@ export abstract class ArcgisTableList extends LitElement {
193
226
  */
194
227
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
195
228
  /**
196
- * A collection of selected [ListItem](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList-ListItem.html)s representing table list items
229
+ * A collection of selected [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/ListItem/)s representing table list items
197
230
  * selected by the user.
198
231
  *
199
- * @see [selectionMode](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList.html#selectionMode)
232
+ * @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#selectionMode)
200
233
  */
201
234
  accessor selectedItems: Collection2<ListItem>;
202
235
  /**
203
236
  * Specifies the selection mode.
204
- * Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList.html#selectedItems) property.
237
+ * Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#selectedItems) property.
205
238
  *
206
239
  * | Value | Description |
207
240
  * | ----- | ----------- |
@@ -212,10 +245,13 @@ export abstract class ArcgisTableList extends LitElement {
212
245
  *
213
246
  * @default "none"
214
247
  * @since 4.29
215
- * @see [selectedItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList.html#selectedItems)
216
- * @example tableList.selectionMode = "multiple";
248
+ * @see [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#selectedItems)
249
+ * @example
250
+ * ```js
251
+ * tableListElement.selectionMode = "multiple";
252
+ * ```
217
253
  */
218
- accessor selectionMode: "none" | "multiple" | "single" | "single-persist";
254
+ accessor selectionMode: "multiple" | "single" | "none" | "single-persist";
219
255
  /**
220
256
  * Indicates whether to display a close button in the header.
221
257
  *
@@ -238,21 +274,21 @@ export abstract class ArcgisTableList extends LitElement {
238
274
  */
239
275
  accessor showErrors: boolean;
240
276
  /**
241
- * Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [TableList#minFilterItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList.html#minFilterItems), allowing users to filter tables by their title.
277
+ * Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [TableList#minFilterItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#minFilterItems), allowing users to filter tables by their title.
242
278
  *
243
279
  * @default false
244
280
  * @since 5.0
245
281
  */
246
282
  accessor showFilter: boolean;
247
283
  /**
248
- * Indicates whether to display the table list heading. The heading text is "Table List". The heading level can be set with the [TableList#headingLevel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList.html#headingLevel).
284
+ * Indicates whether to display the table list heading. The heading text is "Table List". The heading level can be set with the [TableList#headingLevel](https://developers.arcgis.com/javascript/latest/references/core/widgets/TableList/#headingLevel).
249
285
  *
250
286
  * @default false
251
287
  * @since 5.0
252
288
  */
253
289
  accessor showHeading: boolean;
254
290
  /**
255
- * Indicates whether temporary table indicators will be displayed for tables with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#persistenceEnabled) set to `false`. A [temporary icon](https://developers.arcgis.com/calcite-design-system/icons/?icon=temporary&library=Calcite%20UI&query=temporary) will be displayed on the near side of the table title.
291
+ * Indicates whether temporary table indicators will be displayed for tables with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#persistenceEnabled) set to `false`. A [temporary icon](https://developers.arcgis.com/calcite-design-system/icons/?icon=temporary&library=Calcite%20UI&query=temporary) will be displayed on the near side of the table title.
256
292
  *
257
293
  * @default false
258
294
  * @since 5.0
@@ -55,4 +55,5 @@ export abstract class ArcgisTimeOfDaySlider extends LitElement {
55
55
  };
56
56
  }
57
57
 
58
+ /** @internal */
58
59
  export type Mode = "range" | "single";
@@ -5,7 +5,7 @@ import { substitute as T } from "@arcgis/core/intl.js";
5
5
  import { LitElement as v, createEvent as f, safeClassMap as _ } from "@arcgis/lumina";
6
6
  import { css as F, html as d } from "lit";
7
7
  import { u as L } from "../../chunks/useT9n.js";
8
- import { c as s } from "../../chunks/time-utils.js";
8
+ import { c as i } from "../../chunks/time-utils.js";
9
9
  const w = F`:host{display:block}arcgis-slider{--arcgis-slider-handle-size: .875rem;--ticks-font-size: .625rem;--label-font-size: .75rem;--label-padding-block-start: 3px;--label-padding-block-end: var(--calcite-spacing-lg);--calcite-font-size-sm: var(--label-font-size);display:block;margin-block-start:var(--padding-block-start, -.5rem);padding-block-end:var(--padding-block-end, .3rem);&.wrap-labels{padding-block-end:var(--wrapped-padding, .875rem)}}:host([visual-scale="s"]) arcgis-slider{--arcgis-slider-handle-size: .625rem;--ticks-font-size: .625rem;--label-font-size: .625rem;--label-padding-block-end: 1rem;--padding-block-end: .5rem;--wrapped-padding: 1.1rem}:host([visual-scale="l"]) arcgis-slider{--arcgis-slider-handle-size: 1rem;--ticks-font-size: .75rem;--label-font-size: .875rem;--label-padding-block-end: .94rem;--padding-block-end: .4rem;--wrapped-padding: 1.1rem}.ticks-container{width:100%;position:relative}.time-range-label{position:relative;width:100%;padding-block-start:var(--label-padding-block-start);padding-block-end:var(--label-padding-block-end);font-size:var(--label-font-size);font-variant-numeric:tabular-nums;line-height:1em;text-align:center}.main-ticks,.secondary-ticks{position:absolute;inset:0}.main-ticks{--arcgis-ticks-label-width: min-content;--arcgis-ticks-label-text-align: center;--arcgis-ticks-font-size: var(--ticks-font-size);white-space:nowrap;word-break:auto-phrase;font-variant-numeric:tabular-nums}.wrap-labels .main-ticks{white-space:normal}.secondary-ticks{--arcgis-ticks-tick-length: 3px;--arcgis-ticks-gap: 16px}`;
10
10
  class z extends v {
11
11
  constructor() {
@@ -23,7 +23,7 @@ class z extends v {
23
23
  _getSliderLabelFormatter(e) {
24
24
  const t = new Intl.DateTimeFormat(e, h);
25
25
  return (a) => {
26
- const n = s(a, "minutes", "milliseconds"), m = new Date(n);
26
+ const n = i(a, "minutes", "milliseconds"), m = new Date(n);
27
27
  let r = t.format(m);
28
28
  return n !== 0 && r === "00:00" && (r = "24:00"), r;
29
29
  };
@@ -31,14 +31,14 @@ class z extends v {
31
31
  _getTickLabelFormatter(e) {
32
32
  const t = new Intl.DateTimeFormat(e, h), a = new Intl.DateTimeFormat(e, y);
33
33
  return (n) => {
34
- const m = Math.round(s(n, "minutes", "hours")), r = s(m, "hours", "milliseconds"), c = new Date(r);
35
- let i = t.format(c);
36
- if (i.includes(" ")) {
37
- i = a.format(c), i = i.replace(":00", "");
34
+ const m = Math.round(i(n, "minutes", "hours")), r = i(m, "hours", "milliseconds"), c = new Date(r);
35
+ let s = t.format(c);
36
+ if (s.includes(" ")) {
37
+ s = a.format(c), s = s.replace(":00", "");
38
38
  const b = "⁠";
39
- i = i.split(" ").map((p) => Array.from(p).join(b)).join(" ");
39
+ s = s.split(" ").map((p) => Array.from(p).join(b)).join(" ");
40
40
  }
41
- return i;
41
+ return s;
42
42
  };
43
43
  }
44
44
  _setStartTime(e) {
@@ -53,7 +53,7 @@ class z extends v {
53
53
  }
54
54
  render() {
55
55
  const e = this.mode === "single" && !this.disabled;
56
- return k(this.messages._lang, d`<arcgis-slider .ariaLabel=${this.label} class=${_({ "wrap-labels": this._shouldWrapLabels })} .disabled=${this.disabled} fill-placement=none .labelFormatter=${this._sliderLabelFormatter} layout=horizontal min=0 .max=${o} .steps=${this.steps ?? 1} .valueLabelsDisplay=${this.mode === "range" ? "hidden" : "always"} value-labels-placement=leading .values=${this._values} @arcgisInput=${({ currentTarget: { values: t } }) => {
56
+ return k(this.messages._lang, d`<arcgis-slider .ariaLabel=${this.label} class=${_({ "wrap-labels": this._shouldWrapLabels })} .disabled=${this.disabled} fill-placement=none .labelFormatter=${this._sliderLabelFormatter} layout=horizontal min=0 .max=${o} .steps=${this.steps ?? 1} .valueLabelsDisplay=${this.mode === "range" ? "hidden" : "always"} value-labels-placement=start .values=${this._values} @arcgisInput=${({ currentTarget: { values: t } }) => {
57
57
  this.mode === "single" ? this._setStartTime(t[0]) : this._setRange(t[0], t[1]);
58
58
  }}>${this.mode === "range" ? this._renderTimeRange() : void 0}<div class="ticks-container" slot=content-end><arcgis-ticks class="main-ticks" .interactive=${e} .labelFormatter=${this._tickLabelFormatter} layout=horizontal min=0 .max=${o} mode=value show-labels .values=${g} @arcgisTickClick=${(t) => this._setStartTime(t.detail.value)}></arcgis-ticks><arcgis-ticks class="secondary-ticks" layout=horizontal min=0 .max=${o} mode=value .values=${$} @arcgisTickClick=${(t) => this._setStartTime(t.detail.value)}></arcgis-ticks></div></arcgis-slider>`);
59
59
  }
@@ -62,9 +62,9 @@ class z extends v {
62
62
  return d`<div class="time-range-label" aria-live=polite slot=content-start>${T(a ?? "{start} — {end}", { start: e, end: t })}</div>`;
63
63
  }
64
64
  }
65
- const o = s(24, "hours", "minutes") - 1, g = [0, 6, 12, 18].map((l) => s(l, "hours", "minutes"));
65
+ const o = i(24, "hours", "minutes") - 1, g = [0, 6, 12, 18].map((l) => i(l, "hours", "minutes"));
66
66
  g.push(o);
67
- const $ = [2, 4, 8, 10, 14, 16, 20, 22].map((l) => s(l, "hours", "minutes")), h = {
67
+ const $ = [2, 4, 8, 10, 14, 16, 20, 22].map((l) => i(l, "hours", "minutes")), h = {
68
68
  hour: "numeric",
69
69
  minute: "numeric",
70
70
  timeZone: "UTC"
@@ -3,8 +3,7 @@ import type WebMap from "@arcgis/core/WebMap";
3
3
  import type Collection from "@arcgis/core/core/Collection.js";
4
4
  import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
5
5
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
6
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
7
- import type { IconName } from "../../utils/action-utils.js";
6
+ import type { ArcgisReferenceElement, IconName } from "../types.js";
8
7
  import type { TimeSliderViewModelTriggerActionEvent } from "@arcgis/core/widgets/TimeSlider/TimeSliderViewModel";
9
8
  import type { TimeSliderProperties } from "@arcgis/core/webdoc/widgets/TimeSlider";
10
9
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
@@ -23,11 +22,11 @@ export abstract class ArcgisTimeSlider extends LitElement {
23
22
  * Defines actions that will appear in a menu when the user clicks the ellipsis button
24
23
  * ![timeSlider-actions-menu](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/timeslider/ellipsis.png) in the component. The
25
24
  * ellipsis button will not display if this property is `null` or if the collection is empty.
26
- * Each [Action](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider-types.html#Action) is defined with a unique id, a title,
25
+ * Each [Action](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/types/#Action) is defined with a unique id, a title,
27
26
  * and an icon.
28
27
  *
29
- * The [@trigger-action](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#event-trigger-action) event fires each time an action in the menu is clicked. This event
30
- * can be used to execute custom code such as setting the [timeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#timeExtent) to a specific date or copying the
28
+ * The [@trigger-action](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#event-trigger-action) event fires each time an action in the menu is clicked. This event
29
+ * can be used to execute custom code such as setting the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) to a specific date or copying the
31
30
  * timeExtent to the browser's clipboard.
32
31
  *
33
32
  * [![widgets-timeSlider-actions](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/timeslider/widgets-timeslider-actions.png)](https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-timeslider-offset)
@@ -91,10 +90,9 @@ export abstract class ArcgisTimeSlider extends LitElement {
91
90
  */
92
91
  accessor autoDestroyDisabled: boolean;
93
92
  /**
94
- * When `true`, sets the component to a disabled state so the user cannot interact with it.
93
+ * When true, the component is visually withdrawn and cannot receive user interaction.
95
94
  *
96
95
  * @default false
97
- * @since 4.16
98
96
  * @example
99
97
  * // Create a timeslider widget that is initially disabled.
100
98
  * const timeSlider = new TimeSlider({
@@ -190,13 +188,13 @@ export abstract class ArcgisTimeSlider extends LitElement {
190
188
  *
191
189
  * Possible Values | Description | Example |
192
190
  * ----------------------|-------------- | ------- |
193
- * instant | The slider will show temporal data that falls on a single instance in time. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#timeExtent) property's `start` and `end` dates to same date: `{start: sameDate, end: sameDate}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/timeslider/mode-instance.png"> |
194
- * time-window | The slider will show temporal data that falls within a given time range. This is the default. Set [timeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#timeExtent) property's `start` and `date` properties to desired dates. | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/timeslider/mode-time-window.png"> |
195
- * cumulative-from-start | Similar to `time-window` with the start time is always pinned to the start of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#timeExtent) property's `start` date to `null` and set `end` date to a desired date: `{start: null, end: date}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/timeslider/mode-from-start.png"> |
196
- * cumulative-from-end | Also, similar to the `time-window` with the end time pinned to the end of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#timeExtent) property's `start` date to a desired date and set `end` date to `null`: `{start: date, end: null}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/timeslider/mode-from-end.png"> |
191
+ * instant | The slider will show temporal data that falls on a single instance in time. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` and `end` dates to same date: `{start: sameDate, end: sameDate}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/timeslider/mode-instance.png"> |
192
+ * time-window | The slider will show temporal data that falls within a given time range. This is the default. Set [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` and `date` properties to desired dates. | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/timeslider/mode-time-window.png"> |
193
+ * cumulative-from-start | Similar to `time-window` with the start time is always pinned to the start of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` date to `null` and set `end` date to a desired date: `{start: null, end: date}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/timeslider/mode-from-start.png"> |
194
+ * cumulative-from-end | Also, similar to the `time-window` with the end time pinned to the end of the slider. Set the [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property's `start` date to a desired date and set `end` date to `null`: `{start: date, end: null}` | <img alt="mode-instance" src="https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/timeslider/mode-from-end.png"> |
197
195
  *
198
196
  * @default "time-window"
199
- * @see [timeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#timeExtent)
197
+ * @see [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent)
200
198
  * @example
201
199
  * // Create a single thumbed time slider that includes all historic content.
202
200
  * const timeSlider = new TimeSlider({
@@ -219,7 +217,7 @@ export abstract class ArcgisTimeSlider extends LitElement {
219
217
  *
220
218
  * > [!WARNING]
221
219
  * >
222
- * > When a [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) is associated with a TimeSlider and the TimeSlider is playing, the playback will pause before advancing if the View is still updating.
220
+ * > When a [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/) is associated with a TimeSlider and the TimeSlider is playing, the playback will pause before advancing if the View is still updating.
223
221
  * > For example, if the `playRate` is set to 1,000 (one second) and the `View` takes 1.5 seconds to render then the TimeSlider thumb(s) will advance every
224
222
  * > 1.5 seconds rather than every second.
225
223
  *
@@ -269,8 +267,8 @@ export abstract class ArcgisTimeSlider extends LitElement {
269
267
  * ```
270
268
  *
271
269
  * To define regularly spaced stops, parse an object with `interval` and `timeExtent` properties
272
- * with types [TimeInterval](https://developers.arcgis.com/javascript/latest/api-reference/esri-time-TimeInterval.html) and [TimeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-time-TimeExtent.html) respectively.
273
- * The [timeExtent](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#timeExtent) property is optional and used to confine stops to a certain date range.
270
+ * with types [TimeInterval](https://developers.arcgis.com/javascript/latest/references/core/time/TimeInterval/) and [TimeExtent](https://developers.arcgis.com/javascript/latest/references/core/time/TimeExtent/) respectively.
271
+ * The [timeExtent](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#timeExtent) property is optional and used to confine stops to a certain date range.
274
272
  * This property is useful to commence stops on a specific day of the week or month.
275
273
  * If a stop definition by interval results in excess of 10,000 stops, then the view model
276
274
  * will default to ten evenly spaced stops.
@@ -333,7 +331,7 @@ export abstract class ArcgisTimeSlider extends LitElement {
333
331
  accessor stops: Stops | null | undefined;
334
332
  /**
335
333
  * When set, overrides the default TimeSlider ticks labelling system.
336
- * Please refer to [TickConfig](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider-types.html#TickConfig) for detailed documentation
334
+ * Please refer to [TickConfig](https://developers.arcgis.com/javascript/latest/references/core/widgets/Slider/types/#TickConfig) for detailed documentation
337
335
  * on how to configure tick placement, style, and behavior.
338
336
  *
339
337
  * @since 4.16
@@ -380,7 +378,7 @@ export abstract class ArcgisTimeSlider extends LitElement {
380
378
  /**
381
379
  * The current time extent of the time slider. This property can be watched for
382
380
  * updates and used to update the time extent property in queries and/or the layer filters and effects.
383
- * The following table shows the `timeExtent` values returned for each [mode](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html#mode).
381
+ * The following table shows the `timeExtent` values returned for each [mode](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/#mode).
384
382
  *
385
383
  * | Mode | The timeExtent value |
386
384
  * | ------- | -------------------- |
@@ -435,7 +433,7 @@ export abstract class ArcgisTimeSlider extends LitElement {
435
433
  accessor timeVisible: boolean;
436
434
  /**
437
435
  * Dates and times displayed in the component will be displayed in this time zone. By default this time zone is
438
- * inherited from [MapView#timeZone](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#timeZone). When a MapView is not associated with the component
436
+ * inherited from [MapView#timeZone](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#timeZone). When a MapView is not associated with the component
439
437
  * then the property will fallback to the `system` time zone.
440
438
  *
441
439
  * **Possible Values**
@@ -443,7 +441,7 @@ export abstract class ArcgisTimeSlider extends LitElement {
443
441
  * Value | Description |
444
442
  * ----- | ----------- |
445
443
  * system | Dates and times will be displayed in the timezone of the device or browser.
446
- * unknown | Dates and time are not adjusted for any timezone. [TimeSlider](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html) will be disabled.
444
+ * unknown | Dates and time are not adjusted for any timezone. [TimeSlider](https://developers.arcgis.com/javascript/latest/references/core/widgets/TimeSlider/) will be disabled.
447
445
  * Specified IANA timezone | Dates and times will be displayed in the specified IANA time zone. See [wikipedia - List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
448
446
  *
449
447
  * @since 4.28
@@ -1,13 +1,12 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type MapView from "@arcgis/core/views/MapView";
3
3
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
- import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
5
- import type { UIPosition } from "@arcgis/core/views/ui/types";
4
+ import type { ArcgisReferenceElement } from "../types.js";
6
5
  import type { T9nMeta } from "@arcgis/lumina/controllers";
7
6
  import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
8
7
 
9
8
  /**
10
- * Time Zone Label is a component for displaying the current [time zone](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#timeZone) of a [Map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/).
9
+ * Time Zone Label is a component for displaying the current [time zone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeZone) of a [Map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/).
11
10
  * The component has two states, collapsed as a small button and expanded displaying the internationalized name of the Map's time zone.
12
11
  * Users can toggle between these states by clicking the component's expand/collapse button.
13
12
  * By default the component is collapsed.
@@ -27,7 +26,7 @@ export abstract class ArcgisTimeZoneLabel extends LitElement {
27
26
  noAdjustment: string;
28
27
  }>;
29
28
  /**
30
- * When `true`, sets the component to a disabled state so the user cannot interact with it.
29
+ * When true, the component is visually withdrawn and cannot receive user interaction.
31
30
  *
32
31
  * @default false
33
32
  */
@@ -35,8 +34,12 @@ export abstract class ArcgisTimeZoneLabel extends LitElement {
35
34
  /**
36
35
  * The direction the component will expand.
37
36
  *
38
- * By default, the component will expand inward if assigned to a View UI corner. If the component is positioned manually,
39
- * the component will expand towards the "end" which is equivalent to right in a LTR application.
37
+ * By default, the component will expand inward if assigned to a slotted corner. If the component is positioned manually,
38
+ * the component will expand towards the "end" which is equivalent to right in a left-to-right application.
39
+ *
40
+ * > [!WARNING]
41
+ * >
42
+ * > This setting may be ignored if due to the component's position within the map, there is insufficient space to expand in the requested direction.
40
43
  */
41
44
  get expandDirection(): ExpandDirection;
42
45
  set expandDirection(value: ExpandDirection | undefined);
@@ -66,11 +69,18 @@ export abstract class ArcgisTimeZoneLabel extends LitElement {
66
69
  componentLabel?: string | undefined;
67
70
  noAdjustment?: string | undefined;
68
71
  };
69
- /** @default "top-left" */
70
- accessor position: UIPosition;
72
+ /**
73
+ * 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.
74
+ *
75
+ * @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)
76
+ */
71
77
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
72
78
  /** The state of the component. */
73
79
  get state(): State;
80
+ /**
81
+ * The view associated with the component.
82
+ * > **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-time-zone-label component will be associated with a map or scene component rather than using the `view` property.
83
+ */
74
84
  accessor view: MapView | undefined;
75
85
  "@setterTypes": {
76
86
  expandDirection?: ExpandDirection | undefined;