@esri/calcite-components 1.5.0-next.0 → 1.5.0-next.2

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 (1030) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +2 -2
  3. package/dist/calcite/p-009b2815.js +6 -0
  4. package/dist/calcite/{p-37ddbcdf.entry.js → p-02f2afb5.entry.js} +2 -2
  5. package/dist/calcite/p-04c1d8e4.entry.js +6 -0
  6. package/dist/calcite/{p-8bcb6511.js → p-0593eb33.js} +1 -1
  7. package/dist/calcite/{p-2d00d6bb.js → p-07974044.js} +1 -1
  8. package/dist/calcite/p-08adc2c8.entry.js +6 -0
  9. package/dist/calcite/p-0a2f0d5c.entry.js +6 -0
  10. package/dist/calcite/p-0a4b4b69.js +6 -0
  11. package/dist/calcite/{p-a6f88c45.entry.js → p-0b6648e5.entry.js} +2 -2
  12. package/dist/calcite/p-0e9eb706.entry.js +6 -0
  13. package/dist/calcite/{p-2d999e9d.entry.js → p-10c1ee32.entry.js} +2 -2
  14. package/dist/calcite/p-13464270.js +6 -0
  15. package/dist/calcite/{p-891f1adf.entry.js → p-185367ec.entry.js} +2 -2
  16. package/dist/calcite/p-1a48fe90.entry.js +6 -0
  17. package/dist/calcite/{p-7f3639f3.js → p-1b3d3a98.js} +1 -1
  18. package/dist/calcite/{p-efbc719a.js → p-1da65bff.js} +1 -1
  19. package/dist/calcite/p-1f1633a4.js +6 -0
  20. package/dist/calcite/{p-106d80ff.entry.js → p-21d34f78.entry.js} +2 -2
  21. package/dist/calcite/p-226c147b.js +6 -0
  22. package/dist/calcite/p-22e69f05.js +6 -0
  23. package/dist/calcite/p-2356c226.entry.js +6 -0
  24. package/dist/calcite/{p-f4ff2444.js → p-248b09f3.js} +1 -1
  25. package/dist/calcite/p-250f5f1d.js +6 -0
  26. package/dist/calcite/p-25939b44.entry.js +6 -0
  27. package/dist/calcite/p-26ff8257.js +6 -0
  28. package/dist/calcite/{p-41e746a3.js → p-27863f70.js} +2 -2
  29. package/dist/calcite/p-2c6222ab.js +6 -0
  30. package/dist/calcite/{p-9a000173.js → p-2c637090.js} +3 -3
  31. package/dist/calcite/p-2e4ccee6.entry.js +6 -0
  32. package/dist/calcite/p-2e7c1e63.js +6 -0
  33. package/dist/calcite/p-30c929e3.entry.js +6 -0
  34. package/dist/calcite/p-338db205.js +6 -0
  35. package/dist/calcite/{p-4256ce72.js → p-3666329d.js} +2 -2
  36. package/dist/calcite/{p-75937a38.js → p-36b02daf.js} +1 -1
  37. package/dist/calcite/p-378effaa.js +6 -0
  38. package/dist/calcite/{p-3530df33.entry.js → p-39c78d61.entry.js} +2 -2
  39. package/dist/calcite/p-3ccb9094.js +6 -0
  40. package/dist/calcite/p-4111269d.entry.js +6 -0
  41. package/dist/calcite/p-4239ff60.js +6 -0
  42. package/dist/calcite/p-439a5758.js +6 -0
  43. package/dist/calcite/{p-d103a595.js → p-447792c0.js} +2 -2
  44. package/dist/calcite/p-47ebedce.entry.js +6 -0
  45. package/dist/calcite/{p-5734031c.entry.js → p-48f345ad.entry.js} +2 -2
  46. package/dist/calcite/{p-bf8ce5e2.js → p-497e9490.js} +1 -1
  47. package/dist/calcite/p-4a80e813.js +6 -0
  48. package/dist/calcite/{p-d6b0b457.js → p-53047265.js} +1 -1
  49. package/dist/calcite/p-56ae9ae2.entry.js +6 -0
  50. package/dist/calcite/p-5b1df99c.entry.js +6 -0
  51. package/dist/calcite/{p-dff4ad85.js → p-5d509f73.js} +1 -1
  52. package/dist/calcite/p-6000474d.js +6 -0
  53. package/dist/calcite/p-601e6686.js +6 -0
  54. package/dist/calcite/p-60e0df72.js +6 -0
  55. package/dist/calcite/p-622f1ba7.js +6 -0
  56. package/dist/calcite/{p-df28bd80.entry.js → p-62ef726d.entry.js} +2 -2
  57. package/dist/calcite/p-637f18b3.js +6 -0
  58. package/dist/calcite/{p-99bd5304.js → p-643760cd.js} +1 -1
  59. package/dist/calcite/p-69c0dff0.entry.js +6 -0
  60. package/dist/calcite/p-6bc0ee2a.entry.js +6 -0
  61. package/dist/calcite/p-710d652b.entry.js +6 -0
  62. package/dist/calcite/p-713aa40a.js +6 -0
  63. package/dist/calcite/p-71a80d9c.js +6 -0
  64. package/dist/calcite/p-72cfb910.js +6 -0
  65. package/dist/calcite/p-7304b129.js +6 -0
  66. package/dist/calcite/p-7389b779.js +6 -0
  67. package/dist/calcite/p-752bdaea.entry.js +6 -0
  68. package/dist/calcite/{p-06cc0f03.js → p-77dcb1b3.js} +1 -1
  69. package/dist/calcite/p-79cf9a50.entry.js +6 -0
  70. package/dist/calcite/p-7a6ff0f1.js +6 -0
  71. package/dist/calcite/p-7ccb3067.js +6 -0
  72. package/dist/calcite/p-7d88bc53.entry.js +6 -0
  73. package/dist/calcite/p-7eef9fb3.entry.js +6 -0
  74. package/dist/calcite/p-806601c7.entry.js +6 -0
  75. package/dist/calcite/p-8365c4f2.js +6 -0
  76. package/dist/calcite/{p-b4757027.entry.js → p-85fbc80a.entry.js} +2 -2
  77. package/dist/calcite/p-86c4288b.js +6 -0
  78. package/dist/calcite/{p-35c0d84e.js → p-87cb6caa.js} +1 -1
  79. package/dist/calcite/p-89b3591a.entry.js +6 -0
  80. package/dist/calcite/p-8abceca2.js +6 -0
  81. package/dist/calcite/{p-e0f2d088.entry.js → p-8b59f122.entry.js} +2 -2
  82. package/dist/calcite/p-8c072fe6.js +6 -0
  83. package/dist/calcite/p-90bfb41d.entry.js +6 -0
  84. package/dist/calcite/{p-ed8c1f6a.entry.js → p-90d0a4d6.entry.js} +2 -2
  85. package/dist/calcite/p-9203113d.entry.js +6 -0
  86. package/dist/calcite/p-952bf2cd.js +6 -0
  87. package/dist/calcite/p-9593e1f9.entry.js +6 -0
  88. package/dist/calcite/p-95af4ca6.js +6 -0
  89. package/dist/calcite/p-9621dc3d.entry.js +6 -0
  90. package/dist/calcite/p-98e377a7.js +6 -0
  91. package/dist/calcite/p-9bb0d6a1.js +6 -0
  92. package/dist/calcite/p-9bb8d973.js +6 -0
  93. package/dist/calcite/{p-2c0b6cac.js → p-9d20754b.js} +2 -2
  94. package/dist/calcite/p-9e801922.entry.js +6 -0
  95. package/dist/calcite/p-a12e8e1b.entry.js +6 -0
  96. package/dist/calcite/p-a18f72d9.entry.js +6 -0
  97. package/dist/calcite/p-a3219c80.entry.js +6 -0
  98. package/dist/calcite/{p-9fe43f5f.js → p-a486b294.js} +2 -2
  99. package/dist/calcite/{p-01e6319e.js → p-a7515261.js} +1 -1
  100. package/dist/calcite/{p-21e9a8a5.entry.js → p-a7f0a1ad.entry.js} +2 -2
  101. package/dist/calcite/p-acd53a3d.entry.js +6 -0
  102. package/dist/calcite/p-ae17f167.entry.js +6 -0
  103. package/dist/calcite/p-b0194f1c.js +6 -0
  104. package/dist/calcite/{p-df33878c.js → p-b0d08631.js} +2 -2
  105. package/dist/calcite/p-b1d6ccfc.entry.js +6 -0
  106. package/dist/calcite/{p-8066065e.entry.js → p-b448269e.entry.js} +2 -2
  107. package/dist/calcite/p-b534273f.entry.js +6 -0
  108. package/dist/calcite/p-b765b963.entry.js +6 -0
  109. package/dist/calcite/p-b7ab94f7.js +6 -0
  110. package/dist/calcite/p-b80948fe.entry.js +6 -0
  111. package/dist/calcite/p-b811cbfe.js +6 -0
  112. package/dist/calcite/p-b9438138.js +6 -0
  113. package/dist/calcite/p-bca7786e.entry.js +6 -0
  114. package/dist/calcite/p-bf1ec764.js +6 -0
  115. package/dist/calcite/p-c0ecdc77.js +6 -0
  116. package/dist/calcite/p-c31511a4.js +6 -0
  117. package/dist/calcite/{p-80533be7.js → p-c31f46f9.js} +2 -2
  118. package/dist/calcite/p-c5a09832.js +6 -0
  119. package/dist/calcite/p-c960bc96.js +6 -0
  120. package/dist/calcite/p-ca8cc20e.entry.js +6 -0
  121. package/dist/calcite/p-cbf13653.entry.js +6 -0
  122. package/dist/calcite/{p-95d68201.js → p-cd1ee477.js} +2 -2
  123. package/dist/calcite/{p-79d83c0e.js → p-ceb4c931.js} +2 -2
  124. package/dist/calcite/p-cfd10f3e.js +6 -0
  125. package/dist/calcite/{p-0364fa56.js → p-d05e5931.js} +1 -1
  126. package/dist/calcite/p-d8839a42.js +6 -0
  127. package/dist/calcite/p-daef4807.js +6 -0
  128. package/dist/calcite/p-db5d3568.entry.js +6 -0
  129. package/dist/calcite/p-dc9f0e2f.js +6 -0
  130. package/dist/calcite/{p-92b97a4f.js → p-deaa5c6e.js} +2 -2
  131. package/dist/calcite/p-e54830c9.entry.js +6 -0
  132. package/dist/calcite/p-e68678be.entry.js +6 -0
  133. package/dist/calcite/p-e81318c0.js +6 -0
  134. package/dist/calcite/{p-3e0c63b1.js → p-e84f5ea7.js} +2 -2
  135. package/dist/calcite/{p-f55f35e2.js → p-e8880b82.js} +2 -2
  136. package/dist/calcite/p-e8f98cad.js +6 -0
  137. package/dist/calcite/p-eb6ce775.js +6 -0
  138. package/dist/calcite/p-ecf15ba7.js +6 -0
  139. package/dist/calcite/{p-7b26cc1c.entry.js → p-ed41d7be.entry.js} +2 -2
  140. package/dist/calcite/p-f0a4fb1c.entry.js +6 -0
  141. package/dist/calcite/{p-88d3c6bc.entry.js → p-f0b9a991.entry.js} +2 -2
  142. package/dist/calcite/p-f1836535.entry.js +6 -0
  143. package/dist/calcite/{p-acd123b3.entry.js → p-f2a314c8.entry.js} +2 -2
  144. package/dist/calcite/p-f2c059e9.entry.js +6 -0
  145. package/dist/calcite/p-f2d8d3e2.js +6 -0
  146. package/dist/calcite/p-f77e9d63.js +6 -0
  147. package/dist/calcite/p-f8da7c37.js +6 -0
  148. package/dist/calcite/p-fc1c96b9.entry.js +6 -0
  149. package/dist/calcite/{p-fde1e0c4.entry.js → p-fca49af0.entry.js} +2 -2
  150. package/dist/calcite/{p-e5f8c705.js → p-fe334709.js} +1 -1
  151. package/dist/calcite/p-ff1f4f2d.entry.js +6 -0
  152. package/dist/calcite/{p-89583e39.entry.js → p-ff5aa8ee.entry.js} +2 -2
  153. package/dist/cjs/{ExpandToggle-116aab4e.js → ExpandToggle-84b7195c.js} +5 -5
  154. package/dist/cjs/{FloatingArrow-f201efca.js → FloatingArrow-92682b60.js} +2 -2
  155. package/dist/cjs/{Heading-c6d79f19.js → Heading-c9622c73.js} +2 -2
  156. package/dist/cjs/{app-globals-188e6447.js → app-globals-0197152b.js} +2 -2
  157. package/dist/cjs/{ar-6f445e62.js → ar-057d0135.js} +16 -15
  158. package/dist/cjs/{array-56f02477.js → array-ac309ecc.js} +1 -1
  159. package/dist/cjs/{bg-c2b7459c.js → bg-12b0ac46.js} +16 -15
  160. package/dist/cjs/browser-13db55af.js +19 -0
  161. package/dist/cjs/{bs-bb9e388e.js → bs-19741f8c.js} +16 -15
  162. package/dist/cjs/{ca-e98a690d.js → ca-906127c4.js} +16 -15
  163. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  164. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  165. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  166. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  167. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  168. package/dist/cjs/calcite-action.cjs.entry.js +14 -11
  169. package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
  170. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  171. package/dist/cjs/calcite-block_2.cjs.entry.js +15 -12
  172. package/dist/cjs/calcite-button.cjs.entry.js +16 -13
  173. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  174. package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -10
  175. package/dist/cjs/calcite-chip-group.cjs.entry.js +11 -8
  176. package/dist/cjs/calcite-chip.cjs.entry.js +15 -12
  177. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -15
  178. package/dist/cjs/calcite-combobox_3.cjs.entry.js +23 -18
  179. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +20 -13
  180. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +16 -13
  181. package/dist/cjs/calcite-fab.cjs.entry.js +14 -7
  182. package/dist/cjs/calcite-filter.cjs.entry.js +16 -13
  183. package/dist/cjs/calcite-flow-item.cjs.entry.js +15 -12
  184. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  185. package/dist/cjs/calcite-graph_2.cjs.entry.js +16 -13
  186. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  187. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  188. package/dist/cjs/calcite-inline-editable.cjs.entry.js +15 -12
  189. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -18
  190. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  191. package/dist/cjs/calcite-input-number.cjs.entry.js +16 -13
  192. package/dist/cjs/calcite-input-text.cjs.entry.js +16 -13
  193. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-da5fb134.js → calcite-input-time-picker.calcite-time-picker-f15b8a68.js} +62 -60
  194. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -15
  195. package/dist/cjs/calcite-input.cjs.entry.js +16 -13
  196. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  197. package/dist/cjs/calcite-link.cjs.entry.js +14 -7
  198. package/dist/cjs/calcite-list_3.cjs.entry.js +31 -36
  199. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  200. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  201. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  202. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  203. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  204. package/dist/cjs/calcite-option_3.cjs.entry.js +13 -10
  205. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  206. package/dist/cjs/calcite-panel.cjs.entry.js +17 -14
  207. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +21 -16
  208. package/dist/cjs/calcite-popover.cjs.entry.js +17 -16
  209. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  210. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  211. package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -10
  212. package/dist/cjs/calcite-rating.cjs.entry.js +16 -13
  213. package/dist/cjs/calcite-scrim.cjs.entry.js +44 -10
  214. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -9
  215. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  216. package/dist/cjs/calcite-sortable-list.cjs.entry.js +11 -8
  217. package/dist/cjs/calcite-split-button.cjs.entry.js +11 -4
  218. package/dist/cjs/calcite-stack.cjs.entry.js +26 -12
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +13 -10
  220. package/dist/cjs/calcite-switch.cjs.entry.js +13 -10
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -10
  222. package/dist/cjs/calcite-text-area.cjs.entry.js +18 -15
  223. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +14 -5
  224. package/dist/cjs/calcite-tile.cjs.entry.js +11 -8
  225. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  226. package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -9
  227. package/dist/cjs/calcite-tree_2.cjs.entry.js +12 -9
  228. package/dist/cjs/calcite-value-list_2.cjs.entry.js +21 -16
  229. package/dist/cjs/calcite.cjs.js +5 -5
  230. package/dist/cjs/{composed-offset-position.esm-33847150.js → composed-offset-position.esm-869d8a76.js} +1 -1
  231. package/dist/cjs/{conditionalSlot-950ffb23.js → conditionalSlot-63b19e25.js} +3 -3
  232. package/dist/cjs/{cs-cc1246b2.js → cs-1017e11b.js} +16 -15
  233. package/dist/cjs/{da-eb3baa5e.js → da-6f605ddd.js} +16 -15
  234. package/dist/cjs/{de-38a484d5.js → de-8b83b2aa.js} +16 -15
  235. package/dist/cjs/{de-at-4bd2150a.js → de-at-9b6befda.js} +16 -15
  236. package/dist/cjs/{de-ch-60a228d4.js → de-ch-89b68831.js} +16 -15
  237. package/dist/cjs/{debounce-60e39ebe.js → debounce-1eb5fae2.js} +1 -1
  238. package/dist/cjs/{dom-ef71cdcc.js → dom-42dabaf2.js} +3 -3
  239. package/dist/cjs/{el-d1ff0ed1.js → el-15bb7d34.js} +16 -15
  240. package/dist/cjs/{en-au-eac0fb07.js → en-au-239a6657.js} +16 -15
  241. package/dist/cjs/{en-ca-f4ea400d.js → en-ca-b7b30541.js} +16 -15
  242. package/dist/cjs/{en-gb-c4206bd0.js → en-gb-a3628c92.js} +16 -15
  243. package/dist/cjs/{es-0e1f2635.js → es-c7fa206a.js} +16 -15
  244. package/dist/cjs/{es-mx-e716c88e.js → es-mx-84a64b47.js} +16 -15
  245. package/dist/cjs/{et-e2956599.js → et-70c57f77.js} +16 -15
  246. package/dist/cjs/{fi-c7a74263.js → fi-b9a105df.js} +16 -15
  247. package/dist/cjs/{filter-5ebc882d.js → filter-e702266b.js} +2 -2
  248. package/dist/cjs/{floating-ui-c810c7f8.js → floating-ui-6d60268d.js} +16 -24
  249. package/dist/cjs/{focusTrapComponent-1092be83.js → focusTrapComponent-69c80ef0.js} +2 -2
  250. package/dist/cjs/{form-8e28c75e.js → form-bc18d8c5.js} +3 -3
  251. package/dist/cjs/{fr-fd7b9081.js → fr-0efb8d91.js} +16 -15
  252. package/dist/cjs/{fr-ch-5fef0619.js → fr-ch-b34ca4e1.js} +16 -15
  253. package/dist/cjs/{guid-7b68a68f.js → guid-13035076.js} +1 -1
  254. package/dist/cjs/{he-f1fcc5a7.js → he-5706bff2.js} +16 -15
  255. package/dist/cjs/{hi-db8e2a49.js → hi-b1548147.js} +16 -15
  256. package/dist/cjs/{hr-1aea4cc0.js → hr-83898a11.js} +16 -15
  257. package/dist/cjs/{hu-506d084c.js → hu-514951a0.js} +16 -15
  258. package/dist/cjs/{id-b066c926.js → id-acd8a39d.js} +16 -15
  259. package/dist/cjs/{index-c3cbd8d1.js → index-b91c10b3.js} +1 -1
  260. package/dist/cjs/index.cjs.js +2 -2
  261. package/dist/cjs/interactive-7ff38ff7.js +142 -0
  262. package/dist/cjs/{it-1388592d.js → it-cca7c760.js} +16 -15
  263. package/dist/cjs/{it-ch-29731c96.js → it-ch-c42d7e19.js} +16 -15
  264. package/dist/cjs/{ja-1f2de4d8.js → ja-fe87ff1c.js} +16 -15
  265. package/dist/cjs/{key-d0cad9b0.js → key-3fc8a11f.js} +1 -1
  266. package/dist/cjs/{ko-97540d8c.js → ko-8f4dadd2.js} +16 -15
  267. package/dist/cjs/{label-37fd1e62.js → label-678a4785.js} +2 -2
  268. package/dist/cjs/{loadable-5de11b60.js → loadable-99302fa8.js} +1 -1
  269. package/dist/cjs/loader.cjs.js +5 -5
  270. package/dist/cjs/{locale-6da1f412.js → locale-094508f4.js} +4 -4
  271. package/dist/cjs/{lt-fd098ebc.js → lt-b0acac32.js} +16 -15
  272. package/dist/cjs/{lv-3afcf0c2.js → lv-afa48cad.js} +16 -15
  273. package/dist/cjs/{math-2cb85f3d.js → math-59198773.js} +1 -1
  274. package/dist/cjs/{mk-ebca513a.js → mk-7a53edfe.js} +16 -15
  275. package/dist/cjs/{nb-4af5765b.js → nb-ffe8cba6.js} +16 -15
  276. package/dist/cjs/{nl-17730524.js → nl-faa5db30.js} +16 -15
  277. package/dist/cjs/{observers-0e22ec57.js → observers-481d4a66.js} +1 -1
  278. package/dist/cjs/{openCloseComponent-b9c05536.js → openCloseComponent-0bde404e.js} +2 -2
  279. package/dist/cjs/{pl-6ea1de71.js → pl-5c002238.js} +16 -15
  280. package/dist/cjs/{pt-37594a74.js → pt-1f5e54e5.js} +16 -15
  281. package/dist/cjs/{pt-br-95f679e9.js → pt-br-da69c115.js} +16 -15
  282. package/dist/cjs/{resources-a6ec2855.js → resources-1c27e741.js} +1 -1
  283. package/dist/cjs/{resources-5820ff7a.js → resources-1d7aaca8.js} +1 -1
  284. package/dist/cjs/{resources-378f1c2e.js → resources-30cab3c7.js} +1 -1
  285. package/dist/cjs/{resources-cd3d8dcf.js → resources-46ce085b.js} +5 -5
  286. package/dist/cjs/{resources-ddaceaf9.js → resources-588d425d.js} +1 -1
  287. package/dist/cjs/{resources-1944aa33.js → resources-90dd6ceb.js} +1 -1
  288. package/dist/cjs/{ro-24bf7ea0.js → ro-e04fb1e6.js} +16 -15
  289. package/dist/cjs/{ru-4421387c.js → ru-e7b0e1de.js} +16 -15
  290. package/dist/cjs/{sk-7603c81b.js → sk-10c4a9b8.js} +16 -15
  291. package/dist/cjs/{sl-9ae16b72.js → sl-d2b5a3d7.js} +16 -15
  292. package/dist/cjs/{sortableComponent-86a155f2.js → sortableComponent-71a4da4a.js} +2 -2
  293. package/dist/cjs/{sr-d3eccd1f.js → sr-b98773f1.js} +16 -15
  294. package/dist/cjs/{sv-3ca21ded.js → sv-b4369047.js} +16 -15
  295. package/dist/cjs/{t9n-815b3355.js → t9n-ac1691f4.js} +3 -3
  296. package/dist/cjs/{th-e0cf9592.js → th-6a24b050.js} +16 -15
  297. package/dist/cjs/{throttle-8673f9c4.js → throttle-7e348ba1.js} +2 -2
  298. package/dist/cjs/{tr-87fc38dd.js → tr-178c510c.js} +16 -15
  299. package/dist/cjs/{uk-bcbc70c7.js → uk-7841700c.js} +16 -15
  300. package/dist/cjs/{utils-30c2a335.js → utils-29a19aab.js} +3 -3
  301. package/dist/cjs/{utils-438915e6.js → utils-b179d25d.js} +1 -1
  302. package/dist/cjs/{vi-da43bc8d.js → vi-db7b8657.js} +16 -15
  303. package/dist/cjs/{zh-cn-d1305334.js → zh-cn-9354886c.js} +16 -15
  304. package/dist/cjs/{zh-hk-ec809af5.js → zh-hk-0cb1f9f8.js} +16 -15
  305. package/dist/cjs/{zh-tw-b4969927.js → zh-tw-1128405e.js} +16 -15
  306. package/dist/collection/components/accordion/accordion.js +1 -1
  307. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  308. package/dist/collection/components/accordion-item/resources.js +1 -1
  309. package/dist/collection/components/action/action.js +4 -2
  310. package/dist/collection/components/action/resources.js +1 -1
  311. package/dist/collection/components/action-bar/action-bar.js +1 -1
  312. package/dist/collection/components/action-bar/resources.js +1 -1
  313. package/dist/collection/components/action-bar/utils.js +1 -1
  314. package/dist/collection/components/action-group/action-group.js +1 -1
  315. package/dist/collection/components/action-group/resources.js +1 -1
  316. package/dist/collection/components/action-menu/action-menu.js +1 -1
  317. package/dist/collection/components/action-menu/resources.js +1 -1
  318. package/dist/collection/components/action-pad/action-pad.js +1 -1
  319. package/dist/collection/components/action-pad/resources.js +1 -1
  320. package/dist/collection/components/alert/alert.js +3 -3
  321. package/dist/collection/components/alert/resources.js +1 -1
  322. package/dist/collection/components/avatar/avatar.js +1 -1
  323. package/dist/collection/components/avatar/utils.js +1 -1
  324. package/dist/collection/components/block/block.js +4 -2
  325. package/dist/collection/components/block/resources.js +1 -1
  326. package/dist/collection/components/block-section/block-section.js +1 -1
  327. package/dist/collection/components/block-section/resources.js +1 -1
  328. package/dist/collection/components/button/button.js +4 -2
  329. package/dist/collection/components/button/resources.js +1 -1
  330. package/dist/collection/components/card/card.js +1 -1
  331. package/dist/collection/components/card/resources.js +1 -1
  332. package/dist/collection/components/checkbox/checkbox.js +4 -2
  333. package/dist/collection/components/chip/chip.js +4 -2
  334. package/dist/collection/components/chip/resources.js +1 -1
  335. package/dist/collection/components/chip-group/chip-group.js +4 -2
  336. package/dist/collection/components/color-picker/color-picker.js +4 -2
  337. package/dist/collection/components/color-picker/resources.js +1 -1
  338. package/dist/collection/components/color-picker/utils.js +1 -1
  339. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  340. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  341. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  342. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  343. package/dist/collection/components/combobox/combobox.js +4 -2
  344. package/dist/collection/components/combobox/resources.js +1 -1
  345. package/dist/collection/components/combobox/utils.js +1 -1
  346. package/dist/collection/components/combobox-item/combobox-item.js +4 -2
  347. package/dist/collection/components/combobox-item/resources.js +1 -1
  348. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  349. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  350. package/dist/collection/components/date-picker/date-picker.js +1 -1
  351. package/dist/collection/components/date-picker/resources.js +1 -1
  352. package/dist/collection/components/date-picker/utils.js +1 -1
  353. package/dist/collection/components/date-picker-day/date-picker-day.js +8 -2
  354. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  355. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  356. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  357. package/dist/collection/components/dropdown/dropdown.js +5 -3
  358. package/dist/collection/components/dropdown/resources.js +1 -1
  359. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  360. package/dist/collection/components/dropdown-group/resources.js +1 -1
  361. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  362. package/dist/collection/components/dropdown-item/resources.js +1 -1
  363. package/dist/collection/components/fab/fab.js +8 -2
  364. package/dist/collection/components/fab/resources.js +1 -1
  365. package/dist/collection/components/filter/filter.js +4 -2
  366. package/dist/collection/components/filter/resources.js +1 -1
  367. package/dist/collection/components/flow/flow.js +1 -1
  368. package/dist/collection/components/flow/resources.js +1 -1
  369. package/dist/collection/components/flow-item/flow-item.js +4 -2
  370. package/dist/collection/components/flow-item/resources.js +1 -1
  371. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  372. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  373. package/dist/collection/components/functional/Heading.js +1 -1
  374. package/dist/collection/components/functional/XButton.js +1 -1
  375. package/dist/collection/components/graph/graph.js +1 -1
  376. package/dist/collection/components/graph/util.js +1 -1
  377. package/dist/collection/components/handle/handle.js +1 -1
  378. package/dist/collection/components/handle/resources.js +1 -1
  379. package/dist/collection/components/icon/icon.js +1 -1
  380. package/dist/collection/components/icon/resources.js +1 -1
  381. package/dist/collection/components/icon/utils.js +1 -1
  382. package/dist/collection/components/inline-editable/inline-editable.js +4 -2
  383. package/dist/collection/components/inline-editable/resources.js +1 -1
  384. package/dist/collection/components/input/input.js +4 -2
  385. package/dist/collection/components/input/resources.js +1 -1
  386. package/dist/collection/components/input-date-picker/input-date-picker.js +4 -2
  387. package/dist/collection/components/input-date-picker/resources.js +1 -1
  388. package/dist/collection/components/input-message/input-message.js +1 -1
  389. package/dist/collection/components/input-message/interfaces.js +1 -1
  390. package/dist/collection/components/input-number/input-number.js +4 -2
  391. package/dist/collection/components/input-number/resources.js +1 -1
  392. package/dist/collection/components/input-text/input-text.js +4 -2
  393. package/dist/collection/components/input-text/resources.js +1 -1
  394. package/dist/collection/components/input-time-picker/input-time-picker.js +4 -2
  395. package/dist/collection/components/input-time-picker/resources.js +1 -1
  396. package/dist/collection/components/label/label.js +1 -1
  397. package/dist/collection/components/label/resources.js +1 -1
  398. package/dist/collection/components/link/link.js +8 -2
  399. package/dist/collection/components/list/list.css +4 -6
  400. package/dist/collection/components/list/list.js +10 -21
  401. package/dist/collection/components/list/resources.js +1 -6
  402. package/dist/collection/components/list-item/list-item.js +4 -2
  403. package/dist/collection/components/list-item/resources.js +1 -1
  404. package/dist/collection/components/list-item/utils.js +1 -1
  405. package/dist/collection/components/list-item-group/list-item-group.js +6 -2
  406. package/dist/collection/components/list-item-group/resources.js +1 -1
  407. package/dist/collection/components/loader/loader.js +1 -1
  408. package/dist/collection/components/menu/menu.js +1 -1
  409. package/dist/collection/components/menu-item/menu-item.js +1 -1
  410. package/dist/collection/components/menu-item/resources.js +1 -1
  411. package/dist/collection/components/modal/modal.js +1 -1
  412. package/dist/collection/components/modal/resources.js +1 -1
  413. package/dist/collection/components/navigation/navigation.js +1 -1
  414. package/dist/collection/components/navigation/resources.js +1 -1
  415. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  416. package/dist/collection/components/navigation-logo/resources.js +1 -1
  417. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  418. package/dist/collection/components/navigation-user/resources.js +1 -1
  419. package/dist/collection/components/notice/notice.js +1 -1
  420. package/dist/collection/components/notice/resources.js +1 -1
  421. package/dist/collection/components/option/option.js +1 -1
  422. package/dist/collection/components/option-group/option-group.js +1 -1
  423. package/dist/collection/components/pagination/pagination.js +1 -1
  424. package/dist/collection/components/pagination/resources.js +1 -1
  425. package/dist/collection/components/panel/panel.js +4 -2
  426. package/dist/collection/components/panel/resources.js +1 -1
  427. package/dist/collection/components/pick-list/pick-list.js +4 -2
  428. package/dist/collection/components/pick-list/resources.js +1 -1
  429. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  430. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  431. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  432. package/dist/collection/components/pick-list-group/resources.js +1 -1
  433. package/dist/collection/components/pick-list-item/pick-list-item.js +4 -2
  434. package/dist/collection/components/pick-list-item/resources.js +1 -1
  435. package/dist/collection/components/popover/PopoverManager.js +1 -1
  436. package/dist/collection/components/popover/popover.js +1 -1
  437. package/dist/collection/components/popover/resources.js +1 -1
  438. package/dist/collection/components/progress/progress.js +1 -1
  439. package/dist/collection/components/radio-button/radio-button.js +4 -2
  440. package/dist/collection/components/radio-button/resources.js +1 -1
  441. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  442. package/dist/collection/components/rating/function/star.js +1 -1
  443. package/dist/collection/components/rating/rating.js +4 -2
  444. package/dist/collection/components/resources.js +1 -1
  445. package/dist/collection/components/scrim/resources.js +6 -1
  446. package/dist/collection/components/scrim/scrim.js +34 -3
  447. package/dist/collection/components/segmented-control/segmented-control.js +4 -2
  448. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  449. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  450. package/dist/collection/components/select/resources.js +1 -1
  451. package/dist/collection/components/select/select.js +4 -2
  452. package/dist/collection/components/shell/resources.js +1 -1
  453. package/dist/collection/components/shell/shell.js +1 -1
  454. package/dist/collection/components/shell-center-row/resources.js +1 -1
  455. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  456. package/dist/collection/components/shell-panel/resources.js +1 -1
  457. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  458. package/dist/collection/components/slider/resources.js +1 -1
  459. package/dist/collection/components/slider/slider.js +4 -2
  460. package/dist/collection/components/sortable-list/resources.js +1 -1
  461. package/dist/collection/components/sortable-list/sortable-list.js +4 -2
  462. package/dist/collection/components/split-button/resources.js +1 -1
  463. package/dist/collection/components/split-button/split-button.js +8 -2
  464. package/dist/collection/components/stack/resources.js +1 -1
  465. package/dist/collection/components/stack/stack.js +1 -1
  466. package/dist/collection/components/stepper/stepper.js +1 -1
  467. package/dist/collection/components/stepper-item/stepper-item.js +4 -2
  468. package/dist/collection/components/switch/switch.js +4 -2
  469. package/dist/collection/components/tab/tab.js +1 -1
  470. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  471. package/dist/collection/components/tab-title/resources.js +1 -1
  472. package/dist/collection/components/tab-title/tab-title.js +4 -2
  473. package/dist/collection/components/tabs/resources.js +1 -1
  474. package/dist/collection/components/tabs/tabs.js +1 -1
  475. package/dist/collection/components/text-area/resources.js +1 -1
  476. package/dist/collection/components/text-area/text-area.js +4 -2
  477. package/dist/collection/components/tile/resources.js +1 -1
  478. package/dist/collection/components/tile/tile.js +4 -2
  479. package/dist/collection/components/tile-select/resources.js +1 -1
  480. package/dist/collection/components/tile-select/tile-select.js +4 -2
  481. package/dist/collection/components/tile-select-group/tile-select-group.js +8 -2
  482. package/dist/collection/components/time-picker/resources.js +1 -1
  483. package/dist/collection/components/time-picker/time-picker.js +1 -1
  484. package/dist/collection/components/tip/resources.js +1 -1
  485. package/dist/collection/components/tip/tip.js +1 -1
  486. package/dist/collection/components/tip-group/tip-group.js +1 -1
  487. package/dist/collection/components/tip-manager/resources.js +1 -1
  488. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  489. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  490. package/dist/collection/components/tooltip/resources.js +1 -1
  491. package/dist/collection/components/tooltip/tooltip.js +1 -1
  492. package/dist/collection/components/tooltip/utils.js +1 -1
  493. package/dist/collection/components/tree/tree.js +1 -1
  494. package/dist/collection/components/tree/utils.js +1 -1
  495. package/dist/collection/components/tree-item/resources.js +1 -1
  496. package/dist/collection/components/tree-item/tree-item.js +4 -2
  497. package/dist/collection/components/value-list/resources.js +1 -1
  498. package/dist/collection/components/value-list/utils.js +1 -1
  499. package/dist/collection/components/value-list/value-list.js +4 -2
  500. package/dist/collection/components/value-list-item/resources.js +1 -1
  501. package/dist/collection/components/value-list-item/value-list-item.js +4 -2
  502. package/dist/collection/index.js +1 -1
  503. package/dist/collection/utils/array.js +1 -1
  504. package/dist/collection/utils/browser.js +14 -0
  505. package/dist/collection/utils/conditionalSlot.js +1 -1
  506. package/dist/collection/utils/config.js +1 -1
  507. package/dist/collection/utils/date.js +1 -1
  508. package/dist/collection/utils/dom.js +1 -1
  509. package/dist/collection/utils/filter.js +1 -1
  510. package/dist/collection/utils/floating-ui.js +13 -21
  511. package/dist/collection/utils/focusTrapComponent.js +1 -1
  512. package/dist/collection/utils/form.js +1 -1
  513. package/dist/collection/utils/globalAttributes.js +1 -1
  514. package/dist/collection/utils/globalScript.js +1 -1
  515. package/dist/collection/utils/guid.js +1 -1
  516. package/dist/collection/utils/interactive.js +78 -9
  517. package/dist/collection/utils/key.js +1 -1
  518. package/dist/collection/utils/label.js +1 -1
  519. package/dist/collection/utils/loadable.js +1 -1
  520. package/dist/collection/utils/locale.js +1 -1
  521. package/dist/collection/utils/math.js +1 -1
  522. package/dist/collection/utils/mode.js +1 -1
  523. package/dist/collection/utils/number.js +1 -1
  524. package/dist/collection/utils/observers.js +1 -1
  525. package/dist/collection/utils/openCloseComponent.js +1 -1
  526. package/dist/collection/utils/resources.js +1 -1
  527. package/dist/collection/utils/sortableComponent.js +1 -1
  528. package/dist/collection/utils/t9n.js +1 -1
  529. package/dist/collection/utils/time.js +1 -1
  530. package/dist/components/ExpandToggle.js +1 -1
  531. package/dist/components/FloatingArrow.js +1 -1
  532. package/dist/components/Heading.js +1 -1
  533. package/dist/components/action-group.js +1 -1
  534. package/dist/components/action-menu.js +1 -1
  535. package/dist/components/action.js +4 -2
  536. package/dist/components/ar.js +1 -1
  537. package/dist/components/array.js +1 -1
  538. package/dist/components/avatar.js +1 -1
  539. package/dist/components/bg.js +1 -1
  540. package/dist/components/browser.js +16 -0
  541. package/dist/components/bs.js +1 -1
  542. package/dist/components/button.js +4 -2
  543. package/dist/components/ca.js +1 -1
  544. package/dist/components/calcite-accordion-item.js +1 -1
  545. package/dist/components/calcite-accordion.js +1 -1
  546. package/dist/components/calcite-action-bar.js +1 -1
  547. package/dist/components/calcite-action-group.js +1 -1
  548. package/dist/components/calcite-action-menu.js +1 -1
  549. package/dist/components/calcite-action-pad.js +1 -1
  550. package/dist/components/calcite-action.js +1 -1
  551. package/dist/components/calcite-alert.js +2 -2
  552. package/dist/components/calcite-avatar.js +1 -1
  553. package/dist/components/calcite-block-section.js +1 -1
  554. package/dist/components/calcite-block.js +4 -2
  555. package/dist/components/calcite-button.js +1 -1
  556. package/dist/components/calcite-card.js +1 -1
  557. package/dist/components/calcite-checkbox.js +1 -1
  558. package/dist/components/calcite-chip-group.js +4 -2
  559. package/dist/components/calcite-chip.js +1 -1
  560. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  561. package/dist/components/calcite-color-picker-swatch.js +1 -1
  562. package/dist/components/calcite-color-picker.js +4 -2
  563. package/dist/components/calcite-combobox-item-group.js +1 -1
  564. package/dist/components/calcite-combobox-item.js +4 -2
  565. package/dist/components/calcite-combobox.js +4 -2
  566. package/dist/components/calcite-date-picker-day.js +1 -1
  567. package/dist/components/calcite-date-picker-month-header.js +1 -1
  568. package/dist/components/calcite-date-picker-month.js +1 -1
  569. package/dist/components/calcite-date-picker.js +1 -1
  570. package/dist/components/calcite-dropdown-group.js +1 -1
  571. package/dist/components/calcite-dropdown-item.js +1 -1
  572. package/dist/components/calcite-dropdown.js +1 -1
  573. package/dist/components/calcite-fab.js +8 -2
  574. package/dist/components/calcite-filter.js +1 -1
  575. package/dist/components/calcite-flow-item.js +4 -2
  576. package/dist/components/calcite-flow.js +1 -1
  577. package/dist/components/calcite-graph.js +1 -1
  578. package/dist/components/calcite-handle.js +1 -1
  579. package/dist/components/calcite-icon.js +1 -1
  580. package/dist/components/calcite-inline-editable.js +4 -2
  581. package/dist/components/calcite-input-date-picker.js +4 -2
  582. package/dist/components/calcite-input-message.js +1 -1
  583. package/dist/components/calcite-input-number.js +1 -1
  584. package/dist/components/calcite-input-text.js +4 -2
  585. package/dist/components/calcite-input-time-picker.js +4 -2
  586. package/dist/components/calcite-input.js +1 -1
  587. package/dist/components/calcite-label.js +1 -1
  588. package/dist/components/calcite-link.js +1 -1
  589. package/dist/components/calcite-list-item-group.js +6 -2
  590. package/dist/components/calcite-list-item.js +4 -2
  591. package/dist/components/calcite-list.js +21 -40
  592. package/dist/components/calcite-loader.js +1 -1
  593. package/dist/components/calcite-menu-item.js +1 -1
  594. package/dist/components/calcite-menu.js +1 -1
  595. package/dist/components/calcite-modal.js +1 -1
  596. package/dist/components/calcite-navigation-logo.js +1 -1
  597. package/dist/components/calcite-navigation-user.js +1 -1
  598. package/dist/components/calcite-navigation.js +1 -1
  599. package/dist/components/calcite-notice.js +1 -1
  600. package/dist/components/calcite-option-group.js +1 -1
  601. package/dist/components/calcite-option.js +1 -1
  602. package/dist/components/calcite-pagination.js +1 -1
  603. package/dist/components/calcite-panel.js +1 -1
  604. package/dist/components/calcite-pick-list-group.js +1 -1
  605. package/dist/components/calcite-pick-list-item.js +1 -1
  606. package/dist/components/calcite-pick-list.js +4 -2
  607. package/dist/components/calcite-popover.js +1 -1
  608. package/dist/components/calcite-progress.js +1 -1
  609. package/dist/components/calcite-radio-button-group.js +1 -1
  610. package/dist/components/calcite-radio-button.js +4 -2
  611. package/dist/components/calcite-rating.js +4 -2
  612. package/dist/components/calcite-scrim.js +1 -1
  613. package/dist/components/calcite-segmented-control-item.js +1 -1
  614. package/dist/components/calcite-segmented-control.js +4 -2
  615. package/dist/components/calcite-select.js +4 -2
  616. package/dist/components/calcite-shell-center-row.js +1 -1
  617. package/dist/components/calcite-shell-panel.js +1 -1
  618. package/dist/components/calcite-shell.js +1 -1
  619. package/dist/components/calcite-slider.js +4 -2
  620. package/dist/components/calcite-sortable-list.js +4 -2
  621. package/dist/components/calcite-split-button.js +8 -2
  622. package/dist/components/calcite-stack.js +98 -2
  623. package/dist/components/calcite-stepper-item.js +4 -2
  624. package/dist/components/calcite-stepper.js +1 -1
  625. package/dist/components/calcite-switch.js +1 -1
  626. package/dist/components/calcite-tab-nav.js +1 -1
  627. package/dist/components/calcite-tab-title.js +1 -1
  628. package/dist/components/calcite-tab.js +1 -1
  629. package/dist/components/calcite-tabs.js +1 -1
  630. package/dist/components/calcite-text-area.js +4 -2
  631. package/dist/components/calcite-tile-select-group.js +8 -2
  632. package/dist/components/calcite-tile-select.js +4 -2
  633. package/dist/components/calcite-tile.js +1 -1
  634. package/dist/components/calcite-time-picker.js +1 -1
  635. package/dist/components/calcite-tip-group.js +1 -1
  636. package/dist/components/calcite-tip-manager.js +1 -1
  637. package/dist/components/calcite-tip.js +1 -1
  638. package/dist/components/calcite-tooltip.js +1 -1
  639. package/dist/components/calcite-tree-item.js +4 -2
  640. package/dist/components/calcite-tree.js +1 -1
  641. package/dist/components/calcite-value-list-item.js +4 -2
  642. package/dist/components/calcite-value-list.js +4 -2
  643. package/dist/components/checkbox.js +4 -2
  644. package/dist/components/chip.js +4 -2
  645. package/dist/components/color-picker-hex-input.js +1 -1
  646. package/dist/components/color-picker-swatch.js +1 -1
  647. package/dist/components/composed-offset-position.esm.js +1 -1
  648. package/dist/components/conditionalSlot.js +1 -1
  649. package/dist/components/cs.js +1 -1
  650. package/dist/components/da.js +1 -1
  651. package/dist/components/date-picker-day.js +8 -2
  652. package/dist/components/date-picker-month-header.js +1 -1
  653. package/dist/components/date-picker-month.js +1 -1
  654. package/dist/components/date-picker.js +1 -1
  655. package/dist/components/date.js +1 -1
  656. package/dist/components/de-at.js +1 -1
  657. package/dist/components/de-ch.js +1 -1
  658. package/dist/components/de.js +1 -1
  659. package/dist/components/debounce.js +1 -1
  660. package/dist/components/dom.js +1 -1
  661. package/dist/components/dropdown.js +5 -3
  662. package/dist/components/el.js +1 -1
  663. package/dist/components/en-au.js +1 -1
  664. package/dist/components/en-ca.js +1 -1
  665. package/dist/components/en-gb.js +1 -1
  666. package/dist/components/es-mx.js +1 -1
  667. package/dist/components/es.js +1 -1
  668. package/dist/components/et.js +1 -1
  669. package/dist/components/fi.js +1 -1
  670. package/dist/components/filter.js +4 -2
  671. package/dist/components/filter2.js +1 -1
  672. package/dist/components/floating-ui.js +13 -21
  673. package/dist/components/focusTrapComponent.js +1 -1
  674. package/dist/components/form.js +1 -1
  675. package/dist/components/fr-ch.js +1 -1
  676. package/dist/components/fr.js +1 -1
  677. package/dist/components/graph.js +1 -1
  678. package/dist/components/guid.js +1 -1
  679. package/dist/components/handle.js +1 -1
  680. package/dist/components/he.js +1 -1
  681. package/dist/components/hi.js +1 -1
  682. package/dist/components/hr.js +1 -1
  683. package/dist/components/hu.js +1 -1
  684. package/dist/components/icon.js +1 -1
  685. package/dist/components/id.js +1 -1
  686. package/dist/components/index.js +1 -1
  687. package/dist/components/index2.js +1 -1
  688. package/dist/components/input-number.js +4 -2
  689. package/dist/components/input.js +4 -2
  690. package/dist/components/interactive.js +80 -10
  691. package/dist/components/it-ch.js +1 -1
  692. package/dist/components/it.js +1 -1
  693. package/dist/components/ja.js +1 -1
  694. package/dist/components/key.js +1 -1
  695. package/dist/components/ko.js +1 -1
  696. package/dist/components/label.js +1 -1
  697. package/dist/components/label2.js +1 -1
  698. package/dist/components/link.js +8 -2
  699. package/dist/components/loadable.js +1 -1
  700. package/dist/components/loader.js +1 -1
  701. package/dist/components/locale.js +1 -1
  702. package/dist/components/lt.js +1 -1
  703. package/dist/components/lv.js +1 -1
  704. package/dist/components/math.js +1 -1
  705. package/dist/components/menu.js +1 -1
  706. package/dist/components/mk.js +1 -1
  707. package/dist/components/nb.js +1 -1
  708. package/dist/components/nl.js +1 -1
  709. package/dist/components/observers.js +1 -1
  710. package/dist/components/openCloseComponent.js +1 -1
  711. package/dist/components/panel.js +4 -2
  712. package/dist/components/pick-list-item.js +4 -2
  713. package/dist/components/pl.js +1 -1
  714. package/dist/components/popover.js +1 -1
  715. package/dist/components/progress.js +1 -1
  716. package/dist/components/pt-br.js +1 -1
  717. package/dist/components/pt.js +1 -1
  718. package/dist/components/resources.js +1 -1
  719. package/dist/components/resources2.js +1 -1
  720. package/dist/components/resources3.js +1 -1
  721. package/dist/components/ro.js +1 -1
  722. package/dist/components/ru.js +1 -1
  723. package/dist/components/scrim.js +38 -2
  724. package/dist/components/shared-list-render.js +1 -1
  725. package/dist/components/sk.js +1 -1
  726. package/dist/components/sl.js +1 -1
  727. package/dist/components/sortableComponent.js +1 -1
  728. package/dist/components/sr.js +1 -1
  729. package/dist/components/sv.js +1 -1
  730. package/dist/components/switch.js +4 -2
  731. package/dist/components/t9n.js +1 -1
  732. package/dist/components/tab-nav.js +1 -1
  733. package/dist/components/tab-title.js +4 -2
  734. package/dist/components/tab.js +1 -1
  735. package/dist/components/tabs.js +1 -1
  736. package/dist/components/th.js +1 -1
  737. package/dist/components/throttle.js +1 -1
  738. package/dist/components/tile.js +4 -2
  739. package/dist/components/time-picker.js +1 -1
  740. package/dist/components/tooltip.js +1 -1
  741. package/dist/components/tr.js +1 -1
  742. package/dist/components/uk.js +1 -1
  743. package/dist/components/utils.js +1 -1
  744. package/dist/components/utils2.js +1 -1
  745. package/dist/components/utils3.js +1 -1
  746. package/dist/components/vi.js +1 -1
  747. package/dist/components/zh-cn.js +1 -1
  748. package/dist/components/zh-hk.js +1 -1
  749. package/dist/components/zh-tw.js +1 -1
  750. package/dist/esm/{ExpandToggle-0a7087b8.js → ExpandToggle-eea2109c.js} +5 -5
  751. package/dist/esm/{FloatingArrow-c9f4fc75.js → FloatingArrow-5f2a46fa.js} +2 -2
  752. package/dist/esm/{Heading-f950922a.js → Heading-c11cdc37.js} +2 -2
  753. package/dist/esm/{app-globals-d9d6ab59.js → app-globals-e0a623b7.js} +2 -2
  754. package/dist/esm/{ar-e49ff10a.js → ar-cef1dde5.js} +16 -15
  755. package/dist/esm/{array-69a89828.js → array-acbeed62.js} +1 -1
  756. package/dist/esm/{bg-e212a304.js → bg-9b44401c.js} +16 -15
  757. package/dist/esm/browser-5b51d471.js +16 -0
  758. package/dist/esm/{bs-fc1baefd.js → bs-a27c8bf0.js} +16 -15
  759. package/dist/esm/{ca-75b1bc87.js → ca-65fb7537.js} +16 -15
  760. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  761. package/dist/esm/calcite-action-bar.entry.js +15 -15
  762. package/dist/esm/calcite-action-group.entry.js +13 -13
  763. package/dist/esm/calcite-action-menu.entry.js +9 -9
  764. package/dist/esm/calcite-action-pad.entry.js +14 -14
  765. package/dist/esm/calcite-action.entry.js +14 -11
  766. package/dist/esm/calcite-alert.entry.js +13 -13
  767. package/dist/esm/calcite-avatar.entry.js +6 -6
  768. package/dist/esm/calcite-block_2.entry.js +15 -12
  769. package/dist/esm/calcite-button.entry.js +16 -13
  770. package/dist/esm/calcite-card.entry.js +10 -10
  771. package/dist/esm/calcite-checkbox.entry.js +13 -10
  772. package/dist/esm/calcite-chip-group.entry.js +11 -8
  773. package/dist/esm/calcite-chip.entry.js +15 -12
  774. package/dist/esm/calcite-color-picker_3.entry.js +18 -15
  775. package/dist/esm/calcite-combobox_3.entry.js +23 -18
  776. package/dist/esm/calcite-date-picker_4.entry.js +20 -13
  777. package/dist/esm/calcite-dropdown_3.entry.js +16 -13
  778. package/dist/esm/calcite-fab.entry.js +14 -7
  779. package/dist/esm/calcite-filter.entry.js +16 -13
  780. package/dist/esm/calcite-flow-item.entry.js +15 -12
  781. package/dist/esm/calcite-flow.entry.js +3 -3
  782. package/dist/esm/calcite-graph_2.entry.js +16 -13
  783. package/dist/esm/calcite-handle.entry.js +10 -10
  784. package/dist/esm/calcite-icon.entry.js +6 -6
  785. package/dist/esm/calcite-inline-editable.entry.js +15 -12
  786. package/dist/esm/calcite-input-date-picker.entry.js +21 -18
  787. package/dist/esm/calcite-input-message.entry.js +5 -5
  788. package/dist/esm/calcite-input-number.entry.js +16 -13
  789. package/dist/esm/calcite-input-text.entry.js +16 -13
  790. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-2d72c577.js → calcite-input-time-picker.calcite-time-picker-ad0bcf24.js} +62 -60
  791. package/dist/esm/calcite-input-time-picker_2.entry.js +16 -15
  792. package/dist/esm/calcite-input.entry.js +16 -13
  793. package/dist/esm/calcite-label.entry.js +6 -6
  794. package/dist/esm/calcite-link.entry.js +14 -7
  795. package/dist/esm/calcite-list_3.entry.js +31 -36
  796. package/dist/esm/calcite-loader.entry.js +3 -3
  797. package/dist/esm/calcite-menu_2.entry.js +10 -10
  798. package/dist/esm/calcite-modal.entry.js +13 -13
  799. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  800. package/dist/esm/calcite-notice.entry.js +12 -12
  801. package/dist/esm/calcite-option_3.entry.js +13 -10
  802. package/dist/esm/calcite-pagination.entry.js +10 -10
  803. package/dist/esm/calcite-panel.entry.js +17 -14
  804. package/dist/esm/calcite-pick-list_3.entry.js +21 -16
  805. package/dist/esm/calcite-popover.entry.js +17 -16
  806. package/dist/esm/calcite-progress.entry.js +2 -2
  807. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  808. package/dist/esm/calcite-radio-button.entry.js +13 -10
  809. package/dist/esm/calcite-rating.entry.js +16 -13
  810. package/dist/esm/calcite-scrim.entry.js +44 -10
  811. package/dist/esm/calcite-segmented-control_2.entry.js +12 -9
  812. package/dist/esm/calcite-shell_3.entry.js +11 -11
  813. package/dist/esm/calcite-sortable-list.entry.js +11 -8
  814. package/dist/esm/calcite-split-button.entry.js +11 -4
  815. package/dist/esm/calcite-stack.entry.js +20 -6
  816. package/dist/esm/calcite-stepper_2.entry.js +13 -10
  817. package/dist/esm/calcite-switch.entry.js +13 -10
  818. package/dist/esm/calcite-tab_4.entry.js +13 -10
  819. package/dist/esm/calcite-text-area.entry.js +18 -15
  820. package/dist/esm/calcite-tile-select_2.entry.js +14 -5
  821. package/dist/esm/calcite-tile.entry.js +11 -8
  822. package/dist/esm/calcite-tip_3.entry.js +11 -11
  823. package/dist/esm/calcite-tooltip.entry.js +10 -9
  824. package/dist/esm/calcite-tree_2.entry.js +12 -9
  825. package/dist/esm/calcite-value-list_2.entry.js +21 -16
  826. package/dist/esm/calcite.js +6 -6
  827. package/dist/esm/{composed-offset-position.esm-2d5f0481.js → composed-offset-position.esm-a93f1605.js} +1 -1
  828. package/dist/esm/{conditionalSlot-4816e296.js → conditionalSlot-ecfe1ebc.js} +3 -3
  829. package/dist/esm/{cs-48de7534.js → cs-fceef9a7.js} +16 -15
  830. package/dist/esm/{da-60c1988f.js → da-ce6e44a1.js} +16 -15
  831. package/dist/esm/{de-237bd34d.js → de-3dbd4c82.js} +16 -15
  832. package/dist/esm/{de-at-b8a0ab53.js → de-at-8f8448b6.js} +16 -15
  833. package/dist/esm/{de-ch-91b89465.js → de-ch-e612ac0d.js} +16 -15
  834. package/dist/esm/{debounce-db02f2cf.js → debounce-9571c7e8.js} +1 -1
  835. package/dist/esm/{dom-399ce2a4.js → dom-80fa9ebb.js} +3 -3
  836. package/dist/esm/{el-e707e759.js → el-75cf46b3.js} +16 -15
  837. package/dist/esm/{en-au-54f9e7b4.js → en-au-4bb2b262.js} +16 -15
  838. package/dist/esm/{en-ca-e40d8b33.js → en-ca-a1a11e06.js} +16 -15
  839. package/dist/esm/{en-gb-e9a3e715.js → en-gb-4d8d02c8.js} +16 -15
  840. package/dist/esm/{es-2fb4628d.js → es-fe478c8e.js} +16 -15
  841. package/dist/esm/{es-mx-69281470.js → es-mx-d68cea08.js} +16 -15
  842. package/dist/esm/{et-27226140.js → et-57544106.js} +16 -15
  843. package/dist/esm/{fi-6c8a3e71.js → fi-3c6f37fa.js} +16 -15
  844. package/dist/esm/{filter-c7d821eb.js → filter-025296b0.js} +2 -2
  845. package/dist/esm/{floating-ui-63ac58bc.js → floating-ui-d44c6b7a.js} +16 -24
  846. package/dist/esm/{focusTrapComponent-29332d58.js → focusTrapComponent-a1345901.js} +2 -2
  847. package/dist/esm/{form-47cea73a.js → form-9c275054.js} +3 -3
  848. package/dist/esm/{fr-8ff84220.js → fr-0c7ebe58.js} +16 -15
  849. package/dist/esm/{fr-ch-c236c164.js → fr-ch-235dc628.js} +16 -15
  850. package/dist/esm/{guid-6fefb808.js → guid-daec2c55.js} +1 -1
  851. package/dist/esm/{he-69b2f958.js → he-61422d53.js} +16 -15
  852. package/dist/esm/{hi-d7418879.js → hi-31d7e854.js} +16 -15
  853. package/dist/esm/{hr-8157d11f.js → hr-bb8d02da.js} +16 -15
  854. package/dist/esm/{hu-bff446b4.js → hu-40c67d8a.js} +16 -15
  855. package/dist/esm/{id-cbfb0f53.js → id-242878a3.js} +16 -15
  856. package/dist/esm/{index-2d4d65c0.js → index-6e7d6f56.js} +1 -1
  857. package/dist/esm/index.js +2 -2
  858. package/dist/esm/interactive-8d2ae5e3.js +138 -0
  859. package/dist/esm/{it-dbcc44bf.js → it-8427791f.js} +16 -15
  860. package/dist/esm/{it-ch-d6449c6b.js → it-ch-05662049.js} +16 -15
  861. package/dist/esm/{ja-49cbd232.js → ja-0bd1e93f.js} +16 -15
  862. package/dist/esm/{key-dd77cdfa.js → key-d72fcd57.js} +1 -1
  863. package/dist/esm/{ko-be962434.js → ko-d8f1952a.js} +16 -15
  864. package/dist/esm/{label-d6ca00c5.js → label-be1153d7.js} +2 -2
  865. package/dist/esm/{loadable-bee21000.js → loadable-3dad5c05.js} +1 -1
  866. package/dist/esm/loader.js +6 -6
  867. package/dist/esm/{locale-785d58ec.js → locale-81eea538.js} +4 -4
  868. package/dist/esm/{lt-e8f61142.js → lt-f843cd42.js} +16 -15
  869. package/dist/esm/{lv-bc0dea8b.js → lv-57a0c207.js} +16 -15
  870. package/dist/esm/{math-00a04463.js → math-7f973104.js} +1 -1
  871. package/dist/esm/{mk-72e8e6cb.js → mk-e25f7921.js} +16 -15
  872. package/dist/esm/{nb-e2ab0426.js → nb-54cfbed9.js} +16 -15
  873. package/dist/esm/{nl-0d5aad3f.js → nl-0e7abdff.js} +16 -15
  874. package/dist/esm/{observers-a21fa8b4.js → observers-eb4861d8.js} +1 -1
  875. package/dist/esm/{openCloseComponent-095026c7.js → openCloseComponent-e378352f.js} +2 -2
  876. package/dist/esm/{pl-d114afb0.js → pl-a2f03b53.js} +16 -15
  877. package/dist/esm/{pt-br-0a227632.js → pt-br-3a63cbea.js} +16 -15
  878. package/dist/esm/{pt-026db4c3.js → pt-ed3a6ada.js} +16 -15
  879. package/dist/esm/{resources-f598793f.js → resources-1447ec86.js} +1 -1
  880. package/dist/esm/{resources-ba14c406.js → resources-1dc11a69.js} +1 -1
  881. package/dist/esm/{resources-277a2fb0.js → resources-2886fb44.js} +1 -1
  882. package/dist/esm/{resources-fc73efcf.js → resources-555d2604.js} +5 -5
  883. package/dist/esm/{resources-ef349255.js → resources-6810cd3b.js} +1 -1
  884. package/dist/esm/{resources-915980aa.js → resources-e0eb52e1.js} +1 -1
  885. package/dist/esm/{ro-a496e1fa.js → ro-aa2665e8.js} +16 -15
  886. package/dist/esm/{ru-3f96cc9e.js → ru-1c8d4af1.js} +16 -15
  887. package/dist/esm/{sk-44c2e652.js → sk-e9a35722.js} +16 -15
  888. package/dist/esm/{sl-aec5cf49.js → sl-dcab6585.js} +16 -15
  889. package/dist/esm/{sortableComponent-77088e26.js → sortableComponent-affbaac7.js} +2 -2
  890. package/dist/esm/{sr-f0f6343a.js → sr-588d2355.js} +16 -15
  891. package/dist/esm/{sv-70330b37.js → sv-28a4771c.js} +16 -15
  892. package/dist/esm/{t9n-8e50f009.js → t9n-e3d3c650.js} +3 -3
  893. package/dist/esm/{th-1646931f.js → th-951c30f1.js} +16 -15
  894. package/dist/esm/{throttle-c5bcc62f.js → throttle-9cb9c964.js} +2 -2
  895. package/dist/esm/{tr-8feca3d2.js → tr-a2e039d6.js} +16 -15
  896. package/dist/esm/{uk-63c9f28e.js → uk-06878908.js} +16 -15
  897. package/dist/esm/{utils-850683bc.js → utils-4de9cdc5.js} +1 -1
  898. package/dist/esm/{utils-b06aa9eb.js → utils-732e76b1.js} +3 -3
  899. package/dist/esm/{vi-134b7652.js → vi-06d82b31.js} +16 -15
  900. package/dist/esm/{zh-cn-830ac4a8.js → zh-cn-45dcda14.js} +16 -15
  901. package/dist/esm/{zh-hk-f56737cb.js → zh-hk-8466bd3d.js} +16 -15
  902. package/dist/esm/{zh-tw-85f7e98d.js → zh-tw-c0dcdc36.js} +16 -15
  903. package/dist/loader/cdn.js +1 -1
  904. package/dist/loader/index.cjs.js +1 -1
  905. package/dist/loader/index.es2017.js +1 -1
  906. package/dist/loader/index.js +1 -1
  907. package/dist/types/components/date-picker-day/date-picker-day.d.ts +2 -0
  908. package/dist/types/components/fab/fab.d.ts +2 -0
  909. package/dist/types/components/link/link.d.ts +2 -0
  910. package/dist/types/components/list/list.d.ts +0 -6
  911. package/dist/types/components/list/resources.d.ts +0 -5
  912. package/dist/types/components/list-item-group/list-item-group.d.ts +1 -0
  913. package/dist/types/components/scrim/resources.d.ts +4 -0
  914. package/dist/types/components/scrim/scrim.d.ts +7 -0
  915. package/dist/types/components/split-button/split-button.d.ts +2 -0
  916. package/dist/types/components/tile-select-group/tile-select-group.d.ts +2 -0
  917. package/dist/types/utils/browser.d.ts +11 -0
  918. package/dist/types/utils/floating-ui.d.ts +1 -0
  919. package/dist/types/utils/interactive.d.ts +16 -0
  920. package/hydrate/index.js +474 -268
  921. package/package.json +2 -2
  922. package/dist/calcite/p-01bdd24a.entry.js +0 -6
  923. package/dist/calcite/p-02d8f15d.js +0 -6
  924. package/dist/calcite/p-07be9dcd.js +0 -6
  925. package/dist/calcite/p-07f32e22.entry.js +0 -6
  926. package/dist/calcite/p-0f9fe7d1.js +0 -6
  927. package/dist/calcite/p-10148cb7.entry.js +0 -6
  928. package/dist/calcite/p-106c4aa9.entry.js +0 -6
  929. package/dist/calcite/p-123ee796.js +0 -6
  930. package/dist/calcite/p-16dc6564.entry.js +0 -6
  931. package/dist/calcite/p-1ee5f812.js +0 -6
  932. package/dist/calcite/p-24e26952.entry.js +0 -6
  933. package/dist/calcite/p-27691ea0.js +0 -6
  934. package/dist/calcite/p-29695334.js +0 -6
  935. package/dist/calcite/p-2b007465.entry.js +0 -6
  936. package/dist/calcite/p-2ff49892.js +0 -6
  937. package/dist/calcite/p-30d89bb2.js +0 -6
  938. package/dist/calcite/p-3422ea7e.js +0 -6
  939. package/dist/calcite/p-37273f80.js +0 -6
  940. package/dist/calcite/p-39b5e66f.entry.js +0 -6
  941. package/dist/calcite/p-3c8f379b.js +0 -6
  942. package/dist/calcite/p-3f6b6bcb.js +0 -6
  943. package/dist/calcite/p-3fb6f2a2.entry.js +0 -6
  944. package/dist/calcite/p-408aced5.entry.js +0 -6
  945. package/dist/calcite/p-4505d3e7.entry.js +0 -6
  946. package/dist/calcite/p-4a8ac497.entry.js +0 -6
  947. package/dist/calcite/p-4b9f2b3f.js +0 -6
  948. package/dist/calcite/p-4cef44d2.js +0 -6
  949. package/dist/calcite/p-4fc85df1.entry.js +0 -6
  950. package/dist/calcite/p-5022dbe3.js +0 -6
  951. package/dist/calcite/p-5286e3cf.js +0 -6
  952. package/dist/calcite/p-532be370.entry.js +0 -6
  953. package/dist/calcite/p-536ab01f.entry.js +0 -6
  954. package/dist/calcite/p-55ad3e78.js +0 -6
  955. package/dist/calcite/p-58dd603a.entry.js +0 -6
  956. package/dist/calcite/p-5c7987db.entry.js +0 -6
  957. package/dist/calcite/p-5e3e2fb8.entry.js +0 -6
  958. package/dist/calcite/p-5f999d7e.js +0 -6
  959. package/dist/calcite/p-60373449.entry.js +0 -6
  960. package/dist/calcite/p-643ae308.js +0 -6
  961. package/dist/calcite/p-688398da.entry.js +0 -6
  962. package/dist/calcite/p-6cbf6d04.js +0 -6
  963. package/dist/calcite/p-6e985f0c.js +0 -6
  964. package/dist/calcite/p-6f0972de.entry.js +0 -6
  965. package/dist/calcite/p-70575807.js +0 -6
  966. package/dist/calcite/p-7366dced.entry.js +0 -6
  967. package/dist/calcite/p-76d78f1c.entry.js +0 -6
  968. package/dist/calcite/p-79edea65.entry.js +0 -6
  969. package/dist/calcite/p-7a444759.entry.js +0 -6
  970. package/dist/calcite/p-7a8a82b5.js +0 -6
  971. package/dist/calcite/p-7c767378.js +0 -6
  972. package/dist/calcite/p-7c89a5c7.js +0 -6
  973. package/dist/calcite/p-800ce1dd.entry.js +0 -6
  974. package/dist/calcite/p-82a0dc86.js +0 -6
  975. package/dist/calcite/p-8392cf7c.entry.js +0 -6
  976. package/dist/calcite/p-84717bd1.js +0 -6
  977. package/dist/calcite/p-8794d868.entry.js +0 -6
  978. package/dist/calcite/p-8e48f3ad.js +0 -6
  979. package/dist/calcite/p-90b2a64b.entry.js +0 -6
  980. package/dist/calcite/p-9232cbab.entry.js +0 -6
  981. package/dist/calcite/p-94d01218.js +0 -6
  982. package/dist/calcite/p-96a2cc21.entry.js +0 -6
  983. package/dist/calcite/p-96ec27e6.entry.js +0 -6
  984. package/dist/calcite/p-97bfe0cc.js +0 -6
  985. package/dist/calcite/p-9853db31.entry.js +0 -6
  986. package/dist/calcite/p-9c791f91.js +0 -6
  987. package/dist/calcite/p-9dd10e86.entry.js +0 -6
  988. package/dist/calcite/p-a0711327.js +0 -6
  989. package/dist/calcite/p-a5f5d835.js +0 -6
  990. package/dist/calcite/p-a643b46d.entry.js +0 -6
  991. package/dist/calcite/p-aa55627d.js +0 -6
  992. package/dist/calcite/p-afbb1942.js +0 -6
  993. package/dist/calcite/p-b243f66b.entry.js +0 -6
  994. package/dist/calcite/p-b5c7d6ad.js +0 -6
  995. package/dist/calcite/p-bb6a3b01.entry.js +0 -6
  996. package/dist/calcite/p-bea5b5ba.js +0 -6
  997. package/dist/calcite/p-c02e1544.js +0 -6
  998. package/dist/calcite/p-c113791d.js +0 -6
  999. package/dist/calcite/p-c1c97119.js +0 -6
  1000. package/dist/calcite/p-c1fdf919.js +0 -6
  1001. package/dist/calcite/p-c2ba582d.entry.js +0 -6
  1002. package/dist/calcite/p-ce9cc38c.entry.js +0 -6
  1003. package/dist/calcite/p-d0f4ad20.js +0 -6
  1004. package/dist/calcite/p-d6815c9b.js +0 -6
  1005. package/dist/calcite/p-d6b20ae0.js +0 -6
  1006. package/dist/calcite/p-d7f5a02a.js +0 -6
  1007. package/dist/calcite/p-d85c67dd.js +0 -6
  1008. package/dist/calcite/p-d8a7c43d.js +0 -6
  1009. package/dist/calcite/p-de7ad736.entry.js +0 -6
  1010. package/dist/calcite/p-e14ff242.entry.js +0 -6
  1011. package/dist/calcite/p-e20a7580.js +0 -6
  1012. package/dist/calcite/p-ebc1a5db.entry.js +0 -6
  1013. package/dist/calcite/p-ee377773.js +0 -6
  1014. package/dist/calcite/p-ef1bffd5.js +0 -6
  1015. package/dist/calcite/p-f032e5af.js +0 -6
  1016. package/dist/calcite/p-f0491893.entry.js +0 -6
  1017. package/dist/calcite/p-f0c915f4.js +0 -6
  1018. package/dist/calcite/p-f2120011.entry.js +0 -6
  1019. package/dist/calcite/p-f4e219b6.entry.js +0 -6
  1020. package/dist/calcite/p-f8be7de2.entry.js +0 -6
  1021. package/dist/calcite/p-f8e1674b.js +0 -6
  1022. package/dist/calcite/p-f99859f4.entry.js +0 -6
  1023. package/dist/calcite/p-fe44fb31.js +0 -6
  1024. package/dist/calcite/p-ff64be2f.js +0 -6
  1025. package/dist/calcite/p-ff8f31f1.js +0 -6
  1026. package/dist/cjs/interactive-05fabe1b.js +0 -70
  1027. package/dist/cjs/resources-5099972b.js +0 -24
  1028. package/dist/components/stack.js +0 -104
  1029. package/dist/esm/interactive-27b5cb55.js +0 -68
  1030. package/dist/esm/resources-5f717891.js +0 -21
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.5.0-next.1
5
+ */
6
+ import{d as r}from"./p-c31511a4.js";import"./p-77dcb1b3.js";import"./p-cd1ee477.js";import"./p-2c637090.js";import"./p-a7515261.js";import"./p-53047265.js";import"./p-26ff8257.js";import"./p-f8da7c37.js";import"./p-d05e5931.js";import"./p-c31f46f9.js";import"./p-fe334709.js";import"./p-a486b294.js";import"./p-07974044.js";import"./p-27863f70.js";import"./p-b9438138.js";var a={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},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"},ordinal:function(r){var a=["th","st","nd","rd"],e=r%100;return"["+r+(a[(e-20)%10]||a[e]||a[0])+"]"}};r.locale(a,null,!0);export default a;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.5.0-next.1
5
+ */
6
+ export{I as calcite_input_time_picker,T as calcite_time_picker}from"./p-c31511a4.js";import"./p-77dcb1b3.js";import"./p-cd1ee477.js";import"./p-2c637090.js";import"./p-a7515261.js";import"./p-53047265.js";import"./p-26ff8257.js";import"./p-f8da7c37.js";import"./p-d05e5931.js";import"./p-c31f46f9.js";import"./p-fe334709.js";import"./p-a486b294.js";import"./p-07974044.js";import"./p-27863f70.js";import"./p-b9438138.js";
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.5.0-next.1
5
+ */
6
+ import{b as t}from"./p-2c637090.js";import{g as n,a as e}from"./p-f8da7c37.js";import{d as o}from"./p-5d509f73.js";function r(t){return t.split("-")[1]}function i(t){return"y"===t?"height":"width"}function a(t){return t.split("-")[0]}function l(t){return["top","bottom"].includes(a(t))?"x":"y"}function s(t,n,e){let{reference:o,floating:s}=t;const c=o.x+o.width/2-s.width/2,f=o.y+o.height/2-s.height/2,u=l(n),d=i(u),m=o[d]/2-s[d]/2,p="x"===u;let y;switch(a(n)){case"top":y={x:c,y:o.y-s.height};break;case"bottom":y={x:c,y:o.y+o.height};break;case"right":y={x:o.x+o.width,y:f};break;case"left":y={x:o.x-s.width,y:f};break;default:y={x:o.x,y:o.y}}switch(r(n)){case"start":y[u]-=m*(e&&p?-1:1);break;case"end":y[u]+=m*(e&&p?-1:1)}return y}function c(t,n){return"function"==typeof t?t(n):t}function f(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 u(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function d(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:s}=t,{boundary:d="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:y=!1,padding:g=0}=c(n,t),h=f(g),x=l[y?"floating"===p?"reference":"floating":p],b=u(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:d,rootBoundary:m,strategy:s})),w="floating"===p?{...a.floating,x:o,y:r}:a.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),A=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},k=u(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:v,strategy:s}):w);return{top:(b.top-k.top+h.top)/A.y,bottom:(k.bottom-b.bottom+h.bottom)/A.y,left:(b.left-k.left+h.left)/A.x,right:(k.right-b.right+h.right)/A.x}}const m=Math.min,p=Math.max;function y(t,n,e){return p(t,m(n,e))}const g=["top","right","bottom","left"],h=g.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),x={left:"right",right:"left",bottom:"top",top:"bottom"};function b(t){return t.replace(/left|right|bottom|top/g,(t=>x[t]))}function w(t,n,e){void 0===e&&(e=!1);const o=r(t),a=l(t),s=i(a);let c="x"===a?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=b(c)),{main:c,cross:b(c)}}const v={start:"end",end:"start"};function A(t){return t.replace(/start|end/g,(t=>v[t]))}const k=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:i,rects:l,initialPlacement:s,platform:f,elements:u}=n,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:x=!0,...v}=c(t,n),k=a(o),P=a(s)===s,S=await(null==f.isRTL?void 0:f.isRTL(u.floating)),D=y||(P||!x?[b(s)]:function(t){const n=b(t);return[A(t),n,A(n)]}(s));y||"none"===h||D.push(...function(t,n,e,o){const i=r(t);let l=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(a(t),"start"===e,o);return i&&(l=l.map((t=>t+"-"+i)),n&&(l=l.concat(l.map(A)))),l}(s,x,h,S));const R=[s,...D],C=await d(n,v),F=[];let M=(null==(e=i.flip)?void 0:e.overflows)||[];if(m&&F.push(C[k]),p){const{main:t,cross:n}=w(o,l,S);F.push(C[t],C[n])}if(M=[...M,{placement:o,overflows:F}],!F.every((t=>t<=0))){var E,O;const t=((null==(E=i.flip)?void 0:E.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(O=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:O.placement;if(!e)switch(g){case"bestFit":{var j;const t=null==(j=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:j[0];t&&(e=t);break}case"initialPlacement":e=s}if(o!==e)return{reset:{placement:e}}}return{}}}};function P(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function S(t){return g.some((n=>t[n]>=0))}const D=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=c(t,n);switch(o){case"referenceHidden":{const t=P(await d(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:S(t)}}}case"escaped":{const t=P(await d(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:S(t)}}}default:return{}}}}},R=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,i=await async function(t,n){const{placement:e,platform:o,elements:i}=t,s=await(null==o.isRTL?void 0:o.isRTL(i.floating)),f=a(e),u=r(e),d="x"===l(e),m=["left","top"].includes(f)?-1:1,p=s&&d?-1:1,y=c(n,t);let{mainAxis:g,crossAxis:h,alignmentAxis:x}="number"==typeof y?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};return u&&"number"==typeof x&&(h="end"===u?-1*x:x),d?{x:h*p,y:g*m}:{x:g*m,y:h*p}}(n,t);return{x:e+i.x,y:o+i.y,data:i}}}};function C(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function F(t){return C(t).getComputedStyle(t)}function M(t){return t instanceof C(t).Node}function E(t){return M(t)?(t.nodeName||"").toLowerCase():""}function O(t){return t instanceof C(t).HTMLElement}function j(t){return t instanceof C(t).Element}function T(t){return"undefined"!=typeof ShadowRoot&&(t instanceof C(t).ShadowRoot||t instanceof ShadowRoot)}function z(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=F(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function B(t){return["table","td","th"].includes(E(t))}function L(t){const n=$(),e=F(t);return"none"!==e.transform||"none"!==e.perspective||!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 $(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function H(t){return["html","body","#document"].includes(E(t))}const N=Math.min,I=Math.max,W=Math.round;function V(t){const n=F(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=O(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,l=W(e)!==i||W(o)!==a;return l&&(e=i,o=a),{width:e,height:o,fallback:l}}function q(t){return j(t)?t:t.contextElement}const G={x:1,y:1};function U(t){const n=q(t);if(!O(n))return G;const e=n.getBoundingClientRect(),{width:o,height:r,fallback:i}=V(n);let a=(i?W(e.width):e.width)/o,l=(i?W(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const X={x:0,y:0};function Y(t,n,e){var o,r;if(void 0===n&&(n=!0),!$())return X;const i=t?C(t):window;return!e||n&&e!==i?X:{x:(null==(o=i.visualViewport)?void 0:o.offsetLeft)||0,y:(null==(r=i.visualViewport)?void 0:r.offsetTop)||0}}function _(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=q(t);let a=G;n&&(o?j(o)&&(a=U(o)):a=U(t));const l=Y(i,e,o);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,f=r.width/a.x,d=r.height/a.y;if(i){const t=C(i),n=o&&j(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=U(e),n=e.getBoundingClientRect(),o=getComputedStyle(e);n.x+=(e.clientLeft+parseFloat(o.paddingLeft))*t.x,n.y+=(e.clientTop+parseFloat(o.paddingTop))*t.y,s*=t.x,c*=t.y,f*=t.x,d*=t.y,s+=n.x,c+=n.y,e=C(e).frameElement}}return u({width:f,height:d,x:s,y:c})}function J(t){return((M(t)?t.ownerDocument:t.document)||window.document).documentElement}function K(t){return j(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Q(t){return _(J(t)).left+K(t).scrollLeft}function Z(t){if("html"===E(t))return t;const n=t.assignedSlot||t.parentNode||T(t)&&t.host||J(t);return T(n)?n.host:n}function tt(t){const n=Z(t);return H(n)?n.ownerDocument.body:O(n)&&z(n)?n:tt(n)}function nt(t,n){var e;void 0===n&&(n=[]);const o=tt(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=C(o);return r?n.concat(i,i.visualViewport||[],z(o)?o:[]):n.concat(o,nt(o))}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=J(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=$();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e);else if("document"===n)o=function(t){const n=J(t),e=K(t),o=t.ownerDocument.body,r=I(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=I(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Q(t);const l=-e.scrollTop;return"rtl"===F(o).direction&&(a+=I(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(J(t));else if(j(n))o=function(t,n){const e=_(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=O(t)?U(t):{x:1,y:1};return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Y(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return u(o)}function ot(t,n){const e=Z(t);return!(e===n||!j(e)||H(e))&&("fixed"===F(e).position||ot(e,n))}function rt(t,n){return O(t)&&"fixed"!==F(t).position?n?n(t):t.offsetParent:null}function it(t,n){const e=C(t);if(!O(t))return e;let o=rt(t,n);for(;o&&B(o)&&"static"===F(o).position;)o=rt(o,n);return o&&("html"===E(o)||"body"===E(o)&&"static"===F(o).position&&!L(o))?e:o||function(t){let n=Z(t);for(;O(n)&&!H(n);){if(L(n))return n;n=Z(n)}return null}(t)||e}function at(t,n,e){const o=O(n),r=J(n),i="fixed"===e,a=_(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(o||!o&&!i)if(("body"!==E(n)||z(r))&&(l=K(n)),O(n)){const t=_(n,!0,i,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else r&&(s.x=Q(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}const lt={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=nt(t).filter((t=>j(t)&&"body"!==E(t))),r=null;const i="fixed"===F(t).position;let a=i?Z(t):t;for(;j(a)&&!H(a);){const n=F(a),e=L(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||z(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=Z(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=et(n,e,r);return t.top=I(o.top,t.top),t.right=N(o.right,t.right),t.bottom=N(o.bottom,t.bottom),t.left=I(o.left,t.left),t}),et(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=O(e),i=J(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const s={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==E(e)||z(i))&&(a=K(e)),O(e))){const t=_(e);l=U(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+s.x,y:n.y*l.y-a.scrollTop*l.y+s.y}},isElement:j,getDimensions:function(t){return V(t)},getOffsetParent:it,getDocumentElement:J,getScale:U,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||it,i=this.getDimensions;return{reference:at(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===F(t).direction};const st={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},ct=async function(){if(st.floatingUINonChromiumPositioningFix&&(/firefox|safari/i.test(n())||function(){const t=e();return t?.brands?!!t.brands.find((({brand:t,version:n})=>("Google Chrome"===t||"Chromium"===t)&&Number(n)>=109)):!!navigator.userAgent.split(" ").find((t=>{const[n,e]=t.split("/");return"Chrome"===n&&parseInt(e)>=109}))}())){const{offsetParent:t}=await import("./p-87cb6caa.js"),n=lt.getOffsetParent;lt.getOffsetParent=e=>n(e,t)}}(),ft=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],ut="bottom-start",dt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function mt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:s,arrowEl:u,type:p}){const g=[(void 0===x&&(x={}),{name:"shift",options:x,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=c(x,t),u={x:n,y:e},m=await d(t,f),p=l(a(o)),g="x"===p?"y":"x";let h=u[p],b=u[g];r&&(h=y(h+m["y"===p?"top":"left"],h,h-m["y"===p?"bottom":"right"])),i&&(b=y(b+m["y"===g?"top":"left"],b,b-m["y"===g?"bottom":"right"]));const w=s.fn({...t,[p]:h,[g]:b});return{...w,data:{x:w.x-n,y:w.y-e}}}}),D()];var x;if("menu"===p)return[...g,k({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===p||"tooltip"===p){const p=[...g,R({mainAxis:"number"==typeof o?o:0,crossAxis:"number"==typeof s?s:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?p.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:l,middlewareData:s,placement:f,platform:u,elements:m}=n,{crossAxis:p=!1,alignment:y,allowedPlacements:g=h,autoAlignment:x=!0,...b}=c(t,n),v=void 0!==y||g===h?function(t,n,e){return(t?[...e.filter((n=>r(n)===t)),...e.filter((n=>r(n)!==t))]:e.filter((t=>a(t)===t))).filter((e=>!t||r(e)===t||!!n&&A(e)!==e))}(y||null,x,g):g,k=await d(n,b),P=(null==(e=s.autoPlacement)?void 0:e.index)||0,S=v[P];if(null==S)return{};const{main:D,cross:R}=w(S,l,await(null==u.isRTL?void 0:u.isRTL(m.floating)));if(f!==S)return{reset:{placement:v[0]}};const C=[k[a(S)],k[D],k[R]],F=[...(null==(o=s.autoPlacement)?void 0:o.overflows)||[],{placement:S,overflows:C}],M=v[P+1];if(M)return{data:{index:P+1,overflows:F},reset:{placement:M}};const E=F.map((t=>{const n=r(t.placement);return[t.placement,n&&p?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),O=(null==(i=E.filter((t=>t[2].slice(0,r(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||E[0][0];return O!==f?{data:{index:P+1,overflows:F},reset:{placement:O}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||p.push(k(e?{fallbackPlacements:e}:{})),u&&p.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:a,rects:s,platform:u,elements:d}=n,{element:p,padding:g=0}=c(t,n)||{};if(null==p)return{};const h=f(g),x={x:e,y:o},b=l(a),w=i(b),v=await u.getDimensions(p),A="y"===b,k=A?"top":"left",P=A?"bottom":"right",S=A?"clientHeight":"clientWidth",D=s.reference[w]+s.reference[b]-x[b]-s.floating[w],R=x[b]-s.reference[b],C=await(null==u.getOffsetParent?void 0:u.getOffsetParent(p));let F=C?C[S]:0;F&&await(null==u.isElement?void 0:u.isElement(C))||(F=d.floating[S]||s.floating[w]);const M=D/2-R/2,E=F/2-v[w]/2-1,O=m(h[k],E),j=m(h[P],E),T=O,z=F-v[w]-j,B=F/2-v[w]/2+M,L=y(T,B,z),$=null!=r(a)&&B!=L&&s.reference[w]/2-(B<T?O:j)-v[w]/2<0;return{[b]:x[b]-($?B<T?T-B:z-B:0),data:{[b]:L,centerOffset:B-L}}}}))({element:u})),p}return[]}function pt(t,n){const e=t.filter((t=>ft.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${ft.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function yt(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 gt(t,n,e=!1){if(t.open)return e?ht(t,n):bt(t,n)}const ht=o(bt,100,{leading:!0,maxWait:100}),xt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"};async function bt(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:f,type:u}){if(!n||!e)return null;await ct;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=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 f=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=s(f,o,c),m=o,p={},y=0;for(let e=0;e<l.length;e++){const{name:i,fn:g}=l[e],{x:h,y:x,data:b,reset:w}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:a,elements:{reference:t,floating:n}});u=null!=h?h:u,d=null!=x?x:d,p={...p,[i]:{...p[i],...b}},w&&y<=50&&(y++,"object"==typeof w&&(w.placement&&(m=w.placement),w.rects&&(f=!0===w.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:u,y:d}=s(f,m,c))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:yt(e,r),middleware:mt({placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:f,type:u})});if(f&&g.arrow){const{x:n,y:e}=g.arrow,o=p.split("-")[0],r=null!=n?"left":"top",i=xt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(f.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const h=g.hide?.referenceHidden,x=h?"hidden":null,b=x?"none":null;e.setAttribute("data-placement",p);const w=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(e.style,{visibility:x,pointerEvents:b,position:y,top:"0",left:"0",transform:w})}const wt=new WeakMap;function vt(t,n,e){e&&n&&(At(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),wt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=o,s=r||i?[...j(t)?nt(t):t.contextElement?nt(t.contextElement):[],...nt(n)]:[];s.forEach((t=>{const n=!j(t)&&t.toString().includes("V");!r||l&&!n||t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));let c,f=null;a&&(f=new ResizeObserver((()=>{e()})),j(t)&&!l&&f.observe(t),j(t)||!t.contextElement||l||f.observe(t.contextElement),f.observe(n));let u=l?_(t):null;return l&&function n(){const o=_(t);!u||o.x===u.x&&o.y===u.y&&o.width===u.width&&o.height===u.height||e(),u=o,c=requestAnimationFrame(n)}(),e(),()=>{var t;s.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),null==(t=f)||t.disconnect(),f=null,l&&cancelAnimationFrame(c)}}(n,e,(()=>t.reposition()))))}function At(t,n,e){if(!e||!n)return;const o=wt.get(t);o&&o(),wt.delete(t)}const kt=Math.ceil(Math.hypot(4,4));export{dt as F,At as a,kt as b,vt as c,ut as d,pt as f,gt as r}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.3-next.7
4
+ * v1.5.0-next.1
5
5
  */
6
- import{a as r,S as t,i as n,b as e,c as o,r as u,f}from"./p-dff4ad85.js";var c=Array.isArray,a=t?t.prototype:void 0,i=a?a.toString:void 0;function l(t){if("string"==typeof t)return t;if(c(t))return function(r,t){for(var n=-1,e=null==r?0:r.length,o=Array(e);++n<e;)o[n]=t(r[n],n,r);return o}(t,l)+"";if(r(t))return i?i.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function s(r){return r}var v=/^(?:0|[1-9]\d*)$/;function b(r,t){var n=typeof r;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&v.test(r))&&r>-1&&r%1==0&&r<t}function p(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}var y=Object.prototype;function d(r){return o(r)&&"[object Arguments]"==e(r)}var j=Object.prototype,m=j.hasOwnProperty,x=j.propertyIsEnumerable,g=d(function(){return arguments}())?d:function(r){return o(r)&&m.call(r,"callee")&&!x.call(r,"callee")},O="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=O&&"object"==typeof module&&module&&!module.nodeType&&module,A=h&&h.exports===O?u.Buffer:void 0,F=(A?A.isBuffer:void 0)||function(){return!1},$={};$["[object Float32Array]"]=$["[object Float64Array]"]=$["[object Int8Array]"]=$["[object Int16Array]"]=$["[object Int32Array]"]=$["[object Uint8Array]"]=$["[object Uint8ClampedArray]"]=$["[object Uint16Array]"]=$["[object Uint32Array]"]=!0,$["[object Arguments]"]=$["[object Array]"]=$["[object ArrayBuffer]"]=$["[object Boolean]"]=$["[object DataView]"]=$["[object Date]"]=$["[object Error]"]=$["[object Function]"]=$["[object Map]"]=$["[object Number]"]=$["[object Object]"]=$["[object RegExp]"]=$["[object Set]"]=$["[object String]"]=$["[object WeakMap]"]=!1;var w,E="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=E&&"object"==typeof module&&module&&!module.nodeType&&module,S=R&&R.exports===E&&f.process,k=function(){try{return R&&R.require&&R.require("util").types||S&&S.binding&&S.binding("util")}catch(r){}}(),G=k&&k.isTypedArray,L=G?(w=G,function(r){return w(r)}):function(r){return o(r)&&p(r.length)&&!!$[e(r)]},N=Object.prototype.hasOwnProperty;var P=Object.prototype.hasOwnProperty;function T(r){return null!=(t=r)&&p(t.length)&&!function(r){if(!n(r))return!1;var t=e(r);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(t)?function(r,t){var n=c(r),e=!n&&g(r),o=!n&&!e&&F(r),u=!n&&!e&&!o&&L(r),f=n||e||o||u,a=f?function(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}(r.length,String):[],i=a.length;for(var l in r)!t&&!N.call(r,l)||f&&("length"==l||o&&("offset"==l||"parent"==l)||u&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||b(l,i))||a.push(l);return a}(r,!0):function(r){if(!n(r))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(r);var t,e,o=(t=r)===("function"==typeof(e=t&&t.constructor)&&e.prototype||y),u=[];for(var f in r)("constructor"!=f||!o&&P.call(r,f))&&u.push(f);return u}(r);var t}var q=/[\\^$.*+?()[\]{}|]/g,z=RegExp(q.source);function B(r,t){return null==r?r:function(r,t,n){for(var e=-1,o=Object(r),u=n(r),f=u.length;f--;){var c=u[++e];if(!1===t(o[c],c,o))break}return r}(r,"function"==typeof(n=t)?n:s,T);var n}const C=(r,t)=>{const n=function(r){var t;return(r=null==(t=r)?"":l(t))&&z.test(r)?r.replace(q,"\\$&"):r}(t),e=new RegExp(n,"i");0===r.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const o=(r,t)=>{if(r?.constant||r?.filterDisabled)return!0;let n=!1;return B(r,(r=>{"function"!=typeof r&&null!=r&&(Array.isArray(r)||"object"==typeof r&&null!==r?o(r,t)&&(n=!0):t.test(r)&&(n=!0))})),n};return r.filter((r=>o(r,e)))};export{C as f}
6
+ import{a as r,S as t,i as n,b as e,c as o,r as u,f}from"./p-5d509f73.js";var c=Array.isArray,a=t?t.prototype:void 0,i=a?a.toString:void 0;function l(t){if("string"==typeof t)return t;if(c(t))return function(r,t){for(var n=-1,e=null==r?0:r.length,o=Array(e);++n<e;)o[n]=t(r[n],n,r);return o}(t,l)+"";if(r(t))return i?i.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function s(r){return r}var v=/^(?:0|[1-9]\d*)$/;function b(r,t){var n=typeof r;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&v.test(r))&&r>-1&&r%1==0&&r<t}function p(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}var y=Object.prototype;function d(r){return o(r)&&"[object Arguments]"==e(r)}var j=Object.prototype,m=j.hasOwnProperty,x=j.propertyIsEnumerable,g=d(function(){return arguments}())?d:function(r){return o(r)&&m.call(r,"callee")&&!x.call(r,"callee")},O="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=O&&"object"==typeof module&&module&&!module.nodeType&&module,A=h&&h.exports===O?u.Buffer:void 0,F=(A?A.isBuffer:void 0)||function(){return!1},$={};$["[object Float32Array]"]=$["[object Float64Array]"]=$["[object Int8Array]"]=$["[object Int16Array]"]=$["[object Int32Array]"]=$["[object Uint8Array]"]=$["[object Uint8ClampedArray]"]=$["[object Uint16Array]"]=$["[object Uint32Array]"]=!0,$["[object Arguments]"]=$["[object Array]"]=$["[object ArrayBuffer]"]=$["[object Boolean]"]=$["[object DataView]"]=$["[object Date]"]=$["[object Error]"]=$["[object Function]"]=$["[object Map]"]=$["[object Number]"]=$["[object Object]"]=$["[object RegExp]"]=$["[object Set]"]=$["[object String]"]=$["[object WeakMap]"]=!1;var w,E="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=E&&"object"==typeof module&&module&&!module.nodeType&&module,S=R&&R.exports===E&&f.process,k=function(){try{return R&&R.require&&R.require("util").types||S&&S.binding&&S.binding("util")}catch(r){}}(),G=k&&k.isTypedArray,L=G?(w=G,function(r){return w(r)}):function(r){return o(r)&&p(r.length)&&!!$[e(r)]},N=Object.prototype.hasOwnProperty;var P=Object.prototype.hasOwnProperty;function T(r){return null!=(t=r)&&p(t.length)&&!function(r){if(!n(r))return!1;var t=e(r);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(t)?function(r,t){var n=c(r),e=!n&&g(r),o=!n&&!e&&F(r),u=!n&&!e&&!o&&L(r),f=n||e||o||u,a=f?function(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}(r.length,String):[],i=a.length;for(var l in r)!t&&!N.call(r,l)||f&&("length"==l||o&&("offset"==l||"parent"==l)||u&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||b(l,i))||a.push(l);return a}(r,!0):function(r){if(!n(r))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(r);var t,e,o=(t=r)===("function"==typeof(e=t&&t.constructor)&&e.prototype||y),u=[];for(var f in r)("constructor"!=f||!o&&P.call(r,f))&&u.push(f);return u}(r);var t}var q=/[\\^$.*+?()[\]{}|]/g,z=RegExp(q.source);function B(r,t){return null==r?r:function(r,t,n){for(var e=-1,o=Object(r),u=n(r),f=u.length;f--;){var c=u[++e];if(!1===t(o[c],c,o))break}return r}(r,"function"==typeof(n=t)?n:s,T);var n}const C=(r,t)=>{const n=function(r){var t;return(r=null==(t=r)?"":l(t))&&z.test(r)?r.replace(q,"\\$&"):r}(t),e=new RegExp(n,"i");0===r.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const o=(r,t)=>{if(r?.constant||r?.filterDisabled)return!0;let n=!1;return B(r,(r=>{"function"!=typeof r&&null!=r&&(Array.isArray(r)||"object"==typeof r&&null!==r?o(r,t)&&(n=!0):t.test(r)&&(n=!0))})),n};return r.filter((r=>o(r,e)))};export{C as f}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.3-next.7
4
+ * v1.5.0-next.1
5
5
  */
6
6
  const n={menuActions:"menu-actions",menuTooltip:"menu-tooltip"},o={menu:"ellipsis"};export{o as I,n as S}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.5.0-next.1
5
+ */
6
+ import{d as r}from"./p-c31511a4.js";import"./p-77dcb1b3.js";import"./p-cd1ee477.js";import"./p-2c637090.js";import"./p-a7515261.js";import"./p-53047265.js";import"./p-26ff8257.js";import"./p-f8da7c37.js";import"./p-d05e5931.js";import"./p-c31f46f9.js";import"./p-fe334709.js";import"./p-a486b294.js";import"./p-07974044.js";import"./p-27863f70.js";import"./p-b9438138.js";function e(r){return r>1&&r<5&&1!=~~(r/10)}function t(r,t,m,o){var s=r+" ";switch(m){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?s+(e(r)?"minúty":"minút"):s+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?s+(e(r)?"hodiny":"hodín"):s+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?s+(e(r)?"dni":"dní"):s+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?s+(e(r)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?s+(e(r)?"roky":"rokov"):s+"rokmi"}}var m={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(r){return r+"."},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}};r.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-components/blob/master/LICENSE.md for details.
4
- * v1.4.3-next.7
4
+ * v1.5.0-next.1
5
5
  */
6
- import{r as t,c as e,h as i,a}from"./p-06cc0f03.js";import{c as n,d as o}from"./p-1ee5f812.js";import{t as r,g as c}from"./p-9a000173.js";import{c as s,d as l}from"./p-9fe43f5f.js";import{c as d,d as m,s as h,u as f}from"./p-0f9fe7d1.js";import"./p-2d00d6bb.js";import"./p-01e6319e.js";import"./p-d6b0b457.js";import"./p-0364fa56.js";const p="thumbnail",u="title",g="subtitle",b="footer-start",v="footer-end",x=class{constructor(i){t(this,i),this.calciteCardSelect=e(this,"calciteCardSelect",6),this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=t=>{switch(t.key){case" ":case"Enter":this.selectCard(),t.preventDefault()}},this.loading=!1,this.selected=!1,this.selectable=!1,this.thumbnailPosition="block-start",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}connectedCallback(){n(this),s(this),d(this)}disonnectedCallback(){o(this),l(this),m(this)}async componentWillLoad(){await h(this)}render(){const t=this.thumbnailPosition.startsWith("inline"),e=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":!0,inline:t}},this.loading?i("div",{class:"calcite-card-loader-container"},i("calcite-loader",{label:this.messages.loading})):null,e&&this.renderThumbnail(),i("section",{"aria-busy":r(this.loading),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!e&&this.renderThumbnail())}effectiveLocaleChange(){f(this,this.effectiveLocale)}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return c(this.el,p)?i("section",{class:"thumbnail-wrapper"},i("slot",{name:p})):null}renderCheckbox(){return i("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:this.messages.select}))}renderHeader(){const{el:t}=this,e=c(t,u),a=c(t,g);return e||a?i("header",{class:"header"},i("slot",{name:u}),i("slot",{name:g})):null}renderFooter(){const{el:t}=this,e=c(t,b),a=c(t,v);return e||a?i("footer",{class:"footer"},i("slot",{name:b}),i("slot",{name:v})):null}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};x.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--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);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:flex;align-items:center}.header,.footer{display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{flex-direction:column}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selectable]) .header{padding-inline-end:2rem}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:flex}.calcite-card-container.inline{flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:0.25rem}";export{x as calcite_card}
6
+ import{r as t,c as e,h as i,a}from"./p-77dcb1b3.js";import{c as n,d as o}from"./p-b811cbfe.js";import{t as r,g as c}from"./p-2c637090.js";import{c as s,d as l}from"./p-a486b294.js";import{c as d,d as m,s as h,u as f}from"./p-b9438138.js";import"./p-07974044.js";import"./p-a7515261.js";import"./p-53047265.js";import"./p-d05e5931.js";const p="thumbnail",u="title",g="subtitle",b="footer-start",v="footer-end",x=class{constructor(i){t(this,i),this.calciteCardSelect=e(this,"calciteCardSelect",6),this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=t=>{switch(t.key){case" ":case"Enter":this.selectCard(),t.preventDefault()}},this.loading=!1,this.selected=!1,this.selectable=!1,this.thumbnailPosition="block-start",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}connectedCallback(){n(this),s(this),d(this)}disonnectedCallback(){o(this),l(this),m(this)}async componentWillLoad(){await h(this)}render(){const t=this.thumbnailPosition.startsWith("inline"),e=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":!0,inline:t}},this.loading?i("div",{class:"calcite-card-loader-container"},i("calcite-loader",{label:this.messages.loading})):null,e&&this.renderThumbnail(),i("section",{"aria-busy":r(this.loading),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!e&&this.renderThumbnail())}effectiveLocaleChange(){f(this,this.effectiveLocale)}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return c(this.el,p)?i("section",{class:"thumbnail-wrapper"},i("slot",{name:p})):null}renderCheckbox(){return i("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:this.messages.select}))}renderHeader(){const{el:t}=this,e=c(t,u),a=c(t,g);return e||a?i("header",{class:"header"},i("slot",{name:u}),i("slot",{name:g})):null}renderFooter(){const{el:t}=this,e=c(t,b),a=c(t,v);return e||a?i("footer",{class:"footer"},i("slot",{name:b}),i("slot",{name:v})):null}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};x.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--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);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:flex;align-items:center}.header,.footer{display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{flex-direction:column}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selectable]) .header{padding-inline-end:2rem}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:flex}.calcite-card-container.inline{flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:0.25rem}";export{x as calcite_card}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.5.0-next.1
5
+ */
6
+ import{d as r}from"./p-c31511a4.js";import"./p-77dcb1b3.js";import"./p-cd1ee477.js";import"./p-2c637090.js";import"./p-a7515261.js";import"./p-53047265.js";import"./p-26ff8257.js";import"./p-f8da7c37.js";import"./p-d05e5931.js";import"./p-c31f46f9.js";import"./p-fe334709.js";import"./p-a486b294.js";import"./p-07974044.js";import"./p-27863f70.js";import"./p-b9438138.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-components/blob/master/LICENSE.md for details.
4
+ * v1.5.0-next.1
5
+ */
6
+ import{r as t,c as i,h as a,a as e}from"./p-77dcb1b3.js";import{c as n,u as o,d as c}from"./p-26ff8257.js";import{c as s,s as l,a as r}from"./p-fe334709.js";import"./p-f8da7c37.js";const d=class{constructor(a){t(this,a),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6),this.calciteSplitButtonPrimaryClickHandler=()=>this.calciteSplitButtonPrimaryClick.emit(),this.calciteSplitButtonSecondaryClickHandler=()=>this.calciteSplitButtonSecondaryClick.emit(),this.appearance="solid",this.kind="brand",this.disabled=!1,this.active=!1,this.dropdownIconType="chevron",this.dropdownLabel=void 0,this.loading=!1,this.overlayPositioning="absolute",this.primaryIconEnd=void 0,this.primaryIconFlipRtl=void 0,this.primaryIconStart=void 0,this.primaryLabel=void 0,this.primaryText=void 0,this.scale="m",this.width="auto"}handleDisabledChange(t){t||(this.active=!1)}activeHandler(){this.disabled&&(this.active=!1)}async setFocus(){await s(this),this.el.focus()}connectedCallback(){n(this)}componentWillLoad(){l(this)}componentDidLoad(){r(this)}componentDidRender(){o(this)}disconnectedCallback(){c(this)}render(){return a("div",{class:{"split-button__container":!0,"width-auto":"auto"===this.width,"width-half":"half"===this.width,"width-full":"full"===this.width}},a("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,kind:this.kind,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:"auto"===this.width?"auto":"full"},this.primaryText),a("div",{class:"split-button__divider-container"},a("div",{class:"split-button__divider"})),a("calcite-dropdown",{disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,open:this.active,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,width:this.scale},a("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-start":this.dropdownIcon,kind:this.kind,label:this.dropdownLabel,scale:this.scale,slot:"trigger",splitChild:"secondary",type:"button"}),a("slot",null)))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}static get delegatesFocus(){return!0}get el(){return e(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};d.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host .split-button__container{display:flex;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host:host([kind=brand]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([kind=danger]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([kind=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host:host([kind=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1);--calcite-split-button-background:transparent}:host([appearance=outline]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline-fill]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:flex;inline-size:1px;align-items:stretch;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]) .split-button__divider-container,:host([appearance=outline]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline-fill]):hover .split-button__divider-container,:host([appearance=outline]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:hover) .split-button__divider-container,:host([appearance=outline]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline-fill]:focus-within) .split-button__divider-container,:host([appearance=outline]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{d as calcite_split_button}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.5.0-next.1
5
+ */
6
+ import{d as e}from"./p-c31511a4.js";import"./p-77dcb1b3.js";import"./p-cd1ee477.js";import"./p-2c637090.js";import"./p-a7515261.js";import"./p-53047265.js";import"./p-26ff8257.js";import"./p-f8da7c37.js";import"./p-d05e5931.js";import"./p-c31f46f9.js";import"./p-fe334709.js";import"./p-a486b294.js";import"./p-07974044.js";import"./p-27863f70.js";import"./p-b9438138.js";var r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function t(e,t,n){var i=r[n];return Array.isArray(i)&&(i=i[t?0:1]),i.replace("%d",e)}var n={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(n,null,!0);export default n;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.5.0-next.1
5
+ */
6
+ import{d as e}from"./p-c31511a4.js";import"./p-77dcb1b3.js";import"./p-cd1ee477.js";import"./p-2c637090.js";import"./p-a7515261.js";import"./p-53047265.js";import"./p-26ff8257.js";import"./p-f8da7c37.js";import"./p-d05e5931.js";import"./p-c31f46f9.js";import"./p-fe334709.js";import"./p-a486b294.js";import"./p-07974044.js";import"./p-27863f70.js";import"./p-b9438138.js";var a={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,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:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};e.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-components/blob/master/LICENSE.md for details.
4
- * v1.4.3-next.7
4
+ * v1.5.0-next.1
5
5
  */
6
- import{g as t}from"./p-99bd5304.js";import{f as i,g as s,t as n}from"./p-9a000173.js";import{d as e}from"./p-dff4ad85.js";import{h as a,H as o}from"./p-06cc0f03.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-643760cd.js";import{f as i,g as s,t as n}from"./p-2c637090.js";import{d as e}from"./p-5d509f73.js";import{h as a,H as o}from"./p-77dcb1b3.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-components/blob/master/LICENSE.md for details.
4
+ * v1.5.0-next.1
5
+ */
6
+ import{r as t,c as i,h as a,H as e,a as o}from"./p-77dcb1b3.js";import{g as s}from"./p-643760cd.js";import{b as n,f as r,t as c}from"./p-2c637090.js";import{c as d,d as l,H as h}from"./p-cd1ee477.js";import{g as m}from"./p-a7515261.js";import{c as u,d as p,u as f}from"./p-26ff8257.js";import{c as b,d as v,g as k}from"./p-c31f46f9.js";import{c as x,s as g,a as y}from"./p-fe334709.js";import"./p-53047265.js";import"./p-f8da7c37.js";const w=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.focused=!0,this.setFocus(),this.checked||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const{key:i}=t,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const c=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,s(Math.max(r-1,-1),c));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,s(r+1,c));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())},this.checked=!1,this.disabled=!1,this.focused=!1,this.form=void 0,this.guid=void 0,this.hidden=!1,this.hovered=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await x(this),this.disabled||r(this.containerEl)}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.hidden)return;const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.focused=!0,this.setFocus(),a.checked||(this.uncheckOtherRadioButtonsInGroup(),a.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if(t?.length>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${m()}`,this.name&&this.checkLastRadioButton(),u(this),b(this),d(this)}componentWillLoad(){g(this)}componentDidLoad(){y(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){p(this),v(this),l(this)}componentDidRender(){f(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":c(this.checked),"aria-label":k(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,role:"radio",tabIndex:t,ref:this.setContainerEl},a("div",{class:"radio"})),a(h,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};w.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([focused]) .radio{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 )}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{w as calcite_radio_button}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.3-next.7
4
+ * v1.5.0-next.1
5
5
  */
6
- import{r as i,c as t,h as e,H as a,a as n}from"./p-06cc0f03.js";import{c as o,d as s}from"./p-1ee5f812.js";import{g as r,d as l,p as c,r as d}from"./p-9a000173.js";import{d as m,a as h,c as p,u as b}from"./p-41e746a3.js";import{s as u,a as f,c as g}from"./p-e5f8c705.js";import{c as v}from"./p-2d00d6bb.js";import{o as x}from"./p-92b97a4f.js";import{c as k,d as y}from"./p-9fe43f5f.js";import{s as z,c as w,d as C,u as D}from"./p-0f9fe7d1.js";import"./p-01e6319e.js";import"./p-d6b0b457.js";import"./p-0364fa56.js";const $="modal",j="header",_="overflow-hidden",M="container",O="modal--opening-idle",F="modal--opening-active",B="modal--closing-idle",L="modal--closing-active",S="content",T="back",E="secondary",H="primary",q=class{constructor(e){i(this,e),this.calciteModalBeforeClose=t(this,"calciteModalBeforeClose",6),this.calciteModalClose=t(this,"calciteModalClose",6),this.calciteModalBeforeOpen=t(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=t(this,"calciteModalOpen",6),this.mutationObserver=v("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=v("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||this.close()},this.close=()=>this.beforeClose(this.el).then((()=>{this.open=!1,this.isOpen=!1,this.removeOverflowHiddenClass()})),this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[T,H,E])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=i=>{this.hasContentTop=l(i)},this.contentBottomSlotChangeHandler=i=>{this.hasContentBottom=l(i)},this.open=!1,this.beforeClose=()=>Promise.resolve(),this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.escapeDisabled=!1,this.scale="m",this.width="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.isOpen=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(i){this.open&&(i?m(this):h(this))}onMessagesChange(){}async componentWillLoad(){await z(this),u(this),this.open&&(x(this),requestAnimationFrame((()=>this.openModal())))}componentDidLoad(){f(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),o(this),k(this),w(this),p(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.cssVarObserver?.disconnect(),s(this),m(this),y(this),C(this),this.slottedInShell=!1}render(){return e(a,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("div",{class:{[M]:!0,"container--open":this.isOpen,"slotted-in-shell":this.slottedInShell}},e("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{class:{[$]:!0},ref:this.setTransitionEl},e("div",{class:j},this.renderCloseButton(),e("header",{class:"title"},e("slot",{name:j}))),this.renderContentTop(),e("div",{class:{content:!0,"content--no-footer":!this.hasFooter},ref:i=>this.modalContent=i},e("slot",{name:S})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?e("div",{class:"footer",key:"footer"},e("span",{class:"back"},e("slot",{name:T})),e("span",{class:"secondary"},e("slot",{name:E})),e("span",{class:"primary"},e("slot",{name:H}))):null}renderContentTop(){return e("div",{class:"content-top",hidden:!this.hasContentTop},e("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return e("div",{class:"content-bottom",hidden:!this.hasContentBottom},e("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:e("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.close,title:this.messages.close,ref:i=>this.closeButtonEl=i},e("calcite-icon",{icon:"x",scale:"s"===this.scale?"s":"m"===this.scale?"m":"l"===this.scale?"l":null}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return e("style",null,`.${M} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${$} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${M} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${$} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){D(this,this.effectiveLocale)}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.close(),i.preventDefault())}async setFocus(){await g(this),c(this.el)}async updateFocusTrapElements(){b(this)}async scrollContent(i=0,t=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:i,left:t,behavior:"smooth"}):(this.modalContent.scrollTop=i,this.modalContent.scrollLeft=t))}onBeforeOpen(){this.transitionEl.classList.add(F),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(O,F),this.calciteModalOpen.emit(),h(this)}onBeforeClose(){this.transitionEl.classList.add(L),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(B,L),this.calciteModalClose.emit(),m(this)}async toggleModal(i){x(this),i?(this.transitionEl?.classList.add(O),this.openModal()):(this.transitionEl?.classList.add(B),this.close())}openModal(){this.el.addEventListener("calciteModalOpen",this.openEnd),this.open=!0,this.isOpen=!0;const i=r(this.el,"header"),t=r(this.el,S);this.titleId=d(i),this.contentId=d(t),this.slottedInShell||document.documentElement.classList.add(_)}removeOverflowHiddenClass(){document.documentElement.classList.remove(_)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"]}}};q.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-modal-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-app-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([open]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-app-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close: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 )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-app-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-app-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width=s][docked]) .container{align-items:flex-end}}:host([width=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width=m][docked]) .container{align-items:flex-end}}:host([width=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([open][fullscreen]) .header,:host([open][fullscreen]) .footer,:host([open][fullscreen]) .content-top,:host([open][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-ui-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-ui-danger)}:host([kind=info]) .modal{border-color:var(--calcite-ui-info)}:host([kind=success]) .modal{border-color:var(--calcite-ui-success)}:host([kind=warning]) .modal{border-color:var(--calcite-ui-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container.slotted-in-shell{position:absolute;pointer-events:auto}.container.slotted-in-shell calcite-scrim{position:absolute}";export{q as calcite_modal}
6
+ import{r as i,c as t,h as e,H as a,a as n}from"./p-77dcb1b3.js";import{c as o,d as s}from"./p-b811cbfe.js";import{g as r,d as l,p as c,r as d}from"./p-2c637090.js";import{d as m,a as h,c as p,u as b}from"./p-27863f70.js";import{s as u,a as f,c as g}from"./p-fe334709.js";import{c as v}from"./p-07974044.js";import{o as x}from"./p-deaa5c6e.js";import{c as k,d as y}from"./p-a486b294.js";import{s as z,c as w,d as C,u as D}from"./p-b9438138.js";import"./p-a7515261.js";import"./p-53047265.js";import"./p-d05e5931.js";const $="modal",j="header",_="overflow-hidden",M="container",O="modal--opening-idle",F="modal--opening-active",B="modal--closing-idle",L="modal--closing-active",S="content",T="back",E="secondary",H="primary",q=class{constructor(e){i(this,e),this.calciteModalBeforeClose=t(this,"calciteModalBeforeClose",6),this.calciteModalClose=t(this,"calciteModalClose",6),this.calciteModalBeforeOpen=t(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=t(this,"calciteModalOpen",6),this.mutationObserver=v("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=v("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||this.close()},this.close=()=>this.beforeClose(this.el).then((()=>{this.open=!1,this.isOpen=!1,this.removeOverflowHiddenClass()})),this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[T,H,E])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=i=>{this.hasContentTop=l(i)},this.contentBottomSlotChangeHandler=i=>{this.hasContentBottom=l(i)},this.open=!1,this.beforeClose=()=>Promise.resolve(),this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.escapeDisabled=!1,this.scale="m",this.width="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.isOpen=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(i){this.open&&(i?m(this):h(this))}onMessagesChange(){}async componentWillLoad(){await z(this),u(this),this.open&&(x(this),requestAnimationFrame((()=>this.openModal())))}componentDidLoad(){f(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),o(this),k(this),w(this),p(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.cssVarObserver?.disconnect(),s(this),m(this),y(this),C(this),this.slottedInShell=!1}render(){return e(a,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("div",{class:{[M]:!0,"container--open":this.isOpen,"slotted-in-shell":this.slottedInShell}},e("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{class:{[$]:!0},ref:this.setTransitionEl},e("div",{class:j},this.renderCloseButton(),e("header",{class:"title"},e("slot",{name:j}))),this.renderContentTop(),e("div",{class:{content:!0,"content--no-footer":!this.hasFooter},ref:i=>this.modalContent=i},e("slot",{name:S})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?e("div",{class:"footer",key:"footer"},e("span",{class:"back"},e("slot",{name:T})),e("span",{class:"secondary"},e("slot",{name:E})),e("span",{class:"primary"},e("slot",{name:H}))):null}renderContentTop(){return e("div",{class:"content-top",hidden:!this.hasContentTop},e("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return e("div",{class:"content-bottom",hidden:!this.hasContentBottom},e("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:e("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.close,title:this.messages.close,ref:i=>this.closeButtonEl=i},e("calcite-icon",{icon:"x",scale:"s"===this.scale?"s":"m"===this.scale?"m":"l"===this.scale?"l":null}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return e("style",null,`.${M} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${$} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${M} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${$} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){D(this,this.effectiveLocale)}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.close(),i.preventDefault())}async setFocus(){await g(this),c(this.el)}async updateFocusTrapElements(){b(this)}async scrollContent(i=0,t=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:i,left:t,behavior:"smooth"}):(this.modalContent.scrollTop=i,this.modalContent.scrollLeft=t))}onBeforeOpen(){this.transitionEl.classList.add(F),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(O,F),this.calciteModalOpen.emit(),h(this)}onBeforeClose(){this.transitionEl.classList.add(L),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(B,L),this.calciteModalClose.emit(),m(this)}async toggleModal(i){x(this),i?(this.transitionEl?.classList.add(O),this.openModal()):(this.transitionEl?.classList.add(B),this.close())}openModal(){this.el.addEventListener("calciteModalOpen",this.openEnd),this.open=!0,this.isOpen=!0;const i=r(this.el,"header"),t=r(this.el,S);this.titleId=d(i),this.contentId=d(t),this.slottedInShell||document.documentElement.classList.add(_)}removeOverflowHiddenClass(){document.documentElement.classList.remove(_)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"]}}};q.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-modal-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-app-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([open]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-app-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close: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 )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-app-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-app-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width=s][docked]) .container{align-items:flex-end}}:host([width=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width=m][docked]) .container{align-items:flex-end}}:host([width=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([open][fullscreen]) .header,:host([open][fullscreen]) .footer,:host([open][fullscreen]) .content-top,:host([open][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-ui-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-ui-danger)}:host([kind=info]) .modal{border-color:var(--calcite-ui-info)}:host([kind=success]) .modal{border-color:var(--calcite-ui-success)}:host([kind=warning]) .modal{border-color:var(--calcite-ui-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container.slotted-in-shell{position:absolute;pointer-events:auto}.container.slotted-in-shell calcite-scrim{position:absolute}";export{q as calcite_modal}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.3-next.7
4
+ * v1.5.0-next.1
5
5
  */
6
6
  var a;!function(a){a.brand="lightbulb",a.danger="exclamationMarkTriangle",a.info="information",a.success="checkCircle",a.warning="exclamationMarkTriangle"}(a||(a={}));export{a as K}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.5.0-next.1
5
+ */
6
+ import{d as r}from"./p-c31511a4.js";import"./p-77dcb1b3.js";import"./p-cd1ee477.js";import"./p-2c637090.js";import"./p-a7515261.js";import"./p-53047265.js";import"./p-26ff8257.js";import"./p-f8da7c37.js";import"./p-d05e5931.js";import"./p-c31f46f9.js";import"./p-fe334709.js";import"./p-a486b294.js";import"./p-07974044.js";import"./p-27863f70.js";import"./p-b9438138.js";var e={name:"nb",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(r){return r+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"}};r.locale(e,null,!0);export default e;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.3-next.7
4
+ * v1.5.0-next.1
5
5
  */
6
6
  const a="calcite-mode-auto",t="calcite-mode-dark",e={autoMode:a,darkMode:t,lightMode:"calcite-mode-light",rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateIn:"calcite-animate__in",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left",calciteAnimateInScale:"calcite-animate__in-scale"};export{e as C,a,t as d}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.5.0-next.1
5
+ */
6
+ import{r as t,h as i,a,f as e,c as s,H as n}from"./p-77dcb1b3.js";import{g as l}from"./p-a7515261.js";import{c as h}from"./p-07974044.js";import{i as r,w as o}from"./p-2c637090.js";import{c,d,a as m,H as u}from"./p-cd1ee477.js";import{c as b,d as p,u as f}from"./p-26ff8257.js";import{i as v}from"./p-d05e5931.js";import{c as g,d as x,g as _}from"./p-c31f46f9.js";import{s as k,a as y,c as $}from"./p-fe334709.js";import{n as w,c as V,d as z}from"./p-a486b294.js";import{d as M,c as D}from"./p-1da65bff.js";import"./p-53047265.js";import"./p-f8da7c37.js";function L(t,i,a){const e=i[0]-t[0];return e?(3*(i[1]-t[1])/e-a)/2:a}function F(t,i,a,e,s){const[n,l]=t,[h,r]=i,o=(h-n)/3;return`C ${s([n+o,l+o*a]).join(",")} ${s([h-o,r-o*e]).join(",")} ${s([h,r]).join(",")}`}const H=class{constructor(i){t(this,i),this.graphId=`calcite-graph-${l()}`,this.resizeObserver=h("resize",(()=>e(this))),this.data=[],this.colorStops=void 0,this.highlightMin=void 0,this.highlightMax=void 0,this.min=void 0,this.max=void 0}connectedCallback(){this.resizeObserver?.observe(this.el)}disconnectedCallback(){this.resizeObserver?.disconnect()}render(){const{data:t,colorStops:a,el:e,highlightMax:s,highlightMin:n,min:l,max:h}=this,r=this.graphId,{clientHeight:o,clientWidth:c}=e;if(!t||0===t.length)return i("svg",{"aria-hidden":"true",class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c});const{min:d,max:m}=function(t){const[i,a]=t[0];return t.reduce((({min:t,max:i},[a,e])=>({min:[Math.min(t[0],a),Math.min(t[1],e)],max:[Math.max(i[0],a),Math.max(i[1],e)]})),{min:[i,a],max:[i,a]})}(t);let u=d,b=m;(l<d[0]||l>d[0])&&(u=[l,0]),(h>m[0]||h<m[0])&&(b=[h,m[1]]);const p=function({width:t,height:i,min:a,max:e}){const s=e[0]-a[0],n=e[1]-a[1];return e=>[(e[0]-a[0])/s*t,i-e[1]/n*i]}({min:u,max:b,width:c,height:o}),[f]=p([n,b[1]]),[v]=p([s,b[1]]),g=function({data:t,min:i,max:a,t:e}){if(0===t.length)return"";const[s,n]=e(t[0]),[l,h]=e(i),[r]=e(a);let o,c,d;const m=t.reduce(((i,a,s)=>{if(c=t[s-2],d=t[s-1],s>1){const t=function(t,i,a){const e=i[0]-t[0],s=a[0]-i[0],n=(i[1]-t[1])/(e||s<0&&0),l=(a[1]-i[1])/(s||e<0&&0),h=(n*s+l*e)/(e+s);return(Math.sign(n)+Math.sign(l))*Math.min(Math.abs(n),Math.abs(l),.5*Math.abs(h))||0}(c,d,a),s=void 0===o?L(c,d,t):o,n=F(c,d,s,t,e);return o=t,`${i} ${n}`}return i}),`M ${l},${h} L ${l},${n} L ${s},${n}`),u=t[t.length-1];return`${m} ${F(d,u,o,L(d,u,o),e)} L ${r},${h} Z`}({data:t,min:d,max:m,t:p}),x=a?`url(#linear-gradient-${r})`:void 0;return i("svg",{"aria-hidden":"true",class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c},a?i("defs",null,i("linearGradient",{id:`linear-gradient-${r}`,x1:"0",x2:"1",y1:"0",y2:"0"},a.map((({offset:t,color:a,opacity:e})=>i("stop",{offset:100*t+"%","stop-color":a,"stop-opacity":e}))))):null,void 0!==n?[i("mask",{height:"100%",id:`${r}1`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M 0,0\n L ${f-1},0\n L ${f-1},${o}\n L 0,${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${r}2`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${f+1},0\n L ${v-1},0\n L ${v-1},${o}\n L ${f+1}, ${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${r}3`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${v+1},0\n L ${c},0\n L ${c},${o}\n L ${v+1}, ${o}\n Z\n `,fill:"white"})),i("path",{class:"graph-path",d:g,fill:x,mask:`url(#${r}1)`}),i("path",{class:"graph-path--highlight",d:g,fill:x,mask:`url(#${r}2)`}),i("path",{class:"graph-path",d:g,fill:x,mask:`url(#${r}3)`})]:i("path",{class:"graph-path",d:g,fill:x}))}get el(){return a(this)}};H.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;block-size:100%;inline-size:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";const j="handle__label";function P(t){return Array.isArray(t)}const X=class{constructor(i){t(this,i),this.calciteSliderInput=s(this,"calciteSliderInput",6),this.calciteSliderChange=s(this,"calciteSliderChange",6),this.activeProp="value",this.guid=`calcite-slider-${l()}`,this.dragUpdate=t=>{if(!this.disabled&&(t.preventDefault(),this.dragProp)){const i=this.translate(t.clientX||t.pageX);if(P(this.value)&&"minMaxValue"===this.dragProp)if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=i-this.minValueDragRange,a=i+this.maxValueDragRange;a<=this.max&&t>=this.min&&a-t===this.minMaxValueRange&&this.setValue({minValue:this.clamp(t,"minValue"),maxValue:this.clamp(a,"maxValue")})}else this.minValueDragRange=i-this.minValue,this.maxValueDragRange=this.maxValue-i,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(i,this.dragProp)})}},this.pointerUpDragEnd=t=>{!this.disabled&&r(t)&&this.dragEnd(t)},this.dragEnd=t=>{this.disabled||(this.removeDragListeners(),this.focusActiveHandle(t.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null)},this.storeTrackRef=t=>{this.trackEl=t},this.determineGroupSeparator=t=>{if("number"==typeof t)return w.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},w.localize(t.toString())},this.disabled=!1,this.form=void 0,this.groupSeparator=!1,this.hasHistogram=!1,this.histogram=void 0,this.histogramStops=void 0,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.maxLabel=void 0,this.maxValue=void 0,this.min=0,this.minLabel=void 0,this.minValue=void 0,this.mirrored=!1,this.name=void 0,this.numberingSystem=void 0,this.pageStep=void 0,this.precise=!1,this.required=!1,this.snap=!1,this.step=1,this.ticks=void 0,this.value=0,this.scale="m",this.effectiveLocale="",this.minMaxValueRange=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.tickValues=[]}histogramWatcher(t){this.hasHistogram=!!t}valueHandler(){this.setMinMaxFromValue()}minMaxValueHandler(){this.setValueFromMinMax()}connectedCallback(){b(this),V(this),this.setMinMaxFromValue(),this.setValueFromMinMax(),g(this),c(this)}disconnectedCallback(){p(this),x(this),d(this),z(this),this.removeDragListeners()}componentWillLoad(){k(this),this.tickValues=this.generateTickValues(),P(this.value)||(this.value=this.clamp(this.value)),m(this,this.value),this.snap&&!P(this.value)&&(this.value=this.getClosestStep(this.value)),this.histogram&&(this.hasHistogram=!0)}componentDidLoad(){y(this)}componentDidRender(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),P(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),f(this)}render(){const t=this.el.id||this.guid,a=P(this.value)?"maxValue":"value",e=P(this.value)?this.maxValue:this.value,s=this.determineGroupSeparator(e),l=this.determineGroupSeparator(this.minValue),h=this.minValue||this.min,r=this.shouldUseMinValue(),o=100*this.getUnitInterval(r?this.minValue:h),c=100*this.getUnitInterval(e),d=this.shouldMirror(),m=`${d?100-o:o}%`,b=`${d?c:100-c}%`,p=P(this.value),f=`${j} handle__label--minValue`,v=`${j} handle__label--value`,g=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:t=>this.pointerDownDragStart(t,a),role:"slider",style:{right:b},tabIndex:0,ref:t=>this.maxHandle=t},i("div",{class:"handle"})),x=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:t=>this.pointerDownDragStart(t,a),role:"slider",style:{right:b},tabIndex:0,ref:t=>this.maxHandle=t},i("span",{"aria-hidden":"true",class:v},s),i("span",{"aria-hidden":"true",class:`${v} static`},s),i("span",{"aria-hidden":"true",class:`${v} transformed`},s),i("div",{class:"handle"})),k=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:t=>this.pointerDownDragStart(t,a),role:"slider",style:{right:b},tabIndex:0,ref:t=>this.maxHandle=t},i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:v},s),i("span",{"aria-hidden":"true",class:`${v} static`},s),i("span",{"aria-hidden":"true",class:`${v} transformed`},s)),y=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:t=>this.pointerDownDragStart(t,a),role:"slider",style:{right:b},tabIndex:0,ref:t=>this.maxHandle=t},i("div",{class:"handle"}),i("div",{class:"handle-extension"})),$=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:t=>this.pointerDownDragStart(t,a),role:"slider",style:{right:b},tabIndex:0,ref:t=>this.maxHandle=t},i("div",{class:"handle-extension"}),i("div",{class:"handle"})),w=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:t=>this.pointerDownDragStart(t,a),role:"slider",style:{right:b},tabIndex:0,ref:t=>this.maxHandle=t},i("span",{"aria-hidden":"true",class:v},s),i("span",{"aria-hidden":"true",class:`${v} static`},s),i("span",{"aria-hidden":"true",class:`${v} transformed`},s),i("div",{class:"handle"}),i("div",{class:"handle-extension"})),V=i("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":e,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===a,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=a,onPointerDown:t=>this.pointerDownDragStart(t,a),role:"slider",style:{right:b},tabIndex:0,ref:t=>this.maxHandle=t},i("div",{class:"handle-extension"}),i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:v},s),i("span",{"aria-hidden":"true",class:`${v} static`},s),i("span",{"aria-hidden":"true",class:`${v} transformed`},s)),z=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:t=>this.pointerDownDragStart(t,"minValue"),role:"slider",style:{left:m},tabIndex:0,ref:t=>this.minHandle=t},i("div",{class:"handle"})),M=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:t=>this.pointerDownDragStart(t,"minValue"),role:"slider",style:{left:m},tabIndex:0,ref:t=>this.minHandle=t},i("span",{"aria-hidden":"true",class:f},l),i("span",{"aria-hidden":"true",class:`${f} static`},l),i("span",{"aria-hidden":"true",class:`${f} transformed`},l),i("div",{class:"handle"})),D=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:t=>this.pointerDownDragStart(t,"minValue"),role:"slider",style:{left:m},tabIndex:0,ref:t=>this.minHandle=t},i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:f},l),i("span",{"aria-hidden":"true",class:`${f} static`},l),i("span",{"aria-hidden":"true",class:`${f} transformed`},l)),L=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:t=>this.pointerDownDragStart(t,"minValue"),role:"slider",style:{left:m},tabIndex:0,ref:t=>this.minHandle=t},i("div",{class:"handle-extension"}),i("div",{class:"handle"})),F=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:t=>this.pointerDownDragStart(t,"minValue"),role:"slider",style:{left:m},tabIndex:0,ref:t=>this.minHandle=t},i("div",{class:"handle-extension"}),i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:f},l),i("span",{"aria-hidden":"true",class:`${f} static`},l),i("span",{"aria-hidden":"true",class:`${f} transformed`},l));return i(n,{id:t,onTouchStart:this.handleTouchStart},i("div",{"aria-label":_(this),class:{container:!0,"container--range":p,[`scale--${this.scale}`]:!0}},this.renderGraph(),i("div",{class:"track",ref:this.storeTrackRef},i("div",{class:"track__range",onPointerDown:t=>this.pointerDownDragStart(t,"minMaxValue"),style:{left:`${d?100-c:o}%`,right:`${d?o:100-c}%`}}),i("div",{class:"ticks"},this.tickValues.map((t=>{const a=100*this.getUnitInterval(t)+"%";let s=t>=h&&t<=e;return r&&(s=t>=this.minValue&&t<=this.maxValue),i("span",{class:{tick:!0,"tick--active":s},style:{left:d?"":a,right:d?a:""}},this.renderTickLabel(t))})))),i("div",{class:"thumb-container"},!this.precise&&!this.labelHandles&&p&&z,!this.hasHistogram&&!this.precise&&this.labelHandles&&p&&M,this.precise&&!this.labelHandles&&p&&L,this.precise&&this.labelHandles&&p&&F,this.hasHistogram&&!this.precise&&this.labelHandles&&p&&D,!this.precise&&!this.labelHandles&&g,!this.hasHistogram&&!this.precise&&this.labelHandles&&x,!this.hasHistogram&&this.precise&&!this.labelHandles&&y,this.hasHistogram&&this.precise&&!this.labelHandles&&$,!this.hasHistogram&&this.precise&&this.labelHandles&&w,this.hasHistogram&&!this.precise&&this.labelHandles&&k,this.hasHistogram&&this.precise&&this.labelHandles&&V,i(u,{component:this}))))}renderGraph(){return this.histogram?i("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:P(this.value)?this.maxValue:this.value,highlightMin:P(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null}renderTickLabel(t){const a=P(this.value),e=t===this.min,s=t===this.max,n=this.determineGroupSeparator(t),l=i("span",{class:{tick__label:!0,"tick__label--min":e,"tick__label--max":s}},n);return this.labelTicks&&!this.hasHistogram&&!a||this.labelTicks&&!this.hasHistogram&&a&&!this.precise&&!this.labelHandles||this.labelTicks&&!this.hasHistogram&&a&&!this.precise&&this.labelHandles||this.labelTicks&&!this.hasHistogram&&a&&this.precise&&(e||s)||this.labelTicks&&this.hasHistogram&&!this.precise&&!this.labelHandles||this.labelTicks&&this.hasHistogram&&this.precise&&!this.labelHandles&&(e||s)||this.labelTicks&&this.hasHistogram&&!this.precise&&this.labelHandles&&(e||s)||this.labelTicks&&this.hasHistogram&&this.precise&&this.labelHandles&&(e||s)?l:null}keyDownHandler(t){const i=this.shouldMirror(),{activeProp:a,max:e,min:s,pageStep:n,step:l}=this,h=this[a],{key:r}=t;if(v(r))return void t.preventDefault();let o;if("ArrowUp"===r||"ArrowRight"===r?o=h+l*(i&&"ArrowRight"===r?-1:1):"ArrowDown"===r||"ArrowLeft"===r?o=h-l*(i&&"ArrowLeft"===r?-1:1):"PageUp"===r?n&&(o=h+n):"PageDown"===r?n&&(o=h-n):"Home"===r?o=s:"End"===r&&(o=e),isNaN(o))return;t.preventDefault();const c=Number(o.toFixed(M(l)));this.setValue({[a]:this.clamp(c,a)})}pointerDownHandler(t){if(this.disabled||!r(t))return;const i=t.clientX||t.pageX,a=this.translate(i);let e="value";P(this.value)&&(e=a>=this.minValue&&a<=this.maxValue&&"minMaxValue"===this.lastDragProp?"minMaxValue":Math.abs(this.maxValue-a)<Math.abs(this.minValue-a)||a>this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[e],this.dragStart(e),this.el.shadowRoot.querySelector(".thumb:active")||this.setValue({[e]:this.clamp(a,e)}),this.focusActiveHandle(i)}handleTouchStart(t){t.preventDefault()}async setFocus(){await $(this),(this.minHandle?this.minHandle:this.maxHandle)?.focus()}setValueFromMinMax(){const{minValue:t,maxValue:i}=this;"number"==typeof t&&"number"==typeof i&&(this.value=[t,i])}setMinMaxFromValue(){const{value:t}=this;P(t)&&(this.minValue=t[0],this.maxValue=t[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return!!P(this.value)&&(this.hasHistogram&&0===this.maxValue||!this.hasHistogram&&0===this.minValue)}generateTickValues(){const t=[];let i=this.min;for(;this.ticks&&i<this.max+this.ticks;)t.push(Math.min(i,this.max)),i+=this.ticks;return t}pointerDownDragStart(t,i){r(t)&&this.dragStart(i)}dragStart(t){this.dragProp=t,this.lastDragProp=this.dragProp,this.activeProp=t,document.addEventListener("pointermove",this.dragUpdate),document.addEventListener("pointerup",this.pointerUpDragEnd),document.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){switch(this.dragProp){case"minValue":this.minHandle.focus();break;case"maxValue":case"value":this.maxHandle.focus();break;case"minMaxValue":this.getClosestHandle(t).focus()}}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){document.removeEventListener("pointermove",this.dragUpdate),document.removeEventListener("pointerup",this.pointerUpDragEnd),document.removeEventListener("pointercancel",this.dragEnd)}setValue(t){let i;Object.keys(t).forEach((a=>{const e=t[a];i||(i=this[a]!==e),this[a]=e})),i&&(this.dragProp||this.emitChange(),this.emitInput())}clamp(t,i){return t=D(t,this.min,this.max),"maxValue"===i&&(t=Math.max(t,this.minValue)),"minValue"===i&&(t=Math.min(t,this.maxValue)),t}translate(t){const i=this.max-this.min,{left:a,width:e}=this.trackEl.getBoundingClientRect(),s=(t-a)/e,n=this.shouldMirror(),l=this.clamp(this.min+i*(n?1-s:s));let h=Number(l.toFixed(M(this.step)));return this.snap&&this.step&&(h=this.getClosestStep(h)),h}getClosestStep(t){if(t=Number(this.clamp(t).toFixed(M(this.step))),this.step){const i=Math.round(t/this.step)*this.step;t=Number(this.clamp(i).toFixed(M(this.step)))}return t}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,i){return Math.abs(t.getBoundingClientRect().left-i)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){return((t=this.clamp(t))-this.min)/(this.max-this.min)}adjustHostObscuredHandleLabel(t){const i=this.el.shadowRoot.querySelector(`.handle__label--${t}`),a=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`),e=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`),s=a.getBoundingClientRect(),n=this.getHostOffset(s.left,s.right);i.style.transform=`translateX(${n}px)`,e.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el,i=this.shouldMirror(),a=i?"value":"minValue",e=i?"minValue":"value",s=t.querySelector(`.handle__label--${a}`),n=t.querySelector(`.handle__label--${a}.static`),l=t.querySelector(`.handle__label--${a}.transformed`),h=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),r=t.querySelector(`.handle__label--${e}`),o=t.querySelector(`.handle__label--${e}.static`),c=t.querySelector(`.handle__label--${e}.transformed`),d=this.getHostOffset(o.getBoundingClientRect().left,o.getBoundingClientRect().right),m=this.getFontSizeForElement(s),u=this.getRangeLabelOverlap(l,c),b=s,p=m/2;if(u>0){if(b.classList.add("hyphen","hyphen--wrap"),0===d&&0===h){let t=u/2-p;t=-1===Math.sign(t)?Math.abs(t):-t;const i=this.getHostOffset(l.getBoundingClientRect().left+t-p,l.getBoundingClientRect().right+t-p);let a=u/2;const e=this.getHostOffset(c.getBoundingClientRect().left+a,c.getBoundingClientRect().right+a);0!==i&&(t+=i,a+=i),0!==e&&(t+=e,a+=e),s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`,r.style.transform=`translateX(${a}px)`,c.style.transform=`translateX(${a}px)`}else if(h>0||d>0)s.style.transform=`translateX(${h+p}px)`,r.style.transform=`translateX(${u+d}px)`,c.style.transform=`translateX(${u+d}px)`;else if(h<0||d<0){let t=Math.abs(h)+u-p;t=-1===Math.sign(t)?Math.abs(t):-t,s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`}}else b.classList.remove("hyphen","hyphen--wrap"),s.style.transform=`translateX(${h}px)`,l.style.transform=`translateX(${h}px)`,r.style.transform=`translateX(${d}px)`,c.style.transform=`translateX(${d}px)`}hideObscuredBoundingTickLabels(){const t=P(this.value);if(!(this.hasHistogram||t||this.labelHandles||this.precise))return;if(!this.hasHistogram&&!t&&this.labelHandles&&!this.precise)return;if(!this.hasHistogram&&!t&&!this.labelHandles&&this.precise)return;if(!this.hasHistogram&&!t&&this.labelHandles&&this.precise)return;if(!this.hasHistogram&&t&&!this.precise)return;if(this.hasHistogram&&!this.precise&&!this.labelHandles)return;const i=this.el.shadowRoot.querySelector(".thumb--minValue"),a=this.el.shadowRoot.querySelector(".thumb--value"),e=this.el.shadowRoot.querySelector(".tick__label--min"),s=this.el.shadowRoot.querySelector(".tick__label--max");!i&&a&&e&&s&&(e.style.opacity=this.isMinTickLabelObscured(e,a)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,a)?"0":"1"),i&&a&&e&&s&&(e.style.opacity=this.isMinTickLabelObscured(e,i)||this.isMinTickLabelObscured(e,a)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,i)||this.isMaxTickLabelObscured(s,a)&&this.hasHistogram?"0":"1")}getHostOffset(t,i){const a=this.el.getBoundingClientRect();return t+7<a.left?a.left-t-7:i-7>a.right?7-(i-a.right):0}getRangeLabelOverlap(t,i){const a=t.getBoundingClientRect(),e=i.getBoundingClientRect(),s=this.getFontSizeForElement(t);return Math.max(a.right+s-e.left,0)}isMinTickLabelObscured(t,i){const a=t.getBoundingClientRect(),e=i.getBoundingClientRect();return o(a,e)}isMaxTickLabelObscured(t,i){const a=t.getBoundingClientRect(),e=i.getBoundingClientRect();return o(a,e)}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{histogram:["histogramWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}}};X.style='@charset "UTF-8";@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size:0.625rem;--calcite-slider-handle-extension-height:0.4rem;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:0.875rem;--calcite-slider-handle-extension-height:0.5rem;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:1rem;--calcite-slider-handle-extension-height:0.65rem;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * 0.5);padding-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-inline:0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n );touch-action:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{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 )}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-0.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:0.25rem;inline-size:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);inset-block-start:-2px;pointer-events:none;margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-block-start:0.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{H as calcite_graph,X as calcite_slider}