@esri/calcite-components 1.5.0-next.31 → 1.5.0-next.33

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 (961) hide show
  1. package/dist/calcite/assets/handle/t9n/index.d.ts +4 -0
  2. package/dist/calcite/assets/handle/t9n/messages.json +5 -1
  3. package/dist/calcite/assets/handle/t9n/messages_en.json +5 -1
  4. package/dist/calcite/calcite.esm.js +2 -2
  5. package/dist/calcite/index.esm.js +2 -2
  6. package/dist/calcite/{p-4c566497.js → p-00299baa.js} +2 -2
  7. package/dist/calcite/{p-4a9b16dd.entry.js → p-0405583e.entry.js} +2 -2
  8. package/dist/calcite/{p-bfd56017.entry.js → p-04129ce8.entry.js} +2 -2
  9. package/dist/calcite/{p-45ad22ae.entry.js → p-044f3dfb.entry.js} +2 -2
  10. package/dist/calcite/{p-8a4d0819.js → p-088880eb.js} +1 -1
  11. package/dist/calcite/{p-1dfc7d45.entry.js → p-091dbbd7.entry.js} +2 -2
  12. package/dist/calcite/{p-60ac062d.js → p-0ea99d16.js} +2 -2
  13. package/dist/calcite/{p-3146056d.entry.js → p-1003cb7c.entry.js} +2 -2
  14. package/dist/calcite/p-151053f8.entry.js +6 -0
  15. package/dist/calcite/{p-52f403f5.js → p-182025cc.js} +2 -2
  16. package/dist/calcite/{p-8bc2b40b.entry.js → p-1b72ab33.entry.js} +2 -2
  17. package/dist/calcite/{p-dde9b842.js → p-1cc3ef83.js} +3 -3
  18. package/dist/calcite/{p-7a1e76c6.js → p-1e2bdf2d.js} +2 -2
  19. package/dist/calcite/{p-a54c4cff.js → p-1fabdd5f.js} +1 -1
  20. package/dist/calcite/{p-207f874f.entry.js → p-200aee9f.entry.js} +2 -2
  21. package/dist/calcite/{p-6bd962f4.entry.js → p-2066108e.entry.js} +2 -2
  22. package/dist/calcite/{p-d4aa91c4.js → p-21bc1a86.js} +2 -2
  23. package/dist/calcite/{p-5cdc5417.js → p-21bf7b5c.js} +2 -2
  24. package/dist/calcite/{p-062aec70.js → p-22110b54.js} +2 -2
  25. package/dist/calcite/{p-e4b31f08.js → p-22ea6652.js} +2 -2
  26. package/dist/calcite/{p-2a5c240f.js → p-231bd78e.js} +2 -2
  27. package/dist/calcite/{p-b56a05dd.js → p-25029672.js} +1 -1
  28. package/dist/calcite/{p-b97d47d2.entry.js → p-27c0f850.entry.js} +2 -2
  29. package/dist/calcite/{p-bf90a546.js → p-28348a68.js} +2 -2
  30. package/dist/calcite/{p-b9d456d6.js → p-29be3ae1.js} +2 -2
  31. package/dist/calcite/{p-281b1e09.js → p-2b44ac36.js} +2 -2
  32. package/dist/calcite/{p-8fe97fde.js → p-2cd6c221.js} +2 -2
  33. package/dist/calcite/p-2da4e900.entry.js +6 -0
  34. package/dist/calcite/p-2de3b240.entry.js +6 -0
  35. package/dist/calcite/p-2eb44dc9.js +6 -0
  36. package/dist/calcite/{p-a892c147.entry.js → p-31cb398f.entry.js} +2 -2
  37. package/dist/calcite/{p-e534f586.js → p-31ef3288.js} +1 -1
  38. package/dist/calcite/{p-40531242.js → p-323e5103.js} +2 -2
  39. package/dist/calcite/p-37a081c1.entry.js +6 -0
  40. package/dist/calcite/{p-61e5ec28.entry.js → p-38ac0cd1.entry.js} +2 -2
  41. package/dist/calcite/{p-bf84aef5.js → p-38f8ff8f.js} +1 -1
  42. package/dist/calcite/{p-b9e27ce4.entry.js → p-39a0f3b8.entry.js} +2 -2
  43. package/dist/calcite/{p-c0af30fa.js → p-3ad8b490.js} +2 -2
  44. package/dist/calcite/p-3b84612b.entry.js +6 -0
  45. package/dist/calcite/{p-910d2865.entry.js → p-3d98ba90.entry.js} +2 -2
  46. package/dist/calcite/{p-72f7fc95.entry.js → p-3ee4ba7f.entry.js} +2 -2
  47. package/dist/calcite/{p-a8989b9c.entry.js → p-3ee89152.entry.js} +2 -2
  48. package/dist/calcite/{p-4fb77db2.entry.js → p-4135e1ed.entry.js} +2 -2
  49. package/dist/calcite/{p-1d4e8c12.js → p-42bd7473.js} +2 -2
  50. package/dist/calcite/{p-65dacbda.entry.js → p-436526c4.entry.js} +2 -2
  51. package/dist/calcite/{p-f3b7ba46.js → p-45e6727f.js} +2 -2
  52. package/dist/calcite/{p-b414447e.js → p-461ad99b.js} +2 -2
  53. package/dist/calcite/{p-e42b5e12.entry.js → p-463de8c1.entry.js} +2 -2
  54. package/dist/calcite/{p-1773f06b.js → p-46862432.js} +2 -2
  55. package/dist/calcite/p-49c2c379.entry.js +6 -0
  56. package/dist/calcite/{p-933ac673.entry.js → p-4bd148dc.entry.js} +2 -2
  57. package/dist/calcite/{p-5b4e141b.entry.js → p-4d894bbc.entry.js} +2 -2
  58. package/dist/calcite/{p-472b175d.entry.js → p-4eb427e8.entry.js} +2 -2
  59. package/dist/calcite/{p-6a0861e2.entry.js → p-50c03db4.entry.js} +2 -2
  60. package/dist/calcite/{p-66654981.js → p-5219431b.js} +2 -2
  61. package/dist/calcite/p-572f57bf.entry.js +6 -0
  62. package/dist/calcite/{p-1c86394b.js → p-5799e874.js} +1 -1
  63. package/dist/calcite/{p-e14c40fd.entry.js → p-5941044d.entry.js} +2 -2
  64. package/dist/calcite/{p-3d1873bc.js → p-59f7d363.js} +2 -2
  65. package/dist/calcite/{p-8dc76026.entry.js → p-5a9806bd.entry.js} +2 -2
  66. package/dist/calcite/{p-b538cee6.js → p-5ac97c69.js} +2 -2
  67. package/dist/calcite/{p-f5216200.entry.js → p-5ce232c4.entry.js} +2 -2
  68. package/dist/calcite/{p-2653d184.js → p-5d72d15e.js} +1 -1
  69. package/dist/calcite/{p-66fe1838.entry.js → p-5dc95233.entry.js} +2 -2
  70. package/dist/calcite/{p-3983cde5.entry.js → p-5f572b97.entry.js} +2 -2
  71. package/dist/calcite/{p-049ebb24.entry.js → p-5fe811c1.entry.js} +2 -2
  72. package/dist/calcite/p-625fbc3e.entry.js +6 -0
  73. package/dist/calcite/{p-69b23199.js → p-6369b750.js} +2 -2
  74. package/dist/calcite/p-637ebe71.js +6 -0
  75. package/dist/calcite/{p-1c0d4b52.entry.js → p-67a87fd0.entry.js} +2 -2
  76. package/dist/calcite/{p-e8adabb9.js → p-684ef03f.js} +2 -2
  77. package/dist/calcite/{p-e8f39fe2.js → p-688c037f.js} +2 -2
  78. package/dist/calcite/{p-e6827bf9.js → p-68b65249.js} +1 -1
  79. package/dist/calcite/p-69437163.entry.js +6 -0
  80. package/dist/calcite/p-6ac97fc5.entry.js +6 -0
  81. package/dist/calcite/{p-1bacf551.entry.js → p-6bae5203.entry.js} +2 -2
  82. package/dist/calcite/{p-3803ea95.js → p-6d3a7a5b.js} +1 -1
  83. package/dist/calcite/{p-17850962.js → p-6dd1b8b6.js} +2 -2
  84. package/dist/calcite/{p-184d670d.js → p-6e5f5f22.js} +2 -2
  85. package/dist/calcite/{p-c198604b.entry.js → p-6f73ebe1.entry.js} +2 -2
  86. package/dist/calcite/{p-a9d7ec34.js → p-70b7c81b.js} +2 -2
  87. package/dist/calcite/{p-b01453e8.entry.js → p-716e1a77.entry.js} +2 -2
  88. package/dist/calcite/{p-f2bae2e6.entry.js → p-71c12225.entry.js} +2 -2
  89. package/dist/calcite/{p-978b5731.entry.js → p-71d2f324.entry.js} +2 -2
  90. package/dist/calcite/{p-bbd468d3.entry.js → p-7308e7ee.entry.js} +2 -2
  91. package/dist/calcite/{p-7fc8c8b9.js → p-737aab71.js} +3 -3
  92. package/dist/calcite/{p-76068102.js → p-74fea7f7.js} +2 -2
  93. package/dist/calcite/{p-b91c6ff3.entry.js → p-7653808a.entry.js} +2 -2
  94. package/dist/calcite/{p-cb286d95.entry.js → p-78ca925b.entry.js} +2 -2
  95. package/dist/calcite/{p-08aee447.js → p-7aa0a673.js} +2 -2
  96. package/dist/calcite/{p-e8eba19d.js → p-7bb30023.js} +2 -2
  97. package/dist/calcite/{p-ad79ec22.js → p-829c8ad5.js} +2 -2
  98. package/dist/calcite/{p-98945488.entry.js → p-844127f2.entry.js} +2 -2
  99. package/dist/calcite/{p-253adb41.js → p-847ce3f9.js} +2 -2
  100. package/dist/calcite/{p-443224ea.entry.js → p-8765a1b9.entry.js} +2 -2
  101. package/dist/calcite/{p-94d158a2.js → p-8aa5cd7c.js} +2 -2
  102. package/dist/calcite/{p-8c310936.js → p-8ab739af.js} +2 -2
  103. package/dist/calcite/{p-38107b38.entry.js → p-8adbf7de.entry.js} +2 -2
  104. package/dist/calcite/{p-11f6edda.js → p-8c86c36b.js} +2 -2
  105. package/dist/calcite/{p-710ea6ee.js → p-8d92ca31.js} +1 -1
  106. package/dist/calcite/{p-e30078d2.entry.js → p-907b36c2.entry.js} +2 -2
  107. package/dist/calcite/{p-46e66058.entry.js → p-934b5de5.entry.js} +2 -2
  108. package/dist/calcite/{p-244b6f82.js → p-94b86699.js} +2 -2
  109. package/dist/calcite/{p-2b130757.entry.js → p-959d8ae0.entry.js} +2 -2
  110. package/dist/calcite/{p-6938cde4.js → p-98c3b092.js} +2 -2
  111. package/dist/calcite/{p-3ac09488.js → p-990bc43f.js} +2 -2
  112. package/dist/calcite/{p-76f4e584.js → p-99e81557.js} +2 -2
  113. package/dist/calcite/p-9c5257e3.js +6 -0
  114. package/dist/calcite/p-9dbc23b8.js +6 -0
  115. package/dist/calcite/{p-de31ab54.js → p-9deca461.js} +2 -2
  116. package/dist/calcite/{p-bd100777.js → p-9ee73800.js} +2 -2
  117. package/dist/calcite/{p-e088fb3a.js → p-a0703c57.js} +2 -2
  118. package/dist/calcite/{p-9150510a.entry.js → p-a12b0fc0.entry.js} +2 -2
  119. package/dist/calcite/{p-21d40b48.js → p-a38fba0a.js} +2 -2
  120. package/dist/calcite/{p-e5f1a071.entry.js → p-a47d4355.entry.js} +2 -2
  121. package/dist/calcite/{p-81524539.js → p-a58bcb13.js} +2 -2
  122. package/dist/calcite/{p-4fed7c14.js → p-a8fd9835.js} +2 -2
  123. package/dist/calcite/p-a9aaa00b.entry.js +6 -0
  124. package/dist/calcite/{p-a497c207.js → p-b2bf2d2a.js} +1 -1
  125. package/dist/calcite/{p-f5a8b939.js → p-b4532a3a.js} +2 -2
  126. package/dist/calcite/{p-598ab734.js → p-b8ba593c.js} +2 -2
  127. package/dist/calcite/{p-66f05371.js → p-b99ea020.js} +2 -2
  128. package/dist/calcite/{p-2cafbbdb.js → p-ba2ef109.js} +2 -2
  129. package/dist/calcite/p-c684e798.js +6 -0
  130. package/dist/calcite/{p-e12e0f00.js → p-ca00463a.js} +1 -1
  131. package/dist/calcite/{p-a191dcf0.js → p-ca757637.js} +2 -2
  132. package/dist/calcite/{p-3935b8ae.js → p-cf87e0e4.js} +2 -2
  133. package/dist/calcite/{p-168096a6.js → p-d2b08524.js} +1 -1
  134. package/dist/calcite/{p-d601c75e.js → p-d5d09a72.js} +2 -2
  135. package/dist/calcite/{p-46674742.entry.js → p-dd497372.entry.js} +2 -2
  136. package/dist/calcite/{p-7e89b8db.js → p-dd8263be.js} +2 -2
  137. package/dist/calcite/{p-20d97420.js → p-dfc34aa3.js} +2 -2
  138. package/dist/calcite/p-e068ae4d.entry.js +6 -0
  139. package/dist/calcite/{p-b738af35.js → p-e289d257.js} +2 -2
  140. package/dist/calcite/{p-b3a11d1a.entry.js → p-e35e2899.entry.js} +2 -2
  141. package/dist/calcite/{p-0e64b2ea.js → p-e42159e1.js} +2 -2
  142. package/dist/calcite/{p-c6ea9c4e.js → p-e5154823.js} +2 -2
  143. package/dist/calcite/{p-37c262f0.js → p-e7563dad.js} +2 -2
  144. package/dist/calcite/p-e7d77202.entry.js +6 -0
  145. package/dist/calcite/{p-4f9ff9b9.entry.js → p-e9d6f4a7.entry.js} +2 -2
  146. package/dist/calcite/{p-51e3eff0.entry.js → p-ead8a5dc.entry.js} +2 -2
  147. package/dist/calcite/{p-306eb80b.entry.js → p-ec6eb613.entry.js} +2 -2
  148. package/dist/calcite/{p-4071d8ad.js → p-ee23da80.js} +2 -2
  149. package/dist/calcite/{p-4a0a164f.js → p-eed9d444.js} +2 -2
  150. package/dist/calcite/{p-38edd815.entry.js → p-f1739946.entry.js} +2 -2
  151. package/dist/calcite/{p-b0599384.js → p-f3e73100.js} +2 -2
  152. package/dist/calcite/{p-7d3f41ab.js → p-f7083ce8.js} +2 -2
  153. package/dist/calcite/{p-94065b47.entry.js → p-f7c2271e.entry.js} +2 -2
  154. package/dist/calcite/{p-f244a263.js → p-fb0d85f5.js} +1 -1
  155. package/dist/calcite/{p-916e2c9b.entry.js → p-fec87269.entry.js} +2 -2
  156. package/dist/cjs/{ExpandToggle-3e6037c3.js → ExpandToggle-490c82da.js} +5 -5
  157. package/dist/cjs/{FloatingArrow-56cddf4e.js → FloatingArrow-77dba9d4.js} +2 -2
  158. package/dist/cjs/{Heading-81c92d3a.js → Heading-7e80448c.js} +2 -2
  159. package/dist/cjs/{app-globals-1d05b4a7.js → app-globals-f10e9902.js} +2 -2
  160. package/dist/cjs/{ar-06429706.js → ar-91c541a9.js} +15 -15
  161. package/dist/cjs/{array-7cf82550.js → array-49bc14b4.js} +1 -1
  162. package/dist/cjs/{bg-95b175b4.js → bg-ca57e165.js} +15 -15
  163. package/dist/cjs/{bs-44542175.js → bs-bc49dd0a.js} +15 -15
  164. package/dist/cjs/{ca-321ea2fe.js → ca-0f7055c9.js} +15 -15
  165. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  166. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  167. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  168. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  169. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  170. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  171. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  172. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  173. package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
  174. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  175. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  176. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  177. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
  178. package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
  179. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
  180. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  181. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  182. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  183. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  184. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  185. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  186. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  187. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  188. package/dist/cjs/calcite-handle.cjs.entry.js +49 -16
  189. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  190. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  191. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
  192. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  193. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  194. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  195. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-2ee9affe.js → calcite-input-time-picker.calcite-time-picker-33763337.js} +60 -60
  196. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
  197. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
  198. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  199. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  200. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  201. package/dist/cjs/calcite-list_3.cjs.entry.js +226 -55
  202. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  204. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  205. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  206. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  207. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  208. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  209. package/dist/cjs/calcite-panel.cjs.entry.js +31 -55
  210. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  211. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  212. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  213. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  214. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  215. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  216. package/dist/cjs/calcite-scrim.cjs.entry.js +11 -9
  217. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  218. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  219. package/dist/cjs/calcite-sortable-list.cjs.entry.js +22 -30
  220. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  221. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  222. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  223. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  224. package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
  225. package/dist/cjs/calcite-text-area.cjs.entry.js +35 -30
  226. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  227. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  228. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  229. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  230. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  231. package/dist/cjs/calcite-value-list_2.cjs.entry.js +33 -36
  232. package/dist/cjs/calcite.cjs.js +5 -5
  233. package/dist/cjs/{conditionalSlot-37533ff3.js → conditionalSlot-4728a584.js} +3 -3
  234. package/dist/cjs/{cs-49d9da5e.js → cs-da0769f0.js} +15 -15
  235. package/dist/cjs/{da-cba4539a.js → da-e41fa73a.js} +15 -15
  236. package/dist/cjs/{de-635f3917.js → de-5ae1c7ff.js} +15 -15
  237. package/dist/cjs/{de-at-4e9b2091.js → de-at-20d7faea.js} +15 -15
  238. package/dist/cjs/{de-ch-97701217.js → de-ch-004b8342.js} +15 -15
  239. package/dist/cjs/{debounce-80c145c9.js → debounce-05f39503.js} +1 -1
  240. package/dist/cjs/{dom-405205e7.js → dom-ebd4da1d.js} +3 -3
  241. package/dist/cjs/{el-1046c938.js → el-5f7951d4.js} +15 -15
  242. package/dist/cjs/{en-au-6cf08f88.js → en-au-f61cd8c7.js} +15 -15
  243. package/dist/cjs/{en-ca-033cb270.js → en-ca-ff52af59.js} +15 -15
  244. package/dist/cjs/{en-gb-464ec7e0.js → en-gb-c668a4b2.js} +15 -15
  245. package/dist/cjs/{es-96fcf037.js → es-8e10f566.js} +15 -15
  246. package/dist/cjs/{es-mx-9cb3176b.js → es-mx-68d2a780.js} +15 -15
  247. package/dist/cjs/{et-00b5de2c.js → et-9798fe72.js} +15 -15
  248. package/dist/cjs/{fi-4877f09a.js → fi-b979b935.js} +15 -15
  249. package/dist/cjs/{filter-72667f24.js → filter-9a7555fe.js} +2 -2
  250. package/dist/cjs/{floating-ui-992fb63a.js → floating-ui-dc66e83d.js} +3 -3
  251. package/dist/cjs/{focusTrapComponent-c065e906.js → focusTrapComponent-0aa065f8.js} +2 -2
  252. package/dist/cjs/{form-b42549c5.js → form-c2d248bd.js} +3 -3
  253. package/dist/cjs/{fr-ch-b35c6eb1.js → fr-ch-6fabdedc.js} +15 -15
  254. package/dist/cjs/{fr-aef500a9.js → fr-d41e7326.js} +15 -15
  255. package/dist/cjs/{guid-d088eb2a.js → guid-47a9f7dc.js} +1 -1
  256. package/dist/cjs/{he-c98b7fb0.js → he-31d9179e.js} +15 -15
  257. package/dist/cjs/{hi-8378b82f.js → hi-8f331430.js} +15 -15
  258. package/dist/cjs/{hr-36750949.js → hr-c3f405aa.js} +15 -15
  259. package/dist/cjs/{hu-89e66d82.js → hu-85a1ae22.js} +15 -15
  260. package/dist/cjs/{id-1049422b.js → id-456e18f2.js} +15 -15
  261. package/dist/cjs/{index-3e8db34a.js → index-3d4cfff8.js} +5 -5
  262. package/dist/cjs/index.cjs.js +2 -2
  263. package/dist/cjs/{interactive-7e0cf926.js → interactive-4a1dd124.js} +1 -1
  264. package/dist/cjs/{it-a073f948.js → it-167042ae.js} +15 -15
  265. package/dist/cjs/{it-ch-ffa24f69.js → it-ch-2d02713b.js} +15 -15
  266. package/dist/cjs/{ja-79d5fe22.js → ja-34e70be7.js} +15 -15
  267. package/dist/cjs/{key-8db578b6.js → key-1918e8dd.js} +1 -1
  268. package/dist/cjs/{ko-f0f45372.js → ko-ffae1870.js} +15 -15
  269. package/dist/cjs/{label-8ec7c057.js → label-fbbed8b8.js} +2 -2
  270. package/dist/cjs/{loadable-12499384.js → loadable-00043f5b.js} +2 -2
  271. package/dist/cjs/loader.cjs.js +5 -5
  272. package/dist/cjs/{locale-67634905.js → locale-709b6c4f.js} +4 -4
  273. package/dist/cjs/{lt-5a571b96.js → lt-b092acc5.js} +15 -15
  274. package/dist/cjs/{lv-ea390d9f.js → lv-45da38b0.js} +15 -15
  275. package/dist/cjs/{math-c4bc58db.js → math-044d06a9.js} +1 -1
  276. package/dist/cjs/{mk-cb72ac39.js → mk-e96ec971.js} +15 -15
  277. package/dist/cjs/{nb-ea079a8d.js → nb-6f7ce2e1.js} +15 -15
  278. package/dist/cjs/{nl-18fc0513.js → nl-a8d715b3.js} +15 -15
  279. package/dist/cjs/{observers-17daf658.js → observers-d8e7ef2c.js} +1 -1
  280. package/dist/cjs/{openCloseComponent-6282c16e.js → openCloseComponent-5f5f53a8.js} +2 -2
  281. package/dist/cjs/{pl-2619b437.js → pl-7e1cd35d.js} +15 -15
  282. package/dist/cjs/{pt-abf50c6d.js → pt-3342b9c1.js} +15 -15
  283. package/dist/cjs/{pt-br-c2109b7a.js → pt-br-f79aee99.js} +15 -15
  284. package/dist/cjs/{resources-abc38e21.js → resources-107f61da.js} +1 -1
  285. package/dist/cjs/{resources-f9b65f28.js → resources-1b29ee6f.js} +1 -1
  286. package/dist/cjs/{resources-45665582.js → resources-22c04e1b.js} +2 -2
  287. package/dist/cjs/{resources-62fd8e54.js → resources-3a67bf59.js} +5 -5
  288. package/dist/cjs/{resources-7ddabda2.js → resources-806b4a0e.js} +1 -1
  289. package/dist/cjs/{resources-ca3cc619.js → resources-b0d38576.js} +1 -1
  290. package/dist/cjs/{resources-9f9d80ba.js → resources-b632eeba.js} +1 -1
  291. package/dist/cjs/{ro-2d66e5ab.js → ro-9c485689.js} +15 -15
  292. package/dist/cjs/{ru-11fc72d6.js → ru-28c0bda2.js} +15 -15
  293. package/dist/cjs/{sk-d3bec943.js → sk-ce7f6899.js} +15 -15
  294. package/dist/cjs/{sl-3a9a6edd.js → sl-4e78cdf7.js} +15 -15
  295. package/dist/cjs/{sortableComponent-fbb161db.js → sortableComponent-5e989bd5.js} +32 -7
  296. package/dist/cjs/{sr-3b71d494.js → sr-0c3d255b.js} +15 -15
  297. package/dist/cjs/{sv-e02f8d79.js → sv-1afa6f2a.js} +15 -15
  298. package/dist/cjs/{t9n-a8e181ba.js → t9n-8ed7b277.js} +3 -3
  299. package/dist/cjs/{th-a12a93a8.js → th-9b45e052.js} +15 -15
  300. package/dist/cjs/{throttle-bf39558c.js → throttle-2ddebb73.js} +2 -2
  301. package/dist/cjs/{tr-8613b6da.js → tr-241c21d8.js} +15 -15
  302. package/dist/cjs/{uk-5fbae523.js → uk-eed3602e.js} +15 -15
  303. package/dist/cjs/{utils-2e652f68.js → utils-2b77d981.js} +1 -1
  304. package/dist/cjs/{utils-0ac411b9.js → utils-39f93fef.js} +3 -3
  305. package/dist/cjs/{vi-553bcb10.js → vi-5df96116.js} +15 -15
  306. package/dist/cjs/{zh-cn-68a2cb1c.js → zh-cn-3de720ad.js} +15 -15
  307. package/dist/cjs/{zh-hk-909b5323.js → zh-hk-dec40f14.js} +15 -15
  308. package/dist/cjs/{zh-tw-b896cded.js → zh-tw-a5ee1790.js} +15 -15
  309. package/dist/collection/components/accordion/accordion.js +1 -1
  310. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  311. package/dist/collection/components/accordion-item/resources.js +1 -1
  312. package/dist/collection/components/action/action.js +1 -1
  313. package/dist/collection/components/action/resources.js +1 -1
  314. package/dist/collection/components/action-bar/action-bar.js +1 -1
  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.js +1 -1
  318. package/dist/collection/components/action-group/resources.js +1 -1
  319. package/dist/collection/components/action-menu/action-menu.js +1 -1
  320. package/dist/collection/components/action-menu/resources.js +1 -1
  321. package/dist/collection/components/action-pad/action-pad.js +1 -1
  322. package/dist/collection/components/action-pad/resources.js +1 -1
  323. package/dist/collection/components/alert/alert.js +1 -1
  324. package/dist/collection/components/alert/resources.js +1 -1
  325. package/dist/collection/components/avatar/avatar.js +1 -1
  326. package/dist/collection/components/avatar/utils.js +1 -1
  327. package/dist/collection/components/block/block.js +1 -1
  328. package/dist/collection/components/block/resources.js +1 -1
  329. package/dist/collection/components/block-section/block-section.js +1 -1
  330. package/dist/collection/components/block-section/resources.js +1 -1
  331. package/dist/collection/components/button/button.js +1 -1
  332. package/dist/collection/components/button/resources.js +1 -1
  333. package/dist/collection/components/card/card.js +1 -1
  334. package/dist/collection/components/card/resources.js +1 -1
  335. package/dist/collection/components/checkbox/checkbox.js +1 -1
  336. package/dist/collection/components/chip/chip.js +1 -1
  337. package/dist/collection/components/chip/resources.js +1 -1
  338. package/dist/collection/components/chip-group/chip-group.js +1 -1
  339. package/dist/collection/components/color-picker/color-picker.js +1 -1
  340. package/dist/collection/components/color-picker/resources.js +1 -1
  341. package/dist/collection/components/color-picker/utils.js +1 -1
  342. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  343. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  344. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  345. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  346. package/dist/collection/components/combobox/combobox.js +1 -1
  347. package/dist/collection/components/combobox/resources.js +1 -1
  348. package/dist/collection/components/combobox/utils.js +1 -1
  349. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  350. package/dist/collection/components/combobox-item/resources.js +1 -1
  351. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  352. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  353. package/dist/collection/components/date-picker/date-picker.js +1 -1
  354. package/dist/collection/components/date-picker/resources.js +1 -1
  355. package/dist/collection/components/date-picker/utils.js +1 -1
  356. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  357. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  358. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  359. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  360. package/dist/collection/components/dropdown/dropdown.js +1 -1
  361. package/dist/collection/components/dropdown/resources.js +1 -1
  362. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  363. package/dist/collection/components/dropdown-group/resources.js +1 -1
  364. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  365. package/dist/collection/components/dropdown-item/resources.js +1 -1
  366. package/dist/collection/components/fab/fab.js +1 -1
  367. package/dist/collection/components/fab/resources.js +1 -1
  368. package/dist/collection/components/filter/filter.js +1 -1
  369. package/dist/collection/components/filter/resources.js +1 -1
  370. package/dist/collection/components/flow/flow.js +1 -1
  371. package/dist/collection/components/flow/resources.js +1 -1
  372. package/dist/collection/components/flow-item/flow-item.js +1 -1
  373. package/dist/collection/components/flow-item/resources.js +1 -1
  374. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  375. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  376. package/dist/collection/components/functional/Heading.js +1 -1
  377. package/dist/collection/components/functional/XButton.js +1 -1
  378. package/dist/collection/components/graph/graph.js +1 -1
  379. package/dist/collection/components/graph/util.js +1 -1
  380. package/dist/collection/components/handle/assets/handle/t9n/index.d.ts +4 -0
  381. package/dist/collection/components/handle/assets/handle/t9n/messages.json +5 -1
  382. package/dist/collection/components/handle/assets/handle/t9n/messages_en.json +5 -1
  383. package/dist/collection/components/handle/handle.js +131 -9
  384. package/dist/collection/components/handle/resources.js +1 -1
  385. package/dist/collection/components/icon/icon.js +1 -1
  386. package/dist/collection/components/icon/resources.js +1 -1
  387. package/dist/collection/components/icon/utils.js +1 -1
  388. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  389. package/dist/collection/components/inline-editable/resources.js +1 -1
  390. package/dist/collection/components/input/input.js +1 -1
  391. package/dist/collection/components/input/resources.js +1 -1
  392. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  393. package/dist/collection/components/input-date-picker/resources.js +1 -1
  394. package/dist/collection/components/input-message/input-message.js +1 -1
  395. package/dist/collection/components/input-message/interfaces.js +1 -1
  396. package/dist/collection/components/input-number/input-number.js +1 -1
  397. package/dist/collection/components/input-number/resources.js +1 -1
  398. package/dist/collection/components/input-text/input-text.js +1 -1
  399. package/dist/collection/components/input-text/resources.js +1 -1
  400. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  401. package/dist/collection/components/input-time-picker/resources.js +1 -1
  402. package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
  403. package/dist/collection/components/input-time-zone/utils.js +1 -1
  404. package/dist/collection/components/label/label.js +1 -1
  405. package/dist/collection/components/label/resources.js +1 -1
  406. package/dist/collection/components/link/link.js +1 -1
  407. package/dist/collection/components/list/list.css +12 -0
  408. package/dist/collection/components/list/list.js +299 -27
  409. package/dist/collection/components/list/resources.js +2 -1
  410. package/dist/collection/components/list-item/list-item.css +1 -0
  411. package/dist/collection/components/list-item/list-item.js +69 -14
  412. package/dist/collection/components/list-item/resources.js +4 -2
  413. package/dist/collection/components/list-item/utils.js +8 -4
  414. package/dist/collection/components/list-item-group/list-item-group.js +33 -3
  415. package/dist/collection/components/list-item-group/resources.js +1 -1
  416. package/dist/collection/components/loader/loader.js +1 -1
  417. package/dist/collection/components/menu/menu.js +1 -1
  418. package/dist/collection/components/menu-item/menu-item.js +1 -1
  419. package/dist/collection/components/menu-item/resources.js +1 -1
  420. package/dist/collection/components/modal/modal.js +1 -1
  421. package/dist/collection/components/modal/resources.js +1 -1
  422. package/dist/collection/components/navigation/navigation.js +1 -1
  423. package/dist/collection/components/navigation/resources.js +1 -1
  424. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  425. package/dist/collection/components/navigation-logo/resources.js +1 -1
  426. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  427. package/dist/collection/components/navigation-user/resources.js +1 -1
  428. package/dist/collection/components/notice/notice.js +1 -1
  429. package/dist/collection/components/notice/resources.js +1 -1
  430. package/dist/collection/components/option/option.js +1 -1
  431. package/dist/collection/components/option-group/option-group.js +1 -1
  432. package/dist/collection/components/pagination/pagination.js +1 -1
  433. package/dist/collection/components/pagination/resources.js +1 -1
  434. package/dist/collection/components/panel/panel.css +6 -10
  435. package/dist/collection/components/panel/panel.js +19 -42
  436. package/dist/collection/components/panel/resources.js +2 -2
  437. package/dist/collection/components/pick-list/pick-list.js +1 -1
  438. package/dist/collection/components/pick-list/resources.js +1 -1
  439. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  440. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  441. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  442. package/dist/collection/components/pick-list-group/resources.js +1 -1
  443. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  444. package/dist/collection/components/pick-list-item/resources.js +1 -1
  445. package/dist/collection/components/popover/PopoverManager.js +1 -1
  446. package/dist/collection/components/popover/popover.js +1 -1
  447. package/dist/collection/components/popover/resources.js +1 -1
  448. package/dist/collection/components/progress/progress.js +1 -1
  449. package/dist/collection/components/radio-button/radio-button.js +1 -1
  450. package/dist/collection/components/radio-button/resources.js +1 -1
  451. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  452. package/dist/collection/components/rating/function/star.js +1 -1
  453. package/dist/collection/components/rating/rating.js +1 -1
  454. package/dist/collection/components/resources.js +1 -1
  455. package/dist/collection/components/scrim/resources.js +1 -1
  456. package/dist/collection/components/scrim/scrim.js +3 -1
  457. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  458. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  459. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  460. package/dist/collection/components/select/resources.js +1 -1
  461. package/dist/collection/components/select/select.js +1 -1
  462. package/dist/collection/components/shell/resources.js +1 -1
  463. package/dist/collection/components/shell/shell.js +1 -1
  464. package/dist/collection/components/shell-center-row/resources.js +1 -1
  465. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  466. package/dist/collection/components/shell-panel/resources.js +1 -1
  467. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  468. package/dist/collection/components/slider/resources.js +1 -1
  469. package/dist/collection/components/slider/slider.js +1 -1
  470. package/dist/collection/components/sortable-list/resources.js +1 -1
  471. package/dist/collection/components/sortable-list/sortable-list.js +56 -24
  472. package/dist/collection/components/split-button/resources.js +1 -1
  473. package/dist/collection/components/split-button/split-button.js +1 -1
  474. package/dist/collection/components/stack/resources.js +1 -1
  475. package/dist/collection/components/stack/stack.js +1 -1
  476. package/dist/collection/components/stepper/stepper.js +1 -1
  477. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  478. package/dist/collection/components/switch/switch.js +1 -1
  479. package/dist/collection/components/tab/tab.js +1 -1
  480. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  481. package/dist/collection/components/tab-title/resources.js +1 -1
  482. package/dist/collection/components/tab-title/tab-title.js +1 -1
  483. package/dist/collection/components/tabs/resources.js +1 -1
  484. package/dist/collection/components/tabs/tabs.js +1 -1
  485. package/dist/collection/components/text-area/resources.js +2 -1
  486. package/dist/collection/components/text-area/text-area.css +12 -0
  487. package/dist/collection/components/text-area/text-area.js +20 -15
  488. package/dist/collection/components/tile/resources.js +1 -1
  489. package/dist/collection/components/tile/tile.js +1 -1
  490. package/dist/collection/components/tile-select/resources.js +1 -1
  491. package/dist/collection/components/tile-select/tile-select.js +1 -1
  492. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  493. package/dist/collection/components/time-picker/resources.js +1 -1
  494. package/dist/collection/components/time-picker/time-picker.js +1 -1
  495. package/dist/collection/components/tip/resources.js +1 -1
  496. package/dist/collection/components/tip/tip.js +1 -1
  497. package/dist/collection/components/tip-group/tip-group.js +1 -1
  498. package/dist/collection/components/tip-manager/resources.js +1 -1
  499. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  500. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  501. package/dist/collection/components/tooltip/resources.js +1 -1
  502. package/dist/collection/components/tooltip/tooltip.js +1 -1
  503. package/dist/collection/components/tooltip/utils.js +1 -1
  504. package/dist/collection/components/tree/tree.js +1 -1
  505. package/dist/collection/components/tree/utils.js +1 -1
  506. package/dist/collection/components/tree-item/resources.js +1 -1
  507. package/dist/collection/components/tree-item/tree-item.js +1 -1
  508. package/dist/collection/components/value-list/resources.js +1 -1
  509. package/dist/collection/components/value-list/utils.js +1 -1
  510. package/dist/collection/components/value-list/value-list.js +59 -22
  511. package/dist/collection/components/value-list-item/resources.js +1 -1
  512. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  513. package/dist/collection/index.js +1 -1
  514. package/dist/collection/utils/array.js +1 -1
  515. package/dist/collection/utils/browser.js +1 -1
  516. package/dist/collection/utils/conditionalSlot.js +1 -1
  517. package/dist/collection/utils/config.js +1 -1
  518. package/dist/collection/utils/date.js +1 -1
  519. package/dist/collection/utils/dom.js +1 -1
  520. package/dist/collection/utils/filter.js +1 -1
  521. package/dist/collection/utils/floating-ui.js +1 -1
  522. package/dist/collection/utils/focusTrapComponent.js +1 -1
  523. package/dist/collection/utils/form.js +1 -1
  524. package/dist/collection/utils/globalAttributes.js +1 -1
  525. package/dist/collection/utils/globalScript.js +1 -1
  526. package/dist/collection/utils/guid.js +1 -1
  527. package/dist/collection/utils/interactive.js +1 -1
  528. package/dist/collection/utils/key.js +1 -1
  529. package/dist/collection/utils/label.js +1 -1
  530. package/dist/collection/utils/loadable.js +1 -1
  531. package/dist/collection/utils/locale.js +1 -1
  532. package/dist/collection/utils/math.js +1 -1
  533. package/dist/collection/utils/mode.js +1 -1
  534. package/dist/collection/utils/number.js +1 -1
  535. package/dist/collection/utils/observers.js +1 -1
  536. package/dist/collection/utils/openCloseComponent.js +1 -1
  537. package/dist/collection/utils/resources.js +1 -1
  538. package/dist/collection/utils/sortableComponent.js +33 -6
  539. package/dist/collection/utils/t9n.js +1 -1
  540. package/dist/collection/utils/time.js +1 -1
  541. package/dist/components/ExpandToggle.js +1 -1
  542. package/dist/components/FloatingArrow.js +1 -1
  543. package/dist/components/Heading.js +1 -1
  544. package/dist/components/action-group.js +1 -1
  545. package/dist/components/action-menu.js +1 -1
  546. package/dist/components/action.js +1 -1
  547. package/dist/components/ar.js +1 -1
  548. package/dist/components/array.js +1 -1
  549. package/dist/components/avatar.js +1 -1
  550. package/dist/components/bg.js +1 -1
  551. package/dist/components/bs.js +1 -1
  552. package/dist/components/button.js +1 -1
  553. package/dist/components/ca.js +1 -1
  554. package/dist/components/calcite-accordion-item.js +1 -1
  555. package/dist/components/calcite-accordion.js +1 -1
  556. package/dist/components/calcite-action-bar.js +1 -1
  557. package/dist/components/calcite-action-group.js +1 -1
  558. package/dist/components/calcite-action-menu.js +1 -1
  559. package/dist/components/calcite-action-pad.js +1 -1
  560. package/dist/components/calcite-action.js +1 -1
  561. package/dist/components/calcite-alert.js +1 -1
  562. package/dist/components/calcite-avatar.js +1 -1
  563. package/dist/components/calcite-block-section.js +1 -1
  564. package/dist/components/calcite-block.js +1 -1
  565. package/dist/components/calcite-button.js +1 -1
  566. package/dist/components/calcite-card.js +1 -1
  567. package/dist/components/calcite-checkbox.js +1 -1
  568. package/dist/components/calcite-chip-group.js +1 -1
  569. package/dist/components/calcite-chip.js +1 -1
  570. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  571. package/dist/components/calcite-color-picker-swatch.js +1 -1
  572. package/dist/components/calcite-color-picker.js +1 -1
  573. package/dist/components/calcite-combobox-item-group.js +1 -1
  574. package/dist/components/calcite-combobox-item.js +1 -1
  575. package/dist/components/calcite-combobox.js +1 -1
  576. package/dist/components/calcite-date-picker-day.js +1 -1
  577. package/dist/components/calcite-date-picker-month-header.js +1 -1
  578. package/dist/components/calcite-date-picker-month.js +1 -1
  579. package/dist/components/calcite-date-picker.js +1 -1
  580. package/dist/components/calcite-dropdown-group.js +1 -1
  581. package/dist/components/calcite-dropdown-item.js +1 -1
  582. package/dist/components/calcite-dropdown.js +1 -1
  583. package/dist/components/calcite-fab.js +1 -1
  584. package/dist/components/calcite-filter.js +1 -1
  585. package/dist/components/calcite-flow-item.js +1 -1
  586. package/dist/components/calcite-flow.js +1 -1
  587. package/dist/components/calcite-graph.js +1 -1
  588. package/dist/components/calcite-handle.js +1 -1
  589. package/dist/components/calcite-icon.js +1 -1
  590. package/dist/components/calcite-inline-editable.js +1 -1
  591. package/dist/components/calcite-input-date-picker.js +1 -1
  592. package/dist/components/calcite-input-message.js +1 -1
  593. package/dist/components/calcite-input-number.js +1 -1
  594. package/dist/components/calcite-input-text.js +1 -1
  595. package/dist/components/calcite-input-time-picker.js +1 -1
  596. package/dist/components/calcite-input-time-zone.js +1 -1
  597. package/dist/components/calcite-input.js +1 -1
  598. package/dist/components/calcite-label.js +1 -1
  599. package/dist/components/calcite-link.js +1 -1
  600. package/dist/components/calcite-list-item-group.js +12 -3
  601. package/dist/components/calcite-list-item.js +45 -19
  602. package/dist/components/calcite-list.js +168 -26
  603. package/dist/components/calcite-loader.js +1 -1
  604. package/dist/components/calcite-menu-item.js +1 -1
  605. package/dist/components/calcite-menu.js +1 -1
  606. package/dist/components/calcite-modal.js +1 -1
  607. package/dist/components/calcite-navigation-logo.js +1 -1
  608. package/dist/components/calcite-navigation-user.js +1 -1
  609. package/dist/components/calcite-navigation.js +1 -1
  610. package/dist/components/calcite-notice.js +1 -1
  611. package/dist/components/calcite-option-group.js +1 -1
  612. package/dist/components/calcite-option.js +1 -1
  613. package/dist/components/calcite-pagination.js +1 -1
  614. package/dist/components/calcite-panel.js +1 -1
  615. package/dist/components/calcite-pick-list-group.js +1 -1
  616. package/dist/components/calcite-pick-list-item.js +1 -1
  617. package/dist/components/calcite-pick-list.js +1 -1
  618. package/dist/components/calcite-popover.js +1 -1
  619. package/dist/components/calcite-progress.js +1 -1
  620. package/dist/components/calcite-radio-button-group.js +1 -1
  621. package/dist/components/calcite-radio-button.js +1 -1
  622. package/dist/components/calcite-rating.js +1 -1
  623. package/dist/components/calcite-scrim.js +1 -1
  624. package/dist/components/calcite-segmented-control-item.js +1 -1
  625. package/dist/components/calcite-segmented-control.js +1 -1
  626. package/dist/components/calcite-select.js +1 -1
  627. package/dist/components/calcite-shell-center-row.js +1 -1
  628. package/dist/components/calcite-shell-panel.js +1 -1
  629. package/dist/components/calcite-shell.js +1 -1
  630. package/dist/components/calcite-slider.js +1 -1
  631. package/dist/components/calcite-sortable-list.js +18 -24
  632. package/dist/components/calcite-split-button.js +1 -1
  633. package/dist/components/calcite-stack.js +1 -1
  634. package/dist/components/calcite-stepper-item.js +1 -1
  635. package/dist/components/calcite-stepper.js +1 -1
  636. package/dist/components/calcite-switch.js +1 -1
  637. package/dist/components/calcite-tab-nav.js +1 -1
  638. package/dist/components/calcite-tab-title.js +1 -1
  639. package/dist/components/calcite-tab.js +1 -1
  640. package/dist/components/calcite-tabs.js +1 -1
  641. package/dist/components/calcite-text-area.js +22 -16
  642. package/dist/components/calcite-tile-select-group.js +1 -1
  643. package/dist/components/calcite-tile-select.js +1 -1
  644. package/dist/components/calcite-tile.js +1 -1
  645. package/dist/components/calcite-time-picker.js +1 -1
  646. package/dist/components/calcite-tip-group.js +1 -1
  647. package/dist/components/calcite-tip-manager.js +1 -1
  648. package/dist/components/calcite-tip.js +1 -1
  649. package/dist/components/calcite-tooltip.js +1 -1
  650. package/dist/components/calcite-tree-item.js +1 -1
  651. package/dist/components/calcite-tree.js +1 -1
  652. package/dist/components/calcite-value-list-item.js +1 -1
  653. package/dist/components/calcite-value-list.js +21 -22
  654. package/dist/components/checkbox.js +1 -1
  655. package/dist/components/chip.js +1 -1
  656. package/dist/components/color-picker-hex-input.js +1 -1
  657. package/dist/components/color-picker-swatch.js +1 -1
  658. package/dist/components/combobox-item.js +1 -1
  659. package/dist/components/combobox.js +1 -1
  660. package/dist/components/conditionalSlot.js +1 -1
  661. package/dist/components/cs.js +1 -1
  662. package/dist/components/da.js +1 -1
  663. package/dist/components/date-picker-day.js +1 -1
  664. package/dist/components/date-picker-month-header.js +1 -1
  665. package/dist/components/date-picker-month.js +1 -1
  666. package/dist/components/date-picker.js +1 -1
  667. package/dist/components/date.js +1 -1
  668. package/dist/components/de-at.js +1 -1
  669. package/dist/components/de-ch.js +1 -1
  670. package/dist/components/de.js +1 -1
  671. package/dist/components/debounce.js +1 -1
  672. package/dist/components/dom.js +1 -1
  673. package/dist/components/dropdown.js +1 -1
  674. package/dist/components/el.js +1 -1
  675. package/dist/components/en-au.js +1 -1
  676. package/dist/components/en-ca.js +1 -1
  677. package/dist/components/en-gb.js +1 -1
  678. package/dist/components/es-mx.js +1 -1
  679. package/dist/components/es.js +1 -1
  680. package/dist/components/et.js +1 -1
  681. package/dist/components/fi.js +1 -1
  682. package/dist/components/filter.js +1 -1
  683. package/dist/components/filter2.js +1 -1
  684. package/dist/components/floating-ui.js +1 -1
  685. package/dist/components/focusTrapComponent.js +1 -1
  686. package/dist/components/form.js +1 -1
  687. package/dist/components/fr-ch.js +1 -1
  688. package/dist/components/fr.js +1 -1
  689. package/dist/components/graph.js +1 -1
  690. package/dist/components/guid.js +1 -1
  691. package/dist/components/handle.js +43 -7
  692. package/dist/components/he.js +1 -1
  693. package/dist/components/hi.js +1 -1
  694. package/dist/components/hr.js +1 -1
  695. package/dist/components/hu.js +1 -1
  696. package/dist/components/icon.js +1 -1
  697. package/dist/components/id.js +1 -1
  698. package/dist/components/index.js +1 -1
  699. package/dist/components/index2.js +1 -1
  700. package/dist/components/input-number.js +1 -1
  701. package/dist/components/input-text.js +1 -1
  702. package/dist/components/input.js +1 -1
  703. package/dist/components/interactive.js +1 -1
  704. package/dist/components/it-ch.js +1 -1
  705. package/dist/components/it.js +1 -1
  706. package/dist/components/ja.js +1 -1
  707. package/dist/components/key.js +1 -1
  708. package/dist/components/ko.js +1 -1
  709. package/dist/components/label.js +1 -1
  710. package/dist/components/label2.js +1 -1
  711. package/dist/components/link.js +1 -1
  712. package/dist/components/loadable.js +1 -1
  713. package/dist/components/loader.js +1 -1
  714. package/dist/components/locale.js +1 -1
  715. package/dist/components/lt.js +1 -1
  716. package/dist/components/lv.js +1 -1
  717. package/dist/components/math.js +1 -1
  718. package/dist/components/menu.js +1 -1
  719. package/dist/components/mk.js +1 -1
  720. package/dist/components/nb.js +1 -1
  721. package/dist/components/nl.js +1 -1
  722. package/dist/components/observers.js +1 -1
  723. package/dist/components/openCloseComponent.js +1 -1
  724. package/dist/components/panel.js +21 -44
  725. package/dist/components/pick-list-item.js +1 -1
  726. package/dist/components/pl.js +1 -1
  727. package/dist/components/popover.js +1 -1
  728. package/dist/components/progress.js +1 -1
  729. package/dist/components/pt-br.js +1 -1
  730. package/dist/components/pt.js +1 -1
  731. package/dist/components/resources.js +1 -1
  732. package/dist/components/resources2.js +1 -1
  733. package/dist/components/resources3.js +1 -1
  734. package/dist/components/ro.js +1 -1
  735. package/dist/components/ru.js +1 -1
  736. package/dist/components/scrim.js +3 -1
  737. package/dist/components/shared-list-render.js +1 -1
  738. package/dist/components/sk.js +1 -1
  739. package/dist/components/sl.js +1 -1
  740. package/dist/components/sortableComponent.js +32 -5
  741. package/dist/components/sr.js +1 -1
  742. package/dist/components/stack.js +1 -1
  743. package/dist/components/sv.js +1 -1
  744. package/dist/components/switch.js +1 -1
  745. package/dist/components/t9n.js +1 -1
  746. package/dist/components/tab-nav.js +1 -1
  747. package/dist/components/tab-title.js +1 -1
  748. package/dist/components/tab.js +1 -1
  749. package/dist/components/tabs.js +1 -1
  750. package/dist/components/th.js +1 -1
  751. package/dist/components/throttle.js +1 -1
  752. package/dist/components/tile.js +1 -1
  753. package/dist/components/time-picker.js +1 -1
  754. package/dist/components/tooltip.js +1 -1
  755. package/dist/components/tr.js +1 -1
  756. package/dist/components/uk.js +1 -1
  757. package/dist/components/utils.js +1 -1
  758. package/dist/components/utils2.js +1 -1
  759. package/dist/components/utils3.js +11 -5
  760. package/dist/components/vi.js +1 -1
  761. package/dist/components/zh-cn.js +1 -1
  762. package/dist/components/zh-hk.js +1 -1
  763. package/dist/components/zh-tw.js +1 -1
  764. package/dist/esm/{ExpandToggle-bb6fe8be.js → ExpandToggle-632bbbac.js} +5 -5
  765. package/dist/esm/{FloatingArrow-83227a1d.js → FloatingArrow-46ed94d0.js} +2 -2
  766. package/dist/esm/{Heading-a214cd20.js → Heading-008b8cff.js} +2 -2
  767. package/dist/esm/{app-globals-f010b51c.js → app-globals-609d95e0.js} +2 -2
  768. package/dist/esm/{ar-73af879d.js → ar-7d01fd3a.js} +15 -15
  769. package/dist/esm/{array-3794dd5a.js → array-a2d56321.js} +1 -1
  770. package/dist/esm/{bg-54623789.js → bg-20ab09c8.js} +15 -15
  771. package/dist/esm/{bs-3b484b12.js → bs-1fccd895.js} +15 -15
  772. package/dist/esm/{ca-f849566c.js → ca-49f28913.js} +15 -15
  773. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  774. package/dist/esm/calcite-action-bar.entry.js +15 -15
  775. package/dist/esm/calcite-action-group.entry.js +13 -13
  776. package/dist/esm/calcite-action-menu.entry.js +9 -9
  777. package/dist/esm/calcite-action-pad.entry.js +14 -14
  778. package/dist/esm/calcite-action.entry.js +11 -11
  779. package/dist/esm/calcite-alert.entry.js +12 -12
  780. package/dist/esm/calcite-avatar.entry.js +6 -6
  781. package/dist/esm/calcite-block_2.entry.js +13 -13
  782. package/dist/esm/calcite-button.entry.js +13 -13
  783. package/dist/esm/calcite-card.entry.js +10 -10
  784. package/dist/esm/calcite-checkbox.entry.js +10 -10
  785. package/dist/esm/calcite-chip-group.entry.js +8 -8
  786. package/dist/esm/calcite-chip.entry.js +12 -12
  787. package/dist/esm/calcite-color-picker_3.entry.js +15 -15
  788. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  789. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  790. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  791. package/dist/esm/calcite-fab.entry.js +7 -7
  792. package/dist/esm/calcite-filter.entry.js +13 -13
  793. package/dist/esm/calcite-flow-item.entry.js +12 -12
  794. package/dist/esm/calcite-flow.entry.js +4 -4
  795. package/dist/esm/calcite-graph_2.entry.js +13 -13
  796. package/dist/esm/calcite-handle.entry.js +49 -16
  797. package/dist/esm/calcite-icon.entry.js +6 -6
  798. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  799. package/dist/esm/calcite-input-date-picker.entry.js +18 -18
  800. package/dist/esm/calcite-input-message.entry.js +5 -5
  801. package/dist/esm/calcite-input-number.entry.js +13 -13
  802. package/dist/esm/calcite-input-text.entry.js +13 -13
  803. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-86d97e27.js → calcite-input-time-picker.calcite-time-picker-496bf0a9.js} +60 -60
  804. package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
  805. package/dist/esm/calcite-input-time-zone.entry.js +13 -13
  806. package/dist/esm/calcite-input.entry.js +13 -13
  807. package/dist/esm/calcite-label.entry.js +6 -6
  808. package/dist/esm/calcite-link.entry.js +7 -7
  809. package/dist/esm/calcite-list_3.entry.js +226 -55
  810. package/dist/esm/calcite-loader.entry.js +3 -3
  811. package/dist/esm/calcite-menu_2.entry.js +10 -10
  812. package/dist/esm/calcite-modal.entry.js +13 -13
  813. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  814. package/dist/esm/calcite-notice.entry.js +12 -12
  815. package/dist/esm/calcite-option_3.entry.js +10 -10
  816. package/dist/esm/calcite-pagination.entry.js +10 -10
  817. package/dist/esm/calcite-panel.entry.js +31 -55
  818. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  819. package/dist/esm/calcite-popover.entry.js +16 -16
  820. package/dist/esm/calcite-progress.entry.js +2 -2
  821. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  822. package/dist/esm/calcite-radio-button.entry.js +10 -10
  823. package/dist/esm/calcite-rating.entry.js +13 -13
  824. package/dist/esm/calcite-scrim.entry.js +11 -9
  825. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  826. package/dist/esm/calcite-shell_3.entry.js +11 -11
  827. package/dist/esm/calcite-sortable-list.entry.js +22 -30
  828. package/dist/esm/calcite-split-button.entry.js +4 -4
  829. package/dist/esm/calcite-stack.entry.js +6 -6
  830. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  831. package/dist/esm/calcite-switch.entry.js +10 -10
  832. package/dist/esm/calcite-tab_4.entry.js +10 -10
  833. package/dist/esm/calcite-text-area.entry.js +35 -30
  834. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  835. package/dist/esm/calcite-tile.entry.js +8 -8
  836. package/dist/esm/calcite-tip_3.entry.js +11 -11
  837. package/dist/esm/calcite-tooltip.entry.js +9 -9
  838. package/dist/esm/calcite-tree_2.entry.js +8 -8
  839. package/dist/esm/calcite-value-list_2.entry.js +33 -36
  840. package/dist/esm/calcite.js +6 -6
  841. package/dist/esm/{conditionalSlot-a86b075e.js → conditionalSlot-359ad993.js} +3 -3
  842. package/dist/esm/{cs-8434a405.js → cs-9022c2ed.js} +15 -15
  843. package/dist/esm/{da-bb2946c7.js → da-bfc47a83.js} +15 -15
  844. package/dist/esm/{de-c4685f3b.js → de-75c707bd.js} +15 -15
  845. package/dist/esm/{de-at-efd5655b.js → de-at-772aeb52.js} +15 -15
  846. package/dist/esm/{de-ch-63a5d82e.js → de-ch-4f68e949.js} +15 -15
  847. package/dist/esm/{debounce-c22df435.js → debounce-58db6f9b.js} +1 -1
  848. package/dist/esm/{dom-4a7a5859.js → dom-eab58bbf.js} +3 -3
  849. package/dist/esm/{el-4f9a6718.js → el-edf06b39.js} +15 -15
  850. package/dist/esm/{en-au-686a4df0.js → en-au-bbb86c35.js} +15 -15
  851. package/dist/esm/{en-ca-6a796779.js → en-ca-5718f2c5.js} +15 -15
  852. package/dist/esm/{en-gb-b77218cf.js → en-gb-3d9e3bee.js} +15 -15
  853. package/dist/esm/{es-2026e13b.js → es-0e689c78.js} +15 -15
  854. package/dist/esm/{es-mx-b23f284a.js → es-mx-d0352d04.js} +15 -15
  855. package/dist/esm/{et-750ab209.js → et-7971e616.js} +15 -15
  856. package/dist/esm/{fi-9ce6f87e.js → fi-972b33f3.js} +15 -15
  857. package/dist/esm/{filter-bea8a105.js → filter-8f382d90.js} +2 -2
  858. package/dist/esm/{floating-ui-3a2c8bd7.js → floating-ui-6fbcd22d.js} +3 -3
  859. package/dist/esm/{focusTrapComponent-dc965ab6.js → focusTrapComponent-76b9ae6b.js} +2 -2
  860. package/dist/esm/{form-e01a11ea.js → form-a945d244.js} +3 -3
  861. package/dist/esm/{fr-ch-e21dcf61.js → fr-ch-a7ffa8c4.js} +15 -15
  862. package/dist/esm/{fr-fa83885d.js → fr-e74fc417.js} +15 -15
  863. package/dist/esm/{guid-297199f4.js → guid-3a688a4a.js} +1 -1
  864. package/dist/esm/{he-a84645f7.js → he-367a03bd.js} +15 -15
  865. package/dist/esm/{hi-7d63aad8.js → hi-22e8e3dd.js} +15 -15
  866. package/dist/esm/{hr-41d0dfc2.js → hr-856cfcdb.js} +15 -15
  867. package/dist/esm/{hu-5d261d5a.js → hu-f6039c54.js} +15 -15
  868. package/dist/esm/{id-6db2123e.js → id-f46e149d.js} +15 -15
  869. package/dist/esm/{index-5e061d46.js → index-a975c980.js} +5 -5
  870. package/dist/esm/index.js +2 -2
  871. package/dist/esm/{interactive-270ac024.js → interactive-c47135fd.js} +1 -1
  872. package/dist/esm/{it-8ca5358d.js → it-b904d3d2.js} +15 -15
  873. package/dist/esm/{it-ch-f51fba0f.js → it-ch-f0406e91.js} +15 -15
  874. package/dist/esm/{ja-eec14a79.js → ja-4cada32c.js} +15 -15
  875. package/dist/esm/{key-e70e8184.js → key-db46ef41.js} +1 -1
  876. package/dist/esm/{ko-36302f3f.js → ko-c6f4bea5.js} +15 -15
  877. package/dist/esm/{label-8fae2f02.js → label-984712c1.js} +2 -2
  878. package/dist/esm/{loadable-910897be.js → loadable-607f2e38.js} +2 -2
  879. package/dist/esm/loader.js +6 -6
  880. package/dist/esm/{locale-194aa8db.js → locale-c3103fbc.js} +4 -4
  881. package/dist/esm/{lt-cf7daca4.js → lt-7f68c24b.js} +15 -15
  882. package/dist/esm/{lv-c51245a8.js → lv-ecc28b42.js} +15 -15
  883. package/dist/esm/{math-ed371c83.js → math-e1484585.js} +1 -1
  884. package/dist/esm/{mk-cb896bb5.js → mk-7fceb488.js} +15 -15
  885. package/dist/esm/{nb-f7faa279.js → nb-8828b678.js} +15 -15
  886. package/dist/esm/{nl-58518b0b.js → nl-a057f518.js} +15 -15
  887. package/dist/esm/{observers-db4b1d84.js → observers-8f7357b5.js} +1 -1
  888. package/dist/esm/{openCloseComponent-ab98774c.js → openCloseComponent-d2f88aa0.js} +2 -2
  889. package/dist/esm/{pl-5f897f26.js → pl-0deaa899.js} +15 -15
  890. package/dist/esm/{pt-br-e88cc139.js → pt-br-9ee73d91.js} +15 -15
  891. package/dist/esm/{pt-6b044fc3.js → pt-d8470805.js} +15 -15
  892. package/dist/esm/{resources-ce035922.js → resources-25e8828a.js} +1 -1
  893. package/dist/esm/{resources-a52b140b.js → resources-5eaea160.js} +1 -1
  894. package/dist/esm/{resources-09c421b2.js → resources-64b51703.js} +5 -5
  895. package/dist/esm/{resources-838bf296.js → resources-6a7b4bcb.js} +1 -1
  896. package/dist/esm/{resources-9a98d94b.js → resources-7200641c.js} +1 -1
  897. package/dist/esm/{resources-5f2477b5.js → resources-9f664e0c.js} +2 -2
  898. package/dist/esm/{resources-9fefac22.js → resources-d1de9382.js} +1 -1
  899. package/dist/esm/{ro-8ccd31e5.js → ro-a17bc34e.js} +15 -15
  900. package/dist/esm/{ru-44842160.js → ru-b81765cf.js} +15 -15
  901. package/dist/esm/{sk-b5e9828a.js → sk-bf51bf75.js} +15 -15
  902. package/dist/esm/{sl-d2da0e8c.js → sl-567a89d5.js} +15 -15
  903. package/dist/esm/{sortableComponent-495b6138.js → sortableComponent-8d535dd9.js} +33 -6
  904. package/dist/esm/{sr-4aa6bd7e.js → sr-9f8696d8.js} +15 -15
  905. package/dist/esm/{sv-11c1557b.js → sv-3ea88512.js} +15 -15
  906. package/dist/esm/{t9n-3ac1b5f4.js → t9n-0e348819.js} +3 -3
  907. package/dist/esm/{th-56e3d002.js → th-5672e37a.js} +15 -15
  908. package/dist/esm/{throttle-b3ce8f22.js → throttle-cd632da3.js} +2 -2
  909. package/dist/esm/{tr-1df7aa2b.js → tr-cc95272a.js} +15 -15
  910. package/dist/esm/{uk-6e902e01.js → uk-47cabfb5.js} +15 -15
  911. package/dist/esm/{utils-edc99dca.js → utils-871f570d.js} +1 -1
  912. package/dist/esm/{utils-c8437fba.js → utils-c29b6b34.js} +3 -3
  913. package/dist/esm/{vi-3ac74b2e.js → vi-4db761d4.js} +15 -15
  914. package/dist/esm/{zh-cn-72ea3408.js → zh-cn-6bef7420.js} +15 -15
  915. package/dist/esm/{zh-hk-43ccc10d.js → zh-hk-6a8c05af.js} +15 -15
  916. package/dist/esm/{zh-tw-bf103f5f.js → zh-tw-b987aef3.js} +15 -15
  917. package/dist/extras/docs-json.json +203 -6
  918. package/dist/extras/translations-json.json +1 -1
  919. package/dist/extras/vscode-data.json +8 -0
  920. package/dist/loader/cdn.js +1 -1
  921. package/dist/loader/index.cjs.js +1 -1
  922. package/dist/loader/index.es2017.js +1 -1
  923. package/dist/loader/index.js +1 -1
  924. package/dist/types/components/handle/assets/handle/t9n/index.d.ts +4 -0
  925. package/dist/types/components/handle/handle.d.ts +25 -1
  926. package/dist/types/components/handle/interfaces.d.ts +4 -0
  927. package/dist/types/components/list/list.d.ts +51 -8
  928. package/dist/types/components/list/resources.d.ts +1 -0
  929. package/dist/types/components/list-item/list-item.d.ts +10 -0
  930. package/dist/types/components/list-item/resources.d.ts +2 -1
  931. package/dist/types/components/list-item/utils.d.ts +1 -1
  932. package/dist/types/components/list-item-group/list-item-group.d.ts +6 -1
  933. package/dist/types/components/panel/panel.d.ts +2 -0
  934. package/dist/types/components/panel/resources.d.ts +1 -1
  935. package/dist/types/components/sortable-list/sortable-list.d.ts +13 -1
  936. package/dist/types/components/text-area/resources.d.ts +1 -0
  937. package/dist/types/components/text-area/text-area.d.ts +4 -2
  938. package/dist/types/components/value-list/value-list.d.ts +14 -1
  939. package/dist/types/components.d.ts +93 -1
  940. package/dist/types/preact.d.ts +8 -3
  941. package/dist/types/utils/sortableComponent.d.ts +42 -14
  942. package/hydrate/index.js +8867 -8651
  943. package/package.json +2 -2
  944. package/dist/calcite/p-1fd755a9.entry.js +0 -6
  945. package/dist/calcite/p-257cf992.js +0 -6
  946. package/dist/calcite/p-2c49baa2.entry.js +0 -6
  947. package/dist/calcite/p-2f20eed3.entry.js +0 -6
  948. package/dist/calcite/p-44642c1a.js +0 -6
  949. package/dist/calcite/p-49f74bd0.entry.js +0 -6
  950. package/dist/calcite/p-4adc5ac1.entry.js +0 -6
  951. package/dist/calcite/p-588b9c35.js +0 -6
  952. package/dist/calcite/p-66fea48f.js +0 -6
  953. package/dist/calcite/p-6abbffb0.entry.js +0 -6
  954. package/dist/calcite/p-6e97b09b.entry.js +0 -6
  955. package/dist/calcite/p-6fb304a5.entry.js +0 -6
  956. package/dist/calcite/p-a0d217e2.entry.js +0 -6
  957. package/dist/calcite/p-a35448f9.entry.js +0 -6
  958. package/dist/calcite/p-adb51fc1.entry.js +0 -6
  959. package/dist/calcite/p-b4e31ff6.js +0 -6
  960. package/dist/calcite/p-bfba74f3.entry.js +0 -6
  961. package/dist/calcite/p-f5060be0.entry.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.31
