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

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 (932) 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-7fd65338.js → p-04353e76.js} +3 -3
  4. package/dist/calcite/p-092ff805.js +6 -0
  5. package/dist/calcite/{p-6fe715b6.entry.js → p-097f5161.entry.js} +2 -2
  6. package/dist/calcite/{p-dd2b2c39.js → p-0be4cd2a.js} +2 -2
  7. package/dist/calcite/p-0c3f3f78.entry.js +6 -0
  8. package/dist/calcite/{p-208d996b.entry.js → p-0fc1a335.entry.js} +2 -2
  9. package/dist/calcite/{p-784dd443.entry.js → p-0fee7059.entry.js} +2 -2
  10. package/dist/calcite/{p-4aaf28e5.js → p-10741296.js} +2 -2
  11. package/dist/calcite/{p-8ef92a80.entry.js → p-117bb5b4.entry.js} +2 -2
  12. package/dist/calcite/{p-1dcba266.js → p-144232e0.js} +2 -2
  13. package/dist/calcite/{p-a3c1a8e9.entry.js → p-14b85f14.entry.js} +2 -2
  14. package/dist/calcite/{p-fdc4c73c.js → p-14db794e.js} +2 -2
  15. package/dist/calcite/{p-efdc0281.entry.js → p-15ef3ed0.entry.js} +2 -2
  16. package/dist/calcite/{p-46195eac.entry.js → p-1819fd91.entry.js} +2 -2
  17. package/dist/calcite/{p-91d6e90d.entry.js → p-1cca89ce.entry.js} +2 -2
  18. package/dist/calcite/{p-7d580749.js → p-1dbd37f5.js} +2 -2
  19. package/dist/calcite/p-1f30090b.entry.js +6 -0
  20. package/dist/calcite/{p-4d549633.js → p-21e813c9.js} +2 -2
  21. package/dist/calcite/{p-426178e4.entry.js → p-224ace4e.entry.js} +2 -2
  22. package/dist/calcite/{p-0f91dcca.js → p-24b81a4e.js} +2 -2
  23. package/dist/calcite/{p-23c18f39.entry.js → p-26036938.entry.js} +2 -2
  24. package/dist/calcite/{p-78b2ac58.entry.js → p-280f2f62.entry.js} +2 -2
  25. package/dist/calcite/{p-53422b6f.entry.js → p-29ac4a79.entry.js} +2 -2
  26. package/dist/calcite/{p-47dbe7c2.js → p-2a3a250a.js} +1 -1
  27. package/dist/calcite/{p-b1330d0e.js → p-2b34fe91.js} +1 -1
  28. package/dist/calcite/p-2c30189d.entry.js +6 -0
  29. package/dist/calcite/p-2cd08110.entry.js +6 -0
  30. package/dist/calcite/p-2e0a2f74.entry.js +6 -0
  31. package/dist/calcite/{p-1ec201a1.entry.js → p-2e354212.entry.js} +2 -2
  32. package/dist/calcite/p-2f32671f.entry.js +6 -0
  33. package/dist/calcite/{p-5c0860a8.js → p-300733db.js} +2 -2
  34. package/dist/calcite/{p-de55c665.js → p-3174a571.js} +2 -2
  35. package/dist/calcite/{p-e6131ab8.js → p-34799940.js} +2 -2
  36. package/dist/calcite/{p-156877f2.entry.js → p-35b39385.entry.js} +2 -2
  37. package/dist/calcite/{p-e5f1ff16.js → p-38bbd8b0.js} +2 -2
  38. package/dist/calcite/{p-078d63cc.js → p-38f1821b.js} +2 -2
  39. package/dist/calcite/{p-6deb15b9.js → p-3b492597.js} +2 -2
  40. package/dist/calcite/{p-106b0286.js → p-3cdbd1c5.js} +2 -2
  41. package/dist/calcite/{p-aea8d548.js → p-3d02d8d5.js} +2 -2
  42. package/dist/calcite/{p-46591114.js → p-41a49fd3.js} +2 -2
  43. package/dist/calcite/{p-b83d9eb3.js → p-435fa694.js} +2 -2
  44. package/dist/calcite/{p-f6698866.js → p-4658ff9f.js} +1 -1
  45. package/dist/calcite/{p-e9933ba0.entry.js → p-4690d2f9.entry.js} +2 -2
  46. package/dist/calcite/{p-92e57133.entry.js → p-4f48d2d3.entry.js} +2 -2
  47. package/dist/calcite/{p-1192e423.entry.js → p-5184ca68.entry.js} +2 -2
  48. package/dist/calcite/{p-0f3f4196.js → p-52844cc5.js} +2 -2
  49. package/dist/calcite/{p-b60c45a7.entry.js → p-529b26d7.entry.js} +2 -2
  50. package/dist/calcite/{p-336fc7ac.js → p-54f3b63c.js} +2 -2
  51. package/dist/calcite/{p-ddcd3b2c.js → p-57652aa7.js} +2 -2
  52. package/dist/calcite/{p-19a52eff.js → p-58e6580a.js} +2 -2
  53. package/dist/calcite/p-5946a67e.entry.js +6 -0
  54. package/dist/calcite/{p-6bb79e99.entry.js → p-5a2d6623.entry.js} +2 -2
  55. package/dist/calcite/{p-f7e51b9d.entry.js → p-5c7355d3.entry.js} +2 -2
  56. package/dist/calcite/{p-3a940fd3.js → p-6103d40e.js} +2 -2
  57. package/dist/calcite/{p-d1abb723.js → p-61323cd9.js} +2 -2
  58. package/dist/calcite/{p-a89c448b.js → p-62da44fa.js} +2 -2
  59. package/dist/calcite/{p-77bddbac.entry.js → p-638c9116.entry.js} +2 -2
  60. package/dist/calcite/{p-36b3b027.js → p-63e28f25.js} +2 -2
  61. package/dist/calcite/{p-27d57cf7.entry.js → p-653c0e4b.entry.js} +2 -2
  62. package/dist/calcite/{p-f57eb396.js → p-69a23ee0.js} +1 -1
  63. package/dist/calcite/{p-7c36053b.js → p-69bef96a.js} +2 -2
  64. package/dist/calcite/{p-2a5a2d2f.entry.js → p-6b046f17.entry.js} +2 -2
  65. package/dist/calcite/{p-57a9dde9.js → p-6be37da3.js} +2 -2
  66. package/dist/calcite/{p-865dbb48.js → p-750c4ac9.js} +1 -1
  67. package/dist/calcite/{p-054ba160.js → p-7776ba0c.js} +1 -1
  68. package/dist/calcite/{p-aaa16dee.entry.js → p-77e2a8fd.entry.js} +2 -2
  69. package/dist/calcite/{p-363df208.entry.js → p-7a797e5a.entry.js} +2 -2
  70. package/dist/calcite/{p-cc2fe7b7.js → p-7dc1a111.js} +2 -2
  71. package/dist/calcite/{p-50d4a239.entry.js → p-7eba835c.entry.js} +2 -2
  72. package/dist/calcite/{p-439f3259.entry.js → p-7f4c855b.entry.js} +2 -2
  73. package/dist/calcite/{p-c6c9ca25.js → p-7fb324cf.js} +2 -2
  74. package/dist/calcite/{p-6c699a0d.entry.js → p-845f5385.entry.js} +2 -2
  75. package/dist/calcite/p-845fb634.entry.js +6 -0
  76. package/dist/calcite/{p-7ea06544.js → p-84955180.js} +1 -1
  77. package/dist/calcite/{p-051a29d1.entry.js → p-84ad8f60.entry.js} +2 -2
  78. package/dist/calcite/{p-eec7b53e.entry.js → p-85315de7.entry.js} +2 -2
  79. package/dist/calcite/{p-09a4371e.entry.js → p-914f3109.entry.js} +2 -2
  80. package/dist/calcite/{p-2c56390d.js → p-9174ff58.js} +2 -2
  81. package/dist/calcite/{p-7edf646a.entry.js → p-919a4689.entry.js} +2 -2
  82. package/dist/calcite/{p-5975150d.entry.js → p-94d6eee9.entry.js} +2 -2
  83. package/dist/calcite/{p-27911fe3.js → p-94f496ad.js} +2 -2
  84. package/dist/calcite/{p-fe9dddf4.js → p-95effea5.js} +2 -2
  85. package/dist/calcite/{p-aab67713.entry.js → p-97ecf96f.entry.js} +2 -2
  86. package/dist/calcite/{p-aae305f8.js → p-9a7b16f3.js} +2 -2
  87. package/dist/calcite/{p-38a09ef6.js → p-9aa99bb3.js} +2 -2
  88. package/dist/calcite/{p-7e069e37.js → p-9b831320.js} +2 -2
  89. package/dist/calcite/{p-dd37361c.entry.js → p-9d4f81ef.entry.js} +2 -2
  90. package/dist/calcite/{p-8caf1ab0.entry.js → p-a041d768.entry.js} +2 -2
  91. package/dist/calcite/{p-594413da.entry.js → p-a12a187a.entry.js} +2 -2
  92. package/dist/calcite/p-a223209d.js +6 -0
  93. package/dist/calcite/{p-4f912bd8.entry.js → p-a2649dba.entry.js} +2 -2
  94. package/dist/calcite/{p-c22482cf.entry.js → p-a35263d2.entry.js} +2 -2
  95. package/dist/calcite/{p-5cb6940e.js → p-a5b3567d.js} +2 -2
  96. package/dist/calcite/{p-d16b44a4.js → p-a5d1d6fd.js} +2 -2
  97. package/dist/calcite/{p-dac27f1e.js → p-ac2ae787.js} +2 -2
  98. package/dist/calcite/{p-2f42c9b9.js → p-ad08c153.js} +2 -2
  99. package/dist/calcite/p-ae51ac4d.entry.js +6 -0
  100. package/dist/calcite/{p-a79d1d20.js → p-b131cc97.js} +2 -2
  101. package/dist/calcite/{p-b5204d19.js → p-b2093f74.js} +2 -2
  102. package/dist/calcite/{p-3385d204.entry.js → p-b2f667b5.entry.js} +2 -2
  103. package/dist/calcite/{p-fd156bb4.js → p-b353a4bf.js} +1 -1
  104. package/dist/calcite/{p-9ef74b9c.entry.js → p-b3de1481.entry.js} +2 -2
  105. package/dist/calcite/{p-d45b3da7.js → p-b478aeae.js} +2 -2
  106. package/dist/calcite/{p-f5a45ab6.js → p-b48e2ca4.js} +2 -2
  107. package/dist/calcite/{p-aa2248f0.entry.js → p-b4f99b24.entry.js} +2 -2
  108. package/dist/calcite/{p-c7d683a6.js → p-b5be7f42.js} +2 -2
  109. package/dist/calcite/{p-c9097600.entry.js → p-b77afe28.entry.js} +2 -2
  110. package/dist/calcite/{p-d1b8efb4.js → p-b92a1fa2.js} +2 -2
  111. package/dist/calcite/{p-45b3faf3.js → p-ba450dc5.js} +2 -2
  112. package/dist/calcite/p-c0e2352a.js +6 -0
  113. package/dist/calcite/{p-fb45e2f6.js → p-c19db2f5.js} +2 -2
  114. package/dist/calcite/{p-0320d585.entry.js → p-c57d690c.entry.js} +2 -2
  115. package/dist/calcite/{p-4f0a8f11.js → p-c6a2cae3.js} +2 -2
  116. package/dist/calcite/{p-60c643f4.js → p-c6a8952d.js} +2 -2
  117. package/dist/calcite/{p-f6a858c6.entry.js → p-c71e80d8.entry.js} +2 -2
  118. package/dist/calcite/{p-337b67b4.js → p-c866115b.js} +1 -1
  119. package/dist/calcite/{p-8a4ca024.entry.js → p-cb89af1d.entry.js} +2 -2
  120. package/dist/calcite/{p-24ca13e2.js → p-cd0c23d6.js} +2 -2
  121. package/dist/calcite/p-cdc3f280.entry.js +6 -0
  122. package/dist/calcite/{p-41b1321b.entry.js → p-ce58d21f.entry.js} +2 -2
  123. package/dist/calcite/{p-8195ddfa.js → p-d15719d4.js} +1 -1
  124. package/dist/calcite/{p-55c1076e.js → p-d170dbf7.js} +2 -2
  125. package/dist/calcite/{p-adcd2a69.entry.js → p-d2d821ec.entry.js} +2 -2
  126. package/dist/calcite/{p-399eddb7.js → p-d32d0087.js} +2 -2
  127. package/dist/calcite/{p-41ba50cf.js → p-d4fadb3c.js} +2 -2
  128. package/dist/calcite/{p-c280f5a2.js → p-d5c3bee4.js} +1 -1
  129. package/dist/calcite/{p-e2e520cb.js → p-d7d25b77.js} +1 -1
  130. package/dist/calcite/{p-0dc0cd78.js → p-d96082db.js} +2 -2
  131. package/dist/calcite/{p-dd6954f2.entry.js → p-dde6ec25.entry.js} +2 -2
  132. package/dist/calcite/{p-d8441934.entry.js → p-df47674a.entry.js} +2 -2
  133. package/dist/calcite/{p-ac9d2d24.js → p-df7700a5.js} +2 -2
  134. package/dist/calcite/{p-8c6907e5.js → p-dfbb877c.js} +2 -2
  135. package/dist/calcite/{p-220447a7.js → p-e04a8f6e.js} +2 -2
  136. package/dist/calcite/p-e12ee963.js +6 -0
  137. package/dist/calcite/{p-2d424b11.js → p-e298ebd6.js} +2 -2
  138. package/dist/calcite/{p-21ae4b68.js → p-e595b2d4.js} +2 -2
  139. package/dist/calcite/{p-ba804087.entry.js → p-e72686e9.entry.js} +2 -2
  140. package/dist/calcite/{p-ffd68761.entry.js → p-e76d0305.entry.js} +2 -2
  141. package/dist/calcite/{p-e5a02d98.js → p-e9ccfe07.js} +1 -1
  142. package/dist/calcite/{p-12b6dedc.entry.js → p-ee1f8b50.entry.js} +2 -2
  143. package/dist/calcite/p-ee88ea18.entry.js +6 -0
  144. package/dist/calcite/{p-6208554a.js → p-f38c6b84.js} +2 -2
  145. package/dist/calcite/{p-26d58913.js → p-f548b56e.js} +2 -2
  146. package/dist/calcite/{p-eea9518f.js → p-f7200ce4.js} +2 -2
  147. package/dist/calcite/{p-a01007d7.entry.js → p-f8bdb1c9.entry.js} +2 -2
  148. package/dist/calcite/{p-61cc42b8.js → p-f971ccec.js} +2 -2
  149. package/dist/calcite/{p-a5c47981.js → p-f9ef3fa5.js} +2 -2
  150. package/dist/calcite/{p-a11512bc.js → p-fc5d92f8.js} +2 -2
  151. package/dist/calcite/{p-86b0724c.js → p-fc626d9f.js} +1 -1
  152. package/dist/calcite/{p-3863ae4c.entry.js → p-fd3ec035.entry.js} +2 -2
  153. package/dist/cjs/{ExpandToggle-0e43fe29.js → ExpandToggle-653be9a2.js} +5 -5
  154. package/dist/cjs/{FloatingArrow-bc506725.js → FloatingArrow-bb98629d.js} +2 -2
  155. package/dist/cjs/{Heading-93968223.js → Heading-58d9199f.js} +2 -2
  156. package/dist/cjs/{app-globals-cf38df09.js → app-globals-cff70b2e.js} +2 -2
  157. package/dist/cjs/{ar-feb9ceca.js → ar-609e6228.js} +15 -15
  158. package/dist/cjs/{array-8236b65f.js → array-c97da00b.js} +1 -1
  159. package/dist/cjs/{bg-f89dfdac.js → bg-7d5cc53d.js} +15 -15
  160. package/dist/cjs/{bs-4b71f72f.js → bs-0d1f2bb5.js} +15 -15
  161. package/dist/cjs/{ca-45d0ed0c.js → ca-1934c1d1.js} +15 -15
  162. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  163. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  164. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  165. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  166. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  167. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  168. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  169. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  170. package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
  171. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  172. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  173. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  174. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
  175. package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
  176. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
  177. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  178. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  179. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  180. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  181. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  182. package/dist/cjs/calcite-flow-item.cjs.entry.js +15 -17
  183. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  184. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  185. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  186. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  187. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  188. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
  189. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  190. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  191. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  192. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-30d9d752.js → calcite-input-time-picker.calcite-time-picker-cf72d58d.js} +60 -60
  193. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
  194. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
  195. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  196. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  197. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  198. package/dist/cjs/calcite-list_3.cjs.entry.js +14 -14
  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 +10 -10
  205. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  206. package/dist/cjs/calcite-panel.cjs.entry.js +23 -21
  207. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  208. package/dist/cjs/calcite-popover.cjs.entry.js +16 -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 +10 -10
  212. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  213. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  214. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  215. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  216. package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
  217. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  218. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  220. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
  222. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  223. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  224. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  225. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  226. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  227. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  228. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  229. package/dist/cjs/calcite.cjs.js +5 -5
  230. package/dist/cjs/{conditionalSlot-07ff4561.js → conditionalSlot-7a06b01b.js} +3 -3
  231. package/dist/cjs/{cs-4b7798bd.js → cs-d754b964.js} +15 -15
  232. package/dist/cjs/{da-2466c137.js → da-6daa4e21.js} +15 -15
  233. package/dist/cjs/{de-at-70b170c7.js → de-at-7da8f76a.js} +15 -15
  234. package/dist/cjs/{de-4a4549ff.js → de-b0160697.js} +15 -15
  235. package/dist/cjs/{de-ch-a6327ea6.js → de-ch-3208ea0e.js} +15 -15
  236. package/dist/cjs/{debounce-20d3c430.js → debounce-b46acc60.js} +1 -1
  237. package/dist/cjs/{dom-b7601405.js → dom-d239030e.js} +3 -3
  238. package/dist/cjs/{el-8560472c.js → el-58bd1549.js} +15 -15
  239. package/dist/cjs/{en-au-d9fa0446.js → en-au-5f9deedf.js} +15 -15
  240. package/dist/cjs/{en-ca-7591f85e.js → en-ca-5118b847.js} +15 -15
  241. package/dist/cjs/{en-gb-5e40fe51.js → en-gb-281f6b7a.js} +15 -15
  242. package/dist/cjs/{es-8a460492.js → es-137f55eb.js} +15 -15
  243. package/dist/cjs/{es-mx-ae6f2d54.js → es-mx-2cf8c446.js} +15 -15
  244. package/dist/cjs/{et-78274162.js → et-a75c5571.js} +15 -15
  245. package/dist/cjs/{fi-61aad834.js → fi-35e99701.js} +15 -15
  246. package/dist/cjs/{filter-9d63d74c.js → filter-99037d25.js} +2 -2
  247. package/dist/cjs/{floating-ui-a0ae9786.js → floating-ui-2e192aed.js} +3 -3
  248. package/dist/cjs/{focusTrapComponent-7a217706.js → focusTrapComponent-6c7436a0.js} +2 -2
  249. package/dist/cjs/{form-c8a8a683.js → form-93f5d2a3.js} +3 -3
  250. package/dist/cjs/{fr-77009092.js → fr-c9b347ce.js} +15 -15
  251. package/dist/cjs/{fr-ch-5d01f51d.js → fr-ch-7ef26e9f.js} +15 -15
  252. package/dist/cjs/{guid-1a635f47.js → guid-405206fa.js} +1 -1
  253. package/dist/cjs/{he-7045f045.js → he-7818db15.js} +15 -15
  254. package/dist/cjs/{hi-074ec003.js → hi-717ab5ea.js} +15 -15
  255. package/dist/cjs/{hr-669decd6.js → hr-d6693164.js} +15 -15
  256. package/dist/cjs/{hu-134015d1.js → hu-2e483c27.js} +15 -15
  257. package/dist/cjs/{id-03937715.js → id-39e1b47b.js} +15 -15
  258. package/dist/cjs/{index-9f8ce657.js → index-4ef127a6.js} +1 -1
  259. package/dist/cjs/index.cjs.js +2 -2
  260. package/dist/cjs/{interactive-793314f0.js → interactive-e43cca2c.js} +1 -1
  261. package/dist/cjs/{it-ch-25c9e1e8.js → it-ch-6d9c32d3.js} +15 -15
  262. package/dist/cjs/{it-adbd27d2.js → it-e149a4bc.js} +15 -15
  263. package/dist/cjs/{ja-8ea54597.js → ja-5f62c23a.js} +15 -15
  264. package/dist/cjs/{key-e590036d.js → key-9b962086.js} +1 -1
  265. package/dist/cjs/{ko-788d1284.js → ko-b74565c0.js} +15 -15
  266. package/dist/cjs/{label-22e5c734.js → label-1c751208.js} +2 -2
  267. package/dist/cjs/{loadable-d46f87a1.js → loadable-9612f08e.js} +2 -2
  268. package/dist/cjs/loader.cjs.js +5 -5
  269. package/dist/cjs/{locale-7c3cc149.js → locale-ed9b43a1.js} +4 -4
  270. package/dist/cjs/{lt-67f272cf.js → lt-423a7064.js} +15 -15
  271. package/dist/cjs/{lv-607d835c.js → lv-51679d7f.js} +15 -15
  272. package/dist/cjs/{math-1f430ebd.js → math-7757f6f9.js} +1 -1
  273. package/dist/cjs/{mk-6c281ecb.js → mk-455f0098.js} +15 -15
  274. package/dist/cjs/{nb-770d2ac4.js → nb-c4d96ec0.js} +15 -15
  275. package/dist/cjs/{nl-08ac2b61.js → nl-e5a1f413.js} +15 -15
  276. package/dist/cjs/{observers-e29e2712.js → observers-37aeb9e9.js} +1 -1
  277. package/dist/cjs/{openCloseComponent-a4424982.js → openCloseComponent-ab74c170.js} +2 -2
  278. package/dist/cjs/{pl-a49d052b.js → pl-de0078f2.js} +15 -15
  279. package/dist/cjs/{pt-64426b43.js → pt-55270961.js} +15 -15
  280. package/dist/cjs/{pt-br-cad4fd70.js → pt-br-a4343991.js} +15 -15
  281. package/dist/cjs/{resources-53205b63.js → resources-0415b361.js} +5 -5
  282. package/dist/cjs/{resources-ae7ab81c.js → resources-2a7d8c55.js} +3 -1
  283. package/dist/cjs/{resources-e1ff380a.js → resources-304d2ccf.js} +1 -1
  284. package/dist/cjs/{resources-8b9a4cef.js → resources-5b794888.js} +1 -1
  285. package/dist/cjs/{resources-6411f940.js → resources-82518fe3.js} +1 -1
  286. package/dist/cjs/{resources-bb06ebc6.js → resources-a11328ed.js} +1 -1
  287. package/dist/cjs/{resources-53a07e71.js → resources-ef7496dd.js} +1 -1
  288. package/dist/cjs/{ro-2f98c827.js → ro-95569186.js} +15 -15
  289. package/dist/cjs/{ru-23622748.js → ru-086c7a66.js} +15 -15
  290. package/dist/cjs/{sk-dfa9ba58.js → sk-1fcb6755.js} +15 -15
  291. package/dist/cjs/{sl-8fb67a20.js → sl-5cc42baf.js} +15 -15
  292. package/dist/cjs/{sortableComponent-b6c07723.js → sortableComponent-680dcb95.js} +2 -2
  293. package/dist/cjs/{sr-515d97f2.js → sr-f89e097c.js} +15 -15
  294. package/dist/cjs/{sv-b977c7fd.js → sv-2089e9b1.js} +15 -15
  295. package/dist/cjs/{t9n-8444b9f7.js → t9n-516375d7.js} +3 -3
  296. package/dist/cjs/{th-a3d3bf05.js → th-817fafd6.js} +15 -15
  297. package/dist/cjs/{throttle-372c046a.js → throttle-7942849b.js} +2 -2
  298. package/dist/cjs/{tr-38ef1b42.js → tr-c939fc06.js} +15 -15
  299. package/dist/cjs/{uk-e9946342.js → uk-bc2c00ec.js} +15 -15
  300. package/dist/cjs/{utils-735c4640.js → utils-cf24aeaa.js} +1 -1
  301. package/dist/cjs/{utils-d6910e24.js → utils-ffeb3242.js} +3 -3
  302. package/dist/cjs/{vi-cb142c0e.js → vi-e204b466.js} +15 -15
  303. package/dist/cjs/{zh-cn-ac74a6ba.js → zh-cn-3fcf68c4.js} +15 -15
  304. package/dist/cjs/{zh-hk-2c3476ce.js → zh-hk-ef10e082.js} +15 -15
  305. package/dist/cjs/{zh-tw-d30b8d31.js → zh-tw-aacb6236.js} +15 -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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  333. package/dist/collection/components/chip/chip.js +1 -1
  334. package/dist/collection/components/chip/resources.js +1 -1
  335. package/dist/collection/components/chip-group/chip-group.js +1 -1
  336. package/dist/collection/components/color-picker/color-picker.js +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  364. package/dist/collection/components/fab/resources.js +1 -1
  365. package/dist/collection/components/filter/filter.js +1 -1
  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 -7
  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 +1 -1
  383. package/dist/collection/components/inline-editable/resources.js +1 -1
  384. package/dist/collection/components/input/input.js +1 -1
  385. package/dist/collection/components/input/resources.js +1 -1
  386. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  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 +1 -1
  391. package/dist/collection/components/input-number/resources.js +1 -1
  392. package/dist/collection/components/input-text/input-text.js +1 -1
  393. package/dist/collection/components/input-text/resources.js +1 -1
  394. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  395. package/dist/collection/components/input-time-picker/resources.js +1 -1
  396. package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
  397. package/dist/collection/components/input-time-zone/utils.js +1 -1
  398. package/dist/collection/components/label/label.js +1 -1
  399. package/dist/collection/components/label/resources.js +1 -1
  400. package/dist/collection/components/link/link.js +1 -1
  401. package/dist/collection/components/list/list.js +1 -1
  402. package/dist/collection/components/list/resources.js +1 -1
  403. package/dist/collection/components/list-item/list-item.js +1 -1
  404. package/dist/collection/components/list-item/resources.js +1 -1
  405. package/dist/collection/components/list-item/utils.js +1 -1
  406. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  407. package/dist/collection/components/list-item-group/resources.js +1 -1
  408. package/dist/collection/components/loader/loader.js +1 -1
  409. package/dist/collection/components/menu/menu.js +1 -1
  410. package/dist/collection/components/menu-item/menu-item.js +1 -1
  411. package/dist/collection/components/menu-item/resources.js +1 -1
  412. package/dist/collection/components/modal/modal.js +1 -1
  413. package/dist/collection/components/modal/resources.js +1 -1
  414. package/dist/collection/components/navigation/navigation.js +1 -1
  415. package/dist/collection/components/navigation/resources.js +1 -1
  416. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  417. package/dist/collection/components/navigation-logo/resources.js +1 -1
  418. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  419. package/dist/collection/components/navigation-user/resources.js +1 -1
  420. package/dist/collection/components/notice/notice.js +1 -1
  421. package/dist/collection/components/notice/resources.js +1 -1
  422. package/dist/collection/components/option/option.js +1 -1
  423. package/dist/collection/components/option-group/option-group.js +1 -1
  424. package/dist/collection/components/pagination/pagination.js +1 -1
  425. package/dist/collection/components/pagination/resources.js +1 -1
  426. package/dist/collection/components/panel/panel.css +12 -2
  427. package/dist/collection/components/panel/panel.js +11 -8
  428. package/dist/collection/components/panel/resources.js +3 -1
  429. package/dist/collection/components/pick-list/pick-list.js +1 -1
  430. package/dist/collection/components/pick-list/resources.js +1 -1
  431. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  432. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  433. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  434. package/dist/collection/components/pick-list-group/resources.js +1 -1
  435. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  436. package/dist/collection/components/pick-list-item/resources.js +1 -1
  437. package/dist/collection/components/popover/PopoverManager.js +1 -1
  438. package/dist/collection/components/popover/popover.js +1 -1
  439. package/dist/collection/components/popover/resources.js +1 -1
  440. package/dist/collection/components/progress/progress.js +1 -1
  441. package/dist/collection/components/radio-button/radio-button.js +1 -1
  442. package/dist/collection/components/radio-button/resources.js +1 -1
  443. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  444. package/dist/collection/components/rating/function/star.js +1 -1
  445. package/dist/collection/components/rating/rating.js +1 -1
  446. package/dist/collection/components/resources.js +1 -1
  447. package/dist/collection/components/scrim/resources.js +1 -1
  448. package/dist/collection/components/scrim/scrim.js +1 -1
  449. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  450. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  451. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  452. package/dist/collection/components/select/resources.js +1 -1
  453. package/dist/collection/components/select/select.js +1 -1
  454. package/dist/collection/components/shell/resources.js +1 -1
  455. package/dist/collection/components/shell/shell.js +1 -1
  456. package/dist/collection/components/shell-center-row/resources.js +1 -1
  457. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  458. package/dist/collection/components/shell-panel/resources.js +1 -1
  459. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  460. package/dist/collection/components/slider/resources.js +1 -1
  461. package/dist/collection/components/slider/slider.js +1 -1
  462. package/dist/collection/components/sortable-list/resources.js +1 -1
  463. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  464. package/dist/collection/components/split-button/resources.js +1 -1
  465. package/dist/collection/components/split-button/split-button.js +1 -1
  466. package/dist/collection/components/stack/resources.js +1 -1
  467. package/dist/collection/components/stack/stack.js +1 -1
  468. package/dist/collection/components/stepper/stepper.js +1 -1
  469. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  470. package/dist/collection/components/switch/switch.js +1 -1
  471. package/dist/collection/components/tab/tab.js +1 -1
  472. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  473. package/dist/collection/components/tab-title/resources.js +1 -1
  474. package/dist/collection/components/tab-title/tab-title.js +1 -1
  475. package/dist/collection/components/tabs/resources.js +1 -1
  476. package/dist/collection/components/tabs/tabs.js +1 -1
  477. package/dist/collection/components/text-area/resources.js +1 -1
  478. package/dist/collection/components/text-area/text-area.js +1 -1
  479. package/dist/collection/components/tile/resources.js +1 -1
  480. package/dist/collection/components/tile/tile.js +1 -1
  481. package/dist/collection/components/tile-select/resources.js +1 -1
  482. package/dist/collection/components/tile-select/tile-select.js +1 -1
  483. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  484. package/dist/collection/components/time-picker/resources.js +1 -1
  485. package/dist/collection/components/time-picker/time-picker.js +1 -1
  486. package/dist/collection/components/tip/resources.js +1 -1
  487. package/dist/collection/components/tip/tip.js +1 -1
  488. package/dist/collection/components/tip-group/tip-group.js +1 -1
  489. package/dist/collection/components/tip-manager/resources.js +1 -1
  490. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  491. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  492. package/dist/collection/components/tooltip/resources.js +1 -1
  493. package/dist/collection/components/tooltip/tooltip.js +1 -1
  494. package/dist/collection/components/tooltip/utils.js +1 -1
  495. package/dist/collection/components/tree/tree.js +1 -1
  496. package/dist/collection/components/tree/utils.js +1 -1
  497. package/dist/collection/components/tree-item/resources.js +1 -1
  498. package/dist/collection/components/tree-item/tree-item.js +1 -1
  499. package/dist/collection/components/value-list/resources.js +1 -1
  500. package/dist/collection/components/value-list/utils.js +1 -1
  501. package/dist/collection/components/value-list/value-list.js +1 -1
  502. package/dist/collection/components/value-list-item/resources.js +1 -1
  503. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  504. package/dist/collection/index.js +1 -1
  505. package/dist/collection/utils/array.js +1 -1
  506. package/dist/collection/utils/browser.js +1 -1
  507. package/dist/collection/utils/conditionalSlot.js +1 -1
  508. package/dist/collection/utils/config.js +1 -1
  509. package/dist/collection/utils/date.js +1 -1
  510. package/dist/collection/utils/dom.js +1 -1
  511. package/dist/collection/utils/filter.js +1 -1
  512. package/dist/collection/utils/floating-ui.js +1 -1
  513. package/dist/collection/utils/focusTrapComponent.js +1 -1
  514. package/dist/collection/utils/form.js +1 -1
  515. package/dist/collection/utils/globalAttributes.js +1 -1
  516. package/dist/collection/utils/globalScript.js +1 -1
  517. package/dist/collection/utils/guid.js +1 -1
  518. package/dist/collection/utils/interactive.js +1 -1
  519. package/dist/collection/utils/key.js +1 -1
  520. package/dist/collection/utils/label.js +1 -1
  521. package/dist/collection/utils/loadable.js +1 -1
  522. package/dist/collection/utils/locale.js +1 -1
  523. package/dist/collection/utils/math.js +1 -1
  524. package/dist/collection/utils/mode.js +1 -1
  525. package/dist/collection/utils/number.js +1 -1
  526. package/dist/collection/utils/observers.js +1 -1
  527. package/dist/collection/utils/openCloseComponent.js +1 -1
  528. package/dist/collection/utils/resources.js +1 -1
  529. package/dist/collection/utils/sortableComponent.js +1 -1
  530. package/dist/collection/utils/t9n.js +1 -1
  531. package/dist/collection/utils/time.js +1 -1
  532. package/dist/components/ExpandToggle.js +1 -1
  533. package/dist/components/FloatingArrow.js +1 -1
  534. package/dist/components/Heading.js +1 -1
  535. package/dist/components/action-group.js +1 -1
  536. package/dist/components/action-menu.js +1 -1
  537. package/dist/components/action.js +1 -1
  538. package/dist/components/ar.js +1 -1
  539. package/dist/components/array.js +1 -1
  540. package/dist/components/avatar.js +2 -2
  541. package/dist/components/bg.js +1 -1
  542. package/dist/components/bs.js +1 -1
  543. package/dist/components/button.js +1 -1
  544. package/dist/components/ca.js +1 -1
  545. package/dist/components/calcite-accordion-item.js +1 -1
  546. package/dist/components/calcite-accordion.js +1 -1
  547. package/dist/components/calcite-action-bar.js +1 -1
  548. package/dist/components/calcite-action-group.js +1 -1
  549. package/dist/components/calcite-action-menu.js +1 -1
  550. package/dist/components/calcite-action-pad.js +1 -1
  551. package/dist/components/calcite-action.js +1 -1
  552. package/dist/components/calcite-alert.js +1 -1
  553. package/dist/components/calcite-avatar.js +1 -1
  554. package/dist/components/calcite-block-section.js +1 -1
  555. package/dist/components/calcite-block.js +1 -1
  556. package/dist/components/calcite-button.js +1 -1
  557. package/dist/components/calcite-card.js +1 -1
  558. package/dist/components/calcite-checkbox.js +1 -1
  559. package/dist/components/calcite-chip-group.js +1 -1
  560. package/dist/components/calcite-chip.js +1 -1
  561. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  562. package/dist/components/calcite-color-picker-swatch.js +1 -1
  563. package/dist/components/calcite-color-picker.js +1 -1
  564. package/dist/components/calcite-combobox-item-group.js +1 -1
  565. package/dist/components/calcite-combobox-item.js +1 -1
  566. package/dist/components/calcite-combobox.js +1 -1
  567. package/dist/components/calcite-date-picker-day.js +1 -1
  568. package/dist/components/calcite-date-picker-month-header.js +1 -1
  569. package/dist/components/calcite-date-picker-month.js +1 -1
  570. package/dist/components/calcite-date-picker.js +1 -1
  571. package/dist/components/calcite-dropdown-group.js +1 -1
  572. package/dist/components/calcite-dropdown-item.js +1 -1
  573. package/dist/components/calcite-dropdown.js +1 -1
  574. package/dist/components/calcite-fab.js +1 -1
  575. package/dist/components/calcite-filter.js +1 -1
  576. package/dist/components/calcite-flow-item.js +18 -27
  577. package/dist/components/calcite-flow.js +1 -1
  578. package/dist/components/calcite-graph.js +1 -1
  579. package/dist/components/calcite-handle.js +1 -1
  580. package/dist/components/calcite-icon.js +1 -1
  581. package/dist/components/calcite-inline-editable.js +1 -1
  582. package/dist/components/calcite-input-date-picker.js +1 -1
  583. package/dist/components/calcite-input-message.js +1 -1
  584. package/dist/components/calcite-input-number.js +1 -1
  585. package/dist/components/calcite-input-text.js +1 -1
  586. package/dist/components/calcite-input-time-picker.js +1 -1
  587. package/dist/components/calcite-input-time-zone.js +1 -1
  588. package/dist/components/calcite-input.js +1 -1
  589. package/dist/components/calcite-label.js +1 -1
  590. package/dist/components/calcite-link.js +1 -1
  591. package/dist/components/calcite-list-item-group.js +1 -1
  592. package/dist/components/calcite-list-item.js +1 -1
  593. package/dist/components/calcite-list.js +1 -1
  594. package/dist/components/calcite-loader.js +1 -1
  595. package/dist/components/calcite-menu-item.js +1 -1
  596. package/dist/components/calcite-menu.js +1 -1
  597. package/dist/components/calcite-modal.js +1 -1
  598. package/dist/components/calcite-navigation-logo.js +1 -1
  599. package/dist/components/calcite-navigation-user.js +1 -1
  600. package/dist/components/calcite-navigation.js +1 -1
  601. package/dist/components/calcite-notice.js +1 -1
  602. package/dist/components/calcite-option-group.js +1 -1
  603. package/dist/components/calcite-option.js +1 -1
  604. package/dist/components/calcite-pagination.js +1 -1
  605. package/dist/components/calcite-panel.js +1 -1
  606. package/dist/components/calcite-pick-list-group.js +1 -1
  607. package/dist/components/calcite-pick-list-item.js +1 -1
  608. package/dist/components/calcite-pick-list.js +1 -1
  609. package/dist/components/calcite-popover.js +1 -1
  610. package/dist/components/calcite-progress.js +1 -1
  611. package/dist/components/calcite-radio-button-group.js +1 -1
  612. package/dist/components/calcite-radio-button.js +1 -1
  613. package/dist/components/calcite-rating.js +1 -1
  614. package/dist/components/calcite-scrim.js +1 -1
  615. package/dist/components/calcite-segmented-control-item.js +1 -1
  616. package/dist/components/calcite-segmented-control.js +1 -1
  617. package/dist/components/calcite-select.js +1 -1
  618. package/dist/components/calcite-shell-center-row.js +1 -1
  619. package/dist/components/calcite-shell-panel.js +1 -1
  620. package/dist/components/calcite-shell.js +1 -1
  621. package/dist/components/calcite-slider.js +1 -1
  622. package/dist/components/calcite-sortable-list.js +1 -1
  623. package/dist/components/calcite-split-button.js +1 -1
  624. package/dist/components/calcite-stack.js +1 -1
  625. package/dist/components/calcite-stepper-item.js +1 -1
  626. package/dist/components/calcite-stepper.js +1 -1
  627. package/dist/components/calcite-switch.js +1 -1
  628. package/dist/components/calcite-tab-nav.js +1 -1
  629. package/dist/components/calcite-tab-title.js +1 -1
  630. package/dist/components/calcite-tab.js +1 -1
  631. package/dist/components/calcite-tabs.js +1 -1
  632. package/dist/components/calcite-text-area.js +1 -1
  633. package/dist/components/calcite-tile-select-group.js +1 -1
  634. package/dist/components/calcite-tile-select.js +1 -1
  635. package/dist/components/calcite-tile.js +1 -1
  636. package/dist/components/calcite-time-picker.js +1 -1
  637. package/dist/components/calcite-tip-group.js +1 -1
  638. package/dist/components/calcite-tip-manager.js +1 -1
  639. package/dist/components/calcite-tip.js +1 -1
  640. package/dist/components/calcite-tooltip.js +440 -2
  641. package/dist/components/calcite-tree-item.js +2 -2
  642. package/dist/components/calcite-tree.js +2 -2
  643. package/dist/components/calcite-value-list-item.js +1 -1
  644. package/dist/components/calcite-value-list.js +1 -1
  645. package/dist/components/checkbox.js +1 -1
  646. package/dist/components/chip.js +1 -1
  647. package/dist/components/color-picker-hex-input.js +1 -1
  648. package/dist/components/color-picker-swatch.js +2 -2
  649. package/dist/components/combobox-item.js +1 -1
  650. package/dist/components/combobox.js +1 -1
  651. package/dist/components/conditionalSlot.js +1 -1
  652. package/dist/components/cs.js +1 -1
  653. package/dist/components/da.js +1 -1
  654. package/dist/components/date-picker-day.js +2 -2
  655. package/dist/components/date-picker-month-header.js +2 -2
  656. package/dist/components/date-picker-month.js +1 -1
  657. package/dist/components/date-picker.js +1 -1
  658. package/dist/components/date.js +1 -1
  659. package/dist/components/de-at.js +1 -1
  660. package/dist/components/de-ch.js +1 -1
  661. package/dist/components/de.js +1 -1
  662. package/dist/components/debounce.js +1 -1
  663. package/dist/components/dom.js +2 -2
  664. package/dist/components/dropdown.js +1 -1
  665. package/dist/components/el.js +1 -1
  666. package/dist/components/en-au.js +1 -1
  667. package/dist/components/en-ca.js +1 -1
  668. package/dist/components/en-gb.js +1 -1
  669. package/dist/components/es-mx.js +1 -1
  670. package/dist/components/es.js +1 -1
  671. package/dist/components/et.js +1 -1
  672. package/dist/components/fi.js +1 -1
  673. package/dist/components/filter.js +1 -1
  674. package/dist/components/filter2.js +1 -1
  675. package/dist/components/floating-ui.js +1 -1
  676. package/dist/components/focusTrapComponent.js +1 -1
  677. package/dist/components/form.js +2 -2
  678. package/dist/components/fr-ch.js +1 -1
  679. package/dist/components/fr.js +1 -1
  680. package/dist/components/graph.js +1 -1
  681. package/dist/components/guid.js +1 -1
  682. package/dist/components/handle.js +1 -1
  683. package/dist/components/he.js +1 -1
  684. package/dist/components/hi.js +1 -1
  685. package/dist/components/hr.js +1 -1
  686. package/dist/components/hu.js +1 -1
  687. package/dist/components/icon.js +1 -1
  688. package/dist/components/id.js +1 -1
  689. package/dist/components/index.js +1 -1
  690. package/dist/components/index2.js +1 -1
  691. package/dist/components/input-number.js +1 -1
  692. package/dist/components/input-text.js +1 -1
  693. package/dist/components/input.js +1 -1
  694. package/dist/components/interactive.js +1 -1
  695. package/dist/components/it-ch.js +1 -1
  696. package/dist/components/it.js +1 -1
  697. package/dist/components/ja.js +1 -1
  698. package/dist/components/key.js +1 -1
  699. package/dist/components/ko.js +1 -1
  700. package/dist/components/label.js +1 -1
  701. package/dist/components/label2.js +2 -2
  702. package/dist/components/link.js +1 -1
  703. package/dist/components/loadable.js +1 -1
  704. package/dist/components/loader.js +1 -1
  705. package/dist/components/locale.js +2 -2
  706. package/dist/components/lt.js +1 -1
  707. package/dist/components/lv.js +1 -1
  708. package/dist/components/math.js +1 -1
  709. package/dist/components/menu.js +1 -1
  710. package/dist/components/mk.js +1 -1
  711. package/dist/components/nb.js +1 -1
  712. package/dist/components/nl.js +1 -1
  713. package/dist/components/observers.js +1 -1
  714. package/dist/components/openCloseComponent.js +1 -1
  715. package/dist/components/panel.js +13 -8
  716. package/dist/components/pick-list-item.js +1 -1
  717. package/dist/components/pl.js +1 -1
  718. package/dist/components/popover.js +2 -2
  719. package/dist/components/progress.js +1 -1
  720. package/dist/components/pt-br.js +1 -1
  721. package/dist/components/pt.js +1 -1
  722. package/dist/components/resources.js +1 -1
  723. package/dist/components/resources2.js +1 -1
  724. package/dist/components/resources3.js +1 -1
  725. package/dist/components/ro.js +1 -1
  726. package/dist/components/ru.js +1 -1
  727. package/dist/components/scrim.js +1 -1
  728. package/dist/components/shared-list-render.js +1 -1
  729. package/dist/components/sk.js +1 -1
  730. package/dist/components/sl.js +1 -1
  731. package/dist/components/sortableComponent.js +1 -1
  732. package/dist/components/sr.js +1 -1
  733. package/dist/components/stack.js +1 -1
  734. package/dist/components/sv.js +1 -1
  735. package/dist/components/switch.js +1 -1
  736. package/dist/components/t9n.js +1 -1
  737. package/dist/components/tab-nav.js +2 -2
  738. package/dist/components/tab-title.js +2 -2
  739. package/dist/components/tab.js +2 -2
  740. package/dist/components/tabs.js +1 -1
  741. package/dist/components/th.js +1 -1
  742. package/dist/components/throttle.js +1 -1
  743. package/dist/components/tile.js +1 -1
  744. package/dist/components/time-picker.js +1 -1
  745. package/dist/components/tr.js +1 -1
  746. package/dist/components/uk.js +1 -1
  747. package/dist/components/utils.js +1 -1
  748. package/dist/components/utils2.js +2 -2
  749. package/dist/components/utils3.js +1 -1
  750. package/dist/components/vi.js +1 -1
  751. package/dist/components/zh-cn.js +1 -1
  752. package/dist/components/zh-hk.js +1 -1
  753. package/dist/components/zh-tw.js +1 -1
  754. package/dist/esm/{ExpandToggle-7b175b90.js → ExpandToggle-dc4b29e6.js} +5 -5
  755. package/dist/esm/{FloatingArrow-b489af34.js → FloatingArrow-c98ff5a2.js} +2 -2
  756. package/dist/esm/{Heading-2b21a618.js → Heading-04e79ec6.js} +2 -2
  757. package/dist/esm/{app-globals-a48f3e83.js → app-globals-cb0d71f2.js} +2 -2
  758. package/dist/esm/{ar-15616ec1.js → ar-37b15401.js} +15 -15
  759. package/dist/esm/{array-4223b6f0.js → array-b6f0a7f6.js} +1 -1
  760. package/dist/esm/{bg-f4b21801.js → bg-160f6962.js} +15 -15
  761. package/dist/esm/{bs-86d5c10b.js → bs-993d9544.js} +15 -15
  762. package/dist/esm/{ca-f13febc0.js → ca-1916af48.js} +15 -15
  763. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  764. package/dist/esm/calcite-action-bar.entry.js +15 -15
  765. package/dist/esm/calcite-action-group.entry.js +13 -13
  766. package/dist/esm/calcite-action-menu.entry.js +9 -9
  767. package/dist/esm/calcite-action-pad.entry.js +14 -14
  768. package/dist/esm/calcite-action.entry.js +11 -11
  769. package/dist/esm/calcite-alert.entry.js +12 -12
  770. package/dist/esm/calcite-avatar.entry.js +6 -6
  771. package/dist/esm/calcite-block_2.entry.js +13 -13
  772. package/dist/esm/calcite-button.entry.js +13 -13
  773. package/dist/esm/calcite-card.entry.js +10 -10
  774. package/dist/esm/calcite-checkbox.entry.js +10 -10
  775. package/dist/esm/calcite-chip-group.entry.js +8 -8
  776. package/dist/esm/calcite-chip.entry.js +12 -12
  777. package/dist/esm/calcite-color-picker_3.entry.js +15 -15
  778. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  779. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  780. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  781. package/dist/esm/calcite-fab.entry.js +7 -7
  782. package/dist/esm/calcite-filter.entry.js +13 -13
  783. package/dist/esm/calcite-flow-item.entry.js +15 -17
  784. package/dist/esm/calcite-flow.entry.js +4 -4
  785. package/dist/esm/calcite-graph_2.entry.js +13 -13
  786. package/dist/esm/calcite-handle.entry.js +10 -10
  787. package/dist/esm/calcite-icon.entry.js +6 -6
  788. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  789. package/dist/esm/calcite-input-date-picker.entry.js +18 -18
  790. package/dist/esm/calcite-input-message.entry.js +5 -5
  791. package/dist/esm/calcite-input-number.entry.js +13 -13
  792. package/dist/esm/calcite-input-text.entry.js +13 -13
  793. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-489befd9.js → calcite-input-time-picker.calcite-time-picker-65ddbb57.js} +60 -60
  794. package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
  795. package/dist/esm/calcite-input-time-zone.entry.js +13 -13
  796. package/dist/esm/calcite-input.entry.js +13 -13
  797. package/dist/esm/calcite-label.entry.js +6 -6
  798. package/dist/esm/calcite-link.entry.js +7 -7
  799. package/dist/esm/calcite-list_3.entry.js +14 -14
  800. package/dist/esm/calcite-loader.entry.js +3 -3
  801. package/dist/esm/calcite-menu_2.entry.js +10 -10
  802. package/dist/esm/calcite-modal.entry.js +13 -13
  803. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  804. package/dist/esm/calcite-notice.entry.js +12 -12
  805. package/dist/esm/calcite-option_3.entry.js +10 -10
  806. package/dist/esm/calcite-pagination.entry.js +10 -10
  807. package/dist/esm/calcite-panel.entry.js +23 -21
  808. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  809. package/dist/esm/calcite-popover.entry.js +16 -16
  810. package/dist/esm/calcite-progress.entry.js +2 -2
  811. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  812. package/dist/esm/calcite-radio-button.entry.js +10 -10
  813. package/dist/esm/calcite-rating.entry.js +13 -13
  814. package/dist/esm/calcite-scrim.entry.js +9 -9
  815. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  816. package/dist/esm/calcite-shell_3.entry.js +11 -11
  817. package/dist/esm/calcite-sortable-list.entry.js +8 -8
  818. package/dist/esm/calcite-split-button.entry.js +4 -4
  819. package/dist/esm/calcite-stack.entry.js +6 -6
  820. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  821. package/dist/esm/calcite-switch.entry.js +10 -10
  822. package/dist/esm/calcite-tab_4.entry.js +10 -10
  823. package/dist/esm/calcite-text-area.entry.js +15 -15
  824. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  825. package/dist/esm/calcite-tile.entry.js +8 -8
  826. package/dist/esm/calcite-tip_3.entry.js +11 -11
  827. package/dist/esm/calcite-tooltip.entry.js +9 -9
  828. package/dist/esm/calcite-tree_2.entry.js +8 -8
  829. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  830. package/dist/esm/calcite.js +6 -6
  831. package/dist/esm/{conditionalSlot-cc89e8ef.js → conditionalSlot-0dd41c73.js} +3 -3
  832. package/dist/esm/{cs-bce281e9.js → cs-26665e87.js} +15 -15
  833. package/dist/esm/{da-0d993b88.js → da-9db49942.js} +15 -15
  834. package/dist/esm/{de-8667ef8e.js → de-3deb958f.js} +15 -15
  835. package/dist/esm/{de-at-e257aa1e.js → de-at-4e6a2189.js} +15 -15
  836. package/dist/esm/{de-ch-693581c0.js → de-ch-531815a3.js} +15 -15
  837. package/dist/esm/{debounce-000a3641.js → debounce-035a671d.js} +1 -1
  838. package/dist/esm/{dom-643f9db5.js → dom-707edbca.js} +3 -3
  839. package/dist/esm/{el-734a0b45.js → el-c166ad7f.js} +15 -15
  840. package/dist/esm/{en-au-21a88029.js → en-au-fb7e7d74.js} +15 -15
  841. package/dist/esm/{en-ca-7c451553.js → en-ca-c4601830.js} +15 -15
  842. package/dist/esm/{en-gb-3a9ebb11.js → en-gb-ae19198d.js} +15 -15
  843. package/dist/esm/{es-28e01407.js → es-9e2be3ac.js} +15 -15
  844. package/dist/esm/{es-mx-e8ee576f.js → es-mx-d6957da5.js} +15 -15
  845. package/dist/esm/{et-50dca0b7.js → et-2664164d.js} +15 -15
  846. package/dist/esm/{fi-7846b096.js → fi-30646eb5.js} +15 -15
  847. package/dist/esm/{filter-c0bfe264.js → filter-b1bfdcf7.js} +2 -2
  848. package/dist/esm/{floating-ui-f9c95380.js → floating-ui-1a7fe520.js} +3 -3
  849. package/dist/esm/{focusTrapComponent-ef3b7ceb.js → focusTrapComponent-2c6be6d7.js} +2 -2
  850. package/dist/esm/{form-840c542d.js → form-3555a3c1.js} +3 -3
  851. package/dist/esm/{fr-8484ea41.js → fr-900b64a1.js} +15 -15
  852. package/dist/esm/{fr-ch-0e71d973.js → fr-ch-b78c5c6b.js} +15 -15
  853. package/dist/esm/{guid-a50ade63.js → guid-d024e9ef.js} +1 -1
  854. package/dist/esm/{he-2e17f886.js → he-4cf56a98.js} +15 -15
  855. package/dist/esm/{hi-49ed1ab0.js → hi-95fcc135.js} +15 -15
  856. package/dist/esm/{hr-d63898c4.js → hr-d5085a32.js} +15 -15
  857. package/dist/esm/{hu-6891ede6.js → hu-4a79c16c.js} +15 -15
  858. package/dist/esm/{id-8887ce2b.js → id-f7cb3b13.js} +15 -15
  859. package/dist/esm/{index-53d57a76.js → index-c4010481.js} +1 -1
  860. package/dist/esm/index.js +2 -2
  861. package/dist/esm/{interactive-42caa6bb.js → interactive-c98ba50a.js} +1 -1
  862. package/dist/esm/{it-beeda80d.js → it-3c316ef5.js} +15 -15
  863. package/dist/esm/{it-ch-84f5d904.js → it-ch-626f55c6.js} +15 -15
  864. package/dist/esm/{ja-fa755c6a.js → ja-8ae683ee.js} +15 -15
  865. package/dist/esm/{key-9309ba10.js → key-30b154e6.js} +1 -1
  866. package/dist/esm/{ko-f51d506a.js → ko-56fa54da.js} +15 -15
  867. package/dist/esm/{label-0a990de0.js → label-2bcffed9.js} +2 -2
  868. package/dist/esm/{loadable-a5c3241b.js → loadable-6ef29e8b.js} +2 -2
  869. package/dist/esm/loader.js +6 -6
  870. package/dist/esm/{locale-9a7219c0.js → locale-c3441a6a.js} +4 -4
  871. package/dist/esm/{lt-79334e8b.js → lt-fdbd31d2.js} +15 -15
  872. package/dist/esm/{lv-eee00ef4.js → lv-a4cb55e3.js} +15 -15
  873. package/dist/esm/{math-d00a64e6.js → math-4cb82d56.js} +1 -1
  874. package/dist/esm/{mk-fbb581e1.js → mk-de18501f.js} +15 -15
  875. package/dist/esm/{nb-83bd1bff.js → nb-23fc2e54.js} +15 -15
  876. package/dist/esm/{nl-5b1e51b7.js → nl-c232add8.js} +15 -15
  877. package/dist/esm/{observers-09626586.js → observers-aaf6d781.js} +1 -1
  878. package/dist/esm/{openCloseComponent-9ea4c956.js → openCloseComponent-f4a3c0e6.js} +2 -2
  879. package/dist/esm/{pl-7a36d094.js → pl-434e19da.js} +15 -15
  880. package/dist/esm/{pt-c5e40af9.js → pt-801b7229.js} +15 -15
  881. package/dist/esm/{pt-br-276a2583.js → pt-br-92527c58.js} +15 -15
  882. package/dist/esm/{resources-686f5ee5.js → resources-006195c1.js} +1 -1
  883. package/dist/esm/{resources-dd40526d.js → resources-1a0cb949.js} +1 -1
  884. package/dist/esm/{resources-f2b31ab7.js → resources-52eb6494.js} +5 -5
  885. package/dist/esm/{resources-d81f3031.js → resources-7b7d3ce5.js} +1 -1
  886. package/dist/esm/{resources-55f4ce49.js → resources-7f015e54.js} +1 -1
  887. package/dist/esm/{resources-66c3dcf8.js → resources-8b6036ed.js} +3 -1
  888. package/dist/esm/{resources-0316be17.js → resources-9956f947.js} +1 -1
  889. package/dist/esm/{ro-cb0a3983.js → ro-20d39226.js} +15 -15
  890. package/dist/esm/{ru-477f2d4d.js → ru-9cc8c06d.js} +15 -15
  891. package/dist/esm/{sk-4129c24e.js → sk-133343f7.js} +15 -15
  892. package/dist/esm/{sl-2b11f4e8.js → sl-37a96050.js} +15 -15
  893. package/dist/esm/{sortableComponent-af34ee4d.js → sortableComponent-a8e3cbdb.js} +2 -2
  894. package/dist/esm/{sr-9f16ffc7.js → sr-d9b79d9e.js} +15 -15
  895. package/dist/esm/{sv-058f558b.js → sv-20f817fb.js} +15 -15
  896. package/dist/esm/{t9n-124a9106.js → t9n-796fe9cd.js} +3 -3
  897. package/dist/esm/{th-524474f4.js → th-2a2cf7fa.js} +15 -15
  898. package/dist/esm/{throttle-4ca3c342.js → throttle-5e95371f.js} +2 -2
  899. package/dist/esm/{tr-35d6a056.js → tr-1a3a138e.js} +15 -15
  900. package/dist/esm/{uk-65ab924f.js → uk-97a96a59.js} +15 -15
  901. package/dist/esm/{utils-0991d178.js → utils-96ff5cab.js} +1 -1
  902. package/dist/esm/{utils-da5047b5.js → utils-d1da45d9.js} +3 -3
  903. package/dist/esm/{vi-05ac5fba.js → vi-dabbb53f.js} +15 -15
  904. package/dist/esm/{zh-cn-9aaa0e76.js → zh-cn-b65f0886.js} +15 -15
  905. package/dist/esm/{zh-hk-5a43a6a4.js → zh-hk-0885c062.js} +15 -15
  906. package/dist/esm/{zh-tw-4f5f745f.js → zh-tw-637196fd.js} +15 -15
  907. package/dist/extras/docs-json.json +5 -13
  908. package/dist/extras/vscode-data.json +6804 -0
  909. package/dist/loader/cdn.js +1 -1
  910. package/dist/loader/index.cjs.js +1 -1
  911. package/dist/loader/index.es2017.js +1 -1
  912. package/dist/loader/index.js +1 -1
  913. package/dist/types/components/panel/panel.d.ts +1 -0
  914. package/dist/types/components/panel/resources.d.ts +2 -0
  915. package/hydrate/index.js +16 -14
  916. package/package.json +2 -2
  917. package/dist/calcite/p-19711271.entry.js +0 -6
  918. package/dist/calcite/p-423fab51.js +0 -6
  919. package/dist/calcite/p-44c47b37.entry.js +0 -6
  920. package/dist/calcite/p-625cae48.entry.js +0 -6
  921. package/dist/calcite/p-65b7b193.entry.js +0 -6
  922. package/dist/calcite/p-7a1a67c7.js +0 -6
  923. package/dist/calcite/p-7ece5924.js +0 -6
  924. package/dist/calcite/p-85a423e2.entry.js +0 -6
  925. package/dist/calcite/p-a8e7cfae.entry.js +0 -6
  926. package/dist/calcite/p-ab65d6da.entry.js +0 -6
  927. package/dist/calcite/p-ccfcc579.entry.js +0 -6
  928. package/dist/calcite/p-eb6f1695.entry.js +0 -6
  929. package/dist/calcite/p-eed92a6d.entry.js +0 -6
  930. package/dist/calcite/p-f7730431.js +0 -6
  931. package/dist/calcite/p-f7fd2d8b.entry.js +0 -6
  932. package/dist/components/tooltip.js +0 -446
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0
4
+ * v1.5.1-next.0
5
5
  */
