@esri/calcite-components 1.5.0-next.25 → 1.5.0-next.27

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 (1093) hide show
  1. package/dist/calcite/calcite.css +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/index.esm.js +2 -2
  4. package/dist/calcite/p-02874c9a.js +6 -0
  5. package/dist/calcite/p-03b86155.entry.js +6 -0
  6. package/dist/calcite/p-03fed045.js +6 -0
  7. package/dist/calcite/{p-f489b74b.js → p-04bc1e1a.js} +2 -2
  8. package/dist/calcite/{p-7e75d4c7.js → p-052f0c7f.js} +2 -2
  9. package/dist/calcite/{p-e8822340.js → p-094d12d6.js} +2 -2
  10. package/dist/calcite/p-098865e8.js +6 -0
  11. package/dist/calcite/{p-4a44df21.js → p-0ddc5b9a.js} +2 -2
  12. package/dist/calcite/p-0e17b859.entry.js +6 -0
  13. package/dist/calcite/p-115b4cc4.entry.js +6 -0
  14. package/dist/calcite/p-134ceda6.entry.js +6 -0
  15. package/dist/calcite/p-138a85f5.entry.js +6 -0
  16. package/dist/calcite/p-14e944c3.entry.js +6 -0
  17. package/dist/calcite/p-178b97d7.entry.js +6 -0
  18. package/dist/calcite/p-18134a60.entry.js +6 -0
  19. package/dist/calcite/{p-7525e8f5.js → p-19073a1d.js} +1 -1
  20. package/dist/calcite/p-1baa8f7d.entry.js +6 -0
  21. package/dist/calcite/p-1df2d35f.entry.js +6 -0
  22. package/dist/calcite/p-1e62f9cf.entry.js +6 -0
  23. package/dist/calcite/p-20ad16ef.entry.js +6 -0
  24. package/dist/calcite/p-2184dee3.js +6 -0
  25. package/dist/calcite/{p-03087b15.js → p-24e555eb.js} +2 -2
  26. package/dist/calcite/{p-3e50fd22.js → p-257fa274.js} +2 -2
  27. package/dist/calcite/{p-9a4db6a0.js → p-275a57e8.js} +2 -2
  28. package/dist/calcite/p-27b3663c.entry.js +6 -0
  29. package/dist/calcite/p-29de35cb.entry.js +6 -0
  30. package/dist/calcite/p-2cbc972f.entry.js +6 -0
  31. package/dist/calcite/{p-d6ee95ef.js → p-2cd89029.js} +2 -2
  32. package/dist/calcite/{p-2577dd28.js → p-2d4d5b02.js} +2 -2
  33. package/dist/calcite/p-2e8ad9e3.entry.js +6 -0
  34. package/dist/calcite/{p-2310a5ce.js → p-2f497f79.js} +2 -2
  35. package/dist/calcite/p-30904045.entry.js +6 -0
  36. package/dist/calcite/p-318f4f21.entry.js +6 -0
  37. package/dist/calcite/{p-d97d871d.js → p-31f85f74.js} +1 -1
  38. package/dist/calcite/{p-b76dabb1.js → p-33147524.js} +1 -1
  39. package/dist/calcite/p-35d2bcae.entry.js +6 -0
  40. package/dist/calcite/p-3b8d0ec5.entry.js +6 -0
  41. package/dist/calcite/p-3c2a46a3.entry.js +6 -0
  42. package/dist/calcite/p-3d494bcc.entry.js +6 -0
  43. package/dist/calcite/{p-768854c1.js → p-41e42f27.js} +2 -2
  44. package/dist/calcite/p-427a22aa.entry.js +6 -0
  45. package/dist/calcite/{p-73529ab5.js → p-43433a11.js} +2 -2
  46. package/dist/calcite/{p-1779db74.js → p-44a074f4.js} +1 -1
  47. package/dist/calcite/{p-10b1aa5a.js → p-4627f673.js} +2 -2
  48. package/dist/calcite/p-47d00d3c.entry.js +6 -0
  49. package/dist/calcite/{p-ce0599c7.js → p-49007b99.js} +2 -2
  50. package/dist/calcite/{p-0383548f.js → p-49365ee1.js} +2 -2
  51. package/dist/calcite/{p-2f1e45ac.js → p-4970caf2.js} +2 -2
  52. package/dist/calcite/p-4b874c80.entry.js +6 -0
  53. package/dist/calcite/{p-294ad55c.js → p-4bdfdc2f.js} +2 -2
  54. package/dist/calcite/p-4c020c93.entry.js +6 -0
  55. package/dist/calcite/{p-2098989d.js → p-4e5376e8.js} +2 -2
  56. package/dist/calcite/{p-3e22a4c4.js → p-4e9a682f.js} +2 -2
  57. package/dist/calcite/p-4faa91da.entry.js +6 -0
  58. package/dist/calcite/p-50345988.entry.js +6 -0
  59. package/dist/calcite/{p-72a58ac0.js → p-50d5cdd5.js} +1 -1
  60. package/dist/calcite/{p-2133f270.js → p-51026a1e.js} +2 -2
  61. package/dist/calcite/{p-ffac00f2.js → p-53ae5888.js} +1 -1
  62. package/dist/calcite/p-549f2372.entry.js +6 -0
  63. package/dist/calcite/p-59993a0e.entry.js +6 -0
  64. package/dist/calcite/{p-af3ad928.js → p-5b11f2b6.js} +2 -2
  65. package/dist/calcite/p-5d8a1b86.js +6 -0
  66. package/dist/calcite/{p-c8dc2f24.js → p-5dd5e699.js} +2 -2
  67. package/dist/calcite/p-5e211d1f.entry.js +6 -0
  68. package/dist/calcite/{p-b9032141.js → p-5e91d64a.js} +2 -2
  69. package/dist/calcite/p-5ebd7219.js +6 -0
  70. package/dist/calcite/{p-d243a7ad.js → p-60c32e32.js} +2 -2
  71. package/dist/calcite/{p-f67323bf.js → p-62ea86b9.js} +2 -2
  72. package/dist/calcite/p-65528c73.entry.js +6 -0
  73. package/dist/calcite/{p-d1b2248d.js → p-6626cf23.js} +1 -1
  74. package/dist/calcite/p-66ed20d3.entry.js +6 -0
  75. package/dist/calcite/{p-7edea74f.js → p-6b82c913.js} +2 -2
  76. package/dist/calcite/p-6e90c72f.entry.js +6 -0
  77. package/dist/calcite/{p-475c9eb9.js → p-6efa995e.js} +2 -2
  78. package/dist/calcite/{p-afb4c3ac.js → p-73ce7830.js} +2 -2
  79. package/dist/calcite/{p-ec2818f4.js → p-7650efdd.js} +1 -1
  80. package/dist/calcite/p-76dc9c3c.entry.js +6 -0
  81. package/dist/calcite/p-793f2bea.entry.js +6 -0
  82. package/dist/calcite/{p-7ca98ed4.js → p-7c12caa4.js} +2 -2
  83. package/dist/calcite/p-7c130a2e.entry.js +6 -0
  84. package/dist/calcite/{p-cb9c009b.js → p-7f01c92b.js} +2 -2
  85. package/dist/calcite/p-82371ed9.entry.js +6 -0
  86. package/dist/calcite/p-827c6323.entry.js +6 -0
  87. package/dist/calcite/{p-3e299169.js → p-83a2dc88.js} +3 -3
  88. package/dist/calcite/p-84ced7c2.js +6 -0
  89. package/dist/calcite/{p-51d40a7f.js → p-884bab16.js} +2 -2
  90. package/dist/calcite/{p-7f44bb4f.js → p-89f922b0.js} +2 -2
  91. package/dist/calcite/p-8a2612de.entry.js +6 -0
  92. package/dist/calcite/p-8b262300.js +6 -0
  93. package/dist/calcite/{p-58a88efa.js → p-8c2cfd6d.js} +2 -2
  94. package/dist/calcite/p-8d2b2cdf.entry.js +6 -0
  95. package/dist/calcite/{p-be5cbb75.js → p-8fcf52c2.js} +2 -2
  96. package/dist/calcite/{p-918eeee1.js → p-913f00dd.js} +2 -2
  97. package/dist/calcite/p-9417dff0.entry.js +6 -0
  98. package/dist/calcite/{p-f13d3741.js → p-9651464b.js} +2 -2
  99. package/dist/calcite/p-9bc1ba68.entry.js +6 -0
  100. package/dist/calcite/p-9cfacec2.entry.js +6 -0
  101. package/dist/calcite/p-9d4cf252.entry.js +6 -0
  102. package/dist/calcite/{p-f3e8a769.js → p-9e229b52.js} +2 -2
  103. package/dist/calcite/{p-0d6b082a.js → p-9ec040a5.js} +2 -2
  104. package/dist/calcite/{p-93b36612.js → p-9f56b1e4.js} +2 -2
  105. package/dist/calcite/{p-8cc59c31.js → p-a152f006.js} +1 -1
  106. package/dist/calcite/{p-5ac7ca76.js → p-a19c0462.js} +1 -1
  107. package/dist/calcite/{p-082056fc.js → p-a26cdcfd.js} +2 -2
  108. package/dist/calcite/p-a6985869.entry.js +6 -0
  109. package/dist/calcite/{p-3cd180ed.js → p-a77fe103.js} +1 -1
  110. package/dist/calcite/{p-010aaed9.js → p-ab7e6181.js} +1 -1
  111. package/dist/calcite/p-ac2806e1.entry.js +6 -0
  112. package/dist/calcite/{p-e9d77568.js → p-aead5591.js} +2 -2
  113. package/dist/calcite/{p-d33b988b.js → p-b1367a75.js} +2 -2
  114. package/dist/calcite/p-b270ccd3.entry.js +6 -0
  115. package/dist/calcite/p-b2ebf362.js +6 -0
  116. package/dist/calcite/{p-ea52565b.js → p-b48e3912.js} +2 -2
  117. package/dist/calcite/p-b6e89c55.entry.js +6 -0
  118. package/dist/calcite/{p-9554e7ac.js → p-b92bf863.js} +2 -2
  119. package/dist/calcite/p-b97a3764.entry.js +6 -0
  120. package/dist/calcite/{p-1fe36cb0.js → p-ba4445cf.js} +2 -2
  121. package/dist/calcite/p-ba6e1418.entry.js +6 -0
  122. package/dist/calcite/{p-cdbecc28.js → p-bde2a424.js} +2 -2
  123. package/dist/calcite/{p-b5cab779.js → p-c339384e.js} +1 -1
  124. package/dist/calcite/{p-760a86f1.js → p-c5a1e3f2.js} +2 -2
  125. package/dist/calcite/p-c954ee59.entry.js +6 -0
  126. package/dist/calcite/p-c9f0e939.entry.js +6 -0
  127. package/dist/calcite/p-cb9bb3cb.entry.js +6 -0
  128. package/dist/calcite/{p-95121985.js → p-ccd233d1.js} +2 -2
  129. package/dist/calcite/p-d1148052.entry.js +6 -0
  130. package/dist/calcite/{p-e7f492d5.js → p-d23cb4cb.js} +2 -2
  131. package/dist/calcite/{p-8bb8735c.js → p-d4b56ea4.js} +2 -2
  132. package/dist/calcite/p-d4fd2a06.entry.js +6 -0
  133. package/dist/calcite/{p-8f0a674a.js → p-d8a7a381.js} +1 -1
  134. package/dist/calcite/p-d91b4a22.entry.js +6 -0
  135. package/dist/calcite/p-dc79f59e.entry.js +6 -0
  136. package/dist/calcite/p-e35a718a.entry.js +6 -0
  137. package/dist/calcite/p-e3bf1a6f.entry.js +6 -0
  138. package/dist/calcite/{p-72bd5afb.js → p-e70a6b6d.js} +2 -2
  139. package/dist/calcite/p-e77f77a1.entry.js +6 -0
  140. package/dist/calcite/{p-7df06cd7.js → p-f10c8a0f.js} +2 -2
  141. package/dist/calcite/p-f14b7eb2.entry.js +6 -0
  142. package/dist/calcite/p-f29383e0.js +6 -0
  143. package/dist/calcite/{p-26bb1437.js → p-f56b7a83.js} +2 -2
  144. package/dist/calcite/{p-ccbf1c9b.js → p-f6072095.js} +1 -1
  145. package/dist/calcite/{p-895d20b8.js → p-f6d09fa0.js} +2 -2
  146. package/dist/calcite/{p-01c52989.js → p-f6d8e20c.js} +2 -2
  147. package/dist/calcite/{p-d41db92a.js → p-f886c4dd.js} +2 -2
  148. package/dist/calcite/p-f8be31a3.js +6 -0
  149. package/dist/calcite/p-fa097f93.entry.js +6 -0
  150. package/dist/calcite/p-faba826e.entry.js +6 -0
  151. package/dist/calcite/p-fb3dcaf2.js +6 -0
  152. package/dist/calcite/p-fd2bd0ac.entry.js +6 -0
  153. package/dist/cjs/{ExpandToggle-e787a0e0.js → ExpandToggle-c9386336.js} +8 -8
  154. package/dist/cjs/{FloatingArrow-c99828f7.js → FloatingArrow-96bf768f.js} +2 -2
  155. package/dist/cjs/{Heading-6844567a.js → Heading-cd50d5a3.js} +2 -2
  156. package/dist/cjs/{app-globals-a5ae0d94.js → app-globals-4c48394e.js} +2 -2
  157. package/dist/cjs/{ar-85516d3b.js → ar-d447d1fc.js} +15 -15
  158. package/dist/cjs/{array-56bc973f.js → array-10e86e74.js} +1 -1
  159. package/dist/cjs/{bg-e63565f2.js → bg-663f23f2.js} +15 -15
  160. package/dist/cjs/{bs-b5b5769e.js → bs-68a18374.js} +15 -15
  161. package/dist/cjs/{ca-258e1af5.js → ca-2639c932.js} +15 -15
  162. package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
  163. package/dist/cjs/calcite-action-bar.cjs.entry.js +17 -17
  164. package/dist/cjs/calcite-action-group.cjs.entry.js +17 -16
  165. package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
  166. package/dist/cjs/calcite-action-pad.cjs.entry.js +16 -16
  167. package/dist/cjs/calcite-action.cjs.entry.js +12 -12
  168. package/dist/cjs/calcite-alert.cjs.entry.js +15 -16
  169. package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
  170. package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
  171. package/dist/cjs/calcite-button.cjs.entry.js +14 -14
  172. package/dist/cjs/calcite-card.cjs.entry.js +11 -11
  173. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  174. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
  175. package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
  176. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -18
  177. package/dist/cjs/calcite-combobox_3.cjs.entry.js +23 -24
  178. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -17
  179. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +17 -18
  180. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  181. package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
  182. package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
  183. package/dist/cjs/calcite-flow.cjs.entry.js +5 -5
  184. package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
  185. package/dist/cjs/calcite-handle.cjs.entry.js +11 -11
  186. package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
  187. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
  188. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +23 -22
  189. package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
  190. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  191. package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
  192. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-b7f63af4.js → calcite-input-time-picker.calcite-time-picker-a81dfb2f.js} +62 -62
  193. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
  194. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  195. package/dist/cjs/calcite-label.cjs.entry.js +7 -7
  196. package/dist/cjs/calcite-link.cjs.entry.js +8 -8
  197. package/dist/cjs/calcite-list_3.cjs.entry.js +25 -18
  198. package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
  199. package/dist/cjs/calcite-menu_2.cjs.entry.js +18 -14
  200. package/dist/cjs/calcite-modal.cjs.entry.js +18 -17
  201. package/dist/cjs/calcite-navigation_3.cjs.entry.js +9 -9
  202. package/dist/cjs/calcite-notice.cjs.entry.js +13 -13
  203. package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
  204. package/dist/cjs/calcite-pagination.cjs.entry.js +11 -11
  205. package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
  206. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +19 -19
  207. package/dist/cjs/calcite-popover.cjs.entry.js +21 -20
  208. package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
  209. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
  210. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
  211. package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
  212. package/dist/cjs/calcite-scrim.cjs.entry.js +10 -10
  213. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -11
  214. package/dist/cjs/calcite-shell_3.cjs.entry.js +14 -14
  215. package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
  216. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
  217. package/dist/cjs/calcite-stack.cjs.entry.js +7 -7
  218. package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
  219. package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
  220. package/dist/cjs/calcite-tab_4.cjs.entry.js +14 -14
  221. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
  222. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
  223. package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
  224. package/dist/cjs/calcite-tip_3.cjs.entry.js +14 -14
  225. package/dist/cjs/calcite-tooltip.cjs.entry.js +14 -13
  226. package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
  227. package/dist/cjs/calcite-value-list_2.cjs.entry.js +18 -18
  228. package/dist/cjs/calcite.cjs.js +5 -5
  229. package/dist/cjs/{conditionalSlot-1e5216b2.js → conditionalSlot-faab0620.js} +3 -3
  230. package/dist/cjs/{cs-fc975e0f.js → cs-a4250b75.js} +15 -15
  231. package/dist/cjs/{da-b4a7e36c.js → da-ce47a7fd.js} +15 -15
  232. package/dist/cjs/{de-at-97a6238a.js → de-at-a233e20e.js} +15 -15
  233. package/dist/cjs/{de-ch-4692b03b.js → de-ch-0491ab7c.js} +15 -15
  234. package/dist/cjs/{de-585360c4.js → de-d76c3be4.js} +15 -15
  235. package/dist/cjs/{debounce-f3d31127.js → debounce-a051ba26.js} +1 -1
  236. package/dist/cjs/{dom-f1209f90.js → dom-a70213c2.js} +3 -3
  237. package/dist/cjs/{el-5fd1b2bd.js → el-7a680447.js} +15 -15
  238. package/dist/cjs/{en-au-b0ac74d7.js → en-au-32e75cca.js} +15 -15
  239. package/dist/cjs/{en-ca-879d839a.js → en-ca-55a0d05c.js} +15 -15
  240. package/dist/cjs/{en-gb-67695308.js → en-gb-df8a3274.js} +15 -15
  241. package/dist/cjs/{es-489ccbf0.js → es-c638d445.js} +15 -15
  242. package/dist/cjs/{es-mx-3cf2160e.js → es-mx-b44a7be5.js} +15 -15
  243. package/dist/cjs/{et-109100bd.js → et-86625d97.js} +15 -15
  244. package/dist/cjs/{fi-89f1e1dc.js → fi-4074e1d6.js} +15 -15
  245. package/dist/cjs/{filter-df59d5b4.js → filter-9cc30f1b.js} +2 -2
  246. package/dist/cjs/{floating-ui-9305ed22.js → floating-ui-912392de.js} +3 -3
  247. package/dist/cjs/{focusTrapComponent-94068937.js → focusTrapComponent-abe7c12c.js} +2 -2
  248. package/dist/cjs/{form-fc7fc73b.js → form-9edc0feb.js} +3 -3
  249. package/dist/cjs/{fr-a7addcd5.js → fr-bff27836.js} +15 -15
  250. package/dist/cjs/{fr-ch-0c67bbaf.js → fr-ch-4fbc26aa.js} +15 -15
  251. package/dist/cjs/{guid-a9364df5.js → guid-042b36e4.js} +1 -1
  252. package/dist/cjs/{he-3eea05f7.js → he-1834f00f.js} +15 -15
  253. package/dist/cjs/{hi-19ae5c73.js → hi-1dbce04f.js} +15 -15
  254. package/dist/cjs/{hr-d204bc96.js → hr-28f360f7.js} +15 -15
  255. package/dist/cjs/{hu-6bf33719.js → hu-17c0851a.js} +15 -15
  256. package/dist/cjs/{id-97f531c0.js → id-f56b5629.js} +15 -15
  257. package/dist/cjs/{index-5d51e914.js → index-0464ec66.js} +1 -1
  258. package/dist/cjs/index.cjs.js +2 -2
  259. package/dist/cjs/{interactive-5e989d6d.js → interactive-34fbac40.js} +1 -1
  260. package/dist/cjs/{it-aff30db0.js → it-5ee96f9c.js} +15 -15
  261. package/dist/cjs/{it-ch-d5c8e73f.js → it-ch-6439f82e.js} +15 -15
  262. package/dist/cjs/{ja-af03f788.js → ja-9c6f4c69.js} +15 -15
  263. package/dist/cjs/{key-e003c166.js → key-99b5aee6.js} +1 -1
  264. package/dist/cjs/{ko-45f0409b.js → ko-d2e85510.js} +15 -15
  265. package/dist/cjs/{label-5e318f7f.js → label-9b565bca.js} +2 -2
  266. package/dist/cjs/{loadable-c2ed9e7f.js → loadable-4d58d337.js} +2 -2
  267. package/dist/cjs/loader.cjs.js +5 -5
  268. package/dist/cjs/{locale-e3d130e1.js → locale-b64c0691.js} +4 -4
  269. package/dist/cjs/{lt-acf12c2a.js → lt-82e2880b.js} +15 -15
  270. package/dist/cjs/{lv-8802d734.js → lv-49a0ee50.js} +15 -15
  271. package/dist/cjs/{math-70310913.js → math-09a6ec1e.js} +1 -1
  272. package/dist/cjs/{mk-daf4ecca.js → mk-7eb11108.js} +15 -15
  273. package/dist/cjs/{nb-f966598b.js → nb-087d5b58.js} +15 -15
  274. package/dist/cjs/{nl-0ac0c2f0.js → nl-b75581ec.js} +15 -15
  275. package/dist/cjs/{observers-38374833.js → observers-550d0737.js} +1 -1
  276. package/dist/cjs/{openCloseComponent-623da674.js → openCloseComponent-297b8727.js} +2 -50
  277. package/dist/cjs/{pl-d3067cfb.js → pl-524d3147.js} +15 -15
  278. package/dist/cjs/{pt-adec233b.js → pt-166addd9.js} +15 -15
  279. package/dist/cjs/{pt-br-5c99bfa3.js → pt-br-3bdc1505.js} +15 -15
  280. package/dist/cjs/{resources-a33985fa.js → resources-176daa8c.js} +5 -5
  281. package/dist/cjs/{resources-8cbffc0c.js → resources-6be5c75a.js} +1 -1
  282. package/dist/cjs/{resources-1f058096.js → resources-8c5d3694.js} +1 -1
  283. package/dist/cjs/{resources-19c81d0d.js → resources-9d9d6039.js} +1 -1
  284. package/dist/cjs/{resources-2bee64d3.js → resources-d98c3beb.js} +1 -1
  285. package/dist/cjs/{resources-0be2ee1e.js → resources-de8954c3.js} +1 -1
  286. package/dist/cjs/{resources-0cfb0ea0.js → resources-e6f06d90.js} +1 -1
  287. package/dist/cjs/{ro-cf5cc6e2.js → ro-d9d603d3.js} +15 -15
  288. package/dist/cjs/{ru-0cfc9f4d.js → ru-9558087f.js} +15 -15
  289. package/dist/cjs/{sk-a450e93d.js → sk-eda680ed.js} +15 -15
  290. package/dist/cjs/{sl-3725f3f1.js → sl-bdd8c7ea.js} +15 -15
  291. package/dist/cjs/{sortableComponent-e8249bb5.js → sortableComponent-2bc4d179.js} +2 -2
  292. package/dist/cjs/{sr-69e78cc5.js → sr-67853dd0.js} +15 -15
  293. package/dist/cjs/{sv-ab6908c6.js → sv-3a7f75a7.js} +15 -15
  294. package/dist/cjs/{t9n-31d6d819.js → t9n-24f52de4.js} +3 -3
  295. package/dist/cjs/{th-ca671d34.js → th-1464b087.js} +15 -15
  296. package/dist/cjs/{throttle-cfd36323.js → throttle-6cba0092.js} +2 -2
  297. package/dist/cjs/{tr-ccb9f6da.js → tr-ef7d0987.js} +15 -15
  298. package/dist/cjs/{uk-f30cd6f4.js → uk-770fabea.js} +15 -15
  299. package/dist/cjs/{utils-12a3938e.js → utils-3d763265.js} +3 -3
  300. package/dist/cjs/{utils-f4c34fb8.js → utils-3fd642f9.js} +1 -1
  301. package/dist/cjs/{vi-8dee5017.js → vi-f1e706e6.js} +15 -15
  302. package/dist/cjs/{zh-cn-418d2ddd.js → zh-cn-cbec58b2.js} +15 -15
  303. package/dist/cjs/{zh-hk-73047c91.js → zh-hk-a4434e67.js} +15 -15
  304. package/dist/cjs/{zh-tw-c59bca7d.js → zh-tw-098865b7.js} +15 -15
  305. package/dist/collection/components/accordion/accordion.css +8 -110
  306. package/dist/collection/components/accordion/accordion.js +1 -1
  307. package/dist/collection/components/accordion-item/accordion-item.css +7 -110
  308. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  309. package/dist/collection/components/accordion-item/resources.js +1 -1
  310. package/dist/collection/components/action/action.css +8 -110
  311. package/dist/collection/components/action/action.js +1 -1
  312. package/dist/collection/components/action/resources.js +1 -1
  313. package/dist/collection/components/action-bar/action-bar.css +8 -110
  314. package/dist/collection/components/action-bar/action-bar.js +2 -2
  315. package/dist/collection/components/action-bar/resources.js +1 -1
  316. package/dist/collection/components/action-bar/utils.js +1 -1
  317. package/dist/collection/components/action-group/action-group.css +8 -110
  318. package/dist/collection/components/action-group/action-group.js +27 -3
  319. package/dist/collection/components/action-group/resources.js +1 -1
  320. package/dist/collection/components/action-menu/action-menu.css +14 -116
  321. package/dist/collection/components/action-menu/action-menu.js +1 -1
  322. package/dist/collection/components/action-menu/resources.js +1 -1
  323. package/dist/collection/components/action-pad/action-pad.css +8 -110
  324. package/dist/collection/components/action-pad/action-pad.js +2 -2
  325. package/dist/collection/components/action-pad/resources.js +1 -1
  326. package/dist/collection/components/alert/alert.css +8 -114
  327. package/dist/collection/components/alert/alert.js +4 -5
  328. package/dist/collection/components/alert/resources.js +1 -1
  329. package/dist/collection/components/avatar/avatar.css +33 -135
  330. package/dist/collection/components/avatar/avatar.js +1 -1
  331. package/dist/collection/components/avatar/utils.js +1 -1
  332. package/dist/collection/components/block/block.css +8 -211
  333. package/dist/collection/components/block/block.js +1 -1
  334. package/dist/collection/components/block/resources.js +1 -1
  335. package/dist/collection/components/block-section/block-section.css +8 -110
  336. package/dist/collection/components/block-section/block-section.js +1 -1
  337. package/dist/collection/components/block-section/resources.js +1 -1
  338. package/dist/collection/components/button/button.css +8 -110
  339. package/dist/collection/components/button/button.js +1 -1
  340. package/dist/collection/components/button/resources.js +1 -1
  341. package/dist/collection/components/card/card.css +8 -110
  342. package/dist/collection/components/card/card.js +1 -1
  343. package/dist/collection/components/card/resources.js +1 -1
  344. package/dist/collection/components/checkbox/checkbox.css +8 -110
  345. package/dist/collection/components/checkbox/checkbox.js +1 -1
  346. package/dist/collection/components/chip/chip.css +8 -110
  347. package/dist/collection/components/chip/chip.js +1 -1
  348. package/dist/collection/components/chip/resources.js +1 -1
  349. package/dist/collection/components/chip-group/chip-group.css +8 -110
  350. package/dist/collection/components/chip-group/chip-group.js +1 -1
  351. package/dist/collection/components/color-picker/color-picker.css +8 -110
  352. package/dist/collection/components/color-picker/color-picker.js +1 -1
  353. package/dist/collection/components/color-picker/resources.js +1 -1
  354. package/dist/collection/components/color-picker/utils.js +1 -1
  355. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +8 -110
  356. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  357. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  358. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +8 -110
  359. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  360. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  361. package/dist/collection/components/combobox/combobox.css +8 -110
  362. package/dist/collection/components/combobox/combobox.js +4 -5
  363. package/dist/collection/components/combobox/resources.js +1 -1
  364. package/dist/collection/components/combobox/utils.js +1 -1
  365. package/dist/collection/components/combobox-item/combobox-item.css +8 -110
  366. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  367. package/dist/collection/components/combobox-item/resources.js +1 -1
  368. package/dist/collection/components/combobox-item-group/combobox-item-group.css +0 -110
  369. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  370. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  371. package/dist/collection/components/date-picker/date-picker.css +8 -110
  372. package/dist/collection/components/date-picker/date-picker.js +1 -1
  373. package/dist/collection/components/date-picker/resources.js +1 -1
  374. package/dist/collection/components/date-picker/utils.js +1 -1
  375. package/dist/collection/components/date-picker-day/date-picker-day.css +7 -110
  376. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  377. package/dist/collection/components/date-picker-month/date-picker-month.css +13 -115
  378. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  379. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +8 -110
  380. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  381. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  382. package/dist/collection/components/dropdown/dropdown.css +8 -110
  383. package/dist/collection/components/dropdown/dropdown.js +4 -5
  384. package/dist/collection/components/dropdown/resources.js +1 -1
  385. package/dist/collection/components/dropdown-group/dropdown-group.css +8 -110
  386. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  387. package/dist/collection/components/dropdown-group/resources.js +1 -1
  388. package/dist/collection/components/dropdown-item/dropdown-item.css +8 -110
  389. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  390. package/dist/collection/components/dropdown-item/resources.js +1 -1
  391. package/dist/collection/components/fab/fab.css +8 -110
  392. package/dist/collection/components/fab/fab.js +1 -1
  393. package/dist/collection/components/fab/resources.js +1 -1
  394. package/dist/collection/components/filter/filter.css +8 -110
  395. package/dist/collection/components/filter/filter.js +1 -1
  396. package/dist/collection/components/filter/resources.js +1 -1
  397. package/dist/collection/components/flow/flow.css +8 -110
  398. package/dist/collection/components/flow/flow.js +1 -1
  399. package/dist/collection/components/flow/resources.js +1 -1
  400. package/dist/collection/components/flow-item/flow-item.css +8 -110
  401. package/dist/collection/components/flow-item/flow-item.js +1 -1
  402. package/dist/collection/components/flow-item/resources.js +1 -1
  403. package/dist/collection/components/functional/ExpandToggle.js +4 -4
  404. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  405. package/dist/collection/components/functional/Heading.js +1 -1
  406. package/dist/collection/components/functional/XButton.js +1 -1
  407. package/dist/collection/components/graph/graph.css +8 -110
  408. package/dist/collection/components/graph/graph.js +1 -1
  409. package/dist/collection/components/graph/util.js +1 -1
  410. package/dist/collection/components/handle/handle.css +8 -110
  411. package/dist/collection/components/handle/handle.js +1 -1
  412. package/dist/collection/components/handle/resources.js +1 -1
  413. package/dist/collection/components/icon/icon.css +8 -110
  414. package/dist/collection/components/icon/icon.js +1 -1
  415. package/dist/collection/components/icon/resources.js +1 -1
  416. package/dist/collection/components/icon/utils.js +1 -1
  417. package/dist/collection/components/inline-editable/inline-editable.css +8 -110
  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.css +8 -110
  421. package/dist/collection/components/input/input.js +1 -1
  422. package/dist/collection/components/input/resources.js +1 -1
  423. package/dist/collection/components/input-date-picker/input-date-picker.css +8 -110
  424. package/dist/collection/components/input-date-picker/input-date-picker.js +6 -5
  425. package/dist/collection/components/input-date-picker/resources.js +1 -1
  426. package/dist/collection/components/input-message/input-message.css +8 -110
  427. package/dist/collection/components/input-message/input-message.js +1 -1
  428. package/dist/collection/components/input-message/interfaces.js +1 -1
  429. package/dist/collection/components/input-number/input-number.css +8 -110
  430. package/dist/collection/components/input-number/input-number.js +1 -1
  431. package/dist/collection/components/input-number/resources.js +1 -1
  432. package/dist/collection/components/input-text/input-text.css +8 -110
  433. package/dist/collection/components/input-text/input-text.js +1 -1
  434. package/dist/collection/components/input-text/resources.js +1 -1
  435. package/dist/collection/components/input-time-picker/input-time-picker.css +8 -110
  436. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  437. package/dist/collection/components/input-time-picker/resources.js +1 -1
  438. package/dist/collection/components/label/label.css +8 -110
  439. package/dist/collection/components/label/label.js +1 -1
  440. package/dist/collection/components/label/resources.js +1 -1
  441. package/dist/collection/components/link/link.css +8 -110
  442. package/dist/collection/components/link/link.js +1 -1
  443. package/dist/collection/components/list/list.css +8 -110
  444. package/dist/collection/components/list/list.js +10 -3
  445. package/dist/collection/components/list/resources.js +1 -1
  446. package/dist/collection/components/list-item/list-item.css +4 -110
  447. package/dist/collection/components/list-item/list-item.js +1 -1
  448. package/dist/collection/components/list-item/resources.js +1 -1
  449. package/dist/collection/components/list-item/utils.js +1 -1
  450. package/dist/collection/components/list-item-group/list-item-group.css +4 -110
  451. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  452. package/dist/collection/components/list-item-group/resources.js +1 -1
  453. package/dist/collection/components/loader/loader.css +7 -211
  454. package/dist/collection/components/loader/loader.js +1 -1
  455. package/dist/collection/components/menu/menu.css +16 -118
  456. package/dist/collection/components/menu/menu.js +1 -1
  457. package/dist/collection/components/menu-item/menu-item.css +44 -114
  458. package/dist/collection/components/menu-item/menu-item.js +7 -3
  459. package/dist/collection/components/menu-item/resources.js +1 -1
  460. package/dist/collection/components/modal/modal.css +8 -110
  461. package/dist/collection/components/modal/modal.js +5 -3
  462. package/dist/collection/components/modal/resources.js +1 -2
  463. package/dist/collection/components/navigation/navigation.css +8 -110
  464. package/dist/collection/components/navigation/navigation.js +1 -1
  465. package/dist/collection/components/navigation/resources.js +1 -1
  466. package/dist/collection/components/navigation-logo/navigation-logo.css +21 -123
  467. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  468. package/dist/collection/components/navigation-logo/resources.js +1 -1
  469. package/dist/collection/components/navigation-user/navigation-user.css +8 -110
  470. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  471. package/dist/collection/components/navigation-user/resources.js +1 -1
  472. package/dist/collection/components/notice/notice.css +8 -110
  473. package/dist/collection/components/notice/notice.js +1 -1
  474. package/dist/collection/components/notice/resources.js +1 -1
  475. package/dist/collection/components/option/option.css +5 -107
  476. package/dist/collection/components/option/option.js +1 -1
  477. package/dist/collection/components/option-group/option-group.css +5 -107
  478. package/dist/collection/components/option-group/option-group.js +1 -1
  479. package/dist/collection/components/pagination/pagination.css +8 -110
  480. package/dist/collection/components/pagination/pagination.js +1 -1
  481. package/dist/collection/components/pagination/resources.js +1 -1
  482. package/dist/collection/components/panel/panel.css +4 -110
  483. package/dist/collection/components/panel/panel.js +1 -1
  484. package/dist/collection/components/panel/resources.js +1 -1
  485. package/dist/collection/components/pick-list/pick-list.css +8 -110
  486. package/dist/collection/components/pick-list/pick-list.js +1 -1
  487. package/dist/collection/components/pick-list/resources.js +1 -1
  488. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  489. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  490. package/dist/collection/components/pick-list-group/pick-list-group.css +8 -110
  491. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  492. package/dist/collection/components/pick-list-group/resources.js +1 -1
  493. package/dist/collection/components/pick-list-item/pick-list-item.css +8 -110
  494. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  495. package/dist/collection/components/pick-list-item/resources.js +1 -1
  496. package/dist/collection/components/popover/PopoverManager.js +1 -1
  497. package/dist/collection/components/popover/popover.css +8 -110
  498. package/dist/collection/components/popover/popover.js +6 -5
  499. package/dist/collection/components/popover/resources.js +1 -1
  500. package/dist/collection/components/progress/progress.css +7 -211
  501. package/dist/collection/components/progress/progress.js +1 -1
  502. package/dist/collection/components/radio-button/radio-button.css +8 -110
  503. package/dist/collection/components/radio-button/radio-button.js +1 -1
  504. package/dist/collection/components/radio-button/resources.js +1 -1
  505. package/dist/collection/components/radio-button-group/radio-button-group.css +14 -116
  506. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  507. package/dist/collection/components/rating/function/star.js +1 -1
  508. package/dist/collection/components/rating/rating.css +8 -110
  509. package/dist/collection/components/rating/rating.js +1 -1
  510. package/dist/collection/components/resources.js +1 -1
  511. package/dist/collection/components/scrim/resources.js +1 -1
  512. package/dist/collection/components/scrim/scrim.css +13 -115
  513. package/dist/collection/components/scrim/scrim.js +1 -1
  514. package/dist/collection/components/segmented-control/segmented-control.css +8 -110
  515. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  516. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  517. package/dist/collection/components/segmented-control-item/segmented-control-item.css +8 -110
  518. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  519. package/dist/collection/components/select/resources.js +1 -1
  520. package/dist/collection/components/select/select.css +8 -110
  521. package/dist/collection/components/select/select.js +1 -1
  522. package/dist/collection/components/shell/resources.js +1 -1
  523. package/dist/collection/components/shell/shell.css +8 -110
  524. package/dist/collection/components/shell/shell.js +1 -1
  525. package/dist/collection/components/shell-center-row/resources.js +1 -1
  526. package/dist/collection/components/shell-center-row/shell-center-row.css +8 -110
  527. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  528. package/dist/collection/components/shell-panel/resources.js +1 -1
  529. package/dist/collection/components/shell-panel/shell-panel.css +8 -110
  530. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  531. package/dist/collection/components/slider/resources.js +1 -1
  532. package/dist/collection/components/slider/slider.css +8 -110
  533. package/dist/collection/components/slider/slider.js +1 -1
  534. package/dist/collection/components/sortable-list/resources.js +1 -1
  535. package/dist/collection/components/sortable-list/sortable-list.css +8 -110
  536. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  537. package/dist/collection/components/split-button/resources.js +1 -1
  538. package/dist/collection/components/split-button/split-button.css +8 -110
  539. package/dist/collection/components/split-button/split-button.js +1 -1
  540. package/dist/collection/components/stack/resources.js +1 -1
  541. package/dist/collection/components/stack/stack.css +16 -122
  542. package/dist/collection/components/stack/stack.js +1 -1
  543. package/dist/collection/components/stepper/stepper.css +8 -110
  544. package/dist/collection/components/stepper/stepper.js +1 -1
  545. package/dist/collection/components/stepper-item/stepper-item.css +7 -110
  546. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  547. package/dist/collection/components/switch/switch.css +8 -110
  548. package/dist/collection/components/switch/switch.js +1 -1
  549. package/dist/collection/components/tab/tab.css +15 -117
  550. package/dist/collection/components/tab/tab.js +1 -1
  551. package/dist/collection/components/tab-nav/tab-nav.css +7 -110
  552. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  553. package/dist/collection/components/tab-title/resources.js +1 -1
  554. package/dist/collection/components/tab-title/tab-title.css +7 -110
  555. package/dist/collection/components/tab-title/tab-title.js +1 -1
  556. package/dist/collection/components/tabs/resources.js +1 -1
  557. package/dist/collection/components/tabs/tabs.css +7 -110
  558. package/dist/collection/components/tabs/tabs.js +1 -1
  559. package/dist/collection/components/text-area/resources.js +1 -1
  560. package/dist/collection/components/text-area/text-area.css +8 -110
  561. package/dist/collection/components/text-area/text-area.js +1 -1
  562. package/dist/collection/components/tile/resources.js +1 -1
  563. package/dist/collection/components/tile/tile.css +8 -110
  564. package/dist/collection/components/tile/tile.js +1 -1
  565. package/dist/collection/components/tile-select/resources.js +1 -1
  566. package/dist/collection/components/tile-select/tile-select.css +8 -110
  567. package/dist/collection/components/tile-select/tile-select.js +1 -1
  568. package/dist/collection/components/tile-select-group/tile-select-group.css +8 -110
  569. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  570. package/dist/collection/components/time-picker/resources.js +1 -1
  571. package/dist/collection/components/time-picker/time-picker.css +8 -110
  572. package/dist/collection/components/time-picker/time-picker.js +1 -1
  573. package/dist/collection/components/tip/resources.js +1 -1
  574. package/dist/collection/components/tip/tip.css +8 -110
  575. package/dist/collection/components/tip/tip.js +1 -1
  576. package/dist/collection/components/tip-group/tip-group.css +10 -112
  577. package/dist/collection/components/tip-group/tip-group.js +1 -1
  578. package/dist/collection/components/tip-manager/resources.js +1 -1
  579. package/dist/collection/components/tip-manager/tip-manager.css +7 -110
  580. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  581. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  582. package/dist/collection/components/tooltip/resources.js +1 -1
  583. package/dist/collection/components/tooltip/tooltip.css +8 -110
  584. package/dist/collection/components/tooltip/tooltip.js +6 -5
  585. package/dist/collection/components/tooltip/utils.js +1 -1
  586. package/dist/collection/components/tree/tree.css +9 -111
  587. package/dist/collection/components/tree/tree.js +1 -1
  588. package/dist/collection/components/tree/utils.js +1 -1
  589. package/dist/collection/components/tree-item/resources.js +1 -1
  590. package/dist/collection/components/tree-item/tree-item.css +8 -114
  591. package/dist/collection/components/tree-item/tree-item.js +1 -1
  592. package/dist/collection/components/value-list/resources.js +1 -1
  593. package/dist/collection/components/value-list/utils.js +1 -1
  594. package/dist/collection/components/value-list/value-list.css +8 -110
  595. package/dist/collection/components/value-list/value-list.js +1 -1
  596. package/dist/collection/components/value-list-item/resources.js +1 -1
  597. package/dist/collection/components/value-list-item/value-list-item.css +8 -110
  598. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  599. package/dist/collection/index.js +3 -2
  600. package/dist/collection/utils/array.js +1 -1
  601. package/dist/collection/utils/browser.js +1 -1
  602. package/dist/collection/utils/conditionalSlot.js +1 -1
  603. package/dist/collection/utils/config.js +1 -1
  604. package/dist/collection/utils/date.js +1 -1
  605. package/dist/collection/utils/dom.js +1 -1
  606. package/dist/collection/utils/filter.js +1 -1
  607. package/dist/collection/utils/floating-ui.js +1 -1
  608. package/dist/collection/utils/focusTrapComponent.js +1 -1
  609. package/dist/collection/utils/form.js +1 -1
  610. package/dist/collection/utils/globalAttributes.js +1 -1
  611. package/dist/collection/utils/globalScript.js +1 -1
  612. package/dist/collection/utils/guid.js +1 -1
  613. package/dist/collection/utils/interactive.js +1 -1
  614. package/dist/collection/utils/key.js +1 -1
  615. package/dist/collection/utils/label.js +1 -1
  616. package/dist/collection/utils/loadable.js +1 -1
  617. package/dist/collection/utils/locale.js +1 -1
  618. package/dist/collection/utils/math.js +1 -1
  619. package/dist/collection/utils/mode.js +1 -1
  620. package/dist/collection/utils/number.js +1 -1
  621. package/dist/collection/utils/observers.js +1 -1
  622. package/dist/collection/utils/openCloseComponent.js +1 -1
  623. package/dist/collection/utils/resources.js +1 -1
  624. package/dist/collection/utils/sortableComponent.js +1 -1
  625. package/dist/collection/utils/t9n.js +1 -1
  626. package/dist/collection/utils/time.js +1 -1
  627. package/dist/components/ExpandToggle.js +4 -4
  628. package/dist/components/FloatingArrow.js +1 -1
  629. package/dist/components/Heading.js +1 -1
  630. package/dist/components/action-group.js +6 -4
  631. package/dist/components/action-menu.js +2 -2
  632. package/dist/components/action.js +2 -2
  633. package/dist/components/ar.js +1 -1
  634. package/dist/components/array.js +1 -1
  635. package/dist/components/avatar.js +2 -2
  636. package/dist/components/bg.js +1 -1
  637. package/dist/components/bs.js +1 -1
  638. package/dist/components/button.js +2 -2
  639. package/dist/components/ca.js +1 -1
  640. package/dist/components/calcite-accordion-item.js +2 -2
  641. package/dist/components/calcite-accordion.js +2 -2
  642. package/dist/components/calcite-action-bar.js +3 -3
  643. package/dist/components/calcite-action-group.js +1 -1
  644. package/dist/components/calcite-action-menu.js +1 -1
  645. package/dist/components/calcite-action-pad.js +3 -3
  646. package/dist/components/calcite-action.js +1 -1
  647. package/dist/components/calcite-alert.js +5 -6
  648. package/dist/components/calcite-avatar.js +1 -1
  649. package/dist/components/calcite-block-section.js +2 -2
  650. package/dist/components/calcite-block.js +2 -2
  651. package/dist/components/calcite-button.js +1 -1
  652. package/dist/components/calcite-card.js +2 -2
  653. package/dist/components/calcite-checkbox.js +1 -1
  654. package/dist/components/calcite-chip-group.js +2 -2
  655. package/dist/components/calcite-chip.js +1 -1
  656. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  657. package/dist/components/calcite-color-picker-swatch.js +1 -1
  658. package/dist/components/calcite-color-picker.js +2 -2
  659. package/dist/components/calcite-combobox-item-group.js +2 -2
  660. package/dist/components/calcite-combobox-item.js +2 -2
  661. package/dist/components/calcite-combobox.js +5 -6
  662. package/dist/components/calcite-date-picker-day.js +1 -1
  663. package/dist/components/calcite-date-picker-month-header.js +1 -1
  664. package/dist/components/calcite-date-picker-month.js +1 -1
  665. package/dist/components/calcite-date-picker.js +1 -1
  666. package/dist/components/calcite-dropdown-group.js +2 -2
  667. package/dist/components/calcite-dropdown-item.js +2 -2
  668. package/dist/components/calcite-dropdown.js +1 -1
  669. package/dist/components/calcite-fab.js +2 -2
  670. package/dist/components/calcite-filter.js +1 -1
  671. package/dist/components/calcite-flow-item.js +2 -2
  672. package/dist/components/calcite-flow.js +2 -2
  673. package/dist/components/calcite-graph.js +1 -1
  674. package/dist/components/calcite-handle.js +1 -1
  675. package/dist/components/calcite-icon.js +1 -1
  676. package/dist/components/calcite-inline-editable.js +2 -2
  677. package/dist/components/calcite-input-date-picker.js +7 -6
  678. package/dist/components/calcite-input-message.js +2 -2
  679. package/dist/components/calcite-input-number.js +1 -1
  680. package/dist/components/calcite-input-text.js +1 -1
  681. package/dist/components/calcite-input-time-picker.js +2 -2
  682. package/dist/components/calcite-input.js +1 -1
  683. package/dist/components/calcite-label.js +1 -1
  684. package/dist/components/calcite-link.js +1 -1
  685. package/dist/components/calcite-list-item-group.js +2 -2
  686. package/dist/components/calcite-list-item.js +2 -2
  687. package/dist/components/calcite-list.js +11 -4
  688. package/dist/components/calcite-loader.js +1 -1
  689. package/dist/components/calcite-menu-item.js +8 -4
  690. package/dist/components/calcite-menu.js +1 -1
  691. package/dist/components/calcite-modal.js +6 -5
  692. package/dist/components/calcite-navigation-logo.js +2 -2
  693. package/dist/components/calcite-navigation-user.js +2 -2
  694. package/dist/components/calcite-navigation.js +2 -2
  695. package/dist/components/calcite-notice.js +2 -2
  696. package/dist/components/calcite-option-group.js +2 -2
  697. package/dist/components/calcite-option.js +2 -2
  698. package/dist/components/calcite-pagination.js +2 -2
  699. package/dist/components/calcite-panel.js +1 -1
  700. package/dist/components/calcite-pick-list-group.js +2 -2
  701. package/dist/components/calcite-pick-list-item.js +1 -1
  702. package/dist/components/calcite-pick-list.js +2 -2
  703. package/dist/components/calcite-popover.js +1 -1
  704. package/dist/components/calcite-progress.js +1 -1
  705. package/dist/components/calcite-radio-button-group.js +2 -2
  706. package/dist/components/calcite-radio-button.js +2 -2
  707. package/dist/components/calcite-rating.js +2 -2
  708. package/dist/components/calcite-scrim.js +1 -1
  709. package/dist/components/calcite-segmented-control-item.js +2 -2
  710. package/dist/components/calcite-segmented-control.js +2 -2
  711. package/dist/components/calcite-select.js +2 -2
  712. package/dist/components/calcite-shell-center-row.js +2 -2
  713. package/dist/components/calcite-shell-panel.js +2 -2
  714. package/dist/components/calcite-shell.js +2 -2
  715. package/dist/components/calcite-slider.js +2 -2
  716. package/dist/components/calcite-sortable-list.js +2 -2
  717. package/dist/components/calcite-split-button.js +2 -2
  718. package/dist/components/calcite-stack.js +1 -1
  719. package/dist/components/calcite-stepper-item.js +2 -2
  720. package/dist/components/calcite-stepper.js +2 -2
  721. package/dist/components/calcite-switch.js +1 -1
  722. package/dist/components/calcite-tab-nav.js +1 -1
  723. package/dist/components/calcite-tab-title.js +1 -1
  724. package/dist/components/calcite-tab.js +1 -1
  725. package/dist/components/calcite-tabs.js +1 -1
  726. package/dist/components/calcite-text-area.js +2 -2
  727. package/dist/components/calcite-tile-select-group.js +2 -2
  728. package/dist/components/calcite-tile-select.js +2 -2
  729. package/dist/components/calcite-tile.js +1 -1
  730. package/dist/components/calcite-time-picker.js +1 -1
  731. package/dist/components/calcite-tip-group.js +2 -2
  732. package/dist/components/calcite-tip-manager.js +2 -2
  733. package/dist/components/calcite-tip.js +2 -2
  734. package/dist/components/calcite-tooltip.js +1 -1
  735. package/dist/components/calcite-tree-item.js +2 -2
  736. package/dist/components/calcite-tree.js +2 -2
  737. package/dist/components/calcite-value-list-item.js +2 -2
  738. package/dist/components/calcite-value-list.js +2 -2
  739. package/dist/components/checkbox.js +2 -2
  740. package/dist/components/chip.js +2 -2
  741. package/dist/components/color-picker-hex-input.js +2 -2
  742. package/dist/components/color-picker-swatch.js +2 -2
  743. package/dist/components/conditionalSlot.js +1 -1
  744. package/dist/components/cs.js +1 -1
  745. package/dist/components/da.js +1 -1
  746. package/dist/components/date-picker-day.js +2 -2
  747. package/dist/components/date-picker-month-header.js +2 -2
  748. package/dist/components/date-picker-month.js +2 -2
  749. package/dist/components/date-picker.js +2 -2
  750. package/dist/components/date.js +1 -1
  751. package/dist/components/de-at.js +1 -1
  752. package/dist/components/de-ch.js +1 -1
  753. package/dist/components/de.js +1 -1
  754. package/dist/components/debounce.js +1 -1
  755. package/dist/components/dom.js +1 -1
  756. package/dist/components/dropdown.js +5 -6
  757. package/dist/components/el.js +1 -1
  758. package/dist/components/en-au.js +1 -1
  759. package/dist/components/en-ca.js +1 -1
  760. package/dist/components/en-gb.js +1 -1
  761. package/dist/components/es-mx.js +1 -1
  762. package/dist/components/es.js +1 -1
  763. package/dist/components/et.js +1 -1
  764. package/dist/components/fi.js +1 -1
  765. package/dist/components/filter.js +2 -2
  766. package/dist/components/filter2.js +1 -1
  767. package/dist/components/floating-ui.js +1 -1
  768. package/dist/components/focusTrapComponent.js +1 -1
  769. package/dist/components/form.js +1 -1
  770. package/dist/components/fr-ch.js +1 -1
  771. package/dist/components/fr.js +1 -1
  772. package/dist/components/graph.js +2 -2
  773. package/dist/components/guid.js +1 -1
  774. package/dist/components/handle.js +2 -2
  775. package/dist/components/he.js +1 -1
  776. package/dist/components/hi.js +1 -1
  777. package/dist/components/hr.js +1 -1
  778. package/dist/components/hu.js +1 -1
  779. package/dist/components/icon.js +2 -2
  780. package/dist/components/id.js +1 -1
  781. package/dist/components/index.js +1 -1
  782. package/dist/components/index2.js +1 -1
  783. package/dist/components/input-number.js +2 -2
  784. package/dist/components/input-text.js +2 -2
  785. package/dist/components/input.js +2 -2
  786. package/dist/components/interactive.js +1 -1
  787. package/dist/components/it-ch.js +1 -1
  788. package/dist/components/it.js +1 -1
  789. package/dist/components/ja.js +1 -1
  790. package/dist/components/key.js +1 -1
  791. package/dist/components/ko.js +1 -1
  792. package/dist/components/label.js +2 -2
  793. package/dist/components/label2.js +1 -1
  794. package/dist/components/link.js +2 -2
  795. package/dist/components/loadable.js +1 -1
  796. package/dist/components/loader.js +2 -2
  797. package/dist/components/locale.js +1 -1
  798. package/dist/components/lt.js +1 -1
  799. package/dist/components/lv.js +1 -1
  800. package/dist/components/math.js +1 -1
  801. package/dist/components/menu.js +2 -2
  802. package/dist/components/mk.js +1 -1
  803. package/dist/components/nb.js +1 -1
  804. package/dist/components/nl.js +1 -1
  805. package/dist/components/observers.js +1 -1
  806. package/dist/components/openCloseComponent.js +2 -48
  807. package/dist/components/panel.js +2 -2
  808. package/dist/components/pick-list-item.js +2 -2
  809. package/dist/components/pl.js +1 -1
  810. package/dist/components/popover.js +7 -6
  811. package/dist/components/progress.js +2 -2
  812. package/dist/components/pt-br.js +1 -1
  813. package/dist/components/pt.js +1 -1
  814. package/dist/components/resources.js +1 -1
  815. package/dist/components/resources2.js +1 -1
  816. package/dist/components/resources3.js +1 -1
  817. package/dist/components/ro.js +1 -1
  818. package/dist/components/ru.js +1 -1
  819. package/dist/components/scrim.js +2 -2
  820. package/dist/components/shared-list-render.js +1 -1
  821. package/dist/components/sk.js +1 -1
  822. package/dist/components/sl.js +1 -1
  823. package/dist/components/sortableComponent.js +1 -1
  824. package/dist/components/sr.js +1 -1
  825. package/dist/components/stack.js +2 -2
  826. package/dist/components/sv.js +1 -1
  827. package/dist/components/switch.js +2 -2
  828. package/dist/components/t9n.js +1 -1
  829. package/dist/components/tab-nav.js +2 -2
  830. package/dist/components/tab-title.js +2 -2
  831. package/dist/components/tab.js +2 -2
  832. package/dist/components/tabs.js +2 -2
  833. package/dist/components/th.js +1 -1
  834. package/dist/components/throttle.js +1 -1
  835. package/dist/components/tile.js +2 -2
  836. package/dist/components/time-picker.js +2 -2
  837. package/dist/components/tooltip.js +7 -6
  838. package/dist/components/tr.js +1 -1
  839. package/dist/components/uk.js +1 -1
  840. package/dist/components/utils.js +1 -1
  841. package/dist/components/utils2.js +1 -1
  842. package/dist/components/utils3.js +1 -1
  843. package/dist/components/vi.js +1 -1
  844. package/dist/components/zh-cn.js +1 -1
  845. package/dist/components/zh-hk.js +1 -1
  846. package/dist/components/zh-tw.js +1 -1
  847. package/dist/esm/{ExpandToggle-5405d8a5.js → ExpandToggle-caead9f6.js} +8 -8
  848. package/dist/esm/{FloatingArrow-2b835813.js → FloatingArrow-5d101aaf.js} +2 -2
  849. package/dist/esm/{Heading-b46e140e.js → Heading-8d3f022c.js} +2 -2
  850. package/dist/esm/{app-globals-e7dc41fc.js → app-globals-fc7421dc.js} +2 -2
  851. package/dist/esm/{ar-777b574c.js → ar-55e581e1.js} +15 -15
  852. package/dist/esm/{array-4a482e40.js → array-163d34d6.js} +1 -1
  853. package/dist/esm/{bg-a080aac2.js → bg-8a33f110.js} +15 -15
  854. package/dist/esm/{bs-18bf4cfb.js → bs-289f85d8.js} +15 -15
  855. package/dist/esm/{ca-84ad4003.js → ca-58753859.js} +15 -15
  856. package/dist/esm/calcite-accordion_2.entry.js +9 -9
  857. package/dist/esm/calcite-action-bar.entry.js +17 -17
  858. package/dist/esm/calcite-action-group.entry.js +17 -16
  859. package/dist/esm/calcite-action-menu.entry.js +10 -10
  860. package/dist/esm/calcite-action-pad.entry.js +16 -16
  861. package/dist/esm/calcite-action.entry.js +12 -12
  862. package/dist/esm/calcite-alert.entry.js +15 -16
  863. package/dist/esm/calcite-avatar.entry.js +7 -7
  864. package/dist/esm/calcite-block_2.entry.js +15 -15
  865. package/dist/esm/calcite-button.entry.js +14 -14
  866. package/dist/esm/calcite-card.entry.js +11 -11
  867. package/dist/esm/calcite-checkbox.entry.js +11 -11
  868. package/dist/esm/calcite-chip-group.entry.js +9 -9
  869. package/dist/esm/calcite-chip.entry.js +13 -13
  870. package/dist/esm/calcite-color-picker_3.entry.js +18 -18
  871. package/dist/esm/calcite-combobox_3.entry.js +23 -24
  872. package/dist/esm/calcite-date-picker_4.entry.js +17 -17
  873. package/dist/esm/calcite-dropdown_3.entry.js +17 -18
  874. package/dist/esm/calcite-fab.entry.js +8 -8
  875. package/dist/esm/calcite-filter.entry.js +14 -14
  876. package/dist/esm/calcite-flow-item.entry.js +13 -13
  877. package/dist/esm/calcite-flow.entry.js +5 -5
  878. package/dist/esm/calcite-graph_2.entry.js +15 -15
  879. package/dist/esm/calcite-handle.entry.js +11 -11
  880. package/dist/esm/calcite-icon.entry.js +7 -7
  881. package/dist/esm/calcite-inline-editable.entry.js +13 -13
  882. package/dist/esm/calcite-input-date-picker.entry.js +23 -22
  883. package/dist/esm/calcite-input-message.entry.js +6 -6
  884. package/dist/esm/calcite-input-number.entry.js +14 -14
  885. package/dist/esm/calcite-input-text.entry.js +14 -14
  886. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-d9c5d5a7.js → calcite-input-time-picker.calcite-time-picker-096695f9.js} +62 -62
  887. package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
  888. package/dist/esm/calcite-input.entry.js +14 -14
  889. package/dist/esm/calcite-label.entry.js +7 -7
  890. package/dist/esm/calcite-link.entry.js +8 -8
  891. package/dist/esm/calcite-list_3.entry.js +25 -18
  892. package/dist/esm/calcite-loader.entry.js +4 -4
  893. package/dist/esm/calcite-menu_2.entry.js +18 -14
  894. package/dist/esm/calcite-modal.entry.js +18 -17
  895. package/dist/esm/calcite-navigation_3.entry.js +9 -9
  896. package/dist/esm/calcite-notice.entry.js +13 -13
  897. package/dist/esm/calcite-option_3.entry.js +13 -13
  898. package/dist/esm/calcite-pagination.entry.js +11 -11
  899. package/dist/esm/calcite-panel.entry.js +15 -15
  900. package/dist/esm/calcite-pick-list_3.entry.js +19 -19
  901. package/dist/esm/calcite-popover.entry.js +21 -20
  902. package/dist/esm/calcite-progress.entry.js +3 -3
  903. package/dist/esm/calcite-radio-button-group.entry.js +5 -5
  904. package/dist/esm/calcite-radio-button.entry.js +11 -11
  905. package/dist/esm/calcite-rating.entry.js +14 -14
  906. package/dist/esm/calcite-scrim.entry.js +10 -10
  907. package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
  908. package/dist/esm/calcite-shell_3.entry.js +14 -14
  909. package/dist/esm/calcite-sortable-list.entry.js +9 -9
  910. package/dist/esm/calcite-split-button.entry.js +5 -5
  911. package/dist/esm/calcite-stack.entry.js +7 -7
  912. package/dist/esm/calcite-stepper_2.entry.js +12 -12
  913. package/dist/esm/calcite-switch.entry.js +11 -11
  914. package/dist/esm/calcite-tab_4.entry.js +14 -14
  915. package/dist/esm/calcite-text-area.entry.js +16 -16
  916. package/dist/esm/calcite-tile-select_2.entry.js +7 -7
  917. package/dist/esm/calcite-tile.entry.js +9 -9
  918. package/dist/esm/calcite-tip_3.entry.js +14 -14
  919. package/dist/esm/calcite-tooltip.entry.js +14 -13
  920. package/dist/esm/calcite-tree_2.entry.js +10 -10
  921. package/dist/esm/calcite-value-list_2.entry.js +18 -18
  922. package/dist/esm/calcite.js +6 -6
  923. package/dist/esm/{conditionalSlot-12c7d8f0.js → conditionalSlot-3c7f89d4.js} +3 -3
  924. package/dist/esm/{cs-2d5d3274.js → cs-75147414.js} +15 -15
  925. package/dist/esm/{da-0848bc00.js → da-79a85da5.js} +15 -15
  926. package/dist/esm/{de-d159611b.js → de-718cf12b.js} +15 -15
  927. package/dist/esm/{de-at-56b3911c.js → de-at-891cd707.js} +15 -15
  928. package/dist/esm/{de-ch-64ca76c4.js → de-ch-342d65fc.js} +15 -15
  929. package/dist/esm/{debounce-59750f00.js → debounce-e51a441f.js} +1 -1
  930. package/dist/esm/{dom-d1da6122.js → dom-45852edb.js} +3 -3
  931. package/dist/esm/{el-51535553.js → el-0da7bdf2.js} +15 -15
  932. package/dist/esm/{en-au-f47f8307.js → en-au-637f96bd.js} +15 -15
  933. package/dist/esm/{en-ca-a493ca99.js → en-ca-3621273a.js} +15 -15
  934. package/dist/esm/{en-gb-e0e03877.js → en-gb-56138796.js} +15 -15
  935. package/dist/esm/{es-4c308e44.js → es-d7c9f3a1.js} +15 -15
  936. package/dist/esm/{es-mx-2668159c.js → es-mx-2a5059d6.js} +15 -15
  937. package/dist/esm/{et-871204c9.js → et-d3792ffb.js} +15 -15
  938. package/dist/esm/{fi-14c8efd9.js → fi-d92d7d89.js} +15 -15
  939. package/dist/esm/{filter-ffef116d.js → filter-8a84e668.js} +2 -2
  940. package/dist/esm/{floating-ui-b297bb6b.js → floating-ui-fb5e0df6.js} +3 -3
  941. package/dist/esm/{focusTrapComponent-e6edc68c.js → focusTrapComponent-d9b7bf57.js} +2 -2
  942. package/dist/esm/{form-bd7b1a6e.js → form-dc7864a8.js} +3 -3
  943. package/dist/esm/{fr-ch-2c0928b4.js → fr-ch-716b5628.js} +15 -15
  944. package/dist/esm/{fr-82c619cf.js → fr-dd019b54.js} +15 -15
  945. package/dist/esm/{guid-8e9582a2.js → guid-0d38c61a.js} +1 -1
  946. package/dist/esm/{he-a3be4833.js → he-034ea36a.js} +15 -15
  947. package/dist/esm/{hi-518fc5c5.js → hi-133b4944.js} +15 -15
  948. package/dist/esm/{hr-331d1cc4.js → hr-7ff3f381.js} +15 -15
  949. package/dist/esm/{hu-0f720309.js → hu-453419c4.js} +15 -15
  950. package/dist/esm/{id-6639da1a.js → id-2646f5d9.js} +15 -15
  951. package/dist/esm/{index-cda1ca74.js → index-05a0bdf0.js} +1 -1
  952. package/dist/esm/index.js +2 -2
  953. package/dist/esm/{interactive-d78614c9.js → interactive-cc5c9738.js} +1 -1
  954. package/dist/esm/{it-ch-3b3fbdb8.js → it-ch-31177042.js} +15 -15
  955. package/dist/esm/{it-916f3d29.js → it-f4965661.js} +15 -15
  956. package/dist/esm/{ja-dd03617d.js → ja-ad74d106.js} +15 -15
  957. package/dist/esm/{key-c86a17b6.js → key-ce4be47c.js} +1 -1
  958. package/dist/esm/{ko-24dd4b1d.js → ko-d5b187ce.js} +15 -15
  959. package/dist/esm/{label-1c9dbf79.js → label-6f2e465c.js} +2 -2
  960. package/dist/esm/{loadable-fae9f16c.js → loadable-afff44f9.js} +2 -2
  961. package/dist/esm/loader.js +6 -6
  962. package/dist/esm/{locale-e86ad55a.js → locale-de40301f.js} +4 -4
  963. package/dist/esm/{lt-24b05756.js → lt-8e01b00a.js} +15 -15
  964. package/dist/esm/{lv-6499bdbd.js → lv-18eba673.js} +15 -15
  965. package/dist/esm/{math-9ec2d771.js → math-26a0302f.js} +1 -1
  966. package/dist/esm/{mk-1a4170bf.js → mk-e4f89d00.js} +15 -15
  967. package/dist/esm/{nb-c8d23531.js → nb-99e69ee8.js} +15 -15
  968. package/dist/esm/{nl-b0d36ba8.js → nl-e7f2e35a.js} +15 -15
  969. package/dist/esm/{observers-0bb9eeec.js → observers-9d56063c.js} +1 -1
  970. package/dist/esm/openCloseComponent-de566f2d.js +45 -0
  971. package/dist/esm/{pl-ecac43c1.js → pl-6794153e.js} +15 -15
  972. package/dist/esm/{pt-753d88c3.js → pt-77c57619.js} +15 -15
  973. package/dist/esm/{pt-br-b1f87983.js → pt-br-5baae28f.js} +15 -15
  974. package/dist/esm/{resources-e0b00aa2.js → resources-465818a6.js} +1 -1
  975. package/dist/esm/{resources-21ce6736.js → resources-4e0549a1.js} +1 -1
  976. package/dist/esm/{resources-4aa4ff78.js → resources-614ea764.js} +1 -1
  977. package/dist/esm/{resources-04b78cff.js → resources-843859fe.js} +1 -1
  978. package/dist/esm/{resources-05a7766b.js → resources-96ca6ff7.js} +1 -1
  979. package/dist/esm/{resources-abfe6e08.js → resources-b1acb80e.js} +5 -5
  980. package/dist/esm/{resources-b1314051.js → resources-dd8ddbb9.js} +1 -1
  981. package/dist/esm/{ro-02b53b41.js → ro-3fa5b043.js} +15 -15
  982. package/dist/esm/{ru-a806736a.js → ru-20e77bff.js} +15 -15
  983. package/dist/esm/{sk-b288d781.js → sk-1dc1d56e.js} +15 -15
  984. package/dist/esm/{sl-518163fb.js → sl-9b11f199.js} +15 -15
  985. package/dist/esm/{sortableComponent-f9a4ed50.js → sortableComponent-07194492.js} +2 -2
  986. package/dist/esm/{sr-9b46ea34.js → sr-79eb0986.js} +15 -15
  987. package/dist/esm/{sv-558f913f.js → sv-f0a0f8d8.js} +15 -15
  988. package/dist/esm/{t9n-fc5d5fae.js → t9n-1c391196.js} +3 -3
  989. package/dist/esm/{th-bd5f4c7c.js → th-93df8a7e.js} +15 -15
  990. package/dist/esm/{throttle-a11162d4.js → throttle-3b6e78ac.js} +2 -2
  991. package/dist/esm/{tr-01ecc9a6.js → tr-e7e40330.js} +15 -15
  992. package/dist/esm/{uk-f6c52e83.js → uk-71640fec.js} +15 -15
  993. package/dist/esm/{utils-09258c76.js → utils-388ce318.js} +1 -1
  994. package/dist/esm/{utils-f1ccdc46.js → utils-50028328.js} +3 -3
  995. package/dist/esm/{vi-9c41db37.js → vi-7e685c59.js} +15 -15
  996. package/dist/esm/{zh-cn-8f7c16bf.js → zh-cn-b10aee48.js} +15 -15
  997. package/dist/esm/{zh-hk-7245ebd9.js → zh-hk-7fd735cf.js} +15 -15
  998. package/dist/esm/{zh-tw-c4ea507a.js → zh-tw-db3ff84b.js} +15 -15
  999. package/dist/extras/docs-json.json +23 -1
  1000. package/dist/extras/vscode-data.json +12 -0
  1001. package/dist/loader/cdn.js +1 -1
  1002. package/dist/loader/index.cjs.js +1 -1
  1003. package/dist/loader/index.es2017.js +1 -1
  1004. package/dist/loader/index.js +1 -1
  1005. package/dist/types/components/action-group/action-group.d.ts +9 -0
  1006. package/dist/types/components/functional/ExpandToggle.d.ts +2 -2
  1007. package/dist/types/components/input-time-picker/input-time-picker.d.ts +2 -2
  1008. package/dist/types/components/menu-item/menu-item.d.ts +1 -0
  1009. package/dist/types/components/modal/modal.d.ts +1 -0
  1010. package/dist/types/components/modal/resources.d.ts +0 -1
  1011. package/dist/types/components.d.ts +9 -1
  1012. package/dist/types/index.d.ts +1 -0
  1013. package/dist/types/utils/locale.d.ts +2 -2
  1014. package/hydrate/index.js +147 -179
  1015. package/package.json +3 -3
  1016. package/dist/calcite/p-07ccd1d7.entry.js +0 -6
  1017. package/dist/calcite/p-0931bd24.entry.js +0 -6
  1018. package/dist/calcite/p-0d4c1cae.entry.js +0 -6
  1019. package/dist/calcite/p-0fa08818.entry.js +0 -6
  1020. package/dist/calcite/p-127f1ad0.entry.js +0 -6
  1021. package/dist/calcite/p-1c1e20fa.entry.js +0 -6
  1022. package/dist/calcite/p-217fe239.entry.js +0 -6
  1023. package/dist/calcite/p-23c147c9.js +0 -6
  1024. package/dist/calcite/p-26cb3af3.entry.js +0 -6
  1025. package/dist/calcite/p-28aaa9c4.entry.js +0 -6
  1026. package/dist/calcite/p-2a68dcf7.entry.js +0 -6
  1027. package/dist/calcite/p-2cb3fb75.js +0 -6
  1028. package/dist/calcite/p-2cd2a5b9.entry.js +0 -6
  1029. package/dist/calcite/p-2ebdacc9.js +0 -6
  1030. package/dist/calcite/p-30b2ac2c.entry.js +0 -6
  1031. package/dist/calcite/p-31b9a774.entry.js +0 -6
  1032. package/dist/calcite/p-3307ec7b.entry.js +0 -6
  1033. package/dist/calcite/p-37eb4e52.entry.js +0 -6
  1034. package/dist/calcite/p-4201983b.entry.js +0 -6
  1035. package/dist/calcite/p-44086a13.entry.js +0 -6
  1036. package/dist/calcite/p-4c035904.entry.js +0 -6
  1037. package/dist/calcite/p-4ec26d66.entry.js +0 -6
  1038. package/dist/calcite/p-4f583533.entry.js +0 -6
  1039. package/dist/calcite/p-5182c334.entry.js +0 -6
  1040. package/dist/calcite/p-5587a5d7.entry.js +0 -6
  1041. package/dist/calcite/p-5698f991.entry.js +0 -6
  1042. package/dist/calcite/p-573a5d4b.entry.js +0 -6
  1043. package/dist/calcite/p-58e2ce85.entry.js +0 -6
  1044. package/dist/calcite/p-59d17248.entry.js +0 -6
  1045. package/dist/calcite/p-5a817605.entry.js +0 -6
  1046. package/dist/calcite/p-5d3325a7.entry.js +0 -6
  1047. package/dist/calcite/p-5e81b276.entry.js +0 -6
  1048. package/dist/calcite/p-60aa77d7.entry.js +0 -6
  1049. package/dist/calcite/p-61a37689.js +0 -6
  1050. package/dist/calcite/p-62a7be17.entry.js +0 -6
  1051. package/dist/calcite/p-67b9c68c.entry.js +0 -6
  1052. package/dist/calcite/p-6cb67381.entry.js +0 -6
  1053. package/dist/calcite/p-6f65dcda.entry.js +0 -6
  1054. package/dist/calcite/p-718c9619.entry.js +0 -6
  1055. package/dist/calcite/p-797b722f.js +0 -6
  1056. package/dist/calcite/p-7d805db4.entry.js +0 -6
  1057. package/dist/calcite/p-7f674e7e.entry.js +0 -6
  1058. package/dist/calcite/p-80c88d1e.entry.js +0 -6
  1059. package/dist/calcite/p-81ad4d8e.entry.js +0 -6
  1060. package/dist/calcite/p-82f679f1.entry.js +0 -6
  1061. package/dist/calcite/p-879a364b.js +0 -6
  1062. package/dist/calcite/p-8fa5cca3.js +0 -6
  1063. package/dist/calcite/p-947f4cd0.entry.js +0 -6
  1064. package/dist/calcite/p-9c03b497.js +0 -6
  1065. package/dist/calcite/p-9e5880e2.js +0 -6
  1066. package/dist/calcite/p-a252d201.entry.js +0 -6
  1067. package/dist/calcite/p-a3efff33.entry.js +0 -6
  1068. package/dist/calcite/p-a83ebc5e.entry.js +0 -6
  1069. package/dist/calcite/p-b31a9948.entry.js +0 -6
  1070. package/dist/calcite/p-b873d58d.entry.js +0 -6
  1071. package/dist/calcite/p-c0f937cb.entry.js +0 -6
  1072. package/dist/calcite/p-c306a3af.entry.js +0 -6
  1073. package/dist/calcite/p-c3c330a6.entry.js +0 -6
  1074. package/dist/calcite/p-ca8a843a.entry.js +0 -6
  1075. package/dist/calcite/p-d25a54a8.entry.js +0 -6
  1076. package/dist/calcite/p-d2e9ee70.entry.js +0 -6
  1077. package/dist/calcite/p-d352ca74.js +0 -6
  1078. package/dist/calcite/p-d7c47127.entry.js +0 -6
  1079. package/dist/calcite/p-dc983cd5.js +0 -6
  1080. package/dist/calcite/p-e6716051.entry.js +0 -6
  1081. package/dist/calcite/p-e8a02648.entry.js +0 -6
  1082. package/dist/calcite/p-ea294861.entry.js +0 -6
  1083. package/dist/calcite/p-ee725990.entry.js +0 -6
  1084. package/dist/calcite/p-eed60db7.entry.js +0 -6
  1085. package/dist/calcite/p-f263e047.entry.js +0 -6
  1086. package/dist/calcite/p-f5066d95.entry.js +0 -6
  1087. package/dist/calcite/p-f6d70daa.entry.js +0 -6
  1088. package/dist/calcite/p-f76b8215.entry.js +0 -6
  1089. package/dist/calcite/p-fe73d538.entry.js +0 -6
  1090. package/dist/calcite/p-feae623c.entry.js +0 -6
  1091. package/dist/calcite/p-ffa21728.entry.js +0 -6
  1092. package/dist/calcite/p-ffc9569e.js +0 -6
  1093. package/dist/esm/openCloseComponent-3e1fc85e.js +0 -91
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
+ * v1.5.0-next.27
5
+ */
6
+ import{r as t,c as i,h as e,a}from"./p-7650efdd.js";import{c as n,u as s,d as o}from"./p-a152f006.js";import{c as l,s as c,a as r}from"./p-d4b56ea4.js";const d=class{constructor(e){t(this,e),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6),this.calciteSplitButtonPrimaryClickHandler=()=>this.calciteSplitButtonPrimaryClick.emit(),this.calciteSplitButtonSecondaryClickHandler=()=>this.calciteSplitButtonSecondaryClick.emit(),this.appearance="solid",this.kind="brand",this.disabled=!1,this.active=!1,this.dropdownIconType="chevron",this.dropdownLabel=void 0,this.loading=!1,this.overlayPositioning="absolute",this.primaryIconEnd=void 0,this.primaryIconFlipRtl=void 0,this.primaryIconStart=void 0,this.primaryLabel=void 0,this.primaryText=void 0,this.scale="m",this.width="auto"}handleDisabledChange(t){t||(this.active=!1)}activeHandler(){this.disabled&&(this.active=!1)}async setFocus(){await l(this),this.el.focus()}connectedCallback(){n(this)}componentWillLoad(){c(this)}componentDidLoad(){r(this)}componentDidRender(){s(this)}disconnectedCallback(){o(this)}render(){return e("div",{class:{"split-button__container":!0,"width-auto":"auto"===this.width,"width-half":"half"===this.width,"width-full":"full"===this.width}},e("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,kind:this.kind,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:"auto"===this.width?"auto":"full"},this.primaryText),e("div",{class:"split-button__divider-container"},e("div",{class:"split-button__divider"})),e("calcite-dropdown",{disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,open:this.active,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,width:this.scale},e("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-start":this.dropdownIcon,kind:this.kind,label:this.dropdownLabel,scale:this.scale,slot:"trigger",splitChild:"secondary",type:"button"}),e("slot",null)))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};d.style=":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:inline-block}:host .split-button__container{display:flex;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host:host([kind=brand]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([kind=danger]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([kind=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host:host([kind=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1);--calcite-split-button-background:transparent}:host([appearance=outline]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline-fill]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:flex;inline-size:1px;align-items:stretch;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]) .split-button__divider-container,:host([appearance=outline]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline-fill]):hover .split-button__divider-container,:host([appearance=outline]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:hover) .split-button__divider-container,:host([appearance=outline]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline-fill]:focus-within) .split-button__divider-container,:host([appearance=outline]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{d as calcite_split_button}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
+ * v1.5.0-next.27
5
+ */
6
+ import{r as a,h as e,H as i,a as r}from"./p-7650efdd.js";import{g as t}from"./p-31f85f74.js";const n=class{constructor(e){a(this,e),this.inline=!1,this.label=void 0,this.scale="m",this.type=void 0,this.value=0,this.text=""}render(){const{el:a,inline:r,label:n,scale:o,text:l,type:s,value:c}=this,d=a.id||t(),m=r?this.getInlineSize(o):this.getSize(o),v=.45*m,f=`0 0 ${m} ${m}`,g="determinate"===s,h=2*v*Math.PI,k=c/100*h,u=h-k,z=Math.floor(c),p={r:v,cx:m/2,cy:m/2},_={"stroke-dasharray":`${k} ${u}`};return e(i,{"aria-label":n,id:d,role:"progressbar",...g?{"aria-valuenow":z,"aria-valuemin":0,"aria-valuemax":100,complete:100===z}:{}},e("div",{class:"loader__svgs"},e("svg",{"aria-hidden":"true",class:"loader__svg loader__svg--1",viewBox:f},e("circle",{...p})),e("svg",{"aria-hidden":"true",class:"loader__svg loader__svg--2",viewBox:f},e("circle",{...p})),e("svg",{"aria-hidden":"true",class:"loader__svg loader__svg--3",viewBox:f,...g?{style:_}:{}},e("circle",{...p}))),l&&e("div",{class:"loader__text"},l),g&&e("div",{class:"loader__percentage"},c))}getSize(a){return{s:32,m:56,l:80}[a]}getInlineSize(a){return{s:12,m:16,l:20}[a]}get el(){return r(this)}};n.style='@charset "UTF-8";@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{position:relative;margin-inline:auto;display:none;align-items:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;transform:scale(1, 1);animation:loader-color-shift calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem)}:host([scale=s]){--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}:host([scale=m]){--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}:host([scale=l]){--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem}:host([no-padding]){padding-block:0px}:host{display:flex}.loader__text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}.loader__percentage{position:absolute;display:block;text-align:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;transform:scale(1, 1)}.loader__svgs{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);transform:scale(1, 1)}.loader__svg{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);animation-iteration-count:infinite;animation-timing-function:linear;animation-name:loader-clockwise}@supports (display: grid){.loader__svg--1{animation-name:loader-offset-1}.loader__svg--2{animation-name:loader-offset-2}.loader__svg--3{animation-name:loader-offset-3}}:host([type=determinate]){animation:none;stroke:var(--calcite-ui-border-3)}:host([type=determinate]) .loader__svg--3{animation:none;stroke:var(--calcite-ui-brand);stroke-dasharray:150.79632;transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}:host([inline]){position:relative;margin:0px;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}:host([inline]) .loader__svgs{inset-block-start:0px;margin:0px;inset-inline-start:0;inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([inline]) .loader__svg{inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([complete]){opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms}:host([complete]) .loader__svgs{opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms}:host([complete]) .loader__percentage{color:var(--calcite-ui-brand);transform:scale(1.05, 1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear}.loader__svg--1{stroke-dasharray:27.9252444444% 139.6262222222%;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2.4 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}.loader__svg--2{stroke-dasharray:55.8504888889% 139.6262222222%;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 3.2 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}.loader__svg--3{stroke-dasharray:13.9626222222% 139.6262222222%;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 3.867 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@keyframes loader-clockwise{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host([hidden]){display:none}[hidden]{display:none}';export{n as calcite_loader}
@@ -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-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.25
4
+ * v1.5.0-next.27
5
5
  */
6
- import{g as t}from"./p-ccbf1c9b.js";import{d as i,g as s,t as n}from"./p-3e299169.js";import{d as e}from"./p-8f0a674a.js";import{h as a,H as o}from"./p-ec2818f4.js";const c={heading:"heading",container:"container",indented:"container--indented"},r={parentItem:"parent-item"};function l(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const h=["ArrowUp","ArrowDown"];function u(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=e(F.bind(this),0),this.emitCalciteListFilter=e(A.bind(this),0)}function f(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}function d(){this.mutationObserver?.disconnect()}function m(t){const{selectedValues:s}=this,{item:n,value:e,selected:a,shiftPressed:o}=t.detail;a?(this.multiple&&o&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),s.set(e,n)):(s.delete(e),this.multiple&&o&&this.selectSiblings(n,!0)),this.multiple||(y(n,a),a&&i(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function p(t){const i=t.detail.oldValue,s=this.selectedValues;if(s.has(i)){const n=s.get(i);s.delete(i),s.set(t.detail.newValue,n)}t.stopPropagation()}function g(t){const{el:i,items:s,multiple:n,selectedValues:e}=this;n||i.contains(t.relatedTarget)||x(s).forEach((i=>{y(i,0===e.size?i.contains(t.target)||t.target===i:i.selected)}))}function v(t){const{key:s,target:n}=t;if(!function(t){return!!h.find((i=>i===t))}(s))return;const{items:e,multiple:a,selectionFollowsFocus:o}=this,{length:c}=e,r=e.indexOf(n);if(!c||-1===r)return;t.preventDefault();const l=e[b(this,n,"ArrowUp"===s?"up":"down")];e.forEach((t=>y(t,t===l))),!a&&o&&(l.selected=!0),i(l)}function b(i,s,n){const{items:e}=i,{length:a}=e,o=e.indexOf(s),c="up"===n?-1:1;let r=1,l=t(o+c*r++,a);const h=l;for(;e[l].disabled&&(l=t(o+c*r++,a),l!==h););return l}function w(t,i){const{items:s}=t;return s.indexOf(i)}function x(t){return t.filter((t=>!t.disabled))}function A(){this.calciteListFilter.emit()}function F(){this.calciteListChange.emit(this.selectedValues)}function E(t){if(t.defaultPrevented)return;const i=t.target,s=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===i.parentElement.tagName&&i.slot===r.parentItem?(i.parentElement.remove(),Array.from(i.parentElement.children).forEach((t=>s.delete(t.value)))):(i.remove(),s.delete(i.value)),this.emitCalciteListChange()}function y(t,i){t.disabled||(i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function C(t){if(this.filterEnabled&&"filter"===t)return void await i(this.filterEl);const{items:s,multiple:n,selectionFollowsFocus:e}=this;if(0===s.length)return;if(n)return x(s)[0]?.setFocus();const a=x(s),o=a.find((t=>t.selected))||a[0];return e&&o&&(o.selected=!0),o.setFocus()}function k(t){this.items=Array.from(this.el.querySelectorAll(t));let i=!1;const{items:s}=this;s.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.deselectDisabled=!0,y(t,!1)),t.selected&&(i=!0,y(t,!0),this.selectedValues.set(t.value,t))}));const[n]=s;i||!n||n.disabled||y(n,!0)}function I(){const t=this.selectedValues,i=this.items.map((({value:t})=>t));t.forEach((t=>{i.includes(t.value)||this.selectedValues.delete(t.value)}))}function j(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function S(t,i=!1){if(!this.lastSelectedItem)return;const{items:s}=this,n=s.findIndex((t=>t.value===this.lastSelectedItem.value)),e=s.findIndex((i=>i.value===t.value));s.slice(Math.min(n,e),Math.max(n,e)).forEach((t=>{t.toggleSelected(!i),i?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let L;function P(t=!1){const{filteredData:i,filterText:n}=this,e=i.map((t=>t.value));let a=!1;L||(L=new Set);const o=this.items?.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&L.add(i);const s=!n||e.includes(t.value);return t.hidden=!s,a||(a=s&&t.selected),s}))||[];L.forEach((t=>{const i=o.some((i=>t.contains(i)));if(t.hidden=!i,!i)return;const n=s(t,"parent-item");n&&(n.hidden=!1,o.includes(n)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),L.clear(),o.length>0&&!a&&!this.multiple&&y(o[0],!0),this.setFilteredItems(o),t&&this.emitCalciteListFilter()}function T(){const t=this.filterEl?.filteredItems;t&&(this.filteredData=t),this.handleFilter()}function D(t){t.stopPropagation();const{filteredItems:i,value:s}=t.currentTarget;this.filterText=s,this.filteredData=i,this.handleFilter(!0)}function U(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var q;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(q||(q={}));const M=({props:{disabled:t,loading:i,filterEnabled:s,dataForFilter:e,handleFilterEvent:c,filterPlaceholder:r,filterText:l,setFilterEl:h,dragEnabled:u,storeAssistiveEl:f},...d})=>{const m=a("slot",null);return a(o,{"aria-busy":n(i),role:"menu",...d},a("section",null,u?a("span",{"aria-live":"assertive",class:"assistive-text",ref:f}):null,a("header",{class:{"sticky-pos":!0}},s?a("calcite-filter",{"aria-label":r,disabled:i||t,items:e,onCalciteFilterChange:c,placeholder:r,value:l,ref:h}):null,a("slot",{name:"menu-actions"})),i?a("calcite-scrim",{loading:i}):null,m))},V={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},G={checked:"check",remove:"x"},H={actionsEnd:"actions-end",actionsStart:"actions-start"};export{V as C,q as I,M as L,H as S,j as a,D as b,U as c,I as d,b as e,f,w as g,P as h,u as i,T as j,v as k,d as l,l as m,g as n,m as o,p,k as q,E as r,S as s,C as t,r as u,c as v,G as w}
6
+ import{g as t}from"./p-f6072095.js";import{d as i,g as s,t as n}from"./p-83a2dc88.js";import{d as e}from"./p-d8a7a381.js";import{h as a,H as o}from"./p-7650efdd.js";const c={heading:"heading",container:"container",indented:"container--indented"},r={parentItem:"parent-item"};function l(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const h=["ArrowUp","ArrowDown"];function u(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=e(F.bind(this),0),this.emitCalciteListFilter=e(A.bind(this),0)}function d(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}function f(){this.mutationObserver?.disconnect()}function m(t){const{selectedValues:s}=this,{item:n,value:e,selected:a,shiftPressed:o}=t.detail;a?(this.multiple&&o&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),s.set(e,n)):(s.delete(e),this.multiple&&o&&this.selectSiblings(n,!0)),this.multiple||(y(n,a),a&&i(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function p(t){const i=t.detail.oldValue,s=this.selectedValues;if(s.has(i)){const n=s.get(i);s.delete(i),s.set(t.detail.newValue,n)}t.stopPropagation()}function g(t){const{el:i,items:s,multiple:n,selectedValues:e}=this;n||i.contains(t.relatedTarget)||x(s).forEach((i=>{y(i,0===e.size?i.contains(t.target)||t.target===i:i.selected)}))}function v(t){const{key:s,target:n}=t;if(!function(t){return!!h.find((i=>i===t))}(s))return;const{items:e,multiple:a,selectionFollowsFocus:o}=this,{length:c}=e,r=e.indexOf(n);if(!c||-1===r)return;t.preventDefault();const l=e[b(this,n,"ArrowUp"===s?"up":"down")];e.forEach((t=>y(t,t===l))),!a&&o&&(l.selected=!0),i(l)}function b(i,s,n){const{items:e}=i,{length:a}=e,o=e.indexOf(s),c="up"===n?-1:1;let r=1,l=t(o+c*r++,a);const h=l;for(;e[l].disabled&&(l=t(o+c*r++,a),l!==h););return l}function w(t,i){const{items:s}=t;return s.indexOf(i)}function x(t){return t.filter((t=>!t.disabled))}function A(){this.calciteListFilter.emit()}function F(){this.calciteListChange.emit(this.selectedValues)}function E(t){if(t.defaultPrevented)return;const i=t.target,s=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===i.parentElement.tagName&&i.slot===r.parentItem?(i.parentElement.remove(),Array.from(i.parentElement.children).forEach((t=>s.delete(t.value)))):(i.remove(),s.delete(i.value)),this.emitCalciteListChange()}function y(t,i){t.disabled||(i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function C(t){if(this.filterEnabled&&"filter"===t)return void await i(this.filterEl);const{items:s,multiple:n,selectionFollowsFocus:e}=this;if(0===s.length)return;if(n)return x(s)[0]?.setFocus();const a=x(s),o=a.find((t=>t.selected))||a[0];return e&&o&&(o.selected=!0),o.setFocus()}function k(t){this.items=Array.from(this.el.querySelectorAll(t));let i=!1;const{items:s}=this;s.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.deselectDisabled=!0,y(t,!1)),t.selected&&(i=!0,y(t,!0),this.selectedValues.set(t.value,t))}));const[n]=s;i||!n||n.disabled||y(n,!0)}function I(){const t=this.selectedValues,i=this.items.map((({value:t})=>t));t.forEach((t=>{i.includes(t.value)||this.selectedValues.delete(t.value)}))}function j(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function S(t,i=!1){if(!this.lastSelectedItem)return;const{items:s}=this,n=s.findIndex((t=>t.value===this.lastSelectedItem.value)),e=s.findIndex((i=>i.value===t.value));s.slice(Math.min(n,e),Math.max(n,e)).forEach((t=>{t.toggleSelected(!i),i?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let L;function P(t=!1){const{filteredData:i,filterText:n}=this,e=i.map((t=>t.value));let a=!1;L||(L=new Set);const o=this.items?.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&L.add(i);const s=!n||e.includes(t.value);return t.hidden=!s,a||(a=s&&t.selected),s}))||[];L.forEach((t=>{const i=o.some((i=>t.contains(i)));if(t.hidden=!i,!i)return;const n=s(t,"parent-item");n&&(n.hidden=!1,o.includes(n)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),L.clear(),o.length>0&&!a&&!this.multiple&&y(o[0],!0),this.setFilteredItems(o),t&&this.emitCalciteListFilter()}function T(){const t=this.filterEl?.filteredItems;t&&(this.filteredData=t),this.handleFilter()}function D(t){t.stopPropagation();const{filteredItems:i,value:s}=t.currentTarget;this.filterText=s,this.filteredData=i,this.handleFilter(!0)}function U(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var q;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(q||(q={}));const M=({props:{disabled:t,loading:i,filterEnabled:s,dataForFilter:e,handleFilterEvent:c,filterPlaceholder:r,filterText:l,setFilterEl:h,dragEnabled:u,storeAssistiveEl:d},...f})=>{const m=a("slot",null);return a(o,{"aria-busy":n(i),role:"menu",...f},a("section",null,u?a("span",{"aria-live":"assertive",class:"assistive-text",ref:d}):null,a("header",{class:{"sticky-pos":!0}},s?a("calcite-filter",{"aria-label":r,disabled:i||t,items:e,onCalciteFilterChange:c,placeholder:r,value:l,ref:h}):null,a("slot",{name:"menu-actions"})),i?a("calcite-scrim",{loading:i}):null,m))},V={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},G={checked:"check",remove:"x"},H={actionsEnd:"actions-end",actionsStart:"actions-start"};export{V as C,q as I,M as L,H as S,j as a,D as b,U as c,I as d,b as e,d as f,w as g,P as h,u as i,T as j,v as k,f as l,l as m,g as n,m as o,p,k as q,E as r,S as s,C as t,r as u,c as v,G as w}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
+ * v1.5.0-next.27
5
+ */
6
+ import{r as t,c as e,h as s,H as i,a as o}from"./p-7650efdd.js";import{b as a}from"./p-83a2dc88.js";import{c as l,u as n,d as c}from"./p-a152f006.js";import{s as r,a as d,c as h}from"./p-d4b56ea4.js";import{c as p,d as m}from"./p-f886c4dd.js";import{c as b,s as f,d as u,u as g}from"./p-4bdfdc2f.js";import{S as v}from"./p-ab7e6181.js";import"./p-31f85f74.js";import"./p-c339384e.js";import"./p-53ae5888.js";import"./p-50d5cdd5.js";const k=class{constructor(s){t(this,s),this.calciteFlowItemBack=e(this,"calciteFlowItemBack",6),this.calciteFlowItemScroll=e(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=e(this,"calciteFlowItemClose",6),this.handlePanelScroll=t=>{t.stopPropagation(),this.calciteFlowItemScroll.emit()},this.handlePanelClose=t=>{t.stopPropagation(),this.calciteFlowItemClose.emit()},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.setContainerRef=t=>{this.containerEl=t},this.closable=!1,this.closed=!1,this.beforeBack=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.showBackButton=!1,this.backButtonEl=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){l(this),p(this),b(this)}async componentWillLoad(){await f(this),r(this)}componentDidRender(){n(this)}disconnectedCallback(){c(this),m(this),u(this)}componentDidLoad(){d(this)}effectiveLocaleChange(){g(this,this.effectiveLocale)}async setFocus(){await h(this);const{backButtonEl:t,containerEl:e}=this;return t?t.setFocus():e?e.setFocus():void 0}async scrollContentTo(t){await(this.containerEl?.scrollContentTo(t))}renderBackButton(){const{el:t}=this,e="rtl"===a(t),{showBackButton:i,backButtonClick:o,messages:l}=this,n=l.back;return i?s("calcite-action",{"aria-label":n,class:"back-button",icon:e?"chevron-right":"chevron-left",key:"flow-back-button",onClick:o,scale:"s",slot:"header-actions-start",text:n,ref:this.setBackRef}):null}render(){const{closable:t,closed:e,description:o,disabled:a,heading:l,headingLevel:n,loading:c,menuOpen:r,messages:d,backButtonEl:h}=this,p=d.back;return s(i,null,s("calcite-panel",{closable:t,closed:e,description:o,disabled:a,heading:l,headingLevel:n,loading:c,menuOpen:r,messageOverrides:d,onCalcitePanelClose:this.handlePanelClose,onCalcitePanelScroll:this.handlePanelScroll,ref:this.setContainerRef},this.renderBackButton(),s("slot",{name:"action-bar",slot:v.actionBar}),s("slot",{name:"header-actions-start",slot:v.headerActionsStart}),s("slot",{name:"header-actions-end",slot:v.headerActionsEnd}),s("slot",{name:"header-content",slot:v.headerContent}),s("slot",{name:"header-menu-actions",slot:v.headerMenuActions}),s("slot",{name:"fab",slot:v.fab}),s("slot",{name:"footer-actions",slot:v.footerActions}),s("slot",{name:"footer",slot:v.footer}),s("slot",null)),h?s("calcite-tooltip",{closeOnClick:!0,label:p,overlayPositioning:"fixed",placement:"top",referenceElement:h},p):null)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.style=":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}: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:flex;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-flow-item-footer-padding:0.5rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding)}:host([hidden]){display:none}[hidden]{display:none}";export{k as calcite_flow_item}
@@ -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-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.25
4
+ * v1.5.0-next.27
5
5
  */
6
- import{b as t}from"./p-3e299169.js";import{d as n}from"./p-8f0a674a.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:c}=t;const s=l.x+l.width/2-c.width/2,f=l.y+l.height/2-c.height/2,u=i(n),d=o(u),m=l[d]/2-c[d]/2,p="x"===u;let y;switch(r(n)){case"top":y={x:s,y:l.y-c.height};break;case"bottom":y={x:s,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:f};break;case"left":y={x:l.x-c.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,n){return"function"==typeof t?t(n):t}function c(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 f(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:f,strategy:u}=t,{boundary:d="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:y=!1,padding:g=0}=l(n,t),h=c(g),x=f[y?"floating"===p?"reference":"floating":p],w=s(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(f.floating)),boundary:d,rootBoundary:m,strategy:u})),v="floating"===p?{...a.floating,x:o,y:r}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(f.floating)),A=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},S=s(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:b,strategy:u}):v);return{top:(w.top-S.top+h.top)/A.y,bottom:(S.bottom-w.bottom+h.bottom)/A.y,left:(w.left-S.left+h.left)/A.x,right:(S.right-w.right+h.right)/A.x}}const u=Math.min,d=Math.max;function m(t,n,e){return d(t,u(n,e))}const p=["top","right","bottom","left"],y=p.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),g={left:"right",right:"left",bottom:"top",top:"bottom"};function h(t){return t.replace(/left|right|bottom|top/g,(t=>g[t]))}function x(t,n,r){void 0===r&&(r=!1);const a=e(t),l=i(t),c=o(l);let s="x"===l?a===(r?"end":"start")?"right":"left":"start"===a?"bottom":"top";return n.reference[c]>n.floating[c]&&(s=h(s)),{main:s,cross:h(s)}}const w={start:"end",end:"start"};function v(t){return t.replace(/start|end/g,(t=>w[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:c,initialPlacement:s,platform:u,elements:d}=n,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:b=!0,...A}=l(t,n),S=r(i),k=r(s)===s,P=await(null==u.isRTL?void 0:u.isRTL(d.floating)),D=y||(k||!b?[h(s)]:function(t){const n=h(t);return[v(t),n,v(n)]}(s));y||"none"===w||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,w,P));const M=[s,...D],R=await f(n,A),E=[];let O=(null==(o=a.flip)?void 0:o.overflows)||[];if(m&&E.push(R[S]),p){const{main:t,cross:n}=x(i,c,P);E.push(R[t],R[n])}if(O=[...O,{placement:i,overflows:E}],!E.every((t=>t<=0))){var F,C;const t=((null==(F=a.flip)?void 0:F.index)||0)+1,n=M[t];if(n)return{data:{index:t,overflows:O},reset:{placement:n}};let e=null==(C=O.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:C.placement;if(!e)switch(g){case"bestFit":{var T;const t=null==(T=O.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:T[0];t&&(e=t);break}case"initialPlacement":e=s}if(i!==e)return{reset:{placement:e}}}return{}}}};function A(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function S(t){return p.some((n=>t[n]>=0))}const k=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=l(t,n);switch(o){case"referenceHidden":{const t=A(await f(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:S(t)}}}case"escaped":{const t=A(await f(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:S(t)}}}default:return{}}}}},P=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:o,y:a}=n,c=await async function(t,n){const{placement:o,platform:a,elements:c}=t,s=await(null==a.isRTL?void 0:a.isRTL(c.floating)),f=r(o),u=e(o),d="x"===i(o),m=["left","top"].includes(f)?-1:1,p=s&&d?-1:1,y=l(n,t);let{mainAxis:g,crossAxis:h,alignmentAxis:x}="number"==typeof y?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};return u&&"number"==typeof x&&(h="end"===u?-1*x:x),d?{x:h*p,y:g*m}:{x:g*m,y:h*p}}(n,t);return{x:o+c.x,y:a+c.y,data:c}}}};function D(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function M(t){return D(t).getComputedStyle(t)}function R(t){return t instanceof D(t).Node}function E(t){return R(t)?(t.nodeName||"").toLowerCase():"#document"}function O(t){return t instanceof HTMLElement||t instanceof D(t).HTMLElement}function F(t){return"undefined"!=typeof ShadowRoot&&(t instanceof D(t).ShadowRoot||t instanceof ShadowRoot)}function C(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=M(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function T(t){return["table","td","th"].includes(E(t))}function $(t){const n=z(),e=M(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function z(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function B(t){return["html","body","#document"].includes(E(t))}const L=Math.min,j=Math.max,H=Math.round,I=Math.floor,W=t=>({x:t,y:t});function q(t){const n=M(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=O(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,l=H(e)!==i||H(o)!==a;return l&&(e=i,o=a),{width:e,height:o,$:l}}function N(t){return t instanceof Element||t instanceof D(t).Element}function Y(t){return N(t)?t:t.contextElement}function V(t){const n=Y(t);if(!O(n))return W(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=q(n);let a=(i?H(e.width):e.width)/o,l=(i?H(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const X=W(0);function _(t){const n=D(t);return z()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:X}function G(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=Y(t);let a=W(1);n&&(o?N(o)&&(a=V(o)):a=V(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==D(t))&&n}(i,e,o)?_(i):W(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=D(i),n=o&&N(o)?D(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=V(e),n=e.getBoundingClientRect(),o=getComputedStyle(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=D(e).frameElement}}return s({width:u,height:d,x:c,y:f})}function J(t){return N(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function K(t){var n;return null==(n=(R(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function Q(t){return G(K(t)).left+J(t).scrollLeft}function U(t){if("html"===E(t))return t;const n=t.assignedSlot||t.parentNode||F(t)&&t.host||K(t);return F(n)?n.host:n}function Z(t){const n=U(t);return B(n)?t.ownerDocument?t.ownerDocument.body:t.body:O(n)&&C(n)?n:Z(n)}function tt(t,n){var e;void 0===n&&(n=[]);const o=Z(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=D(o);return r?n.concat(i,i.visualViewport||[],C(o)?o:[]):n.concat(o,tt(o))}function nt(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=D(t),o=K(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=z();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=K(t),e=J(t),o=t.ownerDocument.body,r=j(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=j(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Q(t);const l=-e.scrollTop;return"rtl"===M(o).direction&&(a+=j(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(K(t));else if(N(n))o=function(t,n){const e=G(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=O(t)?V(t):W(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=_(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return s(o)}function et(t,n){const e=U(t);return!(e===n||!N(e)||B(e))&&("fixed"===M(e).position||et(e,n))}function ot(t,n,e){const o=O(n),r=K(n),i="fixed"===e,a=G(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=W(0);if(o||!o&&!i)if(("body"!==E(n)||C(r))&&(l=J(n)),O(n)){const t=G(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=Q(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function rt(t,n){return O(t)&&"fixed"!==M(t).position?n?n(t):t.offsetParent:null}function it(t,n){const e=D(t);if(!O(t))return e;let o=rt(t,n);for(;o&&T(o)&&"static"===M(o).position;)o=rt(o,n);return o&&("html"===E(o)||"body"===E(o)&&"static"===M(o).position&&!$(o))?e:o||function(t){let n=U(t);for(;O(n)&&!B(n);){if($(n))return n;n=U(n)}return null}(t)||e}const at={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=O(e),i=K(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=W(1);const c=W(0);if((r||!r&&"fixed"!==o)&&(("body"!==E(e)||C(i))&&(a=J(e)),O(e))){const t=G(e);l=V(e),c.x=t.x+e.clientLeft,c.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+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:K,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=tt(t).filter((t=>N(t)&&"body"!==E(t))),r=null;const i="fixed"===M(t).position;let a=i?U(t):t;for(;N(a)&&!B(a);){const n=M(a),e=$(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||C(a)&&!e&&et(t,a))?o=o.filter((t=>t!==a)):r=n,a=U(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=nt(n,e,r);return t.top=j(o.top,t.top),t.right=L(o.right,t.right),t.bottom=L(o.bottom,t.bottom),t.left=j(o.left,t.left),t}),nt(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:it,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||it,i=this.getDimensions;return{reference:ot(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return q(t)},getScale:V,isElement:N,isRTL:function(t){return"rtl"===getComputedStyle(t).direction}};function lt(t){return function(t){for(let n=t;n;n=ct(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=ct(t);n;n=ct(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}(t)}function ct(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}!function(){{const t=at.getOffsetParent;at.getOffsetParent=n=>t(n,lt)}}();const st=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:c,offsetSkidding:s,arrowEl:f,type:u})=>{if(!n||!e)return null;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:at,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,c=i.filter(Boolean),s=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,s),m=o,p={},y=0;for(let e=0;e<c.length;e++){const{name:i,fn:g}=c[e],{x:h,y:x,data:w,reset:v}=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],...w}},v&&y<=50&&(y++,"object"==typeof v&&(v.placement&&(m=v.placement),v.rects&&(f=!0===v.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):v.rects),({x:u,y:d}=a(f,m,s))),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:gt(e,r),middleware:pt({placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:c,offsetSkidding:s,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=xt[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,w=x?"none":null;e.setAttribute(ft,p);const v=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(e.style,{visibility:x,pointerEvents:w,position:y,top:"0",left:"0",transform:v})},ft="data-placement",ut=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],dt="bottom-start",mt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function pt({placement:t,flipDisabled:n,flipPlacements:a,offsetDistance:s,offsetSkidding:d,arrowEl:p,type:g}){const h=[(void 0===w&&(w={}),{name:"shift",options:w,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:a=!0,crossAxis:c=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...u}=l(w,t),d={x:n,y:e},p=await f(t,u),y=i(r(o)),g="x"===y?"y":"x";let h=d[y],x=d[g];a&&(h=m(h+p["y"===y?"top":"left"],h,h-p["y"===y?"bottom":"right"])),c&&(x=m(x+p["y"===g?"top":"left"],x,x-p["y"===g?"bottom":"right"]));const v=s.fn({...t,[y]:h,[g]:x});return{...v,data:{x:v.x-n,y:v.y-e}}}}),k()];var w;if("menu"===g)return[...h,b({fallbackPlacements:a||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===g||"tooltip"===g){const g=[...h,P({mainAxis:"number"==typeof s?s:0,crossAxis:"number"==typeof d?d:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?g.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var o,i,a;const{rects:c,middlewareData:s,placement:u,platform:d,elements:m}=n,{crossAxis:p=!1,alignment:g,allowedPlacements:h=y,autoAlignment:w=!0,...b}=l(t,n),A=void 0!==g||h===y?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))}(g||null,w,h):h,S=await f(n,b),k=(null==(o=s.autoPlacement)?void 0:o.index)||0,P=A[k];if(null==P)return{};const{main:D,cross:M}=x(P,c,await(null==d.isRTL?void 0:d.isRTL(m.floating)));if(u!==P)return{reset:{placement:A[0]}};const R=[S[r(P)],S[D],S[M]],E=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:P,overflows:R}],O=A[k+1];if(O)return{data:{index:k+1,overflows:E},reset:{placement:O}};const F=E.map((t=>{const n=e(t.placement);return[t.placement,n&&p?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=F.filter((t=>t[2].slice(0,e(t[0])?2:3).every((t=>t<=0))))[0])?void 0:a[0])||F[0][0];return C!==u?{data:{index:k+1,overflows:E},reset:{placement:C}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||g.push(b(a?{fallbackPlacements:a}:{})),p&&g.push((t=>({name:"arrow",options:t,async fn(n){const{x:r,y:a,placement:s,rects:f,platform:d,elements:p}=n,{element:y,padding:g=0}=l(t,n)||{};if(null==y)return{};const h=c(g),x={x:r,y:a},w=i(s),v=o(w),b=await d.getDimensions(y),A="y"===w,S=A?"top":"left",k=A?"bottom":"right",P=A?"clientHeight":"clientWidth",D=f.reference[v]+f.reference[w]-x[w]-f.floating[v],M=x[w]-f.reference[w],R=await(null==d.getOffsetParent?void 0:d.getOffsetParent(y));let E=R?R[P]:0;E&&await(null==d.isElement?void 0:d.isElement(R))||(E=p.floating[P]||f.floating[v]);const O=D/2-M/2,F=E/2-b[v]/2-1,C=u(h[S],F),T=u(h[k],F),$=C,z=E-b[v]-T,B=E/2-b[v]/2+O,L=m($,B,z),j=null!=e(s)&&B!=L&&f.reference[v]/2-(B<$?C:T)-b[v]/2<0?B<$?$-B:z-B:0;return{[w]:x[w]-j,data:{[w]:L,centerOffset:B-L+j}}}}))({element:p})),g}return[]}function yt(t,n){const e=t.filter((t=>ut.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${ut.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function gt(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 ht(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=vt.get(t);return e||(e=n(st,100,{leading:!0,maxWait:100}),vt.set(t,e),e)}(t):st;return r(t,e)}const xt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},wt=new WeakMap,vt=new WeakMap;function bt(t,n,e){e&&n&&(At(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),wt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,s=Y(t),f=r||i?[...s?tt(s):[],...tt(n)]:[];f.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));const u=s&&l?function(t,n){let e,o=null;const r=K(t);function i(){clearTimeout(e),o&&o.disconnect(),o=null}return function a(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),i();const{left:s,top:f,width:u,height:d}=t.getBoundingClientRect();if(l||n(),!u||!d)return;const m={rootMargin:-I(f)+"px "+-I(r.clientWidth-(s+u))+"px "+-I(r.clientHeight-(f+d))+"px "+-I(s)+"px",threshold:j(0,L(1,c))||1};let p=!0;function y(t){const n=t[0].intersectionRatio;if(n!==c){if(!p)return a();n?a(!1,n):e=setTimeout((()=>{a(!1,1e-7)}),100)}p=!1}try{o=new IntersectionObserver(y,{...m,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(y,m)}o.observe(t)}(!0),i}(s,e):null;let d,m=-1,p=null;a&&(p=new ResizeObserver((t=>{let[o]=t;o&&o.target===s&&p&&(p.unobserve(n),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{p&&p.observe(n)}))),e()})),s&&!c&&p.observe(s),p.observe(n));let y=c?G(t):null;return c&&function n(){const o=G(t);!y||o.x===y.x&&o.y===y.y&&o.width===y.width&&o.height===y.height||e(),y=o,d=requestAnimationFrame(n)}(),e(),()=>{f.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),u&&u(),p&&p.disconnect(),p=null,c&&cancelAnimationFrame(d)}}(n,e,(()=>t.reposition()))))}function At(t,n,e){e&&n&&(wt.get(t)?.(),wt.delete(t),vt.get(t)?.cancel(),vt.delete(t))}const St=Math.ceil(Math.hypot(4,4));export{mt as F,At as a,St as b,bt as c,dt as d,yt as f,ht as r}
6
+ import{b as t}from"./p-83a2dc88.js";import{d as n}from"./p-d8a7a381.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:c}=t;const s=l.x+l.width/2-c.width/2,f=l.y+l.height/2-c.height/2,u=i(n),d=o(u),m=l[d]/2-c[d]/2,p="x"===u;let y;switch(r(n)){case"top":y={x:s,y:l.y-c.height};break;case"bottom":y={x:s,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:f};break;case"left":y={x:l.x-c.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,n){return"function"==typeof t?t(n):t}function c(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 f(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:f,strategy:u}=t,{boundary:d="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:y=!1,padding:g=0}=l(n,t),h=c(g),x=f[y?"floating"===p?"reference":"floating":p],w=s(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(f.floating)),boundary:d,rootBoundary:m,strategy:u})),v="floating"===p?{...a.floating,x:o,y:r}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(f.floating)),A=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},S=s(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:b,strategy:u}):v);return{top:(w.top-S.top+h.top)/A.y,bottom:(S.bottom-w.bottom+h.bottom)/A.y,left:(w.left-S.left+h.left)/A.x,right:(S.right-w.right+h.right)/A.x}}const u=Math.min,d=Math.max;function m(t,n,e){return d(t,u(n,e))}const p=["top","right","bottom","left"],y=p.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),g={left:"right",right:"left",bottom:"top",top:"bottom"};function h(t){return t.replace(/left|right|bottom|top/g,(t=>g[t]))}function x(t,n,r){void 0===r&&(r=!1);const a=e(t),l=i(t),c=o(l);let s="x"===l?a===(r?"end":"start")?"right":"left":"start"===a?"bottom":"top";return n.reference[c]>n.floating[c]&&(s=h(s)),{main:s,cross:h(s)}}const w={start:"end",end:"start"};function v(t){return t.replace(/start|end/g,(t=>w[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:c,initialPlacement:s,platform:u,elements:d}=n,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:b=!0,...A}=l(t,n),S=r(i),k=r(s)===s,P=await(null==u.isRTL?void 0:u.isRTL(d.floating)),D=y||(k||!b?[h(s)]:function(t){const n=h(t);return[v(t),n,v(n)]}(s));y||"none"===w||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,w,P));const M=[s,...D],R=await f(n,A),E=[];let O=(null==(o=a.flip)?void 0:o.overflows)||[];if(m&&E.push(R[S]),p){const{main:t,cross:n}=x(i,c,P);E.push(R[t],R[n])}if(O=[...O,{placement:i,overflows:E}],!E.every((t=>t<=0))){var F,C;const t=((null==(F=a.flip)?void 0:F.index)||0)+1,n=M[t];if(n)return{data:{index:t,overflows:O},reset:{placement:n}};let e=null==(C=O.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:C.placement;if(!e)switch(g){case"bestFit":{var T;const t=null==(T=O.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:T[0];t&&(e=t);break}case"initialPlacement":e=s}if(i!==e)return{reset:{placement:e}}}return{}}}};function A(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function S(t){return p.some((n=>t[n]>=0))}const k=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=l(t,n);switch(o){case"referenceHidden":{const t=A(await f(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:S(t)}}}case"escaped":{const t=A(await f(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:S(t)}}}default:return{}}}}},P=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:o,y:a}=n,c=await async function(t,n){const{placement:o,platform:a,elements:c}=t,s=await(null==a.isRTL?void 0:a.isRTL(c.floating)),f=r(o),u=e(o),d="x"===i(o),m=["left","top"].includes(f)?-1:1,p=s&&d?-1:1,y=l(n,t);let{mainAxis:g,crossAxis:h,alignmentAxis:x}="number"==typeof y?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};return u&&"number"==typeof x&&(h="end"===u?-1*x:x),d?{x:h*p,y:g*m}:{x:g*m,y:h*p}}(n,t);return{x:o+c.x,y:a+c.y,data:c}}}};function D(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function M(t){return D(t).getComputedStyle(t)}function R(t){return t instanceof D(t).Node}function E(t){return R(t)?(t.nodeName||"").toLowerCase():"#document"}function O(t){return t instanceof HTMLElement||t instanceof D(t).HTMLElement}function F(t){return"undefined"!=typeof ShadowRoot&&(t instanceof D(t).ShadowRoot||t instanceof ShadowRoot)}function C(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=M(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function T(t){return["table","td","th"].includes(E(t))}function $(t){const n=z(),e=M(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function z(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function B(t){return["html","body","#document"].includes(E(t))}const L=Math.min,j=Math.max,H=Math.round,I=Math.floor,W=t=>({x:t,y:t});function q(t){const n=M(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=O(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,l=H(e)!==i||H(o)!==a;return l&&(e=i,o=a),{width:e,height:o,$:l}}function N(t){return t instanceof Element||t instanceof D(t).Element}function Y(t){return N(t)?t:t.contextElement}function V(t){const n=Y(t);if(!O(n))return W(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=q(n);let a=(i?H(e.width):e.width)/o,l=(i?H(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const X=W(0);function _(t){const n=D(t);return z()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:X}function G(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=Y(t);let a=W(1);n&&(o?N(o)&&(a=V(o)):a=V(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==D(t))&&n}(i,e,o)?_(i):W(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=D(i),n=o&&N(o)?D(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=V(e),n=e.getBoundingClientRect(),o=getComputedStyle(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=D(e).frameElement}}return s({width:u,height:d,x:c,y:f})}function J(t){return N(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function K(t){var n;return null==(n=(R(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function Q(t){return G(K(t)).left+J(t).scrollLeft}function U(t){if("html"===E(t))return t;const n=t.assignedSlot||t.parentNode||F(t)&&t.host||K(t);return F(n)?n.host:n}function Z(t){const n=U(t);return B(n)?t.ownerDocument?t.ownerDocument.body:t.body:O(n)&&C(n)?n:Z(n)}function tt(t,n){var e;void 0===n&&(n=[]);const o=Z(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=D(o);return r?n.concat(i,i.visualViewport||[],C(o)?o:[]):n.concat(o,tt(o))}function nt(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=D(t),o=K(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=z();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=K(t),e=J(t),o=t.ownerDocument.body,r=j(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=j(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Q(t);const l=-e.scrollTop;return"rtl"===M(o).direction&&(a+=j(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(K(t));else if(N(n))o=function(t,n){const e=G(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=O(t)?V(t):W(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=_(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return s(o)}function et(t,n){const e=U(t);return!(e===n||!N(e)||B(e))&&("fixed"===M(e).position||et(e,n))}function ot(t,n,e){const o=O(n),r=K(n),i="fixed"===e,a=G(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=W(0);if(o||!o&&!i)if(("body"!==E(n)||C(r))&&(l=J(n)),O(n)){const t=G(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=Q(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function rt(t,n){return O(t)&&"fixed"!==M(t).position?n?n(t):t.offsetParent:null}function it(t,n){const e=D(t);if(!O(t))return e;let o=rt(t,n);for(;o&&T(o)&&"static"===M(o).position;)o=rt(o,n);return o&&("html"===E(o)||"body"===E(o)&&"static"===M(o).position&&!$(o))?e:o||function(t){let n=U(t);for(;O(n)&&!B(n);){if($(n))return n;n=U(n)}return null}(t)||e}const at={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=O(e),i=K(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=W(1);const c=W(0);if((r||!r&&"fixed"!==o)&&(("body"!==E(e)||C(i))&&(a=J(e)),O(e))){const t=G(e);l=V(e),c.x=t.x+e.clientLeft,c.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+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:K,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=tt(t).filter((t=>N(t)&&"body"!==E(t))),r=null;const i="fixed"===M(t).position;let a=i?U(t):t;for(;N(a)&&!B(a);){const n=M(a),e=$(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||C(a)&&!e&&et(t,a))?o=o.filter((t=>t!==a)):r=n,a=U(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=nt(n,e,r);return t.top=j(o.top,t.top),t.right=L(o.right,t.right),t.bottom=L(o.bottom,t.bottom),t.left=j(o.left,t.left),t}),nt(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:it,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||it,i=this.getDimensions;return{reference:ot(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return q(t)},getScale:V,isElement:N,isRTL:function(t){return"rtl"===getComputedStyle(t).direction}};function lt(t){return function(t){for(let n=t;n;n=ct(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=ct(t);n;n=ct(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}(t)}function ct(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}!function(){{const t=at.getOffsetParent;at.getOffsetParent=n=>t(n,lt)}}();const st=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:c,offsetSkidding:s,arrowEl:f,type:u})=>{if(!n||!e)return null;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:at,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,c=i.filter(Boolean),s=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,s),m=o,p={},y=0;for(let e=0;e<c.length;e++){const{name:i,fn:g}=c[e],{x:h,y:x,data:w,reset:v}=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],...w}},v&&y<=50&&(y++,"object"==typeof v&&(v.placement&&(m=v.placement),v.rects&&(f=!0===v.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):v.rects),({x:u,y:d}=a(f,m,s))),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:gt(e,r),middleware:pt({placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:c,offsetSkidding:s,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=xt[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,w=x?"none":null;e.setAttribute(ft,p);const v=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(e.style,{visibility:x,pointerEvents:w,position:y,top:"0",left:"0",transform:v})},ft="data-placement",ut=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],dt="bottom-start",mt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function pt({placement:t,flipDisabled:n,flipPlacements:a,offsetDistance:s,offsetSkidding:d,arrowEl:p,type:g}){const h=[(void 0===w&&(w={}),{name:"shift",options:w,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:a=!0,crossAxis:c=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...u}=l(w,t),d={x:n,y:e},p=await f(t,u),y=i(r(o)),g="x"===y?"y":"x";let h=d[y],x=d[g];a&&(h=m(h+p["y"===y?"top":"left"],h,h-p["y"===y?"bottom":"right"])),c&&(x=m(x+p["y"===g?"top":"left"],x,x-p["y"===g?"bottom":"right"]));const v=s.fn({...t,[y]:h,[g]:x});return{...v,data:{x:v.x-n,y:v.y-e}}}}),k()];var w;if("menu"===g)return[...h,b({fallbackPlacements:a||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===g||"tooltip"===g){const g=[...h,P({mainAxis:"number"==typeof s?s:0,crossAxis:"number"==typeof d?d:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?g.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var o,i,a;const{rects:c,middlewareData:s,placement:u,platform:d,elements:m}=n,{crossAxis:p=!1,alignment:g,allowedPlacements:h=y,autoAlignment:w=!0,...b}=l(t,n),A=void 0!==g||h===y?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))}(g||null,w,h):h,S=await f(n,b),k=(null==(o=s.autoPlacement)?void 0:o.index)||0,P=A[k];if(null==P)return{};const{main:D,cross:M}=x(P,c,await(null==d.isRTL?void 0:d.isRTL(m.floating)));if(u!==P)return{reset:{placement:A[0]}};const R=[S[r(P)],S[D],S[M]],E=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:P,overflows:R}],O=A[k+1];if(O)return{data:{index:k+1,overflows:E},reset:{placement:O}};const F=E.map((t=>{const n=e(t.placement);return[t.placement,n&&p?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=F.filter((t=>t[2].slice(0,e(t[0])?2:3).every((t=>t<=0))))[0])?void 0:a[0])||F[0][0];return C!==u?{data:{index:k+1,overflows:E},reset:{placement:C}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||g.push(b(a?{fallbackPlacements:a}:{})),p&&g.push((t=>({name:"arrow",options:t,async fn(n){const{x:r,y:a,placement:s,rects:f,platform:d,elements:p}=n,{element:y,padding:g=0}=l(t,n)||{};if(null==y)return{};const h=c(g),x={x:r,y:a},w=i(s),v=o(w),b=await d.getDimensions(y),A="y"===w,S=A?"top":"left",k=A?"bottom":"right",P=A?"clientHeight":"clientWidth",D=f.reference[v]+f.reference[w]-x[w]-f.floating[v],M=x[w]-f.reference[w],R=await(null==d.getOffsetParent?void 0:d.getOffsetParent(y));let E=R?R[P]:0;E&&await(null==d.isElement?void 0:d.isElement(R))||(E=p.floating[P]||f.floating[v]);const O=D/2-M/2,F=E/2-b[v]/2-1,C=u(h[S],F),T=u(h[k],F),$=C,z=E-b[v]-T,B=E/2-b[v]/2+O,L=m($,B,z),j=null!=e(s)&&B!=L&&f.reference[v]/2-(B<$?C:T)-b[v]/2<0?B<$?$-B:z-B:0;return{[w]:x[w]-j,data:{[w]:L,centerOffset:B-L+j}}}}))({element:p})),g}return[]}function yt(t,n){const e=t.filter((t=>ut.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${ut.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function gt(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 ht(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=vt.get(t);return e||(e=n(st,100,{leading:!0,maxWait:100}),vt.set(t,e),e)}(t):st;return r(t,e)}const xt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},wt=new WeakMap,vt=new WeakMap;function bt(t,n,e){e&&n&&(At(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),wt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,s=Y(t),f=r||i?[...s?tt(s):[],...tt(n)]:[];f.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));const u=s&&l?function(t,n){let e,o=null;const r=K(t);function i(){clearTimeout(e),o&&o.disconnect(),o=null}return function a(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),i();const{left:s,top:f,width:u,height:d}=t.getBoundingClientRect();if(l||n(),!u||!d)return;const m={rootMargin:-I(f)+"px "+-I(r.clientWidth-(s+u))+"px "+-I(r.clientHeight-(f+d))+"px "+-I(s)+"px",threshold:j(0,L(1,c))||1};let p=!0;function y(t){const n=t[0].intersectionRatio;if(n!==c){if(!p)return a();n?a(!1,n):e=setTimeout((()=>{a(!1,1e-7)}),100)}p=!1}try{o=new IntersectionObserver(y,{...m,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(y,m)}o.observe(t)}(!0),i}(s,e):null;let d,m=-1,p=null;a&&(p=new ResizeObserver((t=>{let[o]=t;o&&o.target===s&&p&&(p.unobserve(n),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{p&&p.observe(n)}))),e()})),s&&!c&&p.observe(s),p.observe(n));let y=c?G(t):null;return c&&function n(){const o=G(t);!y||o.x===y.x&&o.y===y.y&&o.width===y.width&&o.height===y.height||e(),y=o,d=requestAnimationFrame(n)}(),e(),()=>{f.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),u&&u(),p&&p.disconnect(),p=null,c&&cancelAnimationFrame(d)}}(n,e,(()=>t.reposition()))))}function At(t,n,e){e&&n&&(wt.get(t)?.(),wt.delete(t),vt.get(t)?.cancel(),vt.delete(t))}const St=Math.ceil(Math.hypot(4,4));export{mt as F,At as a,St as b,bt as c,dt as d,yt as f,ht as r}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
+ * v1.5.0-next.27
5
+ */
6
+ import{r as i,c as e,h as t,H as o,a as s}from"./p-7650efdd.js";import{d as r,t as a}from"./p-83a2dc88.js";import{c as n,d as c,H as l}from"./p-2d4d5b02.js";import{c as d,d as h,u as p}from"./p-a152f006.js";import{i as b}from"./p-53ae5888.js";import{c as u,d as m,g as v}from"./p-913f00dd.js";import{c as k,s as f,a as g}from"./p-d4b56ea4.js";import"./p-31f85f74.js";import"./p-c339384e.js";const z=class{constructor(t){i(this,t),this.calciteSwitchChange=e(this,"calciteSwitchChange",6),this.keyDownHandler=i=>{!this.disabled&&b(i.key)&&(this.toggle(),i.preventDefault())},this.clickHandler=()=>{this.disabled||this.toggle()},this.setSwitchEl=i=>{this.switchEl=i},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.scale="m",this.checked=!1,this.value=void 0}async setFocus(){await k(this),r(this.switchEl)}syncHiddenFormInput(i){i.type="checkbox"}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit()}connectedCallback(){d(this),u(this),n(this)}componentWillLoad(){f(this)}componentDidLoad(){g(this)}disconnectedCallback(){h(this),m(this),c(this)}componentDidRender(){p(this)}render(){return t(o,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},t("div",{"aria-checked":a(this.checked),"aria-label":v(this),class:"container",role:"switch",tabIndex:0,ref:this.setSwitchEl},t("div",{class:"track"},t("div",{class:"handle"})),t(l,{component:this})))}get el(){return s(this)}};z.style=":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([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{inline-size:auto;outline-color:transparent}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.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(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{z as calcite_switch}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
+ * v1.5.0-next.27
5
+ */
6
+ import{r as t,c as i,h as e,F as s,a as n}from"./p-7650efdd.js";import{g as o}from"./p-f6072095.js";import{t as a,i as c,d as l}from"./p-83a2dc88.js";import{g as r}from"./p-31f85f74.js";import{i as h}from"./p-53ae5888.js";import{s as d,a as p,c as u}from"./p-d4b56ea4.js";import{C as m,I as f,S as v}from"./p-6626cf23.js";import"./p-c339384e.js";const x=["ArrowUp","ArrowDown","End","Home"],b=class{constructor(e){t(this,e),this.calciteActionMenuOpen=i(this,"calciteActionMenuOpen",6),this.actionElements=[],this.guid=`calcite-action-menu-${r()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.connectMenuButtonEl=()=>{const{menuButtonId:t,menuId:i,open:e,label:s}=this,n=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==n&&(this.disconnectMenuButtonEl(),this.menuButtonEl=n,this.setTooltipReferenceElement(),n&&(n.active=e,n.setAttribute("aria-controls",i),n.setAttribute("aria-expanded",a(e)),n.setAttribute("aria-haspopup","true"),n.id||(n.id=t),n.label||(n.label=s),n.text||(n.text=s),n.addEventListener("pointerdown",this.menuButtonClick),n.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("pointerdown",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-action")));this.slottedMenuButtonEl=i[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=t=>{c(t)&&this.toggleOpen()},this.updateTooltip=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-tooltip")));this.tooltipEl=i[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:i,menuButtonEl:e,open:s}=this;t&&(t.referenceElement=i||s?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:s}=this,n=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=n),t.active=i===s},this.updateActions=t=>{t?.forEach(this.updateAction)},this.handleDefaultSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-action")));this.actionElements=i},this.menuButtonKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:s,open:n}=this;if(e.length){if(h(i)){if(t.preventDefault(),!n)return void this.toggleOpen();const i=e[s];i?i.click():this.toggleOpen(!1)}if("Tab"!==i)return"Escape"===i?(this.toggleOpen(!1),void t.preventDefault()):void this.handleActionNavigation(t,i,e);this.open=!1}},this.handleActionNavigation=(t,i,e)=>{if(!this.isValidKey(i,x))return;if(t.preventDefault(),!this.open)return this.toggleOpen(),"Home"!==i&&"ArrowDown"!==i||(this.activeMenuItemIndex=0),void("End"!==i&&"ArrowUp"!==i||(this.activeMenuItemIndex=e.length-1));"Home"===i&&(this.activeMenuItemIndex=0),"End"===i&&(this.activeMenuItemIndex=e.length-1);const s=this.activeMenuItemIndex;"ArrowUp"===i&&(this.activeMenuItemIndex=o(Math.max(s-1,-1),e.length)),"ArrowDown"===i&&(this.activeMenuItemIndex=o(s+1,e.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t},this.expanded=!1,this.flipPlacements=void 0,this.label=void 0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale=void 0,this.menuButtonEl=void 0,this.activeMenuItemIndex=-1}componentWillLoad(){d(this)}componentDidLoad(){p(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}closeCalciteActionMenuOnClick(t){c(t)&&(t.composedPath().includes(this.el)||(this.open=!1))}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){return await u(this),l(this.menuButtonEl)}renderMenuButton(){const{label:t,scale:i,expanded:s}=this;return e("slot",{name:v.trigger,onSlotchange:this.setMenuButtonEl},e("calcite-action",{class:m.defaultTrigger,icon:f.menu,scale:i,text:t,textEnabled:s,ref:this.setDefaultMenuButtonEl}))}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:i,open:s,menuId:n,menuButtonEl:o,label:a,placement:c,overlayPositioning:l,flipPlacements:r}=this;return e("calcite-popover",{flipPlacements:r,focusTrapDisabled:!0,label:a,offsetDistance:0,open:s,overlayPositioning:l,placement:c,pointerDisabled:!0,referenceElement:o},e("div",{"aria-activedescendant":t[i]?.id||null,"aria-labelledby":o?.id,class:m.menu,id:n,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},e("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return e(s,null,this.renderMenuButton(),this.renderMenuItems(),e("slot",{name:v.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};b.style=":host{box-sizing:border-box;display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[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 );outline-offset:0px}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{flex-direction:column;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}";export{b as calcite_action_menu}
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.25
4
+ * v1.5.0-next.27
5
5
  */
6
- import{g as n}from"./p-d97d871d.js";import{C as t}from"./p-b5cab779.js";
6
+ import{g as n}from"./p-31f85f74.js";import{C as t}from"./p-c339384e.js";
7
7
  /*!
8
8
  * tabbable 6.2.0
9
9
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
10
10
  */
11
- var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],e=r.join(","),o="undefined"==typeof Element,u=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(n){var t;return null==n||null===(t=n.getRootNode)||void 0===t?void 0:t.call(n)}:function(n){return null==n?void 0:n.ownerDocument},a=function n(t,r){var e;void 0===r&&(r=!0);var o=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"inert");return""===o||"true"===o||r&&t&&n(t.parentNode)},f=function(n,t,r){if(a(n))return[];var o=Array.prototype.slice.apply(n.querySelectorAll(e));return t&&u.call(n,e)&&o.unshift(n),o.filter(r)},l=function n(t,r,o){for(var i=[],f=Array.from(t);f.length;){var l=f.shift();if(!a(l,!1))if("SLOT"===l.tagName){var c=l.assignedElements(),s=n(c.length?c:l.children,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:l,candidates:s})}else{u.call(l,e)&&o.filter(l)&&(r||!t.includes(l))&&i.push(l);var d=l.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(l),v=!a(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(l));if(d&&v){var p=n(!0===d?l.children:d.children,!0,o);o.flatten?i.push.apply(i,p):i.push({scopeParent:l,candidates:p})}else f.unshift.apply(f,l.children)}}return i},c=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},s=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||function(n){var t,r=null==n||null===(t=n.getAttribute)||void 0===t?void 0:t.call(n,"contenteditable");return""===r||"true"===r}(n))&&!c(n)?0:n.tabIndex},d=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},v=function(n){return"INPUT"===n.tagName},p=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},y=function(n,t){return!(t.disabled||a(t)||function(n){return v(n)&&"hidden"===n.type}(t)||function(n,t){var r=t.displayCheck,e=t.getShadowRoot;if("hidden"===getComputedStyle(n).visibility)return!0;var o=u.call(n,"details>summary:first-of-type");if(u.call(o?n.parentElement:n,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return p(n)}else{if("function"==typeof e){for(var a=n;n;){var f=n.parentElement,l=i(n);if(f&&!f.shadowRoot&&!0===e(f))return p(n);n=n.assignedSlot?n.assignedSlot:f||l===n.ownerDocument?f:l.host}n=a}if(function(n){var t,r,e,o,u=n&&i(n),a=null===(t=u)||void 0===t?void 0:t.host,f=!1;if(u&&u!==n)for(f=!!(null!==(r=a)&&void 0!==r&&null!==(e=r.ownerDocument)&&void 0!==e&&e.contains(a)||null!=n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(n));!f&&a;){var l,c,s;f=!(null===(c=a=null===(l=u=i(a))||void 0===l?void 0:l.host)||void 0===c||null===(s=c.ownerDocument)||void 0===s||!s.contains(a))}return f}(n))return!n.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var e=t.children.item(r);if("LEGEND"===e.tagName)return!!u.call(t,"fieldset[disabled] *")||!e.contains(n)}return!0}t=t.parentElement}return!1}(t))},m=function(n,t){return!(function(n){return function(n){return v(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,r=n.form||i(n),e=function(n){return r.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=e(window.CSS.escape(n.name));else try{t=e(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var o=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]}(t,n.form);return!o||o===n}(n)}(t)||s(t)<0||!y(n,t))},w=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},E=function n(t){var r=[],e=[];return t.forEach((function(t,o){var u=!!t.scopeParent,i=u?t.scopeParent:t,a=function(n,t){var r=s(n);return r<0&&t&&!c(n)?0:r}(i,u),f=u?n(t.candidates):i;0===a?u?r.push.apply(r,f):r.push(i):e.push({documentOrder:o,tabIndex:a,item:t,isScope:u,content:f})})),e.sort(d).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(r)},h=function(n,t){var r;return r=(t=t||{}).getShadowRoot?l([n],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:w}):f(n,t.includeContainer,m.bind(null,t)),E(r)},A=function(n,t){return(t=t||{}).getShadowRoot?l([n],t.includeContainer,{filter:y.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):f(n,t.includeContainer,y.bind(null,t))},S=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,e)&&m(t,n)},b=r.concat("iframe").join(","),g=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,b)&&y(t,n)};const N={getShadowRoot:!0};function I(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function T(n){return Array.isArray(n)?n:Array.from(n)}function x(n){return O(n,`.${t.darkMode}, .${t.lightMode}`)?.classList.contains("calcite-mode-dark")?"dark":"light"}function $(n){const t=O(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function L(n,t,r){const e=n.closest(`[${t}]`);return e?e.getAttribute(t):r}function R(n){return n.getRootNode()}function D(n){const t=R(n);return"host"in t?t:null}function k(n){return n.host||null}function C(n,{selector:t,id:r}){return function n(e){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const o=R(e),u=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=k(o);return u||(i?n(i):null)}(n)}function O(n,t){return function n(r){return r?r.closest(t)||n(k(R(r))):null}(n)}function U(n,t){return P(n,t)}function P(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:e}=n;return P(e instanceof ShadowRoot?e.host:e,t)}function j(n,t){return!!U(t,(t=>t===n||void 0))}async function B(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function z(n){n&&(h(n,N)[0]||n).focus()}const F=":not([slot])";function M(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const e=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:F;return r?.all?function(n,t,r){let e=t===F?q(n,F):Array.from(n.querySelectorAll(t));e=r&&!1===r.direct?e:e.filter((t=>t.parentElement===n)),e=r?.matches?e.filter((n=>n?.matches(r.matches))):e;const o=r?.selector;return o?e.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):e}(n,e,r):function(n,t,r){let e=t===F?q(n,F)[0]||null:n.querySelector(t);e=r&&!1===r.direct||e?.parentElement===n?e:null,e=r?.matches?e?.matches(r.matches)?e:null:e;const o=r?.selector;return o?e?.querySelector(o):e}(n,e,r)}function q(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function G(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function V(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function X(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function Y(n){return Boolean(n).toString()}function H(n){return!!J(n).length}function J(n){return n.target.assignedElements({flatten:!0})}function K(n){return!(!n.isPrimary||0!==n.button)}const Q=(n,t,r,e=!0)=>{const o=n.indexOf(t);let u;return e&&(r="previous"===r&&0===o?"last":"next"===r&&o===n.length-1?"first":r),u="previous"===r?n[o-1]||n[e?n.length-1:o]:"next"===r?n[o+1]||n[e?0:o]:"last"===r?n[n.length-1]:n[0],B(u),u};export{G as A,j as a,$ as b,O as c,B as d,H as e,z as f,M as g,V as h,K as i,x as j,Q as k,h as l,A as m,S as n,s as o,g as p,C as q,N as r,J as s,Y as t,I as u,D as v,L as w,X as x,T as y,R as z}
11
+ var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],e=r.join(","),o="undefined"==typeof Element,u=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(n){var t;return null==n||null===(t=n.getRootNode)||void 0===t?void 0:t.call(n)}:function(n){return null==n?void 0:n.ownerDocument},a=function n(t,r){var e;void 0===r&&(r=!0);var o=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"inert");return""===o||"true"===o||r&&t&&n(t.parentNode)},f=function(n,t,r){if(a(n))return[];var o=Array.prototype.slice.apply(n.querySelectorAll(e));return t&&u.call(n,e)&&o.unshift(n),o.filter(r)},l=function n(t,r,o){for(var i=[],f=Array.from(t);f.length;){var l=f.shift();if(!a(l,!1))if("SLOT"===l.tagName){var c=l.assignedElements(),s=n(c.length?c:l.children,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:l,candidates:s})}else{u.call(l,e)&&o.filter(l)&&(r||!t.includes(l))&&i.push(l);var d=l.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(l),v=!a(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(l));if(d&&v){var p=n(!0===d?l.children:d.children,!0,o);o.flatten?i.push.apply(i,p):i.push({scopeParent:l,candidates:p})}else f.unshift.apply(f,l.children)}}return i},c=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},s=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||function(n){var t,r=null==n||null===(t=n.getAttribute)||void 0===t?void 0:t.call(n,"contenteditable");return""===r||"true"===r}(n))&&!c(n)?0:n.tabIndex},d=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},v=function(n){return"INPUT"===n.tagName},p=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},y=function(n,t){return!(t.disabled||a(t)||function(n){return v(n)&&"hidden"===n.type}(t)||function(n,t){var r=t.displayCheck,e=t.getShadowRoot;if("hidden"===getComputedStyle(n).visibility)return!0;var o=u.call(n,"details>summary:first-of-type");if(u.call(o?n.parentElement:n,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return p(n)}else{if("function"==typeof e){for(var a=n;n;){var f=n.parentElement,l=i(n);if(f&&!f.shadowRoot&&!0===e(f))return p(n);n=n.assignedSlot?n.assignedSlot:f||l===n.ownerDocument?f:l.host}n=a}if(function(n){var t,r,e,o,u=n&&i(n),a=null===(t=u)||void 0===t?void 0:t.host,f=!1;if(u&&u!==n)for(f=!!(null!==(r=a)&&void 0!==r&&null!==(e=r.ownerDocument)&&void 0!==e&&e.contains(a)||null!=n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(n));!f&&a;){var l,c,s;f=!(null===(c=a=null===(l=u=i(a))||void 0===l?void 0:l.host)||void 0===c||null===(s=c.ownerDocument)||void 0===s||!s.contains(a))}return f}(n))return!n.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var e=t.children.item(r);if("LEGEND"===e.tagName)return!!u.call(t,"fieldset[disabled] *")||!e.contains(n)}return!0}t=t.parentElement}return!1}(t))},m=function(n,t){return!(function(n){return function(n){return v(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,r=n.form||i(n),e=function(n){return r.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=e(window.CSS.escape(n.name));else try{t=e(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var o=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]}(t,n.form);return!o||o===n}(n)}(t)||s(t)<0||!y(n,t))},w=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},E=function n(t){var r=[],e=[];return t.forEach((function(t,o){var u=!!t.scopeParent,i=u?t.scopeParent:t,a=function(n,t){var r=s(n);return r<0&&t&&!c(n)?0:r}(i,u),f=u?n(t.candidates):i;0===a?u?r.push.apply(r,f):r.push(i):e.push({documentOrder:o,tabIndex:a,item:t,isScope:u,content:f})})),e.sort(d).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(r)},h=function(n,t){var r;return r=(t=t||{}).getShadowRoot?l([n],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:w}):f(n,t.includeContainer,m.bind(null,t)),E(r)},A=function(n,t){return(t=t||{}).getShadowRoot?l([n],t.includeContainer,{filter:y.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):f(n,t.includeContainer,y.bind(null,t))},S=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,e)&&m(t,n)},g=r.concat("iframe").join(","),b=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,g)&&y(t,n)};const N={getShadowRoot:!0};function I(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function T(n){return Array.isArray(n)?n:Array.from(n)}function x(n){return O(n,`.${t.darkMode}, .${t.lightMode}`)?.classList.contains("calcite-mode-dark")?"dark":"light"}function $(n){const t=O(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function L(n,t,r){const e=n.closest(`[${t}]`);return e?e.getAttribute(t):r}function R(n){return n.getRootNode()}function D(n){const t=R(n);return"host"in t?t:null}function k(n){return n.host||null}function C(n,{selector:t,id:r}){return function n(e){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const o=R(e),u=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=k(o);return u||(i?n(i):null)}(n)}function O(n,t){return function n(r){return r?r.closest(t)||n(k(R(r))):null}(n)}function U(n,t){return P(n,t)}function P(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:e}=n;return P(e instanceof ShadowRoot?e.host:e,t)}function j(n,t){return!!U(t,(t=>t===n||void 0))}async function B(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function z(n){n&&(h(n,N)[0]||n).focus()}const F=":not([slot])";function M(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const e=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:F;return r?.all?function(n,t,r){let e=t===F?q(n,F):Array.from(n.querySelectorAll(t));e=r&&!1===r.direct?e:e.filter((t=>t.parentElement===n)),e=r?.matches?e.filter((n=>n?.matches(r.matches))):e;const o=r?.selector;return o?e.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):e}(n,e,r):function(n,t,r){let e=t===F?q(n,F)[0]||null:n.querySelector(t);e=r&&!1===r.direct||e?.parentElement===n?e:null,e=r?.matches?e?.matches(r.matches)?e:null:e;const o=r?.selector;return o?e?.querySelector(o):e}(n,e,r)}function q(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function G(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function V(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function X(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function Y(n){return Boolean(n).toString()}function H(n){return!!J(n).length}function J(n){return n.target.assignedElements({flatten:!0})}function K(n){return!(!n.isPrimary||0!==n.button)}const Q=(n,t,r,e=!0)=>{const o=n.indexOf(t);let u;return e&&(r="previous"===r&&0===o?"last":"next"===r&&o===n.length-1?"first":r),u="previous"===r?n[o-1]||n[e?n.length-1:o]:"next"===r?n[o+1]||n[e?0:o]:"last"===r?n[n.length-1]:n[0],B(u),u};export{G as A,j as a,$ as b,O as c,B as d,H as e,z as f,M as g,V as h,K as i,x as j,Q as k,h as l,A as m,S as n,s as o,b as p,C as q,N as r,J as s,Y as t,I as u,D as v,L as w,X as x,T as y,R as z}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
+ * v1.5.0-next.27
5
+ */
6
+ import{d as e}from"./p-02874c9a.js";import"./p-7650efdd.js";import"./p-2d4d5b02.js";import"./p-83a2dc88.js";import"./p-31f85f74.js";import"./p-c339384e.js";import"./p-a152f006.js";import"./p-53ae5888.js";import"./p-913f00dd.js";import"./p-d4b56ea4.js";import"./p-f886c4dd.js";import"./p-50d5cdd5.js";import"./p-5dd5e699.js";import"./p-4bdfdc2f.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,n,s){var d=e+" ";switch(n){case"s":return t||s?"pár sekund":"pár sekundami";case"m":return t?"minuta":s?"minutu":"minutou";case"mm":return t||s?d+(r(e)?"minuty":"minut"):d+"minutami";case"h":return t?"hodina":s?"hodinu":"hodinou";case"hh":return t||s?d+(r(e)?"hodiny":"hodin"):d+"hodinami";case"d":return t||s?"den":"dnem";case"dd":return t||s?d+(r(e)?"dny":"dní"):d+"dny";case"M":return t||s?"měsíc":"měsícem";case"MM":return t||s?d+(r(e)?"měsíce":"měsíců"):d+"měsíci";case"y":return t||s?"rok":"rokem";case"yy":return t||s?d+(r(e)?"roky":"let"):d+"lety"}}var n={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(n,null,!0);export default n;
@@ -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-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.25
4
+ * v1.5.0-next.27
5
5
  */
6
- import{d as e}from"./p-dc983cd5.js";import"./p-ec2818f4.js";import"./p-2577dd28.js";import"./p-3e299169.js";import"./p-d97d871d.js";import"./p-b5cab779.js";import"./p-8cc59c31.js";import"./p-ffac00f2.js";import"./p-918eeee1.js";import"./p-8bb8735c.js";import"./p-d41db92a.js";import"./p-72a58ac0.js";import"./p-c8dc2f24.js";import"./p-294ad55c.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,m,o){var s=e+" ";switch(m){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?s+(r(e)?"minúty":"minút"):s+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?s+(r(e)?"hodiny":"hodín"):s+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?s+(r(e)?"dni":"dní"):s+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?s+(r(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?s+(r(e)?"roky":"rokov"):s+"rokmi"}}var m={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(m,null,!0);export default m;
6
+ import{d as e}from"./p-02874c9a.js";import"./p-7650efdd.js";import"./p-2d4d5b02.js";import"./p-83a2dc88.js";import"./p-31f85f74.js";import"./p-c339384e.js";import"./p-a152f006.js";import"./p-53ae5888.js";import"./p-913f00dd.js";import"./p-d4b56ea4.js";import"./p-f886c4dd.js";import"./p-50d5cdd5.js";import"./p-5dd5e699.js";import"./p-4bdfdc2f.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,m,o){var s=e+" ";switch(m){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?s+(r(e)?"minúty":"minút"):s+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?s+(r(e)?"hodiny":"hodín"):s+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?s+(r(e)?"dni":"dní"):s+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?s+(r(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?s+(r(e)?"roky":"rokov"):s+"rokmi"}}var m={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(m,null,!0);export default m;
@@ -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-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.25
4
+ * v1.5.0-next.27
5
5
  */
6
- import{d as e}from"./p-dc983cd5.js";import"./p-ec2818f4.js";import"./p-2577dd28.js";import"./p-3e299169.js";import"./p-d97d871d.js";import"./p-b5cab779.js";import"./p-8cc59c31.js";import"./p-ffac00f2.js";import"./p-918eeee1.js";import"./p-8bb8735c.js";import"./p-d41db92a.js";import"./p-72a58ac0.js";import"./p-c8dc2f24.js";import"./p-294ad55c.js";var r={name:"nb",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"}};e.locale(r,null,!0);export default r;
6
+ import{d as e}from"./p-02874c9a.js";import"./p-7650efdd.js";import"./p-2d4d5b02.js";import"./p-83a2dc88.js";import"./p-31f85f74.js";import"./p-c339384e.js";import"./p-a152f006.js";import"./p-53ae5888.js";import"./p-913f00dd.js";import"./p-d4b56ea4.js";import"./p-f886c4dd.js";import"./p-50d5cdd5.js";import"./p-5dd5e699.js";import"./p-4bdfdc2f.js";var r={name:"nb",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"}};e.locale(r,null,!0);export default r;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
+ * v1.5.0-next.27
5
+ */
6
+ import{r as i,c as t,h as e,F as s,a}from"./p-7650efdd.js";import{f as n}from"./p-8fcf52c2.js";import{c as o,u as r,d as c}from"./p-a152f006.js";import{s as l,a as d,c as h}from"./p-d4b56ea4.js";import{c as p,d as m}from"./p-f886c4dd.js";import{u,s as f,c as b,d as g}from"./p-4bdfdc2f.js";import{d as v}from"./p-d8a7a381.js";import"./p-83a2dc88.js";import"./p-31f85f74.js";import"./p-c339384e.js";import"./p-53ae5888.js";import"./p-50d5cdd5.js";const y=class{constructor(e){i(this,e),this.calciteFilterChange=t(this,"calciteFilterChange",6),this.filterDebounced=v(((i,t=!1,e)=>this.updateFiltered(n(this.items,i),t,e)),250),this.inputHandler=i=>{const t=i.target;this.value=t.value,this.filterDebounced(t.value,!0)},this.keyDownHandler=i=>{"Escape"===i.key&&(this.clear(),i.preventDefault()),"Enter"===i.key&&i.preventDefault()},this.clear=()=>{this.value="",this.filterDebounced("",!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.filterDebounced(this.value)}onMessagesChange(){}valueHandler(i){this.filterDebounced(i)}effectiveLocaleChange(){u(this,this.effectiveLocale)}async componentWillLoad(){l(this),this.updateFiltered(n(this.items,this.value)),await f(this)}connectedCallback(){o(this),p(this),b(this)}componentDidRender(){r(this)}disconnectedCallback(){c(this),m(this),g(this),this.filterDebounced.cancel()}componentDidLoad(){d(this)}async filter(i=this.value){return new Promise((t=>{this.value=i,this.filterDebounced(i,!1,t)}))}async setFocus(){await h(this),this.el?.focus()}updateFiltered(i,t=!1,e){this.filteredItems=i,t&&this.calciteFilterChange.emit(),e?.()}render(){const{disabled:i,scale:t}=this;return e(s,null,e("div",{class:"container"},e("label",null,e("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 a(this)}static get watchers(){return{items:["watchItemsHandler"],messageOverrides:["onMessagesChange"],value:["valueHandler"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=":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}: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)}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_filter}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
+ * v1.5.0-next.27
5
+ */
6
+ import{d}from"./p-02874c9a.js";import"./p-7650efdd.js";import"./p-2d4d5b02.js";import"./p-83a2dc88.js";import"./p-31f85f74.js";import"./p-c339384e.js";import"./p-a152f006.js";import"./p-53ae5888.js";import"./p-913f00dd.js";import"./p-d4b56ea4.js";import"./p-f886c4dd.js";import"./p-50d5cdd5.js";import"./p-5dd5e699.js";import"./p-4bdfdc2f.js";var e={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(d,e){return d%10>=1&&d%10<=4&&(d%100<10||d%100>=20)?d%10==1?e[0]:e[1]:e[2]},relativeTimeFormatter:function(d,a,t,r){var n=e.words[t];if(1===t.length)return"y"===t&&a?"jedna godina":r||a?n[0]:n[1];var m=e.correctGrammarCase(d,n);return"yy"===t&&a&&"%d godinu"===m?d+" godina":m.replace("%d",d)}},a={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:e.relativeTimeFormatter,mm:e.relativeTimeFormatter,h:e.relativeTimeFormatter,hh:e.relativeTimeFormatter,d:e.relativeTimeFormatter,dd:e.relativeTimeFormatter,M:e.relativeTimeFormatter,MM:e.relativeTimeFormatter,y:e.relativeTimeFormatter,yy:e.relativeTimeFormatter},ordinal:function(d){return d+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};d.locale(a,null,!0);export default a;
@@ -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-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.25
4
+ * v1.5.0-next.27
5
5
  */
6
- import{d as u}from"./p-dc983cd5.js";import"./p-ec2818f4.js";import"./p-2577dd28.js";import"./p-3e299169.js";import"./p-d97d871d.js";import"./p-b5cab779.js";import"./p-8cc59c31.js";import"./p-ffac00f2.js";import"./p-918eeee1.js";import"./p-8bb8735c.js";import"./p-d41db92a.js";import"./p-72a58ac0.js";import"./p-c8dc2f24.js";import"./p-294ad55c.js";function t(u,t,i,a){var m={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"päivä",dd:"%d päivää",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän".split("_")},n={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"päivän",dd:"%d päivän",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän".split("_")},s=a&&!t?n:m;return s[i].replace("%d",u<10?s.numbers[u]:u)}var i={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),ordinal:function(u){return u+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s päästä",past:"%s sitten",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};u.locale(i,null,!0);export default i;
6
+ import{d as u}from"./p-02874c9a.js";import"./p-7650efdd.js";import"./p-2d4d5b02.js";import"./p-83a2dc88.js";import"./p-31f85f74.js";import"./p-c339384e.js";import"./p-a152f006.js";import"./p-53ae5888.js";import"./p-913f00dd.js";import"./p-d4b56ea4.js";import"./p-f886c4dd.js";import"./p-50d5cdd5.js";import"./p-5dd5e699.js";import"./p-4bdfdc2f.js";function t(u,t,i,a){var m={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"päivä",dd:"%d päivää",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän".split("_")},n={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"päivän",dd:"%d päivän",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän".split("_")},s=a&&!t?n:m;return s[i].replace("%d",u<10?s.numbers[u]:u)}var i={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),ordinal:function(u){return u+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s päästä",past:"%s sitten",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};u.locale(i,null,!0);export default i;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
+ * v1.5.0-next.27
5
+ */
6
+ import{r as e,c as t,h as a,H as i,a as r,F as s}from"./p-7650efdd.js";import{h as o,b as n,c,g as h,f as d,e as l,s as g,j as u,i as p,k as v,n as f,p as w,l as y,m as b}from"./p-f29383e0.js";import{c as x,s as m,a as k}from"./p-d4b56ea4.js";import{c as D,d as z,n as C,b as A}from"./p-f886c4dd.js";import{c as I,d as S,s as M,u as P}from"./p-4bdfdc2f.js";import{c as j,b as H,t as O}from"./p-83a2dc88.js";import{c as R,u as _,d as L}from"./p-a152f006.js";import{i as W}from"./p-53ae5888.js";import{C as Y}from"./p-c339384e.js";import{H as E}from"./p-f56b7a83.js";import"./p-50d5cdd5.js";import"./p-31f85f74.js";const N={dateStyle:"full"},F=class{constructor(a){e(this,a),this.calciteDatePickerChange=t(this,"calciteDatePickerChange",6),this.calciteDatePickerRangeChange=t(this,"calciteDatePickerRangeChange",6),this.keyDownHandler=e=>{"Escape"===e.key&&this.resetActiveDates()},this.monthHeaderSelectChange=e=>{const t=new Date(e.detail);this.range?("end"===this.activeRange?this.activeEndDate=t:this.activeStartDate=t,this.mostRecentRangeValue=t):this.activeDate=t},this.monthActiveDateChange=e=>{const t=new Date(e.detail);this.range?("end"===this.activeRange?this.activeEndDate=t:this.activeStartDate=t,this.mostRecentRangeValue=t):this.activeDate=t},this.monthHoverChange=e=>{if(!this.range)return void(this.hoverRange=void 0);const{valueAsDate:t}=this,a=Array.isArray(t)&&t[0],i=Array.isArray(t)&&t[1],r=new Date(e.detail);if(this.hoverRange={focused:this.activeRange||"start",start:a,end:i},this.proximitySelectionDisabled)i?this.hoverRange=void 0:r<a?this.hoverRange={focused:"start",start:r,end:a}:(this.hoverRange.end=r,this.hoverRange.focused="end");else if(i){const e=o(r,a),t=o(r,i);t>0?(this.hoverRange.end=r,this.hoverRange.focused="end"):e<0||e>t?(this.hoverRange.start=r,this.hoverRange.focused="start"):(this.hoverRange.end=r,this.hoverRange.focused="end")}else a&&(r<a?this.hoverRange={focused:"start",start:r,end:a}:(this.hoverRange.end=r,this.hoverRange.focused="end"));e.stopPropagation()},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.resetActiveDates=()=>{const{valueAsDate:e}=this;!Array.isArray(e)&&e&&e!==this.activeDate&&(this.activeDate=new Date(e)),Array.isArray(e)&&(e[0]&&e[0]!==this.activeStartDate&&(this.activeStartDate=new Date(e[0])),e[1]&&e[1]!==this.activeEndDate&&(this.activeEndDate=new Date(e[1])))},this.monthDateChange=e=>{const t=new Date(e.detail),a=n(t);if(!this.range&&a===n(this.valueAsDate))return;if(!this.range)return this.value=a||"",this.valueAsDate=t||null,this.activeDate=t||null,void this.calciteDatePickerChange.emit();const i=this.getStartDate(),r=this.getEndDate();if(!i||!r&&t<i)i&&this.setEndDate(new Date(i)),"end"==this.activeRange?this.setEndDate(t):this.setStartDate(t);else if(r)if(this.proximitySelectionDisabled)this.setStartDate(t);else if(this.activeRange)"end"==this.activeRange?this.setEndDate(t):this.setStartDate(t);else{const e=o(t,i),a=o(t,r);0===a||e<0?this.setStartDate(t):0===e||a<0?this.setEndDate(t):e<a?this.setStartDate(t):this.setEndDate(t)}else this.setEndDate(t);this.calciteDatePickerChange.emit()},this.activeDate=void 0,this.activeRange=void 0,this.value=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.numberingSystem=void 0,this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.messageOverrides=void 0,this.messages=void 0,this.activeEndDate=void 0,this.activeStartDate=void 0,this.dateTimeFormat=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.endAsDate=void 0,this.hoverRange=void 0,this.localeData=void 0,this.mostRecentRangeValue=void 0,this.startAsDate=void 0}activeDateWatcher(e){"end"===this.activeRange&&(this.activeEndDate=e)}valueAsDateWatcher(e){if(this.range&&Array.isArray(e)){const{activeStartDate:t,activeEndDate:a}=this,i=e[0],r=e[1];this.activeStartDate=t!==i&&i,this.activeEndDate=a!==r&&r}else e&&e!==this.activeDate&&(this.activeDate=e)}onMinChanged(e){e&&(this.minAsDate=c(e))}onMaxChanged(e){e&&(this.maxAsDate=c(e))}onMessagesChange(){}async setFocus(){await x(this),this.el.focus()}async reset(){this.resetActiveDates(),this.mostRecentRangeValue=void 0}connectedCallback(){D(this),I(this),Array.isArray(this.value)?this.valueAsDate=h(this.value):this.value&&(this.valueAsDate=c(this.value)),this.min&&(this.minAsDate=c(this.min)),this.max&&(this.maxAsDate=c(this.max))}disconnectedCallback(){z(this),S(this)}async componentWillLoad(){m(this),await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max),await M(this)}componentDidLoad(){k(this)}render(){const e=d(this.range&&Array.isArray(this.valueAsDate)?this.valueAsDate[0]:this.valueAsDate,this.minAsDate,this.maxAsDate);let t=this.getActiveDate(e,this.minAsDate,this.maxAsDate);const r=this.range&&Array.isArray(this.valueAsDate)?d(this.valueAsDate[1],this.minAsDate,this.maxAsDate):null,s=this.getActiveEndDate(r,this.minAsDate,this.maxAsDate);return"end"!==this.activeRange&&("end"!==this.hoverRange?.focused||this.proximitySelectionDisabled&&!r)||!s||(t=s),this.range&&this.mostRecentRangeValue&&(t=this.mostRecentRangeValue),a(i,{onBlur:this.resetActiveDates,onKeyDown:this.keyDownHandler},this.renderCalendar(t,this.range&&this.activeRange&&"start"===this.activeRange&&r||this.maxAsDate,this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:e||this.minAsDate:this.minAsDate,e,r))}effectiveLocaleChange(){P(this,this.effectiveLocale)}valueHandler(e){Array.isArray(e)?this.valueAsDate=h(e):e&&(this.valueAsDate=c(e))}async loadLocaleData(){C.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await l(this.effectiveLocale),this.dateTimeFormat=A(this.effectiveLocale,N)}renderCalendar(e,t,i,r,s){return this.localeData&&[a("calcite-date-picker-month-header",{activeDate:e,headingLevel:this.headingLevel||2,localeData:this.localeData,max:t,messages:this.messages,min:i,onCalciteInternalDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?s:r||new Date}),a("calcite-date-picker-month",{activeDate:e,dateTimeFormat:this.dateTimeFormat,endDate:this.range?s:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:t,min:i,onCalciteInternalDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,onCalciteInternalDatePickerSelect:this.monthDateChange,scale:this.scale,selectedDate:"end"===this.activeRange?s:r,startDate:this.range?r:void 0})]}getEndDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0}setEndDate(e){const t=this.getStartDate(),a=e?g(e):e;this.value=[n(t),n(e)],this.valueAsDate=[t,e],this.mostRecentRangeValue=a,this.calciteDatePickerRangeChange.emit(),this.activeEndDate=e||null}getStartDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[0]}setStartDate(e){const t=this.getEndDate();this.value=[n(e),n(t)],this.valueAsDate=[e,t],this.mostRecentRangeValue=e,this.calciteDatePickerRangeChange.emit(),this.activeStartDate=e||null}getActiveDate(e,t,a){return d(this.activeDate,t,a)||e||d(new Date,t,a)}getActiveEndDate(e,t,a){return d(this.activeEndDate,t,a)||e||d(new Date,t,a)}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{activeDate:["activeDateWatcher"],valueAsDate:["valueAsDateWatcher"],min:["onMinChanged"],max:["onMaxChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","loadLocaleData"],value:["valueHandler"]}}};F.style=":host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}:host([hidden]){display:none}[hidden]{display:none}";const K=class{constructor(a){e(this,a),this.calciteDaySelect=t(this,"calciteDaySelect",6),this.calciteInternalDayHover=t(this,"calciteInternalDayHover",6),this.onClick=()=>{this.disabled||this.calciteDaySelect.emit()},this.keyDownHandler=e=>{W(e.key)&&(!this.disabled&&this.calciteDaySelect.emit(),e.preventDefault())},this.day=void 0,this.dateTimeFormat=void 0,this.disabled=!1,this.currentMonth=!1,this.selected=!1,this.highlighted=!1,this.range=!1,this.rangeEdge=void 0,this.startOfRange=!1,this.endOfRange=!1,this.rangeHover=!1,this.active=!1,this.scale=void 0,this.value=void 0}pointerOverHandler(){this.disabled||this.calciteInternalDayHover.emit()}componentWillLoad(){this.parentDatePickerEl=j(this.el,"calcite-date-picker")}render(){const e=n(this.value).replaceAll("-","");if(this.parentDatePickerEl){const{numberingSystem:e,lang:t}=this.parentDatePickerEl;C.numberFormatOptions={useGrouping:!1,...e&&{numberingSystem:e},...t&&{locale:t}}}const t=C.localize(String(this.day)),r=H(this.el),s=this.dateTimeFormat.format(this.value);return a(i,{"aria-disabled":O(this.disabled),"aria-label":s,"aria-selected":O(this.active),id:e,onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"button"},a("div",{"aria-hidden":"true",class:{"day-v-wrapper":!0,[Y.rtl]:"rtl"===r}},a("div",{class:"day-wrapper"},a("span",{class:"day"},a("span",{class:"text"},t)))))}connectedCallback(){R(this)}componentDidRender(){_(this,this.isTabbable)}disconnectedCallback(){L(this)}isTabbable(){return this.active}get el(){return r(this)}};K.style=":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;cursor:pointer;color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{flex:1 1 auto}.day-wrapper{display:flex;flex-direction:column;align-items:center}.day{display:flex;align-items:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px}:host(:focus:not([disabled])) .day{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 );box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .day{opacity:1}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range]:not(:focus)) .calcite--rtl .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--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([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--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([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--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([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--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(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--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(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--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(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--start) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--end) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([range-hover][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([highlighted][range-edge=start]) .calcite--rtl .day-wrapper,:host([range-hover][range-edge=start]) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([range-hover][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([highlighted][range-edge=end]) .calcite--rtl .day-wrapper,:host([range-hover][range-edge=end]) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted][range-edge=start]) .calcite--rtl .day-wrapper,:host([scale=s][range-hover][range-edge=start]) .calcite--rtl .day-wrapper{box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted][range-edge=end]) .calcite--rtl .day-wrapper,:host([scale=s][range-hover][range-edge=end]) .calcite--rtl .day-wrapper{box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted][range-edge=end]) .calcite--rtl .day-wrapper,:host([scale=l][range-hover][range-edge=end]) .calcite--rtl .day-wrapper{box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted][range-edge=start]) .day-wrapper,:host([range-hover][range-edge=start]) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted][range-edge=end]) .day-wrapper,:host([range-hover][range-edge=end]) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted][range-edge=start]) .calcite--rtl .day-wrapper,:host([scale=l][range-hover][range-edge=start]) .calcite--rtl .day-wrapper{box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}:host([hidden]){display:none}[hidden]{display:none}";const T=class{constructor(a){e(this,a),this.calciteInternalDatePickerSelect=t(this,"calciteInternalDatePickerSelect",6),this.calciteInternalDatePickerHover=t(this,"calciteInternalDatePickerHover",6),this.calciteInternalDatePickerActiveDateChange=t(this,"calciteInternalDatePickerActiveDateChange",6),this.calciteInternalDatePickerMouseOut=t(this,"calciteInternalDatePickerMouseOut",6),this.keyDownHandler=e=>{if(e.defaultPrevented)return;const t="rtl"===this.el.dir;switch(e.key){case"ArrowUp":e.preventDefault(),this.addDays(-7);break;case"ArrowRight":e.preventDefault(),this.addDays(t?-1:1);break;case"ArrowDown":e.preventDefault(),this.addDays(7);break;case"ArrowLeft":e.preventDefault(),this.addDays(t?1:-1);break;case"PageUp":e.preventDefault(),this.addMonths(-1);break;case"PageDown":e.preventDefault(),this.addMonths(1);break;case"Home":e.preventDefault(),this.activeDate.setDate(1),this.addDays();break;case"End":e.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":this.activeFocus=!1}},this.disableActiveFocus=()=>{this.activeFocus=!1},this.dayHover=e=>{const t=e.target;t.disabled?this.calciteInternalDatePickerMouseOut.emit():this.calciteInternalDatePickerHover.emit(t.value),e.stopPropagation()},this.daySelect=e=>{this.calciteInternalDatePickerSelect.emit(e.target.value)},this.dateTimeFormat=void 0,this.selectedDate=void 0,this.activeDate=new Date,this.startDate=void 0,this.endDate=void 0,this.min=void 0,this.max=void 0,this.scale=void 0,this.localeData=void 0,this.hoverRange=void 0}pointerOutHandler(){this.calciteInternalDatePickerMouseOut.emit()}render(){const e=this.activeDate.getMonth(),t=this.activeDate.getFullYear(),r=this.localeData.weekStart%7,{abbreviated:s,short:o,narrow:n}=this.localeData.days,c="s"===this.scale?n||o||s:o||s||n,h=[...c.slice(r,7),...c.slice(0,r)],d=this.getCurrentMonthDays(e,t),l=this.getPreviousMonthDays(e,t,r),g=this.getNextMonthDays(e,t,r);let p=0;const v=()=>p++%7,f=[...l.map((a=>({active:!1,day:a,dayInWeek:v(),date:new Date(t,e-1,a)}))),...d.map((a=>{const i=new Date(t,e,a);return{active:u(i,this.activeDate),currentMonth:!0,day:a,dayInWeek:v(),date:i,ref:!0}})),...g.map((a=>({active:!1,day:a,dayInWeek:v(),date:new Date(t,e+1,a)})))],w=[];for(let e=0;e<f.length;e+=7)w.push(f.slice(e,e+7));return a(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},a("div",{class:"calendar",role:"grid"},a("div",{class:"week-headers",role:"row"},h.map((e=>a("span",{class:"week-header",role:"columnheader"},e)))),w.map((e=>a("div",{class:"week-days",role:"row"},e.map((e=>this.renderDateDay(e))))))))}addMonths(e){const t=new Date(this.activeDate);t.setMonth(this.activeDate.getMonth()+e),this.calciteInternalDatePickerActiveDateChange.emit(d(t,this.min,this.max)),this.activeFocus=!0}addDays(e=0){const t=new Date(this.activeDate);t.setDate(this.activeDate.getDate()+e),this.calciteInternalDatePickerActiveDateChange.emit(d(t,this.min,this.max)),this.activeFocus=!0}getPreviousMonthDays(e,t,a){const i=new Date(t,e,0),r=i.getDate(),s=i.getDay(),o=[];if(s===(a+6)%7)return o;if(s===a)return[r];for(let e=(7+s-a)%7;e>=0;e--)o.push(r-e);return o}getCurrentMonthDays(e,t){const a=new Date(t,e+1,0).getDate(),i=[];for(let e=0;e<a;e++)i.push(e+1);return i}getNextMonthDays(e,t,a){const i=new Date(t,e+1,0).getDay(),r=[];if(i===(a+6)%7)return r;for(let e=0;e<(6-(i-a))%7;e++)r.push(e+1);return r}betweenSelectedRange(e){return!(!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate)||this.isRangeHover(e))}isSelected(e){return!!(u(e,this.selectedDate)||this.startDate&&u(e,this.startDate)||this.endDate&&u(e,this.endDate))}isStartOfRange(e){return!(!this.startDate||u(this.startDate,this.endDate)||!u(this.startDate,e)||this.isEndOfRange(e))}isEndOfRange(e){return!!(this.endDate&&!u(this.startDate,this.endDate)&&u(this.endDate,e)||!this.endDate&&this.hoverRange&&u(this.startDate,this.hoverRange.end)&&u(e,this.hoverRange.end))}renderDateDay({active:e,currentMonth:t,date:i,day:r,dayInWeek:s,ref:o}){const n=this.isFocusedOnStart(),c=this.isHoverInRange()||!this.endDate&&this.hoverRange&&u(this.hoverRange?.end,this.startDate);return a("div",{class:"day",key:i.toDateString(),role:"gridcell"},a("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&c,"hover--outside-range":this.startDate&&!c,"focused--start":n,"focused--end":!n},currentMonth:t,dateTimeFormat:this.dateTimeFormat,day:r,disabled:!p(i,this.min,this.max),endOfRange:this.isEndOfRange(i),highlighted:this.betweenSelectedRange(i),onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!u(this.startDate,this.endDate),rangeEdge:0===s?"start":6===s?"end":void 0,rangeHover:this.isRangeHover(i),scale:this.scale,selected:this.isSelected(i),startOfRange:this.isStartOfRange(i),value:i,ref:t=>{o&&e&&this.activeFocus&&t?.focus()}}))}isFocusedOnStart(){return"start"===this.hoverRange?.focused}isHoverInRange(){if(!this.hoverRange)return!1;const{start:e,end:t}=this.hoverRange;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||t<this.endDate)||this.isFocusedOnStart()&&this.startDate&&e>this.startDate)}isRangeHover(e){if(!this.hoverRange)return!1;const{start:t,end:a}=this.hoverRange,i=this.isFocusedOnStart(),r=this.isHoverInRange(),s=r&&(!i&&e>this.startDate&&(e<a||u(e,a))||i&&e<this.endDate&&(e>t||u(e,t))),o=!r&&(!i&&e>=this.endDate&&(e<a||u(e,a))||i&&(this.startDate&&e<this.startDate||this.endDate&&u(e,this.startDate))&&(t&&e>t||u(e,t)));return s||o}get el(){return r(this)}};T.style=":host([hidden]){display:none}[hidden]{display:none}.calendar{margin-block-end:0.25rem}.week-headers{display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);inline-size:14.2857142857%}.day{display:flex;min-inline-size:0px;justify-content:center;inline-size:14.2857142857%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:flex;flex-direction:row;padding-block:0px;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";const $="chevron",G=class{constructor(a){e(this,a),this.calciteInternalDatePickerSelect=t(this,"calciteInternalDatePickerSelect",6),this.onYearKey=e=>{const t=this.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault(),this.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault(),this.setYear({localizedYear:t,offset:1})}},this.onYearChange=e=>{this.setYear({localizedYear:this.parseCalendarYear(e.target.value)})},this.onYearInput=e=>{this.setYear({localizedYear:this.parseCalendarYear(e.target.value),commit:!1})},this.prevMonthClick=e=>{this.handleArrowClick(e,this.prevMonthDate)},this.prevMonthKeydown=e=>{W(e.key)&&this.prevMonthClick(e)},this.nextMonthClick=e=>{this.handleArrowClick(e,this.nextMonthDate)},this.nextMonthKeydown=e=>{W(e.key)&&this.nextMonthClick(e)},this.handleArrowClick=(e,t)=>{e.preventDefault(),this.calciteInternalDatePickerSelect.emit(t)},this.selectedDate=void 0,this.activeDate=void 0,this.headingLevel=void 0,this.min=void 0,this.max=void 0,this.scale=void 0,this.localeData=void 0,this.messages=void 0,this.nextMonthDate=void 0,this.prevMonthDate=void 0}componentWillLoad(){this.parentDatePickerEl=j(this.el,"calcite-date-picker")}connectedCallback(){this.setNextPrevMonthDates()}render(){return a("div",{class:"header"},this.renderContent())}renderContent(){const{messages:e,localeData:t,activeDate:i}=this;if(!i||!t)return null;if(this.parentDatePickerEl){const{numberingSystem:e,lang:t}=this.parentDatePickerEl;C.numberFormatOptions={useGrouping:!1,...e&&{numberingSystem:e},...t&&{locale:t}}}const r=i.getMonth(),{months:o,unitOrder:n}=t,c=(o.wide||o.narrow||o.abbreviated)[r],h=this.formatCalendarYear(i.getFullYear()),d="l"===this.scale?"m":"s",l=v(n),g=l.indexOf("y")<l.indexOf("m"),u=t.year?.suffix;return a(s,null,a("a",{"aria-disabled":`${this.prevMonthDate.getMonth()===r}`,"aria-label":e.prevMonth,class:$,href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===r?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-left",scale:d})),a("div",{class:{text:!0,"text--reverse":g}},a(E,{class:"month",level:this.headingLevel},c),a("span",{class:"year-wrap"},a("input",{"aria-label":e.year,class:{year:!0,"year--suffix":!!u},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",type:"text",value:h,ref:e=>this.yearInput=e}),u&&a("span",{class:"suffix"},u))),a("a",{"aria-disabled":`${this.nextMonthDate.getMonth()===r}`,"aria-label":e.nextMonth,class:$,href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===r?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-right",scale:d})))}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=d(f(this.activeDate),this.min,this.max),this.prevMonthDate=d(w(this.activeDate),this.min,this.max))}formatCalendarYear(e){return C.localize(`${y(e,this.localeData)}`)}parseCalendarYear(e){return C.localize(`${b(Number(C.delocalize(e)),this.localeData)}`)}getInRangeDate({localizedYear:e,offset:t=0}){const{min:a,max:i,activeDate:r}=this,s=Number(C.delocalize(e)),o=s.toString().length,n=!isNaN(s)&&s+t,c=n&&(!a||a.getFullYear()<=n)&&(!i||i.getFullYear()>=n);if(n&&c&&o===e.length){const e=new Date(r);return e.setFullYear(n),d(e,a,i)}}setYear({localizedYear:e,commit:t=!0,offset:a=0}){const{yearInput:i,activeDate:r}=this,s=this.getInRangeDate({localizedYear:e,offset:a});s&&this.calciteInternalDatePickerSelect.emit(s),t&&(i.value=this.formatCalendarYear((s||r).getFullYear()))}get el(){return r(this)}static get watchers(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}}};G.style=":host{display:block}.header{display:flex;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;box-sizing:content-box;display:flex;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron: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 )}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;display:flex;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:center;text-align:center;line-height:1}.text--reverse{flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;inline-size:2.5rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent}.year:hover{transition-duration:100ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year: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 )}.year--suffix{text-align:start}.year-wrap{position:relative}.suffix{inset-block-start:0px;white-space:nowrap;text-align:start;inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}";export{F as calcite_date_picker,K as calcite_date_picker_day,T as calcite_date_picker_month,G as calcite_date_picker_month_header}
@@ -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-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.25
4
+ * v1.5.0-next.27
5
5
  */
6
- import{a as r,S as t,i as n,b as e,c as o,r as u,f}from"./p-8f0a674a.js";var c=Array.isArray,a=t?t.prototype:void 0,i=a?a.toString:void 0;function l(t){if("string"==typeof t)return t;if(c(t))return function(r,t){for(var n=-1,e=null==r?0:r.length,o=Array(e);++n<e;)o[n]=t(r[n],n,r);return o}(t,l)+"";if(r(t))return i?i.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function s(r){return r}var v=/^(?:0|[1-9]\d*)$/;function b(r,t){var n=typeof r;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&v.test(r))&&r>-1&&r%1==0&&r<t}function p(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}var y=Object.prototype;function j(r){return o(r)&&"[object Arguments]"==e(r)}var d=Object.prototype,m=d.hasOwnProperty,x=d.propertyIsEnumerable,g=j(function(){return arguments}())?j:function(r){return o(r)&&m.call(r,"callee")&&!x.call(r,"callee")},O="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=O&&"object"==typeof module&&module&&!module.nodeType&&module,A=h&&h.exports===O?u.Buffer:void 0,F=(A?A.isBuffer:void 0)||function(){return!1},$={};$["[object Float32Array]"]=$["[object Float64Array]"]=$["[object Int8Array]"]=$["[object Int16Array]"]=$["[object Int32Array]"]=$["[object Uint8Array]"]=$["[object Uint8ClampedArray]"]=$["[object Uint16Array]"]=$["[object Uint32Array]"]=!0,$["[object Arguments]"]=$["[object Array]"]=$["[object ArrayBuffer]"]=$["[object Boolean]"]=$["[object DataView]"]=$["[object Date]"]=$["[object Error]"]=$["[object Function]"]=$["[object Map]"]=$["[object Number]"]=$["[object Object]"]=$["[object RegExp]"]=$["[object Set]"]=$["[object String]"]=$["[object WeakMap]"]=!1;var w,E="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=E&&"object"==typeof module&&module&&!module.nodeType&&module,S=R&&R.exports===E&&f.process,k=function(){try{return R&&R.require&&R.require("util").types||S&&S.binding&&S.binding("util")}catch(r){}}(),G=k&&k.isTypedArray,L=G?(w=G,function(r){return w(r)}):function(r){return o(r)&&p(r.length)&&!!$[e(r)]},N=Object.prototype.hasOwnProperty;var P=Object.prototype.hasOwnProperty;function T(r){return null!=(t=r)&&p(t.length)&&!function(r){if(!n(r))return!1;var t=e(r);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(t)?function(r,t){var n=c(r),e=!n&&g(r),o=!n&&!e&&F(r),u=!n&&!e&&!o&&L(r),f=n||e||o||u,a=f?function(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}(r.length,String):[],i=a.length;for(var l in r)!t&&!N.call(r,l)||f&&("length"==l||o&&("offset"==l||"parent"==l)||u&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||b(l,i))||a.push(l);return a}(r,!0):function(r){if(!n(r))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(r);var t,e,o=(t=r)===("function"==typeof(e=t&&t.constructor)&&e.prototype||y),u=[];for(var f in r)("constructor"!=f||!o&&P.call(r,f))&&u.push(f);return u}(r);var t}var q=/[\\^$.*+?()[\]{}|]/g,z=RegExp(q.source);function B(r,t){return null==r?r:function(r,t,n){for(var e=-1,o=Object(r),u=n(r),f=u.length;f--;){var c=u[++e];if(!1===t(o[c],c,o))break}return r}(r,"function"==typeof(n=t)?n:s,T);var n}const C=(r,t)=>{const n=function(r){var t;return(r=null==(t=r)?"":l(t))&&z.test(r)?r.replace(q,"\\$&"):r}(t),e=new RegExp(n,"i");0===r.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const o=(r,t)=>{if(r?.constant||r?.filterDisabled)return!0;let n=!1;return B(r,(r=>{"function"!=typeof r&&null!=r&&(Array.isArray(r)||"object"==typeof r&&null!==r?o(r,t)&&(n=!0):t.test(r)&&(n=!0))})),n};return r.filter((r=>o(r,e)))};export{C as f}
6
+ import{a as r,S as t,i as n,b as e,c as o,r as u,f}from"./p-d8a7a381.js";var c=Array.isArray,a=t?t.prototype:void 0,i=a?a.toString:void 0;function l(t){if("string"==typeof t)return t;if(c(t))return function(r,t){for(var n=-1,e=null==r?0:r.length,o=Array(e);++n<e;)o[n]=t(r[n],n,r);return o}(t,l)+"";if(r(t))return i?i.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function s(r){return r}var v=/^(?:0|[1-9]\d*)$/;function b(r,t){var n=typeof r;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&v.test(r))&&r>-1&&r%1==0&&r<t}function p(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}var y=Object.prototype;function d(r){return o(r)&&"[object Arguments]"==e(r)}var j=Object.prototype,m=j.hasOwnProperty,x=j.propertyIsEnumerable,g=d(function(){return arguments}())?d:function(r){return o(r)&&m.call(r,"callee")&&!x.call(r,"callee")},O="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=O&&"object"==typeof module&&module&&!module.nodeType&&module,A=h&&h.exports===O?u.Buffer:void 0,F=(A?A.isBuffer:void 0)||function(){return!1},$={};$["[object Float32Array]"]=$["[object Float64Array]"]=$["[object Int8Array]"]=$["[object Int16Array]"]=$["[object Int32Array]"]=$["[object Uint8Array]"]=$["[object Uint8ClampedArray]"]=$["[object Uint16Array]"]=$["[object Uint32Array]"]=!0,$["[object Arguments]"]=$["[object Array]"]=$["[object ArrayBuffer]"]=$["[object Boolean]"]=$["[object DataView]"]=$["[object Date]"]=$["[object Error]"]=$["[object Function]"]=$["[object Map]"]=$["[object Number]"]=$["[object Object]"]=$["[object RegExp]"]=$["[object Set]"]=$["[object String]"]=$["[object WeakMap]"]=!1;var w,E="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=E&&"object"==typeof module&&module&&!module.nodeType&&module,S=R&&R.exports===E&&f.process,k=function(){try{return R&&R.require&&R.require("util").types||S&&S.binding&&S.binding("util")}catch(r){}}(),G=k&&k.isTypedArray,L=G?(w=G,function(r){return w(r)}):function(r){return o(r)&&p(r.length)&&!!$[e(r)]},N=Object.prototype.hasOwnProperty;var P=Object.prototype.hasOwnProperty;function T(r){return null!=(t=r)&&p(t.length)&&!function(r){if(!n(r))return!1;var t=e(r);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(t)?function(r,t){var n=c(r),e=!n&&g(r),o=!n&&!e&&F(r),u=!n&&!e&&!o&&L(r),f=n||e||o||u,a=f?function(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}(r.length,String):[],i=a.length;for(var l in r)!t&&!N.call(r,l)||f&&("length"==l||o&&("offset"==l||"parent"==l)||u&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||b(l,i))||a.push(l);return a}(r,!0):function(r){if(!n(r))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(r);var t,e,o=(t=r)===("function"==typeof(e=t&&t.constructor)&&e.prototype||y),u=[];for(var f in r)("constructor"!=f||!o&&P.call(r,f))&&u.push(f);return u}(r);var t}var q=/[\\^$.*+?()[\]{}|]/g,z=RegExp(q.source);function B(r,t){return null==r?r:function(r,t,n){for(var e=-1,o=Object(r),u=n(r),f=u.length;f--;){var c=u[++e];if(!1===t(o[c],c,o))break}return r}(r,"function"==typeof(n=t)?n:s,T);var n}const C=(r,t)=>{const n=function(r){var t;return(r=null==(t=r)?"":l(t))&&z.test(r)?r.replace(q,"\\$&"):r}(t),e=new RegExp(n,"i");0===r.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const o=(r,t)=>{if(r?.constant||r?.filterDisabled)return!0;let n=!1;return B(r,(r=>{"function"!=typeof r&&null!=r&&(Array.isArray(r)||"object"==typeof r&&null!==r?o(r,t)&&(n=!0):t.test(r)&&(n=!0))})),n};return r.filter((r=>o(r,e)))};export{C as f}
@@ -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-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.25
4
+ * v1.5.0-next.27
5
5
  */
6
- import{q as t,c as n}from"./p-3e299169.js";const e="calciteInternalLabelClick",c="calciteInternalLabelConnected",o="calciteInternaLabelDisconnected",s="calcite-label",i=new WeakMap,a=new WeakMap,u=new WeakMap,r=new Set;function l(l){const f=(e=>{const{id:c}=e,o=c&&t(e,{selector:`${s}[for="${c}"]`});if(o)return o;const i=n(e,s);return!i||function(t,n){let e;const c="custom-element-ancestor-check",o=c=>{c.stopImmediatePropagation();const o=c.composedPath();e=o.slice(o.indexOf(n),o.indexOf(t))};return t.addEventListener(c,o,{once:!0}),n.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),t.removeEventListener(c,o),e.filter((e=>e!==n&&e!==t)).filter((t=>t.tagName?.includes("-"))).length>0}(i,e)?null:i})(l.el);if(i.has(f)||!f&&r.has(l))return;const m=b.bind(l);if(f){l.labelEl=f;const t=d.bind(l);i.set(l.labelEl,t),l.labelEl.addEventListener(e,t),r.delete(l),document.removeEventListener(c,a.get(l)),u.set(l,m),document.addEventListener(o,m)}else r.has(l)||(m(),document.removeEventListener(o,u.get(l)))}function f(t){if(r.delete(t),document.removeEventListener(c,a.get(t)),document.removeEventListener(o,u.get(t)),a.delete(t),u.delete(t),!t.labelEl)return;const n=i.get(t.labelEl);t.labelEl.removeEventListener(e,n),i.delete(t.labelEl)}function m(t){return t.label||t.labelEl?.textContent?.trim()||""}function d(t){this.disabled||this.el.contains(t.detail.sourceEvent.target)||this.onLabelClick(t)}function h(){r.has(this)&&l(this)}function b(){r.add(this);const t=a.get(this)||h.bind(this);a.set(this,t),document.addEventListener(c,t)}export{o as a,l as c,f as d,m as g,c as l}
6
+ import{q as t,c as n}from"./p-83a2dc88.js";const e="calciteInternalLabelClick",c="calciteInternalLabelConnected",o="calciteInternaLabelDisconnected",s="calcite-label",i=new WeakMap,a=new WeakMap,u=new WeakMap,r=new Set;function l(l){const f=(e=>{const{id:c}=e,o=c&&t(e,{selector:`${s}[for="${c}"]`});if(o)return o;const i=n(e,s);return!i||function(t,n){let e;const c="custom-element-ancestor-check",o=c=>{c.stopImmediatePropagation();const o=c.composedPath();e=o.slice(o.indexOf(n),o.indexOf(t))};return t.addEventListener(c,o,{once:!0}),n.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),t.removeEventListener(c,o),e.filter((e=>e!==n&&e!==t)).filter((t=>t.tagName?.includes("-"))).length>0}(i,e)?null:i})(l.el);if(i.has(f)||!f&&r.has(l))return;const d=b.bind(l);if(f){l.labelEl=f;const t=m.bind(l);i.set(l.labelEl,t),l.labelEl.addEventListener(e,t),r.delete(l),document.removeEventListener(c,a.get(l)),u.set(l,d),document.addEventListener(o,d)}else r.has(l)||(d(),document.removeEventListener(o,u.get(l)))}function f(t){if(r.delete(t),document.removeEventListener(c,a.get(t)),document.removeEventListener(o,u.get(t)),a.delete(t),u.delete(t),!t.labelEl)return;const n=i.get(t.labelEl);t.labelEl.removeEventListener(e,n),i.delete(t.labelEl)}function d(t){return t.label||t.labelEl?.textContent?.trim()||""}function m(t){this.disabled||this.el.contains(t.detail.sourceEvent.target)||this.onLabelClick(t)}function h(){r.has(this)&&l(this)}function b(){r.add(this);const t=a.get(this)||h.bind(this);a.set(this,t),document.addEventListener(c,t)}export{o as a,l as c,f as d,d as g,c as l}