4
+ * v1.5.0-next.33
5
5
  */
6
- import{b as t}from"./p-7fc8c8b9.js";import{d as n}from"./p-a54c4cff.js";const e=["top","right","bottom","left"],o=["start","end"],r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]),i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,n,e){return a(t,i(n,e))}function m(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(p(t))?"y":"x"}function w(t){return g(x(t))}function v(t,n,e){void 0===e&&(e=!1);const o=y(t),r=w(t),i=h(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function b(t){return t.replace(/start|end/g,(t=>u[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function S(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 k(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P(t,n,e){let{reference:o,floating:r}=t;const i=x(n),a=w(n),l=h(a),c=p(n),s="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[a]-=d*(e&&s?-1:1);break;case"end":m[a]+=d*(e&&s?-1:1)}return m}async function D(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=m(n,t),y=S(p),g=l[d?"floating"===u?"reference":"floating":u],h=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),x="floating"===u?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:c}):x);return{top:(h.top-b.top+y.top)/v.y,bottom:(b.bottom-h.bottom+y.bottom)/v.y,left:(h.left-b.left+y.left)/v.x,right:(b.right-h.right+y.right)/v.x}}const R=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:r,rects:i,initialPlacement:a,platform:l,elements:c}=n,{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...x}=m(t,n),w=p(o),S=p(a)===a,k=await(null==l.isRTL?void 0:l.isRTL(c.floating)),P=u||(S||!h?[A(a)]:function(t){const n=A(t);return[b(t),n,b(n)]}(a));u||"none"===g||P.push(...function(t,n,e,o){const r=y(t);let i=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[]}}(p(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(b)))),i}(a,h,g,k));const R=[a,...P],E=await D(n,x),O=[];let M=(null==(e=r.flip)?void 0:e.overflows)||[];if(s&&O.push(E[w]),f){const t=v(o,i,k);O.push(E[t[0]],E[t[1]])}if(M=[...M,{placement:o,overflows:O}],!O.every((t=>t<=0))){var F,T;const t=((null==(F=r.flip)?void 0:F.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(T=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:T.placement;if(!e)switch(d){case"bestFit":{var C;const t=null==(C=M.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:C[0];t&&(e=t);break}case"initialPlacement":e=a}if(o!==e)return{reset:{placement:e}}}return{}}}};function E(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function O(t){return e.some((n=>t[n]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=E(await D(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:O(t)}}}case"escaped":{const t=E(await D(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:O(t)}}}default:return{}}}}},F=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=p(e),l=y(e),c="y"===x(e),s=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof h&&(g="end"===l?-1*h:h),c?{x:g*f,y:d*s}:{x:d*s,y:g*f}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}};function T(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function $(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return t instanceof Node||t instanceof C(t).Node}function B(t){return t instanceof Element||t instanceof C(t).Element}function L(t){return t instanceof HTMLElement||t instanceof C(t).HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}function H(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function I(t){return["table","td","th"].includes(T(t))}function W(t){const n=N(),e=Y(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 N(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(T(t))}function Y(t){return C(t).getComputedStyle(t)}function V(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function X(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||$(t);return j(n)?n.host:n}function _(t){const n=X(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&H(n)?n:_(n)}function G(t,n){var e;void 0===n&&(n=[]);const o=_(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=C(o);return r?n.concat(i,i.visualViewport||[],H(o)?o:[]):n.concat(o,G(o))}function J(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=L(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=l(e)!==i||l(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function K(t){return B(t)?t:t.contextElement}function Q(t){const n=K(t);if(!L(n))return s(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=J(n);let a=(i?l(e.width):e.width)/o,c=(i?l(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const U=s(0);function Z(t){const n=C(t);return N()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=K(t);let a=s(1);n&&(o?B(o)&&(a=Q(o)):a=Q(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(i,e,o)?Z(i):s(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=C(i),n=o&&B(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=Q(e),n=e.getBoundingClientRect(),o=Y(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=C(e).frameElement}}return k({width:u,height:d,x:c,y:f})}function nt(t){return tt($(t)).left+V(t).scrollLeft}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=$(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=N();(!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=$(t),e=V(t),o=t.ownerDocument.body,r=a(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=a(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===Y(o).direction&&(l+=a(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}($(t));else if(B(n))o=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=L(t)?Q(t):s(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=Z(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return k(o)}function ot(t,n){const e=X(t);return!(e===n||!B(e)||q(e))&&("fixed"===Y(e).position||ot(e,n))}function rt(t,n,e){const o=L(n),r=$(n),i="fixed"===e,a=tt(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=s(0);if(o||!o&&!i)if(("body"!==T(n)||H(r))&&(l=V(n)),o){const t=tt(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=nt(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function it(t,n){return L(t)&&"fixed"!==Y(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=C(t);if(!L(t))return e;let o=it(t,n);for(;o&&I(o)&&"static"===Y(o).position;)o=it(o,n);return o&&("html"===T(o)||"body"===T(o)&&"static"===Y(o).position&&!W(o))?e:o||function(t){let n=X(t);for(;L(n)&&!q(n);){if(W(n))return n;n=X(n)}return null}(t)||e}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=L(e),i=$(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=s(1);const c=s(0);if((r||!r&&"fixed"!==o)&&(("body"!==T(e)||H(i))&&(a=V(e)),L(e))){const t=tt(e);l=Q(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:$,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=G(t).filter((t=>B(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?X(t):t;for(;B(a)&&!q(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||H(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],c=l.reduce(((t,e)=>{const o=et(n,e,r);return t.top=a(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),et(n,l[0],r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:at,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:rt(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 J(t)},getScale:Q,isElement:B,isRTL:function(t){return"rtl"===Y(t).direction}};function ct(t){return function(t){for(let n=t;n;n=st(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=st(t);n;n=st(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 st(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}!function(){{const t=lt.getOffsetParent;lt.getOffsetParent=n=>t(n,ct)}}();const ft=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})=>{if(!n||!e)return null;const{x:u,y:d,placement:m,strategy:p,middlewareData:y}=await((t,n,e)=>{const o=new Map,r={platform:lt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:f,y:u}=P(s,o,c),d=o,m={},p=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:h,data:x,reset:w}=await y({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});f=null!=g?g:f,u=null!=h?h:u,m={...m,[i]:{...m[i],...x}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:f,y:u}=P(s,d,c))),e=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:ht(e,r),middleware:yt({placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})});if(s&&y.arrow){const{x:n,y:e}=y.arrow,o=m.split("-")[0],r=null!=n?"left":"top",i=wt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(s.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const g=y.hide?.referenceHidden,h=g?"hidden":null,x=h?"none":null;e.setAttribute(ut,m);const w=`translate(${Math.round(u)}px,${Math.round(d)}px)`;Object.assign(e.style,{visibility:h,pointerEvents:x,position:p,top:"0",left:"0",transform:w})},ut="data-placement",dt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],mt="bottom-start",pt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function yt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:a,arrowEl:l,type:c}){const s=[(void 0===f&&(f={}),{name:"shift",options:f,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...l}=m(f,t),c={x:n,y:e},s=await D(t,l),u=x(p(o)),y=g(u);let h=c[y],w=c[u];r&&(h=d(h+s["y"===y?"top":"left"],h,h-s["y"===y?"bottom":"right"])),i&&(w=d(w+s["y"===u?"top":"left"],w,w-s["y"===u?"bottom":"right"]));const v=a.fn({...t,[y]:h,[u]:w});return{...v,data:{x:v.x-n,y:v.y-e}}}}),M()];var f;if("menu"===c)return[...s,R({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===c||"tooltip"===c){const c=[...s,F({mainAxis:"number"==typeof o?o:0,crossAxis:"number"==typeof a?a:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?c.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:a,middlewareData:l,placement:c,platform:s,elements:f}=n,{crossAxis:u=!1,alignment:d,allowedPlacements:g=r,autoAlignment:h=!0,...x}=m(t,n),w=void 0!==d||g===r?function(t,n,e){return(t?[...e.filter((n=>y(n)===t)),...e.filter((n=>y(n)!==t))]:e.filter((t=>p(t)===t))).filter((e=>!t||y(e)===t||!!n&&b(e)!==e))}(d||null,h,g):g,A=await D(n,x),S=(null==(e=l.autoPlacement)?void 0:e.index)||0,k=w[S];if(null==k)return{};const P=v(k,a,await(null==s.isRTL?void 0:s.isRTL(f.floating)));if(c!==k)return{reset:{placement:w[0]}};const R=[A[p(k)],A[P[0]],A[P[1]]],E=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:k,overflows:R}],O=w[S+1];if(O)return{data:{index:S+1,overflows:E},reset:{placement:O}};const M=E.map((t=>{const n=y(t.placement);return[t.placement,n&&u?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),F=(null==(i=M.filter((t=>t[2].slice(0,y(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||M[0][0];return F!==c?{data:{index:S+1,overflows:E},reset:{placement:F}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||c.push(R(e?{fallbackPlacements:e}:{})),l&&c.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:r,rects:a,platform:l,elements:c}=n,{element:s,padding:f=0}=m(t,n)||{};if(null==s)return{};const u=S(f),p={x:e,y:o},g=w(r),x=h(g),v=await l.getDimensions(s),b="y"===g,A=b?"top":"left",k=b?"bottom":"right",P=b?"clientHeight":"clientWidth",D=a.reference[x]+a.reference[g]-p[g]-a.floating[x],R=p[g]-a.reference[g],E=await(null==l.getOffsetParent?void 0:l.getOffsetParent(s));let O=E?E[P]:0;O&&await(null==l.isElement?void 0:l.isElement(E))||(O=c.floating[P]||a.floating[x]);const M=D/2-R/2,F=O/2-v[x]/2-1,T=i(u[A],F),C=i(u[k],F),$=T,z=O-v[x]-C,B=O/2-v[x]/2+M,L=d($,B,z),j=null!=y(r)&&B!=L&&a.reference[x]/2-(B<$?T:C)-v[x]/2<0?B<$?$-B:z-B:0;return{[g]:p[g]-j,data:{[g]:L,centerOffset:B-L+j}}}}))({element:l})),c}return[]}function gt(t,n){const e=t.filter((t=>dt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${dt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ht(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 xt(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=bt.get(t);return e||(e=n(ft,100,{leading:!0,maxWait:100}),bt.set(t,e),e)}(t):ft;return r(t,e)}const wt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},vt=new WeakMap,bt=new WeakMap;function At(t,n,e){e&&n&&(St(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),vt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,d=K(t),m=r||l?[...d?G(d):[],...G(n)]:[];m.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),l&&t.addEventListener("resize",e)}));const p=d&&f?function(t,n){let e,o=null;const r=$(t);function l(){clearTimeout(e),o&&o.disconnect(),o=null}return function s(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const{left:d,top:m,width:p,height:y}=t.getBoundingClientRect();if(f||n(),!p||!y)return;const g={rootMargin:-c(m)+"px "+-c(r.clientWidth-(d+p))+"px "+-c(r.clientHeight-(m+y))+"px "+-c(d)+"px",threshold:a(0,i(1,u))||1};let h=!0;function x(t){const n=t[0].intersectionRatio;if(n!==u){if(!h)return s();n?s(!1,n):e=setTimeout((()=>{s(!1,1e-7)}),100)}h=!1}try{o=new IntersectionObserver(x,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),l}(d,e):null;let y,g=-1,h=null;s&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&h&&(h.unobserve(n),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{h&&h.observe(n)}))),e()})),d&&!u&&h.observe(d),h.observe(n));let x=u?tt(t):null;return u&&function n(){const o=tt(t);!x||o.x===x.x&&o.y===x.y&&o.width===x.width&&o.height===x.height||e(),x=o,y=requestAnimationFrame(n)}(),e(),()=>{m.forEach((t=>{r&&t.removeEventListener("scroll",e),l&&t.removeEventListener("resize",e)})),p&&p(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(y)}}(n,e,(()=>t.reposition()))))}function St(t,n,e){e&&n&&(vt.get(t)?.(),vt.delete(t),bt.get(t)?.cancel(),bt.delete(t))}const kt=Math.ceil(Math.hypot(4,4));export{pt as F,St as a,kt as b,At as c,mt as d,gt as f,xt as r}
6
+ import{b as t}from"./p-737aab71.js";import{d as n}from"./p-1fabdd5f.js";const e=["top","right","bottom","left"],o=["start","end"],r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]),i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,n,e){return a(t,i(n,e))}function m(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(p(t))?"y":"x"}function w(t){return g(x(t))}function b(t,n,e){void 0===e&&(e=!1);const o=y(t),r=w(t),i=h(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function v(t){return t.replace(/start|end/g,(t=>u[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function S(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 k(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P(t,n,e){let{reference:o,floating:r}=t;const i=x(n),a=w(n),l=h(a),c=p(n),s="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[a]-=d*(e&&s?-1:1);break;case"end":m[a]+=d*(e&&s?-1:1)}return m}async function D(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=m(n,t),y=S(p),g=l[d?"floating"===u?"reference":"floating":u],h=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),x="floating"===u?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),b=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},v=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:c}):x);return{top:(h.top-v.top+y.top)/b.y,bottom:(v.bottom-h.bottom+y.bottom)/b.y,left:(h.left-v.left+y.left)/b.x,right:(v.right-h.right+y.right)/b.x}}const R=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:r,rects:i,initialPlacement:a,platform:l,elements:c}=n,{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...x}=m(t,n),w=p(o),S=p(a)===a,k=await(null==l.isRTL?void 0:l.isRTL(c.floating)),P=u||(S||!h?[A(a)]:function(t){const n=A(t);return[v(t),n,v(n)]}(a));u||"none"===g||P.push(...function(t,n,e,o){const r=y(t);let i=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[]}}(p(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(v)))),i}(a,h,g,k));const R=[a,...P],E=await D(n,x),O=[];let M=(null==(e=r.flip)?void 0:e.overflows)||[];if(s&&O.push(E[w]),f){const t=b(o,i,k);O.push(E[t[0]],E[t[1]])}if(M=[...M,{placement:o,overflows:O}],!O.every((t=>t<=0))){var F,T;const t=((null==(F=r.flip)?void 0:F.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(T=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:T.placement;if(!e)switch(d){case"bestFit":{var C;const t=null==(C=M.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:C[0];t&&(e=t);break}case"initialPlacement":e=a}if(o!==e)return{reset:{placement:e}}}return{}}}};function E(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function O(t){return e.some((n=>t[n]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=E(await D(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:O(t)}}}case"escaped":{const t=E(await D(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:O(t)}}}default:return{}}}}},F=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=p(e),l=y(e),c="y"===x(e),s=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof h&&(g="end"===l?-1*h:h),c?{x:g*f,y:d*s}:{x:d*s,y:g*f}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}};function T(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function $(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return t instanceof Node||t instanceof C(t).Node}function B(t){return t instanceof Element||t instanceof C(t).Element}function L(t){return t instanceof HTMLElement||t instanceof C(t).HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}function H(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function I(t){return["table","td","th"].includes(T(t))}function W(t){const n=N(),e=Y(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 N(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(T(t))}function Y(t){return C(t).getComputedStyle(t)}function V(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function X(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||$(t);return j(n)?n.host:n}function _(t){const n=X(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&H(n)?n:_(n)}function G(t,n){var e;void 0===n&&(n=[]);const o=_(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=C(o);return r?n.concat(i,i.visualViewport||[],H(o)?o:[]):n.concat(o,G(o))}function J(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=L(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=l(e)!==i||l(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function K(t){return B(t)?t:t.contextElement}function Q(t){const n=K(t);if(!L(n))return s(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=J(n);let a=(i?l(e.width):e.width)/o,c=(i?l(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const U=s(0);function Z(t){const n=C(t);return N()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=K(t);let a=s(1);n&&(o?B(o)&&(a=Q(o)):a=Q(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(i,e,o)?Z(i):s(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=C(i),n=o&&B(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=Q(e),n=e.getBoundingClientRect(),o=Y(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=C(e).frameElement}}return k({width:u,height:d,x:c,y:f})}function nt(t){return tt($(t)).left+V(t).scrollLeft}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=$(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=N();(!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=$(t),e=V(t),o=t.ownerDocument.body,r=a(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=a(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===Y(o).direction&&(l+=a(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}($(t));else if(B(n))o=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=L(t)?Q(t):s(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=Z(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return k(o)}function ot(t,n){const e=X(t);return!(e===n||!B(e)||q(e))&&("fixed"===Y(e).position||ot(e,n))}function rt(t,n,e){const o=L(n),r=$(n),i="fixed"===e,a=tt(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=s(0);if(o||!o&&!i)if(("body"!==T(n)||H(r))&&(l=V(n)),o){const t=tt(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=nt(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function it(t,n){return L(t)&&"fixed"!==Y(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=C(t);if(!L(t))return e;let o=it(t,n);for(;o&&I(o)&&"static"===Y(o).position;)o=it(o,n);return o&&("html"===T(o)||"body"===T(o)&&"static"===Y(o).position&&!W(o))?e:o||function(t){let n=X(t);for(;L(n)&&!q(n);){if(W(n))return n;n=X(n)}return null}(t)||e}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=L(e),i=$(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=s(1);const c=s(0);if((r||!r&&"fixed"!==o)&&(("body"!==T(e)||H(i))&&(a=V(e)),L(e))){const t=tt(e);l=Q(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:$,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=G(t).filter((t=>B(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?X(t):t;for(;B(a)&&!q(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||H(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],c=l.reduce(((t,e)=>{const o=et(n,e,r);return t.top=a(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),et(n,l[0],r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:at,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:rt(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 J(t)},getScale:Q,isElement:B,isRTL:function(t){return"rtl"===Y(t).direction}};function ct(t){return function(t){for(let n=t;n;n=st(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=st(t);n;n=st(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 st(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}!function(){{const t=lt.getOffsetParent;lt.getOffsetParent=n=>t(n,ct)}}();const ft=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})=>{if(!n||!e)return null;const{x:u,y:d,placement:m,strategy:p,middlewareData:y}=await((t,n,e)=>{const o=new Map,r={platform:lt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:f,y:u}=P(s,o,c),d=o,m={},p=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:h,data:x,reset:w}=await y({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});f=null!=g?g:f,u=null!=h?h:u,m={...m,[i]:{...m[i],...x}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:f,y:u}=P(s,d,c))),e=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:ht(e,r),middleware:yt({placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})});if(s&&y.arrow){const{x:n,y:e}=y.arrow,o=m.split("-")[0],r=null!=n?"left":"top",i=wt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(s.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const g=y.hide?.referenceHidden,h=g?"hidden":null,x=h?"none":null;e.setAttribute(ut,m);const w=`translate(${Math.round(u)}px,${Math.round(d)}px)`;Object.assign(e.style,{visibility:h,pointerEvents:x,position:p,top:"0",left:"0",transform:w})},ut="data-placement",dt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],mt="bottom-start",pt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function yt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:a,arrowEl:l,type:c}){const s=[(void 0===f&&(f={}),{name:"shift",options:f,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...l}=m(f,t),c={x:n,y:e},s=await D(t,l),u=x(p(o)),y=g(u);let h=c[y],w=c[u];r&&(h=d(h+s["y"===y?"top":"left"],h,h-s["y"===y?"bottom":"right"])),i&&(w=d(w+s["y"===u?"top":"left"],w,w-s["y"===u?"bottom":"right"]));const b=a.fn({...t,[y]:h,[u]:w});return{...b,data:{x:b.x-n,y:b.y-e}}}}),M()];var f;if("menu"===c)return[...s,R({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===c||"tooltip"===c){const c=[...s,F({mainAxis:"number"==typeof o?o:0,crossAxis:"number"==typeof a?a:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?c.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:a,middlewareData:l,placement:c,platform:s,elements:f}=n,{crossAxis:u=!1,alignment:d,allowedPlacements:g=r,autoAlignment:h=!0,...x}=m(t,n),w=void 0!==d||g===r?function(t,n,e){return(t?[...e.filter((n=>y(n)===t)),...e.filter((n=>y(n)!==t))]:e.filter((t=>p(t)===t))).filter((e=>!t||y(e)===t||!!n&&v(e)!==e))}(d||null,h,g):g,A=await D(n,x),S=(null==(e=l.autoPlacement)?void 0:e.index)||0,k=w[S];if(null==k)return{};const P=b(k,a,await(null==s.isRTL?void 0:s.isRTL(f.floating)));if(c!==k)return{reset:{placement:w[0]}};const R=[A[p(k)],A[P[0]],A[P[1]]],E=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:k,overflows:R}],O=w[S+1];if(O)return{data:{index:S+1,overflows:E},reset:{placement:O}};const M=E.map((t=>{const n=y(t.placement);return[t.placement,n&&u?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),F=(null==(i=M.filter((t=>t[2].slice(0,y(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||M[0][0];return F!==c?{data:{index:S+1,overflows:E},reset:{placement:F}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||c.push(R(e?{fallbackPlacements:e}:{})),l&&c.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:r,rects:a,platform:l,elements:c}=n,{element:s,padding:f=0}=m(t,n)||{};if(null==s)return{};const u=S(f),p={x:e,y:o},g=w(r),x=h(g),b=await l.getDimensions(s),v="y"===g,A=v?"top":"left",k=v?"bottom":"right",P=v?"clientHeight":"clientWidth",D=a.reference[x]+a.reference[g]-p[g]-a.floating[x],R=p[g]-a.reference[g],E=await(null==l.getOffsetParent?void 0:l.getOffsetParent(s));let O=E?E[P]:0;O&&await(null==l.isElement?void 0:l.isElement(E))||(O=c.floating[P]||a.floating[x]);const M=D/2-R/2,F=O/2-b[x]/2-1,T=i(u[A],F),C=i(u[k],F),$=T,z=O-b[x]-C,B=O/2-b[x]/2+M,L=d($,B,z),j=null!=y(r)&&B!=L&&a.reference[x]/2-(B<$?T:C)-b[x]/2<0?B<$?$-B:z-B:0;return{[g]:p[g]-j,data:{[g]:L,centerOffset:B-L+j}}}}))({element:l})),c}return[]}function gt(t,n){const e=t.filter((t=>dt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${dt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ht(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 xt(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=vt.get(t);return e||(e=n(ft,100,{leading:!0,maxWait:100}),vt.set(t,e),e)}(t):ft;return r(t,e)}const wt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},bt=new WeakMap,vt=new WeakMap;function At(t,n,e){e&&n&&(St(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),bt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,d=K(t),m=r||l?[...d?G(d):[],...G(n)]:[];m.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),l&&t.addEventListener("resize",e)}));const p=d&&f?function(t,n){let e,o=null;const r=$(t);function l(){clearTimeout(e),o&&o.disconnect(),o=null}return function s(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const{left:d,top:m,width:p,height:y}=t.getBoundingClientRect();if(f||n(),!p||!y)return;const g={rootMargin:-c(m)+"px "+-c(r.clientWidth-(d+p))+"px "+-c(r.clientHeight-(m+y))+"px "+-c(d)+"px",threshold:a(0,i(1,u))||1};let h=!0;function x(t){const n=t[0].intersectionRatio;if(n!==u){if(!h)return s();n?s(!1,n):e=setTimeout((()=>{s(!1,1e-7)}),100)}h=!1}try{o=new IntersectionObserver(x,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),l}(d,e):null;let y,g=-1,h=null;s&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&h&&(h.unobserve(n),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{h&&h.observe(n)}))),e()})),d&&!u&&h.observe(d),h.observe(n));let x=u?tt(t):null;return u&&function n(){const o=tt(t);!x||o.x===x.x&&o.y===x.y&&o.width===x.width&&o.height===x.height||e(),x=o,y=requestAnimationFrame(n)}(),e(),()=>{m.forEach((t=>{r&&t.removeEventListener("scroll",e),l&&t.removeEventListener("resize",e)})),p&&p(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(y)}}(n,e,(()=>t.reposition()))))}function St(t,n,e){e&&n&&(bt.get(t)?.(),bt.delete(t),vt.get(t)?.cancel(),vt.delete(t))}const kt=Math.ceil(Math.hypot(4,4));export{pt as F,St as a,kt as b,At as c,mt as d,gt as f,xt as r}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.31
4
+ * v1.5.0-next.33
5
5
  */
6
- import{q as n,c as t}from"./p-7fc8c8b9.js";import{h as e}from"./p-3803ea95.js";!function(n){function t(n,t,e){throw new n("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+t+".",e)}"function"!=typeof n.requestSubmit&&(n.requestSubmit=function(n){n?(function(n,e){n instanceof HTMLElement||t(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==n.type||t(TypeError,"The specified element is not a submit button"),n.form==e||t(DOMException,"The specified element is not owned by this form element","NotFoundError")}(n,this),n.click()):((n=document.createElement("input")).type="submit",n.hidden=!0,this.appendChild(n),n.click(),this.removeChild(n))})}(HTMLFormElement.prototype);const o="hidden-form-input";function r(n){return"checked"in n}const i=new WeakMap,s=new WeakSet;function c(n){const{formEl:t}=n;return!!t&&(t.requestSubmit(),!0)}function u(n){n.formEl?.reset()}function f(n){const{el:e,value:o}=n,c=m(n);if(!c||function(n,e){if(t(e.parentElement,"[form]"))return!0;const o="calciteInternalFormComponentRegister";let r=!1;return n.addEventListener(o,(n=>{r=n.composedPath().some((n=>s.has(n))),n.stopPropagation()}),{once:!0}),e.dispatchEvent(new CustomEvent(o,{bubbles:!0,composed:!0})),r}(c,e))return;n.formEl=c,n.defaultValue=o,r(n)&&(n.defaultChecked=n.checked);const u=(n.onFormReset||a).bind(n);c.addEventListener("reset",u),i.set(n.el,u),s.add(e)}function m(e){const{el:o,form:r}=e;return r?n(o,{id:r}):t(o,"form")}function a(){r(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function l(n){const{el:t,formEl:e}=n;if(!e)return;const o=i.get(t);e.removeEventListener("reset",o),i.delete(t),n.formEl=null,s.delete(t)}function p(n,t){n.defaultValue=t}const d=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},h=n=>n.removeEventListener("change",d);function b(n,t,e){const{defaultValue:o,disabled:i,form:s,name:c,required:u}=n;t.defaultValue=o,t.disabled=i,t.name=c,t.required=u,t.tabIndex=-1,s?t.setAttribute("form",s):t.removeAttribute("form"),r(n)?(t.checked=n.checked,t.defaultChecked=n.defaultChecked,t.value=n.checked?e||"on":""):t.value=e||"",n.syncHiddenFormInput?.(t)}const E=({component:n})=>(function(n){const{el:t,formEl:e,name:r,value:i}=n,{ownerDocument:s}=t,c=t.querySelectorAll(`input[slot="${o}"]`);if(!e||!r)return void c.forEach((n=>{h(n),n.remove()}));const u=Array.isArray(i)?i:[i],f=[],m=new Set;let a;c.forEach((t=>{const e=u.find((n=>n==t.value));null!=e?(m.add(e),b(n,t,e)):f.push(t)})),u.forEach((t=>{if(m.has(t))return;let e=f.pop();e||(e=s.createElement("input"),e.slot=o),a||(a=s.createDocumentFragment()),a.append(e),e.addEventListener("change",d),b(n,e,t)})),a&&t.append(a),f.forEach((n=>{h(n),n.remove()}))}(n),e("slot",{name:o}));export{E as H,p as a,f as c,l as d,m as f,u as r,c as s}
6
+ import{q as n,c as t}from"./p-737aab71.js";import{h as e}from"./p-6d3a7a5b.js";!function(n){function t(n,t,e){throw new n("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+t+".",e)}"function"!=typeof n.requestSubmit&&(n.requestSubmit=function(n){n?(function(n,e){n instanceof HTMLElement||t(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==n.type||t(TypeError,"The specified element is not a submit button"),n.form==e||t(DOMException,"The specified element is not owned by this form element","NotFoundError")}(n,this),n.click()):((n=document.createElement("input")).type="submit",n.hidden=!0,this.appendChild(n),n.click(),this.removeChild(n))})}(HTMLFormElement.prototype);const o="hidden-form-input";function r(n){return"checked"in n}const i=new WeakMap,s=new WeakSet;function c(n){const{formEl:t}=n;return!!t&&(t.requestSubmit(),!0)}function u(n){n.formEl?.reset()}function f(n){const{el:e,value:o}=n,c=m(n);if(!c||function(n,e){if(t(e.parentElement,"[form]"))return!0;const o="calciteInternalFormComponentRegister";let r=!1;return n.addEventListener(o,(n=>{r=n.composedPath().some((n=>s.has(n))),n.stopPropagation()}),{once:!0}),e.dispatchEvent(new CustomEvent(o,{bubbles:!0,composed:!0})),r}(c,e))return;n.formEl=c,n.defaultValue=o,r(n)&&(n.defaultChecked=n.checked);const u=(n.onFormReset||a).bind(n);c.addEventListener("reset",u),i.set(n.el,u),s.add(e)}function m(e){const{el:o,form:r}=e;return r?n(o,{id:r}):t(o,"form")}function a(){r(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function l(n){const{el:t,formEl:e}=n;if(!e)return;const o=i.get(t);e.removeEventListener("reset",o),i.delete(t),n.formEl=null,s.delete(t)}function p(n,t){n.defaultValue=t}const d=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},h=n=>n.removeEventListener("change",d);function b(n,t,e){const{defaultValue:o,disabled:i,form:s,name:c,required:u}=n;t.defaultValue=o,t.disabled=i,t.name=c,t.required=u,t.tabIndex=-1,s?t.setAttribute("form",s):t.removeAttribute("form"),r(n)?(t.checked=n.checked,t.defaultChecked=n.defaultChecked,t.value=n.checked?e||"on":""):t.value=e||"",n.syncHiddenFormInput?.(t)}const E=({component:n})=>(function(n){const{el:t,formEl:e,name:r,value:i}=n,{ownerDocument:s}=t,c=t.querySelectorAll(`input[slot="${o}"]`);if(!e||!r)return void c.forEach((n=>{h(n),n.remove()}));const u=Array.isArray(i)?i:[i],f=[],m=new Set;let a;c.forEach((t=>{const e=u.find((n=>n==t.value));null!=e?(m.add(e),b(n,t,e)):f.push(t)})),u.forEach((t=>{if(m.has(t))return;let e=f.pop();e||(e=s.createElement("input"),e.slot=o),a||(a=s.createDocumentFragment()),a.append(e),e.addEventListener("change",d),b(n,e,t)})),a&&t.append(a),f.forEach((n=>{h(n),n.remove()}))}(n),e("slot",{name:o}));export{E as H,p as a,f as c,l as d,m as f,u as r,c as s}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.31
4
+ * v1.5.0-next.33
5
5
  */
6
- import{d as r}from"./p-3935b8ae.js";import"./p-3803ea95.js";import"./p-3ac09488.js";import"./p-7fc8c8b9.js";import"./p-710ea6ee.js";import"./p-1c86394b.js";import"./p-8a4d0819.js";import"./p-168096a6.js";import"./p-253adb41.js";import"./p-c6ea9c4e.js";import"./p-1d4e8c12.js";import"./p-f244a263.js";import"./p-20d97420.js";import"./p-b414447e.js";var e={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(r){return r+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(r,e,t,n){return"néhány másodperc"+(n||e?"":"e")},m:function(r,e,t,n){return"egy perc"+(n||e?"":"e")},mm:function(r,e,t,n){return r+" perc"+(n||e?"":"e")},h:function(r,e,t,n){return"egy "+(n||e?"óra":"órája")},hh:function(r,e,t,n){return r+" "+(n||e?"óra":"órája")},d:function(r,e,t,n){return"egy "+(n||e?"nap":"napja")},dd:function(r,e,t,n){return r+" "+(n||e?"nap":"napja")},M:function(r,e,t,n){return"egy "+(n||e?"hónap":"hónapja")},MM:function(r,e,t,n){return r+" "+(n||e?"hónap":"hónapja")},y:function(r,e,t,n){return"egy "+(n||e?"év":"éve")},yy:function(r,e,t,n){return r+" "+(n||e?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};r.locale(e,null,!0);export default e;
6
+ import{d as r}from"./p-cf87e0e4.js";import"./p-6d3a7a5b.js";import"./p-990bc43f.js";import"./p-737aab71.js";import"./p-8d92ca31.js";import"./p-5799e874.js";import"./p-088880eb.js";import"./p-d2b08524.js";import"./p-847ce3f9.js";import"./p-e5154823.js";import"./p-42bd7473.js";import"./p-fb0d85f5.js";import"./p-dfc34aa3.js";import"./p-461ad99b.js";var e={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(r){return r+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(r,e,t,n){return"néhány másodperc"+(n||e?"":"e")},m:function(r,e,t,n){return"egy perc"+(n||e?"":"e")},mm:function(r,e,t,n){return r+" perc"+(n||e?"":"e")},h:function(r,e,t,n){return"egy "+(n||e?"óra":"órája")},hh:function(r,e,t,n){return r+" "+(n||e?"óra":"órája")},d:function(r,e,t,n){return"egy "+(n||e?"nap":"napja")},dd:function(r,e,t,n){return r+" "+(n||e?"nap":"napja")},M:function(r,e,t,n){return"egy "+(n||e?"hónap":"hónapja")},MM:function(r,e,t,n){return r+" "+(n||e?"hónap":"hónapja")},y:function(r,e,t,n){return"egy "+(n||e?"év":"éve")},yy:function(r,e,t,n){return r+" "+(n||e?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};r.locale(e,null,!0);export default e;
@@ -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.33
5
+ */
6
+ import{h as t}from"./p-6d3a7a5b.js";function a(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(a,r)=>{const e=a.level?`h${a.level}`:"div";return delete a.level,t(e,{...a},r)};export{r as H,a as c}
@@ -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.33
5
+ */
6
+ import{d as e}from"./p-cf87e0e4.js";import"./p-6d3a7a5b.js";import"./p-990bc43f.js";import"./p-737aab71.js";import"./p-8d92ca31.js";import"./p-5799e874.js";import"./p-088880eb.js";import"./p-d2b08524.js";import"./p-847ce3f9.js";import"./p-e5154823.js";import"./p-42bd7473.js";import"./p-fb0d85f5.js";import"./p-dfc34aa3.js";import"./p-461ad99b.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,m,o){var a=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?a+(r(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?a+(r(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?a+(r(e)?"dni":"dní"):a+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?a+(r(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?a+(r(e)?"roky":"rokov"):a+"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.31
4
+ * v1.5.0-next.33
5
5
  */
6
- import{d as e}from"./p-3935b8ae.js";import"./p-3803ea95.js";import"./p-3ac09488.js";import"./p-7fc8c8b9.js";import"./p-710ea6ee.js";import"./p-1c86394b.js";import"./p-8a4d0819.js";import"./p-168096a6.js";import"./p-253adb41.js";import"./p-c6ea9c4e.js";import"./p-1d4e8c12.js";import"./p-f244a263.js";import"./p-20d97420.js";import"./p-b414447e.js";var o={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"º"}};e.locale(o,null,!0);export default o;
6
+ import{d as e}from"./p-cf87e0e4.js";import"./p-6d3a7a5b.js";import"./p-990bc43f.js";import"./p-737aab71.js";import"./p-8d92ca31.js";import"./p-5799e874.js";import"./p-088880eb.js";import"./p-d2b08524.js";import"./p-847ce3f9.js";import"./p-e5154823.js";import"./p-42bd7473.js";import"./p-fb0d85f5.js";import"./p-dfc34aa3.js";import"./p-461ad99b.js";var o={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"º"}};e.locale(o,null,!0);export default o;
@@ -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.31
4
+ * v1.5.0-next.33
5
5
  */
6
- import{d as e}from"./p-3935b8ae.js";import"./p-3803ea95.js";import"./p-3ac09488.js";import"./p-7fc8c8b9.js";import"./p-710ea6ee.js";import"./p-1c86394b.js";import"./p-8a4d0819.js";import"./p-168096a6.js";import"./p-253adb41.js";import"./p-c6ea9c4e.js";import"./p-1d4e8c12.js";import"./p-f244a263.js";import"./p-20d97420.js";import"./p-b414447e.js";var r={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),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"},relativeTime:{future:"čez %s",past:"pred %s",s:"nekaj sekund",m:"minuta",mm:"%d minut",h:"ura",hh:"%d ur",d:"dan",dd:"%d dni",M:"mesec",MM:"%d mesecev",y:"leto",yy:"%d let"}};e.locale(r,null,!0);export default r;
6
+ import{d as e}from"./p-cf87e0e4.js";import"./p-6d3a7a5b.js";import"./p-990bc43f.js";import"./p-737aab71.js";import"./p-8d92ca31.js";import"./p-5799e874.js";import"./p-088880eb.js";import"./p-d2b08524.js";import"./p-847ce3f9.js";import"./p-e5154823.js";import"./p-42bd7473.js";import"./p-fb0d85f5.js";import"./p-dfc34aa3.js";import"./p-461ad99b.js";var r={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),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"},relativeTime:{future:"čez %s",past:"pred %s",s:"nekaj sekund",m:"minuta",mm:"%d minut",h:"ura",hh:"%d ur",d:"dan",dd:"%d dni",M:"mesec",MM:"%d mesecev",y:"leto",yy:"%d let"}};e.locale(r,null,!0);export default r;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.31
4
+ * v1.5.0-next.33
5
5
  */
6
- import{d as _}from"./p-3935b8ae.js";import"./p-3803ea95.js";import"./p-3ac09488.js";import"./p-7fc8c8b9.js";import"./p-710ea6ee.js";import"./p-1c86394b.js";import"./p-8a4d0819.js";import"./p-168096a6.js";import"./p-253adb41.js";import"./p-c6ea9c4e.js";import"./p-1d4e8c12.js";import"./p-f244a263.js";import"./p-20d97420.js";import"./p-b414447e.js";var e={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(_){return _},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"}};_.locale(e,null,!0);export default e;
6
+ import{d as _}from"./p-cf87e0e4.js";import"./p-6d3a7a5b.js";import"./p-990bc43f.js";import"./p-737aab71.js";import"./p-8d92ca31.js";import"./p-5799e874.js";import"./p-088880eb.js";import"./p-d2b08524.js";import"./p-847ce3f9.js";import"./p-e5154823.js";import"./p-42bd7473.js";import"./p-fb0d85f5.js";import"./p-dfc34aa3.js";import"./p-461ad99b.js";var a={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(_){return _},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"}};_.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.31
4
+ * v1.5.0-next.33
5
5
  */
6
- import{r as e,c as t,h as a,H as i,a as r,F as s}from"./p-3803ea95.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-d4aa91c4.js";import{c as x,s as m,a as k}from"./p-c6ea9c4e.js";import{c as D,d as z,n as C,b as A}from"./p-1d4e8c12.js";import{c as I,d as S,s as M,u as P}from"./p-b414447e.js";import{c as j,b as H,t as O}from"./p-7fc8c8b9.js";import{c as R,u as _,d as L}from"./p-8a4d0819.js";import{i as W}from"./p-168096a6.js";import{C as Y}from"./p-1c86394b.js";import{H as E}from"./p-b4e31ff6.js";import"./p-f244a263.js";import"./p-710ea6ee.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}
6
+ import{r as e,c as t,h as a,H as i,a as r,F as s}from"./p-6d3a7a5b.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-21bc1a86.js";import{c as x,s as m,a as k}from"./p-e5154823.js";import{c as D,d as z,n as C,b as A}from"./p-42bd7473.js";import{c as I,d as S,s as M,u as P}from"./p-461ad99b.js";import{c as j,b as H,t as O}from"./p-737aab71.js";import{c as R,u as _,d as L}from"./p-088880eb.js";import{i as W}from"./p-d2b08524.js";import{C as Y}from"./p-5799e874.js";import{H as E}from"./p-9c5257e3.js";import"./p-fb0d85f5.js";import"./p-8d92ca31.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.31
4
+ * v1.5.0-next.33
5
5
  */
6
- import{d as a}from"./p-3935b8ae.js";import"./p-3803ea95.js";import"./p-3ac09488.js";import"./p-7fc8c8b9.js";import"./p-710ea6ee.js";import"./p-1c86394b.js";import"./p-8a4d0819.js";import"./p-168096a6.js";import"./p-253adb41.js";import"./p-c6ea9c4e.js";import"./p-1d4e8c12.js";import"./p-f244a263.js";import"./p-20d97420.js";import"./p-b414447e.js";var r={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};a.locale(r,null,!0);export default r;
6
+ import{d as a}from"./p-cf87e0e4.js";import"./p-6d3a7a5b.js";import"./p-990bc43f.js";import"./p-737aab71.js";import"./p-8d92ca31.js";import"./p-5799e874.js";import"./p-088880eb.js";import"./p-d2b08524.js";import"./p-847ce3f9.js";import"./p-e5154823.js";import"./p-42bd7473.js";import"./p-fb0d85f5.js";import"./p-dfc34aa3.js";import"./p-461ad99b.js";var r={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};a.locale(r,null,!0);export default r;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.31
4
+ * v1.5.0-next.33
5
5
  */
6
- import{r as i,c as t,h as e,F as s,a}from"./p-3803ea95.js";import{f as n}from"./p-17850962.js";import{c as o,u as r,d as c}from"./p-8a4d0819.js";import{s as l,a as d,c as h}from"./p-c6ea9c4e.js";import{c as p,d as m}from"./p-1d4e8c12.js";import{u,s as b,c as f,d as g}from"./p-b414447e.js";import{d as v}from"./p-a54c4cff.js";import"./p-7fc8c8b9.js";import"./p-710ea6ee.js";import"./p-1c86394b.js";import"./p-168096a6.js";import"./p-f244a263.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 b(this)}connectedCallback(){o(this),p(this),f(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}
6
+ import{r as i,c as t,h as e,F as s,a}from"./p-6d3a7a5b.js";import{f as n}from"./p-6dd1b8b6.js";import{c as o,u as r,d as l}from"./p-088880eb.js";import{s as c,a as d,c as h}from"./p-e5154823.js";import{c as p,d as m}from"./p-42bd7473.js";import{u,s as b,c as f,d as g}from"./p-461ad99b.js";import{d as v}from"./p-1fabdd5f.js";import"./p-737aab71.js";import"./p-8d92ca31.js";import"./p-5799e874.js";import"./p-d2b08524.js";import"./p-fb0d85f5.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(){c(this),this.updateFiltered(n(this.items,this.value)),await b(this)}connectedCallback(){o(this),p(this),f(this)}componentDidRender(){r(this)}disconnectedCallback(){l(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}
@@ -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.31
4
+ * v1.5.0-next.33
5
5
  */
6
- import{d as _}from"./p-3935b8ae.js";import"./p-3803ea95.js";import"./p-3ac09488.js";import"./p-7fc8c8b9.js";import"./p-710ea6ee.js";import"./p-1c86394b.js";import"./p-8a4d0819.js";import"./p-168096a6.js";import"./p-253adb41.js";import"./p-c6ea9c4e.js";import"./p-1d4e8c12.js";import"./p-f244a263.js";import"./p-20d97420.js";import"./p-b414447e.js";var m="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),r="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),t=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function p(_,m,r){var t,p;return"m"===r?m?"хвилина":"хвилину":"h"===r?m?"година":"годину":_+" "+(t=+_,p={ss:m?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:m?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:m?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[r].split("_"),t%10==1&&t%100!=11?p[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?p[1]:p[2])}var s=function(_,p){return t.test(p)?m[_.month()]:r[_.month()]};s.s=r,s.f=m;var e={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:p,mm:p,h:p,hh:p,d:"день",dd:p,M:"місяць",MM:p,y:"рік",yy:p},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};_.locale(e,null,!0);export default e;
6
+ import{d as _}from"./p-cf87e0e4.js";import"./p-6d3a7a5b.js";import"./p-990bc43f.js";import"./p-737aab71.js";import"./p-8d92ca31.js";import"./p-5799e874.js";import"./p-088880eb.js";import"./p-d2b08524.js";import"./p-847ce3f9.js";import"./p-e5154823.js";import"./p-42bd7473.js";import"./p-fb0d85f5.js";import"./p-dfc34aa3.js";import"./p-461ad99b.js";var m="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),r="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),t=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function p(_,m,r){var t,p;return"m"===r?m?"хвилина":"хвилину":"h"===r?m?"година":"годину":_+" "+(t=+_,p={ss:m?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:m?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:m?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[r].split("_"),t%10==1&&t%100!=11?p[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?p[1]:p[2])}var s=function(_,p){return t.test(p)?m[_.month()]:r[_.month()]};s.s=r,s.f=m;var o={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:p,mm:p,h:p,hh:p,d:"день",dd:p,M:"місяць",MM:p,y:"рік",yy:p},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};_.locale(o,null,!0);export default o;
@@ -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.31
4
+ * v1.5.0-next.33
5
5
  */
6
- import{g as t}from"./p-e534f586.js";import{d as i,g as s,t as n}from"./p-7fc8c8b9.js";import{d as e}from"./p-a54c4cff.js";import{h as a,H as o}from"./p-3803ea95.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-31ef3288.js";import{d as i,g as s,t as n}from"./p-737aab71.js";import{d as e}from"./p-1fabdd5f.js";import{h as a,H as o}from"./p-6d3a7a5b.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}
@@ -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.33
5
+ */
6
+ import{r as e,c as t,h as i,F as s,a as n}from"./p-6d3a7a5b.js";import{e as a,s as o,f as r,t as c}from"./p-737aab71.js";import{c as l,u as d,d as h}from"./p-088880eb.js";import{s as p,a as m,c as u}from"./p-e5154823.js";import{c as g}from"./p-fb0d85f5.js";import{S as f}from"./p-25029672.js";import{H as b}from"./p-9c5257e3.js";import{S as x,C as v,I as y}from"./p-637ebe71.js";import{c as k,d as z}from"./p-42bd7473.js";import{c as w,s as S,d as C,u as j}from"./p-461ad99b.js";import"./p-8d92ca31.js";import"./p-5799e874.js";import"./p-d2b08524.js";const A=class{constructor(i){e(this,i),this.calcitePanelClose=t(this,"calcitePanelClose",6),this.calcitePanelScroll=t(this,"calcitePanelScroll",6),this.resizeObserver=g("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:e}=this;e&&"number"==typeof e.scrollHeight&&"number"==typeof e.offsetHeight&&(e.tabIndex=e.scrollHeight>e.offsetHeight?0:-1)},this.setContainerRef=e=>{this.containerEl=e},this.setCloseRef=e=>{this.closeButtonEl=e},this.setBackRef=e=>{this.backButtonEl=e},this.panelKeyDownHandler=e=>{this.closable&&"Escape"===e.key&&!e.defaultPrevented&&(this.close(),e.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleDefaultSlotChange=e=>{this.hasDefaultContent=a(e)},this.handleHeaderActionsStartSlotChange=e=>{this.hasStartActions=a(e)},this.handleHeaderActionsEndSlotChange=e=>{this.hasEndActions=a(e)},this.handleHeaderMenuActionsSlotChange=e=>{this.hasMenuItems=a(e)},this.handleActionBarSlotChange=e=>{const t=o(e).filter((e=>e?.matches("calcite-action-bar")));t.forEach((e=>e.layout="horizontal")),this.hasActionBar=!!t.length},this.handleHeaderContentSlotChange=e=>{this.hasHeaderContent=a(e)},this.handleFooterSlotChange=e=>{this.hasFooterContent=a(e)},this.handleFooterActionsSlotChange=e=>{this.hasFooterActions=a(e)},this.handleFabSlotChange=e=>{this.hasFab=a(e)},this.setPanelScrollEl=e=>{this.panelScrollEl=e,this.resizeObserver?.disconnect(),e&&(this.resizeObserver?.observe(e),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.hasDefaultContent=!1,this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasActionBar=!1,this.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){l(this),k(this),w(this)}async componentWillLoad(){p(this),await S(this)}componentDidLoad(){m(this)}componentDidRender(){d(this)}disconnectedCallback(){h(this),z(this),C(this),this.resizeObserver?.disconnect()}effectiveLocaleChange(){j(this,this.effectiveLocale)}async setFocus(){await u(this),r(this.containerEl)}async scrollContentTo(e){this.panelScrollEl?.scrollTo(e)}renderHeaderContent(){const{heading:e,headingLevel:t,description:s,hasHeaderContent:n}=this,a=e?i(b,{class:v.heading,level:t},e):null,o=s?i("span",{class:v.description},s):null;return n||!a&&!o?null:i("div",{class:v.headerContent,key:"header-content"},a,o)}renderActionBar(){return i("div",{class:{[v.actionBarContainer]:!0,[v.bottomSeparator]:this.hasDefaultContent},hidden:!this.hasActionBar},i("slot",{name:x.actionBar,onSlotchange:this.handleActionBarSlotChange}))}renderHeaderSlottedContent(){return i("div",{class:v.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:x.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:e}=this;return i("div",{class:{[v.headerActionsStart]:!0,[v.headerActions]:!0},hidden:!e,key:"header-actions-start"},i("slot",{name:x.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{close:e,hasEndActions:t,messages:s,closable:n,hasMenuItems:a}=this,o=s.close,r=n?i("calcite-action",{"aria-label":o,"data-test":"close",icon:y.close,onClick:e,text:o,ref:this.setCloseRef}):null,c=i("slot",{name:x.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});return i("div",{class:{[v.headerActionsEnd]:!0,[v.headerActions]:!0},hidden:!(t||r||a),key:"header-actions-end"},c,this.renderMenu(),r)}renderMenu(){const{hasMenuItems:e,messages:t,menuOpen:s}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!e,key:"menu",label:t.options,open:s,placement:"bottom-end"},i("calcite-action",{icon:y.menu,slot:f.trigger,text:t.options}),i("slot",{name:x.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:e,hasStartActions:t,hasEndActions:s,closable:n,hasMenuItems:a,hasDefaultContent:o,hasActionBar:r}=this,c=this.renderHeaderContent();return i("header",{class:{[v.header]:!0,[v.bottomSeparator]:o||r},hidden:!(e||c||t||s||n||a)},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),c,this.renderHeaderActionsEnd())}renderFooterNode(){const{hasFooterContent:e,hasFooterActions:t}=this;return i("footer",{class:v.footer,hidden:!(e||t)},i("slot",{key:"footer-slot",name:x.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:x.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){return i("div",{class:v.contentWrapper,onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},i("section",{class:v.contentContainer},i("slot",{onSlotchange:this.handleDefaultSlotChange})),this.renderFab())}renderFab(){return i("div",{class:v.fabContainer,hidden:!this.hasFab},i("slot",{name:x.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{loading:e,panelKeyDownHandler:t,closed:n,closable:a}=this,o=i("article",{"aria-busy":c(e),class:v.container,hidden:n,onKeyDown:t,tabIndex:a?0:-1,ref:this.setContainerRef},this.renderHeaderNode(),this.renderActionBar(),this.renderContent(),this.renderFooterNode());return i(s,null,e?i("calcite-scrim",{loading:e}):null,o)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};A.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;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-footer-padding:0.5rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{z-index:var(--calcite-app-z-index-header);inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}.action-bar-container{z-index:var(--calcite-app-z-index-header);inline-size:100%}.bottom-separator{border-block-end:1px solid var(--calcite-ui-border-3)}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{block-size:100%;overflow:auto}.content-container{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-panel-footer-padding);border-block-start:1px solid var(--calcite-ui-border-3)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-app-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}:host([hidden]){display:none}[hidden]{display:none}";export{A as calcite_panel}
@@ -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.31
4
+ * v1.5.0-next.33
5
5
  */
6
6
  const t=(t,a,e)=>Math.max(a,Math.min(t,e)),a=new RegExp(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/),e=t=>{const e=(""+t).match(a);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0};export{t as c,e as d}
@@ -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.31
4
+ * v1.5.0-next.33
5
5
  */
6
- import{d as e}from"./p-3935b8ae.js";import"./p-3803ea95.js";import"./p-3ac09488.js";import"./p-7fc8c8b9.js";import"./p-710ea6ee.js";import"./p-1c86394b.js";import"./p-8a4d0819.js";import"./p-168096a6.js";import"./p-253adb41.js";import"./p-c6ea9c4e.js";import"./p-1d4e8c12.js";import"./p-f244a263.js";import"./p-20d97420.js";import"./p-b414447e.js";var m={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};e.locale(m,null,!0);export default m;
6
+ import{d as e}from"./p-cf87e0e4.js";import"./p-6d3a7a5b.js";import"./p-990bc43f.js";import"./p-737aab71.js";import"./p-8d92ca31.js";import"./p-5799e874.js";import"./p-088880eb.js";import"./p-d2b08524.js";import"./p-847ce3f9.js";import"./p-e5154823.js";import"./p-42bd7473.js";import"./p-fb0d85f5.js";import"./p-dfc34aa3.js";import"./p-461ad99b.js";var m={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};e.locale(m,null,!0);export default m;