6
- import{r as t,h as e,F as i,a as n,f as o}from"./p-fd156bb4.js";import{c as a,d as l}from"./p-7a1a67c7.js";import{e as s,s as r,g as c,b as h,i as d}from"./p-7fd65338.js";import{c as p,d as x}from"./p-8c6907e5.js";import{c as b}from"./p-c280f5a2.js";import{c as u,s as m,d as w,u as v}from"./p-24ca13e2.js";import{C as f}from"./p-865dbb48.js";import"./p-b1330d0e.js";import"./p-e5a02d98.js";import"./p-86b0724c.js";const g="content",y=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!s(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!s(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!s(t),r(t)?.map((t=>{"CALCITE-ALERT"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!s(t),r(t)?.map((t=>{"CALCITE-MODAL"===t.nodeName&&(t.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1}connectedCallback(){a(this)}disconnectedCallback(){l(this)}renderHeader(){return e("div",{hidden:!this.hasHeader},e("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return e("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},e("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return e("div",{hidden:!this.hasAlerts},e("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderModals(){return e("div",{hidden:!this.hasModals},e("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const t=e("slot",{key:"default-slot"}),i=e("slot",{key:"center-row-slot",name:"center-row"}),n=e("slot",{key:"panel-bottom-slot",name:"panel-bottom"}),o=e("slot",{key:"panel-top-slot",name:"panel-top"}),a="content-container";return this.contentBehind?[e("div",{class:{[g]:!0,"content--behind":!0},key:a},t),e("div",{class:"center-content"},o,n,i)]:[e("div",{class:g,key:a},o,t,n,i)]}renderMain(){return e("div",{class:"main"},e("slot",{name:"panel-start"}),this.renderContent(),e("slot",{name:"panel-end"}))}renderPositionedSlots(){return e("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals())}render(){return e(i,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return n(this)}};y.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-app-z-index) - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-app-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -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);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}:host([hidden]){display:none}[hidden]{display:none}";const z="action-bar",k=class{constructor(e){t(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){a(this)}disconnectedCallback(){l(this)}render(){const{el:t}=this,n=e("div",{class:"content"},e("slot",null)),o=c(t,z),a=[o?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:z})):null,n];return"end"===o?.position&&a.reverse(),e(i,null,a)}get el(){return n(this)}};k.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{z-index:var(--calcite-app-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const C="header",H=class{constructor(e){t(this,e),this.initialContentWidth=null,this.initialContentHeight=null,this.initialClientX=null,this.initialClientY=null,this.contentWidthMax=null,this.contentWidthMin=null,this.contentHeightMax=null,this.contentHeightMin=null,this.step=1,this.stepMultiplier=10,this.actionBars=[],this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedSize=t=>{const{key:e}=t,{el:i,step:n,stepMultiplier:o,layout:a,contentWidthMin:l,contentWidthMax:s,initialContentWidth:r,initialContentHeight:c,contentHeightMin:d,contentHeightMax:p,position:x}=this,b=n*o;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const u=["ArrowLeft","ArrowRight"],m=["ArrowDown","ArrowUp"],w="rtl"===h(i)&&u.includes(e)?-1:1;if("horizontal"===a?"end"===x?e===m[1]||e===u[0]:e===m[0]||e===u[1]:e===m[1]||("end"===x?e===u[0]:e===u[1])){const e=t.shiftKey?b:n;return"horizontal"===a?c+w*e:r+w*e}if("horizontal"===a?"end"===x?e===m[0]||e===u[0]:e===m[1]||e===u[1]:e===m[0]||("end"===x?e===u[1]:e===u[0])){const e=t.shiftKey?b:n;return"horizontal"===a?c-w*e:r-w*e}return"Home"===e&&"horizontal"===a&&"number"==typeof d?d:"Home"===e&&"vertical"===a&&"number"==typeof l?l:"End"===e&&"horizontal"===a&&"number"==typeof p?p:"End"===e&&"vertical"===a&&"number"==typeof s?s:"PageDown"===e?"horizontal"===a?c-b:r-b:"PageUp"===e?"horizontal"===a?c+b:r+b:null},this.initialKeydownWidth=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentWidth(e)},this.initialKeydownHeight=t=>{this.setInitialContentHeight();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentHeight(e)},this.separatorKeyDown=t=>{"horizontal"===this.layout?this.initialKeydownHeight(t):this.initialKeydownWidth(t)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,layout:i,initialContentWidth:n,initialContentHeight:o,position:a,initialClientX:l,initialClientY:s}=this,r="horizontal"===i?t.clientY-s:t.clientX-l,c="vertical"===i&&"rtl"===h(e)?-1:1,d="end"===a?-c*r:c*r;"horizontal"===i?this.setContentHeight(o+d):this.setContentWidth(n+d)},this.separatorPointerUp=t=>{d(t)&&(t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{this.initialContentHeight=this.contentEl?.getBoundingClientRect().height},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!d(t))return;t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),"horizontal"===this.layout?(this.setInitialContentHeight(),this.initialClientY=t.clientY):(this.setInitialContentWidth(),this.initialClientX=t.clientX),document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t?.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=r(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale=""}handleDetached(t){t?this.displayMode="float":"float"===this.displayMode&&(this.displayMode="dock")}handleDisplayMode(t){this.detached="float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){a(this),p(this),u(this)}async componentWillLoad(){await m(this)}disconnectedCallback(){l(this),this.disconnectSeparator(),x(this),w(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){v(this,this.effectiveLocale)}renderHeader(){const{el:t}=this;return c(t,C)?e("div",{class:"content__header",key:"header"},e("slot",{name:C})):null}render(){const{collapsed:t,position:i,initialContentWidth:n,initialContentHeight:o,contentWidth:a,contentWidthMax:l,contentWidthMin:s,contentHeight:r,contentHeightMax:c,contentHeightMin:d,resizable:p,layout:x,displayMode:b}=this,u=h(this.el),m="float"!==b&&p,w=m?"horizontal"===x?r?{height:`${r}px`}:null:a?{width:`${a}px`}:null:null,v=!t&&m?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===x?"vertical":"horizontal","aria-valuemax":"horizontal"==x?c:l,"aria-valuemin":"horizontal"==x?d:s,"aria-valuenow":"horizontal"==x?r??o:a??n,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,g=e("div",{class:{[f.rtl]:"rtl"===u,content:!0,"content--overlay":"overlay"===b,"content--float":"float"===b,[f.calciteAnimate]:"overlay"===b,["horizontal"===x?"start"===i?f.calciteAnimateInDown:f.calciteAnimateInUp:"ltr"===u&&"end"===i||"rtl"===u&&"start"===i?f.calciteAnimateInLeft:f.calciteAnimateInRight]:"overlay"===b},hidden:t,key:"content",style:w,ref:this.storeContentEl},this.renderHeader(),e("div",{class:"content__body"},e("slot",null)),v),y=[e("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),g];return"end"===i&&y.reverse(),e("div",{class:{container:!0}},y)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,n=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?b(n,i,e):n}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),o(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:i}=this,n=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof i?b(n,i,e):n}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),i=parseInt(t.getPropertyValue("min-width"),10),n=parseInt(t.getPropertyValue("width"),10);"number"!=typeof n||isNaN(n)||(this.initialContentWidth=n),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),i=parseInt(t.getPropertyValue("min-height"),10),n=parseInt(t.getPropertyValue("height"),10);"number"!=typeof n||isNaN(n)||(this.initialContentHeight=n),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof i||isNaN(i)||(this.contentHeightMin=i)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};H.style=":host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-app-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-shell-panel-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl.content--overlay{--calcite-shell-panel-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index-header) + 1))}:host([layout=vertical][width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 5vh);--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}:host([layout=horizontal][height-scale=l]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]) .content{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}:host([layout=horizontal]) .content{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-start-internal)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-end-internal)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-shell-panel-shadow-block-start-internal)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-shell-panel-shadow-block-end-internal)}.content--float{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-max-height-internal, calc(100% - 1rem))}.content--float ::slotted(calcite-panel),.content--float ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .content--float{margin-block:0.5rem}:host([position=start]) .content--float ::slotted(calcite-panel),:host([position=start]) .content--float ::slotted(calcite-flow),:host([position=end]) .content--float ::slotted(calcite-panel),:host([position=end]) .content--float ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_shell,k as calcite_shell_center_row,H as calcite_shell_panel}
6
+ import{r as t,h as e,F as i,a as n,f as o}from"./p-b353a4bf.js";import{c as a,d as l}from"./p-e12ee963.js";import{e as s,s as r,g as c,b as h,i as d}from"./p-04353e76.js";import{c as p,d as x}from"./p-dfbb877c.js";import{c as b}from"./p-d5c3bee4.js";import{c as u,s as m,d as w,u as v}from"./p-cd0c23d6.js";import{C as f}from"./p-750c4ac9.js";import"./p-2b34fe91.js";import"./p-e9ccfe07.js";import"./p-fc626d9f.js";const g="content",y=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!s(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!s(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!s(t),r(t)?.map((t=>{"CALCITE-ALERT"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!s(t),r(t)?.map((t=>{"CALCITE-MODAL"===t.nodeName&&(t.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1}connectedCallback(){a(this)}disconnectedCallback(){l(this)}renderHeader(){return e("div",{hidden:!this.hasHeader},e("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return e("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},e("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return e("div",{hidden:!this.hasAlerts},e("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderModals(){return e("div",{hidden:!this.hasModals},e("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const t=e("slot",{key:"default-slot"}),i=e("slot",{key:"center-row-slot",name:"center-row"}),n=e("slot",{key:"panel-bottom-slot",name:"panel-bottom"}),o=e("slot",{key:"panel-top-slot",name:"panel-top"}),a="content-container";return this.contentBehind?[e("div",{class:{[g]:!0,"content--behind":!0},key:a},t),e("div",{class:"center-content"},o,n,i)]:[e("div",{class:g,key:a},o,t,n,i)]}renderMain(){return e("div",{class:"main"},e("slot",{name:"panel-start"}),this.renderContent(),e("slot",{name:"panel-end"}))}renderPositionedSlots(){return e("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals())}render(){return e(i,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return n(this)}};y.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-app-z-index) - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-app-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -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);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}:host([hidden]){display:none}[hidden]{display:none}";const z="action-bar",k=class{constructor(e){t(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){a(this)}disconnectedCallback(){l(this)}render(){const{el:t}=this,n=e("div",{class:"content"},e("slot",null)),o=c(t,z),a=[o?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:z})):null,n];return"end"===o?.position&&a.reverse(),e(i,null,a)}get el(){return n(this)}};k.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{z-index:var(--calcite-app-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const C="header",H=class{constructor(e){t(this,e),this.initialContentWidth=null,this.initialContentHeight=null,this.initialClientX=null,this.initialClientY=null,this.contentWidthMax=null,this.contentWidthMin=null,this.contentHeightMax=null,this.contentHeightMin=null,this.step=1,this.stepMultiplier=10,this.actionBars=[],this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedSize=t=>{const{key:e}=t,{el:i,step:n,stepMultiplier:o,layout:a,contentWidthMin:l,contentWidthMax:s,initialContentWidth:r,initialContentHeight:c,contentHeightMin:d,contentHeightMax:p,position:x}=this,b=n*o;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const u=["ArrowLeft","ArrowRight"],m=["ArrowDown","ArrowUp"],w="rtl"===h(i)&&u.includes(e)?-1:1;if("horizontal"===a?"end"===x?e===m[1]||e===u[0]:e===m[0]||e===u[1]:e===m[1]||("end"===x?e===u[0]:e===u[1])){const e=t.shiftKey?b:n;return"horizontal"===a?c+w*e:r+w*e}if("horizontal"===a?"end"===x?e===m[0]||e===u[0]:e===m[1]||e===u[1]:e===m[0]||("end"===x?e===u[1]:e===u[0])){const e=t.shiftKey?b:n;return"horizontal"===a?c-w*e:r-w*e}return"Home"===e&&"horizontal"===a&&"number"==typeof d?d:"Home"===e&&"vertical"===a&&"number"==typeof l?l:"End"===e&&"horizontal"===a&&"number"==typeof p?p:"End"===e&&"vertical"===a&&"number"==typeof s?s:"PageDown"===e?"horizontal"===a?c-b:r-b:"PageUp"===e?"horizontal"===a?c+b:r+b:null},this.initialKeydownWidth=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentWidth(e)},this.initialKeydownHeight=t=>{this.setInitialContentHeight();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentHeight(e)},this.separatorKeyDown=t=>{"horizontal"===this.layout?this.initialKeydownHeight(t):this.initialKeydownWidth(t)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,layout:i,initialContentWidth:n,initialContentHeight:o,position:a,initialClientX:l,initialClientY:s}=this,r="horizontal"===i?t.clientY-s:t.clientX-l,c="vertical"===i&&"rtl"===h(e)?-1:1,d="end"===a?-c*r:c*r;"horizontal"===i?this.setContentHeight(o+d):this.setContentWidth(n+d)},this.separatorPointerUp=t=>{d(t)&&(t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{this.initialContentHeight=this.contentEl?.getBoundingClientRect().height},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!d(t))return;t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),"horizontal"===this.layout?(this.setInitialContentHeight(),this.initialClientY=t.clientY):(this.setInitialContentWidth(),this.initialClientX=t.clientX),document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t?.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=r(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale=""}handleDetached(t){t?this.displayMode="float":"float"===this.displayMode&&(this.displayMode="dock")}handleDisplayMode(t){this.detached="float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){a(this),p(this),u(this)}async componentWillLoad(){await m(this)}disconnectedCallback(){l(this),this.disconnectSeparator(),x(this),w(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){v(this,this.effectiveLocale)}renderHeader(){const{el:t}=this;return c(t,C)?e("div",{class:"content__header",key:"header"},e("slot",{name:C})):null}render(){const{collapsed:t,position:i,initialContentWidth:n,initialContentHeight:o,contentWidth:a,contentWidthMax:l,contentWidthMin:s,contentHeight:r,contentHeightMax:c,contentHeightMin:d,resizable:p,layout:x,displayMode:b}=this,u=h(this.el),m="float"!==b&&p,w=m?"horizontal"===x?r?{height:`${r}px`}:null:a?{width:`${a}px`}:null:null,v=!t&&m?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===x?"vertical":"horizontal","aria-valuemax":"horizontal"==x?c:l,"aria-valuemin":"horizontal"==x?d:s,"aria-valuenow":"horizontal"==x?r??o:a??n,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,g=e("div",{class:{[f.rtl]:"rtl"===u,content:!0,"content--overlay":"overlay"===b,"content--float":"float"===b,[f.calciteAnimate]:"overlay"===b,["horizontal"===x?"start"===i?f.calciteAnimateInDown:f.calciteAnimateInUp:"ltr"===u&&"end"===i||"rtl"===u&&"start"===i?f.calciteAnimateInLeft:f.calciteAnimateInRight]:"overlay"===b},hidden:t,key:"content",style:w,ref:this.storeContentEl},this.renderHeader(),e("div",{class:"content__body"},e("slot",null)),v),y=[e("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),g];return"end"===i&&y.reverse(),e("div",{class:{container:!0}},y)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,n=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?b(n,i,e):n}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),o(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:i}=this,n=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof i?b(n,i,e):n}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),i=parseInt(t.getPropertyValue("min-width"),10),n=parseInt(t.getPropertyValue("width"),10);"number"!=typeof n||isNaN(n)||(this.initialContentWidth=n),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),i=parseInt(t.getPropertyValue("min-height"),10),n=parseInt(t.getPropertyValue("height"),10);"number"!=typeof n||isNaN(n)||(this.initialContentHeight=n),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof i||isNaN(i)||(this.contentHeightMin=i)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};H.style=":host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-app-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-shell-panel-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl.content--overlay{--calcite-shell-panel-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index-header) + 1))}:host([layout=vertical][width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 5vh);--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}:host([layout=horizontal][height-scale=l]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]) .content{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}:host([layout=horizontal]) .content{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-start-internal)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-end-internal)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-shell-panel-shadow-block-start-internal)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-shell-panel-shadow-block-end-internal)}.content--float{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-max-height-internal, calc(100% - 1rem))}.content--float ::slotted(calcite-panel),.content--float ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .content--float{margin-block:0.5rem}:host([position=start]) .content--float ::slotted(calcite-panel),:host([position=start]) .content--float ::slotted(calcite-flow),:host([position=end]) .content--float ::slotted(calcite-panel),:host([position=end]) .content--float ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_shell,k as calcite_shell_center_row,H as calcite_shell_panel}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0
4
+ * v1.5.1-next.0
5
5
  */
6
6
  function n(n,r){return(n+r)%r}export{n as g}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0
4
+ * v1.5.1-next.0
5
5
  */
6
- import{d as e,a as t}from"./p-865dbb48.js";function o(){const{classList:o}=document.body,n=window.matchMedia("(prefers-color-scheme: dark)").matches,d=()=>o.contains(e)||o.contains(t)&&n?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:e}})),i=e=>{a!==e&&c(e),a=e};let a=d();c(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>i(e.matches?"dark":"light"))),new MutationObserver((()=>i(d()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const n=function(){"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document&&("interactive"===document.readyState?o():document.addEventListener("DOMContentLoaded",(()=>o()),{once:!0}))};export{n as g}
6
+ import{d as e,a as t}from"./p-750c4ac9.js";function o(){const{classList:o}=document.body,n=window.matchMedia("(prefers-color-scheme: dark)").matches,d=()=>o.contains(e)||o.contains(t)&&n?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:e}})),i=e=>{a!==e&&c(e),a=e};let a=d();c(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>i(e.matches?"dark":"light"))),new MutationObserver((()=>i(d()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const n=function(){"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document&&("interactive"===document.readyState?o():document.addEventListener("DOMContentLoaded",(()=>o()),{once:!0}))};export{n as g}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0
4
+ * v1.5.1-next.0
5
5
  */
6
- import{r as t,c as i,h as s,H as e,a as o}from"./p-fd156bb4.js";import{t as c}from"./p-7fd65338.js";import{c as a,d as n,H as h}from"./p-b83d9eb3.js";import{g as r}from"./p-e5a02d98.js";import{c as l,d,u as p}from"./p-337b67b4.js";import{i as b}from"./p-86b0724c.js";import{c as u,d as m,g as v}from"./p-fdc4c73c.js";import{c as g,s as k,a as f}from"./p-dac27f1e.js";import"./p-865dbb48.js";const x=class{constructor(s){t(this,s),this.calciteInternalCheckboxBlur=i(this,"calciteInternalCheckboxBlur",6),this.calciteCheckboxChange=i(this,"calciteCheckboxChange",6),this.calciteInternalCheckboxFocus=i(this,"calciteInternalCheckboxFocus",6),this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z",this.indeterminatePath="M13 8v1H3V8z",this.getPath=()=>this.indeterminate?this.indeterminatePath:this.checked?this.checkedPath:"",this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.setFocus(),this.indeterminate=!1,this.calciteCheckboxChange.emit())},this.keyDownHandler=t=>{b(t.key)&&(this.toggle(),t.preventDefault())},this.clickHandler=()=>{this.disabled||this.toggle()},this.onToggleBlur=()=>{this.calciteInternalCheckboxBlur.emit(!1)},this.onToggleFocus=()=>{this.calciteInternalCheckboxFocus.emit(!0)},this.onLabelClick=()=>{this.toggle()},this.checked=!1,this.disabled=!1,this.form=void 0,this.guid=void 0,this.hovered=!1,this.indeterminate=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}async setFocus(){await g(this),this.toggleEl?.focus()}syncHiddenFormInput(t){t.type="checkbox"}connectedCallback(){this.guid=this.el.id||`calcite-checkbox-${r()}`,l(this),u(this),a(this)}disconnectedCallback(){d(this),m(this),n(this)}componentWillLoad(){k(this)}componentDidLoad(){f(this)}componentDidRender(){p(this)}render(){return s(e,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},s("div",{"aria-checked":c(this.checked),"aria-label":v(this),class:"toggle",onBlur:this.onToggleBlur,onFocus:this.onToggleFocus,role:"checkbox",tabIndex:this.disabled?void 0:0,ref:t=>this.toggleEl=t},s("svg",{"aria-hidden":"true",class:"check-svg",viewBox:"0 0 16 16"},s("path",{d:this.getPath()})),s("slot",null)),s(h,{component:this}))}get el(){return o(this)}};x.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;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);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{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]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{x as calcite_checkbox}
6
+ import{r as t,c as i,h as s,H as e,a as o}from"./p-b353a4bf.js";import{t as c}from"./p-04353e76.js";import{c as a,d as n,H as h}from"./p-435fa694.js";import{g as r}from"./p-e9ccfe07.js";import{c as l,d,u as p}from"./p-c866115b.js";import{i as b}from"./p-fc626d9f.js";import{c as u,d as m,g as v}from"./p-14db794e.js";import{c as g,s as k,a as f}from"./p-ac2ae787.js";import"./p-750c4ac9.js";const x=class{constructor(s){t(this,s),this.calciteInternalCheckboxBlur=i(this,"calciteInternalCheckboxBlur",6),this.calciteCheckboxChange=i(this,"calciteCheckboxChange",6),this.calciteInternalCheckboxFocus=i(this,"calciteInternalCheckboxFocus",6),this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z",this.indeterminatePath="M13 8v1H3V8z",this.getPath=()=>this.indeterminate?this.indeterminatePath:this.checked?this.checkedPath:"",this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.setFocus(),this.indeterminate=!1,this.calciteCheckboxChange.emit())},this.keyDownHandler=t=>{b(t.key)&&(this.toggle(),t.preventDefault())},this.clickHandler=()=>{this.disabled||this.toggle()},this.onToggleBlur=()=>{this.calciteInternalCheckboxBlur.emit(!1)},this.onToggleFocus=()=>{this.calciteInternalCheckboxFocus.emit(!0)},this.onLabelClick=()=>{this.toggle()},this.checked=!1,this.disabled=!1,this.form=void 0,this.guid=void 0,this.hovered=!1,this.indeterminate=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}async setFocus(){await g(this),this.toggleEl?.focus()}syncHiddenFormInput(t){t.type="checkbox"}connectedCallback(){this.guid=this.el.id||`calcite-checkbox-${r()}`,l(this),u(this),a(this)}disconnectedCallback(){d(this),m(this),n(this)}componentWillLoad(){k(this)}componentDidLoad(){f(this)}componentDidRender(){p(this)}render(){return s(e,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},s("div",{"aria-checked":c(this.checked),"aria-label":v(this),class:"toggle",onBlur:this.onToggleBlur,onFocus:this.onToggleFocus,role:"checkbox",tabIndex:this.disabled?void 0:0,ref:t=>this.toggleEl=t},s("svg",{"aria-hidden":"true",class:"check-svg",viewBox:"0 0 16 16"},s("path",{d:this.getPath()})),s("slot",null)),s(h,{component:this}))}get el(){return o(this)}};x.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;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);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{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]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{x as calcite_checkbox}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0
4
+ * v1.5.1-next.0
5
5
  */
6
- import{d as _}from"./p-220447a7.js";import"./p-fd156bb4.js";import"./p-b83d9eb3.js";import"./p-7fd65338.js";import"./p-e5a02d98.js";import"./p-865dbb48.js";import"./p-337b67b4.js";import"./p-86b0724c.js";import"./p-fdc4c73c.js";import"./p-dac27f1e.js";import"./p-8c6907e5.js";import"./p-b1330d0e.js";import"./p-d1abb723.js";import"./p-24ca13e2.js";var m={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,m){return"W"===m?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(_,m){var d=100*_+m;return d<600?"凌晨":d<900?"早上":d<1100?"上午":d<1300?"中午":d<1800?"下午":"晚上"}};_.locale(m,null,!0);export default m;
6
+ import{d as _}from"./p-e04a8f6e.js";import"./p-b353a4bf.js";import"./p-435fa694.js";import"./p-04353e76.js";import"./p-e9ccfe07.js";import"./p-750c4ac9.js";import"./p-c866115b.js";import"./p-fc626d9f.js";import"./p-14db794e.js";import"./p-ac2ae787.js";import"./p-dfbb877c.js";import"./p-2b34fe91.js";import"./p-61323cd9.js";import"./p-cd0c23d6.js";var m={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,m){return"W"===m?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(_,m){var Y=100*_+m;return Y<600?"凌晨":Y<900?"早上":Y<1100?"上午":Y<1300?"中午":Y<1800?"下午":"晚上"}};_.locale(m,null,!0);export default m;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0
4
+ * v1.5.1-next.0
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}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0
4
+ * v1.5.1-next.0
5
5
  */
6
6
  const t={container:"container",actionsStart:"actions-start",contentStart:"content-start",content:"content",contentEnd:"content-end",actionsEnd:"actions-end"},n={actionsStart:"actions-start",contentStart:"content-start",contentEnd:"content-end",actionsEnd:"actions-end"};export{t as C,n as S}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0
4
+ * v1.5.1-next.0
5
5
  */
6
- import{r as t,c as i,h as s,H as a,a as o}from"./p-fd156bb4.js";import{c as h}from"./p-b1330d0e.js";import{s as e,a as n,c as l}from"./p-dac27f1e.js";const r=class{constructor(s){t(this,s),this.calciteRadioButtonGroupChange=i(this,"calciteRadioButtonGroupChange",6),this.mutationObserver=h("mutation",(()=>this.passPropsToRadioButtons())),this.passPropsToRadioButtons=()=>{this.radioButtons=Array.from(this.el.querySelectorAll("calcite-radio-button")),this.selectedItem=Array.from(this.radioButtons).find((t=>t.checked))||null,this.radioButtons.length>0&&this.radioButtons.forEach((t=>{t.disabled=this.disabled||t.disabled,t.hidden=this.hidden,t.name=this.name,t.required=this.required,t.scale=this.scale}))},this.disabled=!1,this.hidden=!1,this.layout="horizontal",this.name=void 0,this.required=!1,this.selectedItem=null,this.scale="m",this.radioButtons=[]}onDisabledChange(){this.passPropsToRadioButtons()}onHiddenChange(){this.passPropsToRadioButtons()}onLayoutChange(){this.passPropsToRadioButtons()}onScaleChange(){this.passPropsToRadioButtons()}connectedCallback(){this.passPropsToRadioButtons(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}componentWillLoad(){e(this)}componentDidLoad(){n(this)}disconnectedCallback(){this.mutationObserver?.disconnect()}getFocusableRadioButton(){return this.radioButtons.find((t=>!t.disabled))??null}async setFocus(){return await l(this),this.selectedItem&&!this.selectedItem.disabled?this.selectedItem.setFocus():this.radioButtons.length>0?this.getFocusableRadioButton()?.setFocus():void 0}radioButtonChangeHandler(t){this.selectedItem=t.target,this.calciteRadioButtonGroupChange.emit()}render(){return s(a,{role:"radiogroup"},s("slot",null))}get el(){return o(this)}static get watchers(){return{disabled:["onDisabledChange"],hidden:["onHiddenChange"],layout:["onLayoutChange"],scale:["onScaleChange"]}}};r.style=":host{display:flex;max-inline-size:100vw}:host([layout=horizontal]){flex-direction:row;flex-wrap:wrap}:host([layout=horizontal][scale=s]){gap:1rem}:host([layout=horizontal][scale=m]){gap:1.25rem}:host([layout=horizontal][scale=l]){gap:1.5rem}:host([layout=vertical]){flex-direction:column}:host([hidden]){display:none}[hidden]{display:none}";export{r as calcite_radio_button_group}
6
+ import{r as t,c as i,h as s,H as a,a as o}from"./p-b353a4bf.js";import{c as h}from"./p-2b34fe91.js";import{s as e,a as n,c as l}from"./p-ac2ae787.js";const r=class{constructor(s){t(this,s),this.calciteRadioButtonGroupChange=i(this,"calciteRadioButtonGroupChange",6),this.mutationObserver=h("mutation",(()=>this.passPropsToRadioButtons())),this.passPropsToRadioButtons=()=>{this.radioButtons=Array.from(this.el.querySelectorAll("calcite-radio-button")),this.selectedItem=Array.from(this.radioButtons).find((t=>t.checked))||null,this.radioButtons.length>0&&this.radioButtons.forEach((t=>{t.disabled=this.disabled||t.disabled,t.hidden=this.hidden,t.name=this.name,t.required=this.required,t.scale=this.scale}))},this.disabled=!1,this.hidden=!1,this.layout="horizontal",this.name=void 0,this.required=!1,this.selectedItem=null,this.scale="m",this.radioButtons=[]}onDisabledChange(){this.passPropsToRadioButtons()}onHiddenChange(){this.passPropsToRadioButtons()}onLayoutChange(){this.passPropsToRadioButtons()}onScaleChange(){this.passPropsToRadioButtons()}connectedCallback(){this.passPropsToRadioButtons(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}componentWillLoad(){e(this)}componentDidLoad(){n(this)}disconnectedCallback(){this.mutationObserver?.disconnect()}getFocusableRadioButton(){return this.radioButtons.find((t=>!t.disabled))??null}async setFocus(){return await l(this),this.selectedItem&&!this.selectedItem.disabled?this.selectedItem.setFocus():this.radioButtons.length>0?this.getFocusableRadioButton()?.setFocus():void 0}radioButtonChangeHandler(t){this.selectedItem=t.target,this.calciteRadioButtonGroupChange.emit()}render(){return s(a,{role:"radiogroup"},s("slot",null))}get el(){return o(this)}static get watchers(){return{disabled:["onDisabledChange"],hidden:["onHiddenChange"],layout:["onLayoutChange"],scale:["onScaleChange"]}}};r.style=":host{display:flex;max-inline-size:100vw}:host([layout=horizontal]){flex-direction:row;flex-wrap:wrap}:host([layout=horizontal][scale=s]){gap:1rem}:host([layout=horizontal][scale=m]){gap:1.25rem}:host([layout=horizontal][scale=l]){gap:1.5rem}:host([layout=vertical]){flex-direction:column}:host([hidden]){display:none}[hidden]{display:none}";export{r as calcite_radio_button_group}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0
4
+ * v1.5.1-next.0
5
5
  */
6
- import{r as t,c as i,f as s,h as e,H as a,a as o}from"./p-fd156bb4.js";import{g as r}from"./p-f57eb396.js";import{b as d,d as c,t as n}from"./p-7fd65338.js";import{c as h,d as l,H as u}from"./p-b83d9eb3.js";import{g as p}from"./p-e5a02d98.js";import{c as b,d as f,u as m}from"./p-337b67b4.js";import{c as v,d as k,g as x}from"./p-fdc4c73c.js";import{c as w,s as g,a as y}from"./p-dac27f1e.js";import"./p-865dbb48.js";const z=class{constructor(s){t(this,s),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.isFocusable=()=>{const t=this.queryButtons(),i=t.find((t=>!t.disabled)),s=t.find((t=>t.checked));return i===this.el&&!s},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:s}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let e=i;"rtl"===d(s)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const a=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let o=0;const c=a.length;switch(a.some(((t,i)=>{if(t.checked)return o=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(a,r(Math.max(o-1,-1),c));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(a,r(o+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()}disabledChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}hiddenChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await w(this),this.disabled||c(this.containerEl)}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.hidden)return;const i=t.currentTarget,s=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);s&&(s.focused=!0,this.setFocus(),s.checked||(this.uncheckOtherRadioButtonsInGroup(),s.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)}))}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid&&!t.disabled)).forEach((t=>{s(t)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?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-${p()}`,this.name&&this.checkLastRadioButton(),b(this),v(this),h(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentWillLoad(){g(this)}componentDidLoad(){y(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){f(this),k(this),l(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentDidRender(){m(this)}render(){const t=this.getTabIndex();return e(a,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},e("div",{"aria-checked":n(this.checked),"aria-label":x(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,role:"radio",tabIndex:t,ref:this.setContainerEl},e("div",{class:"radio"})),e(u,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],disabled:["disabledChanged"],hidden:["hiddenChanged"],name:["nameChanged"]}}};z.style=':host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{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}:host([hidden]){display:none}[hidden]{display:none}';export{z as calcite_radio_button}
6
+ import{r as t,c as i,f as s,h as e,H as a,a as o}from"./p-b353a4bf.js";import{g as r}from"./p-69a23ee0.js";import{b as c,d as n,t as d}from"./p-04353e76.js";import{c as h,d as l,H as u}from"./p-435fa694.js";import{g as p}from"./p-e9ccfe07.js";import{c as b,d as f,u as m}from"./p-c866115b.js";import{c as v,d as k,g as x}from"./p-14db794e.js";import{c as w,s as g,a as y}from"./p-ac2ae787.js";import"./p-750c4ac9.js";const z=class{constructor(s){t(this,s),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.isFocusable=()=>{const t=this.queryButtons(),i=t.find((t=>!t.disabled)),s=t.find((t=>t.checked));return i===this.el&&!s},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:s}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let e=i;"rtl"===c(s)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const a=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let o=0;const n=a.length;switch(a.some(((t,i)=>{if(t.checked)return o=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(a,r(Math.max(o-1,-1),n));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(a,r(o+1,n));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()}disabledChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}hiddenChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await w(this),this.disabled||n(this.containerEl)}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.hidden)return;const i=t.currentTarget,s=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);s&&(s.focused=!0,this.setFocus(),s.checked||(this.uncheckOtherRadioButtonsInGroup(),s.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)}))}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid&&!t.disabled)).forEach((t=>{s(t)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?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-${p()}`,this.name&&this.checkLastRadioButton(),b(this),v(this),h(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentWillLoad(){g(this)}componentDidLoad(){y(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){f(this),k(this),l(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentDidRender(){m(this)}render(){const t=this.getTabIndex();return e(a,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},e("div",{"aria-checked":d(this.checked),"aria-label":x(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,role:"radio",tabIndex:t,ref:this.setContainerEl},e("div",{class:"radio"})),e(u,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],disabled:["disabledChanged"],hidden:["hiddenChanged"],name:["nameChanged"]}}};z.style=':host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{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}:host([hidden]){display:none}[hidden]{display:none}';export{z 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-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0
4
+ * v1.5.1-next.0
5
5
  */
6
- import{d as r}from"./p-220447a7.js";import"./p-fd156bb4.js";import"./p-b83d9eb3.js";import"./p-7fd65338.js";import"./p-e5a02d98.js";import"./p-865dbb48.js";import"./p-337b67b4.js";import"./p-86b0724c.js";import"./p-fdc4c73c.js";import"./p-dac27f1e.js";import"./p-8c6907e5.js";import"./p-b1330d0e.js";import"./p-d1abb723.js";import"./p-24ca13e2.js";var t="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),p={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},_={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},m={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:t,monthsShort:t,weekStart:6,relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(r){return r.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(r){return _[r]})).replace(/،/g,",")},postformat:function(r){return r.replace(/\d/g,(function(r){return p[r]})).replace(/,/g,"،")},ordinal:function(r){return r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};r.locale(m,null,!0);export default m;
6
+ import{d as r}from"./p-e04a8f6e.js";import"./p-b353a4bf.js";import"./p-435fa694.js";import"./p-04353e76.js";import"./p-e9ccfe07.js";import"./p-750c4ac9.js";import"./p-c866115b.js";import"./p-fc626d9f.js";import"./p-14db794e.js";import"./p-ac2ae787.js";import"./p-dfbb877c.js";import"./p-2b34fe91.js";import"./p-61323cd9.js";import"./p-cd0c23d6.js";var t="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),p={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},_={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},m={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:t,monthsShort:t,weekStart:6,relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(r){return r.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(r){return _[r]})).replace(/،/g,",")},postformat:function(r){return r.replace(/\d/g,(function(r){return p[r]})).replace(/,/g,"،")},ordinal:function(r){return r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};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-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0
4
+ * v1.5.1-next.0
5
5
  */
6
- import{r as e,c as t,h as a,H as i,a as r,F as s}from"./p-fd156bb4.js";import{h as o,b as n,c,g as h,f as d,e as l,s as g,j as u,i as p,k as v,n as f,p as w,l as y,m as b}from"./p-f7730431.js";import{c as x,s as m,a as k}from"./p-dac27f1e.js";import{c as D,d as z,n as C,b as A}from"./p-8c6907e5.js";import{c as I,d as S,s as M,u as P}from"./p-24ca13e2.js";import{c as j,b as H,t as O}from"./p-7fd65338.js";import{c as R,u as _,d as L}from"./p-337b67b4.js";import{i as W}from"./p-86b0724c.js";import{C as Y}from"./p-865dbb48.js";import{H as E}from"./p-423fab51.js";import"./p-b1330d0e.js";import"./p-e5a02d98.js";const N={dateStyle:"full"},F=class{constructor(a){e(this,a),this.calciteDatePickerChange=t(this,"calciteDatePickerChange",6),this.calciteDatePickerRangeChange=t(this,"calciteDatePickerRangeChange",6),this.keyDownHandler=e=>{"Escape"===e.key&&this.resetActiveDates()},this.monthHeaderSelectChange=e=>{const t=new Date(e.detail);this.range?("end"===this.activeRange?this.activeEndDate=t:this.activeStartDate=t,this.mostRecentRangeValue=t):this.activeDate=t},this.monthActiveDateChange=e=>{const t=new Date(e.detail);this.range?("end"===this.activeRange?this.activeEndDate=t:this.activeStartDate=t,this.mostRecentRangeValue=t):this.activeDate=t},this.monthHoverChange=e=>{if(!this.range)return void(this.hoverRange=void 0);const{valueAsDate:t}=this,a=Array.isArray(t)&&t[0],i=Array.isArray(t)&&t[1],r=new Date(e.detail);if(this.hoverRange={focused:this.activeRange||"start",start:a,end:i},this.proximitySelectionDisabled)i?this.hoverRange=void 0:r<a?this.hoverRange={focused:"start",start:r,end:a}:(this.hoverRange.end=r,this.hoverRange.focused="end");else if(i){const e=o(r,a),t=o(r,i);t>0?(this.hoverRange.end=r,this.hoverRange.focused="end"):e<0||e>t?(this.hoverRange.start=r,this.hoverRange.focused="start"):(this.hoverRange.end=r,this.hoverRange.focused="end")}else a&&(r<a?this.hoverRange={focused:"start",start:r,end:a}:(this.hoverRange.end=r,this.hoverRange.focused="end"));e.stopPropagation()},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.resetActiveDates=()=>{const{valueAsDate:e}=this;!Array.isArray(e)&&e&&e!==this.activeDate&&(this.activeDate=new Date(e)),Array.isArray(e)&&(e[0]&&e[0]!==this.activeStartDate&&(this.activeStartDate=new Date(e[0])),e[1]&&e[1]!==this.activeEndDate&&(this.activeEndDate=new Date(e[1])))},this.monthDateChange=e=>{const t=new Date(e.detail),a=n(t);if(!this.range&&a===n(this.valueAsDate))return;if(!this.range)return this.value=a||"",this.valueAsDate=t||null,this.activeDate=t||null,void this.calciteDatePickerChange.emit();const i=this.getStartDate(),r=this.getEndDate();if(!i||!r&&t<i)i&&this.setEndDate(new Date(i)),"end"==this.activeRange?this.setEndDate(t):this.setStartDate(t);else if(r)if(this.proximitySelectionDisabled)this.setStartDate(t);else if(this.activeRange)"end"==this.activeRange?this.setEndDate(t):this.setStartDate(t);else{const e=o(t,i),a=o(t,r);0===a||e<0?this.setStartDate(t):0===e||a<0?this.setEndDate(t):e<a?this.setStartDate(t):this.setEndDate(t)}else this.setEndDate(t);this.calciteDatePickerChange.emit()},this.activeDate=void 0,this.activeRange=void 0,this.value=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.numberingSystem=void 0,this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.messageOverrides=void 0,this.messages=void 0,this.activeEndDate=void 0,this.activeStartDate=void 0,this.dateTimeFormat=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.endAsDate=void 0,this.hoverRange=void 0,this.localeData=void 0,this.mostRecentRangeValue=void 0,this.startAsDate=void 0}activeDateWatcher(e){"end"===this.activeRange&&(this.activeEndDate=e)}valueAsDateWatcher(e){if(this.range&&Array.isArray(e)){const{activeStartDate:t,activeEndDate:a}=this,i=e[0],r=e[1];this.activeStartDate=t!==i&&i,this.activeEndDate=a!==r&&r}else e&&e!==this.activeDate&&(this.activeDate=e)}onMinChanged(e){e&&(this.minAsDate=c(e))}onMaxChanged(e){e&&(this.maxAsDate=c(e))}onMessagesChange(){}async setFocus(){await x(this),this.el.focus()}async reset(){this.resetActiveDates(),this.mostRecentRangeValue=void 0}connectedCallback(){D(this),I(this),Array.isArray(this.value)?this.valueAsDate=h(this.value):this.value&&(this.valueAsDate=c(this.value)),this.min&&(this.minAsDate=c(this.min)),this.max&&(this.maxAsDate=c(this.max))}disconnectedCallback(){z(this),S(this)}async componentWillLoad(){m(this),await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max),await M(this)}componentDidLoad(){k(this)}render(){const e=d(this.range&&Array.isArray(this.valueAsDate)?this.valueAsDate[0]:this.valueAsDate,this.minAsDate,this.maxAsDate);let t=this.getActiveDate(e,this.minAsDate,this.maxAsDate);const r=this.range&&Array.isArray(this.valueAsDate)?d(this.valueAsDate[1],this.minAsDate,this.maxAsDate):null,s=this.getActiveEndDate(r,this.minAsDate,this.maxAsDate);return"end"!==this.activeRange&&("end"!==this.hoverRange?.focused||this.proximitySelectionDisabled&&!r)||!s||(t=s),this.range&&this.mostRecentRangeValue&&(t=this.mostRecentRangeValue),a(i,{onBlur:this.resetActiveDates,onKeyDown:this.keyDownHandler},this.renderCalendar(t,this.range&&this.activeRange&&"start"===this.activeRange&&r||this.maxAsDate,this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:e||this.minAsDate:this.minAsDate,e,r))}effectiveLocaleChange(){P(this,this.effectiveLocale)}valueHandler(e){Array.isArray(e)?this.valueAsDate=h(e):e&&(this.valueAsDate=c(e))}async loadLocaleData(){C.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await l(this.effectiveLocale),this.dateTimeFormat=A(this.effectiveLocale,N)}renderCalendar(e,t,i,r,s){return this.localeData&&[a("calcite-date-picker-month-header",{activeDate:e,headingLevel:this.headingLevel||2,localeData:this.localeData,max:t,messages:this.messages,min:i,onCalciteInternalDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?s:r||new Date}),a("calcite-date-picker-month",{activeDate:e,dateTimeFormat:this.dateTimeFormat,endDate:this.range?s:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:t,min:i,onCalciteInternalDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,onCalciteInternalDatePickerSelect:this.monthDateChange,scale:this.scale,selectedDate:"end"===this.activeRange?s:r,startDate:this.range?r:void 0})]}getEndDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0}setEndDate(e){const t=this.getStartDate(),a=e?g(e):e;this.value=[n(t),n(e)],this.valueAsDate=[t,e],this.mostRecentRangeValue=a,this.calciteDatePickerRangeChange.emit(),this.activeEndDate=e||null}getStartDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[0]}setStartDate(e){const t=this.getEndDate();this.value=[n(e),n(t)],this.valueAsDate=[e,t],this.mostRecentRangeValue=e,this.calciteDatePickerRangeChange.emit(),this.activeStartDate=e||null}getActiveDate(e,t,a){return d(this.activeDate,t,a)||e||d(new Date,t,a)}getActiveEndDate(e,t,a){return d(this.activeEndDate,t,a)||e||d(new Date,t,a)}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{activeDate:["activeDateWatcher"],valueAsDate:["valueAsDateWatcher"],min:["onMinChanged"],max:["onMaxChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","loadLocaleData"],value:["valueHandler"]}}};F.style=":host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}:host([hidden]){display:none}[hidden]{display:none}";const K=class{constructor(a){e(this,a),this.calciteDaySelect=t(this,"calciteDaySelect",6),this.calciteInternalDayHover=t(this,"calciteInternalDayHover",6),this.onClick=()=>{this.disabled||this.calciteDaySelect.emit()},this.keyDownHandler=e=>{W(e.key)&&(!this.disabled&&this.calciteDaySelect.emit(),e.preventDefault())},this.day=void 0,this.dateTimeFormat=void 0,this.disabled=!1,this.currentMonth=!1,this.selected=!1,this.highlighted=!1,this.range=!1,this.rangeEdge=void 0,this.startOfRange=!1,this.endOfRange=!1,this.rangeHover=!1,this.active=!1,this.scale=void 0,this.value=void 0}pointerOverHandler(){this.disabled||this.calciteInternalDayHover.emit()}componentWillLoad(){this.parentDatePickerEl=j(this.el,"calcite-date-picker")}render(){const e=n(this.value).replaceAll("-","");if(this.parentDatePickerEl){const{numberingSystem:e,lang:t}=this.parentDatePickerEl;C.numberFormatOptions={useGrouping:!1,...e&&{numberingSystem:e},...t&&{locale:t}}}const t=C.localize(String(this.day)),r=H(this.el),s=this.dateTimeFormat.format(this.value);return a(i,{"aria-disabled":O(this.disabled),"aria-label":s,"aria-selected":O(this.active),id:e,onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"button"},a("div",{"aria-hidden":"true",class:{"day-v-wrapper":!0,[Y.rtl]:"rtl"===r}},a("div",{class:"day-wrapper"},a("span",{class:"day"},a("span",{class:"text"},t)))))}connectedCallback(){R(this)}componentDidRender(){_(this,this.isTabbable)}disconnectedCallback(){L(this)}isTabbable(){return this.active}get el(){return r(this)}};K.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;cursor:pointer;color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{flex:1 1 auto}.day-wrapper{display:flex;flex-direction:column;align-items:center}.day{display:flex;align-items:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .day{opacity:1}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range]:not(:focus)) .calcite--rtl .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--start) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--end) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([range-hover][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([highlighted][range-edge=start]) .calcite--rtl .day-wrapper,:host([range-hover][range-edge=start]) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([range-hover][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([highlighted][range-edge=end]) .calcite--rtl .day-wrapper,:host([range-hover][range-edge=end]) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted][range-edge=start]) .calcite--rtl .day-wrapper,:host([scale=s][range-hover][range-edge=start]) .calcite--rtl .day-wrapper{box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted][range-edge=end]) .calcite--rtl .day-wrapper,:host([scale=s][range-hover][range-edge=end]) .calcite--rtl .day-wrapper{box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted][range-edge=end]) .calcite--rtl .day-wrapper,:host([scale=l][range-hover][range-edge=end]) .calcite--rtl .day-wrapper{box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted][range-edge=start]) .day-wrapper,:host([range-hover][range-edge=start]) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted][range-edge=end]) .day-wrapper,:host([range-hover][range-edge=end]) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted][range-edge=start]) .calcite--rtl .day-wrapper,:host([scale=l][range-hover][range-edge=start]) .calcite--rtl .day-wrapper{box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}:host([hidden]){display:none}[hidden]{display:none}";const T=class{constructor(a){e(this,a),this.calciteInternalDatePickerSelect=t(this,"calciteInternalDatePickerSelect",6),this.calciteInternalDatePickerHover=t(this,"calciteInternalDatePickerHover",6),this.calciteInternalDatePickerActiveDateChange=t(this,"calciteInternalDatePickerActiveDateChange",6),this.calciteInternalDatePickerMouseOut=t(this,"calciteInternalDatePickerMouseOut",6),this.keyDownHandler=e=>{if(e.defaultPrevented)return;const t="rtl"===this.el.dir;switch(e.key){case"ArrowUp":e.preventDefault(),this.addDays(-7);break;case"ArrowRight":e.preventDefault(),this.addDays(t?-1:1);break;case"ArrowDown":e.preventDefault(),this.addDays(7);break;case"ArrowLeft":e.preventDefault(),this.addDays(t?1:-1);break;case"PageUp":e.preventDefault(),this.addMonths(-1);break;case"PageDown":e.preventDefault(),this.addMonths(1);break;case"Home":e.preventDefault(),this.activeDate.setDate(1),this.addDays();break;case"End":e.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":this.activeFocus=!1}},this.disableActiveFocus=()=>{this.activeFocus=!1},this.dayHover=e=>{const t=e.target;t.disabled?this.calciteInternalDatePickerMouseOut.emit():this.calciteInternalDatePickerHover.emit(t.value),e.stopPropagation()},this.daySelect=e=>{this.calciteInternalDatePickerSelect.emit(e.target.value)},this.dateTimeFormat=void 0,this.selectedDate=void 0,this.activeDate=new Date,this.startDate=void 0,this.endDate=void 0,this.min=void 0,this.max=void 0,this.scale=void 0,this.localeData=void 0,this.hoverRange=void 0}pointerOutHandler(){this.calciteInternalDatePickerMouseOut.emit()}render(){const e=this.activeDate.getMonth(),t=this.activeDate.getFullYear(),r=this.localeData.weekStart%7,{abbreviated:s,short:o,narrow:n}=this.localeData.days,c="s"===this.scale?n||o||s:o||s||n,h=[...c.slice(r,7),...c.slice(0,r)],d=this.getCurrentMonthDays(e,t),l=this.getPreviousMonthDays(e,t,r),g=this.getNextMonthDays(e,t,r);let p=0;const v=()=>p++%7,f=[...l.map((a=>({active:!1,day:a,dayInWeek:v(),date:new Date(t,e-1,a)}))),...d.map((a=>{const i=new Date(t,e,a);return{active:u(i,this.activeDate),currentMonth:!0,day:a,dayInWeek:v(),date:i,ref:!0}})),...g.map((a=>({active:!1,day:a,dayInWeek:v(),date:new Date(t,e+1,a)})))],w=[];for(let e=0;e<f.length;e+=7)w.push(f.slice(e,e+7));return a(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},a("div",{class:"calendar",role:"grid"},a("div",{class:"week-headers",role:"row"},h.map((e=>a("span",{class:"week-header",role:"columnheader"},e)))),w.map((e=>a("div",{class:"week-days",role:"row"},e.map((e=>this.renderDateDay(e))))))))}addMonths(e){const t=new Date(this.activeDate);t.setMonth(this.activeDate.getMonth()+e),this.calciteInternalDatePickerActiveDateChange.emit(d(t,this.min,this.max)),this.activeFocus=!0}addDays(e=0){const t=new Date(this.activeDate);t.setDate(this.activeDate.getDate()+e),this.calciteInternalDatePickerActiveDateChange.emit(d(t,this.min,this.max)),this.activeFocus=!0}getPreviousMonthDays(e,t,a){const i=new Date(t,e,0),r=i.getDate(),s=i.getDay(),o=[];if(s===(a+6)%7)return o;if(s===a)return[r];for(let e=(7+s-a)%7;e>=0;e--)o.push(r-e);return o}getCurrentMonthDays(e,t){const a=new Date(t,e+1,0).getDate(),i=[];for(let e=0;e<a;e++)i.push(e+1);return i}getNextMonthDays(e,t,a){const i=new Date(t,e+1,0).getDay(),r=[];if(i===(a+6)%7)return r;for(let e=0;e<(6-(i-a))%7;e++)r.push(e+1);return r}betweenSelectedRange(e){return!(!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate)||this.isRangeHover(e))}isSelected(e){return!!(u(e,this.selectedDate)||this.startDate&&u(e,this.startDate)||this.endDate&&u(e,this.endDate))}isStartOfRange(e){return!(!this.startDate||u(this.startDate,this.endDate)||!u(this.startDate,e)||this.isEndOfRange(e))}isEndOfRange(e){return!!(this.endDate&&!u(this.startDate,this.endDate)&&u(this.endDate,e)||!this.endDate&&this.hoverRange&&u(this.startDate,this.hoverRange.end)&&u(e,this.hoverRange.end))}renderDateDay({active:e,currentMonth:t,date:i,day:r,dayInWeek:s,ref:o}){const n=this.isFocusedOnStart(),c=this.isHoverInRange()||!this.endDate&&this.hoverRange&&u(this.hoverRange?.end,this.startDate);return a("div",{class:"day",key:i.toDateString(),role:"gridcell"},a("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&c,"hover--outside-range":this.startDate&&!c,"focused--start":n,"focused--end":!n},currentMonth:t,dateTimeFormat:this.dateTimeFormat,day:r,disabled:!p(i,this.min,this.max),endOfRange:this.isEndOfRange(i),highlighted:this.betweenSelectedRange(i),onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!u(this.startDate,this.endDate),rangeEdge:0===s?"start":6===s?"end":void 0,rangeHover:this.isRangeHover(i),scale:this.scale,selected:this.isSelected(i),startOfRange:this.isStartOfRange(i),value:i,ref:t=>{o&&e&&this.activeFocus&&t?.focus()}}))}isFocusedOnStart(){return"start"===this.hoverRange?.focused}isHoverInRange(){if(!this.hoverRange)return!1;const{start:e,end:t}=this.hoverRange;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||t<this.endDate)||this.isFocusedOnStart()&&this.startDate&&e>this.startDate)}isRangeHover(e){if(!this.hoverRange)return!1;const{start:t,end:a}=this.hoverRange,i=this.isFocusedOnStart(),r=this.isHoverInRange(),s=r&&(!i&&e>this.startDate&&(e<a||u(e,a))||i&&e<this.endDate&&(e>t||u(e,t))),o=!r&&(!i&&e>=this.endDate&&(e<a||u(e,a))||i&&(this.startDate&&e<this.startDate||this.endDate&&u(e,this.startDate))&&(t&&e>t||u(e,t)));return s||o}get el(){return r(this)}};T.style=":host([hidden]){display:none}[hidden]{display:none}.calendar{margin-block-end:0.25rem}.week-headers{display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);inline-size:14.2857142857%}.day{display:flex;min-inline-size:0px;justify-content:center;inline-size:14.2857142857%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:flex;flex-direction:row;padding-block:0px;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";const $="chevron",G=class{constructor(a){e(this,a),this.calciteInternalDatePickerSelect=t(this,"calciteInternalDatePickerSelect",6),this.onYearKey=e=>{const t=this.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault(),this.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault(),this.setYear({localizedYear:t,offset:1})}},this.onYearChange=e=>{this.setYear({localizedYear:this.parseCalendarYear(e.target.value)})},this.onYearInput=e=>{this.setYear({localizedYear:this.parseCalendarYear(e.target.value),commit:!1})},this.prevMonthClick=e=>{this.handleArrowClick(e,this.prevMonthDate)},this.prevMonthKeydown=e=>{W(e.key)&&this.prevMonthClick(e)},this.nextMonthClick=e=>{this.handleArrowClick(e,this.nextMonthDate)},this.nextMonthKeydown=e=>{W(e.key)&&this.nextMonthClick(e)},this.handleArrowClick=(e,t)=>{e.preventDefault(),this.calciteInternalDatePickerSelect.emit(t)},this.selectedDate=void 0,this.activeDate=void 0,this.headingLevel=void 0,this.min=void 0,this.max=void 0,this.scale=void 0,this.localeData=void 0,this.messages=void 0,this.nextMonthDate=void 0,this.prevMonthDate=void 0}componentWillLoad(){this.parentDatePickerEl=j(this.el,"calcite-date-picker")}connectedCallback(){this.setNextPrevMonthDates()}render(){return a("div",{class:"header"},this.renderContent())}renderContent(){const{messages:e,localeData:t,activeDate:i}=this;if(!i||!t)return null;if(this.parentDatePickerEl){const{numberingSystem:e,lang:t}=this.parentDatePickerEl;C.numberFormatOptions={useGrouping:!1,...e&&{numberingSystem:e},...t&&{locale:t}}}const r=i.getMonth(),{months:o,unitOrder:n}=t,c=(o.wide||o.narrow||o.abbreviated)[r],h=this.formatCalendarYear(i.getFullYear()),d="l"===this.scale?"m":"s",l=v(n),g=l.indexOf("y")<l.indexOf("m"),u=t.year?.suffix;return a(s,null,a("a",{"aria-disabled":`${this.prevMonthDate.getMonth()===r}`,"aria-label":e.prevMonth,class:$,href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===r?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-left",scale:d})),a("div",{class:{text:!0,"text--reverse":g}},a(E,{class:"month",level:this.headingLevel},c),a("span",{class:"year-wrap"},a("input",{"aria-label":e.year,class:{year:!0,"year--suffix":!!u},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",type:"text",value:h,ref:e=>this.yearInput=e}),u&&a("span",{class:"suffix"},u))),a("a",{"aria-disabled":`${this.nextMonthDate.getMonth()===r}`,"aria-label":e.nextMonth,class:$,href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===r?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-right",scale:d})))}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=d(f(this.activeDate),this.min,this.max),this.prevMonthDate=d(w(this.activeDate),this.min,this.max))}formatCalendarYear(e){return C.localize(`${y(e,this.localeData)}`)}parseCalendarYear(e){return C.localize(`${b(Number(C.delocalize(e)),this.localeData)}`)}getInRangeDate({localizedYear:e,offset:t=0}){const{min:a,max:i,activeDate:r}=this,s=Number(C.delocalize(e)),o=s.toString().length,n=!isNaN(s)&&s+t,c=n&&(!a||a.getFullYear()<=n)&&(!i||i.getFullYear()>=n);if(n&&c&&o===e.length){const e=new Date(r);return e.setFullYear(n),d(e,a,i)}}setYear({localizedYear:e,commit:t=!0,offset:a=0}){const{yearInput:i,activeDate:r}=this,s=this.getInRangeDate({localizedYear:e,offset:a});s&&this.calciteInternalDatePickerSelect.emit(s),t&&(i.value=this.formatCalendarYear((s||r).getFullYear()))}get el(){return r(this)}static get watchers(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}}};G.style=":host{display:block}.header{display:flex;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;box-sizing:content-box;display:flex;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;display:flex;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:center;text-align:center;line-height:1}.text--reverse{flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;inline-size:2.5rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent}.year:hover{transition-duration:100ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.year--suffix{text-align:start}.year-wrap{position:relative}.suffix{inset-block-start:0px;white-space:nowrap;text-align:start;inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}";export{F as calcite_date_picker,K as calcite_date_picker_day,T as calcite_date_picker_month,G as calcite_date_picker_month_header}
6
+ import{r as e,c as t,h as a,H as i,a as r,F as s}from"./p-b353a4bf.js";import{h as o,b as n,c,g as h,f as d,e as l,s as g,j as u,i as p,k as v,n as f,p as w,l as y,m as b}from"./p-092ff805.js";import{c as x,s as m,a as k}from"./p-ac2ae787.js";import{c as D,d as z,n as C,b as A}from"./p-dfbb877c.js";import{c as I,d as S,s as M,u as P}from"./p-cd0c23d6.js";import{c as j,b as H,t as O}from"./p-04353e76.js";import{c as R,u as _,d as L}from"./p-c866115b.js";import{i as W}from"./p-fc626d9f.js";import{C as Y}from"./p-750c4ac9.js";import{H as E}from"./p-c0e2352a.js";import"./p-2b34fe91.js";import"./p-e9ccfe07.js";const N={dateStyle:"full"},F=class{constructor(a){e(this,a),this.calciteDatePickerChange=t(this,"calciteDatePickerChange",6),this.calciteDatePickerRangeChange=t(this,"calciteDatePickerRangeChange",6),this.keyDownHandler=e=>{"Escape"===e.key&&this.resetActiveDates()},this.monthHeaderSelectChange=e=>{const t=new Date(e.detail);this.range?("end"===this.activeRange?this.activeEndDate=t:this.activeStartDate=t,this.mostRecentRangeValue=t):this.activeDate=t},this.monthActiveDateChange=e=>{const t=new Date(e.detail);this.range?("end"===this.activeRange?this.activeEndDate=t:this.activeStartDate=t,this.mostRecentRangeValue=t):this.activeDate=t},this.monthHoverChange=e=>{if(!this.range)return void(this.hoverRange=void 0);const{valueAsDate:t}=this,a=Array.isArray(t)&&t[0],i=Array.isArray(t)&&t[1],r=new Date(e.detail);if(this.hoverRange={focused:this.activeRange||"start",start:a,end:i},this.proximitySelectionDisabled)i?this.hoverRange=void 0:r<a?this.hoverRange={focused:"start",start:r,end:a}:(this.hoverRange.end=r,this.hoverRange.focused="end");else if(i){const e=o(r,a),t=o(r,i);t>0?(this.hoverRange.end=r,this.hoverRange.focused="end"):e<0||e>t?(this.hoverRange.start=r,this.hoverRange.focused="start"):(this.hoverRange.end=r,this.hoverRange.focused="end")}else a&&(r<a?this.hoverRange={focused:"start",start:r,end:a}:(this.hoverRange.end=r,this.hoverRange.focused="end"));e.stopPropagation()},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.resetActiveDates=()=>{const{valueAsDate:e}=this;!Array.isArray(e)&&e&&e!==this.activeDate&&(this.activeDate=new Date(e)),Array.isArray(e)&&(e[0]&&e[0]!==this.activeStartDate&&(this.activeStartDate=new Date(e[0])),e[1]&&e[1]!==this.activeEndDate&&(this.activeEndDate=new Date(e[1])))},this.monthDateChange=e=>{const t=new Date(e.detail),a=n(t);if(!this.range&&a===n(this.valueAsDate))return;if(!this.range)return this.value=a||"",this.valueAsDate=t||null,this.activeDate=t||null,void this.calciteDatePickerChange.emit();const i=this.getStartDate(),r=this.getEndDate();if(!i||!r&&t<i)i&&this.setEndDate(new Date(i)),"end"==this.activeRange?this.setEndDate(t):this.setStartDate(t);else if(r)if(this.proximitySelectionDisabled)this.setStartDate(t);else if(this.activeRange)"end"==this.activeRange?this.setEndDate(t):this.setStartDate(t);else{const e=o(t,i),a=o(t,r);0===a||e<0?this.setStartDate(t):0===e||a<0?this.setEndDate(t):e<a?this.setStartDate(t):this.setEndDate(t)}else this.setEndDate(t);this.calciteDatePickerChange.emit()},this.activeDate=void 0,this.activeRange=void 0,this.value=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.numberingSystem=void 0,this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.messageOverrides=void 0,this.messages=void 0,this.activeEndDate=void 0,this.activeStartDate=void 0,this.dateTimeFormat=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.endAsDate=void 0,this.hoverRange=void 0,this.localeData=void 0,this.mostRecentRangeValue=void 0,this.startAsDate=void 0}activeDateWatcher(e){"end"===this.activeRange&&(this.activeEndDate=e)}valueAsDateWatcher(e){if(this.range&&Array.isArray(e)){const{activeStartDate:t,activeEndDate:a}=this,i=e[0],r=e[1];this.activeStartDate=t!==i&&i,this.activeEndDate=a!==r&&r}else e&&e!==this.activeDate&&(this.activeDate=e)}onMinChanged(e){e&&(this.minAsDate=c(e))}onMaxChanged(e){e&&(this.maxAsDate=c(e))}onMessagesChange(){}async setFocus(){await x(this),this.el.focus()}async reset(){this.resetActiveDates(),this.mostRecentRangeValue=void 0}connectedCallback(){D(this),I(this),Array.isArray(this.value)?this.valueAsDate=h(this.value):this.value&&(this.valueAsDate=c(this.value)),this.min&&(this.minAsDate=c(this.min)),this.max&&(this.maxAsDate=c(this.max))}disconnectedCallback(){z(this),S(this)}async componentWillLoad(){m(this),await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max),await M(this)}componentDidLoad(){k(this)}render(){const e=d(this.range&&Array.isArray(this.valueAsDate)?this.valueAsDate[0]:this.valueAsDate,this.minAsDate,this.maxAsDate);let t=this.getActiveDate(e,this.minAsDate,this.maxAsDate);const r=this.range&&Array.isArray(this.valueAsDate)?d(this.valueAsDate[1],this.minAsDate,this.maxAsDate):null,s=this.getActiveEndDate(r,this.minAsDate,this.maxAsDate);return"end"!==this.activeRange&&("end"!==this.hoverRange?.focused||this.proximitySelectionDisabled&&!r)||!s||(t=s),this.range&&this.mostRecentRangeValue&&(t=this.mostRecentRangeValue),a(i,{onBlur:this.resetActiveDates,onKeyDown:this.keyDownHandler},this.renderCalendar(t,this.range&&this.activeRange&&"start"===this.activeRange&&r||this.maxAsDate,this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:e||this.minAsDate:this.minAsDate,e,r))}effectiveLocaleChange(){P(this,this.effectiveLocale)}valueHandler(e){Array.isArray(e)?this.valueAsDate=h(e):e&&(this.valueAsDate=c(e))}async loadLocaleData(){C.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await l(this.effectiveLocale),this.dateTimeFormat=A(this.effectiveLocale,N)}renderCalendar(e,t,i,r,s){return this.localeData&&[a("calcite-date-picker-month-header",{activeDate:e,headingLevel:this.headingLevel||2,localeData:this.localeData,max:t,messages:this.messages,min:i,onCalciteInternalDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?s:r||new Date}),a("calcite-date-picker-month",{activeDate:e,dateTimeFormat:this.dateTimeFormat,endDate:this.range?s:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:t,min:i,onCalciteInternalDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,onCalciteInternalDatePickerSelect:this.monthDateChange,scale:this.scale,selectedDate:"end"===this.activeRange?s:r,startDate:this.range?r:void 0})]}getEndDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0}setEndDate(e){const t=this.getStartDate(),a=e?g(e):e;this.value=[n(t),n(e)],this.valueAsDate=[t,e],this.mostRecentRangeValue=a,this.calciteDatePickerRangeChange.emit(),this.activeEndDate=e||null}getStartDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[0]}setStartDate(e){const t=this.getEndDate();this.value=[n(e),n(t)],this.valueAsDate=[e,t],this.mostRecentRangeValue=e,this.calciteDatePickerRangeChange.emit(),this.activeStartDate=e||null}getActiveDate(e,t,a){return d(this.activeDate,t,a)||e||d(new Date,t,a)}getActiveEndDate(e,t,a){return d(this.activeEndDate,t,a)||e||d(new Date,t,a)}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{activeDate:["activeDateWatcher"],valueAsDate:["valueAsDateWatcher"],min:["onMinChanged"],max:["onMaxChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","loadLocaleData"],value:["valueHandler"]}}};F.style=":host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}:host([hidden]){display:none}[hidden]{display:none}";const K=class{constructor(a){e(this,a),this.calciteDaySelect=t(this,"calciteDaySelect",6),this.calciteInternalDayHover=t(this,"calciteInternalDayHover",6),this.onClick=()=>{this.disabled||this.calciteDaySelect.emit()},this.keyDownHandler=e=>{W(e.key)&&(!this.disabled&&this.calciteDaySelect.emit(),e.preventDefault())},this.day=void 0,this.dateTimeFormat=void 0,this.disabled=!1,this.currentMonth=!1,this.selected=!1,this.highlighted=!1,this.range=!1,this.rangeEdge=void 0,this.startOfRange=!1,this.endOfRange=!1,this.rangeHover=!1,this.active=!1,this.scale=void 0,this.value=void 0}pointerOverHandler(){this.disabled||this.calciteInternalDayHover.emit()}componentWillLoad(){this.parentDatePickerEl=j(this.el,"calcite-date-picker")}render(){const e=n(this.value).replaceAll("-","");if(this.parentDatePickerEl){const{numberingSystem:e,lang:t}=this.parentDatePickerEl;C.numberFormatOptions={useGrouping:!1,...e&&{numberingSystem:e},...t&&{locale:t}}}const t=C.localize(String(this.day)),r=H(this.el),s=this.dateTimeFormat.format(this.value);return a(i,{"aria-disabled":O(this.disabled),"aria-label":s,"aria-selected":O(this.active),id:e,onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"button"},a("div",{"aria-hidden":"true",class:{"day-v-wrapper":!0,[Y.rtl]:"rtl"===r}},a("div",{class:"day-wrapper"},a("span",{class:"day"},a("span",{class:"text"},t)))))}connectedCallback(){R(this)}componentDidRender(){_(this,this.isTabbable)}disconnectedCallback(){L(this)}isTabbable(){return this.active}get el(){return r(this)}};K.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;cursor:pointer;color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{flex:1 1 auto}.day-wrapper{display:flex;flex-direction:column;align-items:center}.day{display:flex;align-items:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .day{opacity:1}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range]:not(:focus)) .calcite--rtl .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--start) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--end) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([range-hover][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([highlighted][range-edge=start]) .calcite--rtl .day-wrapper,:host([range-hover][range-edge=start]) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([range-hover][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([highlighted][range-edge=end]) .calcite--rtl .day-wrapper,:host([range-hover][range-edge=end]) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted][range-edge=start]) .calcite--rtl .day-wrapper,:host([scale=s][range-hover][range-edge=start]) .calcite--rtl .day-wrapper{box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted][range-edge=end]) .calcite--rtl .day-wrapper,:host([scale=s][range-hover][range-edge=end]) .calcite--rtl .day-wrapper{box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted][range-edge=end]) .calcite--rtl .day-wrapper,:host([scale=l][range-hover][range-edge=end]) .calcite--rtl .day-wrapper{box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted][range-edge=start]) .day-wrapper,:host([range-hover][range-edge=start]) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted][range-edge=end]) .day-wrapper,:host([range-hover][range-edge=end]) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted][range-edge=start]) .calcite--rtl .day-wrapper,:host([scale=l][range-hover][range-edge=start]) .calcite--rtl .day-wrapper{box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}:host([hidden]){display:none}[hidden]{display:none}";const T=class{constructor(a){e(this,a),this.calciteInternalDatePickerSelect=t(this,"calciteInternalDatePickerSelect",6),this.calciteInternalDatePickerHover=t(this,"calciteInternalDatePickerHover",6),this.calciteInternalDatePickerActiveDateChange=t(this,"calciteInternalDatePickerActiveDateChange",6),this.calciteInternalDatePickerMouseOut=t(this,"calciteInternalDatePickerMouseOut",6),this.keyDownHandler=e=>{if(e.defaultPrevented)return;const t="rtl"===this.el.dir;switch(e.key){case"ArrowUp":e.preventDefault(),this.addDays(-7);break;case"ArrowRight":e.preventDefault(),this.addDays(t?-1:1);break;case"ArrowDown":e.preventDefault(),this.addDays(7);break;case"ArrowLeft":e.preventDefault(),this.addDays(t?1:-1);break;case"PageUp":e.preventDefault(),this.addMonths(-1);break;case"PageDown":e.preventDefault(),this.addMonths(1);break;case"Home":e.preventDefault(),this.activeDate.setDate(1),this.addDays();break;case"End":e.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":this.activeFocus=!1}},this.disableActiveFocus=()=>{this.activeFocus=!1},this.dayHover=e=>{const t=e.target;t.disabled?this.calciteInternalDatePickerMouseOut.emit():this.calciteInternalDatePickerHover.emit(t.value),e.stopPropagation()},this.daySelect=e=>{this.calciteInternalDatePickerSelect.emit(e.target.value)},this.dateTimeFormat=void 0,this.selectedDate=void 0,this.activeDate=new Date,this.startDate=void 0,this.endDate=void 0,this.min=void 0,this.max=void 0,this.scale=void 0,this.localeData=void 0,this.hoverRange=void 0}pointerOutHandler(){this.calciteInternalDatePickerMouseOut.emit()}render(){const e=this.activeDate.getMonth(),t=this.activeDate.getFullYear(),r=this.localeData.weekStart%7,{abbreviated:s,short:o,narrow:n}=this.localeData.days,c="s"===this.scale?n||o||s:o||s||n,h=[...c.slice(r,7),...c.slice(0,r)],d=this.getCurrentMonthDays(e,t),l=this.getPreviousMonthDays(e,t,r),g=this.getNextMonthDays(e,t,r);let p=0;const v=()=>p++%7,f=[...l.map((a=>({active:!1,day:a,dayInWeek:v(),date:new Date(t,e-1,a)}))),...d.map((a=>{const i=new Date(t,e,a);return{active:u(i,this.activeDate),currentMonth:!0,day:a,dayInWeek:v(),date:i,ref:!0}})),...g.map((a=>({active:!1,day:a,dayInWeek:v(),date:new Date(t,e+1,a)})))],w=[];for(let e=0;e<f.length;e+=7)w.push(f.slice(e,e+7));return a(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},a("div",{class:"calendar",role:"grid"},a("div",{class:"week-headers",role:"row"},h.map((e=>a("span",{class:"week-header",role:"columnheader"},e)))),w.map((e=>a("div",{class:"week-days",role:"row"},e.map((e=>this.renderDateDay(e))))))))}addMonths(e){const t=new Date(this.activeDate);t.setMonth(this.activeDate.getMonth()+e),this.calciteInternalDatePickerActiveDateChange.emit(d(t,this.min,this.max)),this.activeFocus=!0}addDays(e=0){const t=new Date(this.activeDate);t.setDate(this.activeDate.getDate()+e),this.calciteInternalDatePickerActiveDateChange.emit(d(t,this.min,this.max)),this.activeFocus=!0}getPreviousMonthDays(e,t,a){const i=new Date(t,e,0),r=i.getDate(),s=i.getDay(),o=[];if(s===(a+6)%7)return o;if(s===a)return[r];for(let e=(7+s-a)%7;e>=0;e--)o.push(r-e);return o}getCurrentMonthDays(e,t){const a=new Date(t,e+1,0).getDate(),i=[];for(let e=0;e<a;e++)i.push(e+1);return i}getNextMonthDays(e,t,a){const i=new Date(t,e+1,0).getDay(),r=[];if(i===(a+6)%7)return r;for(let e=0;e<(6-(i-a))%7;e++)r.push(e+1);return r}betweenSelectedRange(e){return!(!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate)||this.isRangeHover(e))}isSelected(e){return!!(u(e,this.selectedDate)||this.startDate&&u(e,this.startDate)||this.endDate&&u(e,this.endDate))}isStartOfRange(e){return!(!this.startDate||u(this.startDate,this.endDate)||!u(this.startDate,e)||this.isEndOfRange(e))}isEndOfRange(e){return!!(this.endDate&&!u(this.startDate,this.endDate)&&u(this.endDate,e)||!this.endDate&&this.hoverRange&&u(this.startDate,this.hoverRange.end)&&u(e,this.hoverRange.end))}renderDateDay({active:e,currentMonth:t,date:i,day:r,dayInWeek:s,ref:o}){const n=this.isFocusedOnStart(),c=this.isHoverInRange()||!this.endDate&&this.hoverRange&&u(this.hoverRange?.end,this.startDate);return a("div",{class:"day",key:i.toDateString(),role:"gridcell"},a("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&c,"hover--outside-range":this.startDate&&!c,"focused--start":n,"focused--end":!n},currentMonth:t,dateTimeFormat:this.dateTimeFormat,day:r,disabled:!p(i,this.min,this.max),endOfRange:this.isEndOfRange(i),highlighted:this.betweenSelectedRange(i),onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!u(this.startDate,this.endDate),rangeEdge:0===s?"start":6===s?"end":void 0,rangeHover:this.isRangeHover(i),scale:this.scale,selected:this.isSelected(i),startOfRange:this.isStartOfRange(i),value:i,ref:t=>{o&&e&&this.activeFocus&&t?.focus()}}))}isFocusedOnStart(){return"start"===this.hoverRange?.focused}isHoverInRange(){if(!this.hoverRange)return!1;const{start:e,end:t}=this.hoverRange;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||t<this.endDate)||this.isFocusedOnStart()&&this.startDate&&e>this.startDate)}isRangeHover(e){if(!this.hoverRange)return!1;const{start:t,end:a}=this.hoverRange,i=this.isFocusedOnStart(),r=this.isHoverInRange(),s=r&&(!i&&e>this.startDate&&(e<a||u(e,a))||i&&e<this.endDate&&(e>t||u(e,t))),o=!r&&(!i&&e>=this.endDate&&(e<a||u(e,a))||i&&(this.startDate&&e<this.startDate||this.endDate&&u(e,this.startDate))&&(t&&e>t||u(e,t)));return s||o}get el(){return r(this)}};T.style=":host([hidden]){display:none}[hidden]{display:none}.calendar{margin-block-end:0.25rem}.week-headers{display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);inline-size:14.2857142857%}.day{display:flex;min-inline-size:0px;justify-content:center;inline-size:14.2857142857%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:flex;flex-direction:row;padding-block:0px;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";const $="chevron",G=class{constructor(a){e(this,a),this.calciteInternalDatePickerSelect=t(this,"calciteInternalDatePickerSelect",6),this.onYearKey=e=>{const t=this.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault(),this.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault(),this.setYear({localizedYear:t,offset:1})}},this.onYearChange=e=>{this.setYear({localizedYear:this.parseCalendarYear(e.target.value)})},this.onYearInput=e=>{this.setYear({localizedYear:this.parseCalendarYear(e.target.value),commit:!1})},this.prevMonthClick=e=>{this.handleArrowClick(e,this.prevMonthDate)},this.prevMonthKeydown=e=>{W(e.key)&&this.prevMonthClick(e)},this.nextMonthClick=e=>{this.handleArrowClick(e,this.nextMonthDate)},this.nextMonthKeydown=e=>{W(e.key)&&this.nextMonthClick(e)},this.handleArrowClick=(e,t)=>{e.preventDefault(),this.calciteInternalDatePickerSelect.emit(t)},this.selectedDate=void 0,this.activeDate=void 0,this.headingLevel=void 0,this.min=void 0,this.max=void 0,this.scale=void 0,this.localeData=void 0,this.messages=void 0,this.nextMonthDate=void 0,this.prevMonthDate=void 0}componentWillLoad(){this.parentDatePickerEl=j(this.el,"calcite-date-picker")}connectedCallback(){this.setNextPrevMonthDates()}render(){return a("div",{class:"header"},this.renderContent())}renderContent(){const{messages:e,localeData:t,activeDate:i}=this;if(!i||!t)return null;if(this.parentDatePickerEl){const{numberingSystem:e,lang:t}=this.parentDatePickerEl;C.numberFormatOptions={useGrouping:!1,...e&&{numberingSystem:e},...t&&{locale:t}}}const r=i.getMonth(),{months:o,unitOrder:n}=t,c=(o.wide||o.narrow||o.abbreviated)[r],h=this.formatCalendarYear(i.getFullYear()),d="l"===this.scale?"m":"s",l=v(n),g=l.indexOf("y")<l.indexOf("m"),u=t.year?.suffix;return a(s,null,a("a",{"aria-disabled":`${this.prevMonthDate.getMonth()===r}`,"aria-label":e.prevMonth,class:$,href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===r?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-left",scale:d})),a("div",{class:{text:!0,"text--reverse":g}},a(E,{class:"month",level:this.headingLevel},c),a("span",{class:"year-wrap"},a("input",{"aria-label":e.year,class:{year:!0,"year--suffix":!!u},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",type:"text",value:h,ref:e=>this.yearInput=e}),u&&a("span",{class:"suffix"},u))),a("a",{"aria-disabled":`${this.nextMonthDate.getMonth()===r}`,"aria-label":e.nextMonth,class:$,href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===r?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-right",scale:d})))}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=d(f(this.activeDate),this.min,this.max),this.prevMonthDate=d(w(this.activeDate),this.min,this.max))}formatCalendarYear(e){return C.localize(`${y(e,this.localeData)}`)}parseCalendarYear(e){return C.localize(`${b(Number(C.delocalize(e)),this.localeData)}`)}getInRangeDate({localizedYear:e,offset:t=0}){const{min:a,max:i,activeDate:r}=this,s=Number(C.delocalize(e)),o=s.toString().length,n=!isNaN(s)&&s+t,c=n&&(!a||a.getFullYear()<=n)&&(!i||i.getFullYear()>=n);if(n&&c&&o===e.length){const e=new Date(r);return e.setFullYear(n),d(e,a,i)}}setYear({localizedYear:e,commit:t=!0,offset:a=0}){const{yearInput:i,activeDate:r}=this,s=this.getInRangeDate({localizedYear:e,offset:a});s&&this.calciteInternalDatePickerSelect.emit(s),t&&(i.value=this.formatCalendarYear((s||r).getFullYear()))}get el(){return r(this)}static get watchers(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}}};G.style=":host{display:block}.header{display:flex;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;box-sizing:content-box;display:flex;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;display:flex;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:center;text-align:center;line-height:1}.text--reverse{flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;inline-size:2.5rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent}.year:hover{transition-duration:100ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.year--suffix{text-align:start}.year-wrap{position:relative}.suffix{inset-block-start:0px;white-space:nowrap;text-align:start;inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}";export{F as calcite_date_picker,K as calcite_date_picker_day,T as calcite_date_picker_month,G as calcite_date_picker_month_header}