@esri/calcite-components 1.7.0-next.13 → 1.7.0-next.15

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 (1007) hide show
  1. package/dist/calcite/assets/time-picker/t9n/index.d.ts +3 -0
  2. package/dist/calcite/assets/time-picker/t9n/messages.json +3 -0
  3. package/dist/calcite/assets/time-picker/t9n/messages_en.json +3 -0
  4. package/dist/calcite/calcite.esm.js +2 -2
  5. package/dist/calcite/index.esm.js +2 -2
  6. package/dist/calcite/p-007c3ec3.js +6 -0
  7. package/dist/calcite/p-00bb7644.js +6 -0
  8. package/dist/calcite/p-02a7e1df.entry.js +6 -0
  9. package/dist/calcite/p-02befd2f.js +6 -0
  10. package/dist/calcite/p-037bb301.js +6 -0
  11. package/dist/calcite/{p-1efcb3ea.entry.js → p-0946b370.entry.js} +2 -2
  12. package/dist/calcite/{p-b82299c9.entry.js → p-0997cdd3.entry.js} +2 -2
  13. package/dist/calcite/p-0feaada4.js +6 -0
  14. package/dist/calcite/p-14448051.js +6 -0
  15. package/dist/calcite/{p-afdf0971.js → p-1bb8af88.js} +2 -2
  16. package/dist/calcite/{p-6738ef06.entry.js → p-1c29face.entry.js} +2 -2
  17. package/dist/calcite/{p-ff56298b.js → p-1dcbf1c3.js} +2 -2
  18. package/dist/calcite/p-1eb219e7.entry.js +6 -0
  19. package/dist/calcite/{p-d84bddf2.js → p-1fde838a.js} +1 -1
  20. package/dist/calcite/{p-43aad518.entry.js → p-203a989f.entry.js} +2 -2
  21. package/dist/calcite/p-20fa2a62.entry.js +6 -0
  22. package/dist/calcite/p-2248e0cc.js +6 -0
  23. package/dist/calcite/{p-2ec82314.entry.js → p-22f06ceb.entry.js} +2 -2
  24. package/dist/calcite/{p-e31bc1eb.entry.js → p-231b2e94.entry.js} +2 -2
  25. package/dist/calcite/{p-8aecdd94.js → p-23d2cf19.js} +1 -1
  26. package/dist/calcite/{p-e3eb3c78.entry.js → p-25024b64.entry.js} +2 -2
  27. package/dist/calcite/{p-7c5235d3.entry.js → p-2d640ee8.entry.js} +2 -2
  28. package/dist/calcite/{p-003e75d5.entry.js → p-2dff2c48.entry.js} +2 -2
  29. package/dist/calcite/p-2f8763d0.js +6 -0
  30. package/dist/calcite/{p-44187a2b.entry.js → p-3337b1c6.entry.js} +2 -2
  31. package/dist/calcite/{p-5ca070ae.entry.js → p-335fba09.entry.js} +2 -2
  32. package/dist/calcite/{p-bbd17ec6.entry.js → p-3754cb6f.entry.js} +2 -2
  33. package/dist/calcite/p-3ce9a124.js +6 -0
  34. package/dist/calcite/{p-2cb7200e.js → p-3e206c37.js} +1 -1
  35. package/dist/calcite/{p-91a65ff1.entry.js → p-40023104.entry.js} +2 -2
  36. package/dist/calcite/p-40782cfa.js +6 -0
  37. package/dist/calcite/{p-5a6859da.entry.js → p-410e57db.entry.js} +2 -2
  38. package/dist/calcite/p-4396cd14.js +6 -0
  39. package/dist/calcite/p-4403a799.js +6 -0
  40. package/dist/calcite/p-4556194b.entry.js +6 -0
  41. package/dist/calcite/p-461a667a.js +6 -0
  42. package/dist/calcite/{p-55b7453c.js → p-46c2fbc6.js} +2 -2
  43. package/dist/calcite/p-47b3ff18.js +6 -0
  44. package/dist/calcite/p-4824f592.js +6 -0
  45. package/dist/calcite/p-48b91d20.js +6 -0
  46. package/dist/calcite/p-492d3cb1.js +6 -0
  47. package/dist/calcite/{p-ed53b7f7.js → p-4a651031.js} +1 -1
  48. package/dist/calcite/p-50b644ca.js +6 -0
  49. package/dist/calcite/{p-f1dd47b8.js → p-50ba6845.js} +1 -1
  50. package/dist/calcite/{p-1442a225.entry.js → p-52164b32.entry.js} +2 -2
  51. package/dist/calcite/p-52e9b64d.entry.js +6 -0
  52. package/dist/calcite/p-532ae163.js +6 -0
  53. package/dist/calcite/{p-9fb82706.entry.js → p-53584baa.entry.js} +2 -2
  54. package/dist/calcite/{p-1d809f99.js → p-542c5850.js} +1 -1
  55. package/dist/calcite/{p-c07a061a.entry.js → p-550270ae.entry.js} +2 -2
  56. package/dist/calcite/{p-6423a60b.entry.js → p-5551f995.entry.js} +2 -2
  57. package/dist/calcite/{p-8a79163d.entry.js → p-55758a37.entry.js} +2 -2
  58. package/dist/calcite/{p-ac147869.entry.js → p-5599adcf.entry.js} +2 -2
  59. package/dist/calcite/p-57e9aa34.js +6 -0
  60. package/dist/calcite/{p-8364af0c.entry.js → p-5a01f218.entry.js} +2 -2
  61. package/dist/calcite/p-5bd55830.js +6 -0
  62. package/dist/calcite/{p-ec7b4aa0.entry.js → p-5d0dcbfb.entry.js} +2 -2
  63. package/dist/calcite/{p-8a599644.entry.js → p-5ee875b7.entry.js} +2 -2
  64. package/dist/calcite/{p-7914d20a.entry.js → p-6193daa1.entry.js} +2 -2
  65. package/dist/calcite/p-65fd2d0e.js +6 -0
  66. package/dist/calcite/{p-0d8467bf.entry.js → p-6745d314.entry.js} +2 -2
  67. package/dist/calcite/p-692ab67e.js +6 -0
  68. package/dist/calcite/p-698670ad.js +6 -0
  69. package/dist/calcite/{p-bdeb9d06.js → p-6a63cc88.js} +1 -1
  70. package/dist/calcite/p-6af2f408.js +6 -0
  71. package/dist/calcite/{p-3658aee6.entry.js → p-6b236272.entry.js} +2 -2
  72. package/dist/calcite/p-70ef9cef.js +6 -0
  73. package/dist/calcite/{p-0d413952.js → p-74f54959.js} +1 -1
  74. package/dist/calcite/p-757310e5.js +6 -0
  75. package/dist/calcite/p-7607b56c.js +6 -0
  76. package/dist/calcite/p-76baef68.entry.js +6 -0
  77. package/dist/calcite/{p-f2b37961.js → p-7b5dda7e.js} +1 -1
  78. package/dist/calcite/{p-0735bdd7.entry.js → p-7d54fa75.entry.js} +2 -2
  79. package/dist/calcite/{p-7aedd7fd.entry.js → p-805935d9.entry.js} +2 -2
  80. package/dist/calcite/p-806469a1.js +6 -0
  81. package/dist/calcite/p-855d9ec9.js +6 -0
  82. package/dist/calcite/p-85f91ad4.js +6 -0
  83. package/dist/calcite/p-86b2f97a.js +6 -0
  84. package/dist/calcite/{p-2b00064c.js → p-87a75e12.js} +2 -2
  85. package/dist/calcite/{p-d0ffca9b.entry.js → p-887fdd02.entry.js} +2 -2
  86. package/dist/calcite/{p-32d19214.js → p-8ab93bd4.js} +1 -1
  87. package/dist/calcite/p-8d6122ad.js +6 -0
  88. package/dist/calcite/p-93f6847c.js +6 -0
  89. package/dist/calcite/p-972d3215.js +6 -0
  90. package/dist/calcite/p-97cfd319.js +6 -0
  91. package/dist/calcite/{p-be745308.entry.js → p-9968b9e0.entry.js} +2 -2
  92. package/dist/calcite/p-9b9512fd.js +6 -0
  93. package/dist/calcite/p-9cbf6fd2.js +6 -0
  94. package/dist/calcite/p-9d56cabe.js +6 -0
  95. package/dist/calcite/{p-3644a46c.entry.js → p-9f498574.entry.js} +2 -2
  96. package/dist/calcite/p-9fd7d685.js +6 -0
  97. package/dist/calcite/p-9ffeb6a3.js +6 -0
  98. package/dist/calcite/{p-db48193e.entry.js → p-a15b1706.entry.js} +2 -2
  99. package/dist/calcite/p-a54d9c04.js +6 -0
  100. package/dist/calcite/p-a71ef708.js +6 -0
  101. package/dist/calcite/p-a7cff8c6.js +6 -0
  102. package/dist/calcite/p-a9dd0db4.js +6 -0
  103. package/dist/calcite/{p-028c4366.entry.js → p-aa759d1c.entry.js} +2 -2
  104. package/dist/calcite/{p-17e62eb9.entry.js → p-ab4b95ff.entry.js} +2 -2
  105. package/dist/calcite/{p-b86579dd.js → p-afcc1e3d.js} +2 -2
  106. package/dist/calcite/p-afe859a6.js +6 -0
  107. package/dist/calcite/{p-461d09ae.entry.js → p-b2d05a82.entry.js} +2 -2
  108. package/dist/calcite/{p-0ef33e2e.entry.js → p-b47de8ae.entry.js} +2 -2
  109. package/dist/calcite/p-b58bc312.js +6 -0
  110. package/dist/calcite/{p-5ba3500a.entry.js → p-b5bffae9.entry.js} +2 -2
  111. package/dist/calcite/{p-90a3a149.entry.js → p-b616b875.entry.js} +2 -2
  112. package/dist/calcite/{p-82836922.js → p-b685ccab.js} +1 -1
  113. package/dist/calcite/{p-2c825d35.entry.js → p-b744990f.entry.js} +2 -2
  114. package/dist/calcite/{p-23109de2.entry.js → p-b8f33088.entry.js} +2 -2
  115. package/dist/calcite/{p-9a508498.js → p-bbb9ac9b.js} +2 -2
  116. package/dist/calcite/{p-fe06ca94.entry.js → p-bbdbbb67.entry.js} +2 -2
  117. package/dist/calcite/p-bdb87f58.js +6 -0
  118. package/dist/calcite/{p-8abc13d4.entry.js → p-bfe56cc8.entry.js} +2 -2
  119. package/dist/calcite/p-c05ae16f.entry.js +6 -0
  120. package/dist/calcite/p-c28b156e.js +6 -0
  121. package/dist/calcite/{p-fba9c586.js → p-c3616431.js} +1 -1
  122. package/dist/calcite/{p-106a4700.entry.js → p-c3b313f4.entry.js} +2 -2
  123. package/dist/calcite/{p-40b5ffc9.entry.js → p-c48fdac2.entry.js} +2 -2
  124. package/dist/calcite/{p-d5102f79.js → p-c6370aa4.js} +3 -3
  125. package/dist/calcite/{p-cfb882e5.js → p-c86acf98.js} +1 -1
  126. package/dist/calcite/p-cad50699.js +6 -0
  127. package/dist/calcite/{p-ec4ba597.entry.js → p-cf043538.entry.js} +2 -2
  128. package/dist/calcite/{p-270583c0.entry.js → p-cf1ad716.entry.js} +2 -2
  129. package/dist/calcite/{p-e2f676d4.entry.js → p-cf7d83c3.entry.js} +2 -2
  130. package/dist/calcite/p-d2215fda.entry.js +6 -0
  131. package/dist/calcite/{p-2c6dfce3.entry.js → p-d35d0dbc.entry.js} +2 -2
  132. package/dist/calcite/{p-c1237170.entry.js → p-d62a227a.entry.js} +2 -2
  133. package/dist/calcite/{p-6b421933.js → p-d9008462.js} +2 -2
  134. package/dist/calcite/{p-28914dec.entry.js → p-db3143e0.entry.js} +2 -2
  135. package/dist/calcite/{p-06f17447.entry.js → p-dcd6faab.entry.js} +2 -2
  136. package/dist/calcite/{p-295a05c8.js → p-dd3642e3.js} +2 -2
  137. package/dist/calcite/{p-f4bf05ca.js → p-de3fb84c.js} +2 -2
  138. package/dist/calcite/{p-7609a443.js → p-decb6e2c.js} +2 -2
  139. package/dist/calcite/p-ded88271.js +6 -0
  140. package/dist/calcite/{p-7fa21dbf.entry.js → p-df9ac2d9.entry.js} +2 -2
  141. package/dist/calcite/{p-e547f45f.entry.js → p-dfd6e562.entry.js} +2 -2
  142. package/dist/calcite/p-e256428c.entry.js +6 -0
  143. package/dist/calcite/{p-d5ca2223.entry.js → p-e28ea658.entry.js} +2 -2
  144. package/dist/calcite/p-e3c8191d.js +6 -0
  145. package/dist/calcite/{p-dcee696d.js → p-e4325383.js} +2 -2
  146. package/dist/calcite/{p-b5580f68.entry.js → p-e5b798f8.entry.js} +2 -2
  147. package/dist/calcite/{p-f8b43fed.js → p-e6662241.js} +2 -2
  148. package/dist/calcite/{p-7bfebfed.js → p-ea40c3d6.js} +2 -2
  149. package/dist/calcite/{p-3bde362d.entry.js → p-ebd830cf.entry.js} +2 -2
  150. package/dist/calcite/{p-efa22733.entry.js → p-ed665e9a.entry.js} +2 -2
  151. package/dist/calcite/{p-4251f642.entry.js → p-f136f8e8.entry.js} +2 -2
  152. package/dist/calcite/{p-ec7843e1.js → p-f1ac269c.js} +2 -2
  153. package/dist/calcite/{p-02645704.js → p-f366c30e.js} +1 -1
  154. package/dist/calcite/p-f53b58f2.js +6 -0
  155. package/dist/calcite/{p-a46402ae.entry.js → p-fe1a08a8.entry.js} +2 -2
  156. package/dist/calcite/p-fea4fd80.js +6 -0
  157. package/dist/calcite/{p-b82269a4.js → p-ff0b8e2c.js} +2 -2
  158. package/dist/cjs/{ExpandToggle-d52a28fc.js → ExpandToggle-a7dbbc1a.js} +5 -5
  159. package/dist/cjs/{FloatingArrow-5436d8ff.js → FloatingArrow-eadd8494.js} +2 -2
  160. package/dist/cjs/{Heading-277e5730.js → Heading-b5ca981d.js} +2 -2
  161. package/dist/cjs/{app-globals-25831d8d.js → app-globals-55b43e79.js} +2 -2
  162. package/dist/cjs/{ar-9afccc9d.js → ar-676d4661.js} +16 -15
  163. package/dist/cjs/{array-0cfea856.js → array-0eebf608.js} +1 -1
  164. package/dist/cjs/{bg-cecf5049.js → bg-bcd768fb.js} +16 -15
  165. package/dist/cjs/{bs-26979f5a.js → bs-68506139.js} +16 -15
  166. package/dist/cjs/{ca-27b5d9f0.js → ca-d65441a8.js} +16 -15
  167. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  168. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  169. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  170. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  171. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  172. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  173. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  174. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  175. package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
  176. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  177. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  178. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  179. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
  180. package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
  181. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
  182. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  183. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  184. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  185. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  186. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  187. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  188. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  189. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  190. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  191. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  192. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  193. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +83 -21
  194. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  195. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  196. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  197. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-7cd4d375.js → calcite-input-time-picker.calcite-time-picker-74f7d1fd.js} +462 -174
  198. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -15
  199. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
  200. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  201. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  202. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  203. package/dist/cjs/calcite-list_3.cjs.entry.js +14 -14
  204. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  205. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  206. package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
  207. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  208. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  209. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  210. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  211. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  212. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  213. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  214. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  215. package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
  216. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  217. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  218. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  219. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  220. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +10 -10
  221. package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
  222. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  223. package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
  224. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  225. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  226. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  227. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  228. package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
  229. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  230. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  231. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  232. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  233. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  234. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  235. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  236. package/dist/cjs/calcite.cjs.js +5 -5
  237. package/dist/cjs/{conditionalSlot-35e0d1ff.js → conditionalSlot-a5786c5c.js} +3 -3
  238. package/dist/cjs/{cs-111ca8f2.js → cs-97a7bb1c.js} +16 -15
  239. package/dist/cjs/{da-d82e9856.js → da-f3851d5c.js} +16 -15
  240. package/dist/cjs/{de-at-eba92043.js → de-at-21f55bee.js} +16 -15
  241. package/dist/cjs/{de-ch-4d021c55.js → de-ch-e8ea7000.js} +16 -15
  242. package/dist/cjs/{de-61ae08b8.js → de-f231cdf7.js} +16 -15
  243. package/dist/cjs/{debounce-12434a9b.js → debounce-b2f36905.js} +1 -1
  244. package/dist/cjs/{dom-b3aeb26a.js → dom-e7bd4cb7.js} +3 -3
  245. package/dist/cjs/{el-f84abbda.js → el-e739883d.js} +16 -15
  246. package/dist/cjs/{en-au-aa1def49.js → en-au-e2a5821f.js} +16 -15
  247. package/dist/cjs/{en-ca-cf798137.js → en-ca-a2c7fbb8.js} +16 -15
  248. package/dist/cjs/{en-gb-4a6012cf.js → en-gb-26689f73.js} +16 -15
  249. package/dist/cjs/{es-61678472.js → es-7b551a15.js} +16 -15
  250. package/dist/cjs/{es-mx-cd866ce4.js → es-mx-bf466cd5.js} +16 -15
  251. package/dist/cjs/{et-7fffdf41.js → et-c2bdaca6.js} +16 -15
  252. package/dist/cjs/{fi-8f2ee314.js → fi-ab63ec68.js} +16 -15
  253. package/dist/cjs/{filter-bbda9f19.js → filter-92dc3c13.js} +2 -2
  254. package/dist/cjs/{floating-ui-b21b83ec.js → floating-ui-96140b01.js} +3 -3
  255. package/dist/cjs/{focusTrapComponent-5b8c6714.js → focusTrapComponent-06ac2782.js} +2 -2
  256. package/dist/cjs/{form-9c12dc45.js → form-edb316d0.js} +3 -3
  257. package/dist/cjs/{fr-ch-1fb42ab4.js → fr-ch-65bf0bbb.js} +16 -15
  258. package/dist/cjs/{fr-ba76b48e.js → fr-e67b1ee6.js} +16 -15
  259. package/dist/cjs/{guid-25401435.js → guid-644057a6.js} +1 -1
  260. package/dist/cjs/{he-854e468d.js → he-1584ece4.js} +16 -15
  261. package/dist/cjs/{hi-94d1502d.js → hi-fe82983d.js} +16 -15
  262. package/dist/cjs/{hr-43f1f199.js → hr-6c423352.js} +16 -15
  263. package/dist/cjs/{hu-bf2e6a8a.js → hu-3495e4a4.js} +16 -15
  264. package/dist/cjs/{id-fac3f393.js → id-d09c449b.js} +16 -15
  265. package/dist/cjs/{index-8c348d70.js → index-ad2cf870.js} +1 -1
  266. package/dist/cjs/index.cjs.js +2 -2
  267. package/dist/cjs/{interactive-41d7137d.js → interactive-1f1c19e2.js} +1 -1
  268. package/dist/cjs/{it-b74d9e4c.js → it-c2e6d7b9.js} +16 -15
  269. package/dist/cjs/{it-ch-ef4d6e5e.js → it-ch-3c094987.js} +16 -15
  270. package/dist/cjs/{ja-a02329f6.js → ja-9a01b2a4.js} +16 -15
  271. package/dist/cjs/{key-2d68cf34.js → key-9fe64006.js} +1 -1
  272. package/dist/cjs/{ko-041413b5.js → ko-f86ea633.js} +16 -15
  273. package/dist/cjs/{label-520032ab.js → label-dff4ea5b.js} +2 -2
  274. package/dist/cjs/{loadable-37f5e498.js → loadable-1bb377f1.js} +2 -2
  275. package/dist/cjs/loader.cjs.js +5 -5
  276. package/dist/cjs/{locale-3cddd6e1.js → locale-626aa262.js} +4 -4
  277. package/dist/cjs/{lt-39d21fb0.js → lt-3addcf3e.js} +16 -15
  278. package/dist/cjs/{lv-0c1227f8.js → lv-baa9fb0c.js} +16 -15
  279. package/dist/cjs/{math-0010fa6f.js → math-adfdb68b.js} +18 -2
  280. package/dist/cjs/{mk-c68493cf.js → mk-d76486b4.js} +16 -15
  281. package/dist/cjs/{nb-b20d78e0.js → nb-cb5485b4.js} +16 -15
  282. package/dist/cjs/{nl-686e0c93.js → nl-ff234132.js} +16 -15
  283. package/dist/cjs/{observers-591d8eb9.js → observers-da576c60.js} +1 -1
  284. package/dist/cjs/{openCloseComponent-c33e00e7.js → openCloseComponent-f4deda11.js} +2 -2
  285. package/dist/cjs/{pl-a834e9f8.js → pl-d9d3b37a.js} +16 -15
  286. package/dist/cjs/{pt-08a11aa1.js → pt-4cf96854.js} +16 -15
  287. package/dist/cjs/{pt-br-f922b1e9.js → pt-br-8e687141.js} +16 -15
  288. package/dist/cjs/{resources-67855b02.js → resources-3516b562.js} +5 -5
  289. package/dist/cjs/{resources-d340411e.js → resources-37aff98c.js} +1 -1
  290. package/dist/cjs/{resources-beb12f5a.js → resources-3a53ed25.js} +1 -1
  291. package/dist/cjs/{resources-0a2120bb.js → resources-65147bd4.js} +1 -1
  292. package/dist/cjs/{resources-5ece50c0.js → resources-77406b7a.js} +1 -1
  293. package/dist/cjs/{resources-3b2c4161.js → resources-7a384d48.js} +1 -1
  294. package/dist/cjs/{resources-e0612f0e.js → resources-90190440.js} +1 -1
  295. package/dist/cjs/{ro-0d34042f.js → ro-c97f9408.js} +16 -15
  296. package/dist/cjs/{ru-c0d15012.js → ru-0b476a0c.js} +16 -15
  297. package/dist/cjs/{sk-fe2c5d02.js → sk-eba54730.js} +16 -15
  298. package/dist/cjs/{sl-4621cf34.js → sl-b93fe9d8.js} +16 -15
  299. package/dist/cjs/{sortableComponent-9445fc94.js → sortableComponent-77a33ace.js} +2 -2
  300. package/dist/cjs/{sr-2dd3795b.js → sr-4f17ba65.js} +16 -15
  301. package/dist/cjs/{sv-7e163dbd.js → sv-27e664de.js} +16 -15
  302. package/dist/cjs/{t9n-1919af49.js → t9n-e16d3797.js} +3 -3
  303. package/dist/cjs/{th-3a5b5e1f.js → th-dada71c1.js} +16 -15
  304. package/dist/cjs/{throttle-0638b33c.js → throttle-16e8666d.js} +2 -2
  305. package/dist/cjs/{tr-e585a0e3.js → tr-6916ed57.js} +16 -15
  306. package/dist/cjs/{uk-c18ef84e.js → uk-046465a6.js} +16 -15
  307. package/dist/cjs/{utils-5eadf502.js → utils-9861df25.js} +14 -3
  308. package/dist/cjs/{utils-2bb1996e.js → utils-f13ba596.js} +1 -1
  309. package/dist/cjs/{vi-fd376807.js → vi-621da23b.js} +16 -15
  310. package/dist/cjs/{zh-cn-11c18ca7.js → zh-cn-7ceeda57.js} +16 -15
  311. package/dist/cjs/{zh-hk-1d39de2e.js → zh-hk-68ad0128.js} +16 -15
  312. package/dist/cjs/{zh-tw-33ff727d.js → zh-tw-f47cdecc.js} +16 -15
  313. package/dist/collection/components/accordion/accordion.js +1 -1
  314. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  315. package/dist/collection/components/accordion-item/resources.js +1 -1
  316. package/dist/collection/components/action/action.js +1 -1
  317. package/dist/collection/components/action/resources.js +1 -1
  318. package/dist/collection/components/action-bar/action-bar.js +1 -1
  319. package/dist/collection/components/action-bar/resources.js +1 -1
  320. package/dist/collection/components/action-bar/utils.js +1 -1
  321. package/dist/collection/components/action-group/action-group.js +1 -1
  322. package/dist/collection/components/action-group/resources.js +1 -1
  323. package/dist/collection/components/action-menu/action-menu.js +1 -1
  324. package/dist/collection/components/action-menu/resources.js +1 -1
  325. package/dist/collection/components/action-pad/action-pad.js +1 -1
  326. package/dist/collection/components/action-pad/resources.js +1 -1
  327. package/dist/collection/components/alert/alert.js +1 -1
  328. package/dist/collection/components/alert/resources.js +1 -1
  329. package/dist/collection/components/avatar/avatar.js +1 -1
  330. package/dist/collection/components/avatar/utils.js +1 -1
  331. package/dist/collection/components/block/block.js +1 -1
  332. package/dist/collection/components/block/resources.js +1 -1
  333. package/dist/collection/components/block-section/block-section.js +1 -1
  334. package/dist/collection/components/block-section/resources.js +1 -1
  335. package/dist/collection/components/button/button.js +1 -1
  336. package/dist/collection/components/button/resources.js +1 -1
  337. package/dist/collection/components/card/card.js +1 -1
  338. package/dist/collection/components/card/resources.js +1 -1
  339. package/dist/collection/components/checkbox/checkbox.js +1 -1
  340. package/dist/collection/components/chip/chip.js +1 -1
  341. package/dist/collection/components/chip/resources.js +1 -1
  342. package/dist/collection/components/chip-group/chip-group.js +1 -1
  343. package/dist/collection/components/color-picker/color-picker.js +1 -1
  344. package/dist/collection/components/color-picker/resources.js +1 -1
  345. package/dist/collection/components/color-picker/utils.js +1 -1
  346. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  347. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  348. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  349. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  350. package/dist/collection/components/combobox/combobox.js +1 -1
  351. package/dist/collection/components/combobox/resources.js +1 -1
  352. package/dist/collection/components/combobox/utils.js +1 -1
  353. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  354. package/dist/collection/components/combobox-item/resources.js +1 -1
  355. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  356. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  357. package/dist/collection/components/date-picker/date-picker.js +1 -1
  358. package/dist/collection/components/date-picker/resources.js +1 -1
  359. package/dist/collection/components/date-picker/utils.js +1 -1
  360. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  361. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  362. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  363. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  364. package/dist/collection/components/dropdown/dropdown.js +1 -1
  365. package/dist/collection/components/dropdown/resources.js +1 -1
  366. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  367. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  368. package/dist/collection/components/dropdown-item/resources.js +1 -1
  369. package/dist/collection/components/fab/fab.js +1 -1
  370. package/dist/collection/components/fab/resources.js +1 -1
  371. package/dist/collection/components/filter/filter.js +1 -1
  372. package/dist/collection/components/filter/resources.js +1 -1
  373. package/dist/collection/components/flow/flow.js +1 -1
  374. package/dist/collection/components/flow/resources.js +1 -1
  375. package/dist/collection/components/flow-item/flow-item.js +1 -1
  376. package/dist/collection/components/flow-item/resources.js +1 -1
  377. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  378. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  379. package/dist/collection/components/functional/Heading.js +1 -1
  380. package/dist/collection/components/functional/XButton.js +1 -1
  381. package/dist/collection/components/graph/graph.js +1 -1
  382. package/dist/collection/components/graph/util.js +1 -1
  383. package/dist/collection/components/handle/handle.js +1 -1
  384. package/dist/collection/components/handle/resources.js +1 -1
  385. package/dist/collection/components/icon/icon.js +1 -1
  386. package/dist/collection/components/icon/resources.js +1 -1
  387. package/dist/collection/components/icon/utils.js +1 -1
  388. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  389. package/dist/collection/components/inline-editable/resources.js +1 -1
  390. package/dist/collection/components/input/input.js +1 -1
  391. package/dist/collection/components/input/resources.js +1 -1
  392. package/dist/collection/components/input-date-picker/input-date-picker.js +61 -5
  393. package/dist/collection/components/input-date-picker/resources.js +1 -1
  394. package/dist/collection/components/input-date-picker/utils.js +30 -0
  395. package/dist/collection/components/input-message/input-message.js +1 -1
  396. package/dist/collection/components/input-message/interfaces.js +1 -1
  397. package/dist/collection/components/input-number/input-number.js +1 -1
  398. package/dist/collection/components/input-number/resources.js +1 -1
  399. package/dist/collection/components/input-text/input-text.js +1 -1
  400. package/dist/collection/components/input-text/resources.js +1 -1
  401. package/dist/collection/components/input-time-picker/input-time-picker.js +129 -27
  402. package/dist/collection/components/input-time-picker/resources.js +1 -1
  403. package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
  404. package/dist/collection/components/input-time-zone/utils.js +1 -1
  405. package/dist/collection/components/label/label.js +1 -1
  406. package/dist/collection/components/label/resources.js +1 -1
  407. package/dist/collection/components/link/link.js +1 -1
  408. package/dist/collection/components/list/list.js +1 -1
  409. package/dist/collection/components/list/resources.js +1 -1
  410. package/dist/collection/components/list-item/list-item.js +1 -1
  411. package/dist/collection/components/list-item/resources.js +1 -1
  412. package/dist/collection/components/list-item/utils.js +1 -1
  413. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  414. package/dist/collection/components/list-item-group/resources.js +1 -1
  415. package/dist/collection/components/loader/loader.js +1 -1
  416. package/dist/collection/components/menu/menu.js +1 -1
  417. package/dist/collection/components/menu-item/menu-item.js +1 -1
  418. package/dist/collection/components/menu-item/resources.js +1 -1
  419. package/dist/collection/components/meter/meter.js +1 -1
  420. package/dist/collection/components/meter/resources.js +1 -1
  421. package/dist/collection/components/modal/modal.js +1 -1
  422. package/dist/collection/components/modal/resources.js +1 -1
  423. package/dist/collection/components/navigation/navigation.js +1 -1
  424. package/dist/collection/components/navigation/resources.js +1 -1
  425. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  426. package/dist/collection/components/navigation-logo/resources.js +1 -1
  427. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  428. package/dist/collection/components/navigation-user/resources.js +1 -1
  429. package/dist/collection/components/notice/notice.js +1 -1
  430. package/dist/collection/components/notice/resources.js +1 -1
  431. package/dist/collection/components/option/option.js +1 -1
  432. package/dist/collection/components/option-group/option-group.js +1 -1
  433. package/dist/collection/components/pagination/pagination.js +1 -1
  434. package/dist/collection/components/pagination/resources.js +1 -1
  435. package/dist/collection/components/panel/panel.js +1 -1
  436. package/dist/collection/components/panel/resources.js +1 -1
  437. package/dist/collection/components/pick-list/pick-list.js +1 -1
  438. package/dist/collection/components/pick-list/resources.js +1 -1
  439. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  440. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  441. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  442. package/dist/collection/components/pick-list-group/resources.js +1 -1
  443. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  444. package/dist/collection/components/pick-list-item/resources.js +1 -1
  445. package/dist/collection/components/popover/PopoverManager.js +1 -1
  446. package/dist/collection/components/popover/popover.js +1 -1
  447. package/dist/collection/components/popover/resources.js +1 -1
  448. package/dist/collection/components/progress/progress.js +1 -1
  449. package/dist/collection/components/radio-button/radio-button.js +1 -1
  450. package/dist/collection/components/radio-button/resources.js +1 -1
  451. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  452. package/dist/collection/components/rating/function/star.js +1 -1
  453. package/dist/collection/components/rating/rating.js +1 -1
  454. package/dist/collection/components/resources.js +1 -1
  455. package/dist/collection/components/scrim/resources.js +1 -1
  456. package/dist/collection/components/scrim/scrim.js +1 -1
  457. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  458. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  459. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  460. package/dist/collection/components/select/resources.js +1 -1
  461. package/dist/collection/components/select/select.js +1 -1
  462. package/dist/collection/components/sheet/resources.js +1 -1
  463. package/dist/collection/components/sheet/sheet.js +1 -1
  464. package/dist/collection/components/shell/resources.js +1 -1
  465. package/dist/collection/components/shell/shell.js +2 -2
  466. package/dist/collection/components/shell-center-row/resources.js +1 -1
  467. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  468. package/dist/collection/components/shell-panel/resources.js +1 -1
  469. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  470. package/dist/collection/components/slider/resources.js +1 -1
  471. package/dist/collection/components/slider/slider.js +1 -1
  472. package/dist/collection/components/sortable-list/resources.js +1 -1
  473. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  474. package/dist/collection/components/split-button/resources.js +1 -1
  475. package/dist/collection/components/split-button/split-button.js +1 -1
  476. package/dist/collection/components/stack/resources.js +1 -1
  477. package/dist/collection/components/stack/stack.js +1 -1
  478. package/dist/collection/components/stepper/stepper.js +1 -1
  479. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  480. package/dist/collection/components/switch/switch.js +1 -1
  481. package/dist/collection/components/tab/tab.js +1 -1
  482. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  483. package/dist/collection/components/tab-title/resources.js +1 -1
  484. package/dist/collection/components/tab-title/tab-title.js +1 -1
  485. package/dist/collection/components/tabs/resources.js +1 -1
  486. package/dist/collection/components/tabs/tabs.js +1 -1
  487. package/dist/collection/components/text-area/resources.js +1 -1
  488. package/dist/collection/components/text-area/text-area.js +1 -1
  489. package/dist/collection/components/tile/resources.js +1 -1
  490. package/dist/collection/components/tile/tile.js +1 -1
  491. package/dist/collection/components/tile-select/resources.js +1 -1
  492. package/dist/collection/components/tile-select/tile-select.js +1 -1
  493. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  494. package/dist/collection/components/time-picker/assets/time-picker/t9n/index.d.ts +3 -0
  495. package/dist/collection/components/time-picker/assets/time-picker/t9n/messages.json +3 -0
  496. package/dist/collection/components/time-picker/assets/time-picker/t9n/messages_en.json +3 -0
  497. package/dist/collection/components/time-picker/resources.js +4 -1
  498. package/dist/collection/components/time-picker/time-picker.js +186 -76
  499. package/dist/collection/components/tip/resources.js +1 -1
  500. package/dist/collection/components/tip/tip.js +1 -1
  501. package/dist/collection/components/tip-group/tip-group.js +1 -1
  502. package/dist/collection/components/tip-manager/resources.js +1 -1
  503. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  504. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  505. package/dist/collection/components/tooltip/resources.js +1 -1
  506. package/dist/collection/components/tooltip/tooltip.js +1 -1
  507. package/dist/collection/components/tooltip/utils.js +1 -1
  508. package/dist/collection/components/tree/tree.js +1 -1
  509. package/dist/collection/components/tree/utils.js +1 -1
  510. package/dist/collection/components/tree-item/resources.js +1 -1
  511. package/dist/collection/components/tree-item/tree-item.js +1 -1
  512. package/dist/collection/components/value-list/resources.js +1 -1
  513. package/dist/collection/components/value-list/utils.js +1 -1
  514. package/dist/collection/components/value-list/value-list.js +1 -1
  515. package/dist/collection/components/value-list-item/resources.js +1 -1
  516. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  517. package/dist/collection/index.js +1 -1
  518. package/dist/collection/utils/array.js +1 -1
  519. package/dist/collection/utils/browser.js +1 -1
  520. package/dist/collection/utils/conditionalSlot.js +1 -1
  521. package/dist/collection/utils/config.js +1 -1
  522. package/dist/collection/utils/date.js +11 -1
  523. package/dist/collection/utils/dom.js +1 -1
  524. package/dist/collection/utils/filter.js +1 -1
  525. package/dist/collection/utils/floating-ui.js +1 -1
  526. package/dist/collection/utils/focusTrapComponent.js +1 -1
  527. package/dist/collection/utils/form.js +1 -1
  528. package/dist/collection/utils/globalAttributes.js +1 -1
  529. package/dist/collection/utils/globalScript.js +1 -1
  530. package/dist/collection/utils/guid.js +1 -1
  531. package/dist/collection/utils/interactive.js +1 -1
  532. package/dist/collection/utils/key.js +1 -1
  533. package/dist/collection/utils/label.js +1 -1
  534. package/dist/collection/utils/loadable.js +1 -1
  535. package/dist/collection/utils/locale.js +1 -1
  536. package/dist/collection/utils/math.js +17 -2
  537. package/dist/collection/utils/mode.js +1 -1
  538. package/dist/collection/utils/number.js +1 -1
  539. package/dist/collection/utils/observers.js +1 -1
  540. package/dist/collection/utils/openCloseComponent.js +1 -1
  541. package/dist/collection/utils/resources.js +1 -1
  542. package/dist/collection/utils/sortableComponent.js +1 -1
  543. package/dist/collection/utils/t9n.js +1 -1
  544. package/dist/collection/utils/time.js +100 -21
  545. package/dist/components/ExpandToggle.js +1 -1
  546. package/dist/components/FloatingArrow.js +1 -1
  547. package/dist/components/Heading.js +1 -1
  548. package/dist/components/action-group.js +1 -1
  549. package/dist/components/action-menu.js +1 -1
  550. package/dist/components/action.js +1 -1
  551. package/dist/components/ar.js +1 -1
  552. package/dist/components/array.js +1 -1
  553. package/dist/components/avatar.js +1 -1
  554. package/dist/components/bg.js +1 -1
  555. package/dist/components/bs.js +1 -1
  556. package/dist/components/button.js +1 -1
  557. package/dist/components/ca.js +1 -1
  558. package/dist/components/calcite-accordion-item.js +1 -1
  559. package/dist/components/calcite-accordion.js +1 -1
  560. package/dist/components/calcite-action-bar.js +1 -1
  561. package/dist/components/calcite-action-group.js +1 -1
  562. package/dist/components/calcite-action-menu.js +1 -1
  563. package/dist/components/calcite-action-pad.js +1 -1
  564. package/dist/components/calcite-action.js +1 -1
  565. package/dist/components/calcite-alert.js +1 -1
  566. package/dist/components/calcite-avatar.js +1 -1
  567. package/dist/components/calcite-block-section.js +1 -1
  568. package/dist/components/calcite-block.js +1 -1
  569. package/dist/components/calcite-button.js +1 -1
  570. package/dist/components/calcite-card.js +1 -1
  571. package/dist/components/calcite-checkbox.js +1 -1
  572. package/dist/components/calcite-chip-group.js +1 -1
  573. package/dist/components/calcite-chip.js +1 -1
  574. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  575. package/dist/components/calcite-color-picker-swatch.js +1 -1
  576. package/dist/components/calcite-color-picker.js +1 -1
  577. package/dist/components/calcite-combobox-item-group.js +1 -1
  578. package/dist/components/calcite-combobox-item.js +1 -1
  579. package/dist/components/calcite-combobox.js +1 -1
  580. package/dist/components/calcite-date-picker-day.js +1 -1
  581. package/dist/components/calcite-date-picker-month-header.js +1 -1
  582. package/dist/components/calcite-date-picker-month.js +1 -1
  583. package/dist/components/calcite-date-picker.js +1 -1
  584. package/dist/components/calcite-dropdown-group.js +1 -1
  585. package/dist/components/calcite-dropdown-item.js +1 -1
  586. package/dist/components/calcite-dropdown.js +1 -1
  587. package/dist/components/calcite-fab.js +1 -1
  588. package/dist/components/calcite-filter.js +1 -1
  589. package/dist/components/calcite-flow-item.js +1 -1
  590. package/dist/components/calcite-flow.js +1 -1
  591. package/dist/components/calcite-graph.js +1 -1
  592. package/dist/components/calcite-handle.js +1 -1
  593. package/dist/components/calcite-icon.js +1 -1
  594. package/dist/components/calcite-inline-editable.js +1 -1
  595. package/dist/components/calcite-input-date-picker.js +68 -5
  596. package/dist/components/calcite-input-message.js +1 -1
  597. package/dist/components/calcite-input-number.js +1 -1
  598. package/dist/components/calcite-input-text.js +1 -1
  599. package/dist/components/calcite-input-time-picker.js +128 -26
  600. package/dist/components/calcite-input-time-zone.js +1 -1
  601. package/dist/components/calcite-input.js +1 -1
  602. package/dist/components/calcite-label.js +1 -1
  603. package/dist/components/calcite-link.js +1 -1
  604. package/dist/components/calcite-list-item-group.js +1 -1
  605. package/dist/components/calcite-list-item.js +1 -1
  606. package/dist/components/calcite-list.js +1 -1
  607. package/dist/components/calcite-loader.js +1 -1
  608. package/dist/components/calcite-menu-item.js +1 -1
  609. package/dist/components/calcite-menu.js +1 -1
  610. package/dist/components/calcite-meter.js +1 -1
  611. package/dist/components/calcite-modal.js +1 -1
  612. package/dist/components/calcite-navigation-logo.js +1 -1
  613. package/dist/components/calcite-navigation-user.js +1 -1
  614. package/dist/components/calcite-navigation.js +1 -1
  615. package/dist/components/calcite-notice.js +1 -1
  616. package/dist/components/calcite-option-group.js +1 -1
  617. package/dist/components/calcite-option.js +1 -1
  618. package/dist/components/calcite-pagination.js +1 -1
  619. package/dist/components/calcite-panel.js +1 -1
  620. package/dist/components/calcite-pick-list-group.js +1 -1
  621. package/dist/components/calcite-pick-list-item.js +1 -1
  622. package/dist/components/calcite-pick-list.js +1 -1
  623. package/dist/components/calcite-popover.js +1 -1
  624. package/dist/components/calcite-progress.js +1 -1
  625. package/dist/components/calcite-radio-button-group.js +1 -1
  626. package/dist/components/calcite-radio-button.js +1 -1
  627. package/dist/components/calcite-rating.js +1 -1
  628. package/dist/components/calcite-scrim.js +1 -1
  629. package/dist/components/calcite-segmented-control-item.js +1 -1
  630. package/dist/components/calcite-segmented-control.js +1 -1
  631. package/dist/components/calcite-select.js +1 -1
  632. package/dist/components/calcite-sheet.js +1 -1
  633. package/dist/components/calcite-shell-center-row.js +1 -1
  634. package/dist/components/calcite-shell-panel.js +1 -1
  635. package/dist/components/calcite-shell.js +1 -1
  636. package/dist/components/calcite-slider.js +1 -1
  637. package/dist/components/calcite-sortable-list.js +1 -1
  638. package/dist/components/calcite-split-button.js +1 -1
  639. package/dist/components/calcite-stack.js +1 -1
  640. package/dist/components/calcite-stepper-item.js +1 -1
  641. package/dist/components/calcite-stepper.js +1 -1
  642. package/dist/components/calcite-switch.js +1 -1
  643. package/dist/components/calcite-tab-nav.js +1 -1
  644. package/dist/components/calcite-tab-title.js +1 -1
  645. package/dist/components/calcite-tab.js +1 -1
  646. package/dist/components/calcite-tabs.js +1 -1
  647. package/dist/components/calcite-text-area.js +1 -1
  648. package/dist/components/calcite-tile-select-group.js +1 -1
  649. package/dist/components/calcite-tile-select.js +1 -1
  650. package/dist/components/calcite-tile.js +1 -1
  651. package/dist/components/calcite-time-picker.js +1 -1
  652. package/dist/components/calcite-tip-group.js +1 -1
  653. package/dist/components/calcite-tip-manager.js +1 -1
  654. package/dist/components/calcite-tip.js +1 -1
  655. package/dist/components/calcite-tooltip.js +1 -1
  656. package/dist/components/calcite-tree-item.js +1 -1
  657. package/dist/components/calcite-tree.js +1 -1
  658. package/dist/components/calcite-value-list-item.js +1 -1
  659. package/dist/components/calcite-value-list.js +1 -1
  660. package/dist/components/checkbox.js +1 -1
  661. package/dist/components/chip.js +1 -1
  662. package/dist/components/color-picker-hex-input.js +1 -1
  663. package/dist/components/color-picker-swatch.js +1 -1
  664. package/dist/components/combobox-item.js +1 -1
  665. package/dist/components/combobox.js +1 -1
  666. package/dist/components/conditionalSlot.js +1 -1
  667. package/dist/components/cs.js +1 -1
  668. package/dist/components/da.js +1 -1
  669. package/dist/components/date-picker-day.js +2 -2
  670. package/dist/components/date-picker-month-header.js +2 -2
  671. package/dist/components/date-picker-month.js +2 -2
  672. package/dist/components/date-picker.js +2 -2
  673. package/dist/components/date.js +12 -2
  674. package/dist/components/de-at.js +1 -1
  675. package/dist/components/de-ch.js +1 -1
  676. package/dist/components/de.js +1 -1
  677. package/dist/components/debounce.js +1 -1
  678. package/dist/components/dom.js +1 -1
  679. package/dist/components/dropdown.js +1 -1
  680. package/dist/components/el.js +1 -1
  681. package/dist/components/en-au.js +1 -1
  682. package/dist/components/en-ca.js +1 -1
  683. package/dist/components/en-gb.js +1 -1
  684. package/dist/components/es-mx.js +1 -1
  685. package/dist/components/es.js +1 -1
  686. package/dist/components/et.js +1 -1
  687. package/dist/components/fi.js +1 -1
  688. package/dist/components/filter.js +1 -1
  689. package/dist/components/filter2.js +1 -1
  690. package/dist/components/floating-ui.js +1 -1
  691. package/dist/components/focusTrapComponent.js +1 -1
  692. package/dist/components/form.js +1 -1
  693. package/dist/components/fr-ch.js +1 -1
  694. package/dist/components/fr.js +1 -1
  695. package/dist/components/graph.js +1 -1
  696. package/dist/components/guid.js +1 -1
  697. package/dist/components/handle.js +1 -1
  698. package/dist/components/he.js +1 -1
  699. package/dist/components/hi.js +1 -1
  700. package/dist/components/hr.js +1 -1
  701. package/dist/components/hu.js +1 -1
  702. package/dist/components/icon.js +1 -1
  703. package/dist/components/id.js +1 -1
  704. package/dist/components/index.js +1 -1
  705. package/dist/components/index2.js +1 -1
  706. package/dist/components/input-number.js +1 -1
  707. package/dist/components/input-text.js +1 -1
  708. package/dist/components/input.js +1 -1
  709. package/dist/components/interactive.js +1 -1
  710. package/dist/components/it-ch.js +1 -1
  711. package/dist/components/it.js +1 -1
  712. package/dist/components/ja.js +1 -1
  713. package/dist/components/key.js +1 -1
  714. package/dist/components/ko.js +1 -1
  715. package/dist/components/label.js +1 -1
  716. package/dist/components/label2.js +1 -1
  717. package/dist/components/link.js +1 -1
  718. package/dist/components/loadable.js +1 -1
  719. package/dist/components/loader.js +1 -1
  720. package/dist/components/locale.js +1 -1
  721. package/dist/components/lt.js +1 -1
  722. package/dist/components/lv.js +1 -1
  723. package/dist/components/math.js +18 -3
  724. package/dist/components/menu.js +1 -1
  725. package/dist/components/mk.js +1 -1
  726. package/dist/components/nb.js +1 -1
  727. package/dist/components/nl.js +1 -1
  728. package/dist/components/observers.js +1 -1
  729. package/dist/components/openCloseComponent.js +1 -1
  730. package/dist/components/panel.js +1 -1
  731. package/dist/components/pick-list-item.js +1 -1
  732. package/dist/components/pl.js +1 -1
  733. package/dist/components/popover.js +1 -1
  734. package/dist/components/progress.js +1 -1
  735. package/dist/components/pt-br.js +1 -1
  736. package/dist/components/pt.js +1 -1
  737. package/dist/components/resources.js +1 -1
  738. package/dist/components/resources2.js +1 -1
  739. package/dist/components/resources3.js +1 -1
  740. package/dist/components/resources4.js +1 -1
  741. package/dist/components/ro.js +1 -1
  742. package/dist/components/ru.js +1 -1
  743. package/dist/components/scrim.js +1 -1
  744. package/dist/components/shared-list-render.js +1 -1
  745. package/dist/components/sk.js +1 -1
  746. package/dist/components/sl.js +1 -1
  747. package/dist/components/sortableComponent.js +1 -1
  748. package/dist/components/sr.js +1 -1
  749. package/dist/components/stack.js +1 -1
  750. package/dist/components/sv.js +1 -1
  751. package/dist/components/switch.js +1 -1
  752. package/dist/components/t9n.js +1 -1
  753. package/dist/components/tab-nav.js +1 -1
  754. package/dist/components/tab-title.js +1 -1
  755. package/dist/components/tab.js +1 -1
  756. package/dist/components/tabs.js +1 -1
  757. package/dist/components/th.js +1 -1
  758. package/dist/components/throttle.js +1 -1
  759. package/dist/components/tile.js +1 -1
  760. package/dist/components/time-picker.js +285 -94
  761. package/dist/components/tr.js +1 -1
  762. package/dist/components/uk.js +1 -1
  763. package/dist/components/utils.js +1 -1
  764. package/dist/components/utils2.js +1 -1
  765. package/dist/components/utils3.js +1 -1
  766. package/dist/components/vi.js +1 -1
  767. package/dist/components/zh-cn.js +1 -1
  768. package/dist/components/zh-hk.js +1 -1
  769. package/dist/components/zh-tw.js +1 -1
  770. package/dist/esm/{ExpandToggle-6ec45edd.js → ExpandToggle-bf0f87aa.js} +5 -5
  771. package/dist/esm/{FloatingArrow-6686d03e.js → FloatingArrow-bb85386c.js} +2 -2
  772. package/dist/esm/{Heading-8e4b47e7.js → Heading-fcdd4ccf.js} +2 -2
  773. package/dist/esm/{app-globals-2fff341c.js → app-globals-b6666a16.js} +2 -2
  774. package/dist/esm/{ar-7cca40ea.js → ar-5357c717.js} +16 -15
  775. package/dist/esm/{array-543b1c8c.js → array-ccfcdd0f.js} +1 -1
  776. package/dist/esm/{bg-25bf4ee6.js → bg-6a6f5adc.js} +16 -15
  777. package/dist/esm/{bs-4be99035.js → bs-9058dc82.js} +16 -15
  778. package/dist/esm/{ca-431f5ffd.js → ca-383aa3fa.js} +16 -15
  779. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  780. package/dist/esm/calcite-action-bar.entry.js +15 -15
  781. package/dist/esm/calcite-action-group.entry.js +13 -13
  782. package/dist/esm/calcite-action-menu.entry.js +9 -9
  783. package/dist/esm/calcite-action-pad.entry.js +14 -14
  784. package/dist/esm/calcite-action.entry.js +11 -11
  785. package/dist/esm/calcite-alert.entry.js +12 -12
  786. package/dist/esm/calcite-avatar.entry.js +6 -6
  787. package/dist/esm/calcite-block_2.entry.js +13 -13
  788. package/dist/esm/calcite-button.entry.js +13 -13
  789. package/dist/esm/calcite-card.entry.js +10 -10
  790. package/dist/esm/calcite-checkbox.entry.js +10 -10
  791. package/dist/esm/calcite-chip-group.entry.js +8 -8
  792. package/dist/esm/calcite-chip.entry.js +12 -12
  793. package/dist/esm/calcite-color-picker_3.entry.js +15 -15
  794. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  795. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  796. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  797. package/dist/esm/calcite-fab.entry.js +7 -7
  798. package/dist/esm/calcite-filter.entry.js +13 -13
  799. package/dist/esm/calcite-flow-item.entry.js +12 -12
  800. package/dist/esm/calcite-flow.entry.js +4 -4
  801. package/dist/esm/calcite-graph_2.entry.js +13 -13
  802. package/dist/esm/calcite-handle.entry.js +10 -10
  803. package/dist/esm/calcite-icon.entry.js +6 -6
  804. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  805. package/dist/esm/calcite-input-date-picker.entry.js +83 -21
  806. package/dist/esm/calcite-input-message.entry.js +5 -5
  807. package/dist/esm/calcite-input-number.entry.js +13 -13
  808. package/dist/esm/calcite-input-text.entry.js +13 -13
  809. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-c2e3e738.js → calcite-input-time-picker.calcite-time-picker-a1e1a130.js} +462 -174
  810. package/dist/esm/calcite-input-time-picker_2.entry.js +16 -15
  811. package/dist/esm/calcite-input-time-zone.entry.js +13 -13
  812. package/dist/esm/calcite-input.entry.js +13 -13
  813. package/dist/esm/calcite-label.entry.js +6 -6
  814. package/dist/esm/calcite-link.entry.js +7 -7
  815. package/dist/esm/calcite-list_3.entry.js +14 -14
  816. package/dist/esm/calcite-loader.entry.js +3 -3
  817. package/dist/esm/calcite-menu_2.entry.js +10 -10
  818. package/dist/esm/calcite-meter.entry.js +10 -10
  819. package/dist/esm/calcite-modal.entry.js +13 -13
  820. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  821. package/dist/esm/calcite-notice.entry.js +12 -12
  822. package/dist/esm/calcite-option_3.entry.js +10 -10
  823. package/dist/esm/calcite-pagination.entry.js +10 -10
  824. package/dist/esm/calcite-panel.entry.js +14 -14
  825. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  826. package/dist/esm/calcite-popover.entry.js +16 -16
  827. package/dist/esm/calcite-progress.entry.js +5 -5
  828. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  829. package/dist/esm/calcite-radio-button.entry.js +10 -10
  830. package/dist/esm/calcite-rating.entry.js +13 -13
  831. package/dist/esm/calcite-scrim.entry.js +9 -9
  832. package/dist/esm/calcite-segmented-control_2.entry.js +10 -10
  833. package/dist/esm/calcite-sheet.entry.js +9 -9
  834. package/dist/esm/calcite-shell_3.entry.js +11 -11
  835. package/dist/esm/calcite-sortable-list.entry.js +8 -8
  836. package/dist/esm/calcite-split-button.entry.js +4 -4
  837. package/dist/esm/calcite-stack.entry.js +6 -6
  838. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  839. package/dist/esm/calcite-switch.entry.js +10 -10
  840. package/dist/esm/calcite-tab_4.entry.js +10 -10
  841. package/dist/esm/calcite-text-area.entry.js +15 -15
  842. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  843. package/dist/esm/calcite-tile.entry.js +8 -8
  844. package/dist/esm/calcite-tip_3.entry.js +11 -11
  845. package/dist/esm/calcite-tooltip.entry.js +9 -9
  846. package/dist/esm/calcite-tree_2.entry.js +8 -8
  847. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  848. package/dist/esm/calcite.js +6 -6
  849. package/dist/esm/{conditionalSlot-1d749369.js → conditionalSlot-a632bc93.js} +3 -3
  850. package/dist/esm/{cs-782d542f.js → cs-62e56a64.js} +16 -15
  851. package/dist/esm/{da-3d378e16.js → da-96d86789.js} +16 -15
  852. package/dist/esm/{de-7c478ee3.js → de-a3370610.js} +16 -15
  853. package/dist/esm/{de-at-c2770b6c.js → de-at-52ac9fe5.js} +16 -15
  854. package/dist/esm/{de-ch-cd4b90e9.js → de-ch-5796fdb4.js} +16 -15
  855. package/dist/esm/{debounce-2e8883fd.js → debounce-c84d411d.js} +1 -1
  856. package/dist/esm/{dom-a03c37b6.js → dom-3294f067.js} +3 -3
  857. package/dist/esm/{el-527357bd.js → el-fa9c30f1.js} +16 -15
  858. package/dist/esm/{en-au-87c50dce.js → en-au-c9ebfa80.js} +16 -15
  859. package/dist/esm/{en-ca-31d241e1.js → en-ca-4d4dc66c.js} +16 -15
  860. package/dist/esm/{en-gb-92c502dc.js → en-gb-60a9a498.js} +16 -15
  861. package/dist/esm/{es-e8e2cbfd.js → es-68df2022.js} +16 -15
  862. package/dist/esm/{es-mx-b9a80253.js → es-mx-0974ad94.js} +16 -15
  863. package/dist/esm/{et-0fb079e4.js → et-ab114a16.js} +16 -15
  864. package/dist/esm/{fi-572a315d.js → fi-fb462cf0.js} +16 -15
  865. package/dist/esm/{filter-f3b884fd.js → filter-c5e813c2.js} +2 -2
  866. package/dist/esm/{floating-ui-a4cb044f.js → floating-ui-af58437e.js} +3 -3
  867. package/dist/esm/{focusTrapComponent-5cde505c.js → focusTrapComponent-2500e814.js} +2 -2
  868. package/dist/esm/{form-44b83a17.js → form-99051e7d.js} +3 -3
  869. package/dist/esm/{fr-d5ee90ed.js → fr-77e29560.js} +16 -15
  870. package/dist/esm/{fr-ch-04190e70.js → fr-ch-6378c2a1.js} +16 -15
  871. package/dist/esm/{guid-922dbbe0.js → guid-462aba50.js} +1 -1
  872. package/dist/esm/{he-745cfc9f.js → he-a037c4bf.js} +16 -15
  873. package/dist/esm/{hi-262e499d.js → hi-8d5cbee5.js} +16 -15
  874. package/dist/esm/{hr-d2e680f6.js → hr-f739783e.js} +16 -15
  875. package/dist/esm/{hu-fd8e4a6c.js → hu-2af082a1.js} +16 -15
  876. package/dist/esm/{id-96611a8f.js → id-4a040b69.js} +16 -15
  877. package/dist/esm/{index-b970cf2b.js → index-2220b578.js} +1 -1
  878. package/dist/esm/index.js +2 -2
  879. package/dist/esm/{interactive-a5b4cda0.js → interactive-917baaab.js} +1 -1
  880. package/dist/esm/{it-ch-ba049790.js → it-ch-1134f90d.js} +16 -15
  881. package/dist/esm/{it-6c8731eb.js → it-f4cc27ce.js} +16 -15
  882. package/dist/esm/{ja-b4d82dd3.js → ja-a557bde1.js} +16 -15
  883. package/dist/esm/{key-4913bd62.js → key-0a9a7c11.js} +1 -1
  884. package/dist/esm/{ko-d4a90140.js → ko-8e6ca8b8.js} +16 -15
  885. package/dist/esm/{label-5ecfd527.js → label-d23303da.js} +2 -2
  886. package/dist/esm/{loadable-2460e79e.js → loadable-a506fce5.js} +2 -2
  887. package/dist/esm/loader.js +6 -6
  888. package/dist/esm/{locale-ccb8fa38.js → locale-0521067c.js} +4 -4
  889. package/dist/esm/{lt-55ff2da9.js → lt-7bd686f3.js} +16 -15
  890. package/dist/esm/{lv-c24efb10.js → lv-88258bdd.js} +16 -15
  891. package/dist/esm/{math-14207747.js → math-54e57a6d.js} +18 -3
  892. package/dist/esm/{mk-18326341.js → mk-9fb1eceb.js} +16 -15
  893. package/dist/esm/{nb-48fda3d1.js → nb-621a3850.js} +16 -15
  894. package/dist/esm/{nl-26d47719.js → nl-ec3d1afc.js} +16 -15
  895. package/dist/esm/{observers-70b65313.js → observers-f954756c.js} +1 -1
  896. package/dist/esm/{openCloseComponent-17fc613e.js → openCloseComponent-b246f9ff.js} +2 -2
  897. package/dist/esm/{pl-c5d5ee7d.js → pl-a8793fc2.js} +16 -15
  898. package/dist/esm/{pt-br-52032196.js → pt-br-fff4bdda.js} +16 -15
  899. package/dist/esm/{pt-f1559439.js → pt-c2639b18.js} +16 -15
  900. package/dist/esm/{resources-b6b3ead3.js → resources-069ce391.js} +1 -1
  901. package/dist/esm/{resources-1ce1d9ef.js → resources-12c5581f.js} +1 -1
  902. package/dist/esm/{resources-a58cb4da.js → resources-3049fc4f.js} +5 -5
  903. package/dist/esm/{resources-489bb1fc.js → resources-808ed162.js} +1 -1
  904. package/dist/esm/{resources-61acd6cf.js → resources-c719bd2c.js} +1 -1
  905. package/dist/esm/{resources-f97a4829.js → resources-d4e19430.js} +1 -1
  906. package/dist/esm/{resources-08e09a4c.js → resources-df7e2247.js} +1 -1
  907. package/dist/esm/{ro-1da80b10.js → ro-ccf3ed16.js} +16 -15
  908. package/dist/esm/{ru-e7cd85fd.js → ru-02edbf33.js} +16 -15
  909. package/dist/esm/{sk-cb838437.js → sk-9ddefee7.js} +16 -15
  910. package/dist/esm/{sl-06c67a88.js → sl-5b5b18ec.js} +16 -15
  911. package/dist/esm/{sortableComponent-a18d2d68.js → sortableComponent-8c3c954d.js} +2 -2
  912. package/dist/esm/{sr-8a02e97f.js → sr-786e95f5.js} +16 -15
  913. package/dist/esm/{sv-3ccf128e.js → sv-3328887c.js} +16 -15
  914. package/dist/esm/{t9n-b3120e3b.js → t9n-d51e8c70.js} +3 -3
  915. package/dist/esm/{th-bc3a4f60.js → th-a5ef18dc.js} +16 -15
  916. package/dist/esm/{throttle-7012372b.js → throttle-f07a0c1a.js} +2 -2
  917. package/dist/esm/{tr-ca509c5a.js → tr-0023808e.js} +16 -15
  918. package/dist/esm/{uk-8410f044.js → uk-c6bc2eda.js} +16 -15
  919. package/dist/esm/{utils-8a9ae941.js → utils-5090842e.js} +1 -1
  920. package/dist/esm/{utils-d7c18644.js → utils-d9cd488f.js} +14 -4
  921. package/dist/esm/{vi-4bfdfc5e.js → vi-1db432eb.js} +16 -15
  922. package/dist/esm/{zh-cn-dc66f578.js → zh-cn-9f94c010.js} +16 -15
  923. package/dist/esm/{zh-hk-2379a9d5.js → zh-hk-e521cb48.js} +16 -15
  924. package/dist/esm/{zh-tw-b373850b.js → zh-tw-67f6ee11.js} +16 -15
  925. package/dist/extras/docs-json.json +28 -10
  926. package/dist/extras/translations-json.json +1 -1
  927. package/dist/extras/vscode-data.json +5 -1
  928. package/dist/loader/cdn.js +1 -1
  929. package/dist/loader/index.cjs.js +1 -1
  930. package/dist/loader/index.es2017.js +1 -1
  931. package/dist/loader/index.js +1 -1
  932. package/dist/types/components/input-date-picker/input-date-picker.d.ts +5 -0
  933. package/dist/types/components/input-date-picker/utils.d.ts +14 -0
  934. package/dist/types/components/input-time-picker/input-time-picker.d.ts +5 -0
  935. package/dist/types/components/shell/shell.d.ts +1 -1
  936. package/dist/types/components/time-picker/assets/time-picker/t9n/index.d.ts +3 -0
  937. package/dist/types/components/time-picker/resources.d.ts +3 -0
  938. package/dist/types/components/time-picker/time-picker.d.ts +14 -11
  939. package/dist/types/components.d.ts +8 -0
  940. package/dist/types/utils/date.d.ts +11 -0
  941. package/dist/types/utils/math.d.ts +11 -1
  942. package/dist/types/utils/time.d.ts +11 -4
  943. package/hydrate/index.js +504 -125
  944. package/package.json +3 -2
  945. package/dist/calcite/p-02a66b81.js +0 -6
  946. package/dist/calcite/p-08b57d78.js +0 -6
  947. package/dist/calcite/p-08babfc8.js +0 -6
  948. package/dist/calcite/p-0a0bfbc4.js +0 -6
  949. package/dist/calcite/p-0e18467a.js +0 -6
  950. package/dist/calcite/p-1005d74a.js +0 -6
  951. package/dist/calcite/p-1281e636.entry.js +0 -6
  952. package/dist/calcite/p-1408ab17.js +0 -6
  953. package/dist/calcite/p-146568f9.js +0 -6
  954. package/dist/calcite/p-16a8cf43.js +0 -6
  955. package/dist/calcite/p-1867b8a2.entry.js +0 -6
  956. package/dist/calcite/p-212777e1.js +0 -6
  957. package/dist/calcite/p-2270fdcd.js +0 -6
  958. package/dist/calcite/p-28ecf950.js +0 -6
  959. package/dist/calcite/p-2b554c61.js +0 -6
  960. package/dist/calcite/p-2d235e44.js +0 -6
  961. package/dist/calcite/p-2e02a0fd.js +0 -6
  962. package/dist/calcite/p-2f46f849.js +0 -6
  963. package/dist/calcite/p-3543c6fe.js +0 -6
  964. package/dist/calcite/p-3ca1c073.js +0 -6
  965. package/dist/calcite/p-413368f9.entry.js +0 -6
  966. package/dist/calcite/p-4a22d356.js +0 -6
  967. package/dist/calcite/p-4de0b8f2.js +0 -6
  968. package/dist/calcite/p-4f70556d.js +0 -6
  969. package/dist/calcite/p-528ca15e.js +0 -6
  970. package/dist/calcite/p-59bc3475.js +0 -6
  971. package/dist/calcite/p-5dbc3567.js +0 -6
  972. package/dist/calcite/p-61f3c2c6.js +0 -6
  973. package/dist/calcite/p-6d93302b.js +0 -6
  974. package/dist/calcite/p-739e0464.entry.js +0 -6
  975. package/dist/calcite/p-76cf8f88.js +0 -6
  976. package/dist/calcite/p-79cfc70d.js +0 -6
  977. package/dist/calcite/p-7b199ad8.js +0 -6
  978. package/dist/calcite/p-82b74ef5.js +0 -6
  979. package/dist/calcite/p-84f8301f.js +0 -6
  980. package/dist/calcite/p-871194b0.js +0 -6
  981. package/dist/calcite/p-89c0ed08.js +0 -6
  982. package/dist/calcite/p-8b8f61ae.entry.js +0 -6
  983. package/dist/calcite/p-8efbe93f.js +0 -6
  984. package/dist/calcite/p-933e9515.js +0 -6
  985. package/dist/calcite/p-9609f88e.js +0 -6
  986. package/dist/calcite/p-994d9526.js +0 -6
  987. package/dist/calcite/p-9cffee1f.js +0 -6
  988. package/dist/calcite/p-9d93675d.js +0 -6
  989. package/dist/calcite/p-a7603764.js +0 -6
  990. package/dist/calcite/p-a796c3c0.js +0 -6
  991. package/dist/calcite/p-ac50a667.js +0 -6
  992. package/dist/calcite/p-b0ceca11.js +0 -6
  993. package/dist/calcite/p-b7bfe8d1.js +0 -6
  994. package/dist/calcite/p-bcdfe53c.entry.js +0 -6
  995. package/dist/calcite/p-c0ad0d34.entry.js +0 -6
  996. package/dist/calcite/p-c53f6979.js +0 -6
  997. package/dist/calcite/p-c88bd734.entry.js +0 -6
  998. package/dist/calcite/p-c9faebe1.js +0 -6
  999. package/dist/calcite/p-cc1cca51.js +0 -6
  1000. package/dist/calcite/p-d82bf2fd.js +0 -6
  1001. package/dist/calcite/p-ddc7d0e8.js +0 -6
  1002. package/dist/calcite/p-e7096434.js +0 -6
  1003. package/dist/calcite/p-e760291e.js +0 -6
  1004. package/dist/calcite/p-ee6ef481.entry.js +0 -6
  1005. package/dist/calcite/p-ef664e89.js +0 -6
  1006. package/dist/calcite/p-f87cfecc.js +0 -6
  1007. package/dist/calcite/p-fdd39b9a.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
