@esri/calcite-components 1.4.0-next.15 → 1.4.0-next.16

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 (983) hide show
  1. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/af.js +39 -0
  2. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/am.js +40 -0
  3. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-dz.js +41 -0
  4. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-iq.js +42 -0
  5. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-kw.js +41 -0
  6. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-ly.js +27 -0
  7. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-ma.js +42 -0
  8. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-sa.js +41 -0
  9. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-tn.js +42 -0
  10. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar.js +74 -0
  11. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/az.js +39 -0
  12. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/be.js +24 -0
  13. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bg.js +55 -0
  14. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bi.js +39 -0
  15. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bm.js +39 -0
  16. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bn-bd.js +81 -0
  17. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bn.js +72 -0
  18. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bo.js +38 -0
  19. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/br.js +93 -0
  20. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bs.js +24 -0
  21. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ca.js +44 -0
  22. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cs.js +120 -0
  23. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cv.js +24 -0
  24. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cy.js +39 -0
  25. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/da.js +39 -0
  26. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de-at.js +63 -0
  27. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de-ch.js +63 -0
  28. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de.js +64 -0
  29. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/dv.js +39 -0
  30. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/el.js +39 -0
  31. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-au.js +39 -0
  32. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-ca.js +38 -0
  33. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-gb.js +42 -0
  34. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-ie.js +39 -0
  35. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-il.js +38 -0
  36. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-in.js +42 -0
  37. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-nz.js +41 -0
  38. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-sg.js +39 -0
  39. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-tt.js +42 -0
  40. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en.js +12 -0
  41. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/eo.js +39 -0
  42. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-do.js +39 -0
  43. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-mx.js +38 -0
  44. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-pr.js +39 -0
  45. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-us.js +38 -0
  46. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es.js +39 -0
  47. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/et.js +65 -0
  48. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/eu.js +43 -0
  49. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fa.js +39 -0
  50. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fi.js +88 -0
  51. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fo.js +39 -0
  52. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr-ca.js +38 -0
  53. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr-ch.js +39 -0
  54. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr.js +41 -0
  55. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fy.js +39 -0
  56. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ga.js +39 -0
  57. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gd.js +39 -0
  58. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gl.js +39 -0
  59. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gom-latn.js +25 -0
  60. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gu.js +38 -0
  61. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/he.js +78 -0
  62. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hi.js +38 -0
  63. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hr.js +53 -0
  64. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ht.js +38 -0
  65. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hu.js +61 -0
  66. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hy-am.js +39 -0
  67. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/id.js +39 -0
  68. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/is.js +68 -0
  69. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/it-ch.js +39 -0
  70. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/it.js +39 -0
  71. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ja.js +45 -0
  72. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/jv.js +39 -0
  73. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ka.js +39 -0
  74. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/kk.js +39 -0
  75. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/km.js +39 -0
  76. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/kn.js +38 -0
  77. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ko.js +45 -0
  78. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ku.js +77 -0
  79. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ky.js +39 -0
  80. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lb.js +24 -0
  81. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lo.js +38 -0
  82. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lt.js +70 -0
  83. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lv.js +39 -0
  84. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/me.js +24 -0
  85. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mi.js +39 -0
  86. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mk.js +39 -0
  87. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ml.js +38 -0
  88. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mn.js +38 -0
  89. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mr.js +23 -0
  90. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ms-my.js +39 -0
  91. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ms.js +39 -0
  92. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mt.js +39 -0
  93. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/my.js +39 -0
  94. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nb.js +40 -0
  95. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ne.js +40 -0
  96. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nl-be.js +39 -0
  97. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nl.js +40 -0
  98. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nn.js +39 -0
  99. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/oc-lnc.js +39 -0
  100. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pa-in.js +38 -0
  101. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pl.js +87 -0
  102. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pt-br.js +38 -0
  103. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pt.js +40 -0
  104. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/rn.js +39 -0
  105. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ro.js +39 -0
  106. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ru.js +99 -0
  107. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/rw.js +35 -0
  108. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sd.js +39 -0
  109. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/se.js +39 -0
  110. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/si.js +38 -0
  111. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sk.js +121 -0
  112. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sl.js +39 -0
  113. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sq.js +39 -0
  114. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sr-cyrl.js +74 -0
  115. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sr.js +74 -0
  116. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ss.js +39 -0
  117. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sv-fi.js +46 -0
  118. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sv.js +44 -0
  119. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sw.js +39 -0
  120. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ta.js +38 -0
  121. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/te.js +38 -0
  122. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tet.js +39 -0
  123. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tg.js +39 -0
  124. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/th.js +38 -0
  125. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tk.js +39 -0
  126. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tl-ph.js +39 -0
  127. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tlh.js +24 -0
  128. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tr.js +39 -0
  129. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzl.js +24 -0
  130. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzm-latn.js +39 -0
  131. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzm.js +39 -0
  132. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ug-cn.js +39 -0
  133. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uk.js +77 -0
  134. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ur.js +39 -0
  135. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uz-latn.js +39 -0
  136. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uz.js +39 -0
  137. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/vi.js +43 -0
  138. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/x-pseudo.js +39 -0
  139. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/yo.js +39 -0
  140. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-cn.js +67 -0
  141. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-hk.js +44 -0
  142. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-tw.js +65 -0
  143. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh.js +67 -0
  144. package/dist/calcite/calcite.esm.js +2 -2
  145. package/dist/calcite/index.esm.js +2 -2
  146. package/dist/calcite/{p-095fbb9c.js → p-0277618c.js} +2 -2
  147. package/dist/calcite/{p-fa6923d6.js → p-0351d9cc.js} +1 -1
  148. package/dist/calcite/{p-723b5d57.entry.js → p-04f61853.entry.js} +2 -2
  149. package/dist/calcite/p-05c6a039.js +6 -0
  150. package/dist/calcite/{p-ef9a5d3b.entry.js → p-067a3f69.entry.js} +2 -2
  151. package/dist/calcite/{p-fc7e968f.entry.js → p-0beba072.entry.js} +2 -2
  152. package/dist/calcite/{p-1c64a43e.js → p-0c863081.js} +1 -1
  153. package/dist/calcite/{p-078d6125.entry.js → p-1547dd35.entry.js} +2 -2
  154. package/dist/calcite/{p-7cb7075d.js → p-18728d14.js} +2 -2
  155. package/dist/calcite/{p-813c2be6.js → p-1ea8f0fe.js} +2 -2
  156. package/dist/calcite/{p-ff929412.js → p-1f7ffee5.js} +2 -2
  157. package/dist/calcite/{p-ac57fd08.js → p-2111fbc3.js} +1 -1
  158. package/dist/calcite/{p-b518bfe5.entry.js → p-23aa6e59.entry.js} +2 -2
  159. package/dist/calcite/{p-eb6a719c.entry.js → p-27d590b1.entry.js} +2 -2
  160. package/dist/calcite/{p-2070426b.entry.js → p-290ef70e.entry.js} +2 -2
  161. package/dist/calcite/{p-f6c7f848.entry.js → p-2bfd4ac6.entry.js} +2 -2
  162. package/dist/calcite/{p-6d1c78c6.entry.js → p-30cd338f.entry.js} +2 -2
  163. package/dist/calcite/{p-36ba59b5.entry.js → p-31227f59.entry.js} +2 -2
  164. package/dist/calcite/{p-8b7ba09e.entry.js → p-33bf004c.entry.js} +2 -2
  165. package/dist/calcite/p-3455164c.js +6 -0
  166. package/dist/calcite/{p-942951dc.entry.js → p-3c0b7686.entry.js} +2 -2
  167. package/dist/calcite/{p-9ff06d7d.entry.js → p-3cf838da.entry.js} +2 -2
  168. package/dist/calcite/{p-fd91322a.js → p-3e8b5d77.js} +2 -2
  169. package/dist/calcite/{p-389364ac.js → p-4301c76a.js} +1 -1
  170. package/dist/calcite/{p-d6771d3f.entry.js → p-47067509.entry.js} +2 -2
  171. package/dist/calcite/{p-2a7a2dab.entry.js → p-48f73042.entry.js} +2 -2
  172. package/dist/calcite/{p-abbc9a4c.entry.js → p-49fe68e2.entry.js} +2 -2
  173. package/dist/calcite/{p-d0c901cb.entry.js → p-4a2c2c79.entry.js} +2 -2
  174. package/dist/calcite/{p-4f365c55.entry.js → p-4a7993f4.entry.js} +2 -2
  175. package/dist/calcite/{p-497e2df8.js → p-4b969718.js} +1 -1
  176. package/dist/calcite/{p-51b52626.entry.js → p-4f56cc1a.entry.js} +2 -2
  177. package/dist/calcite/{p-23bc8627.js → p-525e4cca.js} +1 -1
  178. package/dist/calcite/{p-8299bb39.entry.js → p-52651115.entry.js} +2 -2
  179. package/dist/calcite/{p-0755be9a.js → p-54881950.js} +2 -2
  180. package/dist/calcite/{p-de32f502.entry.js → p-5b77ced0.entry.js} +2 -2
  181. package/dist/calcite/{p-ab452c72.js → p-6010ff85.js} +2 -2
  182. package/dist/calcite/{p-f8f811bb.entry.js → p-61673f47.entry.js} +2 -2
  183. package/dist/calcite/{p-1d0edcf2.entry.js → p-638fc38b.entry.js} +2 -2
  184. package/dist/calcite/{p-fb688b5f.js → p-63e02de9.js} +1 -1
  185. package/dist/calcite/{p-c8bc99d8.entry.js → p-641219f4.entry.js} +2 -2
  186. package/dist/calcite/{p-e1754d5b.js → p-655a7f16.js} +2 -2
  187. package/dist/calcite/{p-03ebe28a.entry.js → p-6734907f.entry.js} +2 -2
  188. package/dist/calcite/{p-285d0db5.entry.js → p-6a2f5917.entry.js} +2 -2
  189. package/dist/calcite/{p-77cac495.entry.js → p-6ab42776.entry.js} +2 -2
  190. package/dist/calcite/{p-d8ba414c.entry.js → p-71895bb1.entry.js} +2 -2
  191. package/dist/calcite/{p-d499f213.entry.js → p-72e7c38f.entry.js} +2 -2
  192. package/dist/calcite/{p-509083d3.entry.js → p-73b5d396.entry.js} +2 -2
  193. package/dist/calcite/{p-0a5b5a74.entry.js → p-74b246d9.entry.js} +2 -2
  194. package/dist/calcite/{p-7eefc501.entry.js → p-751cb0a1.entry.js} +2 -2
  195. package/dist/calcite/{p-aceac04a.js → p-751cb1dd.js} +1 -1
  196. package/dist/calcite/{p-02df5871.entry.js → p-75859925.entry.js} +2 -2
  197. package/dist/calcite/{p-f9496bf8.js → p-767b434a.js} +1 -1
  198. package/dist/calcite/p-80935f8d.js +6 -0
  199. package/dist/calcite/{p-9c7997b7.entry.js → p-8137ba3e.entry.js} +2 -2
  200. package/dist/calcite/{p-70d114e8.entry.js → p-83ff7236.entry.js} +2 -2
  201. package/dist/calcite/{p-f1839118.entry.js → p-89dc4d82.entry.js} +2 -2
  202. package/dist/calcite/{p-1285cf8b.js → p-8b690f1c.js} +1 -1
  203. package/dist/calcite/{p-7ad3037f.entry.js → p-90274aea.entry.js} +2 -2
  204. package/dist/calcite/p-90424657.entry.js +6 -0
  205. package/dist/calcite/{p-f24dde3f.entry.js → p-919af7b6.entry.js} +2 -2
  206. package/dist/calcite/{p-792983c2.entry.js → p-93512e63.entry.js} +2 -2
  207. package/dist/calcite/{p-dfb043b0.entry.js → p-941883f9.entry.js} +2 -2
  208. package/dist/calcite/{p-6954918d.entry.js → p-9500d582.entry.js} +2 -2
  209. package/dist/calcite/p-95bfaf00.js +6 -0
  210. package/dist/calcite/{p-8b42ad57.js → p-974e1ec2.js} +1 -1
  211. package/dist/calcite/{p-f877d3e8.entry.js → p-9ce84574.entry.js} +2 -2
  212. package/dist/calcite/{p-0ea2ca75.js → p-9f3432bc.js} +1 -1
  213. package/dist/calcite/{p-6b0060f3.entry.js → p-a09111b0.entry.js} +2 -2
  214. package/dist/calcite/{p-696ecb2a.js → p-a5034525.js} +2 -2
  215. package/dist/calcite/{p-37324b1c.entry.js → p-a7eea6e0.entry.js} +2 -2
  216. package/dist/calcite/{p-c5ddb9fe.js → p-aa77ca77.js} +1 -1
  217. package/dist/calcite/{p-e3a49bb8.entry.js → p-ad587efe.entry.js} +2 -2
  218. package/dist/calcite/{p-33cea899.js → p-b43e6bcd.js} +2 -2
  219. package/dist/calcite/{p-fdaa6bed.entry.js → p-b7f288f9.entry.js} +2 -2
  220. package/dist/calcite/p-ba42e0c7.entry.js +6 -0
  221. package/dist/calcite/{p-8f87ceda.entry.js → p-bbd9bada.entry.js} +2 -2
  222. package/dist/calcite/{p-5b77aa9d.js → p-bcbe2e66.js} +1 -1
  223. package/dist/calcite/{p-0de1080c.entry.js → p-bdb39383.entry.js} +2 -2
  224. package/dist/calcite/{p-b52371fa.entry.js → p-bf4bc523.entry.js} +2 -2
  225. package/dist/calcite/{p-a2ccf37f.entry.js → p-c0f2906e.entry.js} +2 -2
  226. package/dist/calcite/p-c335f66c.entry.js +6 -0
  227. package/dist/calcite/{p-fddd3bb0.js → p-c6a450ac.js} +2 -2
  228. package/dist/calcite/{p-b7f1c41a.js → p-ca01e893.js} +1 -1
  229. package/dist/calcite/{p-34e90904.entry.js → p-cb8cc2ae.entry.js} +2 -2
  230. package/dist/calcite/{p-fbf56ac8.entry.js → p-ce58f7d7.entry.js} +2 -2
  231. package/dist/calcite/{p-c18fb42e.js → p-d7126b30.js} +1 -1
  232. package/dist/calcite/{p-37a3e4db.entry.js → p-d79bee90.entry.js} +2 -2
  233. package/dist/calcite/{p-41c9226d.entry.js → p-ddb757f8.entry.js} +2 -2
  234. package/dist/calcite/{p-37b3f9f2.entry.js → p-df227eee.entry.js} +2 -2
  235. package/dist/calcite/{p-54ddb46b.entry.js → p-e2856b56.entry.js} +2 -2
  236. package/dist/calcite/{p-2e6e3803.js → p-e57baa62.js} +1 -1
  237. package/dist/calcite/p-e9ca882b.entry.js +6 -0
  238. package/dist/calcite/p-ed14617d.js +6 -0
  239. package/dist/calcite/{p-c26b7719.entry.js → p-f536425b.entry.js} +2 -2
  240. package/dist/calcite/{p-3e74d103.js → p-f6769d95.js} +2 -2
  241. package/dist/calcite/{p-986d7d14.entry.js → p-fa172a75.entry.js} +2 -2
  242. package/dist/calcite/p-fae9b6ae.entry.js +6 -0
  243. package/dist/cjs/{ExpandToggle-4964074d.js → ExpandToggle-21b87aff.js} +5 -5
  244. package/dist/cjs/{FloatingArrow-523c7403.js → FloatingArrow-b64770c5.js} +2 -2
  245. package/dist/cjs/{Heading-bf05a02a.js → Heading-8ec0e9a4.js} +2 -2
  246. package/dist/cjs/{app-globals-2e650af9.js → app-globals-7a40598d.js} +2 -2
  247. package/dist/cjs/{array-b64fa499.js → array-1885b314.js} +1 -1
  248. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  249. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  250. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  251. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  252. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  253. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  254. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  255. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  256. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  257. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  258. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  259. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  260. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
  261. package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
  262. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
  263. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  264. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  265. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  266. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  267. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  268. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  269. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  270. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  271. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  272. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  273. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  274. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
  275. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  276. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  277. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  278. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +1394 -139
  279. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  280. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  281. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  282. package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
  283. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  284. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  285. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  286. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  287. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  288. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  289. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  290. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  291. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  292. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  293. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  294. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  295. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  296. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  297. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  298. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  299. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  300. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  301. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  302. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  303. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  304. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  305. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  306. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  307. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  308. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  309. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
  310. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  311. package/dist/cjs/calcite.cjs.js +5 -5
  312. package/dist/cjs/{composed-offset-position.esm-d69c8fda.js → composed-offset-position.esm-29b10e84.js} +1 -1
  313. package/dist/cjs/{conditionalSlot-74be73a3.js → conditionalSlot-ff28b6c2.js} +3 -3
  314. package/dist/cjs/{debounce-27c45e5c.js → debounce-a6d3c360.js} +1 -1
  315. package/dist/cjs/{dom-b2504a19.js → dom-8103e5d3.js} +3 -3
  316. package/dist/cjs/{filter-f9cefdd8.js → filter-30a92dd5.js} +2 -2
  317. package/dist/cjs/{floating-ui-122d18e2.js → floating-ui-44c979d3.js} +4 -4
  318. package/dist/cjs/{focusTrapComponent-c1bc0bed.js → focusTrapComponent-e1962858.js} +2 -2
  319. package/dist/cjs/{form-e2463761.js → form-c33f638c.js} +3 -3
  320. package/dist/cjs/{guid-796bc06f.js → guid-ab357421.js} +1 -1
  321. package/dist/cjs/{index-ba11e876.js → index-a6397f75.js} +1 -1
  322. package/dist/cjs/index.cjs.js +2 -2
  323. package/dist/cjs/{interactive-fe8c2e65.js → interactive-9bcd6d9c.js} +1 -1
  324. package/dist/cjs/{key-08d15055.js → key-d3c0dbf4.js} +1 -1
  325. package/dist/cjs/{label-1185ba45.js → label-345ac153.js} +2 -2
  326. package/dist/cjs/{loadable-99b8d133.js → loadable-8ff80e11.js} +1 -1
  327. package/dist/cjs/loader.cjs.js +5 -5
  328. package/dist/cjs/{locale-be9685fe.js → locale-7ca4ffad.js} +4 -5
  329. package/dist/cjs/{math-1416c1a5.js → math-cabcb9bc.js} +1 -1
  330. package/dist/cjs/{observers-66e308ef.js → observers-cd7bfa1c.js} +1 -1
  331. package/dist/cjs/{openCloseComponent-71c634a5.js → openCloseComponent-a9038463.js} +2 -2
  332. package/dist/cjs/{resources-f6ea12a3.js → resources-236179cd.js} +5 -5
  333. package/dist/cjs/{resources-5e6e2b7b.js → resources-9a030531.js} +1 -1
  334. package/dist/cjs/{resources-a097ecc7.js → resources-9ed889ab.js} +1 -1
  335. package/dist/cjs/{resources-3ec80baa.js → resources-b683202a.js} +1 -1
  336. package/dist/cjs/{resources-9d40bb1e.js → resources-e5fde64b.js} +1 -1
  337. package/dist/cjs/{resources-58b84dd2.js → resources-f32ec864.js} +1 -1
  338. package/dist/cjs/{sortable.esm-74b36e3a.js → sortable.esm-e84187bc.js} +1 -1
  339. package/dist/cjs/{t9n-a35fc0f0.js → t9n-e37aefc9.js} +3 -3
  340. package/dist/cjs/{throttle-fe35ee40.js → throttle-09295850.js} +2 -2
  341. package/dist/cjs/{utils-e102b74c.js → utils-00ef0eb9.js} +3 -3
  342. package/dist/cjs/{utils-82495168.js → utils-a0a56adf.js} +1 -1
  343. package/dist/collection/components/accordion/accordion.js +1 -1
  344. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  345. package/dist/collection/components/accordion-item/resources.js +1 -1
  346. package/dist/collection/components/action/action.js +1 -1
  347. package/dist/collection/components/action/resources.js +1 -1
  348. package/dist/collection/components/action-bar/action-bar.js +1 -1
  349. package/dist/collection/components/action-bar/resources.js +1 -1
  350. package/dist/collection/components/action-bar/utils.js +1 -1
  351. package/dist/collection/components/action-group/action-group.js +1 -1
  352. package/dist/collection/components/action-group/resources.js +1 -1
  353. package/dist/collection/components/action-menu/action-menu.js +1 -1
  354. package/dist/collection/components/action-menu/resources.js +1 -1
  355. package/dist/collection/components/action-pad/action-pad.js +1 -1
  356. package/dist/collection/components/action-pad/resources.js +1 -1
  357. package/dist/collection/components/alert/alert.js +1 -1
  358. package/dist/collection/components/alert/resources.js +1 -1
  359. package/dist/collection/components/avatar/avatar.js +1 -1
  360. package/dist/collection/components/avatar/utils.js +1 -1
  361. package/dist/collection/components/block/block.js +1 -1
  362. package/dist/collection/components/block/resources.js +1 -1
  363. package/dist/collection/components/block-section/block-section.js +1 -1
  364. package/dist/collection/components/block-section/resources.js +1 -1
  365. package/dist/collection/components/button/button.js +1 -1
  366. package/dist/collection/components/button/resources.js +1 -1
  367. package/dist/collection/components/card/card.js +1 -1
  368. package/dist/collection/components/card/resources.js +1 -1
  369. package/dist/collection/components/checkbox/checkbox.js +1 -1
  370. package/dist/collection/components/chip/chip.js +1 -1
  371. package/dist/collection/components/chip/resources.js +1 -1
  372. package/dist/collection/components/chip-group/chip-group.js +1 -1
  373. package/dist/collection/components/color-picker/color-picker.js +1 -1
  374. package/dist/collection/components/color-picker/resources.js +1 -1
  375. package/dist/collection/components/color-picker/utils.js +1 -1
  376. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  377. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  378. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  379. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  380. package/dist/collection/components/combobox/combobox.js +1 -1
  381. package/dist/collection/components/combobox/resources.js +1 -1
  382. package/dist/collection/components/combobox/utils.js +1 -1
  383. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  384. package/dist/collection/components/combobox-item/resources.js +1 -1
  385. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  386. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  387. package/dist/collection/components/date-picker/date-picker.js +1 -1
  388. package/dist/collection/components/date-picker/resources.js +1 -1
  389. package/dist/collection/components/date-picker/utils.js +1 -1
  390. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  391. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  392. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  393. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  394. package/dist/collection/components/dropdown/dropdown.js +1 -1
  395. package/dist/collection/components/dropdown/resources.js +1 -1
  396. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  397. package/dist/collection/components/dropdown-group/resources.js +1 -1
  398. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  399. package/dist/collection/components/dropdown-item/resources.js +1 -1
  400. package/dist/collection/components/fab/fab.js +1 -1
  401. package/dist/collection/components/fab/resources.js +1 -1
  402. package/dist/collection/components/filter/filter.js +1 -1
  403. package/dist/collection/components/filter/resources.js +1 -1
  404. package/dist/collection/components/flow/flow.js +1 -1
  405. package/dist/collection/components/flow/resources.js +1 -1
  406. package/dist/collection/components/flow-item/flow-item.js +1 -1
  407. package/dist/collection/components/flow-item/resources.js +1 -1
  408. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  409. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  410. package/dist/collection/components/functional/Heading.js +1 -1
  411. package/dist/collection/components/graph/graph.js +1 -1
  412. package/dist/collection/components/graph/util.js +1 -1
  413. package/dist/collection/components/handle/handle.js +1 -1
  414. package/dist/collection/components/handle/resources.js +1 -1
  415. package/dist/collection/components/icon/icon.js +1 -1
  416. package/dist/collection/components/icon/resources.js +1 -1
  417. package/dist/collection/components/icon/utils.js +1 -1
  418. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  419. package/dist/collection/components/inline-editable/resources.js +1 -1
  420. package/dist/collection/components/input/input.js +1 -1
  421. package/dist/collection/components/input/resources.js +1 -1
  422. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  423. package/dist/collection/components/input-date-picker/resources.js +1 -1
  424. package/dist/collection/components/input-message/input-message.js +1 -1
  425. package/dist/collection/components/input-message/interfaces.js +1 -1
  426. package/dist/collection/components/input-number/input-number.js +1 -1
  427. package/dist/collection/components/input-number/resources.js +1 -1
  428. package/dist/collection/components/input-text/input-text.js +1 -1
  429. package/dist/collection/components/input-text/resources.js +1 -1
  430. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/af.js +39 -0
  431. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/am.js +40 -0
  432. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-dz.js +41 -0
  433. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-iq.js +42 -0
  434. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-kw.js +41 -0
  435. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-ly.js +27 -0
  436. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-ma.js +42 -0
  437. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-sa.js +41 -0
  438. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-tn.js +42 -0
  439. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar.js +74 -0
  440. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/az.js +39 -0
  441. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/be.js +24 -0
  442. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bg.js +55 -0
  443. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bi.js +39 -0
  444. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bm.js +39 -0
  445. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bn-bd.js +81 -0
  446. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bn.js +72 -0
  447. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bo.js +38 -0
  448. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/br.js +93 -0
  449. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bs.js +24 -0
  450. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ca.js +44 -0
  451. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cs.js +120 -0
  452. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cv.js +24 -0
  453. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cy.js +39 -0
  454. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/da.js +39 -0
  455. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de-at.js +63 -0
  456. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de-ch.js +63 -0
  457. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de.js +64 -0
  458. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/dv.js +39 -0
  459. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/el.js +39 -0
  460. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-au.js +39 -0
  461. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-ca.js +38 -0
  462. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-gb.js +42 -0
  463. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-ie.js +39 -0
  464. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-il.js +38 -0
  465. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-in.js +42 -0
  466. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-nz.js +41 -0
  467. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-sg.js +39 -0
  468. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-tt.js +42 -0
  469. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en.js +12 -0
  470. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/eo.js +39 -0
  471. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-do.js +39 -0
  472. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-mx.js +38 -0
  473. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-pr.js +39 -0
  474. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-us.js +38 -0
  475. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es.js +39 -0
  476. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/et.js +65 -0
  477. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/eu.js +43 -0
  478. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fa.js +39 -0
  479. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fi.js +88 -0
  480. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fo.js +39 -0
  481. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr-ca.js +38 -0
  482. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr-ch.js +39 -0
  483. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr.js +41 -0
  484. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fy.js +39 -0
  485. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ga.js +39 -0
  486. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gd.js +39 -0
  487. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gl.js +39 -0
  488. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gom-latn.js +25 -0
  489. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gu.js +38 -0
  490. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/he.js +78 -0
  491. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hi.js +38 -0
  492. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hr.js +53 -0
  493. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ht.js +38 -0
  494. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hu.js +61 -0
  495. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hy-am.js +39 -0
  496. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/id.js +39 -0
  497. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/is.js +68 -0
  498. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/it-ch.js +39 -0
  499. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/it.js +39 -0
  500. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ja.js +45 -0
  501. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/jv.js +39 -0
  502. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ka.js +39 -0
  503. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/kk.js +39 -0
  504. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/km.js +39 -0
  505. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/kn.js +38 -0
  506. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ko.js +45 -0
  507. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ku.js +77 -0
  508. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ky.js +39 -0
  509. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lb.js +24 -0
  510. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lo.js +38 -0
  511. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lt.js +70 -0
  512. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lv.js +39 -0
  513. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/me.js +24 -0
  514. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mi.js +39 -0
  515. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mk.js +39 -0
  516. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ml.js +38 -0
  517. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mn.js +38 -0
  518. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mr.js +23 -0
  519. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ms-my.js +39 -0
  520. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ms.js +39 -0
  521. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mt.js +39 -0
  522. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/my.js +39 -0
  523. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nb.js +40 -0
  524. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ne.js +40 -0
  525. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nl-be.js +39 -0
  526. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nl.js +40 -0
  527. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nn.js +39 -0
  528. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/oc-lnc.js +39 -0
  529. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pa-in.js +38 -0
  530. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pl.js +87 -0
  531. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pt-br.js +38 -0
  532. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pt.js +40 -0
  533. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/rn.js +39 -0
  534. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ro.js +39 -0
  535. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ru.js +99 -0
  536. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/rw.js +35 -0
  537. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sd.js +39 -0
  538. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/se.js +39 -0
  539. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/si.js +38 -0
  540. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sk.js +121 -0
  541. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sl.js +39 -0
  542. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sq.js +39 -0
  543. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sr-cyrl.js +74 -0
  544. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sr.js +74 -0
  545. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ss.js +39 -0
  546. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sv-fi.js +46 -0
  547. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sv.js +44 -0
  548. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sw.js +39 -0
  549. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ta.js +38 -0
  550. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/te.js +38 -0
  551. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tet.js +39 -0
  552. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tg.js +39 -0
  553. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/th.js +38 -0
  554. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tk.js +39 -0
  555. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tl-ph.js +39 -0
  556. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tlh.js +24 -0
  557. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tr.js +39 -0
  558. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzl.js +24 -0
  559. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzm-latn.js +39 -0
  560. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzm.js +39 -0
  561. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ug-cn.js +39 -0
  562. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uk.js +77 -0
  563. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ur.js +39 -0
  564. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uz-latn.js +39 -0
  565. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uz.js +39 -0
  566. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/vi.js +43 -0
  567. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/x-pseudo.js +39 -0
  568. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/yo.js +39 -0
  569. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-cn.js +67 -0
  570. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-hk.js +44 -0
  571. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-tw.js +65 -0
  572. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh.js +67 -0
  573. package/dist/collection/components/input-time-picker/input-time-picker.js +270 -104
  574. package/dist/collection/components/input-time-picker/resources.js +1 -1
  575. package/dist/collection/components/label/label.js +1 -1
  576. package/dist/collection/components/label/resources.js +1 -1
  577. package/dist/collection/components/link/link.js +1 -1
  578. package/dist/collection/components/list/list.js +1 -1
  579. package/dist/collection/components/list/resources.js +1 -1
  580. package/dist/collection/components/list-item/list-item.js +1 -1
  581. package/dist/collection/components/list-item/resources.js +1 -1
  582. package/dist/collection/components/list-item/utils.js +1 -1
  583. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  584. package/dist/collection/components/list-item-group/resources.js +1 -1
  585. package/dist/collection/components/loader/loader.js +1 -1
  586. package/dist/collection/components/menu/menu.js +1 -1
  587. package/dist/collection/components/menu-item/menu-item.js +1 -1
  588. package/dist/collection/components/menu-item/resources.js +1 -1
  589. package/dist/collection/components/modal/modal.js +1 -1
  590. package/dist/collection/components/modal/resources.js +1 -1
  591. package/dist/collection/components/notice/notice.js +1 -1
  592. package/dist/collection/components/notice/resources.js +1 -1
  593. package/dist/collection/components/option/option.js +1 -1
  594. package/dist/collection/components/option-group/option-group.js +1 -1
  595. package/dist/collection/components/pagination/pagination.js +1 -1
  596. package/dist/collection/components/pagination/resources.js +1 -1
  597. package/dist/collection/components/panel/panel.js +1 -1
  598. package/dist/collection/components/panel/resources.js +1 -1
  599. package/dist/collection/components/pick-list/pick-list.js +1 -1
  600. package/dist/collection/components/pick-list/resources.js +1 -1
  601. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  602. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  603. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  604. package/dist/collection/components/pick-list-group/resources.js +1 -1
  605. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  606. package/dist/collection/components/pick-list-item/resources.js +1 -1
  607. package/dist/collection/components/popover/PopoverManager.js +1 -1
  608. package/dist/collection/components/popover/popover.js +1 -1
  609. package/dist/collection/components/popover/resources.js +1 -1
  610. package/dist/collection/components/progress/progress.js +1 -1
  611. package/dist/collection/components/radio-button/radio-button.js +1 -1
  612. package/dist/collection/components/radio-button/resources.js +1 -1
  613. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  614. package/dist/collection/components/rating/function/star.js +1 -1
  615. package/dist/collection/components/rating/rating.js +1 -1
  616. package/dist/collection/components/resources.js +1 -1
  617. package/dist/collection/components/scrim/resources.js +1 -1
  618. package/dist/collection/components/scrim/scrim.js +1 -1
  619. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  620. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  621. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  622. package/dist/collection/components/select/resources.js +1 -1
  623. package/dist/collection/components/select/select.js +1 -1
  624. package/dist/collection/components/shell/resources.js +1 -1
  625. package/dist/collection/components/shell/shell.js +1 -1
  626. package/dist/collection/components/shell-center-row/resources.js +1 -1
  627. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  628. package/dist/collection/components/shell-panel/resources.js +1 -1
  629. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  630. package/dist/collection/components/slider/resources.js +1 -1
  631. package/dist/collection/components/slider/slider.js +1 -1
  632. package/dist/collection/components/sortable-list/resources.js +1 -1
  633. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  634. package/dist/collection/components/split-button/resources.js +1 -1
  635. package/dist/collection/components/split-button/split-button.js +1 -1
  636. package/dist/collection/components/stepper/stepper.js +1 -1
  637. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  638. package/dist/collection/components/switch/switch.js +1 -1
  639. package/dist/collection/components/tab/tab.js +1 -1
  640. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  641. package/dist/collection/components/tab-title/resources.js +1 -1
  642. package/dist/collection/components/tab-title/tab-title.js +1 -1
  643. package/dist/collection/components/tabs/resources.js +1 -1
  644. package/dist/collection/components/tabs/tabs.js +1 -1
  645. package/dist/collection/components/text-area/resources.js +1 -1
  646. package/dist/collection/components/text-area/text-area.js +1 -1
  647. package/dist/collection/components/tile/resources.js +1 -1
  648. package/dist/collection/components/tile/tile.js +1 -1
  649. package/dist/collection/components/tile-select/resources.js +1 -1
  650. package/dist/collection/components/tile-select/tile-select.js +1 -1
  651. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  652. package/dist/collection/components/time-picker/resources.js +1 -1
  653. package/dist/collection/components/time-picker/time-picker.js +6 -3
  654. package/dist/collection/components/tip/resources.js +1 -1
  655. package/dist/collection/components/tip/tip.js +1 -1
  656. package/dist/collection/components/tip-group/tip-group.js +1 -1
  657. package/dist/collection/components/tip-manager/resources.js +1 -1
  658. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  659. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  660. package/dist/collection/components/tooltip/resources.js +1 -1
  661. package/dist/collection/components/tooltip/tooltip.js +1 -1
  662. package/dist/collection/components/tooltip/utils.js +1 -1
  663. package/dist/collection/components/tree/tree.js +1 -1
  664. package/dist/collection/components/tree/utils.js +1 -1
  665. package/dist/collection/components/tree-item/resources.js +1 -1
  666. package/dist/collection/components/tree-item/tree-item.js +1 -1
  667. package/dist/collection/components/value-list/resources.js +1 -1
  668. package/dist/collection/components/value-list/utils.js +1 -1
  669. package/dist/collection/components/value-list/value-list.js +1 -1
  670. package/dist/collection/components/value-list-item/resources.js +1 -1
  671. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  672. package/dist/collection/index.js +1 -1
  673. package/dist/collection/utils/array.js +1 -1
  674. package/dist/collection/utils/conditionalSlot.js +1 -1
  675. package/dist/collection/utils/config.js +1 -1
  676. package/dist/collection/utils/date.js +1 -1
  677. package/dist/collection/utils/dom.js +1 -1
  678. package/dist/collection/utils/filter.js +1 -1
  679. package/dist/collection/utils/floating-ui.js +1 -1
  680. package/dist/collection/utils/focusTrapComponent.js +1 -1
  681. package/dist/collection/utils/form.js +1 -1
  682. package/dist/collection/utils/globalAttributes.js +1 -1
  683. package/dist/collection/utils/globalScript.js +1 -1
  684. package/dist/collection/utils/guid.js +1 -1
  685. package/dist/collection/utils/interactive.js +1 -1
  686. package/dist/collection/utils/key.js +1 -1
  687. package/dist/collection/utils/label.js +1 -1
  688. package/dist/collection/utils/loadable.js +1 -1
  689. package/dist/collection/utils/locale.js +1 -2
  690. package/dist/collection/utils/math.js +1 -1
  691. package/dist/collection/utils/mode.js +1 -1
  692. package/dist/collection/utils/number.js +1 -1
  693. package/dist/collection/utils/observers.js +1 -1
  694. package/dist/collection/utils/openCloseComponent.js +1 -1
  695. package/dist/collection/utils/resources.js +1 -1
  696. package/dist/collection/utils/t9n.js +1 -1
  697. package/dist/collection/utils/time.js +12 -1
  698. package/dist/components/ExpandToggle.js +1 -1
  699. package/dist/components/FloatingArrow.js +1 -1
  700. package/dist/components/Heading.js +1 -1
  701. package/dist/components/action-group.js +1 -1
  702. package/dist/components/action-menu.js +1 -1
  703. package/dist/components/action.js +1 -1
  704. package/dist/components/array.js +1 -1
  705. package/dist/components/button.js +1 -1
  706. package/dist/components/calcite-accordion-item.js +1 -1
  707. package/dist/components/calcite-accordion.js +1 -1
  708. package/dist/components/calcite-action-bar.js +1 -1
  709. package/dist/components/calcite-action-group.js +1 -1
  710. package/dist/components/calcite-action-menu.js +1 -1
  711. package/dist/components/calcite-action-pad.js +1 -1
  712. package/dist/components/calcite-action.js +1 -1
  713. package/dist/components/calcite-alert.js +1 -1
  714. package/dist/components/calcite-avatar.js +1 -1
  715. package/dist/components/calcite-block-section.js +1 -1
  716. package/dist/components/calcite-block.js +1 -1
  717. package/dist/components/calcite-button.js +1 -1
  718. package/dist/components/calcite-card.js +1 -1
  719. package/dist/components/calcite-checkbox.js +1 -1
  720. package/dist/components/calcite-chip-group.js +1 -1
  721. package/dist/components/calcite-chip.js +1 -1
  722. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  723. package/dist/components/calcite-color-picker-swatch.js +1 -1
  724. package/dist/components/calcite-color-picker.js +1 -1
  725. package/dist/components/calcite-combobox-item-group.js +1 -1
  726. package/dist/components/calcite-combobox-item.js +1 -1
  727. package/dist/components/calcite-combobox.js +1 -1
  728. package/dist/components/calcite-date-picker-day.js +1 -1
  729. package/dist/components/calcite-date-picker-month-header.js +1 -1
  730. package/dist/components/calcite-date-picker-month.js +1 -1
  731. package/dist/components/calcite-date-picker.js +1 -1
  732. package/dist/components/calcite-dropdown-group.js +1 -1
  733. package/dist/components/calcite-dropdown-item.js +1 -1
  734. package/dist/components/calcite-dropdown.js +1 -1
  735. package/dist/components/calcite-fab.js +1 -1
  736. package/dist/components/calcite-filter.js +1 -1
  737. package/dist/components/calcite-flow-item.js +1 -1
  738. package/dist/components/calcite-flow.js +1 -1
  739. package/dist/components/calcite-graph.js +1 -1
  740. package/dist/components/calcite-handle.js +1 -1
  741. package/dist/components/calcite-icon.js +1 -1
  742. package/dist/components/calcite-inline-editable.js +1 -1
  743. package/dist/components/calcite-input-date-picker.js +1 -1
  744. package/dist/components/calcite-input-message.js +1 -1
  745. package/dist/components/calcite-input-number.js +1 -1
  746. package/dist/components/calcite-input-text.js +1 -1
  747. package/dist/components/calcite-input-time-picker.js +1320 -100
  748. package/dist/components/calcite-input.js +1 -1
  749. package/dist/components/calcite-label.js +1 -1
  750. package/dist/components/calcite-link.js +1 -1
  751. package/dist/components/calcite-list-item-group.js +1 -1
  752. package/dist/components/calcite-list-item.js +1 -1
  753. package/dist/components/calcite-list.js +1 -1
  754. package/dist/components/calcite-loader.js +1 -1
  755. package/dist/components/calcite-menu-item.js +1 -1
  756. package/dist/components/calcite-menu.js +1 -1
  757. package/dist/components/calcite-modal.js +1 -1
  758. package/dist/components/calcite-notice.js +1 -1
  759. package/dist/components/calcite-option-group.js +1 -1
  760. package/dist/components/calcite-option.js +1 -1
  761. package/dist/components/calcite-pagination.js +1 -1
  762. package/dist/components/calcite-panel.js +1 -1
  763. package/dist/components/calcite-pick-list-group.js +1 -1
  764. package/dist/components/calcite-pick-list-item.js +1 -1
  765. package/dist/components/calcite-pick-list.js +1 -1
  766. package/dist/components/calcite-popover.js +1 -1
  767. package/dist/components/calcite-progress.js +1 -1
  768. package/dist/components/calcite-radio-button-group.js +1 -1
  769. package/dist/components/calcite-radio-button.js +1 -1
  770. package/dist/components/calcite-rating.js +1 -1
  771. package/dist/components/calcite-scrim.js +1 -1
  772. package/dist/components/calcite-segmented-control-item.js +1 -1
  773. package/dist/components/calcite-segmented-control.js +1 -1
  774. package/dist/components/calcite-select.js +1 -1
  775. package/dist/components/calcite-shell-center-row.js +1 -1
  776. package/dist/components/calcite-shell-panel.js +1 -1
  777. package/dist/components/calcite-shell.js +1 -1
  778. package/dist/components/calcite-slider.js +1 -1
  779. package/dist/components/calcite-sortable-list.js +1 -1
  780. package/dist/components/calcite-split-button.js +1 -1
  781. package/dist/components/calcite-stepper-item.js +1 -1
  782. package/dist/components/calcite-stepper.js +1 -1
  783. package/dist/components/calcite-switch.js +1 -1
  784. package/dist/components/calcite-tab-nav.js +1 -1
  785. package/dist/components/calcite-tab-title.js +1 -1
  786. package/dist/components/calcite-tab.js +1 -1
  787. package/dist/components/calcite-tabs.js +1 -1
  788. package/dist/components/calcite-text-area.js +1 -1
  789. package/dist/components/calcite-tile-select-group.js +1 -1
  790. package/dist/components/calcite-tile-select.js +1 -1
  791. package/dist/components/calcite-tile.js +1 -1
  792. package/dist/components/calcite-time-picker.js +1 -1
  793. package/dist/components/calcite-tip-group.js +1 -1
  794. package/dist/components/calcite-tip-manager.js +1 -1
  795. package/dist/components/calcite-tip.js +1 -1
  796. package/dist/components/calcite-tooltip.js +1 -1
  797. package/dist/components/calcite-tree-item.js +1 -1
  798. package/dist/components/calcite-tree.js +1 -1
  799. package/dist/components/calcite-value-list-item.js +1 -1
  800. package/dist/components/calcite-value-list.js +1 -1
  801. package/dist/components/checkbox.js +1 -1
  802. package/dist/components/chip.js +1 -1
  803. package/dist/components/color-picker-hex-input.js +1 -1
  804. package/dist/components/color-picker-swatch.js +1 -1
  805. package/dist/components/composed-offset-position.esm.js +1 -1
  806. package/dist/components/conditionalSlot.js +1 -1
  807. package/dist/components/date-picker-day.js +1 -1
  808. package/dist/components/date-picker-month-header.js +1 -1
  809. package/dist/components/date-picker-month.js +1 -1
  810. package/dist/components/date-picker.js +1 -1
  811. package/dist/components/date.js +1 -1
  812. package/dist/components/debounce.js +1 -1
  813. package/dist/components/dom.js +1 -1
  814. package/dist/components/dropdown.js +1 -1
  815. package/dist/components/filter.js +1 -1
  816. package/dist/components/filter2.js +1 -1
  817. package/dist/components/floating-ui.js +1 -1
  818. package/dist/components/focusTrapComponent.js +1 -1
  819. package/dist/components/form.js +1 -1
  820. package/dist/components/graph.js +1 -1
  821. package/dist/components/guid.js +1 -1
  822. package/dist/components/handle.js +1 -1
  823. package/dist/components/icon.js +1 -1
  824. package/dist/components/index.js +1 -1
  825. package/dist/components/index2.js +1 -1
  826. package/dist/components/input-number.js +1 -1
  827. package/dist/components/input.js +1 -1
  828. package/dist/components/interactive.js +1 -1
  829. package/dist/components/key.js +1 -1
  830. package/dist/components/label.js +1 -1
  831. package/dist/components/label2.js +1 -1
  832. package/dist/components/link.js +1 -1
  833. package/dist/components/loadable.js +1 -1
  834. package/dist/components/loader.js +1 -1
  835. package/dist/components/locale.js +1 -2
  836. package/dist/components/math.js +1 -1
  837. package/dist/components/menu.js +1 -1
  838. package/dist/components/observers.js +1 -1
  839. package/dist/components/openCloseComponent.js +1 -1
  840. package/dist/components/panel.js +1 -1
  841. package/dist/components/pick-list-item.js +1 -1
  842. package/dist/components/popover.js +1 -1
  843. package/dist/components/progress.js +1 -1
  844. package/dist/components/resources.js +1 -1
  845. package/dist/components/resources2.js +1 -1
  846. package/dist/components/resources3.js +1 -1
  847. package/dist/components/scrim.js +1 -1
  848. package/dist/components/shared-list-render.js +1 -1
  849. package/dist/components/sortable.esm.js +1 -1
  850. package/dist/components/switch.js +1 -1
  851. package/dist/components/t9n.js +1 -1
  852. package/dist/components/tab-nav.js +1 -1
  853. package/dist/components/tab-title.js +1 -1
  854. package/dist/components/tab.js +1 -1
  855. package/dist/components/tabs.js +1 -1
  856. package/dist/components/throttle.js +1 -1
  857. package/dist/components/tile.js +1 -1
  858. package/dist/components/time-picker.js +18 -4
  859. package/dist/components/tooltip.js +1 -1
  860. package/dist/components/utils.js +1 -1
  861. package/dist/components/utils2.js +1 -1
  862. package/dist/components/utils3.js +1 -1
  863. package/dist/esm/{ExpandToggle-90c08e90.js → ExpandToggle-9e199305.js} +5 -5
  864. package/dist/esm/{FloatingArrow-d2704880.js → FloatingArrow-d30e41d5.js} +2 -2
  865. package/dist/esm/{Heading-51f65ea7.js → Heading-d9ec2a7d.js} +2 -2
  866. package/dist/esm/{app-globals-c8353da5.js → app-globals-17e3c9c1.js} +2 -2
  867. package/dist/esm/{array-39e85e78.js → array-d9bde3f7.js} +1 -1
  868. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  869. package/dist/esm/calcite-action-bar.entry.js +15 -15
  870. package/dist/esm/calcite-action-group.entry.js +13 -13
  871. package/dist/esm/calcite-action-menu.entry.js +9 -9
  872. package/dist/esm/calcite-action-pad.entry.js +14 -14
  873. package/dist/esm/calcite-action.entry.js +11 -11
  874. package/dist/esm/calcite-alert.entry.js +12 -12
  875. package/dist/esm/calcite-avatar.entry.js +6 -6
  876. package/dist/esm/calcite-block_2.entry.js +12 -12
  877. package/dist/esm/calcite-button.entry.js +13 -13
  878. package/dist/esm/calcite-card.entry.js +10 -10
  879. package/dist/esm/calcite-checkbox.entry.js +10 -10
  880. package/dist/esm/calcite-chip-group.entry.js +8 -8
  881. package/dist/esm/calcite-chip.entry.js +12 -12
  882. package/dist/esm/calcite-color-picker_3.entry.js +15 -15
  883. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  884. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  885. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  886. package/dist/esm/calcite-fab.entry.js +7 -7
  887. package/dist/esm/calcite-filter.entry.js +13 -13
  888. package/dist/esm/calcite-flow-item.entry.js +12 -12
  889. package/dist/esm/calcite-flow.entry.js +3 -3
  890. package/dist/esm/calcite-graph_2.entry.js +13 -13
  891. package/dist/esm/calcite-handle.entry.js +10 -10
  892. package/dist/esm/calcite-icon.entry.js +6 -6
  893. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  894. package/dist/esm/calcite-input-date-picker.entry.js +18 -18
  895. package/dist/esm/calcite-input-message.entry.js +5 -5
  896. package/dist/esm/calcite-input-number.entry.js +13 -13
  897. package/dist/esm/calcite-input-text.entry.js +13 -13
  898. package/dist/esm/calcite-input-time-picker_2.entry.js +1347 -112
  899. package/dist/esm/calcite-input.entry.js +13 -13
  900. package/dist/esm/calcite-label.entry.js +6 -6
  901. package/dist/esm/calcite-link.entry.js +7 -7
  902. package/dist/esm/calcite-list_3.entry.js +12 -12
  903. package/dist/esm/calcite-loader.entry.js +3 -3
  904. package/dist/esm/calcite-menu_2.entry.js +10 -10
  905. package/dist/esm/calcite-modal.entry.js +13 -13
  906. package/dist/esm/calcite-notice.entry.js +12 -12
  907. package/dist/esm/calcite-option_3.entry.js +10 -10
  908. package/dist/esm/calcite-pagination.entry.js +10 -10
  909. package/dist/esm/calcite-panel.entry.js +14 -14
  910. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  911. package/dist/esm/calcite-popover.entry.js +16 -16
  912. package/dist/esm/calcite-progress.entry.js +2 -2
  913. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  914. package/dist/esm/calcite-radio-button.entry.js +10 -10
  915. package/dist/esm/calcite-rating.entry.js +13 -13
  916. package/dist/esm/calcite-scrim.entry.js +9 -9
  917. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  918. package/dist/esm/calcite-shell_3.entry.js +11 -11
  919. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  920. package/dist/esm/calcite-split-button.entry.js +4 -4
  921. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  922. package/dist/esm/calcite-switch.entry.js +10 -10
  923. package/dist/esm/calcite-tab_4.entry.js +7 -7
  924. package/dist/esm/calcite-text-area.entry.js +15 -15
  925. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  926. package/dist/esm/calcite-tile.entry.js +8 -8
  927. package/dist/esm/calcite-tip_3.entry.js +11 -11
  928. package/dist/esm/calcite-tooltip.entry.js +9 -9
  929. package/dist/esm/calcite-tree_2.entry.js +9 -9
  930. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  931. package/dist/esm/calcite.js +6 -6
  932. package/dist/esm/{composed-offset-position.esm-1dcb821a.js → composed-offset-position.esm-4881170f.js} +1 -1
  933. package/dist/esm/{conditionalSlot-c0a2ecbd.js → conditionalSlot-abd32f3d.js} +3 -3
  934. package/dist/esm/{debounce-eb760c97.js → debounce-08574d11.js} +1 -1
  935. package/dist/esm/{dom-255c571e.js → dom-d5d734bd.js} +3 -3
  936. package/dist/esm/{filter-7ca09a76.js → filter-b75ecdca.js} +2 -2
  937. package/dist/esm/{floating-ui-186068e5.js → floating-ui-5bb808ed.js} +4 -4
  938. package/dist/esm/{focusTrapComponent-2b209cb1.js → focusTrapComponent-99045c04.js} +2 -2
  939. package/dist/esm/{form-368465b2.js → form-f65000a4.js} +3 -3
  940. package/dist/esm/{guid-fb5f74f7.js → guid-62b4a4f7.js} +1 -1
  941. package/dist/esm/{index-8274f2b3.js → index-7cd86b2f.js} +1 -1
  942. package/dist/esm/index.js +2 -2
  943. package/dist/esm/{interactive-d006c00f.js → interactive-57ca2112.js} +1 -1
  944. package/dist/esm/{key-c423f367.js → key-c1b3e626.js} +1 -1
  945. package/dist/esm/{label-71f9052a.js → label-a8a069a3.js} +2 -2
  946. package/dist/esm/{loadable-e4485246.js → loadable-a2065647.js} +1 -1
  947. package/dist/esm/loader.js +6 -6
  948. package/dist/esm/{locale-ec48f9fd.js → locale-2890210d.js} +4 -5
  949. package/dist/esm/{math-074762ab.js → math-b3aebb9d.js} +1 -1
  950. package/dist/esm/{observers-609d2ec6.js → observers-70580c98.js} +1 -1
  951. package/dist/esm/{openCloseComponent-962fbce0.js → openCloseComponent-91356b53.js} +2 -2
  952. package/dist/esm/{resources-dd3a21e6.js → resources-43ace532.js} +5 -5
  953. package/dist/esm/{resources-87a469f9.js → resources-57c4c301.js} +1 -1
  954. package/dist/esm/{resources-91b4e652.js → resources-6c7afda8.js} +1 -1
  955. package/dist/esm/{resources-b10a8747.js → resources-992a8ce3.js} +1 -1
  956. package/dist/esm/{resources-8fedc3fa.js → resources-a927420b.js} +1 -1
  957. package/dist/esm/{resources-df8977b4.js → resources-e1321a5a.js} +1 -1
  958. package/dist/esm/{sortable.esm-1fe57572.js → sortable.esm-c7bba34c.js} +1 -1
  959. package/dist/esm/{t9n-1ff5274f.js → t9n-c6c4c747.js} +3 -3
  960. package/dist/esm/{throttle-e4065614.js → throttle-5619e039.js} +2 -2
  961. package/dist/esm/{utils-9b81ae02.js → utils-ac238ffd.js} +3 -3
  962. package/dist/esm/{utils-7a634b60.js → utils-f874a9d1.js} +1 -1
  963. package/dist/extras/docs-json.json +2 -2
  964. package/dist/extras/vscode-data.json +1 -1
  965. package/dist/loader/cdn.js +1 -1
  966. package/dist/loader/index.cjs.js +1 -1
  967. package/dist/loader/index.es2017.js +1 -1
  968. package/dist/loader/index.js +1 -1
  969. package/dist/types/components/input-time-picker/input-time-picker.d.ts +24 -8
  970. package/dist/types/components.d.ts +2 -2
  971. package/dist/types/utils/time.d.ts +1 -0
  972. package/hydrate/index.js +1354 -101
  973. package/package.json +7 -3
  974. package/dist/calcite/p-0f895f5b.js +0 -6
  975. package/dist/calcite/p-141ee740.entry.js +0 -6
  976. package/dist/calcite/p-1597128c.js +0 -6
  977. package/dist/calcite/p-3b2fa38d.js +0 -6
  978. package/dist/calcite/p-95cdc2ce.entry.js +0 -6
  979. package/dist/calcite/p-96dbffb1.js +0 -6
  980. package/dist/calcite/p-d1d88d7e.js +0 -6
  981. package/dist/calcite/p-da225746.entry.js +0 -6
  982. package/dist/calcite/p-e9f8edb1.entry.js +0 -6
  983. package/dist/calcite/p-eb9ba591.entry.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.15
