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

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 (258) hide show
  1. package/dist/cdn/2AYGSNEO.js +2 -0
  2. package/dist/cdn/{YSDQ5VNK.js → 2EJ4XRH4.js} +1 -1
  3. package/dist/cdn/{FOMIDTAN.js → 2NOL7QIE.js} +1 -1
  4. package/dist/cdn/{24PK3ZLX.js → 37TNG76C.js} +1 -1
  5. package/dist/cdn/{GLNRLEZE.js → 3DO7PVNW.js} +1 -1
  6. package/dist/cdn/{EPQN4FJS.js → 3XMPN66U.js} +1 -1
  7. package/dist/cdn/{KBY7C6QM.js → 3YA25S2J.js} +1 -1
  8. package/dist/cdn/{5FZLG5YS.js → 42UR6TXZ.js} +1 -1
  9. package/dist/cdn/4EAZ4PIQ.js +2 -0
  10. package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
  11. package/dist/cdn/{JTEJ2NHE.js → 556MC5SF.js} +1 -1
  12. package/dist/cdn/{7L5TRJUA.js → 5ITF7Q7U.js} +1 -1
  13. package/dist/cdn/5LBJB4MP.js +2 -0
  14. package/dist/cdn/{CUWONRT5.js → 5RGFRTJS.js} +1 -1
  15. package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
  16. package/dist/cdn/{UZ7KLWGC.js → 63P5VYGP.js} +1 -1
  17. package/dist/cdn/{FTBTVD7U.js → 64OEHFBZ.js} +1 -1
  18. package/dist/cdn/{2PAAPTW5.js → 6CGPJGIB.js} +1 -1
  19. package/dist/cdn/{AN2ZNLDK.js → 6F6VOBIA.js} +1 -1
  20. package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
  21. package/dist/cdn/{I6ZXIPND.js → 7JQZBAFA.js} +1 -1
  22. package/dist/cdn/{PESPV6VP.js → 7YLXQNEC.js} +1 -1
  23. package/dist/cdn/A2JO7DWO.js +2 -0
  24. package/dist/cdn/{D7DDJ2QZ.js → A44ZCOCX.js} +2 -2
  25. package/dist/cdn/A4UJ53JS.js +2 -0
  26. package/dist/cdn/{S52VES4H.js → A7JPWYKR.js} +1 -1
  27. package/dist/cdn/{GS43BIES.js → AEYZDEAH.js} +1 -1
  28. package/dist/cdn/{CMWIMRU2.js → AJHRJ5EA.js} +1 -1
  29. package/dist/cdn/{INS77MCT.js → AP2IFWYH.js} +1 -1
  30. package/dist/cdn/{OAFAR3NG.js → BUOIT34V.js} +1 -1
  31. package/dist/cdn/{BNJXI23I.js → C24SOTLL.js} +1 -1
  32. package/dist/cdn/{LSF66JVY.js → C4DJABUI.js} +1 -1
  33. package/dist/cdn/{SPACZLHW.js → C7YN3AZA.js} +1 -1
  34. package/dist/cdn/{CXOYV56L.js → CC53K2CR.js} +1 -1
  35. package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
  36. package/dist/cdn/{7DTWNSIR.js → CTSWZC3O.js} +1 -1
  37. package/dist/cdn/{BX7N3KYH.js → CVBNRF34.js} +1 -1
  38. package/dist/cdn/CWJ5OA5A.js +2 -0
  39. package/dist/cdn/D27YXH3W.js +2 -0
  40. package/dist/cdn/D73JFV2R.js +2 -0
  41. package/dist/cdn/{Y6KRMZWJ.js → DINM6JDS.js} +1 -1
  42. package/dist/cdn/{CEJGZMGB.js → DTVW3MYT.js} +1 -1
  43. package/dist/cdn/{TTR6UUEQ.js → EENOVGOS.js} +1 -1
  44. package/dist/cdn/EGN3YTD6.js +2 -0
  45. package/dist/cdn/{YZZJQMH4.js → EM7YCHTU.js} +1 -1
  46. package/dist/cdn/{P4PTEXIJ.js → EQCNO3G4.js} +1 -1
  47. package/dist/cdn/{7ZCMIKP6.js → EX22SAPL.js} +1 -1
  48. package/dist/cdn/{SSZMOOL6.js → F4HWT5H3.js} +1 -1
  49. package/dist/cdn/{ERTOHEVB.js → FB6YQKF2.js} +1 -1
  50. package/dist/cdn/{ACWGHEWO.js → FYTMMPPG.js} +1 -1
  51. package/dist/cdn/{POEZXWTT.js → GNGZFV2C.js} +1 -1
  52. package/dist/cdn/{LCUXPDUW.js → GY5226CJ.js} +1 -1
  53. package/dist/cdn/{QX27DK37.js → HB3W3CO5.js} +1 -1
  54. package/dist/cdn/{3A7HYDQP.js → HE6QV4XG.js} +1 -1
  55. package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
  56. package/dist/cdn/{4URF7CKU.js → HH6BDERO.js} +1 -1
  57. package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
  58. package/dist/cdn/{FQJMTGXO.js → HO4JUZ6N.js} +1 -1
  59. package/dist/cdn/{JLIZWDU5.js → I5QTPPFJ.js} +1 -1
  60. package/dist/cdn/{VGTTCLO3.js → IDDSHZVB.js} +1 -1
  61. package/dist/cdn/{7CBBWB77.js → J55YUTPM.js} +1 -1
  62. package/dist/cdn/JRPIJ24K.js +2 -0
  63. package/dist/cdn/{6XJFSJGE.js → K27JJT2P.js} +1 -1
  64. package/dist/cdn/{LVSNYSCO.js → KAXJKSFB.js} +1 -1
  65. package/dist/cdn/{RXFUZXUX.js → KHM3S4Q6.js} +1 -1
  66. package/dist/cdn/{PFYZ7JRB.js → KNAUIRT6.js} +1 -1
  67. package/dist/cdn/{IY2G6DLG.js → KY2UAUNI.js} +1 -1
  68. package/dist/cdn/{JMHCIJG4.js → LG4PZVHS.js} +1 -1
  69. package/dist/cdn/{XWAT4IT2.js → LHEP4QSS.js} +1 -1
  70. package/dist/cdn/LIEE5WCD.js +2 -0
  71. package/dist/cdn/{KQNQ6ITI.js → LZQCXN6A.js} +1 -1
  72. package/dist/cdn/{JCV26SSG.js → M4L5EDRB.js} +1 -1
  73. package/dist/cdn/{2K45WUVH.js → M65HMJZA.js} +1 -1
  74. package/dist/cdn/{U5HXLA7K.js → MAGJWMWM.js} +1 -1
  75. package/dist/cdn/{XTFD35UI.js → MDCB7SO4.js} +1 -1
  76. package/dist/cdn/{KLBNUE5Q.js → N3BD4UQD.js} +1 -1
  77. package/dist/cdn/{7357JBTM.js → NGKNECON.js} +1 -1
  78. package/dist/cdn/NHMOFXEE.js +2 -0
  79. package/dist/cdn/{YR3SQWM6.js → NRBM3YR6.js} +1 -1
  80. package/dist/cdn/{77ERVO5S.js → NRV7VFJ7.js} +1 -1
  81. package/dist/cdn/{YBJEMNAU.js → NSGDR7V5.js} +1 -1
  82. package/dist/cdn/{CQ2L75M3.js → NZAO2BVV.js} +1 -1
  83. package/dist/cdn/{OJNMPOYD.js → OCEXQCFT.js} +1 -1
  84. package/dist/cdn/{FANKLSAT.js → OD5DHUHZ.js} +1 -1
  85. package/dist/cdn/{L6LZYPWJ.js → ORH27QWU.js} +1 -1
  86. package/dist/cdn/{5PJEJPFY.js → OSPWEZQJ.js} +1 -1
  87. package/dist/cdn/{BB5CXHDQ.js → PISCYSA5.js} +1 -1
  88. package/dist/cdn/{IIPYTUR3.js → PMQLTMQ4.js} +1 -1
  89. package/dist/cdn/PZC5TBXA.js +2 -0
  90. package/dist/cdn/{GHA2ANJZ.js → QJOQNSYB.js} +1 -1
  91. package/dist/cdn/{LZ3PMD7Z.js → QVMTO5BV.js} +1 -1
  92. package/dist/cdn/{L7NIKN24.js → R4V6HGJH.js} +1 -1
  93. package/dist/cdn/R7BJHEHH.js +2 -0
  94. package/dist/cdn/{4YQLL44L.js → RP5SO6BA.js} +1 -1
  95. package/dist/cdn/{JC4DYMKT.js → RRXH4CSV.js} +1 -1
  96. package/dist/cdn/{7S4WE6H3.js → RUB6EORR.js} +1 -1
  97. package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
  98. package/dist/cdn/{SFM3XWUA.js → S6G6XXTM.js} +1 -1
  99. package/dist/cdn/{HVI2FE73.js → SZ5MNKOW.js} +1 -1
  100. package/dist/cdn/{RISVXUI4.js → T2ZF4XIZ.js} +1 -1
  101. package/dist/cdn/{U5FUT6DD.js → TP6I2LJO.js} +1 -1
  102. package/dist/cdn/{4IC3NWKK.js → TPOLS4YM.js} +1 -1
  103. package/dist/cdn/{5V7HEV2R.js → TUW6NLYY.js} +1 -1
  104. package/dist/cdn/{KG2M6IQS.js → U4QW6VHU.js} +1 -1
  105. package/dist/cdn/{SZNBYDQI.js → UAO23YMW.js} +1 -1
  106. package/dist/cdn/{LY735GHL.js → UHFSSX2G.js} +1 -1
  107. package/dist/cdn/{33U3K3P2.js → UKKUFJLL.js} +1 -1
  108. package/dist/cdn/{4PWBNKOA.js → UKNKW6MH.js} +1 -1
  109. package/dist/cdn/{DUT3D6UH.js → UM2FDZJJ.js} +1 -1
  110. package/dist/cdn/{DLUXWET4.js → UNX4CKAF.js} +1 -1
  111. package/dist/cdn/{5LD4AU4Q.js → VNOZYJLP.js} +1 -1
  112. package/dist/cdn/{OMKVQOUI.js → VU3SJK5Z.js} +1 -1
  113. package/dist/cdn/{I2WEEE2E.js → WGWNMYUH.js} +1 -1
  114. package/dist/cdn/{LLNNQ2ED.js → WOV3LB6K.js} +1 -1
  115. package/dist/cdn/{ZIX3WE2Q.js → WTMMFDEH.js} +1 -1
  116. package/dist/cdn/{E4YMNWRJ.js → WW6L6XX4.js} +1 -1
  117. package/dist/cdn/{BAPY2HFP.js → XMSGTOUV.js} +1 -1
  118. package/dist/cdn/XMZSFKKO.js +2 -0
  119. package/dist/cdn/{LMV6L2OF.js → XRP25NGI.js} +1 -1
  120. package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
  121. package/dist/cdn/{RWJKQEMK.js → XXZ3CKTX.js} +1 -1
  122. package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
  123. package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
  124. package/dist/cdn/{SKGRUNAJ.js → YC6JWXOW.js} +1 -1
  125. package/dist/cdn/{GUAI5SHN.js → YFUI4F5L.js} +1 -1
  126. package/dist/cdn/{N76CLHYJ.js → ZD25GJYW.js} +1 -1
  127. package/dist/cdn/{67IVXIOR.js → ZD5FJHIQ.js} +1 -1
  128. package/dist/cdn/{UDPUTCKL.js → ZM2YXU7Y.js} +1 -1
  129. package/dist/cdn/{2BJHF4JK.js → ZURN5EZI.js} +1 -1
  130. package/dist/cdn/{KNJ7PME5.js → ZVTPU2MO.js} +1 -1
  131. package/dist/cdn/index.js +1 -1
  132. package/dist/chunks/useArcgisViewReadyError.js +7 -7
  133. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -5
  134. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +7 -7
  135. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
  136. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
  137. package/dist/components/arcgis-building-explorer/customElement.d.ts +4 -4
  138. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
  139. package/dist/components/arcgis-daylight/customElement.d.ts +13 -13
  140. package/dist/components/arcgis-daylight/customElement.js +2 -1
  141. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +7 -7
  142. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
  143. package/dist/components/arcgis-elevation-profile/customElement.d.ts +8 -8
  144. package/dist/components/arcgis-feature/customElement.d.ts +7 -7
  145. package/dist/components/arcgis-feature-fields/customElement.js +7 -7
  146. package/dist/components/arcgis-feature-form/customElement.d.ts +2 -2
  147. package/dist/components/arcgis-features/customElement.d.ts +41 -43
  148. package/dist/components/arcgis-features/customElement.js +18 -12
  149. package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -3
  150. package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
  151. package/dist/components/arcgis-legend/customElement.d.ts +1 -1
  152. package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -5
  153. package/dist/components/arcgis-link-chart/customElement.d.ts +6 -6
  154. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
  155. package/dist/components/arcgis-locate/customElement.d.ts +1 -1
  156. package/dist/components/arcgis-map/customElement.d.ts +42 -42
  157. package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
  158. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +1 -1
  159. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
  160. package/dist/components/arcgis-popup/customElement.d.ts +50 -52
  161. package/dist/components/arcgis-popup/customElement.js +50 -55
  162. package/dist/components/arcgis-popup/types.d.ts +1 -1
  163. package/dist/components/arcgis-print/customElement.d.ts +6 -6
  164. package/dist/components/arcgis-scene/customElement.d.ts +33 -33
  165. package/dist/components/arcgis-search/customElement.d.ts +11 -11
  166. package/dist/components/arcgis-shadow-cast/customElement.d.ts +26 -26
  167. package/dist/components/arcgis-slice/customElement.d.ts +12 -12
  168. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +66 -85
  169. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +33 -38
  170. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +32 -34
  171. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +63 -84
  172. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +66 -81
  173. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +6 -6
  174. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +58 -75
  175. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +61 -76
  176. package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
  177. package/dist/components/arcgis-time-zone-label/customElement.d.ts +6 -29
  178. package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
  179. package/dist/components/arcgis-time-zone-label/index.js +1 -1
  180. package/dist/components/arcgis-track/customElement.d.ts +1 -1
  181. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +6 -9
  182. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
  183. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +28 -26
  184. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -3
  185. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -1
  186. package/dist/components/arcgis-utility-network-trace-results/customElement.js +44 -44
  187. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +17 -18
  188. package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
  189. package/dist/components/arcgis-volume-measurement/customElement.d.ts +14 -14
  190. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  191. package/dist/components/arcgis-weather/customElement.d.ts +5 -5
  192. package/dist/docs/api.json +1 -1
  193. package/dist/docs/docs.json +1 -1
  194. package/dist/docs/vscode.html-custom-data.json +1 -1
  195. package/dist/docs/web-types.json +1 -1
  196. package/dist/loader.js +1 -1
  197. package/dist/types/lumina.d.ts +1 -2
  198. package/dist/types/preact.d.ts +1 -2
  199. package/dist/types/react.d.ts +1 -2
  200. package/dist/types/stencil.d.ts +1 -2
  201. package/package.json +4 -4
  202. package/dist/cdn/23UYZVTW.js +0 -2
  203. package/dist/cdn/AIRDJCFV.js +0 -2
  204. package/dist/cdn/CKBTMA4D.js +0 -2
  205. package/dist/cdn/CKNH5OMJ.js +0 -2
  206. package/dist/cdn/CZE43OAC.js +0 -2
  207. package/dist/cdn/D6YUW72R.js +0 -2
  208. package/dist/cdn/FEQLUSM2.js +0 -2
  209. package/dist/cdn/G4A4VLTL.js +0 -2
  210. package/dist/cdn/GQN4ALIE.js +0 -2
  211. package/dist/cdn/I3PBMKT5.js +0 -2
  212. package/dist/cdn/IPNIJANM.js +0 -2
  213. package/dist/cdn/LVMJAMRO.js +0 -2
  214. package/dist/cdn/MW73TE2N.js +0 -2
  215. package/dist/cdn/OKZSKR6W.js +0 -2
  216. package/dist/cdn/VPJCFCJU.js +0 -2
  217. /package/dist/cdn/{UQ7E33T4.js → 2SQUOXWG.js} +0 -0
  218. /package/dist/cdn/{KAJ3U6DP.js → 3GVHNIXM.js} +0 -0
  219. /package/dist/cdn/{E2KWMQKQ.js → 3NF4UU3S.js} +0 -0
  220. /package/dist/cdn/{PHF2XKSK.js → 43UMYTXQ.js} +0 -0
  221. /package/dist/cdn/{CHDRBZNL.js → 47T624VO.js} +0 -0
  222. /package/dist/cdn/{X5H6ZUFX.js → 4NBXFFTY.js} +0 -0
  223. /package/dist/cdn/{DDI363AI.js → 5IPPKC3M.js} +0 -0
  224. /package/dist/cdn/{LCXF3AKY.js → 6JUTQDKC.js} +0 -0
  225. /package/dist/cdn/{YMU5IPMP.js → 6QPD32WT.js} +0 -0
  226. /package/dist/cdn/{M6TJN2I5.js → 7LEGS7EX.js} +0 -0
  227. /package/dist/cdn/{ORP3ZND2.js → AQG5RIV3.js} +0 -0
  228. /package/dist/cdn/{W5XM52J7.js → B3I4OKDQ.js} +0 -0
  229. /package/dist/cdn/{RCD5UKTW.js → BFHBS4MR.js} +0 -0
  230. /package/dist/cdn/{CRR65TKV.js → D3X7R3GD.js} +0 -0
  231. /package/dist/cdn/{7FMJZURP.js → DYC6OHKG.js} +0 -0
  232. /package/dist/cdn/{5OB4E5PR.js → DZG4EA6U.js} +0 -0
  233. /package/dist/cdn/{W5B5LTGN.js → ELF2SE5K.js} +0 -0
  234. /package/dist/cdn/{UVZZX6YP.js → FHSXSYA6.js} +0 -0
  235. /package/dist/cdn/{BQIH5T3S.js → FRWY77LH.js} +0 -0
  236. /package/dist/cdn/{ZFFBK3VO.js → FYVM32GJ.js} +0 -0
  237. /package/dist/cdn/{B7IYR676.js → GVW4OIR5.js} +0 -0
  238. /package/dist/cdn/{FPD3STSJ.js → H6LWU2FC.js} +0 -0
  239. /package/dist/cdn/{DEOCASGG.js → HEBLEJCT.js} +0 -0
  240. /package/dist/cdn/{OSRAPPNR.js → IDITPQDC.js} +0 -0
  241. /package/dist/cdn/{DWZIXPJ4.js → J3F5FPMC.js} +0 -0
  242. /package/dist/cdn/{YP3JKXC4.js → JMZA4GQB.js} +0 -0
  243. /package/dist/cdn/{JDPQMOEW.js → JPDYVHUZ.js} +0 -0
  244. /package/dist/cdn/{PUOWH3YL.js → KNFAPO3C.js} +0 -0
  245. /package/dist/cdn/{W2Q7NWBG.js → LEC4CIVO.js} +0 -0
  246. /package/dist/cdn/{JMDNJPNT.js → NCTWDKYG.js} +0 -0
  247. /package/dist/cdn/{RDW2NJPR.js → PDCUZMSB.js} +0 -0
  248. /package/dist/cdn/{76ESM6B2.js → RJTABGPK.js} +0 -0
  249. /package/dist/cdn/{2ZL4CF6P.js → SPXZXKMH.js} +0 -0
  250. /package/dist/cdn/{HZTWWEVM.js → TRPYDMNK.js} +0 -0
  251. /package/dist/cdn/{YHVFARHN.js → UYDFCELQ.js} +0 -0
  252. /package/dist/cdn/{55VMVXRK.js → V2D4QTRR.js} +0 -0
  253. /package/dist/cdn/{QAXR4LT6.js → WBZEEY5N.js} +0 -0
  254. /package/dist/cdn/{YDJGMRV3.js → WG5RPCHL.js} +0 -0
  255. /package/dist/cdn/{ZLIZCBGT.js → WL4J6REN.js} +0 -0
  256. /package/dist/cdn/{GB42YXHR.js → XJQRAKJ6.js} +0 -0
  257. /package/dist/cdn/{L4WRYSKZ.js → YGJ7NPDT.js} +0 -0
  258. /package/dist/cdn/{V3M37NHT.js → ZJ36DBTH.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type OpacityStop from "@arcgis/core/renderers/visualVariables/support/OpacityStop.js";
3
3
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
- import type { VisualVariableResult } from "@arcgis/core/smartMapping/renderers/opacity";
5
- import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types";
4
+ import type { VisualVariableResult } from "@arcgis/core/smartMapping/renderers/opacity.js";
5
+ import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types.js";
6
6
  import type { ArcgisReferenceElement, IconName } from "../types.js";
7
- import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types";
7
+ import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types.js";
8
8
  import type { HistogramConfig, ZoomOptions } from "@arcgis/core/widgets/smartMapping/types.js";
9
9
  import type { LabelFormatFunction, InputParseFunction } from "@arcgis/core/widgets/types.js";
10
10
  import type { OpacitySliderStyle } from "@arcgis/core/widgets/smartMapping/OpacitySlider.js";
@@ -15,7 +15,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
15
15
  * >
16
16
  * > This is a **legacy component**. It relies on an underlying widget as part of our migration to native web components.
17
17
  * >
18
- * > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, new development should use the native component.
18
+ * > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, development should use the native component.
19
19
  *
20
20
  * The Opacity Slider component is intended for authoring and exploring data-driven visualizations in any
21
21
  * layer that can be rendered with an [OpacityVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/OpacityVariable/).
@@ -25,7 +25,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
25
25
  *
26
26
  * ![Opacity Slider with annotations](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/opacityslider-labels.png "Opacity Slider with annotations")
27
27
  *
28
- * The [updateFromVisualVariableResult()](#updateFromVisualVariableResult()) method can be used to intelligently populate slider properties including [max](#max), [min](#min),
28
+ * The [updateFromVisualVariableResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#updateFromVisualVariableResult) method can be used to intelligently populate slider properties including [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#max), [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#min),
29
29
  * the [opacity visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/OpacityVariable/) configuration,
30
30
  * and the slider's histogram after the renderer has been created from the result of the
31
31
  * [createVisualVariable()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/opacity/#createVisualVariable) method.
@@ -33,7 +33,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
33
33
  * ```js
34
34
  * const opacityVariableCreator = await import("@arcgis/core/smartMapping/renderers/opacity.js");
35
35
  * const viewElement = document.querySelector("arcgis-map")!;
36
- * const opacitySlider = document.querySelector("arcgis-slider-opacity")!;
36
+ * const opacitySlider = document.querySelector("arcgis-slider-opacity-legacy")!;
37
37
  *
38
38
  * const featureLayer = new FeatureLayer({
39
39
  * url: "https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/USA_Census_2020_DHC_Total_Population/FeatureServer/2",
@@ -90,7 +90,6 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
90
90
  * ```
91
91
  *
92
92
  * @since 5.0
93
- * @see [OpacitySliderViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/OpacitySlider/OpacitySliderViewModel/)
94
93
  * @see [opacityVariableCreator](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/opacity/)
95
94
  */
96
95
  export abstract class ArcgisSliderOpacityLegacy extends LitElement {
@@ -105,11 +104,9 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
105
104
  */
106
105
  accessor autoDestroyDisabled: boolean;
107
106
  /**
108
- * The [Histogram](https://developers.arcgis.com/javascript/latest/references/core/widgets/Histogram/) associated with the data represented on the slider. The bins are typically
107
+ * The histogram associated with the data represented on the slider. The bins are typically
109
108
  * generated using the [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/) statistics function.
110
109
  *
111
- * @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
112
- * @see [Histogram](https://developers.arcgis.com/javascript/latest/references/core/widgets/Histogram/)
113
110
  * @example
114
111
  * ```js
115
112
  * const histogramResult = await histogram({
@@ -118,10 +115,11 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
118
115
  * numBins: 30,
119
116
  * });
120
117
  *
121
- * opacitySlider.histogramConfig = {
122
- * bins: histogramResult.bins
123
- * };
124
- * ```
118
+ * slider.histogramConfig = {
119
+ * bins: histogramResult.bins
120
+ * };
121
+ * ```
122
+ * @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
125
123
  */
126
124
  accessor histogramConfig: HistogramConfig | null | undefined;
127
125
  /**
@@ -132,7 +130,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
132
130
  */
133
131
  accessor icon: IconName;
134
132
  /**
135
- * A function used to format user inputs. As opposed to [labelFormatFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderBase/#labelFormatFunction), which formats
133
+ * A function used to format user inputs. As opposed to [labelFormatFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#labelFormatFunction), which formats
136
134
  * thumb labels, the `inputFormatFunction` formats thumb values in the input element when the user begins
137
135
  * to edit them.
138
136
  *
@@ -147,18 +145,19 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
147
145
  * ![Slider with input formatter](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-input-formatter.png "Slider with input formatter")
148
146
  *
149
147
  * However, if an `inputFormatFunction` is specified, you must also write a corresponding
150
- * [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderBase/#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
151
- * you specify an `inputFormatFunction`, you should set the [labelFormatFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderBase/#labelFormatFunction) to the same value
148
+ * [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
149
+ * you specify an `inputFormatFunction`, you should set the [labelFormatFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#labelFormatFunction) to the same value
152
150
  * for consistency between labels and inputs.
153
151
  *
154
152
  * This property overrides the default input formatter, which formats by calling `toString()` on the input value.
153
+ *
155
154
  *
156
- * @see [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderBase/#inputParseFunction)
155
+ * @see [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#inputParseFunction)
157
156
  * @example
158
157
  * ```js
159
158
  * // Formats the slider input to abbreviated numbers with units
160
159
  * // e.g. a thumb at position 1500 will render with an input label of 1.5k
161
- * opacitySlider.inputFormatFunction = (value: number): string => {
160
+ * slider.inputFormatFunction = (value: number): string => {
162
161
  * if (value >= 1000000) {
163
162
  * return (value / 1000000).toPrecision(3) + "m";
164
163
  * }
@@ -170,24 +169,24 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
170
169
  * }
171
170
  * return value.toFixed(0);
172
171
  * };
173
- * ```
172
+ * ```
174
173
  */
175
174
  accessor inputFormatFunction: LabelFormatFunction | null | undefined;
176
175
  /**
177
- * Function used to parse slider inputs formatted by the [inputFormatFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderBase/#inputFormatFunction).
176
+ * Function used to parse slider inputs formatted by the [inputFormatFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#inputFormatFunction).
178
177
  * This property must be set if an `inputFormatFunction` is set. Otherwise the slider values will
179
178
  * likely not update to their expected positions.
180
179
  *
181
180
  * Overrides the default input parses, which is a parsed floating point number.
182
181
  *
183
- * @see [inputFormatFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderBase/#inputFormatFunction)
182
+ * @see [inputFormatFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#inputFormatFunction)
184
183
  * @example
185
184
  * ```js
186
185
  * // Parses the slider input (a string value) to a number value understandable to the slider
187
186
  * // This assumes the slider was already configured with an inputFormatFunction
188
187
  * // For example, if the input is 1.5k this function will parse
189
188
  * // it to a value of 1500
190
- * opacitySlider.inputParseFunction = (value: string): number => {
189
+ * colorSlider.inputParseFunction = (value: string): number => {
191
190
  * const charLength = value.length;
192
191
  * const valuePrefix = parseFloat(value.substring(0, charLength - 1));
193
192
  * const finalChar = value.substring(charLength - 1);
@@ -203,27 +202,23 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
203
202
  * }
204
203
  * return parseFloat(value);
205
204
  * };
206
- * ```
205
+ * ```
207
206
  */
208
207
  accessor inputParseFunction: InputParseFunction | null | undefined;
209
208
  /**
210
- * A modified version of
211
- * [Slider#labelFormatFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/Slider/#labelFormatFunction),
212
- * which is a custom function used to format labels on the thumbs, min, max, and average
213
- * values. Overrides the default label formatter.
214
- * This function also supports date formatting.
209
+ * A function used to format labels on the thumbs, min, max, and average values. Overrides the default label formatter. This function also supports date formatting.
215
210
  *
216
211
  * @example
217
212
  * ```js
218
213
  * // For thumb values, rounds each label to whole numbers
219
- * opacitySlider.labelFormatFunction = (value: number, type?: SliderFormatType): string => {
214
+ * slider.labelFormatFunction = (value: number, type?: SliderFormatType): string => {
220
215
  * return (type === "value") ? value.toFixed(0) : value.toString();
221
216
  * };
222
- * ```
217
+ * ```
223
218
  */
224
219
  accessor labelFormatFunction: LabelFormatFunction | null | undefined;
225
220
  /**
226
- * The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromVisualVariableResult()](#updateFromVisualVariableResult) method,
221
+ * The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromVisualVariableResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#updateFromVisualVariableResult) method,
227
222
  * the user may change this property by selecting the label containing the max value on the slider UI. It is the responsibility of the app developer
228
223
  * to set up event listeners that update the opacity variable of the appropriate renderer.
229
224
  *
@@ -234,7 +229,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
234
229
  */
235
230
  accessor max: number;
236
231
  /**
237
- * The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromVisualVariableResult()](#updateFromVisualVariableResult) method,
232
+ * The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromVisualVariableResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#updateFromVisualVariableResult) method,
238
233
  * the user may change this property by selecting the label containing the min value on the slider UI. It is the responsibility of the app developer
239
234
  * to set up event listeners that update the opacity variable of the appropriate renderer.
240
235
  *
@@ -248,13 +243,13 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
248
243
  * Defines how slider thumb values should be rounded. This number indicates the number
249
244
  * of decimal places slider thumb _values_ should round to when they have been moved.
250
245
  *
251
- * Keep in mind this property rounds thumb [values](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderViewModel/#values) and shouldn't be used exclusively
252
- * for formatting purposes.
246
+ * Keep in mind this property rounds thumb values and shouldn't be used exclusively for formatting purposes.
253
247
  *
254
248
  * @default 4
255
249
  * @example
256
250
  * ```js
257
- * opacitySlider.precision = 7;
251
+ * // Rounds slider thumb values to 7 decimal places
252
+ * slider.precision = 7;
258
253
  * ```
259
254
  */
260
255
  accessor precision: number;
@@ -268,7 +263,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
268
263
  * Defines the color to be used within the slider's track. The renderer assigned to the layer can be used to
269
264
  * match the `trackFillColor` to the current layer symbology.
270
265
  *
271
- * @see [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/)
266
+ * @see [Color](https://developers.arcgis.com/javascript/latest/references/core/esri-Color.html)
272
267
  * @example
273
268
  * ```js
274
269
  * opacitySlider.sliderStyle = {
@@ -300,67 +295,55 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
300
295
  */
301
296
  accessor stops: Array<OpacityStop>;
302
297
  /**
303
- * Zooms the slider track to the bounds provided in this property.
304
- * When min and/or max zoom values are provided, the absolute
305
- * [min](#min) and [max](#max) slider values are preserved and
306
- * rendered at their typical positions on the slider. However, the
307
- * slider track itself is zoomed so that thumbs cannot be moved above or
308
- * below the provided min and max zoomed values.
298
+ * Zooms the slider track to the bounds provided in this property. When min and/or max zoom values are provided, the absolute [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#min) and
299
+ * [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#max) slider values are preserved and rendered at their typical positions on the slider. However, the
300
+ * slider track itself is zoomed so that thumbs cannot be moved above or below the provided min and max zoomed values.
309
301
  *
310
- * When a slider is in a zoomed state, the zoomed
311
- * ends of the track will appear jagged. In the image below, notice how the
312
- * top thumb cannot be moved past the zoom max of `31` even though the slider
313
- * max is `200`.
302
+ * When a slider is in a zoomed state, the zoomed ends of the track will appear jagged. In the image below, notice how the
303
+ * top thumb cannot be moved past the zoom max of `31` even though the slider max is `200`.
314
304
  *
315
- * ![slider-zoom](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-zoomed.png "Zoomed slider")
305
+ * ![slider-zoom](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-zoomed.png "Zoomed slider")
316
306
  *
317
- * To exit a zoomed state, the user can click the
318
- * jagged line or the developer can set the `zoomOptions` to `null`. It
319
- * is up to the developer to provide a UI option for end users to
320
- * enable zooming on the slider.
307
+ * To exit a zoomed state, the user can click the jagged line or the developer can set the `zoomOptions` to `null`. It
308
+ * is up to the developer to provide a UI option for end users to enable zooming on the slider.
321
309
  *
322
- * Setting the `zoomOptions` is useful when the slider is tied to heavily skewed
323
- * datasets where the histogram renders only one or two bars because of outliers.
310
+ * Setting the `zoomOptions` is useful when the slider is tied to heavily skewed datasets where the histogram renders only one or two bars because of outliers.
324
311
  *
325
- * ![slider-not-zoomed](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-skewed-not-zoomed.png "Unzoomed slider")
312
+ * ![slider-not-zoomed](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-skewed-not-zoomed.png "Unzoomed slider")
326
313
  *
327
- * You can remove the influence of outliers by zooming the slider and regenerating
328
- * a histogram based on the zoomed min and max. This will provide a better view of the data
329
- * and make the slider more useful to the end user.
314
+ * You can remove the influence of outliers by zooming the slider and regenerating a histogram based on the zoomed min and max. This will provide a better view of the data
315
+ * and make the slider more useful to the end user.
330
316
  *
331
317
  * @example
332
318
  * ```js
333
- * // zooms the slider so thumbs can only be moved
334
- * // to positions between the values of 10 and 25 while
335
- * // maintaining the slider's absolute minimum and maximum values
336
- * opacitySlider.zoomOptions = {
319
+ * // zooms the slider so thumbs can only be moved to positions between
320
+ * // values of 10 and 25 while maintaining the slider's absolute min and max values
321
+ * slider.zoomOptions = {
337
322
  * min: 10,
338
323
  * max: 25
339
324
  * };
340
- * ```
325
+ * ```
341
326
  * @example
342
327
  * ```js
343
328
  * // disables zooming on the slider
344
- * opacitySlider.zoomOptions = null;
345
- * ```
329
+ * slider.zoomOptions = null;
330
+ * ```
346
331
  * @example
347
332
  * ```js
348
- * // zooms the slider so thumbs can only be moved
349
- * // to positions above the value of 10 while maintaining
350
- * // the slider's absolute minimum value
351
- * opacitySlider.zoomOptions = {
333
+ * // zooms the slider so thumbs can only be moved to positions above
334
+ * // value of 10 while maintaining the slider's absolute min value
335
+ * slider.zoomOptions = {
352
336
  * min: 10
353
337
  * };
354
- * ```
338
+ * ```
355
339
  * @example
356
340
  * ```js
357
- * // zooms the slider so thumbs can only be moved
358
- * // to positions below the value of 25 while maintaining
359
- * // the slider's absolute maximum value
360
- * opacitySlider.zoomOptions = {
341
+ * // zooms the slider so thumbs can only be moved to positions below
342
+ * // value of 25 while maintaining the slider's absolute max value
343
+ * slider.zoomOptions = {
361
344
  * max: 25
362
345
  * };
363
- * ```
346
+ * ```
364
347
  */
365
348
  accessor zoomOptions: ZoomOptions | null | undefined;
366
349
  /** Permanently destroy the component. */
@@ -1,11 +1,11 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type SizeVariable from "@arcgis/core/renderers/visualVariables/SizeVariable";
2
+ import type SizeVariable from "@arcgis/core/renderers/visualVariables/SizeVariable.js";
3
3
  import type SizeStop from "@arcgis/core/renderers/visualVariables/support/SizeStop.js";
4
4
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
- import type { ContinuousRendererResult } from "@arcgis/core/smartMapping/renderers/size";
6
- import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types";
5
+ import type { ContinuousRendererResult } from "@arcgis/core/smartMapping/renderers/size.js";
6
+ import type { HistogramResult } from "@arcgis/core/smartMapping/statistics/types.js";
7
7
  import type { ArcgisReferenceElement, IconName } from "../types.js";
8
- import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types";
8
+ import type { ThumbDragEvent, ThumbChangeEvent } from "@arcgis/core/widgets/Slider/types.js";
9
9
  import type { HistogramConfig, ZoomOptions } from "@arcgis/core/widgets/smartMapping/types.js";
10
10
  import type { LabelFormatFunction, InputParseFunction } from "@arcgis/core/widgets/types.js";
11
11
  import type { SizeSliderStyle } from "@arcgis/core/widgets/smartMapping/SizeSlider.js";
@@ -16,7 +16,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
16
16
  * >
17
17
  * > This is a **legacy component**. It relies on an underlying widget as part of our migration to native web components.
18
18
  * >
19
- * > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, new development should use the native component.
19
+ * > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, development should use the native component.
20
20
  *
21
21
  * The Size Slider component is intended for authoring and exploring data-driven visualizations in any
22
22
  * layer that can be rendered with a [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/).
@@ -25,15 +25,15 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
25
25
  *
26
26
  * ![Size Slider with annotations](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/sizeslider-labels.png "Size Slider with annotations")
27
27
  *
28
- * The [updateFromRendererResult()](#updateFromRendererResult) method can be used to intelligently populate slider properties including
29
- * [max](#max), [min](#min), [size visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
28
+ * The [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#updateFromRendererResult) method can be used to intelligently populate slider properties including
29
+ * [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#max), [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#min), [size visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
30
30
  * intervals, and the slider's histogram after the renderer has been created from the result of the
31
31
  * [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#createContinuousRenderer) method.
32
32
  *
33
33
  * ```js
34
34
  * const sizeRendererCreator = await import("@arcgis/core/smartMapping/renderers/size.js");
35
35
  * const viewElement = document.querySelector("arcgis-map")!;
36
- * const sizeSlider = document.querySelector("arcgis-slider-size")!;
36
+ * const sizeSlider = document.querySelector("arcgis-slider-size-legacy")!;
37
37
  *
38
38
  * const featureLayer = new FeatureLayer({
39
39
  * url: "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Major_Cities_/FeatureServer/0",
@@ -87,7 +87,6 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
87
87
  * ```
88
88
  *
89
89
  * @since 5.0
90
- * @see [SizeSliderViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SizeSlider/SizeSliderViewModel/)
91
90
  * @see [sizeRendererCreator](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/)
92
91
  */
93
92
  export abstract class ArcgisSliderSizeLegacy extends LitElement {
@@ -105,8 +104,6 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
105
104
  * The histogram associated with the data represented on the slider. The bins are typically
106
105
  * generated using the [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/) statistics function.
107
106
  *
108
- * @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
109
- * @see [Histogram](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-histogram/)
110
107
  * @example
111
108
  * ```js
112
109
  * const histogramResult = await histogram({
@@ -115,10 +112,11 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
115
112
  * numBins: 30,
116
113
  * });
117
114
  *
118
- * sizeSlider.histogramConfig = {
119
- * bins: histogramResult.bins
120
- * };
121
- * ```
115
+ * slider.histogramConfig = {
116
+ * bins: histogramResult.bins
117
+ * };
118
+ * ```
119
+ * @see [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
122
120
  */
123
121
  accessor histogramConfig: HistogramConfig | null | undefined;
124
122
  /**
@@ -129,7 +127,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
129
127
  */
130
128
  accessor icon: IconName;
131
129
  /**
132
- * A function used to format user inputs. As opposed to [labelFormatFunction](#labelFormatFunction), which formats
130
+ * A function used to format user inputs. As opposed to [labelFormatFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#labelFormatFunction), which formats
133
131
  * thumb labels, the `inputFormatFunction` formats thumb values in the input element when the user begins
134
132
  * to edit them.
135
133
  *
@@ -144,18 +142,19 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
144
142
  * ![Slider with input formatter](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-input-formatter.png "Slider with input formatter")
145
143
  *
146
144
  * However, if an `inputFormatFunction` is specified, you must also write a corresponding
147
- * [inputParseFunction](#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
148
- * you specify an `inputFormatFunction`, you should set the [labelFormatFunction](#labelFormatFunction) to the same value
145
+ * [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
146
+ * you specify an `inputFormatFunction`, you should set the [labelFormatFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#labelFormatFunction) to the same value
149
147
  * for consistency between labels and inputs.
150
148
  *
151
149
  * This property overrides the default input formatter, which formats by calling `toString()` on the input value.
150
+ *
152
151
  *
153
- * @see [inputParseFunction](#inputParseFunction)
152
+ * @see [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#inputParseFunction)
154
153
  * @example
155
154
  * ```js
156
155
  * // Formats the slider input to abbreviated numbers with units
157
156
  * // e.g. a thumb at position 1500 will render with an input label of 1.5k
158
- * sizeSlider.inputFormatFunction = (value: number): string => {
157
+ * slider.inputFormatFunction = (value: number): string => {
159
158
  * if (value >= 1000000) {
160
159
  * return (value / 1000000).toPrecision(3) + "m";
161
160
  * }
@@ -167,24 +166,24 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
167
166
  * }
168
167
  * return value.toFixed(0);
169
168
  * };
170
- * ```
169
+ * ```
171
170
  */
172
171
  accessor inputFormatFunction: LabelFormatFunction | null | undefined;
173
172
  /**
174
- * Function used to parse slider inputs formatted by the [inputFormatFunction](#inputFormatFunction).
173
+ * Function used to parse slider inputs formatted by the [inputFormatFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#inputFormatFunction).
175
174
  * This property must be set if an `inputFormatFunction` is set. Otherwise the slider values will
176
175
  * likely not update to their expected positions.
177
176
  *
178
177
  * Overrides the default input parses, which is a parsed floating point number.
179
178
  *
180
- * @see [inputFormatFunction](#inputFormatFunction)
179
+ * @see [inputFormatFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#inputFormatFunction)
181
180
  * @example
182
181
  * ```js
183
182
  * // Parses the slider input (a string value) to a number value understandable to the slider
184
183
  * // This assumes the slider was already configured with an inputFormatFunction
185
184
  * // For example, if the input is 1.5k this function will parse
186
185
  * // it to a value of 1500
187
- * sizeSlider.inputParseFunction = (value: string): number => {
186
+ * colorSlider.inputParseFunction = (value: string): number => {
188
187
  * const charLength = value.length;
189
188
  * const valuePrefix = parseFloat(value.substring(0, charLength - 1));
190
189
  * const finalChar = value.substring(charLength - 1);
@@ -200,25 +199,23 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
200
199
  * }
201
200
  * return parseFloat(value);
202
201
  * };
203
- * ```
202
+ * ```
204
203
  */
205
204
  accessor inputParseFunction: InputParseFunction | null | undefined;
206
205
  /**
207
- * A function used to format labels on the thumbs, min, max, and average
208
- * values. Overrides the default label formatter.
209
- * This function also supports date formatting.
206
+ * A function used to format labels on the thumbs, min, max, and average values. Overrides the default label formatter. This function also supports date formatting.
210
207
  *
211
208
  * @example
212
209
  * ```js
213
210
  * // For thumb values, rounds each label to whole numbers
214
- * sizeSlider.labelFormatFunction = (value, type?): string => {
211
+ * slider.labelFormatFunction = (value: number, type?: SliderFormatType): string => {
215
212
  * return (type === "value") ? value.toFixed(0) : value.toString();
216
213
  * };
217
- * ```
214
+ * ```
218
215
  */
219
216
  accessor labelFormatFunction: LabelFormatFunction | null | undefined;
220
217
  /**
221
- * The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](#updateFromRendererResult) method,
218
+ * The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#updateFromRendererResult) method,
222
219
  * the user may change this property by selecting the label containing the max value on the slider UI. It is the responsibility of the app developer
223
220
  * to set up event listeners that update the size variable of the appropriate renderer.
224
221
  *
@@ -229,7 +226,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
229
226
  */
230
227
  accessor max: number;
231
228
  /**
232
- * The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](#updateFromRendererResult) method,
229
+ * The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#updateFromRendererResult) method,
233
230
  * the user may change this property by selecting the label containing the min value on the slider UI. It is the responsibility of the app developer
234
231
  * to set up event listeners that update the size variable of the appropriate renderer.
235
232
  *
@@ -243,13 +240,13 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
243
240
  * Defines how slider thumb values should be rounded. This number indicates the number
244
241
  * of decimal places slider thumb _values_ should round to when they have been moved.
245
242
  *
246
- * Keep in mind this property rounds thumb _values_ and shouldn't be used exclusively
247
- * for formatting purposes.
243
+ * Keep in mind this property rounds thumb values and shouldn't be used exclusively for formatting purposes.
248
244
  *
249
245
  * @default 4
250
246
  * @example
251
247
  * ```js
252
- * sizeSlider.precision = 7;
248
+ * // Rounds slider thumb values to 7 decimal places
249
+ * slider.precision = 7;
253
250
  * ```
254
251
  */
255
252
  accessor precision: number;
@@ -278,7 +275,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
278
275
  /**
279
276
  * The size stops from the [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/) to link to the slider.
280
277
  *
281
- * @see [updateVisualVariable()](#updateVisualVariable)
278
+ * @see [updateVisualVariable()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#updateVisualVariable)
282
279
  * @example
283
280
  * ```js
284
281
  * sizeSlider.stops = [
@@ -291,67 +288,55 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
291
288
  */
292
289
  accessor stops: Array<SizeStop>;
293
290
  /**
294
- * Zooms the slider track to the bounds provided in this property.
295
- * When min and/or max zoom values are provided, the absolute
296
- * [min](#min) and [max](#max) slider values are preserved and
297
- * rendered at their typical positions on the slider. However, the
298
- * slider track itself is zoomed so that thumbs cannot be moved above or
299
- * below the provided min and max zoomed values.
291
+ * Zooms the slider track to the bounds provided in this property. When min and/or max zoom values are provided, the absolute [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#min) and
292
+ * [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#max) slider values are preserved and rendered at their typical positions on the slider. However, the
293
+ * slider track itself is zoomed so that thumbs cannot be moved above or below the provided min and max zoomed values.
300
294
  *
301
- * When a slider is in a zoomed state, the zoomed
302
- * ends of the track will appear jagged. In the image below, notice how the
303
- * top thumb cannot be moved past the zoom max of `31` even though the slider
304
- * max is `200`.
295
+ * When a slider is in a zoomed state, the zoomed ends of the track will appear jagged. In the image below, notice how the
296
+ * top thumb cannot be moved past the zoom max of `31` even though the slider max is `200`.
305
297
  *
306
- * ![slider-zoom](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-zoomed.png "Zoomed slider")
298
+ * ![slider-zoom](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-zoomed.png "Zoomed slider")
307
299
  *
308
- * To exit a zoomed state, the user can click the
309
- * jagged line or the developer can set the `zoomOptions` to `null`. It
310
- * is up to the developer to provide a UI option for end users to
311
- * enable zooming on the slider.
300
+ * To exit a zoomed state, the user can click the jagged line or the developer can set the `zoomOptions` to `null`. It
301
+ * is up to the developer to provide a UI option for end users to enable zooming on the slider.
312
302
  *
313
- * Setting the `zoomOptions` is useful when the slider is tied to heavily skewed
314
- * datasets where the histogram renders only one or two bars because of outliers.
303
+ * Setting the `zoomOptions` is useful when the slider is tied to heavily skewed datasets where the histogram renders only one or two bars because of outliers.
315
304
  *
316
- * ![slider-not-zoomed](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-skewed-not-zoomed.png "Unzoomed slider")
305
+ * ![slider-not-zoomed](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-skewed-not-zoomed.png "Unzoomed slider")
317
306
  *
318
- * You can remove the influence of outliers by zooming the slider and regenerating
319
- * a histogram based on the zoomed min and max. This will provide a better view of the data
320
- * and make the slider more useful to the end user.
307
+ * You can remove the influence of outliers by zooming the slider and regenerating a histogram based on the zoomed min and max. This will provide a better view of the data
308
+ * and make the slider more useful to the end user.
321
309
  *
322
310
  * @example
323
311
  * ```js
324
- * // zooms the slider so thumbs can only be moved
325
- * // to positions between the values of 10 and 25 while
326
- * // maintaining the slider's absolute minimum and maximum values
327
- * sizeSlider.zoomOptions = {
312
+ * // zooms the slider so thumbs can only be moved to positions between
313
+ * // values of 10 and 25 while maintaining the slider's absolute min and max values
314
+ * slider.zoomOptions = {
328
315
  * min: 10,
329
316
  * max: 25
330
317
  * };
331
- * ```
318
+ * ```
332
319
  * @example
333
320
  * ```js
334
321
  * // disables zooming on the slider
335
- * sizeSlider.zoomOptions = null;
336
- * ```
322
+ * slider.zoomOptions = null;
323
+ * ```
337
324
  * @example
338
325
  * ```js
339
- * // zooms the slider so thumbs can only be moved
340
- * // to positions above the value of 10 while maintaining
341
- * // the slider's absolute minimum value
342
- * sizeSlider.zoomOptions = {
326
+ * // zooms the slider so thumbs can only be moved to positions above
327
+ * // value of 10 while maintaining the slider's absolute min value
328
+ * slider.zoomOptions = {
343
329
  * min: 10
344
330
  * };
345
- * ```
331
+ * ```
346
332
  * @example
347
333
  * ```js
348
- * // zooms the slider so thumbs can only be moved
349
- * // to positions below the value of 25 while maintaining
350
- * // the slider's absolute maximum value
351
- * sizeSlider.zoomOptions = {
334
+ * // zooms the slider so thumbs can only be moved to positions below
335
+ * // value of 25 while maintaining the slider's absolute max value
336
+ * slider.zoomOptions = {
352
337
  * max: 25
353
338
  * };
354
- * ```
339
+ * ```
355
340
  */
356
341
  accessor zoomOptions: ZoomOptions | null | undefined;
357
342
  /** Permanently destroy the component. */
@@ -384,7 +369,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
384
369
  updateFromRendererResult(rendererResult: ContinuousRendererResult, histogramResult?: HistogramResult): void;
385
370
  /**
386
371
  * A convenience function used to update the [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
387
- * to match the values of the [stops](#stops) on the slider.
372
+ * to match the values of the [stops](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#stops) on the slider.
388
373
  * The slider stops are automatically updated internally when the user drags a thumb slider.
389
374
  *
390
375
  * This is particularly useful for Size visual variables that have a set
@@ -393,7 +378,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
393
378
  * This method will properly reconstruct the variable to set on the renderer so it matches the stops on the slider.
394
379
  *
395
380
  * @param sizeVariable - The size visual variable
396
- * from the renderer to update to the set [stops](#stops) on the slider.
381
+ * from the renderer to update to the set [stops](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#stops) on the slider.
397
382
  * @returns Returns the updated visual variable
398
383
  * to set back on the renderer.
399
384
  * @example