- import{g as t}from"./p-d5102f79.js";import{d as n}from"./p-0d413952.js";const e=["top","right","bottom","left"],o=["start","end"],r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]),i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,n,e){return a(t,i(n,e))}function m(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(p(t))?"y":"x"}function w(t){return g(x(t))}function v(t,n,e){void 0===e&&(e=!1);const o=y(t),r=w(t),i=h(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function b(t){return t.replace(/start|end/g,(t=>u[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function S(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function k(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P(t,n,e){let{reference:o,floating:r}=t;const i=x(n),a=w(n),l=h(a),c=p(n),s="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[a]-=d*(e&&s?-1:1);break;case"end":m[a]+=d*(e&&s?-1:1)}return m}async function D(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=m(n,t),y=S(p),g=l[d?"floating"===u?"reference":"floating":u],h=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),x="floating"===u?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:c}):x);return{top:(h.top-b.top+y.top)/v.y,bottom:(b.bottom-h.bottom+y.bottom)/v.y,left:(h.left-b.left+y.left)/v.x,right:(b.right-h.right+y.right)/v.x}}const R=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:r,rects:i,initialPlacement:a,platform:l,elements:c}=n,{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...x}=m(t,n),w=p(o),S=p(a)===a,k=await(null==l.isRTL?void 0:l.isRTL(c.floating)),P=u||(S||!h?[A(a)]:function(t){const n=A(t);return[b(t),n,b(n)]}(a));u||"none"===g||P.push(...function(t,n,e,o){const r=y(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(p(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(b)))),i}(a,h,g,k));const R=[a,...P],E=await D(n,x),O=[];let M=(null==(e=r.flip)?void 0:e.overflows)||[];if(s&&O.push(E[w]),f){const t=v(o,i,k);O.push(E[t[0]],E[t[1]])}if(M=[...M,{placement:o,overflows:O}],!O.every((t=>t<=0))){var F,T;const t=((null==(F=r.flip)?void 0:F.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(T=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:T.placement;if(!e)switch(d){case"bestFit":{var C;const t=null==(C=M.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:C[0];t&&(e=t);break}case"initialPlacement":e=a}if(o!==e)return{reset:{placement:e}}}return{}}}};function E(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function O(t){return e.some((n=>t[n]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=E(await D(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:O(t)}}}case"escaped":{const t=E(await D(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:O(t)}}}default:return{}}}}},F=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=p(e),l=y(e),c="y"===x(e),s=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof h&&(g="end"===l?-1*h:h),c?{x:g*f,y:d*s}:{x:d*s,y:g*f}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}};function T(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function $(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return t instanceof Node||t instanceof C(t).Node}function B(t){return t instanceof Element||t instanceof C(t).Element}function L(t){return t instanceof HTMLElement||t instanceof C(t).HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}function H(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function I(t){return["table","td","th"].includes(T(t))}function W(t){const n=N(),e=Y(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function N(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(T(t))}function Y(t){return C(t).getComputedStyle(t)}function V(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function X(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||$(t);return j(n)?n.host:n}function _(t){const n=X(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&H(n)?n:_(n)}function G(t,n){var e;void 0===n&&(n=[]);const o=_(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=C(o);return r?n.concat(i,i.visualViewport||[],H(o)?o:[]):n.concat(o,G(o))}function J(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=L(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=l(e)!==i||l(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function K(t){return B(t)?t:t.contextElement}function Q(t){const n=K(t);if(!L(n))return s(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=J(n);let a=(i?l(e.width):e.width)/o,c=(i?l(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const U=s(0);function Z(t){const n=C(t);return N()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=K(t);let a=s(1);n&&(o?B(o)&&(a=Q(o)):a=Q(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(i,e,o)?Z(i):s(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=C(i),n=o&&B(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=Q(e),n=e.getBoundingClientRect(),o=Y(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=C(e).frameElement}}return k({width:u,height:d,x:c,y:f})}function nt(t){return tt($(t)).left+V(t).scrollLeft}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=$(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=N();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=$(t),e=V(t),o=t.ownerDocument.body,r=a(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=a(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===Y(o).direction&&(l+=a(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}($(t));else if(B(n))o=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=L(t)?Q(t):s(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Z(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return k(o)}function ot(t,n){const e=X(t);return!(e===n||!B(e)||q(e))&&("fixed"===Y(e).position||ot(e,n))}function rt(t,n,e){const o=L(n),r=$(n),i="fixed"===e,a=tt(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=s(0);if(o||!o&&!i)if(("body"!==T(n)||H(r))&&(l=V(n)),o){const t=tt(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=nt(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function it(t,n){return L(t)&&"fixed"!==Y(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=C(t);if(!L(t))return e;let o=it(t,n);for(;o&&I(o)&&"static"===Y(o).position;)o=it(o,n);return o&&("html"===T(o)||"body"===T(o)&&"static"===Y(o).position&&!W(o))?e:o||function(t){let n=X(t);for(;L(n)&&!q(n);){if(W(n))return n;n=X(n)}return null}(t)||e}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=L(e),i=$(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=s(1);const c=s(0);if((r||!r&&"fixed"!==o)&&(("body"!==T(e)||H(i))&&(a=V(e)),L(e))){const t=tt(e);l=Q(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:$,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=G(t).filter((t=>B(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?X(t):t;for(;B(a)&&!q(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||H(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],c=l.reduce(((t,e)=>{const o=et(n,e,r);return t.top=a(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),et(n,l[0],r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:at,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:rt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return J(t)},getScale:Q,isElement:B,isRTL:function(t){return"rtl"===Y(t).direction}};function ct(t){return function(t){for(let n=t;n;n=st(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=st(t);n;n=st(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}(t)}function st(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}!function(){{const t=lt.getOffsetParent;lt.getOffsetParent=n=>t(n,ct)}}();const ft=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})=>{if(!n||!e)return null;const{x:u,y:d,placement:m,strategy:p,middlewareData:y}=await((t,n,e)=>{const o=new Map,r={platform:lt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:f,y:u}=P(s,o,c),d=o,m={},p=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:h,data:x,reset:w}=await y({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});f=null!=g?g:f,u=null!=h?h:u,m={...m,[i]:{...m[i],...x}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:f,y:u}=P(s,d,c))),e=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:ht(e,r),middleware:yt({placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})});if(s&&y.arrow){const{x:n,y:e}=y.arrow,o=m.split("-")[0],r=null!=n?"left":"top",i=wt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(s.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const g=y.hide?.referenceHidden,h=g?"hidden":null,x=h?"none":null;e.setAttribute(ut,m);const w=`translate(${Math.round(u)}px,${Math.round(d)}px)`;Object.assign(e.style,{visibility:h,pointerEvents:x,position:p,top:"0",left:"0",transform:w})},ut="data-placement",dt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],mt="bottom-start",pt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function yt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:a,arrowEl:l,type:c}){const s=[(void 0===f&&(f={}),{name:"shift",options:f,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...l}=m(f,t),c={x:n,y:e},s=await D(t,l),u=x(p(o)),y=g(u);let h=c[y],w=c[u];r&&(h=d(h+s["y"===y?"top":"left"],h,h-s["y"===y?"bottom":"right"])),i&&(w=d(w+s["y"===u?"top":"left"],w,w-s["y"===u?"bottom":"right"]));const v=a.fn({...t,[y]:h,[u]:w});return{...v,data:{x:v.x-n,y:v.y-e}}}}),M()];var f;if("menu"===c)return[...s,R({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===c||"tooltip"===c){const c=[...s,F({mainAxis:"number"==typeof o?o:0,crossAxis:"number"==typeof a?a:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?c.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:a,middlewareData:l,placement:c,platform:s,elements:f}=n,{crossAxis:u=!1,alignment:d,allowedPlacements:g=r,autoAlignment:h=!0,...x}=m(t,n),w=void 0!==d||g===r?function(t,n,e){return(t?[...e.filter((n=>y(n)===t)),...e.filter((n=>y(n)!==t))]:e.filter((t=>p(t)===t))).filter((e=>!t||y(e)===t||!!n&&b(e)!==e))}(d||null,h,g):g,A=await D(n,x),S=(null==(e=l.autoPlacement)?void 0:e.index)||0,k=w[S];if(null==k)return{};const P=v(k,a,await(null==s.isRTL?void 0:s.isRTL(f.floating)));if(c!==k)return{reset:{placement:w[0]}};const R=[A[p(k)],A[P[0]],A[P[1]]],E=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:k,overflows:R}],O=w[S+1];if(O)return{data:{index:S+1,overflows:E},reset:{placement:O}};const M=E.map((t=>{const n=y(t.placement);return[t.placement,n&&u?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),F=(null==(i=M.filter((t=>t[2].slice(0,y(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||M[0][0];return F!==c?{data:{index:S+1,overflows:E},reset:{placement:F}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||c.push(R(e?{fallbackPlacements:e}:{})),l&&c.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:r,rects:a,platform:l,elements:c}=n,{element:s,padding:f=0}=m(t,n)||{};if(null==s)return{};const u=S(f),p={x:e,y:o},g=w(r),x=h(g),v=await l.getDimensions(s),b="y"===g,A=b?"top":"left",k=b?"bottom":"right",P=b?"clientHeight":"clientWidth",D=a.reference[x]+a.reference[g]-p[g]-a.floating[x],R=p[g]-a.reference[g],E=await(null==l.getOffsetParent?void 0:l.getOffsetParent(s));let O=E?E[P]:0;O&&await(null==l.isElement?void 0:l.isElement(E))||(O=c.floating[P]||a.floating[x]);const M=D/2-R/2,F=O/2-v[x]/2-1,T=i(u[A],F),C=i(u[k],F),$=T,z=O-v[x]-C,B=O/2-v[x]/2+M,L=d($,B,z),j=null!=y(r)&&B!=L&&a.reference[x]/2-(B<$?T:C)-v[x]/2<0?B<$?$-B:z-B:0;return{[g]:p[g]-j,data:{[g]:L,centerOffset:B-L+j}}}}))({element:l})),c}return[]}function gt(t,n){const e=t.filter((t=>dt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${dt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ht(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function xt(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=bt.get(t);return e||(e=n(ft,100,{leading:!0,maxWait:100}),bt.set(t,e),e)}(t):ft;return r(t,e)}const wt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},vt=new WeakMap,bt=new WeakMap;function At(t,n,e){e&&n&&(St(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),vt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,d=K(t),m=r||l?[...d?G(d):[],...G(n)]:[];m.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),l&&t.addEventListener("resize",e)}));const p=d&&f?function(t,n){let e,o=null;const r=$(t);function l(){clearTimeout(e),o&&o.disconnect(),o=null}return function s(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const{left:d,top:m,width:p,height:y}=t.getBoundingClientRect();if(f||n(),!p||!y)return;const g={rootMargin:-c(m)+"px "+-c(r.clientWidth-(d+p))+"px "+-c(r.clientHeight-(m+y))+"px "+-c(d)+"px",threshold:a(0,i(1,u))||1};let h=!0;function x(t){const n=t[0].intersectionRatio;if(n!==u){if(!h)return s();n?s(!1,n):e=setTimeout((()=>{s(!1,1e-7)}),100)}h=!1}try{o=new IntersectionObserver(x,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),l}(d,e):null;let y,g=-1,h=null;s&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&h&&(h.unobserve(n),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{h&&h.observe(n)}))),e()})),d&&!u&&h.observe(d),h.observe(n));let x=u?tt(t):null;return u&&function n(){const o=tt(t);!x||o.x===x.x&&o.y===x.y&&o.width===x.width&&o.height===x.height||e(),x=o,y=requestAnimationFrame(n)}(),e(),()=>{m.forEach((t=>{r&&t.removeEventListener("scroll",e),l&&t.removeEventListener("resize",e)})),p&&p(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(y)}}(n,e,(()=>t.reposition()))))}function St(t,n,e){e&&n&&(vt.get(t)?.(),vt.delete(t),bt.get(t)?.cancel(),bt.delete(t))}const kt=Math.ceil(Math.hypot(4,4));export{pt as F,St as a,kt as b,At as c,mt as d,gt as f,xt as r}
6
+ import{g as t}from"./p-c6370aa4.js";import{d as n}from"./p-74f54959.js";const e=["top","right","bottom","left"],o=["start","end"],r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]),i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,n,e){return a(t,i(n,e))}function m(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(p(t))?"y":"x"}function w(t){return g(x(t))}function v(t,n,e){void 0===e&&(e=!1);const o=y(t),r=w(t),i=h(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function b(t){return t.replace(/start|end/g,(t=>u[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function S(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function k(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P(t,n,e){let{reference:o,floating:r}=t;const i=x(n),a=w(n),l=h(a),c=p(n),s="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[a]-=d*(e&&s?-1:1);break;case"end":m[a]+=d*(e&&s?-1:1)}return m}async function D(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=m(n,t),y=S(p),g=l[d?"floating"===u?"reference":"floating":u],h=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),x="floating"===u?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:c}):x);return{top:(h.top-b.top+y.top)/v.y,bottom:(b.bottom-h.bottom+y.bottom)/v.y,left:(h.left-b.left+y.left)/v.x,right:(b.right-h.right+y.right)/v.x}}const R=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:r,rects:i,initialPlacement:a,platform:l,elements:c}=n,{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...x}=m(t,n),w=p(o),S=p(a)===a,k=await(null==l.isRTL?void 0:l.isRTL(c.floating)),P=u||(S||!h?[A(a)]:function(t){const n=A(t);return[b(t),n,b(n)]}(a));u||"none"===g||P.push(...function(t,n,e,o){const r=y(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(p(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(b)))),i}(a,h,g,k));const R=[a,...P],E=await D(n,x),O=[];let M=(null==(e=r.flip)?void 0:e.overflows)||[];if(s&&O.push(E[w]),f){const t=v(o,i,k);O.push(E[t[0]],E[t[1]])}if(M=[...M,{placement:o,overflows:O}],!O.every((t=>t<=0))){var F,T;const t=((null==(F=r.flip)?void 0:F.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(T=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:T.placement;if(!e)switch(d){case"bestFit":{var C;const t=null==(C=M.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:C[0];t&&(e=t);break}case"initialPlacement":e=a}if(o!==e)return{reset:{placement:e}}}return{}}}};function E(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function O(t){return e.some((n=>t[n]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=E(await D(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:O(t)}}}case"escaped":{const t=E(await D(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:O(t)}}}default:return{}}}}},F=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=p(e),l=y(e),c="y"===x(e),s=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof h&&(g="end"===l?-1*h:h),c?{x:g*f,y:d*s}:{x:d*s,y:g*f}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}};function T(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function $(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return t instanceof Node||t instanceof C(t).Node}function B(t){return t instanceof Element||t instanceof C(t).Element}function L(t){return t instanceof HTMLElement||t instanceof C(t).HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}function H(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function I(t){return["table","td","th"].includes(T(t))}function W(t){const n=N(),e=Y(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function N(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(T(t))}function Y(t){return C(t).getComputedStyle(t)}function V(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function X(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||$(t);return j(n)?n.host:n}function _(t){const n=X(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&H(n)?n:_(n)}function G(t,n){var e;void 0===n&&(n=[]);const o=_(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=C(o);return r?n.concat(i,i.visualViewport||[],H(o)?o:[]):n.concat(o,G(o))}function J(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=L(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=l(e)!==i||l(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function K(t){return B(t)?t:t.contextElement}function Q(t){const n=K(t);if(!L(n))return s(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=J(n);let a=(i?l(e.width):e.width)/o,c=(i?l(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const U=s(0);function Z(t){const n=C(t);return N()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=K(t);let a=s(1);n&&(o?B(o)&&(a=Q(o)):a=Q(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(i,e,o)?Z(i):s(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=C(i),n=o&&B(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=Q(e),n=e.getBoundingClientRect(),o=Y(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=C(e).frameElement}}return k({width:u,height:d,x:c,y:f})}function nt(t){return tt($(t)).left+V(t).scrollLeft}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=$(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=N();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=$(t),e=V(t),o=t.ownerDocument.body,r=a(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=a(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===Y(o).direction&&(l+=a(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}($(t));else if(B(n))o=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=L(t)?Q(t):s(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Z(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return k(o)}function ot(t,n){const e=X(t);return!(e===n||!B(e)||q(e))&&("fixed"===Y(e).position||ot(e,n))}function rt(t,n,e){const o=L(n),r=$(n),i="fixed"===e,a=tt(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=s(0);if(o||!o&&!i)if(("body"!==T(n)||H(r))&&(l=V(n)),o){const t=tt(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=nt(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function it(t,n){return L(t)&&"fixed"!==Y(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=C(t);if(!L(t))return e;let o=it(t,n);for(;o&&I(o)&&"static"===Y(o).position;)o=it(o,n);return o&&("html"===T(o)||"body"===T(o)&&"static"===Y(o).position&&!W(o))?e:o||function(t){let n=X(t);for(;L(n)&&!q(n);){if(W(n))return n;n=X(n)}return null}(t)||e}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=L(e),i=$(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=s(1);const c=s(0);if((r||!r&&"fixed"!==o)&&(("body"!==T(e)||H(i))&&(a=V(e)),L(e))){const t=tt(e);l=Q(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:$,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=G(t).filter((t=>B(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?X(t):t;for(;B(a)&&!q(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||H(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],c=l.reduce(((t,e)=>{const o=et(n,e,r);return t.top=a(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),et(n,l[0],r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:at,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:rt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return J(t)},getScale:Q,isElement:B,isRTL:function(t){return"rtl"===Y(t).direction}};function ct(t){return function(t){for(let n=t;n;n=st(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=st(t);n;n=st(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}(t)}function st(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}!function(){{const t=lt.getOffsetParent;lt.getOffsetParent=n=>t(n,ct)}}();const ft=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})=>{if(!n||!e)return null;const{x:u,y:d,placement:m,strategy:p,middlewareData:y}=await((t,n,e)=>{const o=new Map,r={platform:lt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:f,y:u}=P(s,o,c),d=o,m={},p=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:h,data:x,reset:w}=await y({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});f=null!=g?g:f,u=null!=h?h:u,m={...m,[i]:{...m[i],...x}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:f,y:u}=P(s,d,c))),e=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:ht(e,r),middleware:yt({placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})});if(s&&y.arrow){const{x:n,y:e}=y.arrow,o=m.split("-")[0],r=null!=n?"left":"top",i=wt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(s.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const g=y.hide?.referenceHidden,h=g?"hidden":null,x=h?"none":null;e.setAttribute(ut,m);const w=`translate(${Math.round(u)}px,${Math.round(d)}px)`;Object.assign(e.style,{visibility:h,pointerEvents:x,position:p,top:"0",left:"0",transform:w})},ut="data-placement",dt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],mt="bottom-start",pt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function yt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:a,arrowEl:l,type:c}){const s=[(void 0===f&&(f={}),{name:"shift",options:f,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...l}=m(f,t),c={x:n,y:e},s=await D(t,l),u=x(p(o)),y=g(u);let h=c[y],w=c[u];r&&(h=d(h+s["y"===y?"top":"left"],h,h-s["y"===y?"bottom":"right"])),i&&(w=d(w+s["y"===u?"top":"left"],w,w-s["y"===u?"bottom":"right"]));const v=a.fn({...t,[y]:h,[u]:w});return{...v,data:{x:v.x-n,y:v.y-e}}}}),M()];var f;if("menu"===c)return[...s,R({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===c||"tooltip"===c){const c=[...s,F({mainAxis:"number"==typeof o?o:0,crossAxis:"number"==typeof a?a:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?c.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:a,middlewareData:l,placement:c,platform:s,elements:f}=n,{crossAxis:u=!1,alignment:d,allowedPlacements:g=r,autoAlignment:h=!0,...x}=m(t,n),w=void 0!==d||g===r?function(t,n,e){return(t?[...e.filter((n=>y(n)===t)),...e.filter((n=>y(n)!==t))]:e.filter((t=>p(t)===t))).filter((e=>!t||y(e)===t||!!n&&b(e)!==e))}(d||null,h,g):g,A=await D(n,x),S=(null==(e=l.autoPlacement)?void 0:e.index)||0,k=w[S];if(null==k)return{};const P=v(k,a,await(null==s.isRTL?void 0:s.isRTL(f.floating)));if(c!==k)return{reset:{placement:w[0]}};const R=[A[p(k)],A[P[0]],A[P[1]]],E=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:k,overflows:R}],O=w[S+1];if(O)return{data:{index:S+1,overflows:E},reset:{placement:O}};const M=E.map((t=>{const n=y(t.placement);return[t.placement,n&&u?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),F=(null==(i=M.filter((t=>t[2].slice(0,y(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||M[0][0];return F!==c?{data:{index:S+1,overflows:E},reset:{placement:F}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||c.push(R(e?{fallbackPlacements:e}:{})),l&&c.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:r,rects:a,platform:l,elements:c}=n,{element:s,padding:f=0}=m(t,n)||{};if(null==s)return{};const u=S(f),p={x:e,y:o},g=w(r),x=h(g),v=await l.getDimensions(s),b="y"===g,A=b?"top":"left",k=b?"bottom":"right",P=b?"clientHeight":"clientWidth",D=a.reference[x]+a.reference[g]-p[g]-a.floating[x],R=p[g]-a.reference[g],E=await(null==l.getOffsetParent?void 0:l.getOffsetParent(s));let O=E?E[P]:0;O&&await(null==l.isElement?void 0:l.isElement(E))||(O=c.floating[P]||a.floating[x]);const M=D/2-R/2,F=O/2-v[x]/2-1,T=i(u[A],F),C=i(u[k],F),$=T,z=O-v[x]-C,B=O/2-v[x]/2+M,L=d($,B,z),j=null!=y(r)&&B!=L&&a.reference[x]/2-(B<$?T:C)-v[x]/2<0?B<$?$-B:z-B:0;return{[g]:p[g]-j,data:{[g]:L,centerOffset:B-L+j}}}}))({element:l})),c}return[]}function gt(t,n){const e=t.filter((t=>dt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${dt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ht(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function xt(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=bt.get(t);return e||(e=n(ft,100,{leading:!0,maxWait:100}),bt.set(t,e),e)}(t):ft;return r(t,e)}const wt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},vt=new WeakMap,bt=new WeakMap;function At(t,n,e){e&&n&&(St(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),vt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,d=K(t),m=r||l?[...d?G(d):[],...G(n)]:[];m.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),l&&t.addEventListener("resize",e)}));const p=d&&f?function(t,n){let e,o=null;const r=$(t);function l(){clearTimeout(e),o&&o.disconnect(),o=null}return function s(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const{left:d,top:m,width:p,height:y}=t.getBoundingClientRect();if(f||n(),!p||!y)return;const g={rootMargin:-c(m)+"px "+-c(r.clientWidth-(d+p))+"px "+-c(r.clientHeight-(m+y))+"px "+-c(d)+"px",threshold:a(0,i(1,u))||1};let h=!0;function x(t){const n=t[0].intersectionRatio;if(n!==u){if(!h)return s();n?s(!1,n):e=setTimeout((()=>{s(!1,1e-7)}),100)}h=!1}try{o=new IntersectionObserver(x,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),l}(d,e):null;let y,g=-1,h=null;s&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&h&&(h.unobserve(n),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{h&&h.observe(n)}))),e()})),d&&!u&&h.observe(d),h.observe(n));let x=u?tt(t):null;return u&&function n(){const o=tt(t);!x||o.x===x.x&&o.y===x.y&&o.width===x.width&&o.height===x.height||e(),x=o,y=requestAnimationFrame(n)}(),e(),()=>{m.forEach((t=>{r&&t.removeEventListener("scroll",e),l&&t.removeEventListener("resize",e)})),p&&p(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(y)}}(n,e,(()=>t.reposition()))))}function St(t,n,e){e&&n&&(vt.get(t)?.(),vt.delete(t),bt.get(t)?.cancel(),bt.delete(t))}const kt=Math.ceil(Math.hypot(4,4));export{pt as F,St as a,kt as b,At as c,mt as d,gt as f,xt as r}
@@ -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.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
- import{h as t}from"./p-32d19214.js";const e={width:12,height:6,strokeWidth:1},i=({floatingLayout:i,key:o,ref:r})=>{const{width:a,height:h,strokeWidth:s}=e,d=a/2,n="vertical"===i,l=`M0,0 H${a} L${a-d},${h} Q${d},${h} ${d},${h} Z`;return t("svg",{"aria-hidden":"true",class:"calcite-floating-ui-arrow",height:a,key:o,ref:r,viewBox:`0 0 ${a} ${a+(n?0:s)}`,width:a+(n?s:0)},s>0&&t("path",{class:"calcite-floating-ui-arrow__stroke",d:l,fill:"none","stroke-width":s+1}),t("path",{d:l,stroke:"none"}))};export{i as F}
6
+ import{h as t}from"./p-8ab93bd4.js";const e={width:12,height:6,strokeWidth:1},i=({floatingLayout:i,key:o,ref:r})=>{const{width:a,height:h,strokeWidth:s}=e,d=a/2,n="vertical"===i,l=`M0,0 H${a} L${a-d},${h} Q${d},${h} ${d},${h} Z`;return t("svg",{"aria-hidden":"true",class:"calcite-floating-ui-arrow",height:a,key:o,ref:r,viewBox:`0 0 ${a} ${a+(n?0:s)}`,width:a+(n?s:0)},s>0&&t("path",{class:"calcite-floating-ui-arrow__stroke",d:l,fill:"none","stroke-width":s+1}),t("path",{d:l,stroke:"none"}))};export{i as F}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
- import{r as t,h as a,a as o}from"./p-32d19214.js";import{d as s}from"./p-d5102f79.js";import{c as d,u as i,d as e}from"./p-8aecdd94.js";import{s as r,a as l,c as p}from"./p-b82269a4.js";import"./p-1d809f99.js";import"./p-d84bddf2.js";const n=class{constructor(a){t(this,a),this.appearance="solid",this.kind="brand",this.disabled=!1,this.icon="plus",this.iconFlipRtl=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1}connectedCallback(){d(this)}componentWillLoad(){r(this)}componentDidLoad(){l(this)}componentDidRender(){i(this)}disconnectedCallback(){e(this)}async setFocus(){await p(this),s(this.buttonEl)}render(){const{appearance:t,kind:o,disabled:s,loading:d,scale:i,textEnabled:e,icon:r,label:l,text:p,iconFlipRtl:n}=this;return a("calcite-button",{appearance:"solid"===t?"solid":"outline-fill",class:"button",disabled:s,iconFlipRtl:n?"start":null,iconStart:r,kind:o,label:l,loading:d,round:!0,scale:i,title:e?null:l||p||null,type:"button",width:"auto",ref:t=>{this.buttonEl=t}},this.textEnabled?this.text:null)}get el(){return o(this)}};n.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;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--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)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([hidden]){display:none}[hidden]{display:none}";export{n as calcite_fab}
6
+ import{r as t,h as a,a as o}from"./p-8ab93bd4.js";import{d as s}from"./p-c6370aa4.js";import{c as d,u as i,d as e}from"./p-23d2cf19.js";import{s as r,a as l,c as p}from"./p-ff0b8e2c.js";import"./p-542c5850.js";import"./p-1fde838a.js";const c=class{constructor(a){t(this,a),this.appearance="solid",this.kind="brand",this.disabled=!1,this.icon="plus",this.iconFlipRtl=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1}connectedCallback(){d(this)}componentWillLoad(){r(this)}componentDidLoad(){l(this)}componentDidRender(){i(this)}disconnectedCallback(){e(this)}async setFocus(){await p(this),s(this.buttonEl)}render(){const{appearance:t,kind:o,disabled:s,loading:d,scale:i,textEnabled:e,icon:r,label:l,text:p,iconFlipRtl:c}=this;return a("calcite-button",{appearance:"solid"===t?"solid":"outline-fill",class:"button",disabled:s,iconFlipRtl:c?"start":null,iconStart:r,kind:o,label:l,loading:d,round:!0,scale:i,title:e?null:l||p||null,type:"button",width:"auto",ref:t=>{this.buttonEl=t}},this.textEnabled?this.text:null)}get el(){return o(this)}};c.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;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--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)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([hidden]){display:none}[hidden]{display:none}";export{c as calcite_fab}
@@ -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.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
- import{r as t,c as o,h as i,H as a,a as e}from"./p-32d19214.js";import{c as s,d as r}from"./p-2270fdcd.js";import{s as n}from"./p-d5102f79.js";import{s as d,a as c,c as l}from"./p-b82269a4.js";import{c as p,d as h}from"./p-f4bf05ca.js";import{u,c as x,d as g,s as b}from"./p-dcee696d.js";import{t as m,E as f}from"./p-212777e1.js";import{c as w}from"./p-82836922.js";import"./p-1d809f99.js";import"./p-d84bddf2.js";import"./p-f1dd47b8.js";import"./p-ed53b7f7.js";import"./p-bdeb9d06.js";const v=class{constructor(i){t(this,i),this.calciteActionPadToggle=o(this,"calciteActionPadToggle",6),this.mutationObserver=w("mutation",(()=>this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group"))))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const o=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{o.includes(t)||(t.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.handleDefaultSlotChange=t=>{const o=n(t).filter((t=>t?.matches("calcite-action-group")));this.setGroupLayout(o)},this.handleTooltipSlotChange=t=>{const o=n(t).filter((t=>t?.matches("calcite-tooltip")));this.expandTooltip=o[0]},this.actionsEndGroupLabel=void 0,this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.expandTooltip=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(t){m({el:this.el,expanded:t})}layoutHandler(){this.updateGroups()}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){s(this),p(this),x(this)}disconnectedCallback(){h(this),g(this),r(this)}async componentWillLoad(){d(this);const{el:t,expanded:o}=this;m({el:t,expanded:o}),await b(this)}componentDidLoad(){c(this)}async setFocus(){await l(this),this.el?.focus()}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(t){t.forEach((t=>t.layout=this.layout))}renderBottomActionGroup(){const{expanded:t,expandDisabled:o,messages:a,el:e,position:s,toggleExpand:r,scale:n,layout:d,actionsEndGroupLabel:c}=this,l=o?null:i(f,{collapseText:a.collapse,el:e,expandText:a.expand,expanded:t,position:s,scale:n,toggle:r,tooltip:this.expandTooltip,ref:this.setExpandToggleRef});return l?i("calcite-action-group",{class:"action-group--end",label:c,layout:d,scale:n},i("slot",{name:"expand-tooltip",onSlotchange:this.handleTooltipSlotChange}),l):null}render(){return i(a,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("div",{class:"container"},i("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup()))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};v.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{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--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)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_action_pad}
6
+ import{r as t,c as o,h as a,H as i,a as e}from"./p-8ab93bd4.js";import{c as s,d as r}from"./p-7607b56c.js";import{s as n}from"./p-c6370aa4.js";import{s as c,a as d,c as l}from"./p-ff0b8e2c.js";import{c as p,d as h}from"./p-de3fb84c.js";import{u,c as x,d as g,s as b}from"./p-e4325383.js";import{t as m,E as f}from"./p-757310e5.js";import{c as w}from"./p-b685ccab.js";import"./p-542c5850.js";import"./p-1fde838a.js";import"./p-50ba6845.js";import"./p-4a651031.js";import"./p-6a63cc88.js";const v=class{constructor(a){t(this,a),this.calciteActionPadToggle=o(this,"calciteActionPadToggle",6),this.mutationObserver=w("mutation",(()=>this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group"))))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const o=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{o.includes(t)||(t.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.handleDefaultSlotChange=t=>{const o=n(t).filter((t=>t?.matches("calcite-action-group")));this.setGroupLayout(o)},this.handleTooltipSlotChange=t=>{const o=n(t).filter((t=>t?.matches("calcite-tooltip")));this.expandTooltip=o[0]},this.actionsEndGroupLabel=void 0,this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.expandTooltip=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(t){m({el:this.el,expanded:t})}layoutHandler(){this.updateGroups()}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){s(this),p(this),x(this)}disconnectedCallback(){h(this),g(this),r(this)}async componentWillLoad(){c(this);const{el:t,expanded:o}=this;m({el:t,expanded:o}),await b(this)}componentDidLoad(){d(this)}async setFocus(){await l(this),this.el?.focus()}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(t){t.forEach((t=>t.layout=this.layout))}renderBottomActionGroup(){const{expanded:t,expandDisabled:o,messages:i,el:e,position:s,toggleExpand:r,scale:n,layout:c,actionsEndGroupLabel:d}=this,l=o?null:a(f,{collapseText:i.collapse,el:e,expandText:i.expand,expanded:t,position:s,scale:n,toggle:r,tooltip:this.expandTooltip,ref:this.setExpandToggleRef});return l?a("calcite-action-group",{class:"action-group--end",label:d,layout:c,scale:n},a("slot",{name:"expand-tooltip",onSlotchange:this.handleTooltipSlotChange}),l):null}render(){return a(i,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},a("div",{class:"container"},a("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup()))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};v.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{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--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)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_action_pad}
@@ -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.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
- import{r as t,h as e,F as i,a as n,f as o}from"./p-32d19214.js";import{c as a,d as l}from"./p-2270fdcd.js";import{b as s,s as r,h as c,g as h,i as d}from"./p-d5102f79.js";import{c as p,d as x}from"./p-f4bf05ca.js";import{c as u}from"./p-e7096434.js";import{c as b,s as m,d as w,u as v}from"./p-dcee696d.js";import{C as f}from"./p-d84bddf2.js";import"./p-82836922.js";import"./p-1d809f99.js";import"./p-f1dd47b8.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.handleSheetsSlotChange=t=>{this.hasSheets=!!s(t),r(t)?.map((t=>{"CALCITE-SHEET"===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,this.hasSheets=!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}))}renderSheets(){return e("div",{hidden:!this.hasSheets},e("slot",{key:"sheets",name:"sheets",onSlotchange:this.handleSheetsSlotChange}))}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(),this.renderSheets())}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=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,u=n*o;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const b=["ArrowLeft","ArrowRight"],m=["ArrowDown","ArrowUp"],w="rtl"===h(i)&&b.includes(e)?-1:1;if("horizontal"===a?"end"===x?e===m[1]||e===b[0]:e===m[0]||e===b[1]:e===m[1]||("end"===x?e===b[0]:e===b[1])){const e=t.shiftKey?u:n;return"horizontal"===a?c+w*e:r+w*e}if("horizontal"===a?"end"===x?e===m[0]||e===b[0]:e===m[1]||e===b[1]:e===m[0]||("end"===x?e===b[1]:e===b[0])){const e=t.shiftKey?u: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-u:r-u:"PageUp"===e?"horizontal"===a?c+u:r+u: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.handleHeaderSlotChange=t=>{this.hasHeader=s(t)},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="",this.hasHeader=!1}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),b(this)}async componentWillLoad(){await m(this)}disconnectedCallback(){l(this),this.disconnectSeparator(),x(this),w(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){v(this,this.effectiveLocale)}renderHeader(){return e("div",{class:"content__header",hidden:!this.hasHeader,key:"header"},e("slot",{name:"header",onSlotchange:this.handleHeaderSlotChange}))}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:u}=this,b=h(this.el),m="float"!==u&&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"===b,content:!0,"content--overlay":"overlay"===u,"content--float":"float"===u,[f.calciteAnimate]:"overlay"===u,["horizontal"===x?"start"===i?f.calciteAnimateInDown:f.calciteAnimateInUp:"ltr"===b&&"end"===i||"rtl"===b&&"start"===i?f.calciteAnimateInLeft:f.calciteAnimateInRight]:"overlay"===u},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?u(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?u(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"]}}};C.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,C as calcite_shell_panel}
6
+ import{r as t,h as e,F as i,a as n,f as o}from"./p-8ab93bd4.js";import{c as a,d as l}from"./p-7607b56c.js";import{b as s,s as r,h as c,g as h,i as d}from"./p-c6370aa4.js";import{c as p,d as x}from"./p-de3fb84c.js";import{c as b}from"./p-461a667a.js";import{c as u,s as m,d as w,u as v}from"./p-e4325383.js";import{C as f}from"./p-1fde838a.js";import"./p-b685ccab.js";import"./p-542c5850.js";import"./p-50ba6845.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.handleSheetsSlotChange=t=>{this.hasSheets=!!s(t),r(t)?.map((t=>{"CALCITE-SHEET"===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,this.hasSheets=!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}))}renderSheets(){return e("div",{hidden:!this.hasSheets},e("slot",{key:"sheets",name:"sheets",onSlotchange:this.handleSheetsSlotChange}))}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(),this.renderSheets())}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=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.handleHeaderSlotChange=t=>{this.hasHeader=s(t)},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="",this.hasHeader=!1}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(){return e("div",{class:"content__header",hidden:!this.hasHeader,key:"header"},e("slot",{name:"header",onSlotchange:this.handleHeaderSlotChange}))}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"]}}};C.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,C 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.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
- import{e as t}from"./p-32d19214.js";function n(t,n=!1){(n?t[t.transitionProp]:t.open)?t.onBeforeOpen():t.onBeforeClose(),(n?t[t.transitionProp]:t.open)?t.onOpen():t.onClose()}function i(i,o=!1){t((()=>{if(i.transitionEl){const{transitionDuration:a,transitionProperty:s}=getComputedStyle(i.transitionEl),e=a.split(","),c=e[s.split(",").indexOf(i.openTransitionProp)]??e[0];if("0s"===c)return void n(i,o);const u=setTimeout((()=>{i.transitionEl.removeEventListener("transitionstart",t),i.transitionEl.removeEventListener("transitionend",r),i.transitionEl.removeEventListener("transitioncancel",r),n(i,o)}),1e3*parseFloat(c));function t(n){n.propertyName===i.openTransitionProp&&n.target===i.transitionEl&&(clearTimeout(u),i.transitionEl.removeEventListener("transitionstart",t),(o?i[i.transitionProp]:i.open)?i.onBeforeOpen():i.onBeforeClose())}function r(t){t.propertyName===i.openTransitionProp&&t.target===i.transitionEl&&((o?i[i.transitionProp]:i.open)?i.onOpen():i.onClose(),i.transitionEl.removeEventListener("transitionend",r),i.transitionEl.removeEventListener("transitioncancel",r))}i.transitionEl.addEventListener("transitionstart",t),i.transitionEl.addEventListener("transitionend",r),i.transitionEl.addEventListener("transitioncancel",r)}}))}export{i as o}
6
+ import{e as t}from"./p-8ab93bd4.js";function n(t,n=!1){(n?t[t.transitionProp]:t.open)?t.onBeforeOpen():t.onBeforeClose(),(n?t[t.transitionProp]:t.open)?t.onOpen():t.onClose()}function i(i,o=!1){t((()=>{if(i.transitionEl){const{transitionDuration:r,transitionProperty:s}=getComputedStyle(i.transitionEl),e=r.split(","),c=e[s.split(",").indexOf(i.openTransitionProp)]??e[0];if("0s"===c)return void n(i,o);const u=setTimeout((()=>{i.transitionEl.removeEventListener("transitionstart",t),i.transitionEl.removeEventListener("transitionend",a),i.transitionEl.removeEventListener("transitioncancel",a),n(i,o)}),1e3*parseFloat(c));function t(n){n.propertyName===i.openTransitionProp&&n.target===i.transitionEl&&(clearTimeout(u),i.transitionEl.removeEventListener("transitionstart",t),(o?i[i.transitionProp]:i.open)?i.onBeforeOpen():i.onBeforeClose())}function a(t){t.propertyName===i.openTransitionProp&&t.target===i.transitionEl&&((o?i[i.transitionProp]:i.open)?i.onOpen():i.onClose(),i.transitionEl.removeEventListener("transitionend",a),i.transitionEl.removeEventListener("transitioncancel",a))}i.transitionEl.addEventListener("transitionstart",t),i.transitionEl.addEventListener("transitionend",a),i.transitionEl.addEventListener("transitioncancel",a)}}))}export{i as o}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
6
  function n(n,r){return(n+r)%r}export{n as g}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
+ * v1.7.0-next.15
5
+ */
6
+ import{d as r}from"./p-4824f592.js";import"./p-8ab93bd4.js";import"./p-bbb9ac9b.js";import"./p-c6370aa4.js";import"./p-542c5850.js";import"./p-1fde838a.js";import"./p-23d2cf19.js";import"./p-50ba6845.js";import"./p-87a75e12.js";import"./p-ff0b8e2c.js";import"./p-de3fb84c.js";import"./p-b685ccab.js";import"./p-decb6e2c.js";import"./p-461a667a.js";import"./p-e4325383.js";var t="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),p={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},m={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},_={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 m[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(_,null,!0);export default _;
@@ -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.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
- import{r as i,c as t,h as e,H as a,a as o}from"./p-32d19214.js";import{c as n,d as s}from"./p-2270fdcd.js";import{h as r,b as l,f as c,w as d}from"./p-d5102f79.js";import{d as h,a as m,c as p,u as b}from"./p-7609a443.js";import{s as u,a as v,c as x}from"./p-b82269a4.js";import{c as g}from"./p-82836922.js";import{o as f}from"./p-ec7843e1.js";import{c as k,d as z}from"./p-f4bf05ca.js";import{s as w,c as y,d as C,u as $}from"./p-dcee696d.js";import"./p-1d809f99.js";import"./p-d84bddf2.js";import"./p-f1dd47b8.js";const j="modal",M="header",F="container",O="modal--opening-idle",D="modal--opening-active",B="modal--closing-idle",L="modal--closing-active",S="content",T="back",E="secondary",q="primary",A=class{constructor(e){i(this,e),this.calciteModalBeforeClose=t(this,"calciteModalBeforeClose",6),this.calciteModalClose=t(this,"calciteModalClose",6),this.calciteModalBeforeOpen=t(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=t(this,"calciteModalOpen",6),this.ignoreOpenChange=!1,this.mutationObserver=g("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=g("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||this.closeModal()},this.closeModal=async()=>{if(!this.ignoreOpenChange){if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}this.ignoreOpenChange=!0,this.open=!1,this.opened=!1,this.removeOverflowHiddenClass(),this.ignoreOpenChange=!1}},this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[T,q,E])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=i=>{this.hasContentTop=l(i)},this.contentBottomSlotChangeHandler=i=>{this.hasContentBottom=l(i)},this.open=!1,this.opened=!1,this.beforeClose=void 0,this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.escapeDisabled=!1,this.scale="m",this.width="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(i){this.open&&(i?h(this):m(this))}onMessagesChange(){}async componentWillLoad(){await w(this),u(this),this.open&&(f(this),requestAnimationFrame((()=>this.openModal())))}componentDidLoad(){v(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),n(this),k(this),y(this),p(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.cssVarObserver?.disconnect(),s(this),h(this),z(this),C(this),this.slottedInShell=!1}render(){return e(a,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("div",{class:{[F]:!0,"container--open":this.opened,"slotted-in-shell":this.slottedInShell}},e("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{class:{[j]:!0},ref:this.setTransitionEl},e("div",{class:M},this.renderCloseButton(),e("header",{class:"title"},e("slot",{name:M}))),this.renderContentTop(),e("div",{class:{content:!0,"content--no-footer":!this.hasFooter},ref:i=>this.modalContent=i},e("slot",{name:S})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?e("div",{class:"footer",key:"footer"},e("span",{class:"back"},e("slot",{name:T})),e("span",{class:"secondary"},e("slot",{name:E})),e("span",{class:"primary"},e("slot",{name:q}))):null}renderContentTop(){return e("div",{class:"content-top",hidden:!this.hasContentTop},e("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return e("div",{class:"content-bottom",hidden:!this.hasContentBottom},e("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:e("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.closeModal,title:this.messages.close,ref:i=>this.closeButtonEl=i},e("calcite-icon",{icon:"x",scale:"s"===this.scale?"s":"m"===this.scale?"m":"l"===this.scale?"l":null}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return e("style",null,`.${F} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${j} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${F} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${j} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){$(this,this.effectiveLocale)}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.closeModal(),i.preventDefault())}async setFocus(){await x(this),c(this.el)}async updateFocusTrapElements(){b(this)}async scrollContent(i=0,t=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:i,left:t,behavior:"smooth"}):(this.modalContent.scrollTop=i,this.modalContent.scrollLeft=t))}onBeforeOpen(){this.transitionEl.classList.add(D),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(O,D),this.calciteModalOpen.emit(),m(this)}onBeforeClose(){this.transitionEl.classList.add(L),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(B,L),this.calciteModalClose.emit(),h(this)}async toggleModal(i){this.ignoreOpenChange||(f(this),i?(this.transitionEl?.classList.add(O),this.openModal()):(this.transitionEl?.classList.add(B),this.closeModal()))}openModal(){if(this.ignoreOpenChange)return;this.ignoreOpenChange=!0,this.el.addEventListener("calciteModalOpen",this.openEnd),this.open=!0,this.opened=!0;const i=r(this.el,"header"),t=r(this.el,S);this.titleId=d(i),this.contentId=d(t),this.slottedInShell||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden")),this.ignoreOpenChange=!1}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"]}}};A.style=":host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-modal-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-app-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([opened]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-app-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-app-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-app-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width=s][docked]) .container{align-items:flex-end}}:host([width=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width=m][docked]) .container{align-items:flex-end}}:host([width=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([opened][fullscreen]) .header,:host([opened][fullscreen]) .footer,:host([opened][fullscreen]) .content-top,:host([opened][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-ui-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-ui-danger)}:host([kind=info]) .modal{border-color:var(--calcite-ui-info)}:host([kind=success]) .modal{border-color:var(--calcite-ui-success)}:host([kind=warning]) .modal{border-color:var(--calcite-ui-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container.slotted-in-shell{position:absolute;pointer-events:auto}.container.slotted-in-shell calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{A as calcite_modal}
6
+ import{r as i,c as t,h as e,H as a,a as o}from"./p-8ab93bd4.js";import{c as n,d as s}from"./p-7607b56c.js";import{h as r,b as l,f as c,w as d}from"./p-c6370aa4.js";import{d as h,a as m,c as p,u as b}from"./p-decb6e2c.js";import{s as u,a as v,c as x}from"./p-ff0b8e2c.js";import{c as g}from"./p-b685ccab.js";import{o as f}from"./p-f1ac269c.js";import{c as k,d as z}from"./p-de3fb84c.js";import{s as w,c as y,d as C,u as $}from"./p-e4325383.js";import"./p-542c5850.js";import"./p-1fde838a.js";import"./p-50ba6845.js";const j="modal",M="header",F="container",O="modal--opening-idle",D="modal--opening-active",B="modal--closing-idle",L="modal--closing-active",S="content",T="back",E="secondary",q="primary",A=class{constructor(e){i(this,e),this.calciteModalBeforeClose=t(this,"calciteModalBeforeClose",6),this.calciteModalClose=t(this,"calciteModalClose",6),this.calciteModalBeforeOpen=t(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=t(this,"calciteModalOpen",6),this.ignoreOpenChange=!1,this.mutationObserver=g("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=g("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||this.closeModal()},this.closeModal=async()=>{if(!this.ignoreOpenChange){if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}this.ignoreOpenChange=!0,this.open=!1,this.opened=!1,this.removeOverflowHiddenClass(),this.ignoreOpenChange=!1}},this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[T,q,E])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=i=>{this.hasContentTop=l(i)},this.contentBottomSlotChangeHandler=i=>{this.hasContentBottom=l(i)},this.open=!1,this.opened=!1,this.beforeClose=void 0,this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.escapeDisabled=!1,this.scale="m",this.width="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(i){this.open&&(i?h(this):m(this))}onMessagesChange(){}async componentWillLoad(){await w(this),u(this),this.open&&(f(this),requestAnimationFrame((()=>this.openModal())))}componentDidLoad(){v(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),n(this),k(this),y(this),p(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.cssVarObserver?.disconnect(),s(this),h(this),z(this),C(this),this.slottedInShell=!1}render(){return e(a,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("div",{class:{[F]:!0,"container--open":this.opened,"slotted-in-shell":this.slottedInShell}},e("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{class:{[j]:!0},ref:this.setTransitionEl},e("div",{class:M},this.renderCloseButton(),e("header",{class:"title"},e("slot",{name:M}))),this.renderContentTop(),e("div",{class:{content:!0,"content--no-footer":!this.hasFooter},ref:i=>this.modalContent=i},e("slot",{name:S})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?e("div",{class:"footer",key:"footer"},e("span",{class:"back"},e("slot",{name:T})),e("span",{class:"secondary"},e("slot",{name:E})),e("span",{class:"primary"},e("slot",{name:q}))):null}renderContentTop(){return e("div",{class:"content-top",hidden:!this.hasContentTop},e("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return e("div",{class:"content-bottom",hidden:!this.hasContentBottom},e("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:e("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.closeModal,title:this.messages.close,ref:i=>this.closeButtonEl=i},e("calcite-icon",{icon:"x",scale:"s"===this.scale?"s":"m"===this.scale?"m":"l"===this.scale?"l":null}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return e("style",null,`.${F} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${j} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${F} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${j} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){$(this,this.effectiveLocale)}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.closeModal(),i.preventDefault())}async setFocus(){await x(this),c(this.el)}async updateFocusTrapElements(){b(this)}async scrollContent(i=0,t=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:i,left:t,behavior:"smooth"}):(this.modalContent.scrollTop=i,this.modalContent.scrollLeft=t))}onBeforeOpen(){this.transitionEl.classList.add(D),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(O,D),this.calciteModalOpen.emit(),m(this)}onBeforeClose(){this.transitionEl.classList.add(L),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(B,L),this.calciteModalClose.emit(),h(this)}async toggleModal(i){this.ignoreOpenChange||(f(this),i?(this.transitionEl?.classList.add(O),this.openModal()):(this.transitionEl?.classList.add(B),this.closeModal()))}openModal(){if(this.ignoreOpenChange)return;this.ignoreOpenChange=!0,this.el.addEventListener("calciteModalOpen",this.openEnd),this.open=!0,this.opened=!0;const i=r(this.el,"header"),t=r(this.el,S);this.titleId=d(i),this.contentId=d(t),this.slottedInShell||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden")),this.ignoreOpenChange=!1}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"]}}};A.style=":host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-modal-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-app-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([opened]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-app-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-app-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-app-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width=s][docked]) .container{align-items:flex-end}}:host([width=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width=m][docked]) .container{align-items:flex-end}}:host([width=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([opened][fullscreen]) .header,:host([opened][fullscreen]) .footer,:host([opened][fullscreen]) .content-top,:host([opened][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-ui-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-ui-danger)}:host([kind=info]) .modal{border-color:var(--calcite-ui-info)}:host([kind=success]) .modal{border-color:var(--calcite-ui-success)}:host([kind=warning]) .modal{border-color:var(--calcite-ui-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container.slotted-in-shell{position:absolute;pointer-events:auto}.container.slotted-in-shell calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{A as calcite_modal}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
+ * v1.7.0-next.15
5
+ */
6
+ import{d as _}from"./p-4824f592.js";import"./p-8ab93bd4.js";import"./p-bbb9ac9b.js";import"./p-c6370aa4.js";import"./p-542c5850.js";import"./p-1fde838a.js";import"./p-23d2cf19.js";import"./p-50ba6845.js";import"./p-87a75e12.js";import"./p-ff0b8e2c.js";import"./p-de3fb84c.js";import"./p-b685ccab.js";import"./p-decb6e2c.js";import"./p-461a667a.js";import"./p-e4325383.js";var m={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function(_){var m=_%100;if(m>10&&m<20)return _+"-ти";var p=_%10;return 1===p?_+"-ви":2===p?_+"-ри":7===p||8===p?_+"-ми":_+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};_.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.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
- import{f as n}from"./p-32d19214.js";const a=new WeakMap,e=new WeakMap;function s(n){e.set(n,new Promise((e=>a.set(n,e))))}function t(n){a.get(n)()}function o(n){return e.get(n)}async function r(a){return await o(a),n(a),new Promise((n=>requestAnimationFrame((()=>n()))))}export{t as a,o as b,r as c,s}
6
+ import{f as n}from"./p-8ab93bd4.js";const a=new WeakMap,e=new WeakMap;function s(n){e.set(n,new Promise((e=>a.set(n,e))))}function t(n){a.get(n)()}function o(n){return e.get(n)}async function r(a){return await o(a),n(a),new Promise((n=>requestAnimationFrame((()=>n()))))}export{t as a,o as b,r as c,s}
@@ -1,14 +1,14 @@
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.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
6
  'use strict';
7
7
 
8
- const index = require('./index-8c348d70.js');
9
- const dom = require('./dom-b3aeb26a.js');
10
- const resources$1 = require('./resources-5ece50c0.js');
11
- const resources = require('./resources-d340411e.js');
8
+ const index = require('./index-ad2cf870.js');
9
+ const dom = require('./dom-e7bd4cb7.js');
10
+ const resources$1 = require('./resources-77406b7a.js');
11
+ const resources = require('./resources-37aff98c.js');
12
12
 
13
13
  const overflowActionsDebounceInMs = 150;
14
14
  const groupBufferPx = 2;
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
6
  'use strict';
7
7
 
8
- const index = require('./index-8c348d70.js');
8
+ const index = require('./index-ad2cf870.js');
9
9
 
10
10
  const CSS = {
11
11
  arrow: "calcite-floating-ui-arrow",
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
6
  'use strict';
7
7
 
8
- const index = require('./index-8c348d70.js');
8
+ const index = require('./index-ad2cf870.js');
9
9
 
10
10
  function constrainHeadingLevel(level) {
11
11
  return Math.min(Math.max(Math.ceil(level), 1), 6);
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
6
  'use strict';
7
7
 
8
- const resources = require('./resources-0a2120bb.js');
8
+ const resources = require('./resources-65147bd4.js');
9
9
 
10
10
  /**
11
11
  * Emits when the mode is dynamically toggled between light and dark on <body> or in OS preferences.
@@ -1,24 +1,25 @@
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.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
6
  'use strict';
7
7
 
8
- const calciteInputTimePicker_calciteTimePicker_entry = require('./calcite-input-time-picker.calcite-time-picker-7cd4d375.js');
9
- require('./index-8c348d70.js');
10
- require('./form-9c12dc45.js');
11
- require('./dom-b3aeb26a.js');
12
- require('./guid-25401435.js');
13
- require('./resources-0a2120bb.js');
14
- require('./interactive-41d7137d.js');
15
- require('./key-2d68cf34.js');
16
- require('./label-520032ab.js');
17
- require('./loadable-37f5e498.js');
18
- require('./locale-3cddd6e1.js');
19
- require('./observers-591d8eb9.js');
20
- require('./focusTrapComponent-5b8c6714.js');
21
- require('./t9n-1919af49.js');
8
+ const calciteInputTimePicker_calciteTimePicker_entry = require('./calcite-input-time-picker.calcite-time-picker-74f7d1fd.js');
9
+ require('./index-ad2cf870.js');
10
+ require('./form-edb316d0.js');
11
+ require('./dom-e7bd4cb7.js');
12
+ require('./guid-644057a6.js');
13
+ require('./resources-65147bd4.js');
14
+ require('./interactive-1f1c19e2.js');
15
+ require('./key-9fe64006.js');
16
+ require('./label-dff4ea5b.js');
17
+ require('./loadable-1bb377f1.js');
18
+ require('./locale-626aa262.js');
19
+ require('./observers-da576c60.js');
20
+ require('./focusTrapComponent-06ac2782.js');
21
+ require('./math-adfdb68b.js');
22
+ require('./t9n-e16d3797.js');
22
23
 
23
24
  // Arabic [ar]
24
25
  var months = 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_');
@@ -1,7 +1,7 @@
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.7.0-next.13
4
+ * v1.7.0-next.15
5
5
  */
6
6
  'use strict';
7
7