@esri/calcite-components 3.0.0-next.99 → 3.0.1

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 (604) hide show
  1. package/dist/calcite/2AP6YLXQ.js +4 -0
  2. package/dist/calcite/2M5DP5VS.js +4 -0
  3. package/dist/calcite/2MTW4RBX.js +4 -0
  4. package/dist/calcite/2TEERBTI.js +4 -0
  5. package/dist/calcite/{4TWMM7Z6.js → 3BOJE7XV.js} +4 -6
  6. package/dist/calcite/3EQ32UON.js +4 -0
  7. package/dist/calcite/3LOOBSHJ.js +4 -0
  8. package/dist/calcite/3LXK5OEB.js +5 -0
  9. package/dist/calcite/{4OYBMKUB.js → 3NJWAHVN.js} +4 -6
  10. package/dist/calcite/{2JRSKQML.js → 3TGA6ACB.js} +4 -6
  11. package/dist/calcite/3TJZ3VMN.js +4 -0
  12. package/dist/calcite/3U4EUW42.js +4 -0
  13. package/dist/calcite/45R3L3J2.js +4 -0
  14. package/dist/calcite/45YXH4D4.js +4 -0
  15. package/dist/calcite/{ZWGCNMZF.js → 46ICVIVW.js} +4 -6
  16. package/dist/calcite/{UZAQE6XP.js → 47FXQ37G.js} +4 -6
  17. package/dist/calcite/{JFBHBHJE.js → 4GUL5QXY.js} +4 -6
  18. package/dist/calcite/{AUEN6VFD.js → 4PKLCHA5.js} +4 -6
  19. package/dist/calcite/4QSXDJ3I.js +4 -0
  20. package/dist/calcite/{BGQR3WLU.js → 4TLHW2N3.js} +4 -6
  21. package/dist/calcite/{XFHDAVBK.js → 54O5ASY6.js} +4 -6
  22. package/dist/calcite/{FSQJ72IH.js → 57MQUGHN.js} +4 -6
  23. package/dist/calcite/5FYVM4AX.js +4 -0
  24. package/dist/calcite/5KCZZJGZ.js +4 -0
  25. package/dist/calcite/5OWSKBSV.js +4 -0
  26. package/dist/calcite/{3SE2Z2VK.js → 5X666Z33.js} +5 -7
  27. package/dist/calcite/5YBMD5MK.js +4 -0
  28. package/dist/calcite/5ZA467A4.js +4 -0
  29. package/dist/calcite/62M3DNDT.js +4 -0
  30. package/dist/calcite/{DF7SVAJW.js → 6AN3H3R6.js} +4 -6
  31. package/dist/calcite/{W4D5O4P2.js → 6GK2OTHZ.js} +3 -5
  32. package/dist/calcite/6HEZO2KI.js +4 -0
  33. package/dist/calcite/{BZOCG27F.js → 6KFLYQ3F.js} +4 -6
  34. package/dist/calcite/6OPQR7PL.js +4 -0
  35. package/dist/calcite/{3QV5TGZD.js → 6ZNTK2O2.js} +4 -6
  36. package/dist/calcite/7C3Y7SM7.js +4 -0
  37. package/dist/calcite/{L4IJ6KQT.js → 7C4KHH7U.js} +4 -6
  38. package/dist/calcite/{AASA6526.js → 7COKCZTB.js} +4 -6
  39. package/dist/calcite/{KA53KK35.js → 7CQS22FK.js} +3 -5
  40. package/dist/calcite/{2YSVELPG.js → 7NLQECEF.js} +3 -5
  41. package/dist/calcite/7SVWZ5TZ.js +4 -0
  42. package/dist/calcite/{I2N2BRJR.js → 7URHQAUN.js} +3 -5
  43. package/dist/calcite/ACFEDJWV.js +4 -0
  44. package/dist/calcite/{MNBTRJLH.js → AFJ2UDEO.js} +4 -6
  45. package/dist/calcite/{5MEU7SU4.js → AQANFQEK.js} +4 -6
  46. package/dist/calcite/{GU2SFYM4.js → AZPKU6ON.js} +4 -6
  47. package/dist/calcite/{SZP7YBVQ.js → B2GDIYRL.js} +4 -6
  48. package/dist/calcite/{26ES3CRO.js → BETB6YPW.js} +4 -6
  49. package/dist/calcite/BJQEZXFS.js +4 -0
  50. package/dist/calcite/BKB5MWFT.js +4 -0
  51. package/dist/calcite/BYRVP24K.js +22 -0
  52. package/dist/calcite/{UPY24BFQ.js → C3XHCMBP.js} +3 -5
  53. package/dist/calcite/C52QQAFR.js +4 -0
  54. package/dist/calcite/CE3TSSYN.js +4 -0
  55. package/dist/calcite/CHVHH4L7.js +4 -0
  56. package/dist/calcite/CNTBFQBL.js +4 -0
  57. package/dist/calcite/CPH3OCUO.js +4 -0
  58. package/dist/calcite/CWBUDJKG.js +4 -0
  59. package/dist/calcite/CWJKJUCU.js +4 -0
  60. package/dist/calcite/{XOA2TSHC.js → CYKAIRKP.js} +4 -6
  61. package/dist/calcite/D7X7U5LL.js +6 -0
  62. package/dist/calcite/DH73QGXJ.js +4 -0
  63. package/dist/calcite/{EWQKTTIO.js → DJU4LSIS.js} +4 -6
  64. package/dist/calcite/DNKJTXCY.js +4 -0
  65. package/dist/calcite/DO7AVVBP.js +4 -0
  66. package/dist/calcite/DVFRWPOF.js +4 -0
  67. package/dist/calcite/{3KND2KKH.js → DX5LTGNX.js} +4 -6
  68. package/dist/calcite/DYHX5C6J.js +4 -0
  69. package/dist/calcite/E6LODM5C.js +4 -0
  70. package/dist/calcite/{6LWRLBVD.js → EB432BS5.js} +4 -6
  71. package/dist/calcite/{ZQSF4K7D.js → EFUCITW3.js} +4 -6
  72. package/dist/calcite/ETK7F3KI.js +4 -0
  73. package/dist/calcite/{UCGUHOUO.js → EWAQVZXY.js} +4 -6
  74. package/dist/calcite/{O7B4THLC.js → EWBW2GOP.js} +4 -6
  75. package/dist/calcite/{GIRDDKPZ.js → F52GIETG.js} +4 -6
  76. package/dist/calcite/F6CK7P7G.js +4 -0
  77. package/dist/calcite/FA3DOLYY.js +4 -0
  78. package/dist/calcite/FBUTQVLY.js +4 -0
  79. package/dist/calcite/FF2SNYC6.js +4 -0
  80. package/dist/calcite/FGCSO5KT.js +4 -0
  81. package/dist/calcite/FJLPIBCZ.js +4 -0
  82. package/dist/calcite/{DO5AYUNU.js → FL63KFPW.js} +4 -6
  83. package/dist/calcite/{KHDHQPVO.js → FMALNIBL.js} +4 -6
  84. package/dist/calcite/{ARFAFPKS.js → FNTHRMT3.js} +4 -6
  85. package/dist/calcite/{KWWKG3YN.js → FOFSX3FY.js} +4 -6
  86. package/dist/calcite/FSQRHBBB.js +4 -0
  87. package/dist/calcite/FYCT4FES.js +4 -0
  88. package/dist/calcite/{G4Q2QH6B.js → FYUK2GME.js} +4 -6
  89. package/dist/calcite/G4CQ5QPF.js +4 -0
  90. package/dist/calcite/G5AYPPXM.js +4 -0
  91. package/dist/calcite/{EUXG27WD.js → GGNAK2N6.js} +4 -6
  92. package/dist/calcite/{57L4ZYLO.js → GKVYSG3G.js} +4 -6
  93. package/dist/calcite/{W3WKINVO.js → GR3JRBW6.js} +4 -6
  94. package/dist/calcite/GS4K4IEJ.js +4 -0
  95. package/dist/calcite/{EBQYJBDQ.js → GZBMMB2V.js} +4 -6
  96. package/dist/calcite/HD2NABQD.js +4 -0
  97. package/dist/calcite/{P64WY2HI.js → HEVM6SRJ.js} +4 -6
  98. package/dist/calcite/HMZA4X6S.js +4 -0
  99. package/dist/calcite/HPFCIR5F.js +4 -0
  100. package/dist/calcite/HRDRO2MA.js +4 -0
  101. package/dist/calcite/I54F3V4F.js +4 -0
  102. package/dist/calcite/{BNYX7IBO.js → IBLJGOPM.js} +4 -6
  103. package/dist/calcite/IGQGPBGN.js +4 -0
  104. package/dist/calcite/{QLJX2F4K.js → IITTEDPS.js} +4 -6
  105. package/dist/calcite/IJOUQRZG.js +4 -0
  106. package/dist/calcite/IKHZ7MAG.js +4 -0
  107. package/dist/calcite/{SYOTV4D4.js → J3ZEXA7Z.js} +4 -6
  108. package/dist/calcite/{OMBBOPRI.js → J6ES4ZTD.js} +4 -6
  109. package/dist/calcite/J6V2OKQD.js +4 -0
  110. package/dist/calcite/JHWO2CVD.js +4 -0
  111. package/dist/calcite/JUW7VCPP.js +4 -0
  112. package/dist/calcite/KAZVOPHR.js +4 -0
  113. package/dist/calcite/{3ATQZBKY.js → KCA2V6ZH.js} +4 -6
  114. package/dist/calcite/{QNGBOTGF.js → KJYAPBB2.js} +4 -6
  115. package/dist/calcite/KLG62CS4.js +4 -0
  116. package/dist/calcite/{SFWNFANJ.js → KOPH76Z4.js} +4 -6
  117. package/dist/calcite/KP4G4VQ3.js +4 -0
  118. package/dist/calcite/{ELXZUEDC.js → KPJGFWME.js} +4 -6
  119. package/dist/calcite/KPP5CUG6.js +4 -0
  120. package/dist/calcite/{3RLXG3NR.js → KT3W2WN7.js} +4 -6
  121. package/dist/calcite/{AGLAEQKV.js → KW4WGJWX.js} +4 -6
  122. package/dist/calcite/{B77QRUX7.js → LAE3F72I.js} +4 -6
  123. package/dist/calcite/LDJND26G.js +4 -0
  124. package/dist/calcite/LWAXFXVK.js +4 -0
  125. package/dist/calcite/LWKIGIQ7.js +4 -0
  126. package/dist/calcite/M5RSVI77.js +4 -0
  127. package/dist/calcite/{4JU7BKXB.js → M6GGWFWP.js} +4 -6
  128. package/dist/calcite/{QBG5T6W3.js → MCYHITP5.js} +4 -6
  129. package/dist/calcite/{J7RY7DXT.js → MCZED6UJ.js} +3 -5
  130. package/dist/calcite/MD4KKJXR.js +4 -0
  131. package/dist/calcite/{G75XVKLZ.js → MFGDUWWU.js} +4 -6
  132. package/dist/calcite/MGC5QBVT.js +4 -0
  133. package/dist/calcite/MKMTLSBP.js +4 -0
  134. package/dist/calcite/{QFH3VN2R.js → MRRSD5GQ.js} +4 -6
  135. package/dist/calcite/{Y5IWWVKB.js → MUYFLMXN.js} +4 -6
  136. package/dist/calcite/{XR2WLB7D.js → MVBR6FNF.js} +3 -5
  137. package/dist/calcite/MYXXA6E5.js +4 -0
  138. package/dist/calcite/{AFH6KP7M.js → N2AFATQQ.js} +4 -6
  139. package/dist/calcite/N2Q46D75.js +4 -0
  140. package/dist/calcite/NBX4LUWL.js +4 -0
  141. package/dist/calcite/NLK3OCCK.js +4 -0
  142. package/dist/calcite/{3Z3RDAUW.js → NPTN6OGZ.js} +4 -6
  143. package/dist/calcite/{Z2ZTWA3F.js → NQPJICFQ.js} +3 -5
  144. package/dist/calcite/{FMI6FJW4.js → NWTXX6JY.js} +4 -6
  145. package/dist/calcite/{WIGL5RKK.js → O627WVJG.js} +4 -6
  146. package/dist/calcite/{CM4U5UKC.js → O6BU5DYY.js} +4 -6
  147. package/dist/calcite/OAD7JJOE.js +4 -0
  148. package/dist/calcite/{6FI3WN2Y.js → OEK7OZTX.js} +4 -6
  149. package/dist/calcite/OENBCW7D.js +4 -0
  150. package/dist/calcite/OLP7ABVK.js +4 -0
  151. package/dist/calcite/OOHSVUO2.js +4 -0
  152. package/dist/calcite/OOWC3DHW.js +4 -0
  153. package/dist/calcite/OREMH3DL.js +4 -0
  154. package/dist/calcite/OUKBJ6J3.js +4 -0
  155. package/dist/calcite/PA6PSCEP.js +4 -0
  156. package/dist/calcite/{KMLCSDZJ.js → PFRWMYU6.js} +4 -6
  157. package/dist/calcite/PPMXW2CH.js +4 -0
  158. package/dist/calcite/{3LYDW23E.js → PU7HI4RM.js} +4 -6
  159. package/dist/calcite/{6YQ42X6L.js → PV7FS57L.js} +4 -6
  160. package/dist/calcite/PYT6F7XN.js +4 -0
  161. package/dist/calcite/QGSMNFLV.js +4 -0
  162. package/dist/calcite/{N7NWH5SX.js → QLL7IT53.js} +3 -5
  163. package/dist/calcite/{CTQ5YHOP.js → QV6PXGLB.js} +4 -6
  164. package/dist/calcite/{ESS6BUTG.js → QZ4S4NPD.js} +4 -6
  165. package/dist/calcite/{VFBPWVKE.js → R5GIKUFX.js} +4 -6
  166. package/dist/calcite/{XEW3B3B5.js → RD2YKJMP.js} +4 -6
  167. package/dist/calcite/{6EFD6XES.js → RI6ANEBM.js} +4 -6
  168. package/dist/calcite/RIXZG4AD.js +4 -0
  169. package/dist/calcite/RIYYUHQ7.js +4 -0
  170. package/dist/calcite/RRNZ4FU5.js +4 -0
  171. package/dist/calcite/{S6AE7RHT.js → RRPMD5OW.js} +4 -6
  172. package/dist/calcite/RSI5VQHT.js +4 -0
  173. package/dist/calcite/RYQPXZK6.js +4 -0
  174. package/dist/calcite/S3TERCKZ.js +4 -0
  175. package/dist/calcite/{7NVGCG7Q.js → S6DJKPG5.js} +3 -5
  176. package/dist/calcite/{3JQJ24PZ.js → S6SBHJIV.js} +4 -6
  177. package/dist/calcite/SM6GCEH6.js +4 -0
  178. package/dist/calcite/STCRUA4G.js +4 -0
  179. package/dist/calcite/{G27BUJJG.js → SVTZCS25.js} +3 -5
  180. package/dist/calcite/T246IHBX.js +4 -0
  181. package/dist/calcite/T5I34CKY.js +4 -0
  182. package/dist/calcite/{2UYJUU43.js → TC73OO6B.js} +4 -6
  183. package/dist/calcite/{3PJ42556.js → TFRMRELY.js} +4 -6
  184. package/dist/calcite/TTARWRVZ.js +4 -0
  185. package/dist/calcite/TTPB5NUF.js +4 -0
  186. package/dist/calcite/{5LAQP62T.js → TV2JMAEX.js} +4 -6
  187. package/dist/calcite/{PB4E6L52.js → U3A4ZFDA.js} +4 -6
  188. package/dist/calcite/{LQ5ITYNE.js → U3J436K5.js} +4 -6
  189. package/dist/calcite/{KBVTFWRR.js → U4KFLUXN.js} +4 -6
  190. package/dist/calcite/U5LWIQFM.js +4 -0
  191. package/dist/calcite/UAPP5RN3.js +4 -0
  192. package/dist/calcite/{MYJH43DB.js → UJ2DNCBI.js} +4 -6
  193. package/dist/calcite/UVQWXGAE.js +4 -0
  194. package/dist/calcite/{UFV4E5V5.js → V7P5NO5D.js} +4 -6
  195. package/dist/calcite/VGKMOO66.js +4 -0
  196. package/dist/calcite/VIVZTWDT.js +4 -0
  197. package/dist/calcite/VLUVMJLJ.js +4 -0
  198. package/dist/calcite/VPCQX3JS.js +4 -0
  199. package/dist/calcite/VQZMYHUR.js +4 -0
  200. package/dist/calcite/{JLIVSPKC.js → VRJOLF5U.js} +4 -6
  201. package/dist/calcite/VSACPVTO.js +4 -0
  202. package/dist/calcite/{VP4IW6MN.js → VSVGJIKO.js} +4 -6
  203. package/dist/calcite/{LR6EXHT2.js → W2IMTPXZ.js} +4 -6
  204. package/dist/calcite/{K3F2CI4A.js → W35EGCBV.js} +4 -6
  205. package/dist/calcite/{VM4VUQ54.js → W7BTFAAV.js} +4 -6
  206. package/dist/calcite/{RWW7CETF.js → WB2APVPE.js} +4 -6
  207. package/dist/calcite/WODNJF5Z.js +4 -0
  208. package/dist/calcite/{MRVEUN2O.js → X6EDNQN2.js} +4 -6
  209. package/dist/calcite/X7JJZRMI.js +4 -0
  210. package/dist/calcite/{OU4N4K2U.js → XDEHQTPQ.js} +4 -6
  211. package/dist/calcite/XFRASDZI.js +4 -0
  212. package/dist/calcite/XK4FISIX.js +4 -0
  213. package/dist/calcite/{XFKIMAJU.js → XL665FTR.js} +4 -6
  214. package/dist/calcite/XPMURWBT.js +4 -0
  215. package/dist/calcite/XUCTBMBM.js +4 -0
  216. package/dist/calcite/Y3MFFLOP.js +4 -0
  217. package/dist/calcite/YHIHWSGP.js +4 -0
  218. package/dist/calcite/YJWS4TZW.js +4 -0
  219. package/dist/calcite/YUYVD6B5.js +4 -0
  220. package/dist/calcite/YW6YWFXE.js +4 -0
  221. package/dist/calcite/YW7G4LA7.js +4 -0
  222. package/dist/calcite/YXYKAROM.js +4 -0
  223. package/dist/calcite/{O2KBYT33.js → Z7RQIFXO.js} +4 -6
  224. package/dist/calcite/ZYBMEVEB.js +4 -0
  225. package/dist/calcite/assets/icon/crosshair16.json +1 -0
  226. package/dist/calcite/assets/icon/crosshair24.json +1 -0
  227. package/dist/calcite/assets/icon/crosshair32.json +1 -0
  228. package/dist/calcite/assets/icon/dualImageArea16.json +1 -0
  229. package/dist/calcite/assets/icon/dualImageArea24.json +1 -0
  230. package/dist/calcite/assets/icon/dualImageArea32.json +1 -0
  231. package/dist/calcite/assets/icon/dualImageDistance16.json +1 -0
  232. package/dist/calcite/assets/icon/dualImageDistance24.json +1 -0
  233. package/dist/calcite/assets/icon/dualImageDistance32.json +1 -0
  234. package/dist/calcite/assets/icon/dualImageLocation16.json +1 -0
  235. package/dist/calcite/assets/icon/dualImageLocation24.json +1 -0
  236. package/dist/calcite/assets/icon/dualImageLocation32.json +1 -0
  237. package/dist/calcite/assets/icon/hammerCoin16.json +1 -0
  238. package/dist/calcite/assets/icon/hammerCoin24.json +1 -0
  239. package/dist/calcite/assets/icon/hammerCoin32.json +1 -0
  240. package/dist/calcite/assets/icon/hammerLock16.json +1 -0
  241. package/dist/calcite/assets/icon/hammerLock24.json +1 -0
  242. package/dist/calcite/assets/icon/hammerLock32.json +1 -0
  243. package/dist/calcite/assets/icon/utilityNetworkLayer16.json +1 -0
  244. package/dist/calcite/assets/icon/utilityNetworkLayer24.json +1 -0
  245. package/dist/calcite/assets/icon/utilityNetworkLayer32.json +1 -0
  246. package/dist/calcite/calcite.css +1 -1
  247. package/dist/calcite/calcite.esm.js +4 -6
  248. package/dist/chunks/ExpandToggle.js +3 -5
  249. package/dist/chunks/FloatingArrow.js +6 -8
  250. package/dist/chunks/Heading.js +3 -5
  251. package/dist/chunks/Validation.js +3 -5
  252. package/dist/chunks/_commonjsHelpers.js +3 -5
  253. package/dist/chunks/array.js +3 -5
  254. package/dist/chunks/component.js +13 -11
  255. package/dist/chunks/core.js +3 -5
  256. package/dist/chunks/date.js +3 -5
  257. package/dist/chunks/dom.js +218 -234
  258. package/dist/chunks/dynamicClasses.js +3 -5
  259. package/dist/chunks/filter.js +3 -5
  260. package/dist/chunks/floating-ui.js +61 -65
  261. package/dist/chunks/focusTrapComponent.js +25 -30
  262. package/dist/chunks/form.js +19 -21
  263. package/dist/chunks/global.js +14 -14
  264. package/dist/chunks/guid.js +3 -5
  265. package/dist/chunks/input.js +3 -5
  266. package/dist/chunks/interact.min.js +3 -5
  267. package/dist/chunks/interactive.js +3 -5
  268. package/dist/chunks/key.js +3 -5
  269. package/dist/chunks/label.js +7 -9
  270. package/dist/chunks/loadable.js +11 -22
  271. package/dist/chunks/locale.js +3 -5
  272. package/dist/chunks/logger.js +3 -5
  273. package/dist/chunks/math.js +3 -5
  274. package/dist/chunks/observers.js +3 -5
  275. package/dist/chunks/openCloseComponent.js +5 -7
  276. package/dist/chunks/resources.js +3 -5
  277. package/dist/chunks/resources2.js +3 -5
  278. package/dist/chunks/resources3.js +8 -14
  279. package/dist/chunks/resources4.js +3 -5
  280. package/dist/chunks/resources5.js +3 -5
  281. package/dist/chunks/resources6.js +3 -5
  282. package/dist/chunks/resources7.js +3 -5
  283. package/dist/chunks/responsive.js +9 -12
  284. package/dist/chunks/runtime.js +39 -43
  285. package/dist/chunks/sortableComponent.js +49 -39
  286. package/dist/chunks/text.js +3 -5
  287. package/dist/chunks/time.js +12 -14
  288. package/dist/chunks/useFocusTrap.js +47 -0
  289. package/dist/chunks/useT9n.js +3 -5
  290. package/dist/chunks/utils.js +19 -17
  291. package/dist/chunks/utils2.js +3 -5
  292. package/dist/chunks/utils3.js +15 -16
  293. package/dist/chunks/utils4.js +264 -271
  294. package/dist/components/calcite-accordion/customElement.js +3 -5
  295. package/dist/components/calcite-accordion-item/customElement.js +10 -14
  296. package/dist/components/calcite-action/customElement.js +38 -42
  297. package/dist/components/calcite-action-bar/customElement.js +24 -27
  298. package/dist/components/calcite-action-group/customElement.js +20 -24
  299. package/dist/components/calcite-action-menu/customElement.js +14 -18
  300. package/dist/components/calcite-action-pad/customElement.js +21 -25
  301. package/dist/components/calcite-alert/customElement.js +50 -63
  302. package/dist/components/calcite-autocomplete/customElement.d.ts +10 -4
  303. package/dist/components/calcite-autocomplete/customElement.js +50 -52
  304. package/dist/components/calcite-autocomplete-item/customElement.js +17 -21
  305. package/dist/components/calcite-autocomplete-item-group/customElement.js +3 -5
  306. package/dist/components/calcite-avatar/customElement.js +8 -10
  307. package/dist/components/calcite-block/customElement.d.ts +18 -1
  308. package/dist/components/calcite-block/customElement.js +54 -40
  309. package/dist/components/calcite-block/index.d.ts +1 -1
  310. package/dist/components/calcite-block/index.js +1 -1
  311. package/dist/components/calcite-block/utils.d.ts +2 -0
  312. package/dist/components/calcite-block-group/customElement.d.ts +50 -0
  313. package/dist/components/calcite-block-group/customElement.js +177 -0
  314. package/dist/components/calcite-block-group/index.d.ts +2 -0
  315. package/dist/components/calcite-block-group/index.js +2 -0
  316. package/dist/components/calcite-block-group/interfaces.d.ts +14 -0
  317. package/dist/components/calcite-block-group/resources.d.ts +8 -0
  318. package/dist/components/calcite-block-group/utils.d.ts +1 -0
  319. package/dist/components/calcite-block-section/customElement.js +19 -23
  320. package/dist/components/calcite-button/customElement.js +28 -30
  321. package/dist/components/calcite-card/customElement.js +17 -23
  322. package/dist/components/calcite-card-group/customElement.js +15 -18
  323. package/dist/components/calcite-carousel/customElement.js +29 -32
  324. package/dist/components/calcite-carousel-item/customElement.js +3 -5
  325. package/dist/components/calcite-checkbox/customElement.d.ts +4 -1
  326. package/dist/components/calcite-checkbox/customElement.js +18 -22
  327. package/dist/components/calcite-chip/customElement.js +42 -44
  328. package/dist/components/calcite-chip-group/customElement.js +10 -14
  329. package/dist/components/calcite-color-picker/customElement.d.ts +1 -1
  330. package/dist/components/calcite-color-picker/customElement.js +200 -178
  331. package/dist/components/calcite-color-picker/resources.d.ts +7 -16
  332. package/dist/components/calcite-color-picker/utils.d.ts +4 -3
  333. package/dist/components/calcite-color-picker-hex-input/customElement.js +27 -31
  334. package/dist/components/calcite-color-picker-swatch/customElement.js +3 -5
  335. package/dist/components/calcite-combobox/customElement.d.ts +5 -3
  336. package/dist/components/calcite-combobox/customElement.js +166 -160
  337. package/dist/components/calcite-combobox/resources.d.ts +1 -0
  338. package/dist/components/calcite-combobox-item/customElement.d.ts +2 -1
  339. package/dist/components/calcite-combobox-item/customElement.js +47 -38
  340. package/dist/components/calcite-combobox-item-group/customElement.js +13 -15
  341. package/dist/components/calcite-date-picker/customElement.d.ts +8 -2
  342. package/dist/components/calcite-date-picker/customElement.js +28 -31
  343. package/dist/components/calcite-date-picker-day/customElement.js +16 -19
  344. package/dist/components/calcite-date-picker-month/customElement.js +39 -41
  345. package/dist/components/calcite-date-picker-month-header/customElement.js +40 -44
  346. package/dist/components/calcite-dialog/customElement.d.ts +20 -4
  347. package/dist/components/calcite-dialog/customElement.js +78 -72
  348. package/dist/components/calcite-dialog/resources.d.ts +1 -0
  349. package/dist/components/calcite-dropdown/customElement.d.ts +1 -1
  350. package/dist/components/calcite-dropdown/customElement.js +63 -70
  351. package/dist/components/calcite-dropdown/resources.d.ts +1 -0
  352. package/dist/components/calcite-dropdown-group/customElement.js +4 -6
  353. package/dist/components/calcite-dropdown-item/customElement.js +20 -23
  354. package/dist/components/calcite-fab/customElement.js +19 -23
  355. package/dist/components/calcite-filter/customElement.js +20 -25
  356. package/dist/components/calcite-flow/customElement.js +19 -22
  357. package/dist/components/calcite-flow-item/customElement.js +26 -30
  358. package/dist/components/calcite-graph/customElement.js +52 -50
  359. package/dist/components/calcite-graph/interfaces.d.ts +1 -5
  360. package/dist/components/calcite-graph/resources.d.ts +5 -0
  361. package/dist/components/calcite-handle/customElement.d.ts +3 -0
  362. package/dist/components/calcite-handle/customElement.js +20 -18
  363. package/dist/components/calcite-icon/customElement.js +23 -25
  364. package/dist/components/calcite-inline-editable/customElement.js +25 -29
  365. package/dist/components/calcite-input/customElement.d.ts +14 -6
  366. package/dist/components/calcite-input/customElement.js +26 -29
  367. package/dist/components/calcite-input-date-picker/customElement.d.ts +12 -3
  368. package/dist/components/calcite-input-date-picker/customElement.js +84 -88
  369. package/dist/components/calcite-input-message/customElement.js +3 -5
  370. package/dist/components/calcite-input-number/customElement.d.ts +12 -5
  371. package/dist/components/calcite-input-number/customElement.js +30 -36
  372. package/dist/components/calcite-input-text/customElement.d.ts +10 -4
  373. package/dist/components/calcite-input-text/customElement.js +61 -65
  374. package/dist/components/calcite-input-time-picker/customElement.d.ts +8 -3
  375. package/dist/components/calcite-input-time-picker/customElement.js +45 -47
  376. package/dist/components/calcite-input-time-zone/customElement.js +53 -55
  377. package/dist/components/calcite-label/customElement.js +3 -5
  378. package/dist/components/calcite-link/customElement.js +10 -14
  379. package/dist/components/calcite-list/customElement.js +67 -70
  380. package/dist/components/calcite-list-item/customElement.js +54 -73
  381. package/dist/components/calcite-list-item/utils.d.ts +1 -0
  382. package/dist/components/calcite-list-item-group/customElement.js +3 -5
  383. package/dist/components/calcite-loader/customElement.d.ts +2 -2
  384. package/dist/components/calcite-loader/customElement.js +3 -7
  385. package/dist/components/calcite-menu/customElement.js +12 -16
  386. package/dist/components/calcite-menu-item/customElement.js +12 -16
  387. package/dist/components/calcite-meter/customElement.js +26 -28
  388. package/dist/components/calcite-modal/customElement.d.ts +16 -3
  389. package/dist/components/calcite-modal/customElement.js +61 -61
  390. package/dist/components/calcite-navigation/customElement.js +17 -21
  391. package/dist/components/calcite-navigation-logo/customElement.js +12 -16
  392. package/dist/components/calcite-navigation-user/customElement.js +10 -14
  393. package/dist/components/calcite-notice/customElement.js +25 -28
  394. package/dist/components/calcite-option/customElement.js +3 -5
  395. package/dist/components/calcite-option-group/customElement.js +3 -5
  396. package/dist/components/calcite-pagination/customElement.js +15 -17
  397. package/dist/components/calcite-panel/customElement.js +45 -48
  398. package/dist/components/calcite-popover/customElement.d.ts +10 -7
  399. package/dist/components/calcite-popover/customElement.js +70 -79
  400. package/dist/components/calcite-progress/customElement.js +3 -5
  401. package/dist/components/calcite-radio-button/customElement.d.ts +4 -1
  402. package/dist/components/calcite-radio-button/customElement.js +17 -20
  403. package/dist/components/calcite-radio-button-group/customElement.d.ts +4 -1
  404. package/dist/components/calcite-radio-button-group/customElement.js +14 -17
  405. package/dist/components/calcite-rating/customElement.js +21 -23
  406. package/dist/components/calcite-scrim/customElement.js +3 -5
  407. package/dist/components/calcite-segmented-control/customElement.d.ts +4 -1
  408. package/dist/components/calcite-segmented-control/customElement.js +14 -17
  409. package/dist/components/calcite-segmented-control-item/customElement.js +28 -30
  410. package/dist/components/calcite-select/customElement.d.ts +4 -1
  411. package/dist/components/calcite-select/customElement.js +19 -22
  412. package/dist/components/calcite-sheet/customElement.d.ts +17 -3
  413. package/dist/components/calcite-sheet/customElement.js +59 -62
  414. package/dist/components/calcite-shell/customElement.js +3 -6
  415. package/dist/components/calcite-shell-center-row/customElement.js +3 -5
  416. package/dist/components/calcite-shell-panel/customElement.js +16 -20
  417. package/dist/components/calcite-slider/customElement.d.ts +4 -1
  418. package/dist/components/calcite-slider/customElement.js +18 -21
  419. package/dist/components/calcite-sort-handle/customElement.js +45 -35
  420. package/dist/components/calcite-sort-handle/index.d.ts +1 -1
  421. package/dist/components/calcite-sort-handle/index.js +1 -1
  422. package/dist/components/calcite-sortable-list/customElement.d.ts +4 -1
  423. package/dist/components/calcite-sortable-list/customElement.js +21 -16
  424. package/dist/components/calcite-split-button/customElement.js +13 -20
  425. package/dist/components/calcite-stack/customElement.js +4 -6
  426. package/dist/components/calcite-stepper/customElement.js +36 -39
  427. package/dist/components/calcite-stepper-item/customElement.js +23 -22
  428. package/dist/components/calcite-switch/customElement.js +10 -14
  429. package/dist/components/calcite-tab/customElement.js +3 -5
  430. package/dist/components/calcite-tab-nav/customElement.js +3 -5
  431. package/dist/components/calcite-tab-title/customElement.js +3 -5
  432. package/dist/components/calcite-table/customElement.js +44 -47
  433. package/dist/components/calcite-table-cell/customElement.js +22 -25
  434. package/dist/components/calcite-table-header/customElement.js +18 -21
  435. package/dist/components/calcite-table-row/customElement.js +6 -8
  436. package/dist/components/calcite-tabs/customElement.js +3 -5
  437. package/dist/components/calcite-text-area/customElement.d.ts +10 -3
  438. package/dist/components/calcite-text-area/customElement.js +30 -37
  439. package/dist/components/calcite-tile/customElement.js +16 -20
  440. package/dist/components/calcite-tile-group/customElement.js +3 -5
  441. package/dist/components/calcite-tile-select/customElement.js +17 -22
  442. package/dist/components/calcite-tile-select-group/customElement.js +3 -5
  443. package/dist/components/calcite-time-picker/customElement.d.ts +1 -0
  444. package/dist/components/calcite-time-picker/customElement.js +19 -23
  445. package/dist/components/calcite-tip/customElement.js +3 -5
  446. package/dist/components/calcite-tip-group/customElement.js +3 -5
  447. package/dist/components/calcite-tip-manager/customElement.js +3 -5
  448. package/dist/components/calcite-tooltip/customElement.js +41 -40
  449. package/dist/components/calcite-tree/customElement.js +3 -5
  450. package/dist/components/calcite-tree-item/customElement.js +16 -14
  451. package/dist/components/interfaces.d.ts +4 -0
  452. package/dist/controllers/useFocusTrap.d.ts +71 -0
  453. package/dist/custom-theme/block.d.ts +4 -5
  454. package/dist/custom-theme/calcite-shell-panel.d.ts +13 -0
  455. package/dist/custom-theme/date-picker.d.ts +28 -0
  456. package/dist/custom-theme/flow.d.ts +21 -0
  457. package/dist/custom-theme/graph.d.ts +4 -0
  458. package/dist/custom-theme/inline-editable.d.ts +10 -0
  459. package/dist/custom-theme/segmented-control.d.ts +7 -0
  460. package/dist/docs/api.json +1152 -170
  461. package/dist/docs/docs.json +1102 -135
  462. package/dist/docs/supported-browsers.json +1 -1
  463. package/dist/docs/vscode.css-custom-data.json +322 -14
  464. package/dist/docs/vscode.html-custom-data.json +110 -63
  465. package/dist/docs/web-types.json +671 -131
  466. package/dist/extras/vscode-data.json +110 -63
  467. package/dist/index.d.ts +25 -0
  468. package/dist/index.js +3 -5
  469. package/dist/loader.js +16 -17
  470. package/dist/types/lumina.d.ts +18 -6
  471. package/dist/types/preact.d.ts +19 -6
  472. package/dist/types/react.d.ts +180 -165
  473. package/dist/types/stencil.d.ts +18 -6
  474. package/dist/utils/component.d.ts +4 -0
  475. package/dist/utils/focusTrapComponent.d.ts +9 -0
  476. package/dist/utils/loadable.d.ts +26 -43
  477. package/dist/utils/openCloseComponent.d.ts +17 -18
  478. package/hydrate/index.d.ts +1 -0
  479. package/hydrate/index.js +1 -0
  480. package/hydrate/index.mjs +1 -0
  481. package/package.json +11 -12
  482. package/readme.md +5 -69
  483. package/dist/calcite/2AZY343I.js +0 -6
  484. package/dist/calcite/2CPZ6K5L.js +0 -6
  485. package/dist/calcite/2M35C4DF.js +0 -6
  486. package/dist/calcite/2VVNNU7Q.js +0 -6
  487. package/dist/calcite/2XACBT2N.js +0 -6
  488. package/dist/calcite/32P7BAVF.js +0 -6
  489. package/dist/calcite/3HC2LTHR.js +0 -6
  490. package/dist/calcite/455MOJA6.js +0 -6
  491. package/dist/calcite/4DVWRXRA.js +0 -6
  492. package/dist/calcite/4TF5UO7R.js +0 -6
  493. package/dist/calcite/572RARTY.js +0 -6
  494. package/dist/calcite/5I36CFLM.js +0 -6
  495. package/dist/calcite/5OJMVZTI.js +0 -6
  496. package/dist/calcite/5YZTHYBK.js +0 -6
  497. package/dist/calcite/6L5EBECQ.js +0 -6
  498. package/dist/calcite/73JK3C3F.js +0 -6
  499. package/dist/calcite/7557S5FH.js +0 -6
  500. package/dist/calcite/7FJOFJBG.js +0 -6
  501. package/dist/calcite/7KUN772K.js +0 -6
  502. package/dist/calcite/7LABYE24.js +0 -6
  503. package/dist/calcite/7NPWRWEK.js +0 -6
  504. package/dist/calcite/7PQTHMQD.js +0 -6
  505. package/dist/calcite/AEIISXUM.js +0 -6
  506. package/dist/calcite/AT2QAEKC.js +0 -6
  507. package/dist/calcite/BHLCJMB4.js +0 -6
  508. package/dist/calcite/BOMPAJVU.js +0 -6
  509. package/dist/calcite/BYURAML5.js +0 -6
  510. package/dist/calcite/CRBGPV2Y.js +0 -6
  511. package/dist/calcite/CY2QE4I2.js +0 -6
  512. package/dist/calcite/D26RI2OE.js +0 -6
  513. package/dist/calcite/DCAWR655.js +0 -6
  514. package/dist/calcite/DSYDJ57C.js +0 -6
  515. package/dist/calcite/E2PVAX5K.js +0 -6
  516. package/dist/calcite/EH7S4XKL.js +0 -6
  517. package/dist/calcite/FGCHRTFU.js +0 -6
  518. package/dist/calcite/FIJQNNLL.js +0 -6
  519. package/dist/calcite/FIVGOTUL.js +0 -6
  520. package/dist/calcite/FPZSDG22.js +0 -6
  521. package/dist/calcite/FQJWCM6B.js +0 -6
  522. package/dist/calcite/FRK56FXW.js +0 -6
  523. package/dist/calcite/FSORFWYW.js +0 -6
  524. package/dist/calcite/FWSMKN2T.js +0 -6
  525. package/dist/calcite/GGQW5H6B.js +0 -6
  526. package/dist/calcite/GHY53YEU.js +0 -6
  527. package/dist/calcite/GWGCBSIN.js +0 -6
  528. package/dist/calcite/HH5FL6GD.js +0 -6
  529. package/dist/calcite/HNNE5R46.js +0 -6
  530. package/dist/calcite/HRVN7KZA.js +0 -6
  531. package/dist/calcite/I3TEC7IS.js +0 -6
  532. package/dist/calcite/I5SQS3SN.js +0 -6
  533. package/dist/calcite/I74ZLJFG.js +0 -6
  534. package/dist/calcite/I7SBXLRM.js +0 -6
  535. package/dist/calcite/IEJMBPJU.js +0 -6
  536. package/dist/calcite/IK3QCAZN.js +0 -6
  537. package/dist/calcite/IKOOMPAX.js +0 -6
  538. package/dist/calcite/IPDH2LDG.js +0 -6
  539. package/dist/calcite/IUBUCDD6.js +0 -6
  540. package/dist/calcite/JCMCWR7J.js +0 -6
  541. package/dist/calcite/JHGP2C56.js +0 -6
  542. package/dist/calcite/JMNIVK3R.js +0 -6
  543. package/dist/calcite/KDCUMRGX.js +0 -6
  544. package/dist/calcite/KEFBUO23.js +0 -6
  545. package/dist/calcite/KHNXDA3R.js +0 -6
  546. package/dist/calcite/KLEV3IGL.js +0 -6
  547. package/dist/calcite/LIT6HBCV.js +0 -6
  548. package/dist/calcite/LKXA7MRG.js +0 -6
  549. package/dist/calcite/LMTPIXJD.js +0 -6
  550. package/dist/calcite/M3MFRN64.js +0 -6
  551. package/dist/calcite/M5MPF4VA.js +0 -6
  552. package/dist/calcite/MWGGE65N.js +0 -6
  553. package/dist/calcite/MXNAKF47.js +0 -6
  554. package/dist/calcite/NNKZWGGT.js +0 -6
  555. package/dist/calcite/NVQN43XK.js +0 -6
  556. package/dist/calcite/OHLVZUJX.js +0 -6
  557. package/dist/calcite/OHR7IMVY.js +0 -6
  558. package/dist/calcite/OJ5D52RG.js +0 -6
  559. package/dist/calcite/OJ5H4H4N.js +0 -6
  560. package/dist/calcite/OTT2SAVW.js +0 -6
  561. package/dist/calcite/OTYNRKUI.js +0 -6
  562. package/dist/calcite/PO4EKM6H.js +0 -6
  563. package/dist/calcite/PPU55N5C.js +0 -6
  564. package/dist/calcite/PRGXXMHF.js +0 -6
  565. package/dist/calcite/PZ34QZ44.js +0 -6
  566. package/dist/calcite/PZ65523C.js +0 -6
  567. package/dist/calcite/PZGFP3J5.js +0 -6
  568. package/dist/calcite/Q2OAKI4L.js +0 -7
  569. package/dist/calcite/QIOSM7C2.js +0 -6
  570. package/dist/calcite/QS2B427U.js +0 -6
  571. package/dist/calcite/QVG465DZ.js +0 -6
  572. package/dist/calcite/RJU34JMH.js +0 -6
  573. package/dist/calcite/RL6ENWBS.js +0 -6
  574. package/dist/calcite/RWRTOY74.js +0 -6
  575. package/dist/calcite/S66ATD4V.js +0 -6
  576. package/dist/calcite/SHIZHTEP.js +0 -6
  577. package/dist/calcite/SY776R43.js +0 -6
  578. package/dist/calcite/T2M3KJPZ.js +0 -6
  579. package/dist/calcite/T7AHSVKE.js +0 -6
  580. package/dist/calcite/TBZM4XEW.js +0 -6
  581. package/dist/calcite/THTH4FYX.js +0 -6
  582. package/dist/calcite/TI4ZYY5Y.js +0 -6
  583. package/dist/calcite/TKE6VYZT.js +0 -6
  584. package/dist/calcite/TR3TLSTJ.js +0 -6
  585. package/dist/calcite/TSUCKRY4.js +0 -6
  586. package/dist/calcite/TWZNPBFB.js +0 -6
  587. package/dist/calcite/U5AZRHO7.js +0 -6
  588. package/dist/calcite/UE43U5QZ.js +0 -6
  589. package/dist/calcite/UHCCT74Q.js +0 -6
  590. package/dist/calcite/USP47AIY.js +0 -6
  591. package/dist/calcite/V3ZZW4SK.js +0 -6
  592. package/dist/calcite/WBOLRFTK.js +0 -6
  593. package/dist/calcite/WH3NETOG.js +0 -6
  594. package/dist/calcite/WHD4MFC3.js +0 -6
  595. package/dist/calcite/WJ6LOMWZ.js +0 -6
  596. package/dist/calcite/WKI76QXV.js +0 -6
  597. package/dist/calcite/WRQMW4QF.js +0 -24
  598. package/dist/calcite/X4RLJXN2.js +0 -6
  599. package/dist/calcite/XDGCDDNX.js +0 -8
  600. package/dist/calcite/XL6QBGWC.js +0 -6
  601. package/dist/calcite/XVBU5M6P.js +0 -6
  602. package/dist/calcite/Z4XCJ5VE.js +0 -6
  603. package/dist/calcite/ZQERQE2F.js +0 -6
  604. package/dist/calcite/ZYUUIPOD.js +0 -6
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.99
5
- */
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
6
4
  function c(){return typeof window<"u"}function s(n){return p(n)?(n.nodeName||"").toLowerCase():"#document"}function i(n){var t;return(n==null||(t=n.ownerDocument)==null?void 0:t.defaultView)||window}function E(n){var t;return(t=(p(n)?n.ownerDocument:n.document)||window.document)==null?void 0:t.documentElement}function p(n){return c()?n instanceof Node||n instanceof i(n).Node:!1}function m(n){return c()?n instanceof Element||n instanceof i(n).Element:!1}function w(n){return c()?n instanceof HTMLElement||n instanceof i(n).HTMLElement:!1}function a(n){return!c()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof i(n).ShadowRoot}function y(n){let{overflow:t,overflowX:e,overflowY:o,display:r}=b(n);return/auto|scroll|overlay|hidden|clip/.test(t+o+e)&&!["inline","contents"].includes(r)}function D(n){return["table","td","th"].includes(s(n))}function N(n){return[":popover-open",":modal"].some(t=>{try{return n.matches(t)}catch{return!1}})}function T(n){let t=L(),e=m(n)?b(n):n;return["transform","translate","scale","rotate","perspective"].some(o=>e[o]?e[o]!=="none":!1)||(e.containerType?e.containerType!=="normal":!1)||!t&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!t&&(e.filter?e.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(e.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(e.contain||"").includes(o))}function k(n){let t=u(n);for(;w(t)&&!g(t);){if(T(t))return t;if(N(t))return null;t=u(t)}return null}function L(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function g(n){return["html","body","#document"].includes(s(n))}function b(n){return i(n).getComputedStyle(n)}function C(n){return m(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function u(n){if(s(n)==="html")return n;let t=n.assignedSlot||n.parentNode||a(n)&&n.host||E(n);return a(t)?t.host:t}function h(n){let t=u(n);return g(t)?n.ownerDocument?n.ownerDocument.body:n.body:w(t)&&y(t)?t:h(t)}function d(n,t,e){var o;t===void 0&&(t=[]),e===void 0&&(e=!0);let r=h(n),S=r===((o=n.ownerDocument)==null?void 0:o.body),l=i(r);if(S){let f=v(l);return t.concat(l,l.visualViewport||[],y(r)?r:[],f&&e?d(f):[])}return t.concat(r,d(r,[],e))}function v(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}export{s as a,i as b,E as c,m as d,w as e,y as f,D as g,N as h,T as i,k as j,L as k,g as l,b as m,C as n,u as o,h as p,d as q,v as r};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
4
+ import{a as x,h as v,k as B,l as f,m as $,n as p,o as m,p as y,q as o,r as c,s as T}from"./CNTBFQBL.js";import"./7CQS22FK.js";import"./LWAXFXVK.js";import{a as k}from"./TTARWRVZ.js";import{b as d}from"./QV6PXGLB.js";import{l as D}from"./NLK3OCCK.js";import{b as E}from"./6OPQR7PL.js";import"./OLP7ABVK.js";import{J as V,e as F,f as C,v as O,w as S,x as I}from"./D7X7U5LL.js";var g={container:"container",hexInput:"hex-input",opacityInput:"opacity-input"},U=F`:host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:100px;margin-inline-start:-1px}:host([hidden]){display:none}[hidden]{display:none}`,b=x(),N=class extends S{constructor(){super(...arguments),this.internalColor=b,this.alphaChannel=!1,this.allowEmpty=!1,this.hexLabel="Hex",this.scale="m",this.value=o(c(b,this.alphaChannel),this.alphaChannel,!0),this.calciteColorPickerHexInputChange=O({cancelable:!1})}static{this.properties={internalColor:16,alphaChannel:5,allowEmpty:5,hexLabel:1,messages:0,numberingSystem:1,scale:3,value:3}}static{this.styles=U}async setFocus(){return await E(this),D(this.hexInputNode)}connectedCallback(){super.connectedCallback(),this.previousNonNullValue=this.value;let{allowEmpty:t,alphaChannel:e,value:a}=this;if(a){let n=o(a,e);p(n,e)&&this.internalSetValue(n,n,!1);return}t&&this.internalSetValue(void 0,void 0,!1)}load(){}willUpdate(t){t.has("value")&&(this.hasUpdated||this.value!==o(c(b,this.alphaChannel),this.alphaChannel,!0))&&this.internalSetValue(this.value,t.get("value"),!1)}loaded(){}onHexInputBlur(){let t=this.hexInputNode,e=t.value,a=`#${e}`,{allowEmpty:n,internalColor:i}=this,s=n&&!e,l=y(a);(m(a,!0)||m(a,!1))&&this.onHexInputChange(),!(s||p(a)&&l)&&(t.value=n&&!i?"":this.formatHexForInternalInput(T(i.object())))}onOpacityInputBlur(){let t=this.opacityInputNode,e=t.value,{allowEmpty:a,internalColor:n}=this;a&&!e||(t.value=a&&!n?"":this.formatOpacityForInternalInput(n))}onOpacityInputInput(){this.onOpacityInputChange()}onHexInputChange(){let t=this.hexInputNode.value;if(t){let e=o(t,!1);if(p(e)&&this.alphaChannel&&this.internalColor){let a=o(this.internalColor.hexa(),!0).slice(-2);t=`${e+a}`}}this.internalSetValue(t,this.value)}onOpacityInputChange(){let t=this.opacityInputNode,e;if(!t.value)e=t.value;else{let a=$(Number(t.value));e=this.internalColor?.alpha(a).hexa()}this.internalSetValue(e,this.value)}onInputFocus(t){t.type==="calciteInternalInputTextFocus"?this.hexInputNode.selectText():this.opacityInputNode.selectText()}onHexInputInput(){let t=`#${this.hexInputNode.value}`,e=this.value;p(t,this.alphaChannel)&&y(t,this.alphaChannel)&&this.internalSetValue(t,e)}onInputKeyDown(t){let{altKey:e,ctrlKey:a,metaKey:n,shiftKey:i}=t,{alphaChannel:s,hexInputNode:l,internalColor:r,value:u}=this,{key:h}=t,w=t.composedPath();if(h==="Tab"&&m(u,this.alphaChannel)||h==="Enter"){w.includes(l)?this.onHexInputChange():this.onOpacityInputChange(),h==="Enter"&&t.preventDefault();return}let K=h==="ArrowDown"||h==="ArrowUp",H=this.value;if(K){if(!u){this.internalSetValue(this.previousNonNullValue,H),t.preventDefault();return}let A=h==="ArrowUp"?1:-1,z=i?10:1;this.internalSetValue(c(this.nudgeRGBChannels(r,z*A,w.includes(l)?"rgb":"a"),s),H),t.preventDefault();return}let P=e||a||n,R=h.length===1,L=B.test(h);R&&!P&&!L&&t.preventDefault()}onHexInputPaste(t){let e=t.clipboardData.getData("text");p(e,this.alphaChannel)&&y(e,this.alphaChannel)&&(t.preventDefault(),this.hexInputNode.value=e.slice(1),this.internalSetValue(e,this.value))}internalSetValue(t,e,a=!0){if(t){let{alphaChannel:n}=this,i=o(t,n,n);if(p(i,n)){let{internalColor:s}=this,l=x(i),r=o(c(l,n),n),u=!s||r!==o(c(s,n),n);this.internalColor=l,this.previousNonNullValue=r,this.value=r,u&&a&&this.calciteColorPickerHexInputChange.emit();return}}else if(this.allowEmpty){this.internalColor=void 0,this.value=void 0,a&&this.calciteColorPickerHexInputChange.emit();return}this.value=e}storeHexInputRef(t){this.hexInputNode=t}storeOpacityInputRef(t){this.opacityInputNode=t}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${f(t.alpha())}`:""}nudgeRGBChannels(t,e,a){let n,i=t.array(),s=i.slice(0,3);if(a==="rgb")n=[...s.map(l=>l+e),this.alphaChannel?i[3]:void 0];else{let l=$(f(t.alpha())+e);n=[...s,l]}return x(n)}render(){let{alphaChannel:t,hexLabel:e,internalColor:a,messages:n,scale:i,value:s}=this,l=this.formatHexForInternalInput(s),r=this.formatOpacityForInternalInput(a),u=i==="l"?"m":"s";return C`<div class=${I(g.container)}><calcite-input-text class=${I(g.hexInput)} .label=${n?.hex||e} .maxLength=${this.alphaChannel?8:6} @keydown=${this.onInputKeyDown} @paste=${this.onHexInputPaste} @calciteInputTextChange=${this.onHexInputChange} @calciteInputTextInput=${this.onHexInputInput} @calciteInternalInputTextBlur=${this.onHexInputBlur} @calciteInternalInputTextFocus=${this.onInputFocus} prefix-text=# .scale=${u} .value=${l} ${d(this.storeHexInputRef)}></calcite-input-text>${t?k("opacity-input",C`<calcite-input-number class=${I(g.opacityInput)} .label=${n?.opacity} .max=${v.max} max-length=3 .min=${v.min} number-button-type=none .numberingSystem=${this.numberingSystem} @keydown=${this.onInputKeyDown} @calciteInputNumberInput=${this.onOpacityInputInput} @calciteInternalInputNumberBlur=${this.onOpacityInputBlur} @calciteInternalInputNumberFocus=${this.onInputFocus} .scale=${u} suffix-text=% .value=${r} ${d(this.storeOpacityInputRef)}></calcite-input-number>`):null}</div>`}};V("calcite-color-picker-hex-input",N);export{N as ColorPickerHexInput};
@@ -1,7 +1,5 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.99
5
- */
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
6
4
  function h(a,r){var i=a==null?null:typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(i!=null){var c,e,n,o,t=[],u=!0,A=!1;try{if(n=(i=i.call(a)).next,r!==0)for(;!(u=(c=n.call(i)).done)&&(t.push(c.value),t.length!==r);u=!0);}catch(l){A=!0,e=l}finally{try{if(!u&&i.return!=null&&(o=i.return(),Object(o)!==o))return}finally{if(A)throw e}}return t}}function E(a,r){var i=Object.keys(a);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(a);r&&(c=c.filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})),i.push.apply(i,c)}return i}function m(a){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?E(Object(i),!0).forEach(function(c){S(a,c,i[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(i)):E(Object(i)).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(i,c))})}return a}function S(a,r,i){return r=_(r),r in a?Object.defineProperty(a,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[r]=i,a}function b(a,r){if(a==null)return{};var i={},c=Object.keys(a),e,n;for(n=0;n<c.length;n++)e=c[n],!(r.indexOf(e)>=0)&&(i[e]=a[e]);return i}function G(a,r){if(a==null)return{};var i=b(a,r),c,e;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);for(e=0;e<n.length;e++)c=n[e],!(r.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(a,c)&&(i[c]=a[c])}return i}function B(a,r){return R(a)||h(a,r)||y(a,r)||U()}function R(a){if(Array.isArray(a))return a}function y(a,r){if(a){if(typeof a=="string")return g(a,r);var i=Object.prototype.toString.call(a).slice(8,-1);if(i==="Object"&&a.constructor&&(i=a.constructor.name),i==="Map"||i==="Set")return Array.from(a);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return g(a,r)}}function g(a,r){(r==null||r>a.length)&&(r=a.length);for(var i=0,c=new Array(r);i<r;i++)c[i]=a[i];return c}function U(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
5
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function I(a,r){if(typeof a!="object"||a===null)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var c=i.call(a,r||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(a)}function _(a){var r=I(a,"string");return typeof r=="symbol"?r:String(r)}var v={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"\xC5land Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barth\xE9lemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Caribbean Netherlands",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos Islands",CD:"Democratic Republic of the Congo",CF:"Central African Republic",CG:"Republic of the Congo",CH:"Switzerland",CI:"Ivory Coast",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cabo Verde",CW:"Cura\xE7ao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czechia",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"R\xE9union",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena, Ascension and Tristan da Cunha",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Eswatini",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"T\xFCrkiye",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"United States Minor Outlying Islands",US:"United States of America",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"Virgin Islands (UK)",VI:"Virgin Islands (US)",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"},N={"Africa/Abidjan":{u:0,c:["CI","BF","GH","GM","GN","IS","ML","MR","SH","SL","SN","TG"]},"Africa/Accra":{a:"Africa/Abidjan",c:["GH"],r:1},"Africa/Addis_Ababa":{a:"Africa/Nairobi",c:["ET"],r:1},"Africa/Algiers":{u:60,c:["DZ"]},"Africa/Asmara":{a:"Africa/Nairobi",c:["ER"],r:1},"Africa/Asmera":{a:"Africa/Nairobi",c:["ER"],r:1},"Africa/Bamako":{a:"Africa/Abidjan",c:["ML"],r:1},"Africa/Bangui":{a:"Africa/Lagos",c:["CF"],r:1},"Africa/Banjul":{a:"Africa/Abidjan",c:["GM"],r:1},"Africa/Bissau":{u:0,c:["GW"]},"Africa/Blantyre":{a:"Africa/Maputo",c:["MW"],r:1},"Africa/Brazzaville":{a:"Africa/Lagos",c:["CG"],r:1},"Africa/Bujumbura":{a:"Africa/Maputo",c:["BI"],r:1},"Africa/Cairo":{u:120,d:180,c:["EG"]},"Africa/Casablanca":{u:60,d:0,c:["MA"]},"Africa/Ceuta":{u:60,d:120,c:["ES"]},"Africa/Conakry":{a:"Africa/Abidjan",c:["GN"],r:1},"Africa/Dakar":{a:"Africa/Abidjan",c:["SN"],r:1},"Africa/Dar_es_Salaam":{a:"Africa/Nairobi",c:["TZ"],r:1},"Africa/Djibouti":{a:"Africa/Nairobi",c:["DJ"],r:1},"Africa/Douala":{a:"Africa/Lagos",c:["CM"],r:1},"Africa/El_Aaiun":{u:60,d:0,c:["EH"]},"Africa/Freetown":{a:"Africa/Abidjan",c:["SL"],r:1},"Africa/Gaborone":{a:"Africa/Maputo",c:["BW"],r:1},"Africa/Harare":{a:"Africa/Maputo",c:["ZW"],r:1},"Africa/Johannesburg":{u:120,c:["ZA","LS","SZ"]},"Africa/Juba":{u:120,c:["SS"]},"Africa/Kampala":{a:"Africa/Nairobi",c:["UG"],r:1},"Africa/Khartoum":{u:120,c:["SD"]},"Africa/Kigali":{a:"Africa/Maputo",c:["RW"],r:1},"Africa/Kinshasa":{a:"Africa/Lagos",c:["CD"],r:1},"Africa/Lagos":{u:60,c:["NG","AO","BJ","CD","CF","CG","CM","GA","GQ","NE"]},"Africa/Libreville":{a:"Africa/Lagos",c:["GA"],r:1},"Africa/Lome":{a:"Africa/Abidjan",c:["TG"],r:1},"Africa/Luanda":{a:"Africa/Lagos",c:["AO"],r:1},"Africa/Lubumbashi":{a:"Africa/Maputo",c:["CD"],r:1},"Africa/Lusaka":{a:"Africa/Maputo",c:["ZM"],r:1},"Africa/Malabo":{a:"Africa/Lagos",c:["GQ"],r:1},"Africa/Maputo":{u:120,c:["MZ","BI","BW","CD","MW","RW","ZM","ZW"]},"Africa/Maseru":{a:"Africa/Johannesburg",c:["LS"],r:1},"Africa/Mbabane":{a:"Africa/Johannesburg",c:["SZ"],r:1},"Africa/Mogadishu":{a:"Africa/Nairobi",c:["SO"],r:1},"Africa/Monrovia":{u:0,c:["LR"]},"Africa/Nairobi":{u:180,c:["KE","DJ","ER","ET","KM","MG","SO","TZ","UG","YT"]},"Africa/Ndjamena":{u:60,c:["TD"]},"Africa/Niamey":{a:"Africa/Lagos",c:["NE"],r:1},"Africa/Nouakchott":{a:"Africa/Abidjan",c:["MR"],r:1},"Africa/Ouagadougou":{a:"Africa/Abidjan",c:["BF"],r:1},"Africa/Porto-Novo":{a:"Africa/Lagos",c:["BJ"],r:1},"Africa/Sao_Tome":{u:0,c:["ST"]},"Africa/Timbuktu":{a:"Africa/Abidjan",c:["ML"],r:1},"Africa/Tripoli":{u:120,c:["LY"]},"Africa/Tunis":{u:60,c:["TN"]},"Africa/Windhoek":{u:120,c:["NA"]},"America/Adak":{u:-600,d:-540,c:["US"]},"America/Anchorage":{u:-540,d:-480,c:["US"]},"America/Anguilla":{a:"America/Puerto_Rico",c:["AI"],r:1},"America/Antigua":{a:"America/Puerto_Rico",c:["AG"],r:1},"America/Araguaina":{u:-180,c:["BR"]},"America/Argentina/Buenos_Aires":{u:-180,c:["AR"]},"America/Argentina/Catamarca":{u:-180,c:["AR"]},"America/Argentina/ComodRivadavia":{a:"America/Argentina/Catamarca",r:1},"America/Argentina/Cordoba":{u:-180,c:["AR"]},"America/Argentina/Jujuy":{u:-180,c:["AR"]},"America/Argentina/La_Rioja":{u:-180,c:["AR"]},"America/Argentina/Mendoza":{u:-180,c:["AR"]},"America/Argentina/Rio_Gallegos":{u:-180,c:["AR"]},"America/Argentina/Salta":{u:-180,c:["AR"]},"America/Argentina/San_Juan":{u:-180,c:["AR"]},"America/Argentina/San_Luis":{u:-180,c:["AR"]},"America/Argentina/Tucuman":{u:-180,c:["AR"]},"America/Argentina/Ushuaia":{u:-180,c:["AR"]},"America/Aruba":{a:"America/Puerto_Rico",c:["AW"],r:1},"America/Asuncion":{u:-240,d:-180,c:["PY"]},"America/Atikokan":{a:"America/Panama",c:["CA"],r:1},"America/Atka":{a:"America/Adak",r:1},"America/Bahia":{u:-180,c:["BR"]},"America/Bahia_Banderas":{u:-360,c:["MX"]},"America/Barbados":{u:-240,c:["BB"]},"America/Belem":{u:-180,c:["BR"]},"America/Belize":{u:-360,c:["BZ"]},"America/Blanc-Sablon":{a:"America/Puerto_Rico",c:["CA"],r:1},"America/Boa_Vista":{u:-240,c:["BR"]},"America/Bogota":{u:-300,c:["CO"]},"America/Boise":{u:-420,d:-360,c:["US"]},"America/Buenos_Aires":{a:"America/Argentina/Buenos_Aires",r:1},"America/Cambridge_Bay":{u:-420,d:-360,c:["CA"]},"America/Campo_Grande":{u:-240,c:["BR"]},"America/Cancun":{u:-300,c:["MX"]},"America/Caracas":{u:-240,c:["VE"]},"America/Catamarca":{a:"America/Argentina/Catamarca",r:1},"America/Cayenne":{u:-180,c:["GF"]},"America/Cayman":{a:"America/Panama",c:["KY"],r:1},"America/Chicago":{u:-360,d:-300,c:["US"]},"America/Chihuahua":{u:-360,c:["MX"]},"America/Ciudad_Juarez":{u:-420,d:-360,c:["MX"]},"America/Coral_Harbour":{a:"America/Panama",c:["CA"],r:1},"America/Cordoba":{a:"America/Argentina/Cordoba",r:1},"America/Costa_Rica":{u:-360,c:["CR"]},"America/Creston":{a:"America/Phoenix",c:["CA"],r:1},"America/Cuiaba":{u:-240,c:["BR"]},"America/Curacao":{a:"America/Puerto_Rico",c:["CW"],r:1},"America/Danmarkshavn":{u:0,c:["GL"]},"America/Dawson":{u:-420,c:["CA"]},"America/Dawson_Creek":{u:-420,c:["CA"]},"America/Denver":{u:-420,d:-360,c:["US"]},"America/Detroit":{u:-300,d:-240,c:["US"]},"America/Dominica":{a:"America/Puerto_Rico",c:["DM"],r:1},"America/Edmonton":{u:-420,d:-360,c:["CA"]},"America/Eirunepe":{u:-300,c:["BR"]},"America/El_Salvador":{u:-360,c:["SV"]},"America/Ensenada":{a:"America/Tijuana",r:1},"America/Fort_Nelson":{u:-420,c:["CA"]},"America/Fort_Wayne":{a:"America/Indiana/Indianapolis",r:1},"America/Fortaleza":{u:-180,c:["BR"]},"America/Glace_Bay":{u:-240,d:-180,c:["CA"]},"America/Godthab":{a:"America/Nuuk",r:1},"America/Goose_Bay":{u:-240,d:-180,c:["CA"]},"America/Grand_Turk":{u:-300,d:-240,c:["TC"]},"America/Grenada":{a:"America/Puerto_Rico",c:["GD"],r:1},"America/Guadeloupe":{a:"America/Puerto_Rico",c:["GP"],r:1},"America/Guatemala":{u:-360,c:["GT"]},"America/Guayaquil":{u:-300,c:["EC"]},"America/Guyana":{u:-240,c:["GY"]},"America/Halifax":{u:-240,d:-180,c:["CA"]},"America/Havana":{u:-300,d:-240,c:["CU"]},"America/Hermosillo":{u:-420,c:["MX"]},"America/Indiana/Indianapolis":{u:-300,d:-240,c:["US"]},"America/Indiana/Knox":{u:-360,d:-300,c:["US"]},"America/Indiana/Marengo":{u:-300,d:-240,c:["US"]},"America/Indiana/Petersburg":{u:-300,d:-240,c:["US"]},"America/Indiana/Tell_City":{u:-360,d:-300,c:["US"]},"America/Indiana/Vevay":{u:-300,d:-240,c:["US"]},"America/Indiana/Vincennes":{u:-300,d:-240,c:["US"]},"America/Indiana/Winamac":{u:-300,d:-240,c:["US"]},"America/Indianapolis":{a:"America/Indiana/Indianapolis",r:1},"America/Inuvik":{u:-420,d:-360,c:["CA"]},"America/Iqaluit":{u:-300,d:-240,c:["CA"]},"America/Jamaica":{u:-300,c:["JM"]},"America/Jujuy":{a:"America/Argentina/Jujuy",r:1},"America/Juneau":{u:-540,d:-480,c:["US"]},"America/Kentucky/Louisville":{u:-300,d:-240,c:["US"]},"America/Kentucky/Monticello":{u:-300,d:-240,c:["US"]},"America/Knox_IN":{a:"America/Indiana/Knox",r:1},"America/Kralendijk":{a:"America/Puerto_Rico",c:["BQ"],r:1},"America/La_Paz":{u:-240,c:["BO"]},"America/Lima":{u:-300,c:["PE"]},"America/Los_Angeles":{u:-480,d:-420,c:["US"]},"America/Louisville":{a:"America/Kentucky/Louisville",r:1},"America/Lower_Princes":{a:"America/Puerto_Rico",c:["SX"],r:1},"America/Maceio":{u:-180,c:["BR"]},"America/Managua":{u:-360,c:["NI"]},"America/Manaus":{u:-240,c:["BR"]},"America/Marigot":{a:"America/Puerto_Rico",c:["MF"],r:1},"America/Martinique":{u:-240,c:["MQ"]},"America/Matamoros":{u:-360,d:-300,c:["MX"]},"America/Mazatlan":{u:-420,c:["MX"]},"America/Mendoza":{a:"America/Argentina/Mendoza",r:1},"America/Menominee":{u:-360,d:-300,c:["US"]},"America/Merida":{u:-360,c:["MX"]},"America/Metlakatla":{u:-540,d:-480,c:["US"]},"America/Mexico_City":{u:-360,c:["MX"]},"America/Miquelon":{u:-180,d:-120,c:["PM"]},"America/Moncton":{u:-240,d:-180,c:["CA"]},"America/Monterrey":{u:-360,c:["MX"]},"America/Montevideo":{u:-180,c:["UY"]},"America/Montreal":{a:"America/Toronto",c:["CA"],r:1},"America/Montserrat":{a:"America/Puerto_Rico",c:["MS"],r:1},"America/Nassau":{a:"America/Toronto",c:["BS"],r:1},"America/New_York":{u:-300,d:-240,c:["US"]},"America/Nipigon":{a:"America/Toronto",c:["CA"],r:1},"America/Nome":{u:-540,d:-480,c:["US"]},"America/Noronha":{u:-120,c:["BR"]},"America/North_Dakota/Beulah":{u:-360,d:-300,c:["US"]},"America/North_Dakota/Center":{u:-360,d:-300,c:["US"]},"America/North_Dakota/New_Salem":{u:-360,d:-300,c:["US"]},"America/Nuuk":{u:-120,d:-60,c:["GL"]},"America/Ojinaga":{u:-360,d:-300,c:["MX"]},"America/Panama":{u:-300,c:["PA","CA","KY"]},"America/Pangnirtung":{a:"America/Iqaluit",r:1},"America/Paramaribo":{u:-180,c:["SR"]},"America/Phoenix":{u:-420,c:["US","CA"]},"America/Port-au-Prince":{u:-300,d:-240,c:["HT"]},"America/Port_of_Spain":{a:"America/Puerto_Rico",c:["TT"],r:1},"America/Porto_Acre":{a:"America/Rio_Branco",r:1},"America/Porto_Velho":{u:-240,c:["BR"]},"America/Puerto_Rico":{u:-240,c:["PR","AG","CA","AI","AW","BL","BQ","CW","DM","GD","GP","KN","LC","MF","MS","SX","TT","VC","VG","VI"]},"America/Punta_Arenas":{u:-180,c:["CL"]},"America/Rainy_River":{a:"America/Winnipeg",r:1},"America/Rankin_Inlet":{u:-360,d:-300,c:["CA"]},"America/Recife":{u:-180,c:["BR"]},"America/Regina":{u:-360,c:["CA"]},"America/Resolute":{u:-360,d:-300,c:["CA"]},"America/Rio_Branco":{u:-300,c:["BR"]},"America/Rosario":{a:"America/Argentina/Cordoba",r:1},"America/Santa_Isabel":{a:"America/Tijuana",r:1},"America/Santarem":{u:-180,c:["BR"]},"America/Santiago":{u:-240,d:-180,c:["CL"]},"America/Santo_Domingo":{u:-240,c:["DO"]},"America/Sao_Paulo":{u:-180,c:["BR"]},"America/Scoresbysund":{u:-60,d:0,c:["GL"]},"America/Shiprock":{a:"America/Denver",r:1},"America/Sitka":{u:-540,d:-480,c:["US"]},"America/St_Barthelemy":{a:"America/Puerto_Rico",c:["BL"],r:1},"America/St_Johns":{u:-210,d:-150,c:["CA"]},"America/St_Kitts":{a:"America/Puerto_Rico",c:["KN"],r:1},"America/St_Lucia":{a:"America/Puerto_Rico",c:["LC"],r:1},"America/St_Thomas":{a:"America/Puerto_Rico",c:["VI"],r:1},"America/St_Vincent":{a:"America/Puerto_Rico",c:["VC"],r:1},"America/Swift_Current":{u:-360,c:["CA"]},"America/Tegucigalpa":{u:-360,c:["HN"]},"America/Thule":{u:-240,d:-180,c:["GL"]},"America/Thunder_Bay":{a:"America/Toronto",c:["CA"],r:1},"America/Tijuana":{u:-480,d:-420,c:["MX"]},"America/Toronto":{u:-300,d:-240,c:["CA","BS"]},"America/Tortola":{a:"America/Puerto_Rico",c:["VG"],r:1},"America/Vancouver":{u:-480,d:-420,c:["CA"]},"America/Virgin":{a:"America/Puerto_Rico",c:["VI"],r:1},"America/Whitehorse":{u:-420,c:["CA"]},"America/Winnipeg":{u:-360,d:-300,c:["CA"]},"America/Yakutat":{u:-540,d:-480,c:["US"]},"America/Yellowknife":{a:"America/Edmonton",r:1},"Antarctica/Casey":{u:660,c:["AQ"]},"Antarctica/Davis":{u:420,c:["AQ"]},"Antarctica/DumontDUrville":{a:"Pacific/Port_Moresby",c:["AQ"],r:1},"Antarctica/Macquarie":{u:600,d:660,c:["AU"]},"Antarctica/Mawson":{u:300,c:["AQ"]},"Antarctica/McMurdo":{a:"Pacific/Auckland",c:["AQ"],r:1},"Antarctica/Palmer":{u:-180,c:["AQ"]},"Antarctica/Rothera":{u:-180,c:["AQ"]},"Antarctica/South_Pole":{a:"Pacific/Auckland",c:["AQ"],r:1},"Antarctica/Syowa":{a:"Asia/Riyadh",c:["AQ"],r:1},"Antarctica/Troll":{u:0,d:120,c:["AQ"]},"Antarctica/Vostok":{a:"Asia/Urumqi",c:["AQ"],r:1},"Arctic/Longyearbyen":{a:"Europe/Berlin",c:["SJ"],r:1},"Asia/Aden":{a:"Asia/Riyadh",c:["YE"],r:1},"Asia/Almaty":{u:360,c:["KZ"]},"Asia/Amman":{u:180,c:["JO"]},"Asia/Anadyr":{u:720,c:["RU"]},"Asia/Aqtau":{u:300,c:["KZ"]},"Asia/Aqtobe":{u:300,c:["KZ"]},"Asia/Ashgabat":{u:300,c:["TM"]},"Asia/Ashkhabad":{a:"Asia/Ashgabat",r:1},"Asia/Atyrau":{u:300,c:["KZ"]},"Asia/Baghdad":{u:180,c:["IQ"]},"Asia/Bahrain":{a:"Asia/Qatar",c:["BH"],r:1},"Asia/Baku":{u:240,c:["AZ"]},"Asia/Bangkok":{u:420,c:["TH","CX","KH","LA","VN"]},"Asia/Barnaul":{u:420,c:["RU"]},"Asia/Beirut":{u:120,d:180,c:["LB"]},"Asia/Bishkek":{u:360,c:["KG"]},"Asia/Brunei":{a:"Asia/Kuching",c:["BN"],r:1},"Asia/Calcutta":{a:"Asia/Kolkata",r:1},"Asia/Chita":{u:540,c:["RU"]},"Asia/Choibalsan":{u:480,c:["MN"]},"Asia/Chongqing":{a:"Asia/Shanghai",r:1},"Asia/Chungking":{a:"Asia/Shanghai",r:1},"Asia/Colombo":{u:330,c:["LK"]},"Asia/Dacca":{a:"Asia/Dhaka",r:1},"Asia/Damascus":{u:180,c:["SY"]},"Asia/Dhaka":{u:360,c:["BD"]},"Asia/Dili":{u:540,c:["TL"]},"Asia/Dubai":{u:240,c:["AE","OM","RE","SC","TF"]},"Asia/Dushanbe":{u:300,c:["TJ"]},"Asia/Famagusta":{u:120,d:180,c:["CY"]},"Asia/Gaza":{u:120,d:180,c:["PS"]},"Asia/Harbin":{a:"Asia/Shanghai",r:1},"Asia/Hebron":{u:120,d:180,c:["PS"]},"Asia/Ho_Chi_Minh":{u:420,c:["VN"]},"Asia/Hong_Kong":{u:480,c:["HK"]},"Asia/Hovd":{u:420,c:["MN"]},"Asia/Irkutsk":{u:480,c:["RU"]},"Asia/Istanbul":{a:"Europe/Istanbul",r:1},"Asia/Jakarta":{u:420,c:["ID"]},"Asia/Jayapura":{u:540,c:["ID"]},"Asia/Jerusalem":{u:120,d:180,c:["IL"]},"Asia/Kabul":{u:270,c:["AF"]},"Asia/Kamchatka":{u:720,c:["RU"]},"Asia/Karachi":{u:300,c:["PK"]},"Asia/Kashgar":{a:"Asia/Urumqi",c:["CN"],r:1},"Asia/Kathmandu":{u:345,c:["NP"]},"Asia/Katmandu":{a:"Asia/Kathmandu",r:1},"Asia/Khandyga":{u:540,c:["RU"]},"Asia/Kolkata":{u:330,c:["IN"]},"Asia/Krasnoyarsk":{u:420,c:["RU"]},"Asia/Kuala_Lumpur":{a:"Asia/Singapore",c:["MY"],r:1},"Asia/Kuching":{u:480,c:["MY","BN"]},"Asia/Kuwait":{a:"Asia/Riyadh",c:["KW"],r:1},"Asia/Macao":{a:"Asia/Macau",r:1},"Asia/Macau":{u:480,c:["MO"]},"Asia/Magadan":{u:660,c:["RU"]},"Asia/Makassar":{u:480,c:["ID"]},"Asia/Manila":{u:480,c:["PH"]},"Asia/Muscat":{a:"Asia/Dubai",c:["OM"],r:1},"Asia/Nicosia":{u:120,d:180,c:["CY"]},"Asia/Novokuznetsk":{u:420,c:["RU"]},"Asia/Novosibirsk":{u:420,c:["RU"]},"Asia/Omsk":{u:360,c:["RU"]},"Asia/Oral":{u:300,c:["KZ"]},"Asia/Phnom_Penh":{a:"Asia/Bangkok",c:["KH"],r:1},"Asia/Pontianak":{u:420,c:["ID"]},"Asia/Pyongyang":{u:540,c:["KP"]},"Asia/Qatar":{u:180,c:["QA","BH"]},"Asia/Qostanay":{u:360,c:["KZ"]},"Asia/Qyzylorda":{u:300,c:["KZ"]},"Asia/Rangoon":{a:"Asia/Yangon",c:["MM"],r:1},"Asia/Riyadh":{u:180,c:["SA","AQ","KW","YE"]},"Asia/Saigon":{a:"Asia/Ho_Chi_Minh",r:1},"Asia/Sakhalin":{u:660,c:["RU"]},"Asia/Samarkand":{u:300,c:["UZ"]},"Asia/Seoul":{u:540,c:["KR"]},"Asia/Shanghai":{u:480,c:["CN"]},"Asia/Singapore":{u:480,c:["SG","MY"]},"Asia/Srednekolymsk":{u:660,c:["RU"]},"Asia/Taipei":{u:480,c:["TW"]},"Asia/Tashkent":{u:300,c:["UZ"]},"Asia/Tbilisi":{u:240,c:["GE"]},"Asia/Tehran":{u:210,c:["IR"]},"Asia/Tel_Aviv":{a:"Asia/Jerusalem",r:1},"Asia/Thimbu":{a:"Asia/Thimphu",r:1},"Asia/Thimphu":{u:360,c:["BT"]},"Asia/Tokyo":{u:540,c:["JP"]},"Asia/Tomsk":{u:420,c:["RU"]},"Asia/Ujung_Pandang":{a:"Asia/Makassar",r:1},"Asia/Ulaanbaatar":{u:480,c:["MN"]},"Asia/Ulan_Bator":{a:"Asia/Ulaanbaatar",r:1},"Asia/Urumqi":{u:360,c:["CN","AQ"]},"Asia/Ust-Nera":{u:600,c:["RU"]},"Asia/Vientiane":{a:"Asia/Bangkok",c:["LA"],r:1},"Asia/Vladivostok":{u:600,c:["RU"]},"Asia/Yakutsk":{u:540,c:["RU"]},"Asia/Yangon":{u:390,c:["MM","CC"]},"Asia/Yekaterinburg":{u:300,c:["RU"]},"Asia/Yerevan":{u:240,c:["AM"]},"Atlantic/Azores":{u:-60,d:0,c:["PT"]},"Atlantic/Bermuda":{u:-240,d:-180,c:["BM"]},"Atlantic/Canary":{u:0,d:60,c:["ES"]},"Atlantic/Cape_Verde":{u:-60,c:["CV"]},"Atlantic/Faeroe":{a:"Atlantic/Faroe",r:1},"Atlantic/Faroe":{u:0,d:60,c:["FO"]},"Atlantic/Jan_Mayen":{a:"Europe/Berlin",c:["SJ"],r:1},"Atlantic/Madeira":{u:0,d:60,c:["PT"]},"Atlantic/Reykjavik":{a:"Africa/Abidjan",c:["IS"],r:1},"Atlantic/South_Georgia":{u:-120,c:["GS"]},"Atlantic/St_Helena":{a:"Africa/Abidjan",c:["SH"],r:1},"Atlantic/Stanley":{u:-180,c:["FK"]},"Australia/ACT":{a:"Australia/Sydney",r:1},"Australia/Adelaide":{u:570,d:630,c:["AU"]},"Australia/Brisbane":{u:600,c:["AU"]},"Australia/Broken_Hill":{u:570,d:630,c:["AU"]},"Australia/Canberra":{a:"Australia/Sydney",r:1},"Australia/Currie":{a:"Australia/Hobart",r:1},"Australia/Darwin":{u:570,c:["AU"]},"Australia/Eucla":{u:525,c:["AU"]},"Australia/Hobart":{u:600,d:660,c:["AU"]},"Australia/LHI":{a:"Australia/Lord_Howe",r:1},"Australia/Lindeman":{u:600,c:["AU"]},"Australia/Lord_Howe":{u:630,d:660,c:["AU"]},"Australia/Melbourne":{u:600,d:660,c:["AU"]},"Australia/NSW":{a:"Australia/Sydney",r:1},"Australia/North":{a:"Australia/Darwin",r:1},"Australia/Perth":{u:480,c:["AU"]},"Australia/Queensland":{a:"Australia/Brisbane",r:1},"Australia/South":{a:"Australia/Adelaide",r:1},"Australia/Sydney":{u:600,d:660,c:["AU"]},"Australia/Tasmania":{a:"Australia/Hobart",r:1},"Australia/Victoria":{a:"Australia/Melbourne",r:1},"Australia/West":{a:"Australia/Perth",r:1},"Australia/Yancowinna":{a:"Australia/Broken_Hill",r:1},"Brazil/Acre":{a:"America/Rio_Branco",r:1},"Brazil/DeNoronha":{a:"America/Noronha",r:1},"Brazil/East":{a:"America/Sao_Paulo",r:1},"Brazil/West":{a:"America/Manaus",r:1},CET:{u:60,d:120},CST6CDT:{u:-360,d:-300},"Canada/Atlantic":{a:"America/Halifax",r:1},"Canada/Central":{a:"America/Winnipeg",r:1},"Canada/Eastern":{a:"America/Toronto",c:["CA"],r:1},"Canada/Mountain":{a:"America/Edmonton",r:1},"Canada/Newfoundland":{a:"America/St_Johns",r:1},"Canada/Pacific":{a:"America/Vancouver",r:1},"Canada/Saskatchewan":{a:"America/Regina",r:1},"Canada/Yukon":{a:"America/Whitehorse",r:1},"Chile/Continental":{a:"America/Santiago",r:1},"Chile/EasterIsland":{a:"Pacific/Easter",r:1},Cuba:{a:"America/Havana",r:1},EET:{u:120,d:180},EST:{u:-300},EST5EDT:{u:-300,d:-240},Egypt:{a:"Africa/Cairo",r:1},Eire:{a:"Europe/Dublin",r:1},"Etc/GMT":{u:0},"Etc/GMT+0":{a:"Etc/GMT",r:1},"Etc/GMT+1":{u:-60},"Etc/GMT+10":{u:-600},"Etc/GMT+11":{u:-660},"Etc/GMT+12":{u:-720},"Etc/GMT+2":{u:-120},"Etc/GMT+3":{u:-180},"Etc/GMT+4":{u:-240},"Etc/GMT+5":{u:-300},"Etc/GMT+6":{u:-360},"Etc/GMT+7":{u:-420},"Etc/GMT+8":{u:-480},"Etc/GMT+9":{u:-540},"Etc/GMT-0":{a:"Etc/GMT",r:1},"Etc/GMT-1":{u:60},"Etc/GMT-10":{u:600},"Etc/GMT-11":{u:660},"Etc/GMT-12":{u:720},"Etc/GMT-13":{u:780},"Etc/GMT-14":{u:840},"Etc/GMT-2":{u:120},"Etc/GMT-3":{u:180},"Etc/GMT-4":{u:240},"Etc/GMT-5":{u:300},"Etc/GMT-6":{u:360},"Etc/GMT-7":{u:420},"Etc/GMT-8":{u:480},"Etc/GMT-9":{u:540},"Etc/GMT0":{a:"Etc/GMT",r:1},"Etc/Greenwich":{a:"Etc/GMT",r:1},"Etc/UCT":{a:"Etc/UTC",r:1},"Etc/UTC":{u:0},"Etc/Universal":{a:"Etc/UTC",r:1},"Etc/Zulu":{a:"Etc/UTC",r:1},"Europe/Amsterdam":{a:"Europe/Brussels",c:["NL"],r:1},"Europe/Andorra":{u:60,d:120,c:["AD"]},"Europe/Astrakhan":{u:240,c:["RU"]},"Europe/Athens":{u:120,d:180,c:["GR"]},"Europe/Belfast":{a:"Europe/London",c:["GB"],r:1},"Europe/Belgrade":{u:60,d:120,c:["RS","BA","HR","ME","MK","SI"]},"Europe/Berlin":{u:60,d:120,c:["DE","DK","NO","SE","SJ"]},"Europe/Bratislava":{a:"Europe/Prague",c:["SK"],r:1},"Europe/Brussels":{u:60,d:120,c:["BE","LU","NL"]},"Europe/Bucharest":{u:120,d:180,c:["RO"]},"Europe/Budapest":{u:60,d:120,c:["HU"]},"Europe/Busingen":{a:"Europe/Zurich",c:["DE"],r:1},"Europe/Chisinau":{u:120,d:180,c:["MD"]},"Europe/Copenhagen":{a:"Europe/Berlin",c:["DK"],r:1},"Europe/Dublin":{u:60,d:0,c:["IE"]},"Europe/Gibraltar":{u:60,d:120,c:["GI"]},"Europe/Guernsey":{a:"Europe/London",c:["GG"],r:1},"Europe/Helsinki":{u:120,d:180,c:["FI","AX"]},"Europe/Isle_of_Man":{a:"Europe/London",c:["IM"],r:1},"Europe/Istanbul":{u:180,c:["TR"]},"Europe/Jersey":{a:"Europe/London",c:["JE"],r:1},"Europe/Kaliningrad":{u:120,c:["RU"]},"Europe/Kiev":{a:"Europe/Kyiv",r:1},"Europe/Kirov":{u:180,c:["RU"]},"Europe/Kyiv":{u:120,d:180,c:["UA"]},"Europe/Lisbon":{u:0,d:60,c:["PT"]},"Europe/Ljubljana":{a:"Europe/Belgrade",c:["SI"],r:1},"Europe/London":{u:0,d:60,c:["GB","GG","IM","JE"]},"Europe/Luxembourg":{a:"Europe/Brussels",c:["LU"],r:1},"Europe/Madrid":{u:60,d:120,c:["ES"]},"Europe/Malta":{u:60,d:120,c:["MT"]},"Europe/Mariehamn":{a:"Europe/Helsinki",c:["AX"],r:1},"Europe/Minsk":{u:180,c:["BY"]},"Europe/Monaco":{a:"Europe/Paris",c:["MC"],r:1},"Europe/Moscow":{u:180,c:["RU"]},"Europe/Nicosia":{a:"Asia/Nicosia",r:1},"Europe/Oslo":{a:"Europe/Berlin",c:["NO"],r:1},"Europe/Paris":{u:60,d:120,c:["FR","MC"]},"Europe/Podgorica":{a:"Europe/Belgrade",c:["ME"],r:1},"Europe/Prague":{u:60,d:120,c:["CZ","SK"]},"Europe/Riga":{u:120,d:180,c:["LV"]},"Europe/Rome":{u:60,d:120,c:["IT","SM","VA"]},"Europe/Samara":{u:240,c:["RU"]},"Europe/San_Marino":{a:"Europe/Rome",c:["SM"],r:1},"Europe/Sarajevo":{a:"Europe/Belgrade",c:["BA"],r:1},"Europe/Saratov":{u:240,c:["RU"]},"Europe/Simferopol":{u:180,c:["RU","UA"]},"Europe/Skopje":{a:"Europe/Belgrade",c:["MK"],r:1},"Europe/Sofia":{u:120,d:180,c:["BG"]},"Europe/Stockholm":{a:"Europe/Berlin",c:["SE"],r:1},"Europe/Tallinn":{u:120,d:180,c:["EE"]},"Europe/Tirane":{u:60,d:120,c:["AL"]},"Europe/Tiraspol":{a:"Europe/Chisinau",r:1},"Europe/Ulyanovsk":{u:240,c:["RU"]},"Europe/Uzhgorod":{a:"Europe/Kyiv",r:1},"Europe/Vaduz":{a:"Europe/Zurich",c:["LI"],r:1},"Europe/Vatican":{a:"Europe/Rome",c:["VA"],r:1},"Europe/Vienna":{u:60,d:120,c:["AT"]},"Europe/Vilnius":{u:120,d:180,c:["LT"]},"Europe/Volgograd":{u:180,c:["RU"]},"Europe/Warsaw":{u:60,d:120,c:["PL"]},"Europe/Zagreb":{a:"Europe/Belgrade",c:["HR"],r:1},"Europe/Zaporozhye":{a:"Europe/Kyiv",r:1},"Europe/Zurich":{u:60,d:120,c:["CH","DE","LI"]},Factory:{u:0},GB:{a:"Europe/London",c:["GB"],r:1},"GB-Eire":{a:"Europe/London",c:["GB"],r:1},GMT:{a:"Etc/GMT",r:1},"GMT+0":{a:"Etc/GMT",r:1},"GMT-0":{a:"Etc/GMT",r:1},GMT0:{a:"Etc/GMT",r:1},Greenwich:{a:"Etc/GMT",r:1},HST:{u:-600},Hongkong:{a:"Asia/Hong_Kong",r:1},Iceland:{a:"Africa/Abidjan",c:["IS"],r:1},"Indian/Antananarivo":{a:"Africa/Nairobi",c:["MG"],r:1},"Indian/Chagos":{u:360,c:["IO"]},"Indian/Christmas":{a:"Asia/Bangkok",c:["CX"],r:1},"Indian/Cocos":{a:"Asia/Yangon",c:["CC"],r:1},"Indian/Comoro":{a:"Africa/Nairobi",c:["KM"],r:1},"Indian/Kerguelen":{a:"Indian/Maldives",c:["TF"],r:1},"Indian/Mahe":{a:"Asia/Dubai",c:["SC"],r:1},"Indian/Maldives":{u:300,c:["MV","TF"]},"Indian/Mauritius":{u:240,c:["MU"]},"Indian/Mayotte":{a:"Africa/Nairobi",c:["YT"],r:1},"Indian/Reunion":{a:"Asia/Dubai",c:["RE"],r:1},Iran:{a:"Asia/Tehran",r:1},Israel:{a:"Asia/Jerusalem",r:1},Jamaica:{a:"America/Jamaica",r:1},Japan:{a:"Asia/Tokyo",r:1},Kwajalein:{a:"Pacific/Kwajalein",r:1},Libya:{a:"Africa/Tripoli",r:1},MET:{u:60,d:120},MST:{u:-420},MST7MDT:{u:-420,d:-360},"Mexico/BajaNorte":{a:"America/Tijuana",r:1},"Mexico/BajaSur":{a:"America/Mazatlan",r:1},"Mexico/General":{a:"America/Mexico_City",r:1},NZ:{a:"Pacific/Auckland",c:["NZ"],r:1},"NZ-CHAT":{a:"Pacific/Chatham",r:1},Navajo:{a:"America/Denver",r:1},PRC:{a:"Asia/Shanghai",r:1},PST8PDT:{u:-480,d:-420},"Pacific/Apia":{u:780,c:["WS"]},"Pacific/Auckland":{u:720,d:780,c:["NZ","AQ"]},"Pacific/Bougainville":{u:660,c:["PG"]},"Pacific/Chatham":{u:765,d:825,c:["NZ"]},"Pacific/Chuuk":{a:"Pacific/Port_Moresby",c:["FM"],r:1},"Pacific/Easter":{u:-360,d:-300,c:["CL"]},"Pacific/Efate":{u:660,c:["VU"]},"Pacific/Enderbury":{a:"Pacific/Kanton",r:1},"Pacific/Fakaofo":{u:780,c:["TK"]},"Pacific/Fiji":{u:720,c:["FJ"]},"Pacific/Funafuti":{a:"Pacific/Tarawa",c:["TV"],r:1},"Pacific/Galapagos":{u:-360,c:["EC"]},"Pacific/Gambier":{u:-540,c:["PF"]},"Pacific/Guadalcanal":{u:660,c:["SB","FM"]},"Pacific/Guam":{u:600,c:["GU","MP"]},"Pacific/Honolulu":{u:-600,c:["US"]},"Pacific/Johnston":{a:"Pacific/Honolulu",r:1},"Pacific/Kanton":{u:780,c:["KI"]},"Pacific/Kiritimati":{u:840,c:["KI"]},"Pacific/Kosrae":{u:660,c:["FM"]},"Pacific/Kwajalein":{u:720,c:["MH"]},"Pacific/Majuro":{a:"Pacific/Tarawa",c:["MH"],r:1},"Pacific/Marquesas":{u:-570,c:["PF"]},"Pacific/Midway":{a:"Pacific/Pago_Pago",c:["UM"],r:1},"Pacific/Nauru":{u:720,c:["NR"]},"Pacific/Niue":{u:-660,c:["NU"]},"Pacific/Norfolk":{u:660,d:720,c:["NF"]},"Pacific/Noumea":{u:660,c:["NC"]},"Pacific/Pago_Pago":{u:-660,c:["AS","UM"]},"Pacific/Palau":{u:540,c:["PW"]},"Pacific/Pitcairn":{u:-480,c:["PN"]},"Pacific/Pohnpei":{a:"Pacific/Guadalcanal",c:["FM"],r:1},"Pacific/Ponape":{a:"Pacific/Guadalcanal",c:["FM"],r:1},"Pacific/Port_Moresby":{u:600,c:["PG","AQ","FM"]},"Pacific/Rarotonga":{u:-600,c:["CK"]},"Pacific/Saipan":{a:"Pacific/Guam",c:["MP"],r:1},"Pacific/Samoa":{a:"Pacific/Pago_Pago",c:["AS"],r:1},"Pacific/Tahiti":{u:-600,c:["PF"]},"Pacific/Tarawa":{u:720,c:["KI","MH","TV","UM","WF"]},"Pacific/Tongatapu":{u:780,c:["TO"]},"Pacific/Truk":{a:"Pacific/Port_Moresby",c:["FM"],r:1},"Pacific/Wake":{a:"Pacific/Tarawa",c:["UM"],r:1},"Pacific/Wallis":{a:"Pacific/Tarawa",c:["WF"],r:1},"Pacific/Yap":{a:"Pacific/Port_Moresby",c:["FM"],r:1},Poland:{a:"Europe/Warsaw",r:1},Portugal:{a:"Europe/Lisbon",r:1},ROC:{a:"Asia/Taipei",r:1},ROK:{a:"Asia/Seoul",r:1},Singapore:{a:"Asia/Singapore",c:["SG"],r:1},Turkey:{a:"Europe/Istanbul",r:1},UCT:{a:"Etc/UTC",r:1},"US/Alaska":{a:"America/Anchorage",r:1},"US/Aleutian":{a:"America/Adak",r:1},"US/Arizona":{a:"America/Phoenix",c:["US"],r:1},"US/Central":{a:"America/Chicago",r:1},"US/East-Indiana":{a:"America/Indiana/Indianapolis",r:1},"US/Eastern":{a:"America/New_York",r:1},"US/Hawaii":{a:"Pacific/Honolulu",r:1},"US/Indiana-Starke":{a:"America/Indiana/Knox",r:1},"US/Michigan":{a:"America/Detroit",r:1},"US/Mountain":{a:"America/Denver",r:1},"US/Pacific":{a:"America/Los_Angeles",r:1},"US/Samoa":{a:"Pacific/Pago_Pago",c:["AS"],r:1},UTC:{a:"Etc/UTC",r:1},Universal:{a:"Etc/UTC",r:1},"W-SU":{a:"Europe/Moscow",r:1},WET:{u:0,d:60},Zulu:{a:"Etc/UTC",r:1}},d={countries:v,timezones:N},f;function k(a,r){var i=a.countries[r];if(!i)return null;var c=L(a)[r]||{};return{id:r,name:i,timezones:c.current||[],allTimezones:c.all||[]}}function L(a){return f||(f=K(a)),f}function K(a){return Object.keys(a.timezones).reduce(function(r,i){var c=a.timezones[i],e=c.c,n=c.a,o=a.timezones[n]||{},t=e||o.c;return t&&t.forEach(function(u){r[u]||Object.assign(r,S({},u,{current:[],all:[]})),c.r===void 0&&r[u].current.push(i),r[u].all.push(i)}),r},{})}function D(a,r){var i=a.timezones[r];if(!i)return null;var c=i.a,e=c===void 0?null:c,n=e?a.timezones[e]:{},o=m(m({},n),a.timezones[r]),t=o.c||[],u=o.u,A=Number.isInteger(o.d)?o.d:u,l={name:r,countries:t,utcOffset:u,utcOffsetStr:T(u),dstOffset:A,dstOffsetStr:T(A),aliasOf:e};return i.r&&(l.deprecated=!0),l}function T(a){var r=Math.floor(Math.abs(a)/60),i=a%60,c=a<0?"-":"+";return"".concat(c).concat(C(r),":").concat(C(i))}function C(a){var r=Math.abs(a),i=r<10?"0":"";return"".concat(i).concat(r)}var O=["allTimezones"],j=Object.keys(d.timezones).length,M={},s={},P=0;function J(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return j!==P&&Object.keys(d.timezones).forEach(p),V(s,a)}function H(a){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return M[a]||z(k(d,a)),W(M[a],r)}function z(a){a&&(M[a.id]=a)}function p(a){return s[a]||F(D(d,a)),s[a]?m({},s[a]):null}function F(a){a&&(s[a.name]=a,P=Object.keys(a).length)}function w(a){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=p(a)||{},c=i.countries||[];return c.map(function(e){return H(e,r)})}function Z(a){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=w(a,r),c=B(i,1),e=c[0];return e||null}function V(a,r){var i=r||{},c=i.deprecated;return c===!0?a:Object.keys(a).reduce(function(e,n){return a[n].deprecated||Object.assign(e,S({},n,a[n])),e},{})}function W(a,r){if(!a)return null;var i=r||{},c=i.deprecated;a.allTimezones;var e=G(a,O),n=c?a.allTimezones:a.timezones;return m(m({},e),{},{timezones:n})}export{J as a,p as b,Z as c};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
4
+ import{b as F}from"./QLL7IT53.js";import{a as I,b as v,c as u,d as z,f as q,h as E}from"./N2Q46D75.js";import{k as L}from"./FYUK2GME.js";import{a as N,b as H}from"./LAE3F72I.js";import{a as T,b as R}from"./X6EDNQN2.js";import{a as g}from"./TTARWRVZ.js";import{a as G}from"./NQPJICFQ.js";import"./5YBMD5MK.js";import{a as w}from"./NPTN6OGZ.js";import{a as U}from"./RSI5VQHT.js";import{b as k}from"./QV6PXGLB.js";import{g as M,u as b}from"./NLK3OCCK.js";import{b as O}from"./6OPQR7PL.js";import{a as D}from"./OLP7ABVK.js";import{D as $,J as P,e as x,f as d,v as p,w as y,x as h}from"./D7X7U5LL.js";var m={container:"container",table:"table",scrim:"scrim",stack:"stack",tableContainer:"table-container",sticky:"sticky-pos",assistiveText:"assistive-text"},S={filterNoResults:"filter-no-results",filterActionsStart:"filter-actions-start",filterActionsEnd:"filter-actions-end"},B=x`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{position:relative;background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1))}.table-container{box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%}.stack{--calcite-stack-padding-inline: 0;--calcite-stack-padding-block: 0}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index-sticky);background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1))}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}`,K=`${v}, ${u}`,C=class extends y{constructor(){super(),this.dragSelector=u,this.focusableItems=[],this.handleSelector="calcite-sort-handle",this.listItems=[],this.listItemGroups=[],this.mutationObserver=w("mutation",()=>{this.willPerformFilter=!0,this.updateListItems()}),this.updateListItems=G(()=>{this.updateGroupItems();let{selectionAppearance:e,selectionMode:t,interactionMode:i,dragEnabled:l,el:s,filterEl:a,moveToItems:o,displayMode:r,scale:c}=this,f=Array.from(this.el.querySelectorAll(u));if(f.forEach(n=>{n.scale=c,n.selectionAppearance=e,n.selectionMode=t,n.interactionMode=i,n.closest(I)===s&&(n.moveToItems=o.filter(A=>A.element!==s&&!n.contains(A.element)),n.dragHandle=l,n.displayMode=r)}),this.parentListEl){this.setUpSorting();return}this.listItems=f,this.filterEnabled&&this.willPerformFilter&&(this.willPerformFilter=!1,this.dataForFilter=this.getItemData(),a&&(a.items=this.dataForFilter,this.filterAndUpdateData())),this.visibleItems=this.listItems.filter(n=>!n.closed&&!n.hidden),this.updateFilteredItems(),this.borderItems(),this.focusableItems=this.filteredItems.filter(n=>!n.disabled),this.setActiveListItem(),this.updateSelectedItems(),this.setUpSorting()},$.nextTick),this.visibleItems=[],this.willFilterEmit=!1,this.willPerformFilter=!1,this.dataForFilter=[],this.hasFilterActionsEnd=!1,this.hasFilterActionsStart=!1,this.hasFilterNoResults=!1,this.moveToItems=[],this.disabled=!1,this.dragEnabled=!1,this.filterEnabled=!1,this.filteredData=[],this.filteredItems=[],this.interactionMode="interactive",this.loading=!1,this.messages=U({blocking:!0}),this.displayMode="flat",this.scale="m",this.selectedItems=[],this.selectionAppearance="icon",this.selectionMode="none",this.calciteInternalListDefaultSlotChange=p({cancelable:!1}),this.calciteListChange=p({cancelable:!1}),this.calciteListDragEnd=p({cancelable:!1}),this.calciteListDragStart=p({cancelable:!1}),this.calciteListFilter=p({cancelable:!1}),this.calciteListOrderChange=p({cancelable:!1}),this.listen("calciteInternalListItemToggle",this.handleCalciteListItemToggle),this.listen("calciteInternalFocusPreviousItem",this.handleCalciteInternalFocusPreviousItem),this.listen("calciteInternalListItemActive",this.handleCalciteInternalListItemActive),this.listen("calciteListItemSelect",this.handleCalciteListItemSelect),this.listen("calciteInternalAssistiveTextChange",this.handleCalciteInternalAssistiveTextChange),this.listen("calciteSortHandleReorder",this.handleSortReorder),this.listen("calciteSortHandleMove",this.handleSortMove),this.listen("calciteInternalListItemSelect",this.handleCalciteInternalListItemSelect),this.listen("calciteInternalListItemSelectMultiple",this.handleCalciteInternalListItemSelectMultiple),this.listen("calciteInternalListItemChange",this.handleCalciteInternalListItemChange),this.listen("calciteInternalListItemGroupDefaultSlotChange",this.handleCalciteInternalListItemGroupDefaultSlotChange)}static{this.properties={assistiveText:16,dataForFilter:16,hasFilterActionsEnd:16,hasFilterActionsStart:16,hasFilterNoResults:16,moveToItems:16,hasActiveFilter:16,showNoResultsContainer:16,canPull:0,canPut:0,disabled:7,dragEnabled:7,filterEnabled:7,filterPredicate:0,filterLabel:3,filterPlaceholder:3,filterProps:0,filterText:3,filteredData:0,filteredItems:0,group:3,interactionMode:3,label:1,loading:7,messageOverrides:0,displayMode:3,numberingSystem:1,scale:3,selectedItems:0,selectionAppearance:3,selectionMode:3}}static{this.styles=B}get hasActiveFilter(){return this.filterEnabled&&this.filterText&&this.filteredItems.length!==this.visibleItems.length}get showNoResultsContainer(){return this.filterEnabled&&this.filterText&&this.hasFilterNoResults&&this.visibleItems.length&&!this.filteredItems.length}async setFocus(){return await O(this),this.filterEnabled?this.filterEl?.setFocus():this.focusableItems.find(e=>e.active)?.setFocus()}connectedCallback(){super.connectedCallback(),this.connectObserver(),this.willPerformFilter=!0,this.updateListItems(),this.setUpSorting(),this.setParentList(),this.setListItemGroups()}async load(){this.handleInteractionModeWarning()}willUpdate(e){(e.has("filterText")||e.has("filterProps")||e.has("filterPredicate"))&&this.performFilter(),(e.has("filterEnabled")&&(this.hasUpdated||this.filterEnabled!==!1)||e.has("group")||e.has("dragEnabled")&&(this.hasUpdated||this.dragEnabled!==!1)||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")||e.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="icon")||e.has("displayMode")&&this.hasUpdated||e.has("scale")&&this.hasUpdated||e.has("filterPredicate")&&this.hasUpdated)&&this.handleListItemChange()}updated(){T(this)}loaded(){}disconnectedCallback(){super.disconnectedCallback(),this.disconnectObserver(),H(this)}handleListItemChange(){this.willPerformFilter=!0,this.updateListItems()}handleCalciteListItemToggle(e){this.parentListEl||(e.stopPropagation(),this.borderItems())}handleCalciteInternalFocusPreviousItem(e){if(this.parentListEl)return;e.stopPropagation();let{focusableItems:t}=this,i=t.findIndex(l=>l.active)-1;t[i]&&this.focusRow(t[i])}handleCalciteInternalListItemActive(e){if(this.parentListEl)return;e.stopPropagation();let t=e.target,{listItems:i}=this;i.forEach(l=>{l.active=l===t})}handleCalciteListItemSelect(){this.parentListEl||this.updateSelectedItems(!0)}handleCalciteInternalAssistiveTextChange(e){this.assistiveText=e.detail.message,e.stopPropagation()}handleSortReorder(e){this.parentListEl||this.handleReorder(e)}handleSortMove(e){this.parentListEl||this.handleMove(e)}handleCalciteInternalListItemSelect(e){if(this.parentListEl)return;e.stopPropagation();let t=e.target,{listItems:i,selectionMode:l}=this;t.selected&&(l==="single"||l==="single-persist")&&i.forEach(s=>s.selected=s===t),this.updateSelectedItems()}handleCalciteInternalListItemSelectMultiple(e){if(this.parentListEl)return;e.stopPropagation();let{target:t,detail:i}=e,{focusableItems:l,lastSelectedInfo:s}=this,a=t;if(i.selectMultiple&&s){let o=l.indexOf(a),r=l.indexOf(s.selectedItem),c=Math.min(r,o),f=Math.max(r,o);l.slice(c,f+1).forEach(n=>n.selected=s.selected)}else this.lastSelectedInfo={selectedItem:a,selected:a.selected}}handleCalciteInternalListItemChange(e){this.parentListEl||(e.stopPropagation(),this.updateListItems())}handleCalciteInternalListItemGroupDefaultSlotChange(e){e.stopPropagation()}connectObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){this.mutationObserver?.disconnect()}setUpSorting(){let{dragEnabled:e}=this;e&&N(this)}onGlobalDragStart(){this.disconnectObserver()}onGlobalDragEnd(){this.connectObserver()}onDragEnd(e){this.calciteListDragEnd.emit(e)}onDragMove({relatedEl:e}){e.open=!0}onDragStart(e){e.dragEl.sortHandleOpen=!1,this.calciteListDragStart.emit(e)}onDragSort(e){this.setParentList(),this.updateListItems(),this.calciteListOrderChange.emit(e)}setParentList(){this.parentListEl=this.el.parentElement?.closest(I)}handleDefaultSlotChange(e){q(e.target),this.parentListEl&&this.calciteInternalListDefaultSlotChange.emit()}setListItemGroups(){this.listItemGroups=Array.from(this.el.querySelectorAll(v))}handleFilterActionsStartSlotChange(e){this.hasFilterActionsStart=b(e)}handleFilterActionsEndSlotChange(e){this.hasFilterActionsEnd=b(e)}handleFilterNoResultsSlotChange(e){this.hasFilterNoResults=b(e)}setActiveListItem(){let{focusableItems:e}=this;e.some(t=>t.active)||e[0]&&(e[0].active=!0)}async updateSelectedItems(e=!1){await this.updateComplete,this.selectedItems=this.visibleItems.filter(t=>t.selected),e&&this.calciteListChange.emit()}filterElements({el:e,filteredItems:t,visibleParents:i}){let l=!i.has(e)&&!t.includes(e);e.filterHidden=l;let s=e.parentElement.closest(K);s&&(l||i.add(s),this.filterElements({el:s,filteredItems:t,visibleParents:i}))}allParentListItemsOpen(e){let t=e.parentElement?.closest(u);if(t){if(!t.open)return!1}else return!0;return this.allParentListItemsOpen(t)}borderItems(){let e=this.visibleItems.filter(t=>!t.filterHidden&&this.allParentListItemsOpen(t));e.forEach(t=>t.bordered=t!==e[e.length-1])}updateFilteredItems(){let{visibleItems:e,filteredData:t,filterText:i,filterPredicate:l}=this,s=e?.filter(r=>e.every(c=>c===r||!r.contains(c))),a=l?e.filter(l):i?t.map(r=>r.el):e||[],o=new WeakSet;s.forEach(r=>this.filterElements({el:r,filteredItems:a,visibleParents:o})),this.filteredItems=a,this.willFilterEmit&&(this.willFilterEmit=!1,this.calciteListFilter.emit())}updateFilteredData(){let{filterEl:e}=this;e&&(e.filteredItems&&(this.filteredData=e.filteredItems),this.updateListItems())}async filterAndUpdateData(){await this.filterEl?.filter(this.filterText),this.updateFilteredData()}get effectiveFilterProps(){return this.filterProps?this.filterProps.filter(e=>e!=="el"):["description","label","metadata","heading"]}performFilter(){let{filterEl:e,filterText:t,effectiveFilterProps:i}=this;e&&(e.value=t,e.filterProps=i,this.filterAndUpdateData())}setFilterEl(e){this.filterEl=e,this.performFilter()}handleFilterChange(e){e.stopPropagation();let{value:t}=e.currentTarget;this.filterText=t,this.willFilterEmit=!0,this.updateFilteredData()}getItemData(){return this.listItems.map(e=>({label:e.label,description:e.description,metadata:e.metadata,heading:this.getGroupHeading(e),el:e}))}getGroupHeading(e){return this.listItemGroups.filter(t=>t.contains(e)).map(t=>t.heading)}updateGroupItems(){let{el:e,group:t,scale:i}=this,l=M(e),s=t?Array.from(l.querySelectorAll(`${I}[group="${t}"]`)).filter(a=>!a.disabled&&a.dragEnabled):[];this.moveToItems=s.map(a=>({element:a,label:a.label??a.id,id:D()})),Array.from(this.el.querySelectorAll(v)).forEach(a=>{a.scale=i})}focusRow(e){let{focusableItems:t}=this;e&&(t.forEach(i=>i.active=i===e),e.setFocus())}isNavigable(e){let t=e.parentElement?.closest(u);return t?t.open&&this.isNavigable(t):!0}handleListKeydown(e){if(e.defaultPrevented||this.parentListEl)return;let{key:t}=e,i=this.focusableItems.filter(s=>this.isNavigable(s)),l=i.findIndex(s=>s.active);if(t==="ArrowDown"){e.preventDefault();let s=e.target===this.filterEl?0:l+1;i[s]&&this.focusRow(i[s])}else if(t==="ArrowUp"){if(e.preventDefault(),l===0&&this.filterEnabled){this.filterEl?.setFocus();return}let s=l-1;i[s]&&this.focusRow(i[s])}else if(t==="Home"){e.preventDefault();let s=i[0];s&&this.focusRow(s)}else if(t==="End"){e.preventDefault();let s=i[i.length-1];s&&this.focusRow(s)}}handleInteractionModeWarning(){this.interactionMode==="static"&&this.selectionMode!=="none"&&this.selectionAppearance==="border"&&console.warn('selection-appearance="border" requires interaction-mode="interactive"')}handleMove(e){let{moveTo:t}=e.detail,i=e.target,l=i?.parentElement,s=t.element,a=Array.from(l.children).filter(E).indexOf(i);if(!l)return;i.sortHandleOpen=!1,this.disconnectObserver(),s.prepend(i),z(i);let o=Array.from(s.children).filter(E).indexOf(i);this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:i,fromEl:l,toEl:s,newIndex:o,oldIndex:a})}handleReorder(e){let{reorder:t}=e.detail,i=e.target,l=i?.parentElement;if(!l)return;i.sortHandleOpen=!1;let s=Array.from(l.children).filter(E),a=s.length-1,o=s.indexOf(i),r=o;switch(t){case"top":r=0;break;case"bottom":r=a;break;case"up":r=o===0?0:o-1;break;case"down":r=o===a?a:o+1;break}this.disconnectObserver();let c=t==="up"||t==="top"?s[r]:s[r].nextSibling;l.insertBefore(i,c),this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:i,fromEl:l,toEl:l,newIndex:r,oldIndex:o})}render(){let{loading:e,label:t,disabled:i,dataForFilter:l,filterEnabled:s,filterPlaceholder:a,filterText:o,filterLabel:r,hasFilterActionsStart:c,hasFilterActionsEnd:f,effectiveFilterProps:n}=this;return R({disabled:this.disabled,children:d`<div class=${h(m.container)}>${this.dragEnabled?d`<span aria-live=assertive class=${h(m.assistiveText)}>${this.assistiveText}</span>`:null}${this.renderItemAriaLive()}${e?d`<calcite-scrim class=${h(m.scrim)} .loading=${e}></calcite-scrim>`:null}<div .ariaBusy=${e} .ariaLabel=${t||""} class=${h(m.table)} @keydown=${this.handleListKeydown} role=treegrid>${s||c||f?d`<div class=${h(m.sticky)} role=rowgroup><div role=row><div role=columnheader><calcite-stack class=${h(m.stack)}><slot name=${S.filterActionsStart} @slotchange=${this.handleFilterActionsStartSlotChange} slot=${F.actionsStart}></slot><calcite-filter .ariaLabel=${a} .disabled=${i} .filterProps=${n} .items=${l} .label=${r} @calciteFilterChange=${this.handleFilterChange} .placeholder=${a} .scale=${this.scale} .value=${o} ${k(this.setFilterEl)}></calcite-filter><slot name=${S.filterActionsEnd} @slotchange=${this.handleFilterActionsEndSlotChange} slot=${F.actionsEnd}></slot></calcite-stack></div></div></div>`:null}<div class=${h(m.tableContainer)} role=rowgroup><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></div><div aria-live=polite data-test-id=no-results-container .hidden=${!this.showNoResultsContainer}><slot name=${S.filterNoResults} @slotchange=${this.handleFilterNoResultsSlotChange}></slot></div></div>`})}renderItemAriaLive(){let{messages:e,filteredItems:t,parentListEl:i,messages:{_lang:l},numberingSystem:s}=this;return L.numberFormatOptions={locale:l,numberingSystem:s},i?null:d`<div aria-live=polite class=${h(m.assistiveText)}>${this.hasActiveFilter?g("aria-filter-enabled",d`<div>${e.filterEnabled}</div>`):null}${g("aria-item-count",d`<div>${e.total.replace("{count}",L.localize(t.length.toString()))}</div>`)}${t.length?g("aria-item-list",d`<ol>${t.map(a=>d`<li>${a.label}</li>`)}</ol>`):null}</div>`}};P("calcite-list",C);export{C as List};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.99
5
- */
6
- import{b as r}from"./6LWRLBVD.js";import"./J7RY7DXT.js";var M={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function e(n,t,_){var a=M[_];return Array.isArray(a)&&(a=a[t?0:1]),a.replace("%d",n)}var i={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(t){return t+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e}};r.locale(i,null,!0);var d=i;export{d as default};
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
4
+ import{b as r}from"./EB432BS5.js";import"./MCZED6UJ.js";var M={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function e(n,t,_){var a=M[_];return Array.isArray(a)&&(a=a[t?0:1]),a.replace("%d",n)}var i={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(t){return t+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e}};r.locale(i,null,!0);var d=i;export{d as default};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.99
5
- */
6
- import{b as $}from"./XR2WLB7D.js";import{b as p,f as b,g as x,k as S,l as D}from"./G4Q2QH6B.js";var L=5;function d({locale:e,numberingSystem:n,includeSeconds:r=!0,fractionalSecondDigits:t,hour12:o}){let i={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:x(n)};return typeof o=="boolean"&&(i.hour12=o),r&&(i.second="2-digit",t&&(i.fractionalSecondDigits=t)),D(e,i)}function h(e,n){if(e==null)return;let r=e.toString(),t=$(e);if(e<1&&t>0&&t<4){let o=r.replace("0.","");return!n||o.length===n?o:o.length<n?o.padEnd(n,"0"):o}if(e>=0&&e<10)return r.padStart(2,"0");if(e>=10)return r}function k(e){if(!g(e))return null;let{hour:n,minute:r,second:t,fractionalSecond:o}=y(e),i=`${h(parseInt(n))}:${h(parseInt(r))}`;return t&&(i+=`:${h(parseInt(t))}`,o&&(i+=`.${o}`)),i}function z(e){return parseInt((parseFloat(`0.${e}`)/.001).toFixed(3))}function A(e){let n={locale:e};e==="mk"?n.hour12=!1:e.toLowerCase()==="es-mx"&&(n.hour12=!0);let r=d(n).formatToParts(new Date(Date.UTC(0,0,0,0,0,0)));return s("meridiem",r)?"12":"24"}function v(e){return A(e)==="24"?"12":"24"}function M(e,n,r="latn"){let t=d({hour12:!0,locale:e,numberingSystem:r}),o=6,i=18,l=new Date(Date.UTC(0,0,0,n==="AM"?o:i,0)),c=t.formatToParts(l);return s("meridiem",c)}function T(e,n){return S.numberFormatOptions={locale:e,numberingSystem:n},S.localize("1.1").split("")[1]}function H(e,n,r="latn"){let t=d({locale:n,numberingSystem:r}).formatToParts(new Date(Date.UTC(0,0,0,0,0,0)));return s(`${e}Suffix`,t)}function s(e,n){if(!e||!n)return null;if(e==="hourSuffix"){let r=n.indexOf(n.find(({type:i})=>i==="hour")),t=n.indexOf(n.find(({type:i})=>i==="minute")),o=n[r+1];return o&&o.type==="literal"&&t-r===2&&o.value?.trim()||null}if(e==="minuteSuffix"){let r=n.indexOf(n.find(({type:i})=>i==="minute")),t=n.indexOf(n.find(({type:i})=>i==="second")),o=n[r+1];return o&&o.type==="literal"&&t-r===2&&o.value?.trim()||null}if(e==="secondSuffix"){let r=n.indexOf(n.find(({type:o})=>o==="second")),t=n[r+1];return t&&t.type==="literal"&&t.value?.trim()||null}return n.find(({type:r})=>e=="meridiem"?r==="dayPeriod":r===e)?.value||null}function E(e){if(!p(e))return null;let n=parseInt(e);return n>=0&&n<=11?"AM":"PM"}function W(e){let n=M(e,"AM"),r=M(e,"PM"),t=w(e),o=P({hour12:!0,value:"00:00:00",locale:e,numberingSystem:"latn"}),i=o[t===0?1:t-1].type==="hour"||o[t-1]?.type==="second"?"":" ";return e!=="no"&&n===n.toLocaleLowerCase(e)&&r===r.toLocaleLowerCase(e)?t===0?`a${i}`:`${i}a`:t===0?`A${i}`:`${i}A`}function w(e){return P({hour12:!0,value:"00:00:00",locale:e,numberingSystem:"latn"}).findIndex(n=>n.type==="dayPeriod")}function j(e,n){return e===v(n)}function g(e){if(!e||e.startsWith(":")||e.endsWith(":"))return!1;let n=e.split(":");if(!(n.length>1&&n.length<4))return!1;let[r,t,o]=n,i=parseInt(n[0]),l=parseInt(n[1]),c=parseInt(n[2]),f=p(r)&&i>=0&&i<24,u=p(t)&&l>=0&&l<60,m=p(o)&&c>=0&&c<60;if(f&&u&&!o||f&&u&&m)return!0}function C(e,n){if(n==="meridiem")return e==="AM"||e==="PM";if(!p(e))return!1;let r=Number(e);return n==="hour"?r>=0&&r<24:r>=0&&r<60}function O({value:e,part:n,locale:r,numberingSystem:t="latn",hour12:o}){if(n==="fractionalSecond"){let f=T(r,t),u=null;if(e){S.numberFormatOptions={locale:r,numberingSystem:t};let m=S.localize("0");parseInt(e)===0?u="".padStart(e.length,m):(u=S.localize(`0.${e}`).replace(`${m}${f}`,""),u.length<e.length&&(u=u.padEnd(e.length,m)))}return u}if(!C(e,n))return;let i=parseInt(e),l=new Date(Date.UTC(0,0,0,n==="hour"?i:n==="meridiem"?e==="AM"?0:12:0,n==="minute"?i:0,n==="second"?i:0));if(!l)return;let c=d({hour12:o,locale:r,numberingSystem:t}).formatToParts(l);return s(n,c)}function Z({value:e,locale:n,numberingSystem:r="latn",includeSeconds:t=!0,fractionalSecondDigits:o,hour12:i}){if(!g(e))return null;let{hour:l,minute:c,second:f="0",fractionalSecond:u}=y(e),m=new Date(Date.UTC(0,0,0,parseInt(l),parseInt(c),parseInt(f),u&&z(u))),a=d({locale:n,numberingSystem:r,includeSeconds:t,fractionalSecondDigits:o,hour12:i}).format(m)||null;if(a&&n==="bg"&&a.includes(" \u0447.")&&(a=a.replaceAll(" \u0447.","")),n==="bs"||n==="mk"){let I=b.get(n);a.includes("AM")?a=a.replaceAll("AM",I.am):a.includes("PM")&&(a=a.replaceAll("PM",I.pm)),a.indexOf(".")!==a.length-1&&(a=a.replace(".",","))}return a}function q({value:e,locale:n,numberingSystem:r="latn",hour12:t}){if(!g(e))return null;let{hour:o,minute:i,second:l="0",fractionalSecond:c}=y(e),f=new Date(Date.UTC(0,0,0,parseInt(o),parseInt(i),parseInt(l)));if(f){let u=d({locale:n,numberingSystem:r,hour12:t}).formatToParts(f),m=s("meridiem",u);if(t&&(n==="bs"||n==="mk")){let a=b.get(n);m=f.getHours()>11?a.am:a.pm}return{localizedHour:s("hour",u),localizedHourSuffix:s("hourSuffix",u),localizedMinute:s("minute",u),localizedMinuteSuffix:s("minuteSuffix",u),localizedSecond:s("second",u),localizedDecimalSeparator:T(n,r),localizedFractionalSecond:O({value:c,part:"fractionalSecond",locale:n,numberingSystem:r}),localizedSecondSuffix:s("secondSuffix",u),localizedMeridiem:m}}return null}function P({hour12:e,value:n,locale:r,numberingSystem:t}){if(!g(n))return null;let{hour:o,minute:i,second:l="0"}=y(n),c=new Date(Date.UTC(0,0,0,parseInt(o),parseInt(i),parseInt(l)));return c?d({hour12:e,locale:r,numberingSystem:t}).formatToParts(c):null}function y(e){if(g(e)){let[n,r,t]=e.split(":"),o=t,i=null;return t?.includes(".")&&([o,i]=t.split(".")),{fractionalSecond:i,hour:n,minute:r,second:o}}return{fractionalSecond:null,hour:null,minute:null,second:null}}function B(e,n=!0){if(!g(e))return"";let{hour:r,minute:t,second:o,fractionalSecond:i}=y(e),l=`${h(parseInt(r))}:${h(parseInt(t))}`;return n&&(l+=`:${h(parseInt(n&&o||"0"))}`,i&&(l+=`.${i}`)),l}export{L as a,h as b,k as c,A as d,v as e,T as f,H as g,E as h,W as i,w as j,j as k,g as l,O as m,Z as n,q as o,y as p,B as q};
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
4
+ import{b as $}from"./MVBR6FNF.js";import{b as p,f as b,g as x,k as S,l as D}from"./FYUK2GME.js";var L=5;function d({locale:e,numberingSystem:n,includeSeconds:r=!0,fractionalSecondDigits:t,hour12:o}){let i={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:x(n)};return typeof o=="boolean"&&(i.hour12=o),r&&(i.second="2-digit",t&&(i.fractionalSecondDigits=t)),D(e,i)}function h(e,n){if(e==null)return;let r=e.toString(),t=$(e);if(e<1&&t>0&&t<4){let o=r.replace("0.","");return!n||o.length===n?o:o.length<n?o.padEnd(n,"0"):o}if(e>=0&&e<10)return r.padStart(2,"0");if(e>=10)return r}function k(e){if(!g(e))return null;let{hour:n,minute:r,second:t,fractionalSecond:o}=y(e),i=`${h(parseInt(n))}:${h(parseInt(r))}`;return t&&(i+=`:${h(parseInt(t))}`,o&&(i+=`.${o}`)),i}function z(e){return parseInt((parseFloat(`0.${e}`)/.001).toFixed(3))}function A(e){let n={locale:e};e==="mk"?n.hour12=!1:e.toLowerCase()==="es-mx"&&(n.hour12=!0);let r=d(n).formatToParts(new Date(Date.UTC(0,0,0,0,0,0)));return s("meridiem",r)?"12":"24"}function v(e){return A(e)==="24"?"12":"24"}function M(e,n,r="latn"){let t=d({hour12:!0,locale:e,numberingSystem:r}),o=6,i=18,l=new Date(Date.UTC(0,0,0,n==="AM"?o:i,0)),c=t.formatToParts(l);return s("meridiem",c)}function T(e,n){return S.numberFormatOptions={locale:e,numberingSystem:n},S.localize("1.1").split("")[1]}function H(e,n,r="latn"){let t=d({locale:n,numberingSystem:r}).formatToParts(new Date(Date.UTC(0,0,0,0,0,0)));return s(`${e}Suffix`,t)}function s(e,n){if(!e||!n)return null;if(e==="hourSuffix"){let r=n.indexOf(n.find(({type:i})=>i==="hour")),t=n.indexOf(n.find(({type:i})=>i==="minute")),o=n[r+1];return o&&o.type==="literal"&&t-r===2&&o.value?.trim()||null}if(e==="minuteSuffix"){let r=n.indexOf(n.find(({type:i})=>i==="minute")),t=n.indexOf(n.find(({type:i})=>i==="second")),o=n[r+1];return o&&o.type==="literal"&&t-r===2&&o.value?.trim()||null}if(e==="secondSuffix"){let r=n.indexOf(n.find(({type:o})=>o==="second")),t=n[r+1];return t&&t.type==="literal"&&t.value?.trim()||null}return n.find(({type:r})=>e=="meridiem"?r==="dayPeriod":r===e)?.value||null}function E(e){if(!p(e))return null;let n=parseInt(e);return n>=0&&n<=11?"AM":"PM"}function W(e){let n=M(e,"AM"),r=M(e,"PM"),t=w(e),o=P({hour12:!0,value:"00:00:00",locale:e,numberingSystem:"latn"}),i=o[t===0?1:t-1].type==="hour"||o[t-1]?.type==="second"?"":" ";return e!=="no"&&n===n.toLocaleLowerCase(e)&&r===r.toLocaleLowerCase(e)?t===0?`a${i}`:`${i}a`:t===0?`A${i}`:`${i}A`}function w(e){return P({hour12:!0,value:"00:00:00",locale:e,numberingSystem:"latn"}).findIndex(n=>n.type==="dayPeriod")}function j(e,n){return e===v(n)}function g(e){if(!e||e.startsWith(":")||e.endsWith(":"))return!1;let n=e.split(":");if(!(n.length>1&&n.length<4))return!1;let[r,t,o]=n,i=parseInt(n[0]),l=parseInt(n[1]),c=parseInt(n[2]),f=p(r)&&i>=0&&i<24,u=p(t)&&l>=0&&l<60,m=p(o)&&c>=0&&c<60;if(f&&u&&!o||f&&u&&m)return!0}function C(e,n){if(n==="meridiem")return e==="AM"||e==="PM";if(!p(e))return!1;let r=Number(e);return n==="hour"?r>=0&&r<24:r>=0&&r<60}function O({value:e,part:n,locale:r,numberingSystem:t="latn",hour12:o}){if(n==="fractionalSecond"){let f=T(r,t),u=null;if(e){S.numberFormatOptions={locale:r,numberingSystem:t};let m=S.localize("0");parseInt(e)===0?u="".padStart(e.length,m):(u=S.localize(`0.${e}`).replace(`${m}${f}`,""),u.length<e.length&&(u=u.padEnd(e.length,m)))}return u}if(!C(e,n))return;let i=parseInt(e),l=new Date(Date.UTC(0,0,0,n==="hour"?i:n==="meridiem"?e==="AM"?0:12:0,n==="minute"?i:0,n==="second"?i:0));if(!l)return;let c=d({hour12:o,locale:r,numberingSystem:t}).formatToParts(l);return s(n,c)}function Z({value:e,locale:n,numberingSystem:r="latn",includeSeconds:t=!0,fractionalSecondDigits:o,hour12:i}){if(!g(e))return null;let{hour:l,minute:c,second:f="0",fractionalSecond:u}=y(e),m=new Date(Date.UTC(0,0,0,parseInt(l),parseInt(c),parseInt(f),u&&z(u))),a=d({locale:n,numberingSystem:r,includeSeconds:t,fractionalSecondDigits:o,hour12:i}).format(m)||null;if(a&&n==="bg"&&a.includes(" \u0447.")&&(a=a.replaceAll(" \u0447.","")),n==="bs"||n==="mk"){let I=b.get(n);a.includes("AM")?a=a.replaceAll("AM",I.am):a.includes("PM")&&(a=a.replaceAll("PM",I.pm)),a.indexOf(".")!==a.length-1&&(a=a.replace(".",","))}return a}function q({value:e,locale:n,numberingSystem:r="latn",hour12:t}){if(!g(e))return null;let{hour:o,minute:i,second:l="0",fractionalSecond:c}=y(e),f=new Date(Date.UTC(0,0,0,parseInt(o),parseInt(i),parseInt(l)));if(f){let u=d({locale:n,numberingSystem:r,hour12:t}).formatToParts(f),m=s("meridiem",u);if(t&&(n==="bs"||n==="mk")){let a=b.get(n);m=f.getHours()>11?a.am:a.pm}return{localizedHour:s("hour",u),localizedHourSuffix:s("hourSuffix",u),localizedMinute:s("minute",u),localizedMinuteSuffix:s("minuteSuffix",u),localizedSecond:s("second",u),localizedDecimalSeparator:T(n,r),localizedFractionalSecond:O({value:c,part:"fractionalSecond",locale:n,numberingSystem:r}),localizedSecondSuffix:s("secondSuffix",u),localizedMeridiem:m}}return null}function P({hour12:e,value:n,locale:r,numberingSystem:t}){if(!g(n))return null;let{hour:o,minute:i,second:l="0"}=y(n),c=new Date(Date.UTC(0,0,0,parseInt(o),parseInt(i),parseInt(l)));return c?d({hour12:e,locale:r,numberingSystem:t}).formatToParts(c):null}function y(e){if(g(e)){let[n,r,t]=e.split(":"),o=t,i=null;return t?.includes(".")&&([o,i]=t.split(".")),{fractionalSecond:i,hour:n,minute:r,second:o}}return{fractionalSecond:null,hour:null,minute:null,second:null}}function B(e,n=!0){if(!g(e))return"";let{hour:r,minute:t,second:o,fractionalSecond:i}=y(e),l=`${h(parseInt(r))}:${h(parseInt(t))}`;return n&&(l+=`:${h(parseInt(n&&o||"0"))}`,i&&(l+=`.${i}`)),l}export{L as a,h as b,k as c,A as d,v as e,T as f,H as g,E as h,W as i,w as j,j as k,g as l,O as m,Z as n,q as o,y as p,B as q};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.99
5
- */
6
- import{b as _}from"./6LWRLBVD.js";import"./J7RY7DXT.js";var t={name:"mk",weekdays:"\u043D\u0435\u0434\u0435\u043B\u0430_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043E\u043A_\u043F\u0435\u0442\u043E\u043A_\u0441\u0430\u0431\u043E\u0442\u0430".split("_"),months:"\u0458\u0430\u043D\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0438\u043B_\u043C\u0430\u0458_\u0458\u0443\u043D\u0438_\u0458\u0443\u043B\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438_\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438_\u043D\u043E\u0435\u043C\u0432\u0440\u0438_\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438".split("_"),weekStart:1,weekdaysShort:"\u043D\u0435\u0434_\u043F\u043E\u043D_\u0432\u0442\u043E_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043F\u0435\u0442_\u0441\u0430\u0431".split("_"),monthsShort:"\u0458\u0430\u043D_\u0444\u0435\u0432_\u043C\u0430\u0440_\u0430\u043F\u0440_\u043C\u0430\u0458_\u0458\u0443\u043D_\u0458\u0443\u043B_\u0430\u0432\u0433_\u0441\u0435\u043F_\u043E\u043A\u0442_\u043D\u043E\u0435_\u0434\u0435\u043A".split("_"),weekdaysMin:"\u043De_\u043Fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043F\u0435_\u0441a".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"\u043F\u043E\u0441\u043B\u0435 %s",past:"\u043F\u0440\u0435\u0434 %s",s:"\u043D\u0435\u043A\u043E\u043B\u043A\u0443 \u0441\u0435\u043A\u0443\u043D\u0434\u0438",m:"\u043C\u0438\u043D\u0443\u0442\u0430",mm:"%d \u043C\u0438\u043D\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043D",dd:"%d \u0434\u0435\u043D\u0430",M:"\u043C\u0435\u0441\u0435\u0446",MM:"%d \u043C\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043E\u0434\u0438\u043D\u0430",yy:"%d \u0433\u043E\u0434\u0438\u043D\u0438"}};_.locale(t,null,!0);var s=t;export{s as default};
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
4
+ import{b as _}from"./EB432BS5.js";import"./MCZED6UJ.js";var t={name:"mk",weekdays:"\u043D\u0435\u0434\u0435\u043B\u0430_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043E\u043A_\u043F\u0435\u0442\u043E\u043A_\u0441\u0430\u0431\u043E\u0442\u0430".split("_"),months:"\u0458\u0430\u043D\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0438\u043B_\u043C\u0430\u0458_\u0458\u0443\u043D\u0438_\u0458\u0443\u043B\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438_\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438_\u043D\u043E\u0435\u043C\u0432\u0440\u0438_\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438".split("_"),weekStart:1,weekdaysShort:"\u043D\u0435\u0434_\u043F\u043E\u043D_\u0432\u0442\u043E_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043F\u0435\u0442_\u0441\u0430\u0431".split("_"),monthsShort:"\u0458\u0430\u043D_\u0444\u0435\u0432_\u043C\u0430\u0440_\u0430\u043F\u0440_\u043C\u0430\u0458_\u0458\u0443\u043D_\u0458\u0443\u043B_\u0430\u0432\u0433_\u0441\u0435\u043F_\u043E\u043A\u0442_\u043D\u043E\u0435_\u0434\u0435\u043A".split("_"),weekdaysMin:"\u043De_\u043Fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043F\u0435_\u0441a".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"\u043F\u043E\u0441\u043B\u0435 %s",past:"\u043F\u0440\u0435\u0434 %s",s:"\u043D\u0435\u043A\u043E\u043B\u043A\u0443 \u0441\u0435\u043A\u0443\u043D\u0434\u0438",m:"\u043C\u0438\u043D\u0443\u0442\u0430",mm:"%d \u043C\u0438\u043D\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043D",dd:"%d \u0434\u0435\u043D\u0430",M:"\u043C\u0435\u0441\u0435\u0446",MM:"%d \u043C\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043E\u0434\u0438\u043D\u0430",yy:"%d \u0433\u043E\u0434\u0438\u043D\u0438"}};_.locale(t,null,!0);var s=t;export{s as default};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.99
5
- */
6
- import{b as e}from"./6LWRLBVD.js";import"./J7RY7DXT.js";var a={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(_){return _},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};e.locale(a,null,!0);var t=a;export{t as default};
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
4
+ import{b as e}from"./EB432BS5.js";import"./MCZED6UJ.js";var a={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(_){return _},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};e.locale(a,null,!0);var t=a;export{t as default};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.99
5
- */
6
- import{e as y,i as k,j as I}from"./4DVWRXRA.js";import{a}from"./SY776R43.js";import{a as C,b as z}from"./MRVEUN2O.js";import{a as c}from"./DCAWR655.js";import{a as r,b as $}from"./IUBUCDD6.js";import"./JFBHBHJE.js";import{s as w}from"./QIOSM7C2.js";import{a as v}from"./OJ5D52RG.js";import{I as f,d as p,e as o,i as u,u as s,v as x,w as i,x as g}from"./XDGCDDNX.js";var t={active:"label--active",centerContent:"center-content",container:"container",custom:"icon--custom",description:"description",icon:"icon",iconSelected:"icon--selected",label:"label",scale:h=>`scale--${h}`,selected:"label--selected",shortText:"short-text",single:"label--single",textContainer:"text-container",title:"title"},S={contentEnd:"content-end",contentStart:"content-start"},j=p`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-s: .25rem;--calcite-combobox-item-spacing-unit-l: .5rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-xs)}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-s: .375rem;--calcite-combobox-item-spacing-unit-l: .75rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-sm)}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-s: .625rem;--calcite-combobox-item-spacing-unit-l: 1rem;--calcite-combobox-item-selector-icon-size: 1.5rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size)}.container{--calcite-combobox-item-indent-value: calc( var(--calcite-combobox-item-spacing-unit-l) * var(--calcite-combobox-item-spacing-indent-multiplier) )}:host(:focus){--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0;display:flex;flex-direction:column;padding:0}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);outline-color:transparent;word-wrap:break-word;word-break:break-word;justify-content:space-around;gap:var(--calcite-combobox-item-spacing-unit-l);padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline-end:var(--calcite-combobox-item-spacing-unit-l);padding-inline-start:var(--calcite-combobox-item-indent-value)}:host([disabled]) .label{cursor:default}.label--selected{color:var(--calcite-color-text-1)}.label--selected .title{font-weight:var(--calcite-font-weight-medium)}.label--active{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.label:active{background-color:var(--calcite-color-foreground-3)}.icon{display:inline-flex;opacity:0;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);color:var(--calcite-color-border-1)}.icon--custom{margin-block-start:-1px}.icon--selected{color:var(--calcite-color-text-1)}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}.center-content{display:flex;flex-direction:column;flex-grow:1;padding-block:0}.description{font-size:var(--calcite-internal-combobox-item-description-font-size)}:host([selected]) .description,:host(:hover) .description{color:var(--calcite-color-text-2)}.short-text{color:var(--calcite-color-text-3);white-space:nowrap}.title{color:var(--calcite-color-text-1)}.title,.description,.short-text{line-height:var(--calcite-font-line-height-relative-snug)}.text-match{background-color:transparent;color:inherit;font-weight:var(--calcite-font-weight-bold)}`,d=class extends x{constructor(){super(...arguments),this.hasContent=!1,this.active=!1,this.disabled=!1,this.guid=v(),this.iconFlipRtl=!1,this.scale="m",this.selected=!1,this.selectionMode="multiple",this.calciteComboboxItemChange=s({cancelable:!1}),this.calciteInternalComboboxItemChange=s({cancelable:!1})}static{this.properties={hasContent:16,active:7,ancestors:0,description:1,disabled:7,filterDisabled:7,filterTextMatchPattern:2,guid:3,heading:1,icon:3,iconFlipRtl:7,label:1,metadata:0,scale:1,selected:7,selectionMode:3,shortHeading:1,textLabel:3,value:1}}static{this.styles=j}connectedCallback(){super.connectedCallback(),this.ancestors=y(this.el)}load(){$(this,"value","textLabel")}willUpdate(e){(e.has("disabled")&&this.hasUpdated||e.has("selected")&&this.hasUpdated||e.has("textLabel")&&this.hasUpdated)&&this.calciteInternalComboboxItemChange.emit()}updated(){C(this)}handleDefaultSlotChange(e){this.hasContent=w(e)}toggleSelected(){let e=this.selectionMode==="single-persist";this.disabled||e&&this.selected||(this.selected=!this.selected,this.calciteComboboxItemChange.emit())}itemClickHandler(){this.toggleSelected()}renderIcon(e){return this.icon?c("icon",o`<calcite-icon class=${i({[t.custom]:!!this.icon,[t.iconSelected]:this.icon&&this.selected})} .flipRtl=${this.iconFlipRtl} .icon=${this.icon||e} .scale=${r(this.scale)}></calcite-icon>`):null}renderSelectIndicator(e){return c("indicator",o`<calcite-icon class=${i({[t.icon]:!0,[t.iconSelected]:this.selected})} .flipRtl=${this.iconFlipRtl} .icon=${e} .scale=${r(this.scale)}></calcite-icon>`)}renderChildren(){return c("default-slot-container",o`<ul .hidden=${!this.hasContent}><slot @slotchange=${this.handleDefaultSlotChange}></slot></ul>`)}render(){let{disabled:e,heading:M,label:L,textLabel:R,value:H,filterTextMatchPattern:l,description:b,shortHeading:m}=this,n=I(this.selectionMode),E=e||n?void 0:"check",F=n?"bullet-point":"check",T=M||R,U=L||H,D={[t.label]:!0,[t.selected]:this.selected,[t.active]:this.active,[t.single]:n},P=k(this.el);return this.el.ariaHidden="true",this.el.ariaLabel=U,z({disabled:e,children:o`<div class=${i({[t.container]:!0,[t.scale(this.scale)]:!0})} style=${g({"--calcite-combobox-item-spacing-indent-multiplier":`${P}`})}><li class=${i(D)} id=${this.guid??u} @click=${this.itemClickHandler}>${this.renderSelectIndicator(F)}<slot name=${S.contentStart}></slot>${this.renderIcon(E)}<div class=${i(t.centerContent)}><div class=${i(t.title)}>${a({text:T,pattern:l})}</div>${b?o`<div class=${i(t.description)}>${a({text:b,pattern:l})}</div>`:null}</div>${m?o`<div class=${i(t.shortText)}>${a({text:m,pattern:l})}</div>`:null}<slot name=${S.contentEnd}></slot></li>${this.renderChildren()}</div>`})}};f("calcite-combobox-item",d);export{d as ComboboxItem};
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
4
+ import{e as k,i as I,j as S}from"./T5I34CKY.js";import{a}from"./62M3DNDT.js";import{a as z,b as y}from"./X6EDNQN2.js";import{a as d,b as C}from"./HMZA4X6S.js";import"./4GUL5QXY.js";import{a as c}from"./TTARWRVZ.js";import{s as $}from"./NLK3OCCK.js";import{a as w}from"./OLP7ABVK.js";import{J as v,e as u,f as o,j as g,v as r,w as x,x as i,y as f}from"./D7X7U5LL.js";var t={active:"label--active",centerContent:"center-content",container:"container",custom:"icon--custom",description:"description",icon:"icon",iconSelected:"icon--selected",label:"label",scale:m=>`scale--${m}`,selected:"label--selected",shortText:"short-text",single:"label--single",textContainer:"text-container",title:"title"},M={contentEnd:"content-end",contentStart:"content-start"},j=u`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-s: .25rem;--calcite-combobox-item-spacing-unit-l: .5rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-xs)}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-s: .375rem;--calcite-combobox-item-spacing-unit-l: .75rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-sm)}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-s: .625rem;--calcite-combobox-item-spacing-unit-l: 1rem;--calcite-combobox-item-selector-icon-size: 1.5rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size)}.container{--calcite-combobox-item-indent-value: calc( var(--calcite-combobox-item-spacing-unit-l) * var(--calcite-combobox-item-spacing-indent-multiplier) )}:host(:focus){--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0;display:flex;flex-direction:column;padding:0}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);outline-color:transparent;word-wrap:break-word;word-break:break-word;justify-content:space-around;gap:var(--calcite-combobox-item-spacing-unit-l);padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline-end:var(--calcite-combobox-item-spacing-unit-l);padding-inline-start:var(--calcite-combobox-item-indent-value)}:host([disabled]) .label{cursor:default}.label--selected{color:var(--calcite-color-text-1)}.label--selected .title{font-weight:var(--calcite-font-weight-medium)}.label--active{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.label:active{background-color:var(--calcite-color-foreground-3)}.icon{display:inline-flex;opacity:0;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);color:var(--calcite-color-border-1)}.icon--custom{margin-block-start:-1px}.icon--selected{color:var(--calcite-color-text-1)}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}.center-content{display:flex;flex-direction:column;flex-grow:1;padding-block:0}.description{font-size:var(--calcite-internal-combobox-item-description-font-size)}:host([selected]) .description,:host(:hover) .description{color:var(--calcite-color-text-2)}.short-text{color:var(--calcite-color-text-3);white-space:nowrap}.title{color:var(--calcite-color-text-1)}.title,.description,.short-text{line-height:var(--calcite-font-line-height-relative-snug)}:host([item-hidden]){display:none}.text-match{background-color:transparent;color:inherit;font-weight:var(--calcite-font-weight-bold)}`,h=class extends x{constructor(){super(...arguments),this.hasContent=!1,this._selected=!1,this.active=!1,this.disabled=!1,this.guid=w(),this.iconFlipRtl=!1,this.scale="m",this.selectionMode="multiple",this.itemHidden=!1,this.calciteComboboxItemChange=r({cancelable:!1}),this.calciteInternalComboboxItemChange=r({cancelable:!1})}static{this.properties={hasContent:16,active:7,ancestors:0,description:1,disabled:7,filterDisabled:7,filterTextMatchPattern:2,guid:3,heading:1,icon:3,iconFlipRtl:7,label:1,metadata:0,scale:1,selected:7,selectionMode:3,shortHeading:1,textLabel:3,value:1,itemHidden:7}}static{this.styles=j}get selected(){return this._selected}set selected(e){let l=this._selected;e!==l&&(this._selected=e,this.emitItemChange())}connectedCallback(){super.connectedCallback(),this.ancestors=k(this.el)}load(){C(this,"value","textLabel")}willUpdate(e){this.hasUpdated&&(e.has("disabled")||e.has("heading")||e.has("label")||e.has("textLabel"))&&this.emitItemChange()}updated(){z(this)}emitItemChange(){this.calciteInternalComboboxItemChange.emit()}handleDefaultSlotChange(e){this.hasContent=$(e)}toggleSelected(){let e=this.selectionMode==="single-persist";this.disabled||e&&this.selected||(this.selected=!this.selected,this.calciteComboboxItemChange.emit())}itemClickHandler(){this.toggleSelected()}renderIcon(e){return this.icon?c("icon",o`<calcite-icon class=${i({[t.custom]:!!this.icon,[t.iconSelected]:this.icon&&this.selected})} .flipRtl=${this.iconFlipRtl} .icon=${this.icon||e} .scale=${d(this.scale)}></calcite-icon>`):null}renderSelectIndicator(e){return c("indicator",o`<calcite-icon class=${i({[t.icon]:!0,[t.iconSelected]:this.selected})} .flipRtl=${this.iconFlipRtl} .icon=${e} .scale=${d(this.scale)}></calcite-icon>`)}renderChildren(){return c("default-slot-container",o`<ul .hidden=${!this.hasContent}><slot @slotchange=${this.handleDefaultSlotChange}></slot></ul>`)}render(){let{disabled:e,heading:l,label:H,textLabel:L,value:R,filterTextMatchPattern:n,description:b,shortHeading:p}=this,s=S(this.selectionMode),E=e||s?void 0:"check",F=s?"bullet-point":"check",T=l||L,_=H||R,D={[t.label]:!0,[t.selected]:this.selected,[t.active]:this.active,[t.single]:s},P=I(this.el);return this.el.ariaHidden="true",this.el.ariaLabel=_,y({disabled:e,children:o`<div class=${i({[t.container]:!0,[t.scale(this.scale)]:!0})} style=${f({"--calcite-combobox-item-spacing-indent-multiplier":`${P}`})}><li class=${i(D)} id=${this.guid??g} @click=${this.itemClickHandler}>${this.renderSelectIndicator(F)}<slot name=${M.contentStart}></slot>${this.renderIcon(E)}<div class=${i(t.centerContent)}><div class=${i(t.title)}>${a({text:T,pattern:n})}</div>${b?o`<div class=${i(t.description)}>${a({text:b,pattern:n})}</div>`:null}</div>${p?o`<div class=${i(t.shortText)}>${a({text:p,pattern:n})}</div>`:null}<slot name=${M.contentEnd}></slot></li>${this.renderChildren()}</div>`})}};v("calcite-combobox-item",h);export{h as ComboboxItem};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
4
+ import{a as f,b as g}from"./X6EDNQN2.js";import{a as r,b as p}from"./QV6PXGLB.js";import{v as m,z as i}from"./NLK3OCCK.js";import{b as u}from"./6OPQR7PL.js";import"./OLP7ABVK.js";import{J as d,e as c,f as o,v as n,w as h}from"./D7X7U5LL.js";var b=c`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:.25rem}:host([scale=l]) .container{gap:.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends h{constructor(){super(),this.items=[],this.slotRefEl=r(),this.disabled=!1,this.scale="m",this.selectedItems=[],this.selectionMode="none",this.calciteChipGroupSelect=n({cancelable:!1}),this.listen("calciteInternalChipKeyEvent",this.calciteInternalChipKeyEventListener),this.listen("calciteChipClose",this.calciteChipCloseListener),this.listen("calciteChipSelect",this.calciteChipSelectListener),this.listen("calciteInternalChipSelect",this.calciteInternalChipSelectListener),this.listen("calciteInternalSyncSelectedChips",this.calciteInternalSyncSelectedChips)}static{this.properties={disabled:7,label:1,scale:3,selectedItems:0,selectionMode:3}}static{this.styles=b}async setFocus(){if(await u(this),!this.disabled)return(this.selectedItems[0]||this.items[0])?.setFocus()}load(){}willUpdate(e){e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")&&this.updateItems()}updated(){f(this)}loaded(){}calciteInternalChipKeyEventListener(e){if(e.composedPath().includes(this.el)){let t=this.items?.filter(s=>!s.disabled);switch(e.detail.key){case"ArrowRight":i(t,e.detail.target,"next");break;case"ArrowLeft":i(t,e.detail.target,"previous");break;case"Home":i(t,e.detail.target,"first");break;case"End":i(t,e.detail.target,"last");break}}e.stopPropagation()}calciteChipCloseListener(e){let t=e.target;this.items?.includes(t)&&(this.items?.indexOf(t)>0?i(this.items,t,"previous"):this.items?.indexOf(t)===0?i(this.items,t,"next"):i(this.items,t,"first")),this.items=this.items?.filter(s=>s!==t),e.stopPropagation()}calciteChipSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(!0,e.target),e.stopPropagation()}calciteInternalChipSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(!1,e.target),e.stopPropagation()}calciteInternalSyncSelectedChips(e){e.composedPath().includes(this.el)&&(this.updateSelectedItems(),this.selectionMode==="single"&&this.selectedItems.length>1&&this.setSelectedItems(!1,e.target)),e.stopPropagation()}updateItems(e){let t=this.slotRefEl.value?.assignedElements({flatten:!0}).filter(s=>s?.matches("calcite-chip"));this.items=e?m(e):t,!(this.items?.length<1)&&(this.items?.forEach(s=>{s.interactive=!0,s.scale=this.scale,s.selectionMode=this.selectionMode,s.parentChipGroup=this.el}),this.setSelectedItems(!1))}updateSelectedItems(){this.selectedItems=this.items?.filter(e=>e.selected)}setSelectedItems(e,t){t&&this.items?.forEach(s=>{let l=t===s;switch(this.selectionMode){case"multiple":l&&(s.selected=!s.selected);break;case"single":s.selected=l?!s.selected:!1;break;case"single-persist":s.selected=!!l;break}}),this.updateSelectedItems(),e&&this.calciteChipGroupSelect.emit()}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup",{disabled:t}=this;return g({disabled:t,children:o`<div .ariaLabel=${this.label} class="container" .role=${e}><slot @slotchange=${this.updateItems} ${p(this.slotRefEl)}></slot></div>`})}};d("calcite-chip-group",a);export{a as ChipGroup};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
4
+ import{a as q}from"./6GK2OTHZ.js";import{k as n}from"./FYUK2GME.js";import{a as j}from"./DYHX5C6J.js";import{c as I,e as M,h as W}from"./DJU4LSIS.js";import{c as O,d as S,e as T}from"./HEVM6SRJ.js";import{a as k,b as A}from"./X6EDNQN2.js";import{d as H}from"./NQPJICFQ.js";import"./5YBMD5MK.js";import{a as L}from"./NPTN6OGZ.js";import{a as C}from"./RSI5VQHT.js";import{a as $,b as m}from"./QV6PXGLB.js";import{u as g}from"./NLK3OCCK.js";import{a as p,b as E}from"./6OPQR7PL.js";import{a as w}from"./OLP7ABVK.js";import{B as y,J as z,c as f,e as u,f as l,u as v,v as d,w as b,x as i,z as r}from"./D7X7U5LL.js";var a={assistiveText:"assistive-text",characterLimit:"character-limit",content:"content",container:"container",footer:"footer",characterOverLimit:"character--over-limit",readOnly:"readonly",textAreaInvalid:"text-area--invalid",footerSlotted:"footer--slotted",hide:"hide",footerEndSlotOnly:"footer--end-only",textArea:"text-area",textAreaOnly:"text-area--only"},V={validationMessage:"textAreaValidationMessage"},F={footerStart:"footer-start",footerEnd:"footer-end"},R=100,B=u`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:inline-block;block-size:100%;inline-size:100%;--calcite-internal-text-area-border-color: var(--calcite-text-area-border-color, var(--calcite-color-border-input));--calcite-internal-text-area-footer-border-color: var( --calcite-text-area-footer-border-color, var(--calcite-internal-text-area-border-color) )}.text-area,.footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));background-color:var(--calcite-text-area-background-color, var(--calcite-color-foreground-1));padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-md)}.text-area{position:relative;margin:0;box-sizing:border-box;display:block;inline-size:100%;font-family:var(--calcite-font-family);--calcite-internal-text-area-border-block-end-color: var(--calcite-internal-text-area-border-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-border-color);border-block-end-color:var(--calcite-internal-text-area-border-block-end-color);color:var(--calcite-text-area-text-color, var(--calcite-color-text-1));font-family:var(--calcite-sans-family);max-block-size:var(--calcite-text-area-max-height);min-block-size:var(--calcite-text-area-min-height);max-inline-size:var(--calcite-text-area-max-width);min-inline-size:var(--calcite-text-area-min-width, 12rem)}.text-area::placeholder{font-weight:var(--calcite-font-weight-normal)}@media screen and (max-width: 480px){.text-area{resize:none}}.text-area:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.text-area.text-area--invalid{--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}.text-area.text-area--invalid:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.text-area.footer--slotted{min-inline-size:18rem}.text-area:not(.text-area--only,.text-area--invalid){--calcite-internal-text-area-border-block-end-color: var( --calcite-text-area-divider-color, var(--calcite-color-border-3) )}.footer{box-sizing:border-box;display:flex;align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-footer-border-color);border-block-start:var(--calcite-border-width-none);min-block-size:2.25rem}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));font-weight:var(--calcite-font-weight-regular);color:var(--calcite-text-area-character-limit-text-color, var(--calcite-color-text-2));padding-inline-start:var(--calcite-spacing-md)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-status-danger)}.readonly{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.text-area.text-area--only{block-size:100%}:host([resize=none]) .text-area{resize:none}:host([resize=horizontal]) .text-area{resize:horizontal}:host([resize=vertical]) .text-area{resize:vertical}:host([scale=s]) .text-area,:host([scale=s]) .footer,:host([scale=s]) .character-limit{padding-inline-start:.5rem;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--2))}:host([scale=s]) .footer{min-block-size:1.75rem}:host([scale=s]) .text-area{padding-block:.25rem;padding-inline:.5rem}:host([scale=m]) .text-area{padding-block:.5rem;padding-inline:.75rem}:host([scale=m]) .footer{padding-block:.5rem;padding-inline:.75rem;min-block-size:2.25rem}:host([scale=l]) .text-area,:host([scale=l]) .footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-0));padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}:host([scale=l]) .footer{min-block-size:2.75rem}:host([scale=l]) .text-area,:host([scale=l]) .footer,:host([scale=l]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-0));padding-inline-start:var(--calcite-spacing-lg)}:host([status=invalid]){--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}:host([status=invalid]) .text-area:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([disabled]) .text-area,:host([disabled]) .footer{opacity:var(--calcite-opacity-half)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,x=class extends b{constructor(){super(...arguments),this.attributeWatch=f(["autofocus","spellcheck"],this.handleGlobalAttributesChanged),this.footerEl=$(),this.guid=w(),this.resizeObserver=L("resize",async()=>{await p(this);let{textAreaHeight:e,textAreaWidth:t,elHeight:s,elWidth:c,footerHeight:h,footerWidth:o}=this.getHeightAndWidthOfElements();o>0&&o!==t&&(this.footerEl.value.style.width=`${t}px`),(c!==t||s!==e+(h||0))&&this.setHeightAndWidthToAuto()}),this.setHeightAndWidthToAuto=H(()=>{(this.resize==="vertical"||this.resize==="both")&&(this.el.style.height="auto"),(this.resize==="horizontal"||this.resize==="both")&&(this.el.style.width="auto")},R,{leading:!1}),this.disabled=!1,this.groupSeparator=!1,this.limitText=!1,this.messages=C({blocking:!0}),this.readOnly=!1,this.required=!1,this.resize="both",this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value="",this.wrap="soft",this.calciteTextAreaChange=d(),this.calciteTextAreaInput=d()}static{this.properties={endSlotHasElements:16,startSlotHasElements:16,columns:11,disabled:7,form:3,groupSeparator:7,label:1,limitText:7,maxLength:11,messageOverrides:0,minLength:11,name:3,numberingSystem:1,placeholder:1,readOnly:7,required:7,resize:3,rows:11,scale:3,status:3,validationIcon:[3,{converter:y}],validationMessage:1,validity:0,value:1,wrap:3}}static{this.styles=B}async selectText(){await p(this),this.textAreaEl.select()}async setFocus(){await E(this),this.textAreaEl.focus()}connectedCallback(){super.connectedCallback(),O(this),I(this)}async load(){}updated(){k(this),this.setTextAreaHeight()}loaded(){}disconnectedCallback(){super.disconnectedCallback(),S(this),M(this),this.resizeObserver?.disconnect()}handleGlobalAttributesChanged(){this.requestUpdate()}onLabelClick(){this.setFocus()}handleInput(e){this.value=e.target.value,this.calciteTextAreaInput.emit()}handleChange(){this.calciteTextAreaChange.emit()}contentSlotChangeHandler(){this.value||this.el.childNodes.forEach(e=>{e.nodeName==="#text"&&(this.value=e.nodeValue.trim())})}getLocalizedCharacterLength(){let e=this.value?this.value.length.toString():"0",t=this.maxLength.toString();return this.numberingSystem==="latn"?{currentLength:e,maxLength:t}:(n.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,signDisplay:"never",useGrouping:this.groupSeparator},{currentLength:n.localize(e),maxLength:n.localize(t)})}syncHiddenFormInput(e){e.setCustomValidity(""),this.isCharacterLimitExceeded()&&e.setCustomValidity(this.replacePlaceholdersInMessages()),q("textarea",this,e)}setTextAreaEl(e){e&&(this.textAreaEl=e,this.resizeObserver?.observe(e))}setTextAreaHeight(){let{textAreaHeight:e,elHeight:t,footerHeight:s}=this.getHeightAndWidthOfElements();s>0&&e+s!=t&&(this.textAreaEl.style.height=`${t-s}px`)}getHeightAndWidthOfElements(){let{height:e,width:t}=this.textAreaEl.getBoundingClientRect(),{height:s,width:c}=this.el.getBoundingClientRect(),{height:h,width:o}=this.footerEl.value?this.footerEl.value.getBoundingClientRect():{height:0,width:0};return{textAreaHeight:e,textAreaWidth:t,elHeight:s,elWidth:c,footerHeight:h,footerWidth:o}}replacePlaceholdersInMessages(){return this.messages.tooLong.replace("{maxLength}",this.localizedCharacterLengthObj.maxLength).replace("{currentLength}",this.localizedCharacterLengthObj.currentLength)}isCharacterLimitExceeded(){return this.value?.length>this.maxLength}render(){let e=this.startSlotHasElements||this.endSlotHasElements||!!this.maxLength;return A({disabled:this.disabled,children:l`<textarea aria-describedby=${this.guid??r} aria-errormessage=${V.validationMessage} .ariaInvalid=${this.status==="invalid"||this.isCharacterLimitExceeded()} .ariaLabel=${T(this)} .autofocus=${this.el.autofocus} class=${i({[a.textArea]:!0,[a.readOnly]:this.readOnly,[a.textAreaInvalid]:this.isCharacterLimitExceeded(),[a.footerSlotted]:this.endSlotHasElements&&this.startSlotHasElements,[a.textAreaOnly]:!e})} .cols=${this.columns} .disabled=${this.disabled} maxlength=${(this.limitText?this.maxLength:void 0)??r} name=${this.name??r} @change=${this.handleChange} @input=${this.handleInput} placeholder=${this.placeholder??r} .readOnly=${this.readOnly} .required=${this.required} .rows=${this.rows} spellcheck=${this.el.spellcheck??r} .value=${v(this.value??"")} wrap=${this.wrap??r} ${m(this.setTextAreaEl)}></textarea><span class=${i({[a.content]:!0})}><slot @slotchange=${this.contentSlotChangeHandler}></slot></span><footer class=${i({[a.footer]:!0,[a.readOnly]:this.readOnly,[a.hide]:!e})} ${m(this.footerEl)}><div class=${i({[a.container]:!0,[a.footerEndSlotOnly]:!this.startSlotHasElements&&this.endSlotHasElements})}><slot name=${F.footerStart} @slotchange=${t=>this.startSlotHasElements=g(t)}></slot><slot name=${F.footerEnd} @slotchange=${t=>this.endSlotHasElements=g(t)}></slot></div>${this.renderCharacterLimit()}</footer>${W({component:this})}${this.isCharacterLimitExceeded()&&l`<span aria-live=polite class=${i(a.assistiveText)} id=${this.guid??r}>${this.replacePlaceholdersInMessages()}</span>`||""}${this.validationMessage&&this.status==="invalid"?j({icon:this.validationIcon,id:V.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderCharacterLimit(){return this.maxLength?(this.localizedCharacterLengthObj=this.getLocalizedCharacterLength(),l`<span class=${i(a.characterLimit)}><span class=${i({[a.characterOverLimit]:this.isCharacterLimitExceeded()})}>${this.localizedCharacterLengthObj.currentLength}</span>/${this.localizedCharacterLengthObj.maxLength}</span>`):null}};z("calcite-text-area",x);export{x as TextArea};
@@ -0,0 +1,22 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
4
+ import{a as j}from"./NPTN6OGZ.js";import{a as G}from"./OLP7ABVK.js";import{J as Z,e as C,f as w,g as d,w as P,x as f,z as $}from"./D7X7U5LL.js";function S(s,i,h){let a=i[0]-s[0],n=h[0]-i[0],o=i[1]-s[1],l=h[1]-i[1],r=o/(a||n<0&&0),e=l/(n||a<0&&0),t=(r*n+e*a)/(a+n);return(Math.sign(r)+Math.sign(e))*Math.min(Math.abs(r),Math.abs(e),.5*Math.abs(t))||0}function H(s,i,h){let a=i[0]-s[0],n=i[1]-s[1];return a?(3*n/a-h)/2:h}function O(s,i,h,a,n){let[o,l]=s,[r,e]=i,t=(r-o)/3,c=n([o+t,l+t*h]).join(","),g=n([r-t,e-t*a]).join(","),p=n([r,e]).join(",");return`C ${c} ${g} ${p}`}function E({width:s,height:i,min:h,max:a}){let n=a[0]-h[0],o=a[1]-h[1];return l=>{let r=(l[0]-h[0])/n*s,e=i-l[1]/o*i;return[r,e]}}function R(s){let[i,h]=s[0],a=[i,h],n=[i,h];return s.reduce(({min:o,max:l},[r,e])=>({min:[Math.min(o[0],r),Math.min(o[1],e)],max:[Math.max(l[0],r),Math.max(l[1],e)]}),{min:a,max:n})}function q({data:s,min:i,max:h,t:a}){if(s.length===0)return"";let[n,o]=a(s[0]),[l,r]=a(i),[e]=a(h),t,c,g,p=s.reduce((x,M,m)=>{if(c=s[m-2],g=s[m-1],m>1){let u=S(c,g,M),k=t===void 0?H(c,g,u):t,L=O(c,g,k,u,a);return t=u,`${x} ${L}`}return x},`M ${l},${r} L ${l},${o} L ${n},${o}`),y=s[s.length-1],v=O(g,y,t,H(g,y,t),a);return`${p} ${v} L ${e},${r} Z`}var I=C`:host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0;display:block;block-size:100%;inline-size:100%;padding:0}.svg .graph-path--highlight{fill:var(--calcite-graph-highlight-fill-color, var(--calcite-color-brand));opacity:.5}:host([hidden]){display:none}[hidden]{display:none}`,b={svg:"svg",graphPath:"graph-path",graphPathHighlight:"graph-path--highlight"},z=class extends P{constructor(){super(...arguments),this.graphId=`calcite-graph-${G()}`,this.resizeObserver=j("resize",()=>this.requestUpdate()),this.data=[]}static{this.properties={colorStops:0,data:0,highlightMax:9,highlightMin:9,max:11,min:11}}static{this.styles=I}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}render(){let{data:i,colorStops:h,el:a,highlightMax:n,highlightMin:o,min:l,max:r}=this,e=this.graphId,{clientHeight:t,clientWidth:c}=a;if(!i||i.length===0)return w`<svg aria-hidden=true class=${f(b.svg)} height=${t??$} preserveAspectRatio=none viewBox=${`0 0 ${c} ${t}`} width=${c??$}></svg>`;let{min:g,max:p}=R(i),y=g,v=p;(l<g[0]||l>g[0])&&(y=[l,0]),(r>p[0]||r<p[0])&&(v=[r,p[1]]);let x=E({min:y,max:v,width:c,height:t}),[M]=x([o,v[1]]),[m]=x([n,v[1]]),u=q({data:i,min:g,max:p,t:x}),k=h?`url(#linear-gradient-${e})`:void 0;return w`<svg aria-hidden=true class=${f(b.svg)} height=${t??$} preserveAspectRatio=none viewBox=${`0 0 ${c} ${t}`} width=${c??$}>${h?d`<defs><linearGradient .id=${`linear-gradient-${e}`} x1=0 x2=1 y1=0 y2=0>${h.map(({offset:L,color:A,opacity:B})=>d`<stop offset=${`${L*100}%`} stop-color=${A??$} stop-opacity=${B??$} />`)}</linearGradient></defs>`:null}${o!==void 0?[d`<mask height=100% .id=${`${e}1`} width=100% x=0% y=0%><path d=${`
5
+ M 0,0
6
+ L ${M-1},0
7
+ L ${M-1},${t}
8
+ L 0,${t}
9
+ Z
10
+ `} fill=white /></mask>`,d`<mask height=100% .id=${`${e}2`} width=100% x=0% y=0%><path d=${`
11
+ M ${M+1},0
12
+ L ${m-1},0
13
+ L ${m-1},${t}
14
+ L ${M+1}, ${t}
15
+ Z
16
+ `} fill=white /></mask>`,d`<mask height=100% .id=${`${e}3`} width=100% x=0% y=0%><path d=${`
17
+ M ${m+1},0
18
+ L ${c},0
19
+ L ${c},${t}
20
+ L ${m+1}, ${t}
21
+ Z
22
+ `} fill=white /></mask>`,d`<path class=${f(b.graphPath)} d=${u??$} fill=${k??$} mask=${`url(#${e}1)`} />`,d`<path class=${f(b.graphPathHighlight)} d=${u??$} fill=${k??$} mask=${`url(#${e}2)`} />`,d`<path class=${f(b.graphPath)} d=${u??$} fill=${k??$} mask=${`url(#${e}3)`} />`]:d`<path class=${f(b.graphPath)} d=${u??$} fill=${k??$} />`}</svg>`}};Z("calcite-graph",z);export{z as Graph};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.99
5
- */
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
6
4
  var n={container:"container",containerNone:"container--none-selection",icon:"dropdown-item-icon",iconEnd:"dropdown-item-icon--end",iconStart:"dropdown-item-icon--start",itemContent:"dropdown-item-content",link:"dropdown-link"};export{n as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
4
+ import{a as X}from"./6GK2OTHZ.js";import{a as T,b as v,c as W,d as A,e as U,k as a}from"./FYUK2GME.js";import{a as Q}from"./DYHX5C6J.js";import{a as R,c as q,e as G,g as z,h as J}from"./DJU4LSIS.js";import{c as L,d as K,e as _}from"./HEVM6SRJ.js";import{a as D,b as j}from"./X6EDNQN2.js";import{a as f}from"./HMZA4X6S.js";import"./4GUL5QXY.js";import{a as S}from"./TTARWRVZ.js";import{b as M}from"./5YBMD5MK.js";import{a as P}from"./RSI5VQHT.js";import{a as k,b as y}from"./QV6PXGLB.js";import{e as C,p as w,x as I}from"./NLK3OCCK.js";import{b as F}from"./6OPQR7PL.js";import"./OLP7ABVK.js";import{B as x,C as B,J as O,c as $,e as V,f as l,j as b,u as E,v as g,w as H,x as o}from"./D7X7U5LL.js";var r={loader:"loader",clearButton:"clear-button",inputIcon:"icon",prefix:"prefix",suffix:"suffix",numberButtonWrapper:"number-button-wrapper",buttonItemHorizontal:"number-button-item--horizontal",wrapper:"element-wrapper",inputWrapper:"wrapper",actionWrapper:"action-wrapper",numberButtonItem:"number-button-item"},Y={validationMessage:"inputNumberValidationMessage"},ee={action:"action"},te=V`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}input{transition:var(--calcite-animation-timing),block-size 0,outline-offset 0s;-webkit-appearance:none;position:relative;margin:0;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-radius:0;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input:placeholder-shown{text-overflow:ellipsis}input{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input::placeholder,input:-ms-input-placeholder,input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}input{outline-color:transparent}input:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([status=invalid]) input{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([scale=s]) .icon{inset-inline-start:.5rem}:host([scale=m]) .icon{inset-inline-start:.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);display:block;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.clear-button{pointer-events:initial;order:4;margin:0;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-color-foreground-2);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.clear-button:hover calcite-icon{color:var(--calcite-color-text-1);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.clear-button:active{background-color:var(--calcite-color-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-color-text-1)}.clear-button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-color-text-2)}.prefix{order:2;border-inline-end-width:0px;inline-size:var(--calcite-input-prefix-size, auto)}.suffix{order:5;border-inline-start-width:0px;inline-size:var(--calcite-input-suffix-size, auto)}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);padding-block:0px;padding-inline:.5rem;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.number-button-item:focus{background-color:var(--calcite-color-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-color-text-1)}.number-button-item:active{background-color:var(--calcite-color-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{background-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,N=class extends H{constructor(){super(),this.actionWrapperEl=k(),this.attributeWatch=$(["autofocus","enterkeyhint","inputmode"],this.handleGlobalAttributesChanged),this.inputWrapperEl=k(),this.onHiddenFormInputInput=e=>{e.target.name===this.name&&this.setNumberValue({value:e.target.value,origin:"direct"}),this.setFocus(),e.stopPropagation()},this.previousValueOrigin="initial",this.userChangedValue=!1,this._value="",this.slottedActionElDisabledInternally=!1,this.alignment="start",this.clearable=!1,this.disabled=!1,this.editingEnabled=!1,this.groupSeparator=!1,this.iconFlipRtl=!1,this.integer=!1,this.loading=!1,this.localeFormat=!1,this.messages=P(),this.numberButtonType="vertical",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteInputNumberChange=g({cancelable:!1}),this.calciteInputNumberInput=g(),this.calciteInternalInputNumberBlur=g({cancelable:!1}),this.calciteInternalInputNumberFocus=g({cancelable:!1}),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={displayedValue:16,slottedActionElDisabledInternally:16,alignment:3,autocomplete:0,clearable:7,disabled:7,editingEnabled:7,form:3,groupSeparator:7,icon:[3,{converter:x}],iconFlipRtl:7,integer:5,label:1,loading:7,localeFormat:5,max:11,maxLength:11,messageOverrides:0,min:11,minLength:11,name:3,numberButtonType:3,numberingSystem:3,placeholder:1,prefixText:1,readOnly:7,required:7,scale:3,status:3,step:3,suffixText:1,validationIcon:[3,{converter:x}],validationMessage:1,validity:0,value:1}}static{this.styles=te}get isClearable(){return this.clearable&&this.value.length>0}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.valueWatcher(e,t),e&&this._value===""&&this.setNumberValue({origin:"reset",value:t}))}async selectText(){this.childNumberEl?.select()}async setFocus(){await F(this),this.childNumberEl?.focus()}connectedCallback(){super.connectedCallback(),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),L(this),q(this),this.el.addEventListener(z,this.onHiddenFormInputInput)}async load(){this.maxString=this.max?.toString(),this.minString=this.min?.toString(),this.requestedIcon=w({},this.icon,"number"),this.setPreviousEmittedNumberValue(this.value),this.setPreviousNumberValue(this.value),this.warnAboutInvalidNumberValue(this.value),this.value==="Infinity"||this.value==="-Infinity"?(this.displayedValue=this.value,this.previousEmittedNumberValue=this.value):this.setNumberValue({origin:"connected",value:v(this.value)?this.value:""})}willUpdate(e){e.has("max")&&(this.maxString=this.max?.toString()||null),e.has("min")&&(this.minString=this.min?.toString()||null),e.has("icon")&&(this.requestedIcon=w({},this.icon,"number")),e.has("messages")&&(a.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:!1})}updated(){D(this)}loaded(){}disconnectedCallback(){super.disconnectedCallback(),K(this),G(this),this.el.removeEventListener(z,this.onHiddenFormInputInput)}handleGlobalAttributesChanged(){this.requestUpdate()}valueWatcher(e,t){if(!this.userChangedValue){if(e==="Infinity"||e==="-Infinity"){this.displayedValue=e,this.previousEmittedNumberValue=e;return}this.setNumberValue({origin:"direct",previousValue:t,value:e==null||e==""?"":v(e)?e:this.previousValue||""}),this.warnAboutInvalidNumberValue(e)}this.userChangedValue=!1}keyDownHandler(e){this.readOnly||this.disabled||e.defaultPrevented||(this.isClearable&&e.key==="Escape"&&(this.clearInputValue(e),e.preventDefault()),e.key==="Enter"&&R(this)&&e.preventDefault())}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(e,t,i,m){let{value:n}=this;if(n==="Infinity"||n==="-Infinity")return;let s=e==="up"?1:-1,u=this.integer&&this.step!=="any"?Math.round(this.step):this.step,p=u==="any"?1:Math.abs(u||1),h=new T(n!==""?n:"0").add(`${p*s}`),d=()=>typeof i=="number"&&!isNaN(i)&&h.subtract(`${i}`).isNegative,c=()=>typeof t=="number"&&!isNaN(t)&&!h.subtract(`${t}`).isNegative,Z=d()?`${i}`:c()?`${t}`:h.toString();this.setNumberValue({committing:!0,nativeEvent:m,origin:"user",value:Z})}clearInputValue(e){this.setNumberValue({committing:!0,nativeEvent:e,origin:"user",value:""})}emitChangeIfUserModified(){this.previousValueOrigin==="user"&&this.value!==this.previousEmittedNumberValue&&(this.calciteInputNumberChange.emit(),this.setPreviousEmittedNumberValue(this.value))}inputNumberBlurHandler(){window.clearInterval(this.nudgeNumberValueIntervalId),this.calciteInternalInputNumberBlur.emit(),this.emitChangeIfUserModified()}clickHandler(e){if(this.disabled)return;let t=e.composedPath();!t.includes(this.inputWrapperEl.value)||t.includes(this.actionWrapperEl.value)||this.setFocus()}inputNumberFocusHandler(){this.calciteInternalInputNumberFocus.emit()}inputNumberInputHandler(e){if(this.disabled||this.readOnly||this.value==="Infinity"||this.value==="-Infinity")return;let t=e.target.value;a.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};let i=a.delocalize(t);e.inputType==="insertFromPaste"?((!v(i)||this.integer&&(i.includes("e")||i.includes(".")))&&e.preventDefault(),this.setNumberValue({nativeEvent:e,origin:"user",value:W(i)}),this.childNumberEl.value=this.displayedValue):this.setNumberValue({nativeEvent:e,origin:"user",value:i})}inputNumberKeyDownHandler(e){if(this.disabled||this.readOnly)return;if(this.value==="Infinity"||this.value==="-Infinity"){e.preventDefault(),(e.key==="Backspace"||e.key==="Delete")&&this.clearInputValue(e);return}if(e.key==="ArrowUp"){e.preventDefault(),this.nudgeNumberValue("up",e);return}if(e.key==="ArrowDown"){this.nudgeNumberValue("down",e);return}let t=[...M,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(e.altKey||e.ctrlKey||e.metaKey)return;let i=e.shiftKey&&e.key==="Tab";if(t.includes(e.key)||i){e.key==="Enter"&&this.emitChangeIfUserModified();return}a.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},!(e.key===a.decimal&&!this.integer&&(!this.value&&!this.childNumberEl.value||this.value&&this.childNumberEl.value.indexOf(a.decimal)===-1))&&(/[eE]/.test(e.key)&&!this.integer&&(!this.value&&!this.childNumberEl.value||this.value&&!/[eE]/.test(this.childNumberEl.value))||e.key==="-"&&(!this.value&&!this.childNumberEl.value||this.value&&this.childNumberEl.value.split("-").length<=2)||e.preventDefault())}nudgeNumberValue(e,t){if(t instanceof KeyboardEvent&&t.repeat)return;let i=this.maxString?parseFloat(this.maxString):null,m=this.minString?parseFloat(this.minString):null,n=150;this.incrementOrDecrementNumberValue(e,i,m,t),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let s=!0;this.nudgeNumberValueIntervalId=window.setInterval(()=>{if(s){s=!1;return}this.incrementOrDecrementNumberValue(e,i,m,t)},n)}nudgeButtonPointerUpHandler(e){I(e)&&window.clearInterval(this.nudgeNumberValueIntervalId)}nudgeButtonPointerOutHandler(){window.clearInterval(this.nudgeNumberValueIntervalId)}nudgeButtonPointerDownHandler(e){if(!I(e))return;e.preventDefault();let t=e.target.dataset.adjustment;this.disabled||this.nudgeNumberValue(t,e)}syncHiddenFormInput(e){X("number",this,e)}setChildNumberElRef(e){this.childNumberEl=e}setInputNumberValue(e){this.childNumberEl&&(this.childNumberEl.value=e)}setPreviousEmittedNumberValue(e){this.previousEmittedNumberValue=this.normalizeValue(e)}normalizeValue(e){return v(e)?e:""}setPreviousNumberValue(e){this.previousValue=this.normalizeValue(e)}setNumberValue({committing:e=!1,nativeEvent:t,origin:i,previousValue:m,value:n}){a.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};let s=this.previousValue?.length>n.length||this.value?.length>n.length,u=this.integer?n.replace(/[e.]/g,""):n,p=u.charAt(u.length-1)===".",h=p&&s?u:A(u),d=n&&!h?v(this.previousValue)?this.previousValue:"":h,c=a.localize(d);i!=="connected"&&!p&&(c=U(c,d,a)),this.displayedValue=p&&s?`${c}${a.decimal}`:c,this.setPreviousNumberValue(m??this.value),this.previousValueOrigin=i,this.userChangedValue=i==="user"&&this.value!==d,this.value=["-","."].includes(d)?"":d,i==="direct"&&(this.setInputNumberValue(c),this.setPreviousEmittedNumberValue(c)),t&&(this.calciteInputNumberInput.emit().defaultPrevented?(this.value=this.previousValue,this.displayedValue=a.localize(this.previousValue)):e&&this.emitChangeIfUserModified())}inputNumberKeyUpHandler(){window.clearInterval(this.nudgeNumberValueIntervalId)}warnAboutInvalidNumberValue(e){e&&!v(e)&&console.warn(`The specified value "${e}" cannot be parsed, or is out of range.`)}render(){let e=C(this.el),t=l`<div class=${o(r.loader)}><calcite-progress .label=${this.messages.loading} type=indeterminate></calcite-progress></div>`,i=l`<button .ariaLabel=${this.messages.clear} class=${o(r.clearButton)} .disabled=${this.disabled||this.readOnly} @click=${this.clearInputValue} tabindex=-1 type=button><calcite-icon icon=x .scale=${f(this.scale)}></calcite-icon></button>`,m=l`<calcite-icon class=${o(r.inputIcon)} .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${f(this.scale)}></calcite-icon>`,n=this.numberButtonType==="horizontal",s=l`<button aria-hidden=true class=${o({[r.numberButtonItem]:!0,[r.buttonItemHorizontal]:n})} data-adjustment=up .disabled=${this.disabled||this.readOnly} @pointerdown=${this.nudgeButtonPointerDownHandler} @pointerout=${this.nudgeButtonPointerOutHandler} @pointerup=${this.nudgeButtonPointerUpHandler} tabindex=-1 type=button><calcite-icon icon=chevron-up .scale=${f(this.scale)}></calcite-icon></button>`,u=l`<button aria-hidden=true class=${o({[r.numberButtonItem]:!0,[r.buttonItemHorizontal]:n})} data-adjustment=down .disabled=${this.disabled||this.readOnly} @pointerdown=${this.nudgeButtonPointerDownHandler} @pointerout=${this.nudgeButtonPointerOutHandler} @pointerup=${this.nudgeButtonPointerUpHandler} tabindex=-1 type=button><calcite-icon icon=chevron-down .scale=${f(this.scale)}></calcite-icon></button>`,p=l`<div class=${o(r.numberButtonWrapper)}>${s}${u}</div>`,h=l`<div class=${o(r.prefix)}>${this.prefixText}</div>`,d=l`<div class=${o(r.suffix)}>${this.suffixText}</div>`,c=S("localized-input",l`<input aria-errormessage=${Y.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${_(this)} autocomplete=${this.autocomplete??b} .autofocus=${this.el.autofocus} value=${this.defaultValue??b} .disabled=${this.disabled} enterkeyhint=${this.el.enterKeyHint??b} inputmode=${this.el.inputMode||"decimal"} maxlength=${this.maxLength??b} minlength=${this.minLength??b} name=${b} @blur=${this.inputNumberBlurHandler} @focus=${this.inputNumberFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputNumberKeyUpHandler} placeholder=${(this.placeholder||"")??b} .readOnly=${this.readOnly} type=text .value=${E(this.displayedValue??"")} ${y(this.setChildNumberElRef)}>`);return j({disabled:this.disabled,children:l`<div class=${o({[r.inputWrapper]:!0,[B.rtl]:e==="rtl"})} ${y(this.inputWrapperEl)}>${this.numberButtonType==="horizontal"&&!this.readOnly?u:null}${this.prefixText?h:null}<div class=${o(r.wrapper)}>${c}${this.isClearable?i:null}${this.requestedIcon?m:null}${this.loading?t:null}</div><div class=${o(r.actionWrapper)} ${y(this.actionWrapperEl)}><slot name=${ee.action}></slot></div>${this.numberButtonType==="vertical"&&!this.readOnly?p:null}${this.suffixText?d:null}${this.numberButtonType==="horizontal"&&!this.readOnly?s:null}${J({component:this})}</div>${this.validationMessage&&this.status==="invalid"?Q({icon:this.validationIcon,id:Y.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}};O("calcite-input-number",N);export{N as InputNumber};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
4
+ var p="24px",x="32px",a="44px",s="48px";export{p as a,x as b,a as c,s as d};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.1 */
4
+ import{a as d,b as g}from"./QV6PXGLB.js";import{u as n}from"./NLK3OCCK.js";import{b as y}from"./6OPQR7PL.js";import"./OLP7ABVK.js";import{J as h,e as l,f as i,v as c,w as m,x as o}from"./D7X7U5LL.js";var a={container:"container",containerContent:"container-content",hasProgress:"progress-bar",hide:"hide",primary:"primary",secondary:"secondary",tertiary:"tertiary"},e={logo:"logo",user:"user",progress:"progress",navigationAction:"navigation-action",contentStart:"content-start",contentEnd:"content-end",contentCenter:"content-center",navSecondary:"navigation-secondary",navTertiary:"navigation-tertiary"},S={hamburger:"hamburger"},v=l`:host([hidden]){display:none}[hidden]{display:none}.container{display:flex;inline-size:100%;flex-direction:column;margin-block:0;margin-inline:auto;background-color:var(--calcite-navigation-background-color, var(--calcite-navigation-background, var(--calcite-color-foreground-1)))}.container.primary,.container.secondary,.container.tertiary{border-block-end:1px solid;border-block-end-color:var(--calcite-navigation-border-color, var(--calcite-color-border-3))}.user,.logo{display:flex}.hide{display:none}.primary{block-size:4rem}.secondary,.tertiary{block-size:3rem}.container-content{margin-inline:auto;display:flex;block-size:100%;inline-size:100%;margin-block:0;inline-size:var(--calcite-navigation-width, 100%);max-inline-size:100%}.container-content.progress-bar{margin-block-start:.125rem}slot[name]{display:flex;flex-direction:row}slot[name=navigation-secondary]::slotted(calcite-navigation),slot[name=navigation-tertiary]::slotted(calcite-navigation){inline-size:100%}slot[name=content-start]::slotted(*),slot[name=content-center]::slotted(*),slot[name=content-end]::slotted(*){display:flex;flex-direction:row;align-items:center}slot[name=progress],slot[name=progress] calcite-progress{inset-block-start:0;inset-inline:0}slot[name=content-end]{margin-inline-start:auto}slot[name=content-start]{margin-inline-end:auto}slot[name=content-end],slot[name=logo]~slot[name=user],slot[name=user]:only-child{margin-inline-start:auto}slot[name=content-center]{margin-inline-start:auto;margin-inline-end:auto}slot[name=content-start]~slot[name=content-center]{margin-inline-start:0px}slot[name=content-start]~slot[name=content-end],slot[name=content-center]~slot[name=content-end],slot[name=content-center]~slot[name=user],slot[name=content-end]~slot[name=user]{margin:0}`,s=class extends m{constructor(){super(...arguments),this.navigationActionEl=d(),this.navigationAction=!1,this.calciteNavigationActionSelect=c({cancelable:!1})}static{this.properties={logoSlotHasElements:16,navigationActionSlotHasElements:16,primaryContentCenterSlotHasElements:16,primaryContentEndSlotHasElements:16,primaryContentStartSlotHasElements:16,progressSlotHasElement:16,secondarySlotHasElements:16,tertiarySlotHasElements:16,userSlotHasElements:16,label:1,navigationAction:7}}static{this.styles=v}async setFocus(){return await y(this),this.navigationActionEl.value?.setFocus()}load(){}loaded(){}actionClickHandler(){this.calciteNavigationActionSelect.emit()}handleUserSlotChange(t){this.isPrimaryLevel()&&(this.userSlotHasElements=n(t))}handleLogoSlotChange(t){this.isPrimaryLevel()&&(this.logoSlotHasElements=n(t))}handleContentStartSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentStartSlotHasElements=n(t))}handleContentEndSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentEndSlotHasElements=n(t))}handleContentCenterSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentCenterSlotHasElements=n(t))}handleSecondarySlotChange(t){this.secondarySlotHasElements=n(t)}handleTertiarySlotChange(t){this.tertiarySlotHasElements=n(t)}handleMenuActionSlotChange(t){this.isPrimaryLevel()&&(this.navigationActionSlotHasElements=n(t),this.navigationActionSlotHasElements&&(this.navigationAction=!1))}handleProgressSlotChange(t){this.isPrimaryLevel()&&(this.progressSlotHasElement=n(t))}isPrimaryLevel(){return this.el.slot!==e.navSecondary&&this.el.slot!==e.navTertiary}renderMenuAction(){return i`<slot name=${e.navigationAction} @slotchange=${this.handleMenuActionSlotChange}>${this.navigationAction&&i`<calcite-action .icon=${S.hamburger} @click=${this.actionClickHandler} .text=${this.label} ${g(this.navigationActionEl)}></calcite-action>`||""}</slot>`}render(){let t=this.logoSlotHasElements||this.userSlotHasElements||this.navigationActionSlotHasElements||this.primaryContentCenterSlotHasElements||this.primaryContentEndSlotHasElements||this.primaryContentStartSlotHasElements||this.navigationAction,r=this.el.slot;return i`<div class=${o({[a.container]:!0,[a.secondary]:r===e.navSecondary,[a.tertiary]:r===e.navTertiary,[a.primary]:t})}><div class=${o({[a.hide]:!this.progressSlotHasElement,[e.progress]:!0})}><slot name=${e.progress} @slotchange=${this.handleProgressSlotChange}></slot></div><div class=${o({[a.containerContent]:!0,[a.hasProgress]:this.progressSlotHasElement})}>${this.renderMenuAction()}<div class=${o({[a.hide]:!this.logoSlotHasElements,[e.logo]:!0})}><slot name=${e.logo} @slotchange=${this.handleLogoSlotChange}></slot></div><slot name=${e.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot><slot name=${e.contentCenter} @slotchange=${this.handleContentCenterSlotChange}></slot><slot name=${e.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot><div class=${o({[a.hide]:!this.userSlotHasElements,[e.user]:!0})}><slot name=${e.user} @slotchange=${this.handleUserSlotChange}></slot></div></div></div><slot name=${e.navSecondary} @slotchange=${this.handleSecondarySlotChange}></slot><slot name=${e.navTertiary} @slotchange=${this.handleTertiarySlotChange}></slot>`}};h("calcite-navigation",s);export{s as Navigation};