4
+ * v1.4.0-next.16
5
5
  */
6
- import{b as t}from"./p-ff929412.js";import{d as n}from"./p-1c64a43e.js";function e(t){return t.split("-")[1]}function o(t){return"y"===t?"height":"width"}function r(t){return t.split("-")[0]}function i(t){return["top","bottom"].includes(r(t))?"x":"y"}function a(t,n,a){let{reference:l,floating:s}=t;const c=l.x+l.width/2-s.width/2,f=l.y+l.height/2-s.height/2,u=i(n),d=o(u),m=l[d]/2-s[d]/2,p="x"===u;let y;switch(r(n)){case"top":y={x:c,y:l.y-s.height};break;case"bottom":y={x:c,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:f};break;case"left":y={x:l.x-s.width,y:f};break;default:y={x:l.x,y:l.y}}switch(e(n)){case"start":y[u]-=m*(a&&p?-1:1);break;case"end":y[u]+=m*(a&&p?-1:1)}return y}function l(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function s(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function c(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:c,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:p=!1,padding:y=0}=n,g=l(y),h=c[p?"floating"===m?"reference":"floating":m],x=s(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(h)))||e?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:d,strategy:f})),v="floating"===m?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),b=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},A=s(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:w,strategy:f}):v);return{top:(x.top-A.top+g.top)/b.y,bottom:(A.bottom-x.bottom+g.bottom)/b.y,left:(x.left-A.left+g.left)/b.x,right:(A.right-x.right+g.right)/b.x}}const f=Math.min,u=Math.max;function d(t,n,e){return u(t,f(n,e))}const m=["top","right","bottom","left"],p=m.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),y={left:"right",right:"left",bottom:"top",top:"bottom"};function g(t){return t.replace(/left|right|bottom|top/g,(t=>y[t]))}function h(t,n,r){void 0===r&&(r=!1);const a=e(t),l=i(t),s=o(l);let c="x"===l?a===(r?"end":"start")?"right":"left":"start"===a?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=g(c)),{main:c,cross:g(c)}}const x={start:"end",end:"start"};function v(t){return t.replace(/start|end/g,(t=>x[t]))}const w=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var o;const{placement:i,middlewareData:a,rects:l,initialPlacement:s,platform:f,elements:u}=n,{mainAxis:d=!0,crossAxis:m=!0,fallbackPlacements:p,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:w=!0,...b}=t,A=r(i),P=r(s)===s,k=await(null==f.isRTL?void 0:f.isRTL(u.floating)),D=p||(P||!w?[g(s)]:function(t){const n=g(t);return[v(t),n,v(n)]}(s));p||"none"===x||D.push(...function(t,n,o,i){const a=e(t);let l=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(r(t),"start"===o,i);return a&&(l=l.map((t=>t+"-"+a)),n&&(l=l.concat(l.map(v)))),l}(s,w,x,k));const R=[s,...D],F=await c(n,b),M=[];let E=(null==(o=a.flip)?void 0:o.overflows)||[];if(d&&M.push(F[A]),m){const{main:t,cross:n}=h(i,l,k);M.push(F[t],F[n])}if(E=[...E,{placement:i,overflows:M}],!M.every((t=>t<=0))){var S,C;const t=((null==(S=a.flip)?void 0:S.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:E},reset:{placement:n}};let e=null==(C=E.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:C.placement;if(!e)switch(y){case"bestFit":{var O;const t=null==(O=E.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:O[0];t&&(e=t);break}case"initialPlacement":e=s}if(i!==e)return{reset:{placement:e}}}return{}}}};function b(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function A(t){return m.some((n=>t[n]>=0))}const P=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{strategy:e="referenceHidden",...o}=t,{rects:r}=n;switch(e){case"referenceHidden":{const t=b(await c(n,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:A(t)}}}case"escaped":{const t=b(await c(n,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:A(t)}}}default:return{}}}}};function k(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function D(t){return k(t).getComputedStyle(t)}function R(t){return t instanceof k(t).Node}function F(t){return R(t)?(t.nodeName||"").toLowerCase():""}let M;function E(){if(M)return M;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(M=t.brands.map((t=>t.brand+"/"+t.version)).join(" "),M):navigator.userAgent}function S(t){return t instanceof k(t).HTMLElement}function C(t){return t instanceof k(t).Element}function O(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}function T(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=D(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function $(t){return["table","td","th"].includes(F(t))}function j(t){const n=/firefox/i.test(E()),e=D(t),o=e.backdropFilter||e.WebkitBackdropFilter;return"none"!==e.transform||"none"!==e.perspective||!!o&&"none"!==o||n&&"filter"===e.willChange||n&&!!e.filter&&"none"!==e.filter||["transform","perspective"].some((t=>e.willChange.includes(t)))||["paint","layout","strict","content"].some((t=>{const n=e.contain;return null!=n&&n.includes(t)}))}function z(){return/^((?!chrome|android).)*safari/i.test(E())}function B(t){return["html","body","#document"].includes(F(t))}const L=Math.min,H=Math.max,N=Math.round;function I(t){const n=D(t);let e=parseFloat(n.width),o=parseFloat(n.height);const r=S(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,l=N(e)!==i||N(o)!==a;return l&&(e=i,o=a),{width:e,height:o,fallback:l}}function W(t){return C(t)?t:t.contextElement}const V={x:1,y:1};function q(t){const n=W(t);if(!S(n))return V;const e=n.getBoundingClientRect(),{width:o,height:r,fallback:i}=I(n);let a=(i?N(e.width):e.width)/o,l=(i?N(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function G(t,n,e,o){var r,i;void 0===n&&(n=!1),void 0===e&&(e=!1);const a=t.getBoundingClientRect(),l=W(t);let c=V;n&&(o?C(o)&&(c=q(o)):c=q(t));const f=l?k(l):window,u=z()&&e;let d=(a.left+(u&&(null==(r=f.visualViewport)?void 0:r.offsetLeft)||0))/c.x,m=(a.top+(u&&(null==(i=f.visualViewport)?void 0:i.offsetTop)||0))/c.y,p=a.width/c.x,y=a.height/c.y;if(l){const t=k(l),n=o&&C(o)?k(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=q(e),n=e.getBoundingClientRect(),o=getComputedStyle(e);n.x+=(e.clientLeft+parseFloat(o.paddingLeft))*t.x,n.y+=(e.clientTop+parseFloat(o.paddingTop))*t.y,d*=t.x,m*=t.y,p*=t.x,y*=t.y,d+=n.x,m+=n.y,e=k(e).frameElement}}return s({width:p,height:y,x:d,y:m})}function U(t){return((R(t)?t.ownerDocument:t.document)||window.document).documentElement}function X(t){return C(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Y(t){return G(U(t)).left+X(t).scrollLeft}function _(t){if("html"===F(t))return t;const n=t.assignedSlot||t.parentNode||O(t)&&t.host||U(t);return O(n)?n.host:n}function J(t){const n=_(t);return B(n)?n.ownerDocument.body:S(n)&&T(n)?n:J(n)}function K(t,n){var e;void 0===n&&(n=[]);const o=J(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=k(o);return r?n.concat(i,i.visualViewport||[],T(o)?o:[]):n.concat(o,K(o))}function Q(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=k(t),o=U(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=z();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e);else if("document"===n)o=function(t){const n=U(t),e=X(t),o=t.ownerDocument.body,r=H(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=H(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Y(t);const l=-e.scrollTop;return"rtl"===D(o).direction&&(a+=H(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(U(t));else if(C(n))o=function(t,n){const e=G(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=S(t)?q(t):{x:1,y:1};return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e={...n};if(z()){var r,i;const n=k(t);e.x-=(null==(r=n.visualViewport)?void 0:r.offsetLeft)||0,e.y-=(null==(i=n.visualViewport)?void 0:i.offsetTop)||0}o=e}return s(o)}function Z(t,n){const e=_(t);return!(e===n||!C(e)||B(e))&&("fixed"===D(e).position||Z(e,n))}function tt(t,n){return S(t)&&"fixed"!==D(t).position?n?n(t):t.offsetParent:null}function nt(t,n){const e=k(t);if(!S(t))return e;let o=tt(t,n);for(;o&&$(o)&&"static"===D(o).position;)o=tt(o,n);return o&&("html"===F(o)||"body"===F(o)&&"static"===D(o).position&&!j(o))?e:o||function(t){let n=_(t);for(;S(n)&&!B(n);){if(j(n))return n;n=_(n)}return null}(t)||e}function et(t,n,e){const o=S(n),r=U(n),i=G(t,!0,"fixed"===e,n);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==F(n)||T(r))&&(a=X(n)),S(n)){const t=G(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=Y(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}const ot={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=K(t).filter((t=>C(t)&&"body"!==F(t))),r=null;const i="fixed"===D(t).position;let a=i?_(t):t;for(;C(a)&&!B(a);){const n=D(a),e=j(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||T(a)&&!e&&Z(t,a))?o=o.filter((t=>t!==a)):r=n,a=_(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=Q(n,e,r);return t.top=H(o.top,t.top),t.right=L(o.right,t.right),t.bottom=L(o.bottom,t.bottom),t.left=H(o.left,t.left),t}),Q(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=S(e),i=U(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const s={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==F(e)||T(i))&&(a=X(e)),S(e))){const t=G(e);l=q(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+s.x,y:n.y*l.y-a.scrollTop*l.y+s.y}},isElement:C,getDimensions:function(t){return I(t)},getOffsetParent:nt,getDocumentElement:U,getScale:q,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||nt,i=this.getDimensions;return{reference:et(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===D(t).direction};const rt={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},it=async function(){function t(){return navigator.userAgentData}if(rt.floatingUINonChromiumPositioningFix&&(/firefox|safari/i.test(function(){const n=t();return n?.brands?n.brands.map((({brand:t,version:n})=>`${t}/${n}`)).join(" "):navigator.userAgent}())||function(){const n=t();return n?.brands?!!n.brands.find((({brand:t,version:n})=>("Google Chrome"===t||"Chromium"===t)&&Number(n)>=109)):!!navigator.userAgent.split(" ").find((t=>{const[n,e]=t.split("/");return"Chrome"===n&&parseInt(e)>=109}))}())){const{offsetParent:t}=await import("./p-0ea2ca75.js"),n=ot.getOffsetParent;ot.getOffsetParent=e=>n(e,t)}}(),at=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],lt="bottom-start",st={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function ct({placement:t,flipDisabled:n,flipPlacements:a,offsetDistance:s,offsetSkidding:f,arrowEl:u,type:m}){const y=[(void 0===g&&(g={}),{name:"shift",options:g,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=g,u={x:n,y:e},m=await c(t,f),p=i(r(o)),y="x"===p?"y":"x";let h=u[p],x=u[y];a&&(h=d(h+m["y"===p?"top":"left"],h,h-m["y"===p?"bottom":"right"])),l&&(x=d(x+m["y"===y?"top":"left"],x,x-m["y"===y?"bottom":"right"]));const v=s.fn({...t,[p]:h,[y]:x});return{...v,data:{x:v.x-n,y:v.y-e}}}}),P()];var g,x;if("menu"===m)return[...y,w({fallbackPlacements:a||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===m||"tooltip"===m){const m=[...y,(x={mainAxis:"number"==typeof s?s:0,crossAxis:"number"==typeof f?f:0},void 0===x&&(x=0),{name:"offset",options:x,async fn(t){const{x:n,y:o}=t,a=await async function(t,n){const{placement:o,platform:a,elements:l}=t,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=r(o),f=e(o),u="x"===i(o),d=["left","top"].includes(c)?-1:1,m=s&&u?-1:1,p="function"==typeof n?n(t):n;let{mainAxis:y,crossAxis:g,alignmentAxis:h}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof h&&(g="end"===f?-1*h:h),u?{x:g*m,y:y*d}:{x:y*d,y:g*m}}(t,x);return{x:n+a.x,y:o+a.y,data:a}}})];return"auto"===t||"auto-start"===t||"auto-end"===t?m.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var o,i,a;const{rects:l,middlewareData:s,placement:f,platform:u,elements:d}=n,{crossAxis:m=!1,alignment:y,allowedPlacements:g=p,autoAlignment:x=!0,...w}=t,b=void 0!==y||g===p?function(t,n,o){return(t?[...o.filter((n=>e(n)===t)),...o.filter((n=>e(n)!==t))]:o.filter((t=>r(t)===t))).filter((o=>!t||e(o)===t||!!n&&v(o)!==o))}(y||null,x,g):g,A=await c(n,w),P=(null==(o=s.autoPlacement)?void 0:o.index)||0,k=b[P];if(null==k)return{};const{main:D,cross:R}=h(k,l,await(null==u.isRTL?void 0:u.isRTL(d.floating)));if(f!==k)return{reset:{placement:b[0]}};const F=[A[r(k)],A[D],A[R]],M=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:k,overflows:F}],E=b[P+1];if(E)return{data:{index:P+1,overflows:M},reset:{placement:E}};const S=M.map((t=>{const n=e(t.placement);return[t.placement,n&&m?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),C=(null==(a=S.filter((t=>t[2].slice(0,e(t[0])?2:3).every((t=>t<=0))))[0])?void 0:a[0])||S[0][0];return C!==f?{data:{index:P+1,overflows:M},reset:{placement:C}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||m.push(w(a?{fallbackPlacements:a}:{})),u&&m.push((t=>({name:"arrow",options:t,async fn(n){const{element:r,padding:a=0}=t||{},{x:s,y:c,placement:f,rects:u,platform:m,elements:p}=n;if(null==r)return{};const y=l(a),g={x:s,y:c},h=i(f),x=o(h),v=await m.getDimensions(r),w="y"===h,b=w?"top":"left",A=w?"bottom":"right",P=w?"clientHeight":"clientWidth",k=u.reference[x]+u.reference[h]-g[h]-u.floating[x],D=g[h]-u.reference[h],R=await(null==m.getOffsetParent?void 0:m.getOffsetParent(r));let F=R?R[P]:0;F&&await(null==m.isElement?void 0:m.isElement(R))||(F=p.floating[P]||u.floating[x]);const M=y[b],E=F-v[x]-y[A],S=F/2-v[x]/2+(k/2-D/2),C=d(M,S,E),O=null!=e(f)&&S!=C&&u.reference[x]/2-(S<M?y[b]:y[A])-v[x]/2<0;return{[h]:g[h]-(O?S<M?M-S:E-S:0),data:{[h]:C,centerOffset:S-C}}}}))({element:u})),m}return[]}function ft(t,n){const e=t.filter((t=>at.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${at.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ut(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function dt(t,n,e=!1){if(t.open)return e?mt(t,n):yt(t,n)}const mt=n(yt,100,{leading:!0,maxWait:100}),pt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"};async function yt(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:s,offsetSkidding:c,arrowEl:f,type:u}){if(!n||!e)return null;await it;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:ot,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,s=i.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(n));let f=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=a(f,o,c),m=o,p={},y=0;for(let e=0;e<s.length;e++){const{name:i,fn:g}=s[e],{x:h,y:x,data:v,reset:w}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:l,elements:{reference:t,floating:n}});u=null!=h?h:u,d=null!=x?x:d,p={...p,[i]:{...p[i],...v}},w&&y<=50&&(y++,"object"==typeof w&&(w.placement&&(m=w.placement),w.rects&&(f=!0===w.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:u,y:d}=a(f,m,c))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:ut(e,r),middleware:ct({placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:s,offsetSkidding:c,arrowEl:f,type:u})});if(f&&g.arrow){const{x:n,y:e}=g.arrow,o=p.split("-")[0],r=null!=n?"left":"top",i=pt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(f.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const h=g.hide?.referenceHidden,x=h?"hidden":null,v=x?"none":null;e.setAttribute("data-placement",p);const w=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(e.style,{visibility:x,pointerEvents:v,position:y,top:"0",left:"0",transform:w})}const gt=new WeakMap;function ht(t,n,e){e&&n&&(xt(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),gt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=o,s=r||i?[...C(t)?K(t):t.contextElement?K(t.contextElement):[],...K(n)]:[];s.forEach((t=>{const n=!C(t)&&t.toString().includes("V");!r||l&&!n||t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));let c,f=null;a&&(f=new ResizeObserver((()=>{e()})),C(t)&&!l&&f.observe(t),C(t)||!t.contextElement||l||f.observe(t.contextElement),f.observe(n));let u=l?G(t):null;return l&&function n(){const o=G(t);!u||o.x===u.x&&o.y===u.y&&o.width===u.width&&o.height===u.height||e(),u=o,c=requestAnimationFrame(n)}(),e(),()=>{var t;s.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),null==(t=f)||t.disconnect(),f=null,l&&cancelAnimationFrame(c)}}(n,e,(()=>t.reposition()))))}function xt(t,n,e){if(!e||!n)return;const o=gt.get(t);o&&o(),gt.delete(t)}const vt=Math.ceil(Math.hypot(4,4));export{st as F,xt as a,vt as b,ht as c,lt as d,ft as f,dt as r}
6
+ import{b as t}from"./p-1f7ffee5.js";import{d as n}from"./p-0c863081.js";function e(t){return t.split("-")[1]}function o(t){return"y"===t?"height":"width"}function r(t){return t.split("-")[0]}function i(t){return["top","bottom"].includes(r(t))?"x":"y"}function a(t,n,a){let{reference:l,floating:s}=t;const c=l.x+l.width/2-s.width/2,f=l.y+l.height/2-s.height/2,u=i(n),d=o(u),m=l[d]/2-s[d]/2,p="x"===u;let y;switch(r(n)){case"top":y={x:c,y:l.y-s.height};break;case"bottom":y={x:c,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:f};break;case"left":y={x:l.x-s.width,y:f};break;default:y={x:l.x,y:l.y}}switch(e(n)){case"start":y[u]-=m*(a&&p?-1:1);break;case"end":y[u]+=m*(a&&p?-1:1)}return y}function l(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function s(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function c(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:c,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:p=!1,padding:y=0}=n,g=l(y),h=c[p?"floating"===m?"reference":"floating":m],x=s(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(h)))||e?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:d,strategy:f})),v="floating"===m?{...a.floating,x:o,y:r}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),w=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},A=s(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:b,strategy:f}):v);return{top:(x.top-A.top+g.top)/w.y,bottom:(A.bottom-x.bottom+g.bottom)/w.y,left:(x.left-A.left+g.left)/w.x,right:(A.right-x.right+g.right)/w.x}}const f=Math.min,u=Math.max;function d(t,n,e){return u(t,f(n,e))}const m=["top","right","bottom","left"],p=m.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),y={left:"right",right:"left",bottom:"top",top:"bottom"};function g(t){return t.replace(/left|right|bottom|top/g,(t=>y[t]))}function h(t,n,r){void 0===r&&(r=!1);const a=e(t),l=i(t),s=o(l);let c="x"===l?a===(r?"end":"start")?"right":"left":"start"===a?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=g(c)),{main:c,cross:g(c)}}const x={start:"end",end:"start"};function v(t){return t.replace(/start|end/g,(t=>x[t]))}const b=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var o;const{placement:i,middlewareData:a,rects:l,initialPlacement:s,platform:f,elements:u}=n,{mainAxis:d=!0,crossAxis:m=!0,fallbackPlacements:p,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:b=!0,...w}=t,A=r(i),P=r(s)===s,k=await(null==f.isRTL?void 0:f.isRTL(u.floating)),D=p||(P||!b?[g(s)]:function(t){const n=g(t);return[v(t),n,v(n)]}(s));p||"none"===x||D.push(...function(t,n,o,i){const a=e(t);let l=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(r(t),"start"===o,i);return a&&(l=l.map((t=>t+"-"+a)),n&&(l=l.concat(l.map(v)))),l}(s,b,x,k));const R=[s,...D],F=await c(n,w),M=[];let E=(null==(o=a.flip)?void 0:o.overflows)||[];if(d&&M.push(F[A]),m){const{main:t,cross:n}=h(i,l,k);M.push(F[t],F[n])}if(E=[...E,{placement:i,overflows:M}],!M.every((t=>t<=0))){var S,C;const t=((null==(S=a.flip)?void 0:S.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:E},reset:{placement:n}};let e=null==(C=E.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:C.placement;if(!e)switch(y){case"bestFit":{var O;const t=null==(O=E.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:O[0];t&&(e=t);break}case"initialPlacement":e=s}if(i!==e)return{reset:{placement:e}}}return{}}}};function w(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function A(t){return m.some((n=>t[n]>=0))}const P=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{strategy:e="referenceHidden",...o}=t,{rects:r}=n;switch(e){case"referenceHidden":{const t=w(await c(n,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:A(t)}}}case"escaped":{const t=w(await c(n,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:A(t)}}}default:return{}}}}};function k(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function D(t){return k(t).getComputedStyle(t)}function R(t){return t instanceof k(t).Node}function F(t){return R(t)?(t.nodeName||"").toLowerCase():""}let M;function E(){if(M)return M;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(M=t.brands.map((t=>t.brand+"/"+t.version)).join(" "),M):navigator.userAgent}function S(t){return t instanceof k(t).HTMLElement}function C(t){return t instanceof k(t).Element}function O(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}function T(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=D(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function $(t){return["table","td","th"].includes(F(t))}function j(t){const n=/firefox/i.test(E()),e=D(t),o=e.backdropFilter||e.WebkitBackdropFilter;return"none"!==e.transform||"none"!==e.perspective||!!o&&"none"!==o||n&&"filter"===e.willChange||n&&!!e.filter&&"none"!==e.filter||["transform","perspective"].some((t=>e.willChange.includes(t)))||["paint","layout","strict","content"].some((t=>{const n=e.contain;return null!=n&&n.includes(t)}))}function z(){return/^((?!chrome|android).)*safari/i.test(E())}function B(t){return["html","body","#document"].includes(F(t))}const L=Math.min,H=Math.max,N=Math.round;function I(t){const n=D(t);let e=parseFloat(n.width),o=parseFloat(n.height);const r=S(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,l=N(e)!==i||N(o)!==a;return l&&(e=i,o=a),{width:e,height:o,fallback:l}}function W(t){return C(t)?t:t.contextElement}const V={x:1,y:1};function q(t){const n=W(t);if(!S(n))return V;const e=n.getBoundingClientRect(),{width:o,height:r,fallback:i}=I(n);let a=(i?N(e.width):e.width)/o,l=(i?N(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function G(t,n,e,o){var r,i;void 0===n&&(n=!1),void 0===e&&(e=!1);const a=t.getBoundingClientRect(),l=W(t);let c=V;n&&(o?C(o)&&(c=q(o)):c=q(t));const f=l?k(l):window,u=z()&&e;let d=(a.left+(u&&(null==(r=f.visualViewport)?void 0:r.offsetLeft)||0))/c.x,m=(a.top+(u&&(null==(i=f.visualViewport)?void 0:i.offsetTop)||0))/c.y,p=a.width/c.x,y=a.height/c.y;if(l){const t=k(l),n=o&&C(o)?k(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=q(e),n=e.getBoundingClientRect(),o=getComputedStyle(e);n.x+=(e.clientLeft+parseFloat(o.paddingLeft))*t.x,n.y+=(e.clientTop+parseFloat(o.paddingTop))*t.y,d*=t.x,m*=t.y,p*=t.x,y*=t.y,d+=n.x,m+=n.y,e=k(e).frameElement}}return s({width:p,height:y,x:d,y:m})}function U(t){return((R(t)?t.ownerDocument:t.document)||window.document).documentElement}function X(t){return C(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Y(t){return G(U(t)).left+X(t).scrollLeft}function _(t){if("html"===F(t))return t;const n=t.assignedSlot||t.parentNode||O(t)&&t.host||U(t);return O(n)?n.host:n}function J(t){const n=_(t);return B(n)?n.ownerDocument.body:S(n)&&T(n)?n:J(n)}function K(t,n){var e;void 0===n&&(n=[]);const o=J(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=k(o);return r?n.concat(i,i.visualViewport||[],T(o)?o:[]):n.concat(o,K(o))}function Q(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=k(t),o=U(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=z();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e);else if("document"===n)o=function(t){const n=U(t),e=X(t),o=t.ownerDocument.body,r=H(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=H(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Y(t);const l=-e.scrollTop;return"rtl"===D(o).direction&&(a+=H(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(U(t));else if(C(n))o=function(t,n){const e=G(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=S(t)?q(t):{x:1,y:1};return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e={...n};if(z()){var r,i;const n=k(t);e.x-=(null==(r=n.visualViewport)?void 0:r.offsetLeft)||0,e.y-=(null==(i=n.visualViewport)?void 0:i.offsetTop)||0}o=e}return s(o)}function Z(t,n){const e=_(t);return!(e===n||!C(e)||B(e))&&("fixed"===D(e).position||Z(e,n))}function tt(t,n){return S(t)&&"fixed"!==D(t).position?n?n(t):t.offsetParent:null}function nt(t,n){const e=k(t);if(!S(t))return e;let o=tt(t,n);for(;o&&$(o)&&"static"===D(o).position;)o=tt(o,n);return o&&("html"===F(o)||"body"===F(o)&&"static"===D(o).position&&!j(o))?e:o||function(t){let n=_(t);for(;S(n)&&!B(n);){if(j(n))return n;n=_(n)}return null}(t)||e}function et(t,n,e){const o=S(n),r=U(n),i=G(t,!0,"fixed"===e,n);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==F(n)||T(r))&&(a=X(n)),S(n)){const t=G(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=Y(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}const ot={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=K(t).filter((t=>C(t)&&"body"!==F(t))),r=null;const i="fixed"===D(t).position;let a=i?_(t):t;for(;C(a)&&!B(a);){const n=D(a),e=j(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||T(a)&&!e&&Z(t,a))?o=o.filter((t=>t!==a)):r=n,a=_(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=Q(n,e,r);return t.top=H(o.top,t.top),t.right=L(o.right,t.right),t.bottom=L(o.bottom,t.bottom),t.left=H(o.left,t.left),t}),Q(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=S(e),i=U(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const s={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==F(e)||T(i))&&(a=X(e)),S(e))){const t=G(e);l=q(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+s.x,y:n.y*l.y-a.scrollTop*l.y+s.y}},isElement:C,getDimensions:function(t){return I(t)},getOffsetParent:nt,getDocumentElement:U,getScale:q,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||nt,i=this.getDimensions;return{reference:et(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===D(t).direction};const rt={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},it=async function(){function t(){return navigator.userAgentData}if(rt.floatingUINonChromiumPositioningFix&&(/firefox|safari/i.test(function(){const n=t();return n?.brands?n.brands.map((({brand:t,version:n})=>`${t}/${n}`)).join(" "):navigator.userAgent}())||function(){const n=t();return n?.brands?!!n.brands.find((({brand:t,version:n})=>("Google Chrome"===t||"Chromium"===t)&&Number(n)>=109)):!!navigator.userAgent.split(" ").find((t=>{const[n,e]=t.split("/");return"Chrome"===n&&parseInt(e)>=109}))}())){const{offsetParent:t}=await import("./p-9f3432bc.js"),n=ot.getOffsetParent;ot.getOffsetParent=e=>n(e,t)}}(),at=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],lt="bottom-start",st={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function ct({placement:t,flipDisabled:n,flipPlacements:a,offsetDistance:s,offsetSkidding:f,arrowEl:u,type:m}){const y=[(void 0===g&&(g={}),{name:"shift",options:g,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=g,u={x:n,y:e},m=await c(t,f),p=i(r(o)),y="x"===p?"y":"x";let h=u[p],x=u[y];a&&(h=d(h+m["y"===p?"top":"left"],h,h-m["y"===p?"bottom":"right"])),l&&(x=d(x+m["y"===y?"top":"left"],x,x-m["y"===y?"bottom":"right"]));const v=s.fn({...t,[p]:h,[y]:x});return{...v,data:{x:v.x-n,y:v.y-e}}}}),P()];var g,x;if("menu"===m)return[...y,b({fallbackPlacements:a||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===m||"tooltip"===m){const m=[...y,(x={mainAxis:"number"==typeof s?s:0,crossAxis:"number"==typeof f?f:0},void 0===x&&(x=0),{name:"offset",options:x,async fn(t){const{x:n,y:o}=t,a=await async function(t,n){const{placement:o,platform:a,elements:l}=t,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=r(o),f=e(o),u="x"===i(o),d=["left","top"].includes(c)?-1:1,m=s&&u?-1:1,p="function"==typeof n?n(t):n;let{mainAxis:y,crossAxis:g,alignmentAxis:h}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof h&&(g="end"===f?-1*h:h),u?{x:g*m,y:y*d}:{x:y*d,y:g*m}}(t,x);return{x:n+a.x,y:o+a.y,data:a}}})];return"auto"===t||"auto-start"===t||"auto-end"===t?m.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var o,i,a;const{rects:l,middlewareData:s,placement:f,platform:u,elements:d}=n,{crossAxis:m=!1,alignment:y,allowedPlacements:g=p,autoAlignment:x=!0,...b}=t,w=void 0!==y||g===p?function(t,n,o){return(t?[...o.filter((n=>e(n)===t)),...o.filter((n=>e(n)!==t))]:o.filter((t=>r(t)===t))).filter((o=>!t||e(o)===t||!!n&&v(o)!==o))}(y||null,x,g):g,A=await c(n,b),P=(null==(o=s.autoPlacement)?void 0:o.index)||0,k=w[P];if(null==k)return{};const{main:D,cross:R}=h(k,l,await(null==u.isRTL?void 0:u.isRTL(d.floating)));if(f!==k)return{reset:{placement:w[0]}};const F=[A[r(k)],A[D],A[R]],M=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:k,overflows:F}],E=w[P+1];if(E)return{data:{index:P+1,overflows:M},reset:{placement:E}};const S=M.map((t=>{const n=e(t.placement);return[t.placement,n&&m?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),C=(null==(a=S.filter((t=>t[2].slice(0,e(t[0])?2:3).every((t=>t<=0))))[0])?void 0:a[0])||S[0][0];return C!==f?{data:{index:P+1,overflows:M},reset:{placement:C}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||m.push(b(a?{fallbackPlacements:a}:{})),u&&m.push((t=>({name:"arrow",options:t,async fn(n){const{element:r,padding:a=0}=t||{},{x:s,y:c,placement:f,rects:u,platform:m,elements:p}=n;if(null==r)return{};const y=l(a),g={x:s,y:c},h=i(f),x=o(h),v=await m.getDimensions(r),b="y"===h,w=b?"top":"left",A=b?"bottom":"right",P=b?"clientHeight":"clientWidth",k=u.reference[x]+u.reference[h]-g[h]-u.floating[x],D=g[h]-u.reference[h],R=await(null==m.getOffsetParent?void 0:m.getOffsetParent(r));let F=R?R[P]:0;F&&await(null==m.isElement?void 0:m.isElement(R))||(F=p.floating[P]||u.floating[x]);const M=y[w],E=F-v[x]-y[A],S=F/2-v[x]/2+(k/2-D/2),C=d(M,S,E),O=null!=e(f)&&S!=C&&u.reference[x]/2-(S<M?y[w]:y[A])-v[x]/2<0;return{[h]:g[h]-(O?S<M?M-S:E-S:0),data:{[h]:C,centerOffset:S-C}}}}))({element:u})),m}return[]}function ft(t,n){const e=t.filter((t=>at.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${at.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ut(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function dt(t,n,e=!1){if(t.open)return e?mt(t,n):yt(t,n)}const mt=n(yt,100,{leading:!0,maxWait:100}),pt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"};async function yt(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:s,offsetSkidding:c,arrowEl:f,type:u}){if(!n||!e)return null;await it;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:ot,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,s=i.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(n));let f=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=a(f,o,c),m=o,p={},y=0;for(let e=0;e<s.length;e++){const{name:i,fn:g}=s[e],{x:h,y:x,data:v,reset:b}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:l,elements:{reference:t,floating:n}});u=null!=h?h:u,d=null!=x?x:d,p={...p,[i]:{...p[i],...v}},b&&y<=50&&(y++,"object"==typeof b&&(b.placement&&(m=b.placement),b.rects&&(f=!0===b.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):b.rects),({x:u,y:d}=a(f,m,c))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:ut(e,r),middleware:ct({placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:s,offsetSkidding:c,arrowEl:f,type:u})});if(f&&g.arrow){const{x:n,y:e}=g.arrow,o=p.split("-")[0],r=null!=n?"left":"top",i=pt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(f.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const h=g.hide?.referenceHidden,x=h?"hidden":null,v=x?"none":null;e.setAttribute("data-placement",p);const b=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(e.style,{visibility:x,pointerEvents:v,position:y,top:"0",left:"0",transform:b})}const gt=new WeakMap;function ht(t,n,e){e&&n&&(xt(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),gt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=o,s=r||i?[...C(t)?K(t):t.contextElement?K(t.contextElement):[],...K(n)]:[];s.forEach((t=>{const n=!C(t)&&t.toString().includes("V");!r||l&&!n||t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));let c,f=null;a&&(f=new ResizeObserver((()=>{e()})),C(t)&&!l&&f.observe(t),C(t)||!t.contextElement||l||f.observe(t.contextElement),f.observe(n));let u=l?G(t):null;return l&&function n(){const o=G(t);!u||o.x===u.x&&o.y===u.y&&o.width===u.width&&o.height===u.height||e(),u=o,c=requestAnimationFrame(n)}(),e(),()=>{var t;s.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),null==(t=f)||t.disconnect(),f=null,l&&cancelAnimationFrame(c)}}(n,e,(()=>t.reposition()))))}function xt(t,n,e){if(!e||!n)return;const o=gt.get(t);o&&o(),gt.delete(t)}const vt=Math.ceil(Math.hypot(4,4));export{st as F,xt as a,vt as b,ht as c,lt as d,ft as f,dt as r}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.15
4
+ * v1.4.0-next.16
5
5
  */
6
- import{d as e,a as t}from"./p-1285cf8b.js";function o(){const{classList:o}=document.body,n=window.matchMedia("(prefers-color-scheme: dark)").matches,d=()=>o.contains(e)||o.contains(t)&&n?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:e}})),i=e=>{a!==e&&c(e),a=e};let a=d();c(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>i(e.matches?"dark":"light"))),new MutationObserver((()=>i(d()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const n=function(){"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document&&("interactive"===document.readyState?o():document.addEventListener("DOMContentLoaded",(()=>o()),{once:!0}))};export{n as g}
6
+ import{d as e,a as t}from"./p-8b690f1c.js";function o(){const{classList:o}=document.body,n=window.matchMedia("(prefers-color-scheme: dark)").matches,d=()=>o.contains(e)||o.contains(t)&&n?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:e}})),i=e=>{a!==e&&c(e),a=e};let a=d();c(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>i(e.matches?"dark":"light"))),new MutationObserver((()=>i(d()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const n=function(){"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document&&("interactive"===document.readyState?o():document.addEventListener("DOMContentLoaded",(()=>o()),{once:!0}))};export{n as g}
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.15
4
+ * v1.4.0-next.16
5
5
  */
6
- import{g as n}from"./p-c18fb42e.js";import{C as t}from"./p-1285cf8b.js";
6
+ import{g as n}from"./p-d7126b30.js";import{C as t}from"./p-8b690f1c.js";
7
7
  /*!
8
8
  * tabbable 6.1.1
9
9
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.15
4
+ * v1.4.0-next.16
5
5
  */
6
6
  const n={menuActions:"menu-actions",menuTooltip:"menu-tooltip"},o={menu:"ellipsis"};export{o as I,n as S}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.15
4
+ * v1.4.0-next.16
5
5
  */
6
- import{g as i,r as a,h as t,H as n,a as e}from"./p-b7f1c41a.js";import{b as c,t as s}from"./p-ff929412.js";import{c as o}from"./p-497e2df8.js";import"./p-c18fb42e.js";import"./p-1285cf8b.js";const r={},l={},m={s:16,m:24,l:32};const f=class{constructor(i){a(this,i),this.icon=null,this.flipRtl=!1,this.scale="m",this.textLabel=void 0,this.pathData=void 0,this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){this.intersectionObserver?.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:i,flipRtl:a,pathData:e,scale:o,textLabel:r}=this,l=c(i),f=m[o],p=!!r,h=[].concat(e||"");return t(n,{"aria-hidden":s(!p),"aria-label":p?r:null,role:p?"img":null},t("svg",{"aria-hidden":"true",class:{"flip-rtl":"rtl"===l&&a,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${f} ${f}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},h.map((i=>t("path","string"==typeof i?{d:i}:{d:i.d,opacity:"opacity"in i?i.opacity:1})))))}async loadIconPathData(){const{icon:a,scale:t,visible:n}=this;a&&n&&(this.pathData=await async function({icon:a,scale:t}){const n=m[t],e=function(i){const a=!isNaN(Number(i.charAt(0))),t=i.split("-");if(t.length>0){const a=/[a-z]/i;i=t.map(((i,t)=>i.replace(a,(function(i,a){return 0===t&&0===a?i:i.toUpperCase()})))).join("")}return a?`i${i}`:i}(a),c="F"===e.charAt(e.length-1),s=`${c?e.substring(0,e.length-1):e}${n}${c?"F":""}`;if(r[s])return r[s];l[s]||(l[s]=fetch(i(`./assets/icon/${s}.json`)).then((i=>i.json())).catch((()=>(console.error(`"${s}" is not a valid calcite-ui-icon name`),""))));const o=await l[s];return r[s]=o,o}({icon:a,scale:t}))}waitUntilVisible(i){this.intersectionObserver=o("intersection",(a=>{a.forEach((a=>{a.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,i())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):i()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};f.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){block-size:1rem;inline-size:1rem;min-inline-size:1rem;min-block-size:1rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem;min-inline-size:1.5rem;min-block-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem;min-inline-size:2rem;min-block-size:2rem}.flip-rtl{transform:scaleX(-1)}.svg{display:block}";export{f as calcite_icon}
6
+ import{g as i,r as a,h as t,H as n,a as e}from"./p-ca01e893.js";import{b as c,t as s}from"./p-1f7ffee5.js";import{c as o}from"./p-4b969718.js";import"./p-d7126b30.js";import"./p-8b690f1c.js";const r={},l={},m={s:16,m:24,l:32};const f=class{constructor(i){a(this,i),this.icon=null,this.flipRtl=!1,this.scale="m",this.textLabel=void 0,this.pathData=void 0,this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){this.intersectionObserver?.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:i,flipRtl:a,pathData:e,scale:o,textLabel:r}=this,l=c(i),f=m[o],p=!!r,h=[].concat(e||"");return t(n,{"aria-hidden":s(!p),"aria-label":p?r:null,role:p?"img":null},t("svg",{"aria-hidden":"true",class:{"flip-rtl":"rtl"===l&&a,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${f} ${f}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},h.map((i=>t("path","string"==typeof i?{d:i}:{d:i.d,opacity:"opacity"in i?i.opacity:1})))))}async loadIconPathData(){const{icon:a,scale:t,visible:n}=this;a&&n&&(this.pathData=await async function({icon:a,scale:t}){const n=m[t],e=function(i){const a=!isNaN(Number(i.charAt(0))),t=i.split("-");if(t.length>0){const a=/[a-z]/i;i=t.map(((i,t)=>i.replace(a,(function(i,a){return 0===t&&0===a?i:i.toUpperCase()})))).join("")}return a?`i${i}`:i}(a),c="F"===e.charAt(e.length-1),s=`${c?e.substring(0,e.length-1):e}${n}${c?"F":""}`;if(r[s])return r[s];l[s]||(l[s]=fetch(i(`./assets/icon/${s}.json`)).then((i=>i.json())).catch((()=>(console.error(`"${s}" is not a valid calcite-ui-icon name`),""))));const o=await l[s];return r[s]=o,o}({icon:a,scale:t}))}waitUntilVisible(i){this.intersectionObserver=o("intersection",(a=>{a.forEach((a=>{a.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,i())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):i()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};f.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){block-size:1rem;inline-size:1rem;min-inline-size:1rem;min-block-size:1rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem;min-inline-size:1.5rem;min-block-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem;min-inline-size:2rem;min-block-size:2rem}.flip-rtl{transform:scaleX(-1)}.svg{display:block}";export{f as calcite_icon}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.15
4
+ * v1.4.0-next.16
5
5
  */
6
- import{r as i,c as t,h as e,H as a,a as n}from"./p-b7f1c41a.js";import{f as s}from"./p-3e74d103.js";import{x as o,i as c,t as l,v as r,g as h}from"./p-ff929412.js";import{d as m,f as d,c as p,r as u,a as b,F as f}from"./p-7cb7075d.js";import{s as g,c as x,a as v,d as y,H as w}from"./p-d1d88d7e.js";import{g as k}from"./p-c18fb42e.js";import{u as C}from"./p-2e6e3803.js";import{c as z,d as I,g as _}from"./p-33cea899.js";import{c as D,s as $,a as H}from"./p-f9496bf8.js";import{c as E,d as j}from"./p-fddd3bb0.js";import{c as O}from"./p-497e2df8.js";import{c as A,d as L}from"./p-696ecb2a.js";import{c as M,s as P,d as B,u as T}from"./p-96dbffb1.js";import{d as F}from"./p-1c64a43e.js";import{c as R,d as S}from"./p-0f895f5b.js";import"./p-1285cf8b.js";import"./p-389364ac.js";const X="CALCITE-COMBOBOX-ITEM",U="CALCITE-COMBOBOX-ITEM-GROUP",W=`${X}, ${U}`;function G(i){const t=i.parentElement?.closest(W),e=t?.parentElement?.closest(W);return[t,e].filter((i=>i))}function Y(i){return i.ancestors?.filter((i=>"CALCITE-COMBOBOX-ITEM"===i.nodeName))||[]}function K(i){return o(i.querySelectorAll("calcite-combobox-item")).filter((i=>i.selected)).length>0}function N(i){return document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",i,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}const V="combobox-item-",q="combobox-chip-",J="combobox-label-",Q="combobox-listbox-",Z="combobox-input-",ii=class{constructor(e){i(this,e),this.calciteComboboxChange=t(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=t(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipClose=t(this,"calciteComboboxChipClose",6),this.calciteComboboxBeforeClose=t(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=t(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=t(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=t(this,"calciteComboboxOpen",6),this.placement=m,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=O("mutation",(()=>this.updateItems())),this.resizeObserver=O("resize",(()=>this.setMaxScrollerHeight())),this.guid=k(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?d(t,i):null},this.getValue=()=>{const i=this.selectedItems.map((i=>i?.value?.toString()));return i?.length?i.length>1?i:i[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keydownHandler=i=>{const{key:t}=i;switch(t){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):this.open&&(this.open=!1,i.preventDefault());break;case"ArrowLeft":this.previousChip(),i.preventDefault();break;case"ArrowRight":this.nextChip(),i.preventDefault();break;case"ArrowUp":i.preventDefault(),this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":i.preventDefault(),this.open||(this.open=!0),this.shiftActiveItemIndex(1),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(i.preventDefault(),this.open=!0,this.shiftActiveItemIndex(1));break;case"Home":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.open=!1,i.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),i.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),i.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):i.defaultPrevented||g(this)&&i.preventDefault();break;case"Delete":case"Backspace":this.activeChipIndex>-1?(i.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(i.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:i,open:t,referenceEl:e}=this;if(!i||!t)return;await this.reposition(!0);const a=this.getMaxScrollerHeight();i.style.maxHeight=a>0?`${a}px`:"",i.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=i=>{this.open=!1;const t=this.items.find((t=>t===i));t&&this.toggleSelection(t,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=i=>{if(i.composedPath().some((i=>"CALCITE-CHIP"===i.tagName)))return this.open=!1,void i.stopPropagation();this.open=!this.open,this.updateActiveItemIndex(0),this.setFocus()},this.setInactiveIfNotContained=i=>{const t=i.composedPath();!this.open||t.includes(this.el)||t.includes(this.referenceEl)||(this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),"single"===this.selectionMode&&(this.textInput&&(this.textInput.value=""),this.text="",this.filterItems(""),this.updateActiveItemIndex(-1)),this.open=!1)},this.setFloatingEl=i=>{this.floatingEl=i,p(this,this.referenceEl,this.floatingEl)},this.setContainerEl=i=>{this.resizeObserver.observe(i),this.listContainerEl=i,this.transitionEl=i,A(this)},this.setReferenceEl=i=>{this.referenceEl=i,p(this,this.referenceEl,this.floatingEl)},this.inputHandler=i=>{const t=i.target.value;this.text=t,this.filterItems(t),t&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const i=(i,t)=>i&&t.some((({label:t,value:e})=>i.tagName===U?e===i.label:e===i.textLabel||e===i.value||t===i.textLabel||t===i.value));return F((t=>{const e=s(this.data,t);this.getCombinedItems().forEach((t=>{const a=!i(t,e);t.hidden=a;const[n,s]=t.ancestors;(i(n,e)||i(s,e))&&(t.hidden=!1),a||t.ancestors.forEach((i=>i.hidden=!1))})),this.filteredItems=this.getfilteredItems(),this.calciteComboboxFilterChange.emit()}),100)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=F(this.internalComboboxChangeEvent,0),this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getfilteredItems(),this.needsIcon=this.getNeedsIcon(),this.allowCustomValues||this.setMaxScrollerHeight()},this.scrollToActiveItem=()=>{const i=this.filteredItems[this.activeItemIndex];if(!i)return;const t=this.calculateSingleItemHeight(i),{offsetHeight:e,scrollTop:a}=this.listContainerEl;e+a<i.offsetTop+t?this.listContainerEl.scrollTop=i.offsetTop-e+t:i.offsetTop<a&&(this.listContainerEl.scrollTop=i.offsetTop)},this.comboboxFocusHandler=()=>{this.disabled||this.textInput?.focus()},this.comboboxBlurHandler=i=>{this.setInactiveIfNotContained(i)},this.open=!1,this.disabled=!1,this.form=void 0,this.label=void 0,this.placeholder=void 0,this.placeholderIcon=void 0,this.placeholderIconFlipRtl=!1,this.maxItems=0,this.name=void 0,this.allowCustomValues=void 0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multiple",this.scale="m",this.value=null,this.flipPlacements=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedItems=[],this.filteredItems=[],this.items=[],this.groupItems=[],this.needsIcon=void 0,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.text="",this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(i){i||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}valueHandler(i){if(!this.internalValueChangeFlag){const t=this.getItems();Array.isArray(i)?t.forEach((t=>t.selected=i.includes(t.value))):t.forEach(i?t=>t.selected=i===t.value:i=>i.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}documentClickHandler(i){!this.disabled&&c(i)&&this.setInactiveIfNotContained(i)}calciteComboboxItemChangeHandler(i){if(this.ignoreSelectedEventsFlag)return;const t=i.target,e=this.filteredItems.indexOf(t);this.updateActiveItemIndex(e),this.toggleSelection(t,t.selected)}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:a,overlayPositioning:n,filteredFlipPlacements:s}=this;return u(this,{floatingEl:t,referenceEl:e,overlayPositioning:n,placement:a,flipPlacements:s,type:"menu"},i)}async setFocus(){await D(this),this.textInput?.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){E(this),M(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),z(this),x(this),A(this),this.setFilteredPlacements(),this.reposition(!0),this.open&&this.openHandler()}async componentWillLoad(){$(this),this.updateItems(),await P(this)}componentDidLoad(){v(this,this.getValue()),this.reposition(!0),H(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),C(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),I(this),y(this),b(this,this.referenceEl,this.floatingEl),L(this),j(this),B(this)}textHandler(){this.updateActiveItemIndex(-1)}effectiveLocaleChange(){T(this,this.effectiveLocale)}comboboxInViewport(){const i=this.el.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.right<=(window.innerWidth||document.documentElement.clientWidth)&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}getMaxScrollerHeight(){const i=this.getCombinedItems().filter((i=>!i.hidden)),{maxItems:t}=this;let e=0,a=0;return i.length>t&&i.forEach((i=>{if(e<t&&t>0){const t=this.calculateSingleItemHeight(i);t>0&&(a+=t,e++)}})),a}calculateSingleItemHeight(i){if(!i)return;let t=i.offsetHeight;return Array.from(i.querySelectorAll(W)).map((i=>i?.offsetHeight)).forEach((i=>{t-=i})),t}getCombinedItems(){return[...this.groupItems,...this.items]}toggleSelection(i,t=!i.selected){i&&(this.isMulti()?(i.selected=t,this.updateAncestors(i),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===i&&t)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=i.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(i){if("ancestors"!==this.selectionMode)return;const t=Y(i),e=function(i){return o(i.querySelectorAll("calcite-combobox-item"))}(i);i.selected?t.forEach((i=>{i.selected=!0})):(e.forEach((i=>i.selected=!1)),[...t].forEach((i=>{K(i)||(i.selected=!1)})))}getfilteredItems(){return this.items.filter((i=>!i.hidden))}getSelectedItems(){if(!this.isMulti()){const i=this.items.find((({selected:i})=>i));return i?[i]:[]}return this.items.filter((i=>i.selected&&("ancestors"!==this.selectionMode||!K(i)))).sort(((i,t)=>{const e=this.selectedItems.indexOf(i),a=this.selectedItems.indexOf(t);return e>-1&&a>-1?e-a:a-e}))}getData(){return this.items.map((i=>({filterDisabled:i.filterDisabled,value:i.value,label:i.textLabel})))}getNeedsIcon(){return"single"===this.selectionMode&&this.items.some((i=>i.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(X)).filter((i=>!i.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(U))}addCustomChip(i,t){const e=this.items.find((t=>t.textLabel===i));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement(X);e.value=i,e.textLabel=i,e.selected=!0,this.el.appendChild(e),this.resetText(),t&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const i=this.activeChipIndex;this.activeChipIndex=-1===i?this.selectedItems.length-1:Math.max(i-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const i=this.activeChipIndex+1;i>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=i,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){const i=this.selectedItems[this.activeChipIndex]?.guid;(i?this.referenceEl.querySelector(`#${q}${i}`):null)?.setFocus()}shiftActiveItemIndex(i){const{length:t}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+t+i)%t),this.scrollToActiveItem()}updateActiveItemIndex(i){this.activeItemIndex=i;let t=null;this.filteredItems.forEach(((e,a)=>{a===i?(e.active=!0,t=`${V}${e.guid}`):e.active=!1})),this.activeDescendant=t,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isMulti(){return"single"!==this.selectionMode}renderChips(){const{activeChipIndex:i,scale:t,selectionMode:a,messages:n}=this;return this.selectedItems.map(((s,o)=>{const c={chip:!0,"chip--active":i===o},l=[...[...Y(s)].reverse(),s].map((i=>i.textLabel)),r="ancestors"!==a?s.textLabel:l.join(" / ");return e("calcite-chip",{class:c,closable:!0,icon:s.icon,iconFlipRtl:s.iconFlipRtl,id:s.guid?`${q}${s.guid}`:null,key:s.textLabel,messageOverrides:{dismissLabel:n.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(s),scale:t,title:r,value:s.value},r)}))}renderInput(){const{guid:i,disabled:t,placeholder:a,selectionMode:n,selectedItems:s,open:o}=this,c="single"===n,l=s[0],r=!o&&c&&!!l;return e("span",{class:{"input-wrap":!0,"input-wrap--single":c}},r&&e("span",{class:{label:!0,"label--icon":!!l?.icon},key:"label"},l.textLabel),e("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${Q}${i}`,"aria-label":_(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":r,"input--icon":!!this.placeholderIcon},disabled:t,id:`${Z}${i}`,key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:a,type:"text",ref:i=>this.textInput=i}))}renderListBoxOptions(){return this.filteredItems.map((i=>e("li",{"aria-selected":l(i.selected),id:i.guid?`${V}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:t,open:a}=this;return e("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":a},ref:i},e("div",{class:{"list-container":!0,[f.animation]:!0,[f.animationActive]:a},ref:t},e("ul",{class:{list:!0,"list--hide":!a}},e("slot",null))))}renderIconStart(){const{selectedItems:i,placeholderIcon:t,selectionMode:a,placeholderIconFlipRtl:n}=this,s=i[0],o=s?.icon,c="single"===a;return(!this.open&&s?!!o&&c:!!this.placeholderIcon&&(!s||c))&&e("span",{class:"icon-start"},e("calcite-icon",{class:"selected-icon",flipRtl:this.open&&s?s.iconFlipRtl:n,icon:!this.open&&s?o:t,scale:"s"}))}renderIconEnd(){const{open:i}=this;return e("span",{class:"icon-end"},e("calcite-icon",{icon:i?"chevron-up":"chevron-down",scale:"s"}))}render(){const{guid:i,label:t,open:n}=this,s="single"===this.selectionMode;return e(a,{onClick:this.comboboxFocusHandler},e("div",{"aria-autocomplete":"list","aria-controls":`${Q}${i}`,"aria-expanded":l(n),"aria-haspopup":"listbox","aria-label":_(this),"aria-live":"polite","aria-owns":`${Q}${i}`,class:{wrapper:!0,"wrapper--single":s||!this.selectedItems.length,"wrapper--active":n},onClick:this.clickHandler,onKeyDown:this.keydownHandler,role:"combobox",ref:this.setReferenceEl},e("div",{class:"grid-input"},this.renderIconStart(),!s&&this.renderChips(),e("label",{class:"screen-readers-only",htmlFor:`${Z}${i}`,id:`${J}${i}`},t),this.renderInput()),this.renderIconEnd()),e("ul",{"aria-labelledby":`${J}${i}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${Q}${i}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),e(w,{component:this}))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"],effectiveLocale:["effectiveLocaleChange"]}}};ii.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{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}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::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}";const ti="icon",ei="icon--active",ai="icon--indent",ni=class{constructor(e){i(this,e),this.calciteComboboxItemChange=t(this,"calciteComboboxItemChange",6),this.scale="m",this.itemClickHandler=i=>{i.preventDefault(),this.toggleSelected()},this.disabled=!1,this.selected=!1,this.active=!1,this.ancestors=void 0,this.guid=k(),this.icon=void 0,this.iconFlipRtl=!1,this.textLabel=void 0,this.value=void 0,this.filterDisabled=void 0}selectedWatchHandler(){this.calciteComboboxItemChange.emit()}connectedCallback(){this.ancestors=G(this.el),this.scale=r(this.el,"scale",this.scale),R(this)}disconnectedCallback(){S(this)}componentDidRender(){C(this)}toggleSelected(i){this.disabled||(this.selected="boolean"==typeof i?i:!this.selected)}renderIcon(i){return this.icon?e("calcite-icon",{class:{"icon--custom":!!this.icon,[ei]:this.icon&&this.selected,[ai]:!0},flipRtl:this.iconFlipRtl,icon:this.icon||i,key:"icon",scale:"l"===this.scale?"m":"s"}):null}renderSelectIndicator(i,t){return i?e("span",{class:{[ti]:!0,"icon--dot":!0,[ai]:!0}}):e("calcite-icon",{class:{[ti]:!0,[ei]:this.selected,[ai]:!0},flipRtl:this.iconFlipRtl,icon:t,key:"indicator",scale:"l"===this.scale?"m":"s"})}renderChildren(){return h(this.el)?e("ul",{key:"default-slot-container"},e("slot",null)):null}render(){const i="single"===r(this.el,"selection-mode","multiple"),t=i&&!this.disabled,n=this.disabled?"circle-disallowed":i?"dot":"check",s={label:!0,"label--selected":this.selected,"label--active":this.active,"label--single":i},o=N(this.el);return e(a,{"aria-hidden":"true"},e("div",{class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${o}`}},e("li",{class:s,id:this.guid,onClick:this.itemClickHandler},this.renderSelectIndicator(t,n),this.renderIcon(n),e("span",{class:"title"},this.textLabel)),this.renderChildren()))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};ni.style='@charset "UTF-8";@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}: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}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}: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-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-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)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-block-start:-1px;padding-inline-start:var(--calcite-combobox-item-spacing-unit-l);color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}';const si=class{constructor(t){i(this,t),this.guid=k(),this.scale="m",this.ancestors=void 0,this.label=void 0}connectedCallback(){this.ancestors=G(this.el),this.scale=r(this.el,"scale",this.scale)}render(){const{el:i,scale:t}=this,a=N(i);return e("ul",{"aria-labelledby":this.guid,class:{list:!0,[`scale--${t}`]:!0},role:"group"},e("li",{class:{label:!0},id:this.guid,role:"presentation",style:{"--calcite-combobox-item-spacing-indent-multiplier":`${a}`}},e("span",{class:"title"},this.label)),e("slot",null))}get el(){return n(this)}};si.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}:host,.list{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%;color:var(--calcite-ui-text-3)}.title{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-ui-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:var(--calcite-combobox-item-spacing-unit-s);margin-inline-start:var(--calcite-combobox-item-indent-value)}";export{ii as calcite_combobox,ni as calcite_combobox_item,si as calcite_combobox_item_group}
6
+ import{r as i,c as t,h as e,H as a,a as n}from"./p-ca01e893.js";import{f as s}from"./p-f6769d95.js";import{x as o,i as c,t as l,v as r,g as h}from"./p-1f7ffee5.js";import{d as m,f as d,c as p,r as u,a as b,F as f}from"./p-18728d14.js";import{s as g,c as x,a as v,d as y,H as w}from"./p-3455164c.js";import{g as k}from"./p-d7126b30.js";import{u as C}from"./p-e57baa62.js";import{c as z,d as I,g as _}from"./p-b43e6bcd.js";import{c as D,s as $,a as H}from"./p-767b434a.js";import{c as E,d as j}from"./p-c6a450ac.js";import{c as O}from"./p-4b969718.js";import{c as A,d as L}from"./p-a5034525.js";import{c as M,s as P,d as B,u as T}from"./p-95bfaf00.js";import{d as F}from"./p-0c863081.js";import{c as R,d as S}from"./p-05c6a039.js";import"./p-8b690f1c.js";import"./p-4301c76a.js";const X="CALCITE-COMBOBOX-ITEM",U="CALCITE-COMBOBOX-ITEM-GROUP",W=`${X}, ${U}`;function G(i){const t=i.parentElement?.closest(W),e=t?.parentElement?.closest(W);return[t,e].filter((i=>i))}function Y(i){return i.ancestors?.filter((i=>"CALCITE-COMBOBOX-ITEM"===i.nodeName))||[]}function K(i){return o(i.querySelectorAll("calcite-combobox-item")).filter((i=>i.selected)).length>0}function N(i){return document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",i,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}const V="combobox-item-",q="combobox-chip-",J="combobox-label-",Q="combobox-listbox-",Z="combobox-input-",ii=class{constructor(e){i(this,e),this.calciteComboboxChange=t(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=t(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipClose=t(this,"calciteComboboxChipClose",6),this.calciteComboboxBeforeClose=t(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=t(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=t(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=t(this,"calciteComboboxOpen",6),this.placement=m,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=O("mutation",(()=>this.updateItems())),this.resizeObserver=O("resize",(()=>this.setMaxScrollerHeight())),this.guid=k(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?d(t,i):null},this.getValue=()=>{const i=this.selectedItems.map((i=>i?.value?.toString()));return i?.length?i.length>1?i:i[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keydownHandler=i=>{const{key:t}=i;switch(t){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):this.open&&(this.open=!1,i.preventDefault());break;case"ArrowLeft":this.previousChip(),i.preventDefault();break;case"ArrowRight":this.nextChip(),i.preventDefault();break;case"ArrowUp":i.preventDefault(),this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":i.preventDefault(),this.open||(this.open=!0),this.shiftActiveItemIndex(1),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(i.preventDefault(),this.open=!0,this.shiftActiveItemIndex(1));break;case"Home":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.open=!1,i.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),i.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),i.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):i.defaultPrevented||g(this)&&i.preventDefault();break;case"Delete":case"Backspace":this.activeChipIndex>-1?(i.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(i.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:i,open:t,referenceEl:e}=this;if(!i||!t)return;await this.reposition(!0);const a=this.getMaxScrollerHeight();i.style.maxHeight=a>0?`${a}px`:"",i.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=i=>{this.open=!1;const t=this.items.find((t=>t===i));t&&this.toggleSelection(t,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=i=>{if(i.composedPath().some((i=>"CALCITE-CHIP"===i.tagName)))return this.open=!1,void i.stopPropagation();this.open=!this.open,this.updateActiveItemIndex(0),this.setFocus()},this.setInactiveIfNotContained=i=>{const t=i.composedPath();!this.open||t.includes(this.el)||t.includes(this.referenceEl)||(this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),"single"===this.selectionMode&&(this.textInput&&(this.textInput.value=""),this.text="",this.filterItems(""),this.updateActiveItemIndex(-1)),this.open=!1)},this.setFloatingEl=i=>{this.floatingEl=i,p(this,this.referenceEl,this.floatingEl)},this.setContainerEl=i=>{this.resizeObserver.observe(i),this.listContainerEl=i,this.transitionEl=i,A(this)},this.setReferenceEl=i=>{this.referenceEl=i,p(this,this.referenceEl,this.floatingEl)},this.inputHandler=i=>{const t=i.target.value;this.text=t,this.filterItems(t),t&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const i=(i,t)=>i&&t.some((({label:t,value:e})=>i.tagName===U?e===i.label:e===i.textLabel||e===i.value||t===i.textLabel||t===i.value));return F((t=>{const e=s(this.data,t);this.getCombinedItems().forEach((t=>{const a=!i(t,e);t.hidden=a;const[n,s]=t.ancestors;(i(n,e)||i(s,e))&&(t.hidden=!1),a||t.ancestors.forEach((i=>i.hidden=!1))})),this.filteredItems=this.getfilteredItems(),this.calciteComboboxFilterChange.emit()}),100)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=F(this.internalComboboxChangeEvent,0),this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getfilteredItems(),this.needsIcon=this.getNeedsIcon(),this.allowCustomValues||this.setMaxScrollerHeight()},this.scrollToActiveItem=()=>{const i=this.filteredItems[this.activeItemIndex];if(!i)return;const t=this.calculateSingleItemHeight(i),{offsetHeight:e,scrollTop:a}=this.listContainerEl;e+a<i.offsetTop+t?this.listContainerEl.scrollTop=i.offsetTop-e+t:i.offsetTop<a&&(this.listContainerEl.scrollTop=i.offsetTop)},this.comboboxFocusHandler=()=>{this.disabled||this.textInput?.focus()},this.comboboxBlurHandler=i=>{this.setInactiveIfNotContained(i)},this.open=!1,this.disabled=!1,this.form=void 0,this.label=void 0,this.placeholder=void 0,this.placeholderIcon=void 0,this.placeholderIconFlipRtl=!1,this.maxItems=0,this.name=void 0,this.allowCustomValues=void 0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multiple",this.scale="m",this.value=null,this.flipPlacements=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedItems=[],this.filteredItems=[],this.items=[],this.groupItems=[],this.needsIcon=void 0,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.text="",this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(i){i||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}valueHandler(i){if(!this.internalValueChangeFlag){const t=this.getItems();Array.isArray(i)?t.forEach((t=>t.selected=i.includes(t.value))):t.forEach(i?t=>t.selected=i===t.value:i=>i.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}documentClickHandler(i){!this.disabled&&c(i)&&this.setInactiveIfNotContained(i)}calciteComboboxItemChangeHandler(i){if(this.ignoreSelectedEventsFlag)return;const t=i.target,e=this.filteredItems.indexOf(t);this.updateActiveItemIndex(e),this.toggleSelection(t,t.selected)}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:a,overlayPositioning:n,filteredFlipPlacements:s}=this;return u(this,{floatingEl:t,referenceEl:e,overlayPositioning:n,placement:a,flipPlacements:s,type:"menu"},i)}async setFocus(){await D(this),this.textInput?.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){E(this),M(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),z(this),x(this),A(this),this.setFilteredPlacements(),this.reposition(!0),this.open&&this.openHandler()}async componentWillLoad(){$(this),this.updateItems(),await P(this)}componentDidLoad(){v(this,this.getValue()),this.reposition(!0),H(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),C(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),I(this),y(this),b(this,this.referenceEl,this.floatingEl),L(this),j(this),B(this)}textHandler(){this.updateActiveItemIndex(-1)}effectiveLocaleChange(){T(this,this.effectiveLocale)}comboboxInViewport(){const i=this.el.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.right<=(window.innerWidth||document.documentElement.clientWidth)&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}getMaxScrollerHeight(){const i=this.getCombinedItems().filter((i=>!i.hidden)),{maxItems:t}=this;let e=0,a=0;return i.length>t&&i.forEach((i=>{if(e<t&&t>0){const t=this.calculateSingleItemHeight(i);t>0&&(a+=t,e++)}})),a}calculateSingleItemHeight(i){if(!i)return;let t=i.offsetHeight;return Array.from(i.querySelectorAll(W)).map((i=>i?.offsetHeight)).forEach((i=>{t-=i})),t}getCombinedItems(){return[...this.groupItems,...this.items]}toggleSelection(i,t=!i.selected){i&&(this.isMulti()?(i.selected=t,this.updateAncestors(i),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===i&&t)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=i.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(i){if("ancestors"!==this.selectionMode)return;const t=Y(i),e=function(i){return o(i.querySelectorAll("calcite-combobox-item"))}(i);i.selected?t.forEach((i=>{i.selected=!0})):(e.forEach((i=>i.selected=!1)),[...t].forEach((i=>{K(i)||(i.selected=!1)})))}getfilteredItems(){return this.items.filter((i=>!i.hidden))}getSelectedItems(){if(!this.isMulti()){const i=this.items.find((({selected:i})=>i));return i?[i]:[]}return this.items.filter((i=>i.selected&&("ancestors"!==this.selectionMode||!K(i)))).sort(((i,t)=>{const e=this.selectedItems.indexOf(i),a=this.selectedItems.indexOf(t);return e>-1&&a>-1?e-a:a-e}))}getData(){return this.items.map((i=>({filterDisabled:i.filterDisabled,value:i.value,label:i.textLabel})))}getNeedsIcon(){return"single"===this.selectionMode&&this.items.some((i=>i.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(X)).filter((i=>!i.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(U))}addCustomChip(i,t){const e=this.items.find((t=>t.textLabel===i));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement(X);e.value=i,e.textLabel=i,e.selected=!0,this.el.appendChild(e),this.resetText(),t&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const i=this.activeChipIndex;this.activeChipIndex=-1===i?this.selectedItems.length-1:Math.max(i-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const i=this.activeChipIndex+1;i>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=i,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){const i=this.selectedItems[this.activeChipIndex]?.guid;(i?this.referenceEl.querySelector(`#${q}${i}`):null)?.setFocus()}shiftActiveItemIndex(i){const{length:t}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+t+i)%t),this.scrollToActiveItem()}updateActiveItemIndex(i){this.activeItemIndex=i;let t=null;this.filteredItems.forEach(((e,a)=>{a===i?(e.active=!0,t=`${V}${e.guid}`):e.active=!1})),this.activeDescendant=t,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isMulti(){return"single"!==this.selectionMode}renderChips(){const{activeChipIndex:i,scale:t,selectionMode:a,messages:n}=this;return this.selectedItems.map(((s,o)=>{const c={chip:!0,"chip--active":i===o},l=[...[...Y(s)].reverse(),s].map((i=>i.textLabel)),r="ancestors"!==a?s.textLabel:l.join(" / ");return e("calcite-chip",{class:c,closable:!0,icon:s.icon,iconFlipRtl:s.iconFlipRtl,id:s.guid?`${q}${s.guid}`:null,key:s.textLabel,messageOverrides:{dismissLabel:n.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(s),scale:t,title:r,value:s.value},r)}))}renderInput(){const{guid:i,disabled:t,placeholder:a,selectionMode:n,selectedItems:s,open:o}=this,c="single"===n,l=s[0],r=!o&&c&&!!l;return e("span",{class:{"input-wrap":!0,"input-wrap--single":c}},r&&e("span",{class:{label:!0,"label--icon":!!l?.icon},key:"label"},l.textLabel),e("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${Q}${i}`,"aria-label":_(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":r,"input--icon":!!this.placeholderIcon},disabled:t,id:`${Z}${i}`,key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:a,type:"text",ref:i=>this.textInput=i}))}renderListBoxOptions(){return this.filteredItems.map((i=>e("li",{"aria-selected":l(i.selected),id:i.guid?`${V}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:t,open:a}=this;return e("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":a},ref:i},e("div",{class:{"list-container":!0,[f.animation]:!0,[f.animationActive]:a},ref:t},e("ul",{class:{list:!0,"list--hide":!a}},e("slot",null))))}renderIconStart(){const{selectedItems:i,placeholderIcon:t,selectionMode:a,placeholderIconFlipRtl:n}=this,s=i[0],o=s?.icon,c="single"===a;return(!this.open&&s?!!o&&c:!!this.placeholderIcon&&(!s||c))&&e("span",{class:"icon-start"},e("calcite-icon",{class:"selected-icon",flipRtl:this.open&&s?s.iconFlipRtl:n,icon:!this.open&&s?o:t,scale:"s"}))}renderIconEnd(){const{open:i}=this;return e("span",{class:"icon-end"},e("calcite-icon",{icon:i?"chevron-up":"chevron-down",scale:"s"}))}render(){const{guid:i,label:t,open:n}=this,s="single"===this.selectionMode;return e(a,{onClick:this.comboboxFocusHandler},e("div",{"aria-autocomplete":"list","aria-controls":`${Q}${i}`,"aria-expanded":l(n),"aria-haspopup":"listbox","aria-label":_(this),"aria-live":"polite","aria-owns":`${Q}${i}`,class:{wrapper:!0,"wrapper--single":s||!this.selectedItems.length,"wrapper--active":n},onClick:this.clickHandler,onKeyDown:this.keydownHandler,role:"combobox",ref:this.setReferenceEl},e("div",{class:"grid-input"},this.renderIconStart(),!s&&this.renderChips(),e("label",{class:"screen-readers-only",htmlFor:`${Z}${i}`,id:`${J}${i}`},t),this.renderInput()),this.renderIconEnd()),e("ul",{"aria-labelledby":`${J}${i}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${Q}${i}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),e(w,{component:this}))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"],effectiveLocale:["effectiveLocaleChange"]}}};ii.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{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}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::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}";const ti="icon",ei="icon--active",ai="icon--indent",ni=class{constructor(e){i(this,e),this.calciteComboboxItemChange=t(this,"calciteComboboxItemChange",6),this.scale="m",this.itemClickHandler=i=>{i.preventDefault(),this.toggleSelected()},this.disabled=!1,this.selected=!1,this.active=!1,this.ancestors=void 0,this.guid=k(),this.icon=void 0,this.iconFlipRtl=!1,this.textLabel=void 0,this.value=void 0,this.filterDisabled=void 0}selectedWatchHandler(){this.calciteComboboxItemChange.emit()}connectedCallback(){this.ancestors=G(this.el),this.scale=r(this.el,"scale",this.scale),R(this)}disconnectedCallback(){S(this)}componentDidRender(){C(this)}toggleSelected(i){this.disabled||(this.selected="boolean"==typeof i?i:!this.selected)}renderIcon(i){return this.icon?e("calcite-icon",{class:{"icon--custom":!!this.icon,[ei]:this.icon&&this.selected,[ai]:!0},flipRtl:this.iconFlipRtl,icon:this.icon||i,key:"icon",scale:"l"===this.scale?"m":"s"}):null}renderSelectIndicator(i,t){return i?e("span",{class:{[ti]:!0,"icon--dot":!0,[ai]:!0}}):e("calcite-icon",{class:{[ti]:!0,[ei]:this.selected,[ai]:!0},flipRtl:this.iconFlipRtl,icon:t,key:"indicator",scale:"l"===this.scale?"m":"s"})}renderChildren(){return h(this.el)?e("ul",{key:"default-slot-container"},e("slot",null)):null}render(){const i="single"===r(this.el,"selection-mode","multiple"),t=i&&!this.disabled,n=this.disabled?"circle-disallowed":i?"dot":"check",s={label:!0,"label--selected":this.selected,"label--active":this.active,"label--single":i},o=N(this.el);return e(a,{"aria-hidden":"true"},e("div",{class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${o}`}},e("li",{class:s,id:this.guid,onClick:this.itemClickHandler},this.renderSelectIndicator(t,n),this.renderIcon(n),e("span",{class:"title"},this.textLabel)),this.renderChildren()))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};ni.style='@charset "UTF-8";@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}: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}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}: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-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-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)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-block-start:-1px;padding-inline-start:var(--calcite-combobox-item-spacing-unit-l);color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}';const si=class{constructor(t){i(this,t),this.guid=k(),this.scale="m",this.ancestors=void 0,this.label=void 0}connectedCallback(){this.ancestors=G(this.el),this.scale=r(this.el,"scale",this.scale)}render(){const{el:i,scale:t}=this,a=N(i);return e("ul",{"aria-labelledby":this.guid,class:{list:!0,[`scale--${t}`]:!0},role:"group"},e("li",{class:{label:!0},id:this.guid,role:"presentation",style:{"--calcite-combobox-item-spacing-indent-multiplier":`${a}`}},e("span",{class:"title"},this.label)),e("slot",null))}get el(){return n(this)}};si.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}:host,.list{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%;color:var(--calcite-ui-text-3)}.title{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-ui-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:var(--calcite-combobox-item-spacing-unit-s);margin-inline-start:var(--calcite-combobox-item-indent-value)}";export{ii as calcite_combobox,ni as calcite_combobox_item,si as calcite_combobox_item_group}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.15
4
+ * v1.4.0-next.16
5
5
  */
6
- import{r as i,c as t,h as a,F as e,a as n}from"./p-b7f1c41a.js";import{f as s}from"./p-3e74d103.js";import{u as r}from"./p-2e6e3803.js";import{s as o,a as c,c as l}from"./p-f9496bf8.js";import{c as d,d as m}from"./p-fddd3bb0.js";import{u as p,s as h,c as f,d as u}from"./p-96dbffb1.js";import{d as g}from"./p-1c64a43e.js";import"./p-ff929412.js";import"./p-c18fb42e.js";import"./p-1285cf8b.js";import"./p-389364ac.js";import"./p-497e2df8.js";const b=class{constructor(a){i(this,a),this.calciteFilterChange=t(this,"calciteFilterChange",6),this.filter=g(((i,t=!1)=>this.updateFiltered(s(this.items,i),t)),250),this.inputHandler=i=>{const t=i.target;this.value=t.value,this.filter(t.value,!0)},this.keyDownHandler=i=>{"Escape"===i.key&&(this.clear(),i.preventDefault()),"Enter"===i.key&&i.preventDefault()},this.clear=()=>{this.value="",this.filter("",!0),this.setFocus()},this.items=[],this.disabled=!1,this.filteredItems=[],this.placeholder=void 0,this.scale="m",this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}watchItemsHandler(){this.filter(this.value)}onMessagesChange(){}valueHandler(i){this.filter(i)}effectiveLocaleChange(){p(this,this.effectiveLocale)}async componentWillLoad(){o(this),this.updateFiltered(s(this.items,this.value)),await h(this)}connectedCallback(){d(this),f(this)}componentDidRender(){r(this)}disconnectedCallback(){m(this),u(this)}componentDidLoad(){c(this)}async setFocus(){await l(this),this.el?.focus()}updateFiltered(i,t=!1){this.filteredItems.length=0,this.filteredItems=this.filteredItems.concat(i),t&&this.calciteFilterChange.emit()}render(){const{disabled:i,scale:t}=this;return a(e,null,a("div",{class:"container"},a("label",null,a("calcite-input",{"aria-label":this.messages.label,clearable:!0,disabled:i,icon:"search",messageOverrides:{clear:this.messages.clear},onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,scale:t,type:"text",value:this.value,ref:i=>{this.textInput=i}}))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{items:["watchItemsHandler"],messageOverrides:["onMessagesChange"],value:["valueHandler"],effectiveLocale:["effectiveLocaleChange"]}}};b.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}input[type=text]{margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);padding-inline-end:0.25rem;padding-inline-start:1.5rem;transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:flex;cursor:pointer;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";export{b as calcite_filter}
6
+ import{r as i,c as t,h as a,F as e,a as n}from"./p-ca01e893.js";import{f as s}from"./p-f6769d95.js";import{u as r}from"./p-e57baa62.js";import{s as o,a as c,c as l}from"./p-767b434a.js";import{c as d,d as m}from"./p-c6a450ac.js";import{u as p,s as h,c as f,d as u}from"./p-95bfaf00.js";import{d as g}from"./p-0c863081.js";import"./p-1f7ffee5.js";import"./p-d7126b30.js";import"./p-8b690f1c.js";import"./p-4301c76a.js";import"./p-4b969718.js";const b=class{constructor(a){i(this,a),this.calciteFilterChange=t(this,"calciteFilterChange",6),this.filter=g(((i,t=!1)=>this.updateFiltered(s(this.items,i),t)),250),this.inputHandler=i=>{const t=i.target;this.value=t.value,this.filter(t.value,!0)},this.keyDownHandler=i=>{"Escape"===i.key&&(this.clear(),i.preventDefault()),"Enter"===i.key&&i.preventDefault()},this.clear=()=>{this.value="",this.filter("",!0),this.setFocus()},this.items=[],this.disabled=!1,this.filteredItems=[],this.placeholder=void 0,this.scale="m",this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}watchItemsHandler(){this.filter(this.value)}onMessagesChange(){}valueHandler(i){this.filter(i)}effectiveLocaleChange(){p(this,this.effectiveLocale)}async componentWillLoad(){o(this),this.updateFiltered(s(this.items,this.value)),await h(this)}connectedCallback(){d(this),f(this)}componentDidRender(){r(this)}disconnectedCallback(){m(this),u(this)}componentDidLoad(){c(this)}async setFocus(){await l(this),this.el?.focus()}updateFiltered(i,t=!1){this.filteredItems.length=0,this.filteredItems=this.filteredItems.concat(i),t&&this.calciteFilterChange.emit()}render(){const{disabled:i,scale:t}=this;return a(e,null,a("div",{class:"container"},a("label",null,a("calcite-input",{"aria-label":this.messages.label,clearable:!0,disabled:i,icon:"search",messageOverrides:{clear:this.messages.clear},onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,scale:t,type:"text",value:this.value,ref:i=>{this.textInput=i}}))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{items:["watchItemsHandler"],messageOverrides:["onMessagesChange"],value:["valueHandler"],effectiveLocale:["effectiveLocaleChange"]}}};b.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}input[type=text]{margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);padding-inline-end:0.25rem;padding-inline-start:1.5rem;transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:flex;cursor:pointer;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";export{b as calcite_filter}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.15
4
+ * v1.4.0-next.16
5
5
  */
6
- import{r as i,c as a,h as t,F as e,a as n}from"./p-b7f1c41a.js";import{c,d as r}from"./p-0f895f5b.js";import{g as o,b as s,t as l}from"./p-ff929412.js";import{c as d,d as m}from"./p-fddd3bb0.js";import{u as h,c as p,s as f,d as g}from"./p-96dbffb1.js";import{H as u,c as v}from"./p-1597128c.js";import{c as x}from"./p-497e2df8.js";import"./p-c18fb42e.js";import"./p-1285cf8b.js";import"./p-389364ac.js";const y="thumbnail",b=class{constructor(t){i(this,t),this.calciteTipDismiss=a(this,"calciteTipDismiss",6),this.hideTip=()=>{this.closed=!0,this.calciteTipDismiss.emit()},this.closed=!1,this.closeDisabled=!1,this.heading=void 0,this.headingLevel=void 0,this.selected=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){h(this,this.effectiveLocale)}connectedCallback(){c(this),d(this),p(this)}async componentWillLoad(){await f(this)}disconnectedCallback(){r(this),m(this),g(this)}renderHeader(){const{heading:i,headingLevel:a,el:e}=this,n=e.closest("calcite-tip-manager")?.headingLevel,c=n?v(n+1):null;return i?t("header",{class:"header"},t(u,{class:"heading",level:a||c},i)):null}renderDismissButton(){const{closeDisabled:i,hideTip:a}=this;return i?null:t("calcite-action",{class:"close",icon:"x",onClick:a,scale:"l",text:this.messages.close})}renderImageFrame(){const{el:i}=this;return o(i,y)?t("div",{class:"image-frame",key:"thumbnail"},t("slot",{name:y})):null}renderInfoNode(){return t("div",{class:"info"},t("slot",null))}renderContent(){return t("div",{class:"content"},this.renderImageFrame(),this.renderInfoNode())}render(){return t(e,null,t("article",{class:"container"},this.renderHeader(),this.renderContent()),this.renderDismissButton())}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};b.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{margin-block-end:0.5rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info:only-child{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-ui-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}";const k=class{constructor(a){i(this,a),this.groupTitle=void 0}render(){return t("slot",null)}};k.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}::slotted(calcite-tip){margin:0px;border-style:none;max-inline-size:var(--calcite-tip-max-width)}";const w="chevron-left",_="chevron-right",D=class{constructor(t){i(this,t),this.calciteTipManagerClose=a(this,"calciteTipManagerClose",6),this.mutationObserver=x("mutation",(()=>this.setUpTips())),this.hideTipManager=()=>{this.closed=!0,this.calciteTipManagerClose.emit()},this.previousClicked=()=>{this.previousTip()},this.nextClicked=()=>{this.nextTip()},this.tipManagerKeyDownHandler=i=>{if(i.target===this.container)switch(i.key){case"ArrowRight":i.preventDefault(),this.nextTip();break;case"ArrowLeft":i.preventDefault(),this.previousTip();break;case"Home":i.preventDefault(),this.selectedIndex=0;break;case"End":i.preventDefault(),this.selectedIndex=this.total-1}},this.storeContainerRef=i=>{this.container=i},this.closed=!1,this.headingLevel=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedIndex=void 0,this.tips=void 0,this.total=void 0,this.direction=void 0,this.groupTitle=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}closedChangeHandler(){this.direction=null}onMessagesChange(){}selectedChangeHandler(){this.showSelectedTip(),this.updateGroupTitle()}async effectiveLocaleChange(){await h(this,this.effectiveLocale),this.updateGroupTitle()}connectedCallback(){d(this),p(this),this.setUpTips(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){await f(this),this.updateGroupTitle()}disconnectedCallback(){this.mutationObserver?.disconnect(),m(this),g(this)}async nextTip(){this.direction="advancing",this.selectedIndex=(this.selectedIndex+1+this.total)%this.total}async previousTip(){this.direction="retreating",this.selectedIndex=(this.selectedIndex-1+this.total)%this.total}setUpTips(){const i=Array.from(this.el.querySelectorAll("calcite-tip"));if(this.total=i.length,0===this.total)return;const a=this.el.querySelector("calcite-tip[selected]");this.tips=i,this.selectedIndex=a?i.indexOf(a):0,i.forEach((i=>{i.closeDisabled=!0})),this.showSelectedTip()}showSelectedTip(){this.tips.forEach(((i,a)=>{const t=this.selectedIndex===a;i.selected=t,i.hidden=!t}))}updateGroupTitle(){if(this.tips){const i=this.tips[this.selectedIndex].closest("calcite-tip-group");this.groupTitle=i?.groupTitle||this.messages?.defaultGroupTitle}}renderPagination(){const i=s(this.el),{selectedIndex:a,tips:e,total:n,messages:c}=this,r=c.next,o=c.defaultPaginationLabel;return e.length>1?t("footer",{class:"pagination"},t("calcite-action",{class:"page-previous",icon:"ltr"===i?w:_,onClick:this.previousClicked,scale:"m",text:c.previous}),t("span",{class:"page-position"},`${o} ${a+1}/${n}`),t("calcite-action",{class:"page-next",icon:"ltr"===i?_:w,onClick:this.nextClicked,scale:"m",text:r})):null}render(){const{closed:i,direction:a,headingLevel:e,groupTitle:n,selectedIndex:c,messages:r,total:o}=this,s=r.close;return 0===o?null:t("section",{"aria-hidden":l(i),class:"container",hidden:i,onKeyDown:this.tipManagerKeyDownHandler,tabIndex:0,ref:this.storeContainerRef},t("header",{class:"header"},t(u,{class:"heading",level:e},n),t("calcite-action",{class:"close",onClick:this.hideTipManager,scale:"m",text:s},t("calcite-icon",{icon:"x",scale:"m"}))),t("div",{class:{"tip-container":!0,"tip-container--advancing":!i&&"advancing"===a,"tip-container--retreating":!i&&"retreating"===a},key:c,tabIndex:0},t("slot",null)),this.renderPagination())}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{closed:["closedChangeHandler"],messageOverrides:["onMessagesChange"],selectedIndex:["selectedChangeHandler"],effectiveLocale:["effectiveLocaleChange"]}}};D.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2);--calcite-tip-manager-height:19vh}:host *{box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline-end:0px;padding-inline-start:1rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-block-size:150px}.container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.tip-container{margin-block-start:1px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:1rem;outline-color:transparent;animation-name:none;animation-duration:var(--calcite-animation-timing);block-size:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}::slotted(calcite-tip){margin:0px;border-style:none;max-inline-size:var(--calcite-tip-max-width)}.tip-container--advancing{animation-name:tip-advance}.tip-container--retreating{animation-name:tip-retreat}.pagination{display:flex;align-items:center;justify-content:center;padding-inline:0px;padding-block:0.75rem 0.5rem}.page-position{margin-block:0px;margin-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@keyframes tip-advance{0%{opacity:0;transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}";export{b as calcite_tip,k as calcite_tip_group,D as calcite_tip_manager}
6
+ import{r as i,c as a,h as t,F as e,a as n}from"./p-ca01e893.js";import{c,d as r}from"./p-05c6a039.js";import{g as o,b as s,t as l}from"./p-1f7ffee5.js";import{c as d,d as m}from"./p-c6a450ac.js";import{u as h,c as p,s as f,d as g}from"./p-95bfaf00.js";import{H as u,c as v}from"./p-80935f8d.js";import{c as x}from"./p-4b969718.js";import"./p-d7126b30.js";import"./p-8b690f1c.js";import"./p-4301c76a.js";const y="thumbnail",b=class{constructor(t){i(this,t),this.calciteTipDismiss=a(this,"calciteTipDismiss",6),this.hideTip=()=>{this.closed=!0,this.calciteTipDismiss.emit()},this.closed=!1,this.closeDisabled=!1,this.heading=void 0,this.headingLevel=void 0,this.selected=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){h(this,this.effectiveLocale)}connectedCallback(){c(this),d(this),p(this)}async componentWillLoad(){await f(this)}disconnectedCallback(){r(this),m(this),g(this)}renderHeader(){const{heading:i,headingLevel:a,el:e}=this,n=e.closest("calcite-tip-manager")?.headingLevel,c=n?v(n+1):null;return i?t("header",{class:"header"},t(u,{class:"heading",level:a||c},i)):null}renderDismissButton(){const{closeDisabled:i,hideTip:a}=this;return i?null:t("calcite-action",{class:"close",icon:"x",onClick:a,scale:"l",text:this.messages.close})}renderImageFrame(){const{el:i}=this;return o(i,y)?t("div",{class:"image-frame",key:"thumbnail"},t("slot",{name:y})):null}renderInfoNode(){return t("div",{class:"info"},t("slot",null))}renderContent(){return t("div",{class:"content"},this.renderImageFrame(),this.renderInfoNode())}render(){return t(e,null,t("article",{class:"container"},this.renderHeader(),this.renderContent()),this.renderDismissButton())}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};b.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{margin-block-end:0.5rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info:only-child{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-ui-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}";const k=class{constructor(a){i(this,a),this.groupTitle=void 0}render(){return t("slot",null)}};k.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}::slotted(calcite-tip){margin:0px;border-style:none;max-inline-size:var(--calcite-tip-max-width)}";const w="chevron-left",_="chevron-right",D=class{constructor(t){i(this,t),this.calciteTipManagerClose=a(this,"calciteTipManagerClose",6),this.mutationObserver=x("mutation",(()=>this.setUpTips())),this.hideTipManager=()=>{this.closed=!0,this.calciteTipManagerClose.emit()},this.previousClicked=()=>{this.previousTip()},this.nextClicked=()=>{this.nextTip()},this.tipManagerKeyDownHandler=i=>{if(i.target===this.container)switch(i.key){case"ArrowRight":i.preventDefault(),this.nextTip();break;case"ArrowLeft":i.preventDefault(),this.previousTip();break;case"Home":i.preventDefault(),this.selectedIndex=0;break;case"End":i.preventDefault(),this.selectedIndex=this.total-1}},this.storeContainerRef=i=>{this.container=i},this.closed=!1,this.headingLevel=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedIndex=void 0,this.tips=void 0,this.total=void 0,this.direction=void 0,this.groupTitle=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}closedChangeHandler(){this.direction=null}onMessagesChange(){}selectedChangeHandler(){this.showSelectedTip(),this.updateGroupTitle()}async effectiveLocaleChange(){await h(this,this.effectiveLocale),this.updateGroupTitle()}connectedCallback(){d(this),p(this),this.setUpTips(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){await f(this),this.updateGroupTitle()}disconnectedCallback(){this.mutationObserver?.disconnect(),m(this),g(this)}async nextTip(){this.direction="advancing",this.selectedIndex=(this.selectedIndex+1+this.total)%this.total}async previousTip(){this.direction="retreating",this.selectedIndex=(this.selectedIndex-1+this.total)%this.total}setUpTips(){const i=Array.from(this.el.querySelectorAll("calcite-tip"));if(this.total=i.length,0===this.total)return;const a=this.el.querySelector("calcite-tip[selected]");this.tips=i,this.selectedIndex=a?i.indexOf(a):0,i.forEach((i=>{i.closeDisabled=!0})),this.showSelectedTip()}showSelectedTip(){this.tips.forEach(((i,a)=>{const t=this.selectedIndex===a;i.selected=t,i.hidden=!t}))}updateGroupTitle(){if(this.tips){const i=this.tips[this.selectedIndex].closest("calcite-tip-group");this.groupTitle=i?.groupTitle||this.messages?.defaultGroupTitle}}renderPagination(){const i=s(this.el),{selectedIndex:a,tips:e,total:n,messages:c}=this,r=c.next,o=c.defaultPaginationLabel;return e.length>1?t("footer",{class:"pagination"},t("calcite-action",{class:"page-previous",icon:"ltr"===i?w:_,onClick:this.previousClicked,scale:"m",text:c.previous}),t("span",{class:"page-position"},`${o} ${a+1}/${n}`),t("calcite-action",{class:"page-next",icon:"ltr"===i?_:w,onClick:this.nextClicked,scale:"m",text:r})):null}render(){const{closed:i,direction:a,headingLevel:e,groupTitle:n,selectedIndex:c,messages:r,total:o}=this,s=r.close;return 0===o?null:t("section",{"aria-hidden":l(i),class:"container",hidden:i,onKeyDown:this.tipManagerKeyDownHandler,tabIndex:0,ref:this.storeContainerRef},t("header",{class:"header"},t(u,{class:"heading",level:e},n),t("calcite-action",{class:"close",onClick:this.hideTipManager,scale:"m",text:s},t("calcite-icon",{icon:"x",scale:"m"}))),t("div",{class:{"tip-container":!0,"tip-container--advancing":!i&&"advancing"===a,"tip-container--retreating":!i&&"retreating"===a},key:c,tabIndex:0},t("slot",null)),this.renderPagination())}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{closed:["closedChangeHandler"],messageOverrides:["onMessagesChange"],selectedIndex:["selectedChangeHandler"],effectiveLocale:["effectiveLocaleChange"]}}};D.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2);--calcite-tip-manager-height:19vh}:host *{box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline-end:0px;padding-inline-start:1rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-block-size:150px}.container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.tip-container{margin-block-start:1px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:1rem;outline-color:transparent;animation-name:none;animation-duration:var(--calcite-animation-timing);block-size:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}::slotted(calcite-tip){margin:0px;border-style:none;max-inline-size:var(--calcite-tip-max-width)}.tip-container--advancing{animation-name:tip-advance}.tip-container--retreating{animation-name:tip-retreat}.pagination{display:flex;align-items:center;justify-content:center;padding-inline:0px;padding-block:0.75rem 0.5rem}.page-position{margin-block:0px;margin-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@keyframes tip-advance{0%{opacity:0;transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}";export{b as calcite_tip,k as calcite_tip_group,D as calcite_tip_manager}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.15
4
+ * v1.4.0-next.16
5
5
  */
6
- import{r as e,c as t,f as i,h as a,H as s,a as n}from"./p-b7f1c41a.js";import{f as o,c as r,b as l,a as c,r as h,F as d}from"./p-7cb7075d.js";import{d as f,a as p,c as m,u}from"./p-0755be9a.js";import{i as g,t as v,p as b,q as y}from"./p-ff929412.js";import{g as w}from"./p-c18fb42e.js";import{c as x,d as k}from"./p-696ecb2a.js";import{H as D}from"./p-1597128c.js";import{c as z,d as E}from"./p-fddd3bb0.js";import{u as H,c as j,s as P,d as _}from"./p-96dbffb1.js";import{i as C}from"./p-389364ac.js";import{s as L,a as O,c as R}from"./p-f9496bf8.js";import{c as A}from"./p-497e2df8.js";import{F as B}from"./p-fd91322a.js";import"./p-1c64a43e.js";import"./p-1285cf8b.js";const F="close-button-container",S="header",T="aria-controls",M="aria-expanded",$=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=e=>{const{registeredElements:t}=this,i=e.find((e=>t.has(e)));return t.get(i)},this.togglePopovers=e=>{const t=e.composedPath(),i=this.queryPopover(t);i&&!i.triggerDisabled&&(i.open=!i.open),Array.from(this.registeredElements.values()).filter((e=>e!==i&&e.autoClose&&e.open&&!t.includes(e))).forEach((e=>e.open=!1))},this.keyHandler=e=>{e.defaultPrevented||("Escape"===e.key?this.closeAllPopovers():C(e.key)&&this.togglePopovers(e))},this.clickHandler=e=>{g(e)&&this.togglePopovers(e)}}registerElement(e,t){this.registeredElementCount++,this.registeredElements.set(e,t),1===this.registeredElementCount&&this.addListeners()}unregisterElement(e){this.registeredElements.delete(e)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}closeAllPopovers(){Array.from(this.registeredElements.values()).forEach((e=>e.open=!1))}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},X=class{constructor(i){e(this,i),this.calcitePopoverBeforeClose=t(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=t(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=t(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=t(this,"calcitePopoverOpen",6),this.mutationObserver=A("mutation",(()=>this.updateFocusTrapElements())),this.guid=`calcite-popover-${w()}`,this.openTransitionProp="opacity",this.hasLoaded=!1,this.setTransitionEl=e=>{this.transitionEl=e,x(this)},this.setFilteredPlacements=()=>{const{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?o(t,e):null},this.setUpReferenceElement=(e=!0)=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),r(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:i,effectiveReferenceElement:a}=this;e&&i&&!a&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:e,open:t}=this;e&&"setAttribute"in e&&e.setAttribute(M,v(t))},this.addReferences=()=>{const{effectiveReferenceElement:e}=this;if(!e)return;const t=this.getId();"setAttribute"in e&&e.setAttribute(T,t),$.registerElement(e,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:e}=this;e&&("removeAttribute"in e&&(e.removeAttribute(T),e.removeAttribute(M)),$.unregisterElement(e))},this.hide=()=>{this.open=!1},this.storeArrowEl=e=>{this.arrowEl=e,this.reposition(!0)},this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.pointerDisabled=!1,this.flipPlacements=void 0,this.heading=void 0,this.headingLevel=void 0,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.offsetDistance=l,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.scale="m",this.triggerDisabled=!1,this.effectiveLocale="",this.floatingLayout="vertical",this.effectiveReferenceElement=void 0,this.defaultMessages=void 0}handlefocusTrapDisabled(e){this.open&&(e?f(this):p(this))}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(e){e&&this.reposition(!0),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement(),this.reposition(!0)}effectiveLocaleChange(){H(this,this.effectiveLocale)}connectedCallback(){this.setFilteredPlacements(),z(this),j(this),x(this),this.setUpReferenceElement(this.hasLoaded),m(this)}async componentWillLoad(){await P(this),L(this)}componentDidLoad(){O(this),this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),E(this),_(this),c(this,this.effectiveReferenceElement,this.el),k(this),f(this)}async reposition(e=!1){const{el:t,effectiveReferenceElement:i,placement:a,overlayPositioning:s,flipDisabled:n,filteredFlipPlacements:o,offsetDistance:r,offsetSkidding:l,arrowEl:c}=this;return h(this,{floatingEl:t,referenceEl:i,overlayPositioning:s,placement:a,flipDisabled:n,flipPlacements:o,offsetDistance:r,offsetSkidding:l,arrowEl:c,type:"popover"},e)}async setFocus(){await R(this),i(this.el),b(this.el)}async updateFocusTrapElements(){u(this)}getReferenceElement(){const{referenceElement:e,el:t}=this;return("string"==typeof e?y(t,{id:e}):e)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit(),p(this)}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),f(this)}renderCloseButton(){const{messages:e,closable:t}=this;return t?a("div",{class:F,key:F},a("calcite-action",{appearance:"transparent",class:"close-button",onClick:this.hide,scale:this.scale,text:e.close,ref:e=>this.closeButtonEl=e},a("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":this.scale}))):null}renderHeader(){const{heading:e,headingLevel:t}=this,i=e?a(D,{class:"heading",level:t},e):null;return i?a("div",{class:S,key:S},i,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:e,heading:t,label:i,open:n,pointerDisabled:o,floatingLayout:r}=this,l=e&&n,c=!l,h=o?null:a(B,{floatingLayout:r,key:"floating-arrow",ref:this.storeArrowEl});return a(s,{"aria-hidden":v(c),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":c,id:this.getId(),role:"dialog"},a("div",{class:{[d.animation]:!0,[d.animationActive]:l},ref:this.setTransitionEl},h,a("div",{class:{"has-header":!!t,container:!0}},this.renderHeader(),a("div",{class:"content"},a("slot",null)),t?null:this.renderCloseButton())))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handlefocusTrapDisabled"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"],effectiveLocale:["effectiveLocaleChange"]}}};X.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, var(--calcite-app-z-index-popup));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}:host([scale=s]) .heading{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding-inline:1.25rem;padding-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;color:var(--calcite-ui-text-1)}.container.has-header{flex-direction:column}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}";export{X as calcite_popover}
6
+ import{r as t,c as e,f as i,h as a,H as s,a as n}from"./p-ca01e893.js";import{f as o,c as r,b as l,a as c,r as h,F as d}from"./p-18728d14.js";import{d as f,a as p,c as m,u}from"./p-54881950.js";import{i as g,t as v,p as b,q as y}from"./p-1f7ffee5.js";import{g as w}from"./p-d7126b30.js";import{c as x,d as k}from"./p-a5034525.js";import{H as D}from"./p-80935f8d.js";import{c as z,d as E}from"./p-c6a450ac.js";import{u as H,c as j,s as P,d as _}from"./p-95bfaf00.js";import{i as C}from"./p-4301c76a.js";import{s as L,a as O,c as R}from"./p-767b434a.js";import{c as A}from"./p-4b969718.js";import{F as B}from"./p-3e8b5d77.js";import"./p-0c863081.js";import"./p-8b690f1c.js";const F="close-button-container",S="header",T="aria-controls",M="aria-expanded",$=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=t=>{const{registeredElements:e}=this,i=t.find((t=>e.has(t)));return e.get(i)},this.togglePopovers=t=>{const e=t.composedPath(),i=this.queryPopover(e);i&&!i.triggerDisabled&&(i.open=!i.open),Array.from(this.registeredElements.values()).filter((t=>t!==i&&t.autoClose&&t.open&&!e.includes(t))).forEach((t=>t.open=!1))},this.keyHandler=t=>{t.defaultPrevented||("Escape"===t.key?this.closeAllPopovers():C(t.key)&&this.togglePopovers(t))},this.clickHandler=t=>{g(t)&&this.togglePopovers(t)}}registerElement(t,e){this.registeredElementCount++,this.registeredElements.set(t,e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}closeAllPopovers(){Array.from(this.registeredElements.values()).forEach((t=>t.open=!1))}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},X=class{constructor(i){t(this,i),this.calcitePopoverBeforeClose=e(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=e(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=e(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=e(this,"calcitePopoverOpen",6),this.mutationObserver=A("mutation",(()=>this.updateFocusTrapElements())),this.guid=`calcite-popover-${w()}`,this.openTransitionProp="opacity",this.hasLoaded=!1,this.setTransitionEl=t=>{this.transitionEl=t,x(this)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?o(e,t):null},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),r(this,this.effectiveReferenceElement,this.el);const{el:e,referenceElement:i,effectiveReferenceElement:a}=this;t&&i&&!a&&console.warn(`${e.tagName}: reference-element id "${i}" was not found.`,{el:e}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:t,open:e}=this;t&&"setAttribute"in t&&t.setAttribute(M,v(e))},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const e=this.getId();"setAttribute"in t&&t.setAttribute(T,e),$.registerElement(t,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&(t.removeAttribute(T),t.removeAttribute(M)),$.unregisterElement(t))},this.hide=()=>{this.open=!1},this.storeArrowEl=t=>{this.arrowEl=t,this.reposition(!0)},this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.pointerDisabled=!1,this.flipPlacements=void 0,this.heading=void 0,this.headingLevel=void 0,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.offsetDistance=l,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.scale="m",this.triggerDisabled=!1,this.effectiveLocale="",this.floatingLayout="vertical",this.effectiveReferenceElement=void 0,this.defaultMessages=void 0}handlefocusTrapDisabled(t){this.open&&(t?f(this):p(this))}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(t){t&&this.reposition(!0),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement(),this.reposition(!0)}effectiveLocaleChange(){H(this,this.effectiveLocale)}connectedCallback(){this.setFilteredPlacements(),z(this),j(this),x(this),this.setUpReferenceElement(this.hasLoaded),m(this)}async componentWillLoad(){await P(this),L(this)}componentDidLoad(){O(this),this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),E(this),_(this),c(this,this.effectiveReferenceElement,this.el),k(this),f(this)}async reposition(t=!1){const{el:e,effectiveReferenceElement:i,placement:a,overlayPositioning:s,flipDisabled:n,filteredFlipPlacements:o,offsetDistance:r,offsetSkidding:l,arrowEl:c}=this;return h(this,{floatingEl:e,referenceEl:i,overlayPositioning:s,placement:a,flipDisabled:n,flipPlacements:o,offsetDistance:r,offsetSkidding:l,arrowEl:c,type:"popover"},t)}async setFocus(){await R(this),i(this.el),b(this.el)}async updateFocusTrapElements(){u(this)}getReferenceElement(){const{referenceElement:t,el:e}=this;return("string"==typeof t?y(e,{id:t}):t)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit(),p(this)}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),f(this)}renderCloseButton(){const{messages:t,closable:e}=this;return e?a("div",{class:F,key:F},a("calcite-action",{appearance:"transparent",class:"close-button",onClick:this.hide,scale:this.scale,text:t.close,ref:t=>this.closeButtonEl=t},a("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":this.scale}))):null}renderHeader(){const{heading:t,headingLevel:e}=this,i=t?a(D,{class:"heading",level:e},t):null;return i?a("div",{class:S,key:S},i,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:t,heading:e,label:i,open:n,pointerDisabled:o,floatingLayout:r}=this,l=t&&n,c=!l,h=o?null:a(B,{floatingLayout:r,key:"floating-arrow",ref:this.storeArrowEl});return a(s,{"aria-hidden":v(c),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":c,id:this.getId(),role:"dialog"},a("div",{class:{[d.animation]:!0,[d.animationActive]:l},ref:this.setTransitionEl},h,a("div",{class:{"has-header":!!e,container:!0}},this.renderHeader(),a("div",{class:"content"},a("slot",null)),e?null:this.renderCloseButton())))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handlefocusTrapDisabled"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"],effectiveLocale:["effectiveLocaleChange"]}}};X.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, var(--calcite-app-z-index-popup));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}:host([scale=s]) .heading{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding-inline:1.25rem;padding-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;color:var(--calcite-ui-text-1)}.container.has-header{flex-direction:column}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}";export{X as calcite_popover}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.15
4
+ * v1.4.0-next.16
5
5
  */
6
- import{r as a,h as i,a as t}from"./p-b7f1c41a.js";import{c as n,d as e}from"./p-fddd3bb0.js";import{u as c,c as r,s as o,d as s}from"./p-96dbffb1.js";import"./p-ff929412.js";import"./p-c18fb42e.js";import"./p-1285cf8b.js";import"./p-389364ac.js";import"./p-497e2df8.js";const l=class{constructor(i){a(this,i),this.loading=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){c(this,this.effectiveLocale)}connectedCallback(){n(this),r(this)}async componentWillLoad(){await o(this)}disconnectedCallback(){e(this),s(this)}render(){const{el:a,loading:t,messages:n}=this,e=a.innerHTML.trim().length>0,c=t?i("calcite-loader",{label:n.loading}):null,r=e?i("div",{class:"content"},i("slot",null)):null;return i("div",{class:"scrim"},c,r)}static get assetsDirs(){return["assets"]}get el(){return t(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};l.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-scrim-background-internal))}.content{padding:1rem}";export{l as calcite_scrim}
6
+ import{r as a,h as i,a as t}from"./p-ca01e893.js";import{c as n,d as e}from"./p-c6a450ac.js";import{u as c,c as r,s as o,d as s}from"./p-95bfaf00.js";import"./p-1f7ffee5.js";import"./p-d7126b30.js";import"./p-8b690f1c.js";import"./p-4301c76a.js";import"./p-4b969718.js";const l=class{constructor(i){a(this,i),this.loading=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){c(this,this.effectiveLocale)}connectedCallback(){n(this),r(this)}async componentWillLoad(){await o(this)}disconnectedCallback(){e(this),s(this)}render(){const{el:a,loading:t,messages:n}=this,e=a.innerHTML.trim().length>0,c=t?i("calcite-loader",{label:n.loading}):null,r=e?i("div",{class:"content"},i("slot",null)):null;return i("div",{class:"scrim"},c,r)}static get assetsDirs(){return["assets"]}get el(){return t(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};l.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-scrim-background-internal))}.content{padding:1rem}";export{l as calcite_scrim}