@esri/calcite-components 1.5.0-next.4 → 1.5.0-next.5

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 (916) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +2 -2
  3. package/dist/calcite/{p-4ce28e86.js → p-000cd990.js} +2 -2
  4. package/dist/calcite/{p-a8d4c15a.js → p-0173dd24.js} +2 -2
  5. package/dist/calcite/{p-313f245b.entry.js → p-03dcb1c5.entry.js} +2 -2
  6. package/dist/calcite/{p-d61ff31d.entry.js → p-03ea1410.entry.js} +2 -2
  7. package/dist/calcite/{p-eed23d62.js → p-066c218a.js} +2 -2
  8. package/dist/calcite/{p-6eba965d.js → p-06ea03fc.js} +2 -2
  9. package/dist/calcite/p-074f85c7.js +6 -0
  10. package/dist/calcite/{p-6e162845.js → p-0d8324b6.js} +2 -2
  11. package/dist/calcite/{p-f175de16.js → p-0f4544f3.js} +1 -1
  12. package/dist/calcite/{p-ed298fd1.js → p-0f6fa0cc.js} +2 -2
  13. package/dist/calcite/{p-bb203532.js → p-0f826d3d.js} +2 -2
  14. package/dist/calcite/{p-c8628cde.js → p-12b567b9.js} +2 -2
  15. package/dist/calcite/{p-658b35b3.entry.js → p-13c5d8c5.entry.js} +2 -2
  16. package/dist/calcite/{p-bc15a8c6.js → p-141924aa.js} +2 -2
  17. package/dist/calcite/{p-2e1778f8.js → p-14d9f732.js} +1 -1
  18. package/dist/calcite/{p-54973b7f.entry.js → p-14fee275.entry.js} +2 -2
  19. package/dist/calcite/{p-ce4a5db5.js → p-18f22efc.js} +2 -2
  20. package/dist/calcite/{p-fae15c43.entry.js → p-1a785ff2.entry.js} +2 -2
  21. package/dist/calcite/{p-0c62c93a.js → p-1c63c778.js} +2 -2
  22. package/dist/calcite/{p-100d6abb.entry.js → p-1cc75ead.entry.js} +2 -2
  23. package/dist/calcite/{p-6397975b.entry.js → p-1d4aa0c1.entry.js} +2 -2
  24. package/dist/calcite/{p-e1dc1d19.entry.js → p-1e119c2d.entry.js} +2 -2
  25. package/dist/calcite/{p-52f813ec.entry.js → p-1eb1ab2a.entry.js} +2 -2
  26. package/dist/calcite/{p-454b3a3a.entry.js → p-1eea59f9.entry.js} +2 -2
  27. package/dist/calcite/{p-c121d63d.js → p-211e3b42.js} +2 -2
  28. package/dist/calcite/{p-aad7ec0d.js → p-2258251b.js} +2 -2
  29. package/dist/calcite/p-23897c29.entry.js +6 -0
  30. package/dist/calcite/{p-392e9db8.entry.js → p-2413996b.entry.js} +2 -2
  31. package/dist/calcite/{p-7549eee8.js → p-25808bdd.js} +2 -2
  32. package/dist/calcite/{p-b9d8e974.js → p-25ac526a.js} +2 -2
  33. package/dist/calcite/{p-9dbbe0f6.entry.js → p-2791ed47.entry.js} +2 -2
  34. package/dist/calcite/{p-d94ce01e.js → p-285f109e.js} +2 -2
  35. package/dist/calcite/{p-77298851.entry.js → p-2b511b14.entry.js} +2 -2
  36. package/dist/calcite/{p-a9ac5c35.js → p-2f691e43.js} +2 -2
  37. package/dist/calcite/p-30a08b6a.js +6 -0
  38. package/dist/calcite/p-30bcdf79.entry.js +6 -0
  39. package/dist/calcite/{p-48f9da5a.entry.js → p-327c4f6b.entry.js} +2 -2
  40. package/dist/calcite/{p-8f0f60d4.js → p-328495b5.js} +2 -2
  41. package/dist/calcite/{p-fbdb06e0.entry.js → p-33d9aa1e.entry.js} +2 -2
  42. package/dist/calcite/p-36712ef1.js +6 -0
  43. package/dist/calcite/{p-785387e6.entry.js → p-3c85a6c9.entry.js} +2 -2
  44. package/dist/calcite/{p-1de055d9.entry.js → p-3d27e6cb.entry.js} +2 -2
  45. package/dist/calcite/{p-20cbe085.js → p-3f126932.js} +1 -1
  46. package/dist/calcite/{p-a7de4540.entry.js → p-3f1f2a6d.entry.js} +2 -2
  47. package/dist/calcite/{p-ca97c1d9.entry.js → p-43a35d5a.entry.js} +2 -2
  48. package/dist/calcite/{p-80086780.entry.js → p-456ade2b.entry.js} +2 -2
  49. package/dist/calcite/{p-0210e840.entry.js → p-46c4bb67.entry.js} +2 -2
  50. package/dist/calcite/{p-792eb55b.entry.js → p-48a05108.entry.js} +2 -2
  51. package/dist/calcite/{p-e7606d01.entry.js → p-48bd6160.entry.js} +2 -2
  52. package/dist/calcite/{p-3333277a.js → p-4929e834.js} +1 -1
  53. package/dist/calcite/{p-67356414.js → p-4dcc9524.js} +2 -2
  54. package/dist/calcite/{p-6511330e.entry.js → p-4e373060.entry.js} +2 -2
  55. package/dist/calcite/{p-817e9691.entry.js → p-4f419ab6.entry.js} +2 -2
  56. package/dist/calcite/{p-da0621da.entry.js → p-4fe0d0ba.entry.js} +2 -2
  57. package/dist/calcite/{p-71dd3346.entry.js → p-50a0e688.entry.js} +2 -2
  58. package/dist/calcite/{p-3b175dde.entry.js → p-5114cef5.entry.js} +2 -2
  59. package/dist/calcite/p-51dd4406.entry.js +6 -0
  60. package/dist/calcite/{p-f6ccfae9.js → p-51fa67d7.js} +2 -2
  61. package/dist/calcite/{p-f57f4b49.entry.js → p-531c5aa2.entry.js} +2 -2
  62. package/dist/calcite/{p-9a4fdac7.entry.js → p-54255986.entry.js} +2 -2
  63. package/dist/calcite/{p-3e74b762.js → p-55459b96.js} +2 -2
  64. package/dist/calcite/{p-b8bed9ad.js → p-56e1cbc5.js} +2 -2
  65. package/dist/calcite/{p-fc6d4563.js → p-57b358a9.js} +2 -2
  66. package/dist/calcite/{p-d4919db4.entry.js → p-58ce6db3.entry.js} +2 -2
  67. package/dist/calcite/{p-10fea07e.js → p-64c2457c.js} +2 -2
  68. package/dist/calcite/{p-dcdaa909.js → p-67ebb23a.js} +2 -2
  69. package/dist/calcite/{p-7824761f.entry.js → p-683a7057.entry.js} +2 -2
  70. package/dist/calcite/{p-50624216.js → p-68f223ec.js} +3 -3
  71. package/dist/calcite/{p-9759fc98.js → p-699dc380.js} +1 -1
  72. package/dist/calcite/{p-5c6cb671.entry.js → p-6d0b3879.entry.js} +2 -2
  73. package/dist/calcite/{p-f158e12d.entry.js → p-6de9f1bb.entry.js} +2 -2
  74. package/dist/calcite/{p-f35fd371.js → p-6fe1a7ee.js} +2 -2
  75. package/dist/calcite/{p-fbba3d00.entry.js → p-724efff7.entry.js} +2 -2
  76. package/dist/calcite/{p-41712dc0.entry.js → p-737cdbee.entry.js} +2 -2
  77. package/dist/calcite/{p-8c5ad359.js → p-743ed09c.js} +2 -2
  78. package/dist/calcite/{p-d73fde02.js → p-75b896e6.js} +2 -2
  79. package/dist/calcite/{p-927e46b7.js → p-75d8f6eb.js} +2 -2
  80. package/dist/calcite/{p-add2d209.entry.js → p-772520f8.entry.js} +2 -2
  81. package/dist/calcite/{p-6ae8ae83.entry.js → p-7b431e28.entry.js} +2 -2
  82. package/dist/calcite/{p-565e2516.js → p-7cd2cd84.js} +2 -2
  83. package/dist/calcite/{p-e3479c79.js → p-7fb6664e.js} +1 -1
  84. package/dist/calcite/{p-1550d063.js → p-81620376.js} +1 -1
  85. package/dist/calcite/{p-19719f09.js → p-84177a2d.js} +2 -2
  86. package/dist/calcite/{p-b696940c.js → p-8472e03b.js} +2 -2
  87. package/dist/calcite/{p-5671ae2e.js → p-84a4f4ca.js} +2 -2
  88. package/dist/calcite/{p-08cf9014.js → p-84b28011.js} +2 -2
  89. package/dist/calcite/{p-902b4f6e.js → p-8789682d.js} +1 -1
  90. package/dist/calcite/{p-77f63499.entry.js → p-87d3fda1.entry.js} +2 -2
  91. package/dist/calcite/{p-6628066e.entry.js → p-8fd7d045.entry.js} +2 -2
  92. package/dist/calcite/{p-1c6cf7e8.js → p-9182344d.js} +2 -2
  93. package/dist/calcite/{p-c1848732.js → p-9280476e.js} +1 -1
  94. package/dist/calcite/{p-5b4ab7c1.js → p-934fc37c.js} +2 -2
  95. package/dist/calcite/{p-07689794.js → p-95a4c3dc.js} +2 -2
  96. package/dist/calcite/{p-815882f3.entry.js → p-95c9c4c0.entry.js} +2 -2
  97. package/dist/calcite/{p-d93d1322.entry.js → p-98831965.entry.js} +2 -2
  98. package/dist/calcite/{p-5515a69c.js → p-9cbcc2dd.js} +2 -2
  99. package/dist/calcite/{p-428b49a8.js → p-9dd9a26d.js} +2 -2
  100. package/dist/calcite/{p-17f9b672.js → p-a1952e2f.js} +2 -2
  101. package/dist/calcite/p-a20c8f76.entry.js +6 -0
  102. package/dist/calcite/{p-984a8919.js → p-a62cc31e.js} +2 -2
  103. package/dist/calcite/{p-3369ede1.entry.js → p-a8fe06ce.entry.js} +2 -2
  104. package/dist/calcite/{p-63242d07.js → p-b07cd406.js} +2 -2
  105. package/dist/calcite/{p-26c6bcf1.js → p-b093ed6f.js} +2 -2
  106. package/dist/calcite/{p-66e56e9b.entry.js → p-b5979a28.entry.js} +2 -2
  107. package/dist/calcite/{p-1eb33dae.entry.js → p-b7293882.entry.js} +2 -2
  108. package/dist/calcite/{p-a53663bc.js → p-b8c475d9.js} +1 -1
  109. package/dist/calcite/{p-c98932ac.js → p-bb3d23ba.js} +2 -2
  110. package/dist/calcite/{p-5240eb84.entry.js → p-bfc02340.entry.js} +2 -2
  111. package/dist/calcite/{p-ef244b9a.js → p-c4e3c141.js} +2 -2
  112. package/dist/calcite/{p-83eecff7.entry.js → p-c7abf9f0.entry.js} +2 -2
  113. package/dist/calcite/{p-128c964b.entry.js → p-c7d427eb.entry.js} +2 -2
  114. package/dist/calcite/{p-f8bfdbe4.js → p-c8e46b02.js} +1 -1
  115. package/dist/calcite/{p-e51aceb3.js → p-cc3a07ec.js} +2 -2
  116. package/dist/calcite/{p-1ceee705.entry.js → p-cd20d876.entry.js} +2 -2
  117. package/dist/calcite/{p-175f6531.js → p-cd9266b9.js} +2 -2
  118. package/dist/calcite/p-ce102a61.js +6 -0
  119. package/dist/calcite/{p-6cc841ca.js → p-cf8ea66f.js} +1 -1
  120. package/dist/calcite/{p-29b2baef.js → p-d2aa9245.js} +1 -1
  121. package/dist/calcite/{p-d6775b93.js → p-d511a532.js} +1 -1
  122. package/dist/calcite/{p-244d1f29.entry.js → p-d6dd586f.entry.js} +2 -2
  123. package/dist/calcite/{p-b4e69c2f.js → p-da201947.js} +2 -2
  124. package/dist/calcite/{p-4b72d1ed.js → p-dbe1849b.js} +2 -2
  125. package/dist/calcite/{p-bc26f966.js → p-dcddc7b6.js} +2 -2
  126. package/dist/calcite/{p-a56fe1f7.js → p-deebcc06.js} +1 -1
  127. package/dist/calcite/{p-9bac2804.js → p-e698096d.js} +2 -2
  128. package/dist/calcite/{p-bbb74ace.js → p-e6c64082.js} +2 -2
  129. package/dist/calcite/{p-bc98ae13.js → p-e6cec491.js} +1 -1
  130. package/dist/calcite/{p-396b97c0.entry.js → p-e912dedf.entry.js} +2 -2
  131. package/dist/calcite/{p-c6eadbf0.entry.js → p-e9fd9f39.entry.js} +2 -2
  132. package/dist/calcite/{p-24f0918b.entry.js → p-eb6802bc.entry.js} +2 -2
  133. package/dist/calcite/{p-fda70763.js → p-ec8caa69.js} +2 -2
  134. package/dist/calcite/{p-ae02d755.js → p-ecc7d0bf.js} +2 -2
  135. package/dist/calcite/{p-1b22626a.entry.js → p-ee85b516.entry.js} +2 -2
  136. package/dist/calcite/{p-3a4b94d4.js → p-ee8d6404.js} +2 -2
  137. package/dist/calcite/{p-e3aeb727.js → p-f0049b08.js} +2 -2
  138. package/dist/calcite/{p-5671cec2.entry.js → p-f0a5cfe9.entry.js} +2 -2
  139. package/dist/calcite/{p-df61af68.entry.js → p-f19d9fe1.entry.js} +2 -2
  140. package/dist/calcite/{p-db46880b.entry.js → p-f1e7024a.entry.js} +2 -2
  141. package/dist/calcite/{p-145ee561.js → p-f3145315.js} +2 -2
  142. package/dist/calcite/{p-f28e2ecc.js → p-f4ce94a4.js} +2 -2
  143. package/dist/calcite/{p-819d8358.js → p-f6e90ced.js} +2 -2
  144. package/dist/calcite/{p-5bb5d019.entry.js → p-f8161ca1.entry.js} +2 -2
  145. package/dist/calcite/{p-7b372a44.entry.js → p-f84de205.entry.js} +2 -2
  146. package/dist/calcite/{p-64176d3c.js → p-f98aa079.js} +2 -2
  147. package/dist/calcite/{p-6a81490e.js → p-f9fa6fa8.js} +2 -2
  148. package/dist/calcite/{p-4230e6c9.js → p-fb7d5871.js} +2 -2
  149. package/dist/calcite/{p-13f08df5.entry.js → p-fbf20359.entry.js} +2 -2
  150. package/dist/calcite/{p-6208d429.entry.js → p-fc02a598.entry.js} +2 -2
  151. package/dist/calcite/{p-06b82d00.js → p-fdd648e6.js} +2 -2
  152. package/dist/calcite/{p-171f9573.js → p-fdf58e9d.js} +2 -2
  153. package/dist/cjs/{ExpandToggle-a02d545e.js → ExpandToggle-7cbfc836.js} +5 -5
  154. package/dist/cjs/{FloatingArrow-d01f82a5.js → FloatingArrow-eae44e77.js} +2 -2
  155. package/dist/cjs/{Heading-17e5f9e8.js → Heading-e1a3c7e4.js} +2 -2
  156. package/dist/cjs/{app-globals-de7b2ef4.js → app-globals-0e899743.js} +2 -2
  157. package/dist/cjs/{ar-759e9322.js → ar-2289868b.js} +16 -16
  158. package/dist/cjs/{array-ab3fe676.js → array-056ac2a2.js} +1 -1
  159. package/dist/cjs/{bg-889c3a5b.js → bg-b08dd8f3.js} +16 -16
  160. package/dist/cjs/{browser-e19cdff7.js → browser-28ea2ce1.js} +1 -1
  161. package/dist/cjs/{bs-42adb170.js → bs-e9791d9c.js} +16 -16
  162. package/dist/cjs/{ca-69438428.js → ca-dfdbe040.js} +16 -16
  163. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  164. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  165. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  166. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  167. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  168. package/dist/cjs/calcite-action.cjs.entry.js +12 -12
  169. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  170. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  171. package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
  172. package/dist/cjs/calcite-button.cjs.entry.js +14 -14
  173. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  174. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  175. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
  176. package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
  177. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
  178. package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -19
  179. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -14
  180. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -13
  181. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  182. package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
  183. package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
  184. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  185. package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -14
  186. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  187. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  188. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
  189. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -19
  190. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  191. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  192. package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
  193. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-10b10082.js → calcite-input-time-picker.calcite-time-picker-8dc8497d.js} +60 -60
  194. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -16
  195. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  196. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  197. package/dist/cjs/calcite-link.cjs.entry.js +8 -8
  198. package/dist/cjs/calcite-list_3.cjs.entry.js +13 -13
  199. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  200. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  201. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  202. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  203. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  204. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
  205. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  206. package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
  207. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
  208. package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
  209. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  210. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  211. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
  212. package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
  213. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  214. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +10 -10
  215. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  216. package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
  217. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-stack.cjs.entry.js +5 -5
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -11
  220. package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
  222. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
  223. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  224. package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
  225. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  226. package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
  227. package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
  228. package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
  229. package/dist/cjs/calcite.cjs.js +4 -4
  230. package/dist/cjs/{composed-offset-position.esm-9d74c110.js → composed-offset-position.esm-c4e52c7d.js} +1 -1
  231. package/dist/cjs/{conditionalSlot-46364346.js → conditionalSlot-4472b3c1.js} +3 -3
  232. package/dist/cjs/{cs-913f1e61.js → cs-2fef5628.js} +16 -16
  233. package/dist/cjs/{da-eed634ae.js → da-3ebbf817.js} +16 -16
  234. package/dist/cjs/{de-0b8518cc.js → de-08b4ba5c.js} +16 -16
  235. package/dist/cjs/{de-at-1b8ed8e8.js → de-at-97957f64.js} +16 -16
  236. package/dist/cjs/{de-ch-13b4bab2.js → de-ch-e8718578.js} +16 -16
  237. package/dist/cjs/{debounce-4ea8fc9f.js → debounce-492319d0.js} +1 -1
  238. package/dist/cjs/{dom-172e7e6c.js → dom-18ca68ff.js} +3 -3
  239. package/dist/cjs/{el-0f583dec.js → el-450199f8.js} +16 -16
  240. package/dist/cjs/{en-au-6b0a5437.js → en-au-b26a1ded.js} +16 -16
  241. package/dist/cjs/{en-ca-c50f0386.js → en-ca-a1264f94.js} +16 -16
  242. package/dist/cjs/{en-gb-7334a92b.js → en-gb-809a4db2.js} +16 -16
  243. package/dist/cjs/{es-989c9378.js → es-494ac985.js} +16 -16
  244. package/dist/cjs/{es-mx-81bdfda2.js → es-mx-fbbf5320.js} +16 -16
  245. package/dist/cjs/{et-613a8fe6.js → et-155e9580.js} +16 -16
  246. package/dist/cjs/{fi-377558f0.js → fi-e939ea9d.js} +16 -16
  247. package/dist/cjs/{filter-daf274df.js → filter-84a21188.js} +2 -2
  248. package/dist/cjs/{floating-ui-166e982a.js → floating-ui-b6af0d52.js} +113 -102
  249. package/dist/cjs/{focusTrapComponent-fc83be77.js → focusTrapComponent-645b4a75.js} +2 -2
  250. package/dist/cjs/{form-d71f5659.js → form-f9d34433.js} +3 -3
  251. package/dist/cjs/{fr-2bebf67b.js → fr-2c7d9e30.js} +16 -16
  252. package/dist/cjs/{fr-ch-0361effd.js → fr-ch-76447f1b.js} +16 -16
  253. package/dist/cjs/{guid-e3b0f9c0.js → guid-db20443e.js} +1 -1
  254. package/dist/cjs/{he-2e3024b5.js → he-7bc7d996.js} +16 -16
  255. package/dist/cjs/{hi-93e7a909.js → hi-4d59acf6.js} +16 -16
  256. package/dist/cjs/{hr-ce281283.js → hr-a00f62a8.js} +16 -16
  257. package/dist/cjs/{hu-c4cb11eb.js → hu-937261d5.js} +16 -16
  258. package/dist/cjs/{id-0f33ccc1.js → id-69199b81.js} +16 -16
  259. package/dist/cjs/{index-76fa2411.js → index-55f8a3b7.js} +1 -1
  260. package/dist/cjs/index.cjs.js +2 -2
  261. package/dist/cjs/{interactive-861e900a.js → interactive-26294f2c.js} +2 -2
  262. package/dist/cjs/{it-34aeb52b.js → it-45e3e844.js} +16 -16
  263. package/dist/cjs/{it-ch-1323bd29.js → it-ch-77bff418.js} +16 -16
  264. package/dist/cjs/{ja-353f2f63.js → ja-f10ef4d4.js} +16 -16
  265. package/dist/cjs/{key-d666db2b.js → key-2ce02f02.js} +1 -1
  266. package/dist/cjs/{ko-4fdbc0b2.js → ko-8687cb8b.js} +16 -16
  267. package/dist/cjs/{label-0199f47e.js → label-fb3080ea.js} +2 -2
  268. package/dist/cjs/{loadable-f2c974fb.js → loadable-53f729bb.js} +1 -1
  269. package/dist/cjs/loader.cjs.js +4 -4
  270. package/dist/cjs/{locale-33de0a01.js → locale-fc347462.js} +4 -4
  271. package/dist/cjs/{lt-6d530c2b.js → lt-17f00030.js} +16 -16
  272. package/dist/cjs/{lv-134c2e1d.js → lv-150c7a9b.js} +16 -16
  273. package/dist/cjs/{math-fe0a1def.js → math-202e427c.js} +1 -1
  274. package/dist/cjs/{mk-96865a6b.js → mk-f28752fd.js} +16 -16
  275. package/dist/cjs/{nb-9ad166a2.js → nb-958650ea.js} +16 -16
  276. package/dist/cjs/{nl-1e2ad0e8.js → nl-e3033021.js} +16 -16
  277. package/dist/cjs/{observers-9daeae07.js → observers-83b3999d.js} +1 -1
  278. package/dist/cjs/{openCloseComponent-069372e0.js → openCloseComponent-6cd419dc.js} +2 -2
  279. package/dist/cjs/{pl-08b16c3c.js → pl-60f08bd5.js} +16 -16
  280. package/dist/cjs/{pt-a255d0ef.js → pt-1642d822.js} +16 -16
  281. package/dist/cjs/{pt-br-f64f01cd.js → pt-br-a7d60174.js} +16 -16
  282. package/dist/cjs/{resources-ca186efb.js → resources-23081b72.js} +1 -1
  283. package/dist/cjs/{resources-085f6812.js → resources-2e69630c.js} +5 -5
  284. package/dist/cjs/{resources-6439c31b.js → resources-372c2745.js} +1 -1
  285. package/dist/cjs/{resources-b16e80ae.js → resources-45d84c94.js} +1 -1
  286. package/dist/cjs/{resources-bd52c31c.js → resources-5905a39c.js} +1 -1
  287. package/dist/cjs/{resources-e725d8d7.js → resources-92796e4d.js} +1 -1
  288. package/dist/cjs/{ro-edf05b0f.js → ro-c6e43008.js} +16 -16
  289. package/dist/cjs/{ru-a2693a5f.js → ru-339ffe2f.js} +16 -16
  290. package/dist/cjs/{sk-06b58193.js → sk-d4560630.js} +16 -16
  291. package/dist/cjs/{sl-9213cb1b.js → sl-f8a2dfed.js} +16 -16
  292. package/dist/cjs/{sortableComponent-cdb2eaca.js → sortableComponent-48a428a7.js} +2 -2
  293. package/dist/cjs/{sr-88f291fb.js → sr-b3fb3ad9.js} +16 -16
  294. package/dist/cjs/{sv-7647128b.js → sv-019f208c.js} +16 -16
  295. package/dist/cjs/{t9n-bdd24266.js → t9n-14d528c4.js} +3 -3
  296. package/dist/cjs/{th-9f7e053c.js → th-42ad9f21.js} +16 -16
  297. package/dist/cjs/{throttle-5e8e1bc3.js → throttle-c651269b.js} +2 -2
  298. package/dist/cjs/{tr-12055864.js → tr-268cd169.js} +16 -16
  299. package/dist/cjs/{uk-b63f5eed.js → uk-33c7557b.js} +16 -16
  300. package/dist/cjs/{utils-698b2a78.js → utils-6ed114ba.js} +1 -1
  301. package/dist/cjs/{utils-6983361f.js → utils-75548d4a.js} +3 -3
  302. package/dist/cjs/{vi-5ee47715.js → vi-74660052.js} +16 -16
  303. package/dist/cjs/{zh-cn-2bb0b7ba.js → zh-cn-c25e09b9.js} +16 -16
  304. package/dist/cjs/{zh-hk-74e7b7a8.js → zh-hk-2042e2b3.js} +16 -16
  305. package/dist/cjs/{zh-tw-54d44dd1.js → zh-tw-92fe6a60.js} +16 -16
  306. package/dist/collection/components/accordion/accordion.js +1 -1
  307. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  308. package/dist/collection/components/accordion-item/resources.js +1 -1
  309. package/dist/collection/components/action/action.js +1 -1
  310. package/dist/collection/components/action/resources.js +1 -1
  311. package/dist/collection/components/action-bar/action-bar.js +1 -1
  312. package/dist/collection/components/action-bar/resources.js +1 -1
  313. package/dist/collection/components/action-bar/utils.js +1 -1
  314. package/dist/collection/components/action-group/action-group.js +1 -1
  315. package/dist/collection/components/action-group/resources.js +1 -1
  316. package/dist/collection/components/action-menu/action-menu.js +1 -1
  317. package/dist/collection/components/action-menu/resources.js +1 -1
  318. package/dist/collection/components/action-pad/action-pad.js +1 -1
  319. package/dist/collection/components/action-pad/resources.js +1 -1
  320. package/dist/collection/components/alert/alert.js +1 -1
  321. package/dist/collection/components/alert/resources.js +1 -1
  322. package/dist/collection/components/avatar/avatar.js +1 -1
  323. package/dist/collection/components/avatar/utils.js +1 -1
  324. package/dist/collection/components/block/block.js +1 -1
  325. package/dist/collection/components/block/resources.js +1 -1
  326. package/dist/collection/components/block-section/block-section.js +1 -1
  327. package/dist/collection/components/block-section/resources.js +1 -1
  328. package/dist/collection/components/button/button.js +1 -1
  329. package/dist/collection/components/button/resources.js +1 -1
  330. package/dist/collection/components/card/card.js +1 -1
  331. package/dist/collection/components/card/resources.js +1 -1
  332. package/dist/collection/components/checkbox/checkbox.js +1 -1
  333. package/dist/collection/components/chip/chip.js +1 -1
  334. package/dist/collection/components/chip/resources.js +1 -1
  335. package/dist/collection/components/chip-group/chip-group.js +1 -1
  336. package/dist/collection/components/color-picker/color-picker.js +1 -1
  337. package/dist/collection/components/color-picker/resources.js +1 -1
  338. package/dist/collection/components/color-picker/utils.js +1 -1
  339. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  340. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  341. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  342. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  343. package/dist/collection/components/combobox/combobox.js +1 -1
  344. package/dist/collection/components/combobox/resources.js +1 -1
  345. package/dist/collection/components/combobox/utils.js +1 -1
  346. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  347. package/dist/collection/components/combobox-item/resources.js +1 -1
  348. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  349. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  350. package/dist/collection/components/date-picker/date-picker.js +1 -1
  351. package/dist/collection/components/date-picker/resources.js +1 -1
  352. package/dist/collection/components/date-picker/utils.js +1 -1
  353. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  354. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  355. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  356. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  357. package/dist/collection/components/dropdown/dropdown.js +1 -1
  358. package/dist/collection/components/dropdown/resources.js +1 -1
  359. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  360. package/dist/collection/components/dropdown-group/resources.js +1 -1
  361. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  362. package/dist/collection/components/dropdown-item/resources.js +1 -1
  363. package/dist/collection/components/fab/fab.js +1 -1
  364. package/dist/collection/components/fab/resources.js +1 -1
  365. package/dist/collection/components/filter/filter.js +1 -1
  366. package/dist/collection/components/filter/resources.js +1 -1
  367. package/dist/collection/components/flow/flow.js +1 -1
  368. package/dist/collection/components/flow/resources.js +1 -1
  369. package/dist/collection/components/flow-item/flow-item.js +1 -1
  370. package/dist/collection/components/flow-item/resources.js +1 -1
  371. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  372. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  373. package/dist/collection/components/functional/Heading.js +1 -1
  374. package/dist/collection/components/functional/XButton.js +1 -1
  375. package/dist/collection/components/graph/graph.js +1 -1
  376. package/dist/collection/components/graph/util.js +1 -1
  377. package/dist/collection/components/handle/handle.js +1 -1
  378. package/dist/collection/components/handle/resources.js +1 -1
  379. package/dist/collection/components/icon/icon.js +1 -1
  380. package/dist/collection/components/icon/resources.js +1 -1
  381. package/dist/collection/components/icon/utils.js +1 -1
  382. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  383. package/dist/collection/components/inline-editable/resources.js +1 -1
  384. package/dist/collection/components/input/input.js +1 -1
  385. package/dist/collection/components/input/resources.js +1 -1
  386. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  387. package/dist/collection/components/input-date-picker/resources.js +1 -1
  388. package/dist/collection/components/input-message/input-message.js +1 -1
  389. package/dist/collection/components/input-message/interfaces.js +1 -1
  390. package/dist/collection/components/input-number/input-number.js +1 -1
  391. package/dist/collection/components/input-number/resources.js +1 -1
  392. package/dist/collection/components/input-text/input-text.js +1 -1
  393. package/dist/collection/components/input-text/resources.js +1 -1
  394. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  395. package/dist/collection/components/input-time-picker/resources.js +1 -1
  396. package/dist/collection/components/label/label.js +1 -1
  397. package/dist/collection/components/label/resources.js +1 -1
  398. package/dist/collection/components/link/link.js +1 -1
  399. package/dist/collection/components/list/list.js +1 -1
  400. package/dist/collection/components/list/resources.js +1 -1
  401. package/dist/collection/components/list-item/list-item.js +1 -1
  402. package/dist/collection/components/list-item/resources.js +1 -1
  403. package/dist/collection/components/list-item/utils.js +1 -1
  404. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  405. package/dist/collection/components/list-item-group/resources.js +1 -1
  406. package/dist/collection/components/loader/loader.js +1 -1
  407. package/dist/collection/components/menu/menu.js +1 -1
  408. package/dist/collection/components/menu-item/menu-item.js +1 -1
  409. package/dist/collection/components/menu-item/resources.js +1 -1
  410. package/dist/collection/components/modal/modal.js +1 -1
  411. package/dist/collection/components/modal/resources.js +1 -1
  412. package/dist/collection/components/navigation/navigation.js +1 -1
  413. package/dist/collection/components/navigation/resources.js +1 -1
  414. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  415. package/dist/collection/components/navigation-logo/resources.js +1 -1
  416. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  417. package/dist/collection/components/navigation-user/resources.js +1 -1
  418. package/dist/collection/components/notice/notice.js +1 -1
  419. package/dist/collection/components/notice/resources.js +1 -1
  420. package/dist/collection/components/option/option.js +1 -1
  421. package/dist/collection/components/option-group/option-group.js +1 -1
  422. package/dist/collection/components/pagination/pagination.js +1 -1
  423. package/dist/collection/components/pagination/resources.js +1 -1
  424. package/dist/collection/components/panel/panel.js +1 -1
  425. package/dist/collection/components/panel/resources.js +1 -1
  426. package/dist/collection/components/pick-list/pick-list.js +1 -1
  427. package/dist/collection/components/pick-list/resources.js +1 -1
  428. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  429. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  430. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  431. package/dist/collection/components/pick-list-group/resources.js +1 -1
  432. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  433. package/dist/collection/components/pick-list-item/resources.js +1 -1
  434. package/dist/collection/components/popover/PopoverManager.js +1 -1
  435. package/dist/collection/components/popover/popover.js +1 -1
  436. package/dist/collection/components/popover/resources.js +1 -1
  437. package/dist/collection/components/progress/progress.js +1 -1
  438. package/dist/collection/components/radio-button/radio-button.js +1 -1
  439. package/dist/collection/components/radio-button/resources.js +1 -1
  440. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  441. package/dist/collection/components/rating/function/star.js +1 -1
  442. package/dist/collection/components/rating/rating.js +1 -1
  443. package/dist/collection/components/resources.js +1 -1
  444. package/dist/collection/components/scrim/resources.js +1 -1
  445. package/dist/collection/components/scrim/scrim.js +1 -1
  446. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  447. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  448. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  449. package/dist/collection/components/select/resources.js +1 -1
  450. package/dist/collection/components/select/select.js +1 -1
  451. package/dist/collection/components/shell/resources.js +1 -1
  452. package/dist/collection/components/shell/shell.js +1 -1
  453. package/dist/collection/components/shell-center-row/resources.js +1 -1
  454. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  455. package/dist/collection/components/shell-panel/resources.js +1 -1
  456. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  457. package/dist/collection/components/slider/resources.js +1 -1
  458. package/dist/collection/components/slider/slider.js +1 -1
  459. package/dist/collection/components/sortable-list/resources.js +1 -1
  460. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  461. package/dist/collection/components/split-button/resources.js +1 -1
  462. package/dist/collection/components/split-button/split-button.js +1 -1
  463. package/dist/collection/components/stack/resources.js +1 -1
  464. package/dist/collection/components/stack/stack.js +1 -1
  465. package/dist/collection/components/stepper/stepper.js +1 -1
  466. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  467. package/dist/collection/components/switch/switch.js +1 -1
  468. package/dist/collection/components/tab/tab.js +1 -1
  469. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  470. package/dist/collection/components/tab-title/resources.js +1 -1
  471. package/dist/collection/components/tab-title/tab-title.js +1 -1
  472. package/dist/collection/components/tabs/resources.js +1 -1
  473. package/dist/collection/components/tabs/tabs.js +1 -1
  474. package/dist/collection/components/text-area/resources.js +1 -1
  475. package/dist/collection/components/text-area/text-area.js +1 -1
  476. package/dist/collection/components/tile/resources.js +1 -1
  477. package/dist/collection/components/tile/tile.js +1 -1
  478. package/dist/collection/components/tile-select/resources.js +1 -1
  479. package/dist/collection/components/tile-select/tile-select.js +1 -1
  480. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  481. package/dist/collection/components/time-picker/resources.js +1 -1
  482. package/dist/collection/components/time-picker/time-picker.js +1 -1
  483. package/dist/collection/components/tip/resources.js +1 -1
  484. package/dist/collection/components/tip/tip.js +1 -1
  485. package/dist/collection/components/tip-group/tip-group.js +1 -1
  486. package/dist/collection/components/tip-manager/resources.js +1 -1
  487. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  488. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  489. package/dist/collection/components/tooltip/resources.js +1 -1
  490. package/dist/collection/components/tooltip/tooltip.js +1 -1
  491. package/dist/collection/components/tooltip/utils.js +1 -1
  492. package/dist/collection/components/tree/tree.js +1 -1
  493. package/dist/collection/components/tree/utils.js +1 -1
  494. package/dist/collection/components/tree-item/resources.js +1 -1
  495. package/dist/collection/components/tree-item/tree-item.js +1 -1
  496. package/dist/collection/components/value-list/resources.js +1 -1
  497. package/dist/collection/components/value-list/utils.js +1 -1
  498. package/dist/collection/components/value-list/value-list.js +1 -1
  499. package/dist/collection/components/value-list-item/resources.js +1 -1
  500. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  501. package/dist/collection/index.js +1 -1
  502. package/dist/collection/utils/array.js +1 -1
  503. package/dist/collection/utils/browser.js +1 -1
  504. package/dist/collection/utils/conditionalSlot.js +1 -1
  505. package/dist/collection/utils/config.js +1 -1
  506. package/dist/collection/utils/date.js +1 -1
  507. package/dist/collection/utils/dom.js +1 -1
  508. package/dist/collection/utils/filter.js +1 -1
  509. package/dist/collection/utils/floating-ui.js +110 -99
  510. package/dist/collection/utils/focusTrapComponent.js +1 -1
  511. package/dist/collection/utils/form.js +1 -1
  512. package/dist/collection/utils/globalAttributes.js +1 -1
  513. package/dist/collection/utils/globalScript.js +1 -1
  514. package/dist/collection/utils/guid.js +1 -1
  515. package/dist/collection/utils/interactive.js +1 -1
  516. package/dist/collection/utils/key.js +1 -1
  517. package/dist/collection/utils/label.js +1 -1
  518. package/dist/collection/utils/loadable.js +1 -1
  519. package/dist/collection/utils/locale.js +1 -1
  520. package/dist/collection/utils/math.js +1 -1
  521. package/dist/collection/utils/mode.js +1 -1
  522. package/dist/collection/utils/number.js +1 -1
  523. package/dist/collection/utils/observers.js +1 -1
  524. package/dist/collection/utils/openCloseComponent.js +1 -1
  525. package/dist/collection/utils/resources.js +1 -1
  526. package/dist/collection/utils/sortableComponent.js +1 -1
  527. package/dist/collection/utils/t9n.js +1 -1
  528. package/dist/collection/utils/time.js +1 -1
  529. package/dist/components/ExpandToggle.js +1 -1
  530. package/dist/components/FloatingArrow.js +1 -1
  531. package/dist/components/Heading.js +1 -1
  532. package/dist/components/action-group.js +1 -1
  533. package/dist/components/action-menu.js +1 -1
  534. package/dist/components/action.js +1 -1
  535. package/dist/components/ar.js +1 -1
  536. package/dist/components/array.js +1 -1
  537. package/dist/components/avatar.js +1 -1
  538. package/dist/components/bg.js +1 -1
  539. package/dist/components/browser.js +1 -1
  540. package/dist/components/bs.js +1 -1
  541. package/dist/components/button.js +1 -1
  542. package/dist/components/ca.js +1 -1
  543. package/dist/components/calcite-accordion-item.js +1 -1
  544. package/dist/components/calcite-accordion.js +1 -1
  545. package/dist/components/calcite-action-bar.js +3 -3
  546. package/dist/components/calcite-action-group.js +1 -1
  547. package/dist/components/calcite-action-menu.js +1 -1
  548. package/dist/components/calcite-action-pad.js +1 -1
  549. package/dist/components/calcite-action.js +1 -1
  550. package/dist/components/calcite-alert.js +1 -1
  551. package/dist/components/calcite-avatar.js +1 -1
  552. package/dist/components/calcite-block-section.js +1 -1
  553. package/dist/components/calcite-block.js +1 -1
  554. package/dist/components/calcite-button.js +1 -1
  555. package/dist/components/calcite-card.js +1 -1
  556. package/dist/components/calcite-checkbox.js +1 -1
  557. package/dist/components/calcite-chip-group.js +1 -1
  558. package/dist/components/calcite-chip.js +1 -1
  559. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  560. package/dist/components/calcite-color-picker-swatch.js +1 -1
  561. package/dist/components/calcite-color-picker.js +1 -1
  562. package/dist/components/calcite-combobox-item-group.js +1 -1
  563. package/dist/components/calcite-combobox-item.js +1 -1
  564. package/dist/components/calcite-combobox.js +2 -2
  565. package/dist/components/calcite-date-picker-day.js +1 -1
  566. package/dist/components/calcite-date-picker-month-header.js +1 -1
  567. package/dist/components/calcite-date-picker-month.js +1 -1
  568. package/dist/components/calcite-date-picker.js +1 -1
  569. package/dist/components/calcite-dropdown-group.js +1 -1
  570. package/dist/components/calcite-dropdown-item.js +1 -1
  571. package/dist/components/calcite-dropdown.js +1 -1
  572. package/dist/components/calcite-fab.js +1 -1
  573. package/dist/components/calcite-filter.js +1 -1
  574. package/dist/components/calcite-flow-item.js +1 -1
  575. package/dist/components/calcite-flow.js +1 -1
  576. package/dist/components/calcite-graph.js +1 -1
  577. package/dist/components/calcite-handle.js +1 -1
  578. package/dist/components/calcite-icon.js +1 -1
  579. package/dist/components/calcite-inline-editable.js +1 -1
  580. package/dist/components/calcite-input-date-picker.js +1 -1
  581. package/dist/components/calcite-input-message.js +1 -1
  582. package/dist/components/calcite-input-number.js +1 -1
  583. package/dist/components/calcite-input-text.js +1 -1
  584. package/dist/components/calcite-input-time-picker.js +1 -1
  585. package/dist/components/calcite-input.js +1 -1
  586. package/dist/components/calcite-label.js +1 -1
  587. package/dist/components/calcite-link.js +1 -1
  588. package/dist/components/calcite-list-item-group.js +1 -1
  589. package/dist/components/calcite-list-item.js +1 -1
  590. package/dist/components/calcite-list.js +1 -1
  591. package/dist/components/calcite-loader.js +1 -1
  592. package/dist/components/calcite-menu-item.js +1 -1
  593. package/dist/components/calcite-menu.js +1 -1
  594. package/dist/components/calcite-modal.js +1 -1
  595. package/dist/components/calcite-navigation-logo.js +1 -1
  596. package/dist/components/calcite-navigation-user.js +1 -1
  597. package/dist/components/calcite-navigation.js +1 -1
  598. package/dist/components/calcite-notice.js +1 -1
  599. package/dist/components/calcite-option-group.js +1 -1
  600. package/dist/components/calcite-option.js +1 -1
  601. package/dist/components/calcite-pagination.js +1 -1
  602. package/dist/components/calcite-panel.js +1 -1
  603. package/dist/components/calcite-pick-list-group.js +1 -1
  604. package/dist/components/calcite-pick-list-item.js +1 -1
  605. package/dist/components/calcite-pick-list.js +1 -1
  606. package/dist/components/calcite-popover.js +1 -1
  607. package/dist/components/calcite-progress.js +1 -1
  608. package/dist/components/calcite-radio-button-group.js +1 -1
  609. package/dist/components/calcite-radio-button.js +1 -1
  610. package/dist/components/calcite-rating.js +1 -1
  611. package/dist/components/calcite-scrim.js +1 -1
  612. package/dist/components/calcite-segmented-control-item.js +1 -1
  613. package/dist/components/calcite-segmented-control.js +1 -1
  614. package/dist/components/calcite-select.js +1 -1
  615. package/dist/components/calcite-shell-center-row.js +1 -1
  616. package/dist/components/calcite-shell-panel.js +1 -1
  617. package/dist/components/calcite-shell.js +1 -1
  618. package/dist/components/calcite-slider.js +1 -1
  619. package/dist/components/calcite-sortable-list.js +1 -1
  620. package/dist/components/calcite-split-button.js +1 -1
  621. package/dist/components/calcite-stack.js +1 -1
  622. package/dist/components/calcite-stepper-item.js +1 -1
  623. package/dist/components/calcite-stepper.js +1 -1
  624. package/dist/components/calcite-switch.js +1 -1
  625. package/dist/components/calcite-tab-nav.js +1 -1
  626. package/dist/components/calcite-tab-title.js +1 -1
  627. package/dist/components/calcite-tab.js +1 -1
  628. package/dist/components/calcite-tabs.js +1 -1
  629. package/dist/components/calcite-text-area.js +1 -1
  630. package/dist/components/calcite-tile-select-group.js +1 -1
  631. package/dist/components/calcite-tile-select.js +1 -1
  632. package/dist/components/calcite-tile.js +1 -1
  633. package/dist/components/calcite-time-picker.js +1 -1
  634. package/dist/components/calcite-tip-group.js +1 -1
  635. package/dist/components/calcite-tip-manager.js +1 -1
  636. package/dist/components/calcite-tip.js +1 -1
  637. package/dist/components/calcite-tooltip.js +1 -1
  638. package/dist/components/calcite-tree-item.js +1 -1
  639. package/dist/components/calcite-tree.js +1 -1
  640. package/dist/components/calcite-value-list-item.js +1 -1
  641. package/dist/components/calcite-value-list.js +1 -1
  642. package/dist/components/checkbox.js +1 -1
  643. package/dist/components/chip.js +1 -1
  644. package/dist/components/color-picker-hex-input.js +1 -1
  645. package/dist/components/color-picker-swatch.js +1 -1
  646. package/dist/components/composed-offset-position.esm.js +1 -1
  647. package/dist/components/conditionalSlot.js +1 -1
  648. package/dist/components/cs.js +1 -1
  649. package/dist/components/da.js +1 -1
  650. package/dist/components/date-picker-day.js +1 -1
  651. package/dist/components/date-picker-month-header.js +1 -1
  652. package/dist/components/date-picker-month.js +1 -1
  653. package/dist/components/date-picker.js +1 -1
  654. package/dist/components/date.js +1 -1
  655. package/dist/components/de-at.js +1 -1
  656. package/dist/components/de-ch.js +1 -1
  657. package/dist/components/de.js +1 -1
  658. package/dist/components/debounce.js +1 -1
  659. package/dist/components/dom.js +1 -1
  660. package/dist/components/dropdown.js +1 -1
  661. package/dist/components/el.js +1 -1
  662. package/dist/components/en-au.js +1 -1
  663. package/dist/components/en-ca.js +1 -1
  664. package/dist/components/en-gb.js +1 -1
  665. package/dist/components/es-mx.js +1 -1
  666. package/dist/components/es.js +1 -1
  667. package/dist/components/et.js +1 -1
  668. package/dist/components/fi.js +1 -1
  669. package/dist/components/filter.js +1 -1
  670. package/dist/components/filter2.js +1 -1
  671. package/dist/components/floating-ui.js +109 -98
  672. package/dist/components/focusTrapComponent.js +1 -1
  673. package/dist/components/form.js +1 -1
  674. package/dist/components/fr-ch.js +1 -1
  675. package/dist/components/fr.js +1 -1
  676. package/dist/components/graph.js +1 -1
  677. package/dist/components/guid.js +1 -1
  678. package/dist/components/handle.js +1 -1
  679. package/dist/components/he.js +1 -1
  680. package/dist/components/hi.js +1 -1
  681. package/dist/components/hr.js +1 -1
  682. package/dist/components/hu.js +1 -1
  683. package/dist/components/icon.js +1 -1
  684. package/dist/components/id.js +1 -1
  685. package/dist/components/index.js +1 -1
  686. package/dist/components/index2.js +1 -1
  687. package/dist/components/input-number.js +1 -1
  688. package/dist/components/input.js +1 -1
  689. package/dist/components/interactive.js +1 -1
  690. package/dist/components/it-ch.js +1 -1
  691. package/dist/components/it.js +1 -1
  692. package/dist/components/ja.js +1 -1
  693. package/dist/components/key.js +1 -1
  694. package/dist/components/ko.js +1 -1
  695. package/dist/components/label.js +1 -1
  696. package/dist/components/label2.js +1 -1
  697. package/dist/components/link.js +1 -1
  698. package/dist/components/loadable.js +1 -1
  699. package/dist/components/loader.js +1 -1
  700. package/dist/components/locale.js +1 -1
  701. package/dist/components/lt.js +1 -1
  702. package/dist/components/lv.js +1 -1
  703. package/dist/components/math.js +1 -1
  704. package/dist/components/menu.js +1 -1
  705. package/dist/components/mk.js +1 -1
  706. package/dist/components/nb.js +1 -1
  707. package/dist/components/nl.js +1 -1
  708. package/dist/components/observers.js +1 -1
  709. package/dist/components/openCloseComponent.js +1 -1
  710. package/dist/components/panel.js +1 -1
  711. package/dist/components/pick-list-item.js +1 -1
  712. package/dist/components/pl.js +1 -1
  713. package/dist/components/popover.js +1 -1
  714. package/dist/components/progress.js +1 -1
  715. package/dist/components/pt-br.js +1 -1
  716. package/dist/components/pt.js +1 -1
  717. package/dist/components/resources.js +1 -1
  718. package/dist/components/resources2.js +1 -1
  719. package/dist/components/resources3.js +1 -1
  720. package/dist/components/ro.js +1 -1
  721. package/dist/components/ru.js +1 -1
  722. package/dist/components/scrim.js +1 -1
  723. package/dist/components/shared-list-render.js +1 -1
  724. package/dist/components/sk.js +1 -1
  725. package/dist/components/sl.js +1 -1
  726. package/dist/components/sortableComponent.js +1 -1
  727. package/dist/components/sr.js +1 -1
  728. package/dist/components/sv.js +1 -1
  729. package/dist/components/switch.js +1 -1
  730. package/dist/components/t9n.js +1 -1
  731. package/dist/components/tab-nav.js +1 -1
  732. package/dist/components/tab-title.js +1 -1
  733. package/dist/components/tab.js +1 -1
  734. package/dist/components/tabs.js +1 -1
  735. package/dist/components/th.js +1 -1
  736. package/dist/components/throttle.js +1 -1
  737. package/dist/components/tile.js +1 -1
  738. package/dist/components/time-picker.js +1 -1
  739. package/dist/components/tooltip.js +1 -1
  740. package/dist/components/tr.js +1 -1
  741. package/dist/components/uk.js +1 -1
  742. package/dist/components/utils.js +1 -1
  743. package/dist/components/utils2.js +2 -2
  744. package/dist/components/utils3.js +1 -1
  745. package/dist/components/vi.js +1 -1
  746. package/dist/components/zh-cn.js +1 -1
  747. package/dist/components/zh-hk.js +1 -1
  748. package/dist/components/zh-tw.js +1 -1
  749. package/dist/esm/{ExpandToggle-b5db4e73.js → ExpandToggle-41f271ad.js} +5 -5
  750. package/dist/esm/{FloatingArrow-a2a03b2b.js → FloatingArrow-744a3206.js} +2 -2
  751. package/dist/esm/{Heading-308ae5e8.js → Heading-4ce5f5c4.js} +2 -2
  752. package/dist/esm/{app-globals-b4e40fb5.js → app-globals-36bd75d5.js} +2 -2
  753. package/dist/esm/{ar-f1df113c.js → ar-943aea6a.js} +16 -16
  754. package/dist/esm/{array-868bcad6.js → array-c45ef254.js} +1 -1
  755. package/dist/esm/{bg-24c97057.js → bg-86013018.js} +16 -16
  756. package/dist/esm/{browser-fabb40ea.js → browser-4be2add2.js} +1 -1
  757. package/dist/esm/{bs-d5152514.js → bs-a2273953.js} +16 -16
  758. package/dist/esm/{ca-85ca5d97.js → ca-1a403945.js} +16 -16
  759. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  760. package/dist/esm/calcite-action-bar.entry.js +15 -15
  761. package/dist/esm/calcite-action-group.entry.js +13 -13
  762. package/dist/esm/calcite-action-menu.entry.js +9 -9
  763. package/dist/esm/calcite-action-pad.entry.js +14 -14
  764. package/dist/esm/calcite-action.entry.js +12 -12
  765. package/dist/esm/calcite-alert.entry.js +12 -12
  766. package/dist/esm/calcite-avatar.entry.js +6 -6
  767. package/dist/esm/calcite-block_2.entry.js +13 -13
  768. package/dist/esm/calcite-button.entry.js +14 -14
  769. package/dist/esm/calcite-card.entry.js +10 -10
  770. package/dist/esm/calcite-checkbox.entry.js +11 -11
  771. package/dist/esm/calcite-chip-group.entry.js +9 -9
  772. package/dist/esm/calcite-chip.entry.js +13 -13
  773. package/dist/esm/calcite-color-picker_3.entry.js +16 -16
  774. package/dist/esm/calcite-combobox_3.entry.js +19 -19
  775. package/dist/esm/calcite-date-picker_4.entry.js +14 -14
  776. package/dist/esm/calcite-dropdown_3.entry.js +13 -13
  777. package/dist/esm/calcite-fab.entry.js +8 -8
  778. package/dist/esm/calcite-filter.entry.js +14 -14
  779. package/dist/esm/calcite-flow-item.entry.js +13 -13
  780. package/dist/esm/calcite-flow.entry.js +3 -3
  781. package/dist/esm/calcite-graph_2.entry.js +14 -14
  782. package/dist/esm/calcite-handle.entry.js +10 -10
  783. package/dist/esm/calcite-icon.entry.js +6 -6
  784. package/dist/esm/calcite-inline-editable.entry.js +13 -13
  785. package/dist/esm/calcite-input-date-picker.entry.js +19 -19
  786. package/dist/esm/calcite-input-message.entry.js +5 -5
  787. package/dist/esm/calcite-input-number.entry.js +14 -14
  788. package/dist/esm/calcite-input-text.entry.js +14 -14
  789. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-16ad32d5.js → calcite-input-time-picker.calcite-time-picker-18dbcba5.js} +60 -60
  790. package/dist/esm/calcite-input-time-picker_2.entry.js +16 -16
  791. package/dist/esm/calcite-input.entry.js +14 -14
  792. package/dist/esm/calcite-label.entry.js +6 -6
  793. package/dist/esm/calcite-link.entry.js +8 -8
  794. package/dist/esm/calcite-list_3.entry.js +13 -13
  795. package/dist/esm/calcite-loader.entry.js +3 -3
  796. package/dist/esm/calcite-menu_2.entry.js +10 -10
  797. package/dist/esm/calcite-modal.entry.js +13 -13
  798. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  799. package/dist/esm/calcite-notice.entry.js +12 -12
  800. package/dist/esm/calcite-option_3.entry.js +11 -11
  801. package/dist/esm/calcite-pagination.entry.js +10 -10
  802. package/dist/esm/calcite-panel.entry.js +15 -15
  803. package/dist/esm/calcite-pick-list_3.entry.js +17 -17
  804. package/dist/esm/calcite-popover.entry.js +17 -17
  805. package/dist/esm/calcite-progress.entry.js +2 -2
  806. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  807. package/dist/esm/calcite-radio-button.entry.js +11 -11
  808. package/dist/esm/calcite-rating.entry.js +14 -14
  809. package/dist/esm/calcite-scrim.entry.js +9 -9
  810. package/dist/esm/calcite-segmented-control_2.entry.js +10 -10
  811. package/dist/esm/calcite-shell_3.entry.js +11 -11
  812. package/dist/esm/calcite-sortable-list.entry.js +9 -9
  813. package/dist/esm/calcite-split-button.entry.js +5 -5
  814. package/dist/esm/calcite-stack.entry.js +5 -5
  815. package/dist/esm/calcite-stepper_2.entry.js +11 -11
  816. package/dist/esm/calcite-switch.entry.js +11 -11
  817. package/dist/esm/calcite-tab_4.entry.js +11 -11
  818. package/dist/esm/calcite-text-area.entry.js +16 -16
  819. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  820. package/dist/esm/calcite-tile.entry.js +9 -9
  821. package/dist/esm/calcite-tip_3.entry.js +11 -11
  822. package/dist/esm/calcite-tooltip.entry.js +10 -10
  823. package/dist/esm/calcite-tree_2.entry.js +10 -10
  824. package/dist/esm/calcite-value-list_2.entry.js +17 -17
  825. package/dist/esm/calcite.js +5 -5
  826. package/dist/esm/{composed-offset-position.esm-e1d1c8cb.js → composed-offset-position.esm-537e525c.js} +1 -1
  827. package/dist/esm/{conditionalSlot-70f9c6b9.js → conditionalSlot-ed85dd9d.js} +3 -3
  828. package/dist/esm/{cs-8464e57b.js → cs-067f3d61.js} +16 -16
  829. package/dist/esm/{da-d909749b.js → da-9746820c.js} +16 -16
  830. package/dist/esm/{de-e44ba6fa.js → de-2ed0e143.js} +16 -16
  831. package/dist/esm/{de-at-b9e1b519.js → de-at-795c9dcf.js} +16 -16
  832. package/dist/esm/{de-ch-eedcdb7c.js → de-ch-9a323587.js} +16 -16
  833. package/dist/esm/{debounce-2c05db70.js → debounce-ca1bd093.js} +1 -1
  834. package/dist/esm/{dom-46ce50e3.js → dom-4f5d1224.js} +3 -3
  835. package/dist/esm/{el-5c207807.js → el-d3c087bc.js} +16 -16
  836. package/dist/esm/{en-au-4bc52435.js → en-au-1699ba59.js} +16 -16
  837. package/dist/esm/{en-ca-a3115fef.js → en-ca-7680c50c.js} +16 -16
  838. package/dist/esm/{en-gb-8cdd5770.js → en-gb-4000cccd.js} +16 -16
  839. package/dist/esm/{es-d69c4843.js → es-7a3133ea.js} +16 -16
  840. package/dist/esm/{es-mx-351c2321.js → es-mx-37bec869.js} +16 -16
  841. package/dist/esm/{et-e0ec4a8f.js → et-1993871d.js} +16 -16
  842. package/dist/esm/{fi-d1c0c39c.js → fi-4945b510.js} +16 -16
  843. package/dist/esm/{filter-d6dfba45.js → filter-66e9afc0.js} +2 -2
  844. package/dist/esm/{floating-ui-c6caafab.js → floating-ui-06f1d078.js} +113 -102
  845. package/dist/esm/{focusTrapComponent-9fdb270f.js → focusTrapComponent-84ac4141.js} +2 -2
  846. package/dist/esm/{form-455904de.js → form-fba83720.js} +3 -3
  847. package/dist/esm/{fr-4922faa0.js → fr-57b6e33b.js} +16 -16
  848. package/dist/esm/{fr-ch-ffbacbb2.js → fr-ch-76d4b977.js} +16 -16
  849. package/dist/esm/{guid-5ee19f82.js → guid-bdb80778.js} +1 -1
  850. package/dist/esm/{he-5d31ffcc.js → he-e86c9fec.js} +16 -16
  851. package/dist/esm/{hi-c4da825c.js → hi-49e4d48e.js} +16 -16
  852. package/dist/esm/{hr-ba73a61a.js → hr-dce90ac5.js} +16 -16
  853. package/dist/esm/{hu-9fefeda2.js → hu-08e7cc32.js} +16 -16
  854. package/dist/esm/{id-fd3d895d.js → id-e4079f2a.js} +16 -16
  855. package/dist/esm/{index-12e4b2be.js → index-c8875db5.js} +1 -1
  856. package/dist/esm/index.js +2 -2
  857. package/dist/esm/{interactive-bfeaf984.js → interactive-cff0a7ea.js} +2 -2
  858. package/dist/esm/{it-5f64b833.js → it-782b597e.js} +16 -16
  859. package/dist/esm/{it-ch-053a58f7.js → it-ch-8d7d3e18.js} +16 -16
  860. package/dist/esm/{ja-5f048c53.js → ja-6dc378a0.js} +16 -16
  861. package/dist/esm/{key-7d1cd3bd.js → key-582cee8f.js} +1 -1
  862. package/dist/esm/{ko-45f6610f.js → ko-1ae1037f.js} +16 -16
  863. package/dist/esm/{label-e9150360.js → label-0948e0eb.js} +2 -2
  864. package/dist/esm/{loadable-4c99c073.js → loadable-8d606217.js} +1 -1
  865. package/dist/esm/loader.js +5 -5
  866. package/dist/esm/{locale-5245ba39.js → locale-0c018cdb.js} +4 -4
  867. package/dist/esm/{lt-1a912a37.js → lt-81e98ba1.js} +16 -16
  868. package/dist/esm/{lv-931af546.js → lv-a8be7091.js} +16 -16
  869. package/dist/esm/{math-114e4229.js → math-bca052e1.js} +1 -1
  870. package/dist/esm/{mk-a5ee1808.js → mk-a2bcd211.js} +16 -16
  871. package/dist/esm/{nb-086209bf.js → nb-f1ca1a63.js} +16 -16
  872. package/dist/esm/{nl-ccdeee01.js → nl-2402c31f.js} +16 -16
  873. package/dist/esm/{observers-291157a3.js → observers-d19b0d93.js} +1 -1
  874. package/dist/esm/{openCloseComponent-8158490f.js → openCloseComponent-d4910bc4.js} +2 -2
  875. package/dist/esm/{pl-7f98799f.js → pl-5023fe32.js} +16 -16
  876. package/dist/esm/{pt-8179bcd1.js → pt-7e84a372.js} +16 -16
  877. package/dist/esm/{pt-br-2427ac92.js → pt-br-8da36d8d.js} +16 -16
  878. package/dist/esm/{resources-62418c43.js → resources-0be06eee.js} +1 -1
  879. package/dist/esm/{resources-05cee1a1.js → resources-0bf6f42d.js} +1 -1
  880. package/dist/esm/{resources-dcff07fa.js → resources-35f23920.js} +1 -1
  881. package/dist/esm/{resources-4248ce57.js → resources-4c91211d.js} +1 -1
  882. package/dist/esm/{resources-c8b43840.js → resources-71cc8780.js} +1 -1
  883. package/dist/esm/{resources-b1020247.js → resources-f20dbf1c.js} +5 -5
  884. package/dist/esm/{ro-2129b78e.js → ro-991283a3.js} +16 -16
  885. package/dist/esm/{ru-54c8154a.js → ru-76401526.js} +16 -16
  886. package/dist/esm/{sk-678a3b80.js → sk-b938cbbb.js} +16 -16
  887. package/dist/esm/{sl-586eff47.js → sl-2aa50b94.js} +16 -16
  888. package/dist/esm/{sortableComponent-f2f72558.js → sortableComponent-5b95dae2.js} +2 -2
  889. package/dist/esm/{sr-536dd9f0.js → sr-adbc4774.js} +16 -16
  890. package/dist/esm/{sv-84df6ac5.js → sv-34d6977b.js} +16 -16
  891. package/dist/esm/{t9n-9f99cef7.js → t9n-f819e5a2.js} +3 -3
  892. package/dist/esm/{th-d45eca68.js → th-b9acf531.js} +16 -16
  893. package/dist/esm/{throttle-38e2717c.js → throttle-d10f0934.js} +2 -2
  894. package/dist/esm/{tr-0ca52564.js → tr-9daaf770.js} +16 -16
  895. package/dist/esm/{uk-3470243e.js → uk-e050a7bf.js} +16 -16
  896. package/dist/esm/{utils-90291fdc.js → utils-94d40cd7.js} +1 -1
  897. package/dist/esm/{utils-83780950.js → utils-e1ab1496.js} +3 -3
  898. package/dist/esm/{vi-971040f2.js → vi-af0f2863.js} +16 -16
  899. package/dist/esm/{zh-cn-7b676a1a.js → zh-cn-5e6a7e98.js} +16 -16
  900. package/dist/esm/{zh-hk-2cf7e141.js → zh-hk-3d9e5972.js} +16 -16
  901. package/dist/esm/{zh-tw-119b9d0f.js → zh-tw-9059a55e.js} +16 -16
  902. package/dist/loader/cdn.js +1 -1
  903. package/dist/loader/index.cjs.js +1 -1
  904. package/dist/loader/index.es2017.js +1 -1
  905. package/dist/loader/index.js +1 -1
  906. package/dist/types/utils/floating-ui.d.ts +50 -51
  907. package/hydrate/index.js +109 -98
  908. package/package.json +2 -2
  909. package/dist/calcite/p-2f6f0f62.entry.js +0 -6
  910. package/dist/calcite/p-34ed2168.js +0 -6
  911. package/dist/calcite/p-386f62e0.js +0 -6
  912. package/dist/calcite/p-536af17f.entry.js +0 -6
  913. package/dist/calcite/p-97d31eac.js +0 -6
  914. package/dist/calcite/p-a787d09e.entry.js +0 -6
  915. package/dist/calcite/p-dc56d76a.entry.js +0 -6
  916. package/dist/calcite/p-e5f3c511.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-components/blob/master/LICENSE.md for details.
4
- * v1.5.0-next.3
4
+ * v1.5.0-next.4
5
5
  */
6
- import{d as e}from"./p-bb203532.js";import"./p-902b4f6e.js";import"./p-f6ccfae9.js";import"./p-50624216.js";import"./p-29b2baef.js";import"./p-c1848732.js";import"./p-6e162845.js";import"./p-e3479c79.js";import"./p-3333277a.js";import"./p-67356414.js";import"./p-a56fe1f7.js";import"./p-8c5ad359.js";import"./p-f8bfdbe4.js";import"./p-c121d63d.js";import"./p-428b49a8.js";var a={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};e.locale(a,null,!0);export default a;
6
+ import{d as e}from"./p-0f826d3d.js";import"./p-8789682d.js";import"./p-51fa67d7.js";import"./p-68f223ec.js";import"./p-d2aa9245.js";import"./p-9280476e.js";import"./p-0d8324b6.js";import"./p-7fb6664e.js";import"./p-4929e834.js";import"./p-4dcc9524.js";import"./p-deebcc06.js";import"./p-743ed09c.js";import"./p-c8e46b02.js";import"./p-211e3b42.js";import"./p-9dd9a26d.js";var m={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};e.locale(m,null,!0);export default m;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.5.0-next.3
4
+ * v1.5.0-next.4
5
5
  */
6
- import{d as e}from"./p-bb203532.js";import"./p-902b4f6e.js";import"./p-f6ccfae9.js";import"./p-50624216.js";import"./p-29b2baef.js";import"./p-c1848732.js";import"./p-6e162845.js";import"./p-e3479c79.js";import"./p-3333277a.js";import"./p-67356414.js";import"./p-a56fe1f7.js";import"./p-8c5ad359.js";import"./p-f8bfdbe4.js";import"./p-c121d63d.js";import"./p-428b49a8.js";var m={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};e.locale(m,null,!0);export default m;
6
+ import{d as e}from"./p-0f826d3d.js";import"./p-8789682d.js";import"./p-51fa67d7.js";import"./p-68f223ec.js";import"./p-d2aa9245.js";import"./p-9280476e.js";import"./p-0d8324b6.js";import"./p-7fb6664e.js";import"./p-4929e834.js";import"./p-4dcc9524.js";import"./p-deebcc06.js";import"./p-743ed09c.js";import"./p-c8e46b02.js";import"./p-211e3b42.js";import"./p-9dd9a26d.js";var m={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};e.locale(m,null,!0);export default m;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.5.0-next.3
4
+ * v1.5.0-next.4
5
5
  */
6
- import{r as t,c as e,h as i,a,H as n}from"./p-902b4f6e.js";import{j as r,v as o,t as s}from"./p-50624216.js";import{c,u as l,d as p}from"./p-6e162845.js";import{n as h,c as d,d as m}from"./p-8c5ad359.js";import{s as u,a as f,c as g}from"./p-a56fe1f7.js";import"./p-29b2baef.js";import"./p-c1848732.js";import"./p-e3479c79.js";import"./p-3333277a.js";import"./p-f8bfdbe4.js";const b=class{constructor(i){t(this,i),this.calciteStepperItemChange=e(this,"calciteStepperItemChange",6),this.calciteInternalStepperItemChange=e(this,"calciteInternalStepperItemChange",6),this.itemMap=new Map,this.items=[],this.enabledItems=[],this.icon=!1,this.layout="horizontal",this.numbered=!1,this.numberingSystem=void 0,this.selectedItem=null,this.scale="m"}numberingSystemChange(){this.setStepperItemNumberingSystem()}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}render(){return i("slot",{onSlotchange:t=>{const e=t.currentTarget.assignedElements().filter((t=>"CALCITE-STEPPER-ITEM"===t?.tagName)),i=Array(e.length).fill("1fr").join(" ");this.el.style.gridTemplateAreas=i,this.el.style.gridTemplateColumns=i,this.setStepperItemNumberingSystem()}})}calciteInternalStepperItemKeyEvent(t){const e=t.target;switch(t.detail.item.key){case"ArrowDown":case"ArrowRight":r(this.enabledItems,e,"next");break;case"ArrowUp":case"ArrowLeft":r(this.enabledItems,e,"previous");break;case"Home":r(this.enabledItems,e,"first");break;case"End":r(this.enabledItems,e,"last")}t.stopPropagation()}registerItem(t){const e=t.target,{content:i,position:a}=t.detail;this.itemMap.set(e,{position:a,content:i}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),t.stopPropagation()}updateItem(t){const{position:e}=t.detail;"number"==typeof e&&(this.currentPosition=e,this.selectedItem=t.target),this.calciteInternalStepperItemChange.emit({position:e})}handleUserRequestedStepperItemSelect(){this.calciteStepperItemChange.emit()}async nextStep(){const t=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof t&&this.updateStep(t)}async prevStep(){const t=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof t&&this.updateStep(t)}async goToStep(t){const e=t-1;this.currentPosition!==e&&this.updateStep(e)}async startStep(){const t=this.getEnabledStepIndex(0,"next");"number"==typeof t&&this.updateStep(t)}async endStep(){const t=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof t&&this.updateStep(t)}getEnabledStepIndex(t,e="next"){const{items:i,currentPosition:a}=this;let n=t;for(;i[n]?.disabled;)n+="previous"===e?-1:1;return n!==a&&n<i.length&&n>=0?n:null}updateStep(t){this.currentPosition=t,this.calciteInternalStepperItemChange.emit({position:t})}sortItems(){const{itemMap:t}=this;return Array.from(t.keys()).sort(((e,i)=>t.get(e).position-t.get(i).position))}filterItems(){return this.items.filter((t=>!t.disabled))}setStepperItemNumberingSystem(){this.items.forEach((t=>{t.numberingSystem=this.numberingSystem}))}get el(){return a(this)}static get watchers(){return{numberingSystem:["numberingSystemChange"]}}};b.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]){flex:1 1 auto;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}';const v=class{constructor(i){t(this,i),this.calciteInternalStepperItemKeyEvent=e(this,"calciteInternalStepperItemKeyEvent",6),this.calciteInternalStepperItemSelect=e(this,"calciteInternalStepperItemSelect",6),this.calciteInternalUserRequestedStepperItemSelect=e(this,"calciteInternalUserRequestedStepperItemSelect",6),this.calciteInternalStepperItemRegister=e(this,"calciteInternalStepperItemRegister",6),this.keyDownHandler=t=>{if(!this.disabled&&t.target===this.el)switch(t.key){case" ":case"Enter":this.emitUserRequestedItem(),t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:t}),t.preventDefault()}},this.handleItemClick=t=>{this.disabled||"horizontal"===this.layout&&t.composedPath().some((t=>t.classList?.contains("stepper-item-content")))||this.emitUserRequestedItem()},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})},this.selected=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.heading=void 0,this.description=void 0,this.layout="horizontal",this.icon=!1,this.iconFlipRtl=!1,this.numbered=!1,this.scale="m",this.numberingSystem=void 0,this.effectiveLocale=""}selectedHandler(){this.selected&&this.emitRequestedItem()}disabledWatcher(){this.registerStepperItem()}effectiveLocaleWatcher(t){h.numberFormatOptions={locale:t,numberingSystem:this.numberingSystem,useGrouping:!1}}connectedCallback(){c(this),d(this)}componentWillLoad(){u(this),this.icon=o(this.el,"icon",!1),this.numbered=o(this.el,"numbered",!1),this.layout=o(this.el,"layout",!1),this.scale=o(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}componentDidLoad(){f(this)}componentDidRender(){l(this,!0)}disconnectedCallback(){p(this),m(this)}render(){return i(n,{"aria-expanded":s(this.selected),onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},i("div",{class:"container"},i("div",{class:"stepper-item-header",tabIndex:"horizontal"!==this.layout||this.disabled?null:0,ref:t=>this.headerEl=t},this.icon?this.renderIcon():null,this.numbered?i("div",{class:"stepper-item-number"},this.renderNumbers(),"."):null,i("div",{class:"stepper-item-header-text"},i("span",{class:"stepper-item-heading"},this.heading),i("span",{class:"stepper-item-description"},this.description))),i("div",{class:"stepper-item-content"},i("slot",null))))}updateActiveItemOnChange(t){(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=t.detail.position,this.determineSelectedItem())}async setFocus(){await g(this),("vertical"===this.layout?this.el:this.headerEl)?.focus()}renderIcon(){return i("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:this.selected?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){return h.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:!1},h.numberFormatter.format(this.itemPosition+1)}get el(){return a(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};v.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(: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 )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;margin-inline-end:0.5rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header: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 )}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{margin-inline-end:0.25rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{margin-inline-end:0.75rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}";export{b as calcite_stepper,v as calcite_stepper_item}
6
+ import{r as t,c as e,h as i,a,H as n}from"./p-8789682d.js";import{j as r,v as o,t as s}from"./p-68f223ec.js";import{c,u as l,d as p}from"./p-0d8324b6.js";import{n as d,c as h,d as m}from"./p-743ed09c.js";import{s as u,a as f,c as g}from"./p-deebcc06.js";import"./p-d2aa9245.js";import"./p-9280476e.js";import"./p-7fb6664e.js";import"./p-4929e834.js";import"./p-c8e46b02.js";const b=class{constructor(i){t(this,i),this.calciteStepperItemChange=e(this,"calciteStepperItemChange",6),this.calciteInternalStepperItemChange=e(this,"calciteInternalStepperItemChange",6),this.itemMap=new Map,this.items=[],this.enabledItems=[],this.icon=!1,this.layout="horizontal",this.numbered=!1,this.numberingSystem=void 0,this.selectedItem=null,this.scale="m"}numberingSystemChange(){this.setStepperItemNumberingSystem()}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}render(){return i("slot",{onSlotchange:t=>{const e=t.currentTarget.assignedElements().filter((t=>"CALCITE-STEPPER-ITEM"===t?.tagName)),i=Array(e.length).fill("1fr").join(" ");this.el.style.gridTemplateAreas=i,this.el.style.gridTemplateColumns=i,this.setStepperItemNumberingSystem()}})}calciteInternalStepperItemKeyEvent(t){const e=t.target;switch(t.detail.item.key){case"ArrowDown":case"ArrowRight":r(this.enabledItems,e,"next");break;case"ArrowUp":case"ArrowLeft":r(this.enabledItems,e,"previous");break;case"Home":r(this.enabledItems,e,"first");break;case"End":r(this.enabledItems,e,"last")}t.stopPropagation()}registerItem(t){const e=t.target,{content:i,position:a}=t.detail;this.itemMap.set(e,{position:a,content:i}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),t.stopPropagation()}updateItem(t){const{position:e}=t.detail;"number"==typeof e&&(this.currentPosition=e,this.selectedItem=t.target),this.calciteInternalStepperItemChange.emit({position:e})}handleUserRequestedStepperItemSelect(){this.calciteStepperItemChange.emit()}async nextStep(){const t=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof t&&this.updateStep(t)}async prevStep(){const t=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof t&&this.updateStep(t)}async goToStep(t){const e=t-1;this.currentPosition!==e&&this.updateStep(e)}async startStep(){const t=this.getEnabledStepIndex(0,"next");"number"==typeof t&&this.updateStep(t)}async endStep(){const t=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof t&&this.updateStep(t)}getEnabledStepIndex(t,e="next"){const{items:i,currentPosition:a}=this;let n=t;for(;i[n]?.disabled;)n+="previous"===e?-1:1;return n!==a&&n<i.length&&n>=0?n:null}updateStep(t){this.currentPosition=t,this.calciteInternalStepperItemChange.emit({position:t})}sortItems(){const{itemMap:t}=this;return Array.from(t.keys()).sort(((e,i)=>t.get(e).position-t.get(i).position))}filterItems(){return this.items.filter((t=>!t.disabled))}setStepperItemNumberingSystem(){this.items.forEach((t=>{t.numberingSystem=this.numberingSystem}))}get el(){return a(this)}static get watchers(){return{numberingSystem:["numberingSystemChange"]}}};b.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]){flex:1 1 auto;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}';const v=class{constructor(i){t(this,i),this.calciteInternalStepperItemKeyEvent=e(this,"calciteInternalStepperItemKeyEvent",6),this.calciteInternalStepperItemSelect=e(this,"calciteInternalStepperItemSelect",6),this.calciteInternalUserRequestedStepperItemSelect=e(this,"calciteInternalUserRequestedStepperItemSelect",6),this.calciteInternalStepperItemRegister=e(this,"calciteInternalStepperItemRegister",6),this.keyDownHandler=t=>{if(!this.disabled&&t.target===this.el)switch(t.key){case" ":case"Enter":this.emitUserRequestedItem(),t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:t}),t.preventDefault()}},this.handleItemClick=t=>{this.disabled||"horizontal"===this.layout&&t.composedPath().some((t=>t.classList?.contains("stepper-item-content")))||this.emitUserRequestedItem()},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})},this.selected=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.heading=void 0,this.description=void 0,this.layout="horizontal",this.icon=!1,this.iconFlipRtl=!1,this.numbered=!1,this.scale="m",this.numberingSystem=void 0,this.effectiveLocale=""}selectedHandler(){this.selected&&this.emitRequestedItem()}disabledWatcher(){this.registerStepperItem()}effectiveLocaleWatcher(t){d.numberFormatOptions={locale:t,numberingSystem:this.numberingSystem,useGrouping:!1}}connectedCallback(){c(this),h(this)}componentWillLoad(){u(this),this.icon=o(this.el,"icon",!1),this.numbered=o(this.el,"numbered",!1),this.layout=o(this.el,"layout",!1),this.scale=o(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}componentDidLoad(){f(this)}componentDidRender(){l(this,!0)}disconnectedCallback(){p(this),m(this)}render(){return i(n,{"aria-expanded":s(this.selected),onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},i("div",{class:"container"},i("div",{class:"stepper-item-header",tabIndex:"horizontal"!==this.layout||this.disabled?null:0,ref:t=>this.headerEl=t},this.icon?this.renderIcon():null,this.numbered?i("div",{class:"stepper-item-number"},this.renderNumbers(),"."):null,i("div",{class:"stepper-item-header-text"},i("span",{class:"stepper-item-heading"},this.heading),i("span",{class:"stepper-item-description"},this.description))),i("div",{class:"stepper-item-content"},i("slot",null))))}updateActiveItemOnChange(t){(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=t.detail.position,this.determineSelectedItem())}async setFocus(){await g(this),("vertical"===this.layout?this.el:this.headerEl)?.focus()}renderIcon(){return i("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:this.selected?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){return d.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:!1},d.numberFormatter.format(this.itemPosition+1)}get el(){return a(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};v.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(: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 )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;margin-inline-end:0.5rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header: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 )}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{margin-inline-end:0.25rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{margin-inline-end:0.75rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}";export{b as calcite_stepper,v as calcite_stepper_item}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.5.0-next.3
4
+ * v1.5.0-next.4
5
5
  */
6
- import{d as e}from"./p-bb203532.js";import"./p-902b4f6e.js";import"./p-f6ccfae9.js";import"./p-50624216.js";import"./p-29b2baef.js";import"./p-c1848732.js";import"./p-6e162845.js";import"./p-e3479c79.js";import"./p-3333277a.js";import"./p-67356414.js";import"./p-a56fe1f7.js";import"./p-8c5ad359.js";import"./p-f8bfdbe4.js";import"./p-c121d63d.js";import"./p-428b49a8.js";var r={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var r=["th","st","nd","rd"],a=e%100;return"["+e+(r[(a-20)%10]||r[a]||r[0])+"]"}};e.locale(r,null,!0);export default r;
6
+ import{d as e}from"./p-0f826d3d.js";import"./p-8789682d.js";import"./p-51fa67d7.js";import"./p-68f223ec.js";import"./p-d2aa9245.js";import"./p-9280476e.js";import"./p-0d8324b6.js";import"./p-7fb6664e.js";import"./p-4929e834.js";import"./p-4dcc9524.js";import"./p-deebcc06.js";import"./p-743ed09c.js";import"./p-c8e46b02.js";import"./p-211e3b42.js";import"./p-9dd9a26d.js";var r={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var r=["th","st","nd","rd"],a=e%100;return"["+e+(r[(a-20)%10]||r[a]||r[0])+"]"}};e.locale(r,null,!0);export default r;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.5.0-next.3
4
+ * v1.5.0-next.4
5
5
  */
6
- import{d as e}from"./p-bb203532.js";import"./p-902b4f6e.js";import"./p-f6ccfae9.js";import"./p-50624216.js";import"./p-29b2baef.js";import"./p-c1848732.js";import"./p-6e162845.js";import"./p-e3479c79.js";import"./p-3333277a.js";import"./p-67356414.js";import"./p-a56fe1f7.js";import"./p-8c5ad359.js";import"./p-f8bfdbe4.js";import"./p-c121d63d.js";import"./p-428b49a8.js";var r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function t(e,t,a){var n=r[a];return Array.isArray(n)&&(n=n[t?0:1]),n.replace("%d",e)}var a={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(a,null,!0);export default a;
6
+ import{d as e}from"./p-0f826d3d.js";import"./p-8789682d.js";import"./p-51fa67d7.js";import"./p-68f223ec.js";import"./p-d2aa9245.js";import"./p-9280476e.js";import"./p-0d8324b6.js";import"./p-7fb6664e.js";import"./p-4929e834.js";import"./p-4dcc9524.js";import"./p-deebcc06.js";import"./p-743ed09c.js";import"./p-c8e46b02.js";import"./p-211e3b42.js";import"./p-9dd9a26d.js";var r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function t(e,t,n){var a=r[n];return Array.isArray(a)&&(a=a[t?0:1]),a.replace("%d",e)}var n={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(n,null,!0);export default n;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.5.0-next.3
4
+ * v1.5.0-next.4
5
5
  */
6
- import{r as t,c as i,h as a,a as e,F as n}from"./p-902b4f6e.js";import{c as s,d as o,u as c}from"./p-6e162845.js";import{s as r,a as l,c as d}from"./p-a56fe1f7.js";import{c as m}from"./p-f8bfdbe4.js";import{m as h,d as p,a as f,s as u,h as g,b as v,c as b,k as y,i as x,f as w,l as k,j as _,r as D,o as z,p as C,n as L,q as j,t as I,I as H,L as W,u as F,v as R,w as M,C as S,S as V}from"./p-ce4a5db5.js";import{c as A,d as P}from"./p-386f62e0.js";import{g as T,t as U}from"./p-50624216.js";import{H as K,c as O}from"./p-e5f3c511.js";import{c as q,d as E}from"./p-8c5ad359.js";import{u as B,c as G,s as J,d as N}from"./p-428b49a8.js";import"./p-e3479c79.js";import"./p-20cbe085.js";import"./p-1550d063.js";import"./p-29b2baef.js";import"./p-c1848732.js";import"./p-3333277a.js";const Q=class{constructor(a){t(this,a),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=m("mutation",h.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=p.bind(this),this.deselectSiblingItems=f.bind(this),this.selectSiblings=u.bind(this),this.handleFilter=g.bind(this),this.handleFilterEvent=v.bind(this),this.getItemData=b.bind(this),this.keyDownHandler=y.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){x.call(this),w.call(this),s(this)}disconnectedCallback(){k.call(this),o(this)}componentWillLoad(){r(this)}componentDidLoad(){l(this),_.call(this)}componentDidRender(){c(this)}calciteListItemRemoveHandler(t){D.call(this,t)}calciteListItemChangeHandler(t){z.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){C.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){L.call(this,t)}setUpItems(){j.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await d(this),I.call(this,t)}getIconType(){return this.multiple?H.square:H.circle}render(){return a(W,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};Q.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 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)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}";const X=class{constructor(i){t(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){A(this)}disconnectedCallback(){P(this)}render(){const{el:t,groupTitle:i,headingLevel:e}=this,s=null!==T(t,F.parentItem),o={[R.container]:!0,[R.indented]:s},c=i,r=t.closest("calcite-pick-list")?.headingLevel,l=r?O(r+1):null;return a(n,null,c?a(K,{class:R.heading,level:e||l},c):null,a("slot",{name:F.parentItem}),a("section",{class:o},a("slot",null)))}get el(){return e(this)}};X.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{margin-inline-start:1.5rem}";const Y=class{constructor(a){t(this,a),this.calciteListItemChange=i(this,"calciteListItemChange",6),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=i(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=i(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,i){this.calciteInternalListItemValueChange.emit({oldValue:i,newValue:t})}effectiveLocaleChange(){B(this,this.effectiveLocale)}connectedCallback(){s(this),q(this),G(this),A(this)}async componentWillLoad(){await J(this),r(this)}componentDidLoad(){l(this)}disconnectedCallback(){o(this),E(this),N(this),P(this)}componentDidRender(){c(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){await d(this),this.focusEl?.focus()}renderIcon(){const{icon:t,iconFlipRtl:i}=this;return t?a("span",{class:{[S.icon]:!0,[S.iconDot]:t===H.circle},onClick:this.pickListClickHandler},t===H.square?a("calcite-icon",{flipRtl:i,icon:M.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?a("calcite-action",{class:S.remove,icon:M.remove,onClick:this.removeClickHandler,slot:V.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return T(t,V.actionsStart)?a("div",{class:{[S.actions]:!0,[S.actionsStart]:!0}},a("slot",{name:V.actionsStart})):null}renderActionsEnd(){const{el:t,removable:i}=this;return T(t,V.actionsEnd)||i?a("div",{class:{[S.actions]:!0,[S.actionsEnd]:!0}},a("slot",{name:V.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:i}=this;return a(n,null,this.renderIcon(),this.renderActionsStart(),a("label",{"aria-label":i,class:S.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},a("div",{"aria-checked":U(this.selected),class:S.textContainer,role:"menuitemcheckbox"},a("span",{class:S.title},i),t?a("span",{class:S.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};Y.style='@charset "UTF-8";@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 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);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label: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 )}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}';export{Q as calcite_pick_list,X as calcite_pick_list_group,Y as calcite_pick_list_item}
6
+ import{r as t,c as i,h as a,a as e,F as n}from"./p-8789682d.js";import{c as s,d as o,u as c}from"./p-0d8324b6.js";import{s as r,a as l,c as d}from"./p-deebcc06.js";import{c as m}from"./p-c8e46b02.js";import{m as h,d as p,a as f,s as u,h as g,b as v,c as b,k as y,i as x,f as w,l as k,j as _,r as D,o as z,p as C,n as L,q as j,t as I,I as H,L as W,u as F,v as R,w as M,C as S,S as V}from"./p-18f22efc.js";import{c as A,d as P}from"./p-ce102a61.js";import{g as T,t as U}from"./p-68f223ec.js";import{H as K,c as O}from"./p-36712ef1.js";import{c as q,d as E}from"./p-743ed09c.js";import{u as B,c as G,s as J,d as N}from"./p-9dd9a26d.js";import"./p-7fb6664e.js";import"./p-3f126932.js";import"./p-81620376.js";import"./p-d2aa9245.js";import"./p-9280476e.js";import"./p-4929e834.js";const Q=class{constructor(a){t(this,a),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=m("mutation",h.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=p.bind(this),this.deselectSiblingItems=f.bind(this),this.selectSiblings=u.bind(this),this.handleFilter=g.bind(this),this.handleFilterEvent=v.bind(this),this.getItemData=b.bind(this),this.keyDownHandler=y.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){x.call(this),w.call(this),s(this)}disconnectedCallback(){k.call(this),o(this)}componentWillLoad(){r(this)}componentDidLoad(){l(this),_.call(this)}componentDidRender(){c(this)}calciteListItemRemoveHandler(t){D.call(this,t)}calciteListItemChangeHandler(t){z.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){C.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){L.call(this,t)}setUpItems(){j.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await d(this),I.call(this,t)}getIconType(){return this.multiple?H.square:H.circle}render(){return a(W,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};Q.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 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)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}";const X=class{constructor(i){t(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){A(this)}disconnectedCallback(){P(this)}render(){const{el:t,groupTitle:i,headingLevel:e}=this,s=null!==T(t,F.parentItem),o={[R.container]:!0,[R.indented]:s},c=i,r=t.closest("calcite-pick-list")?.headingLevel,l=r?O(r+1):null;return a(n,null,c?a(K,{class:R.heading,level:e||l},c):null,a("slot",{name:F.parentItem}),a("section",{class:o},a("slot",null)))}get el(){return e(this)}};X.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{margin-inline-start:1.5rem}";const Y=class{constructor(a){t(this,a),this.calciteListItemChange=i(this,"calciteListItemChange",6),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=i(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=i(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,i){this.calciteInternalListItemValueChange.emit({oldValue:i,newValue:t})}effectiveLocaleChange(){B(this,this.effectiveLocale)}connectedCallback(){s(this),q(this),G(this),A(this)}async componentWillLoad(){await J(this),r(this)}componentDidLoad(){l(this)}disconnectedCallback(){o(this),E(this),N(this),P(this)}componentDidRender(){c(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){await d(this),this.focusEl?.focus()}renderIcon(){const{icon:t,iconFlipRtl:i}=this;return t?a("span",{class:{[S.icon]:!0,[S.iconDot]:t===H.circle},onClick:this.pickListClickHandler},t===H.square?a("calcite-icon",{flipRtl:i,icon:M.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?a("calcite-action",{class:S.remove,icon:M.remove,onClick:this.removeClickHandler,slot:V.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return T(t,V.actionsStart)?a("div",{class:{[S.actions]:!0,[S.actionsStart]:!0}},a("slot",{name:V.actionsStart})):null}renderActionsEnd(){const{el:t,removable:i}=this;return T(t,V.actionsEnd)||i?a("div",{class:{[S.actions]:!0,[S.actionsEnd]:!0}},a("slot",{name:V.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:i}=this;return a(n,null,this.renderIcon(),this.renderActionsStart(),a("label",{"aria-label":i,class:S.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},a("div",{"aria-checked":U(this.selected),class:S.textContainer,role:"menuitemcheckbox"},a("span",{class:S.title},i),t?a("span",{class:S.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};Y.style='@charset "UTF-8";@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 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);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label: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 )}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}';export{Q as calcite_pick_list,X as calcite_pick_list_group,Y as calcite_pick_list_item}
@@ -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-components/blob/master/LICENSE.md for details.
4
- * v1.5.0-next.3
4
+ * v1.5.0-next.4
5
5
  */
6
- import{g as n}from"./p-29b2baef.js";import{C as t}from"./p-c1848732.js";
6
+ import{g as n}from"./p-d2aa9245.js";import{C as t}from"./p-9280476e.js";
7
7
  /*!
8
8
  * tabbable 6.1.2
9
9
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
10
10
  */
11
- var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],e=r.join(","),o="undefined"==typeof Element,u=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(n){var t;return null==n||null===(t=n.getRootNode)||void 0===t?void 0:t.call(n)}:function(n){return null==n?void 0:n.ownerDocument},a=function n(t,r){var e;void 0===r&&(r=!0);var o=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"inert");return""===o||"true"===o||r&&t&&n(t.parentNode)},f=function(n,t,r){if(a(n))return[];var o=Array.prototype.slice.apply(n.querySelectorAll(e));return t&&u.call(n,e)&&o.unshift(n),o.filter(r)},l=function n(t,r,o){for(var i=[],f=Array.from(t);f.length;){var l=f.shift();if(!a(l,!1))if("SLOT"===l.tagName){var c=l.assignedElements(),s=n(c.length?c:l.children,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:l,candidates:s})}else{u.call(l,e)&&o.filter(l)&&(r||!t.includes(l))&&i.push(l);var d=l.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(l),v=!a(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(l));if(d&&v){var p=n(!0===d?l.children:d.children,!0,o);o.flatten?i.push.apply(i,p):i.push({scopeParent:l,candidates:p})}else f.unshift.apply(f,l.children)}}return i},c=function(n,t){return n.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||function(n){var t,r=null==n||null===(t=n.getAttribute)||void 0===t?void 0:t.call(n,"contenteditable");return""===r||"true"===r}(n))&&isNaN(parseInt(n.getAttribute("tabindex"),10))?0:n.tabIndex},s=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},d=function(n){return"INPUT"===n.tagName},v=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},p=function(n,t){return!(t.disabled||a(t)||function(n){return d(n)&&"hidden"===n.type}(t)||function(n,t){var r=t.displayCheck,e=t.getShadowRoot;if("hidden"===getComputedStyle(n).visibility)return!0;var o=u.call(n,"details>summary:first-of-type");if(u.call(o?n.parentElement:n,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return v(n)}else{if("function"==typeof e){for(var a=n;n;){var f=n.parentElement,l=i(n);if(f&&!f.shadowRoot&&!0===e(f))return v(n);n=n.assignedSlot?n.assignedSlot:f||l===n.ownerDocument?f:l.host}n=a}if(function(n){var t,r,e,o,u=n&&i(n),a=null===(t=u)||void 0===t?void 0:t.host,f=!1;if(u&&u!==n)for(f=!!(null!==(r=a)&&void 0!==r&&null!==(e=r.ownerDocument)&&void 0!==e&&e.contains(a)||null!=n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(n));!f&&a;){var l,c,s;f=!(null===(c=a=null===(l=u=i(a))||void 0===l?void 0:l.host)||void 0===c||null===(s=c.ownerDocument)||void 0===s||!s.contains(a))}return f}(n))return!n.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var e=t.children.item(r);if("LEGEND"===e.tagName)return!!u.call(t,"fieldset[disabled] *")||!e.contains(n)}return!0}t=t.parentElement}return!1}(t))},y=function(n,t){return!(function(n){return function(n){return d(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,r=n.form||i(n),e=function(n){return r.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=e(window.CSS.escape(n.name));else try{t=e(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var o=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]}(t,n.form);return!o||o===n}(n)}(t)||c(t)<0||!p(n,t))},m=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},w=function n(t){var r=[],e=[];return t.forEach((function(t,o){var u=!!t.scopeParent,i=u?t.scopeParent:t,a=c(i,u),f=u?n(t.candidates):i;0===a?u?r.push.apply(r,f):r.push(i):e.push({documentOrder:o,tabIndex:a,item:t,isScope:u,content:f})})),e.sort(s).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(r)},E=function(n,t){var r;return r=(t=t||{}).getShadowRoot?l([n],t.includeContainer,{filter:y.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:m}):f(n,t.includeContainer,y.bind(null,t)),w(r)},h=function(n,t){return(t=t||{}).getShadowRoot?l([n],t.includeContainer,{filter:p.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):f(n,t.includeContainer,p.bind(null,t))},A=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,e)&&y(t,n)},S=r.concat("iframe").join(","),b=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,S)&&p(t,n)};const g={getShadowRoot:!0};function I(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function N(n){return Array.isArray(n)?n:Array.from(n)}function T(n){return C(n,`.${t.darkMode}, .${t.lightMode}`)?.classList.contains("calcite-mode-dark")?"dark":"light"}function x(n){const t=C(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function $(n,t,r){const e=n.closest(`[${t}]`);return e?e.getAttribute(t):r}function L(n){return n.getRootNode()}function R(n){const t=L(n);return"host"in t?t:null}function D(n){return n.host||null}function k(n,{selector:t,id:r}){return function n(e){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const o=L(e),u=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=D(o);return u||(i?n(i):null)}(n)}function C(n,t){return function n(r){return r?r.closest(t)||n(D(L(r))):null}(n)}function O(n,t){return U(n,t)}function U(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:e}=n;return U(e instanceof ShadowRoot?e.host:e,t)}function P(n,t){return!!O(t,(t=>t===n||void 0))}async function j(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function B(n){n&&(E(n,g)[0]||n).focus()}const z=":not([slot])";function F(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const e=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:z;return r?.all?function(n,t,r){let e=t===z?M(n,z):Array.from(n.querySelectorAll(t));e=r&&!1===r.direct?e:e.filter((t=>t.parentElement===n)),e=r?.matches?e.filter((n=>n?.matches(r.matches))):e;const o=r?.selector;return o?e.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):e}(n,e,r):function(n,t,r){let e=t===z?M(n,z)[0]||null:n.querySelector(t);e=r&&!1===r.direct||e?.parentElement===n?e:null,e=r?.matches?e?.matches(r.matches)?e:null:e;const o=r?.selector;return o?e?.querySelector(o):e}(n,e,r)}function M(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function q(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function G(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function V(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function X(n){return Boolean(n).toString()}function Y(n){return!!H(n).length}function H(n){return n.target.assignedElements({flatten:!0})}function J(n){return!(!n.isPrimary||0!==n.button)}const K=(n,t,r,e=!0)=>{const o=n.indexOf(t);let u;return e&&(r="previous"===r&&0===o?"last":"next"===r&&o===n.length-1?"first":r),u="previous"===r?n[o-1]||n[e?n.length-1:o]:"next"===r?n[o+1]||n[e?0:o]:"last"===r?n[n.length-1]:n[0],j(u),u};export{P as a,x as b,C as c,Y as d,G as e,j as f,F as g,T as h,J as i,K as j,E as k,h as l,A as m,b as n,g as o,B as p,k as q,I as r,H as s,X as t,R as u,$ as v,V as w,N as x,L as y,q as z}
11
+ var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],e=r.join(","),o="undefined"==typeof Element,u=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(n){var t;return null==n||null===(t=n.getRootNode)||void 0===t?void 0:t.call(n)}:function(n){return null==n?void 0:n.ownerDocument},a=function n(t,r){var e;void 0===r&&(r=!0);var o=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"inert");return""===o||"true"===o||r&&t&&n(t.parentNode)},f=function(n,t,r){if(a(n))return[];var o=Array.prototype.slice.apply(n.querySelectorAll(e));return t&&u.call(n,e)&&o.unshift(n),o.filter(r)},l=function n(t,r,o){for(var i=[],f=Array.from(t);f.length;){var l=f.shift();if(!a(l,!1))if("SLOT"===l.tagName){var c=l.assignedElements(),s=n(c.length?c:l.children,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:l,candidates:s})}else{u.call(l,e)&&o.filter(l)&&(r||!t.includes(l))&&i.push(l);var d=l.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(l),v=!a(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(l));if(d&&v){var p=n(!0===d?l.children:d.children,!0,o);o.flatten?i.push.apply(i,p):i.push({scopeParent:l,candidates:p})}else f.unshift.apply(f,l.children)}}return i},c=function(n,t){return n.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||function(n){var t,r=null==n||null===(t=n.getAttribute)||void 0===t?void 0:t.call(n,"contenteditable");return""===r||"true"===r}(n))&&isNaN(parseInt(n.getAttribute("tabindex"),10))?0:n.tabIndex},s=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},d=function(n){return"INPUT"===n.tagName},v=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},p=function(n,t){return!(t.disabled||a(t)||function(n){return d(n)&&"hidden"===n.type}(t)||function(n,t){var r=t.displayCheck,e=t.getShadowRoot;if("hidden"===getComputedStyle(n).visibility)return!0;var o=u.call(n,"details>summary:first-of-type");if(u.call(o?n.parentElement:n,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return v(n)}else{if("function"==typeof e){for(var a=n;n;){var f=n.parentElement,l=i(n);if(f&&!f.shadowRoot&&!0===e(f))return v(n);n=n.assignedSlot?n.assignedSlot:f||l===n.ownerDocument?f:l.host}n=a}if(function(n){var t,r,e,o,u=n&&i(n),a=null===(t=u)||void 0===t?void 0:t.host,f=!1;if(u&&u!==n)for(f=!!(null!==(r=a)&&void 0!==r&&null!==(e=r.ownerDocument)&&void 0!==e&&e.contains(a)||null!=n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(n));!f&&a;){var l,c,s;f=!(null===(c=a=null===(l=u=i(a))||void 0===l?void 0:l.host)||void 0===c||null===(s=c.ownerDocument)||void 0===s||!s.contains(a))}return f}(n))return!n.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var e=t.children.item(r);if("LEGEND"===e.tagName)return!!u.call(t,"fieldset[disabled] *")||!e.contains(n)}return!0}t=t.parentElement}return!1}(t))},y=function(n,t){return!(function(n){return function(n){return d(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,r=n.form||i(n),e=function(n){return r.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=e(window.CSS.escape(n.name));else try{t=e(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var o=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]}(t,n.form);return!o||o===n}(n)}(t)||c(t)<0||!p(n,t))},m=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},w=function n(t){var r=[],e=[];return t.forEach((function(t,o){var u=!!t.scopeParent,i=u?t.scopeParent:t,a=c(i,u),f=u?n(t.candidates):i;0===a?u?r.push.apply(r,f):r.push(i):e.push({documentOrder:o,tabIndex:a,item:t,isScope:u,content:f})})),e.sort(s).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(r)},E=function(n,t){var r;return r=(t=t||{}).getShadowRoot?l([n],t.includeContainer,{filter:y.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:m}):f(n,t.includeContainer,y.bind(null,t)),w(r)},h=function(n,t){return(t=t||{}).getShadowRoot?l([n],t.includeContainer,{filter:p.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):f(n,t.includeContainer,p.bind(null,t))},A=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,e)&&y(t,n)},S=r.concat("iframe").join(","),g=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,S)&&p(t,n)};const b={getShadowRoot:!0};function I(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function N(n){return Array.isArray(n)?n:Array.from(n)}function T(n){return C(n,`.${t.darkMode}, .${t.lightMode}`)?.classList.contains("calcite-mode-dark")?"dark":"light"}function x(n){const t=C(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function $(n,t,r){const e=n.closest(`[${t}]`);return e?e.getAttribute(t):r}function L(n){return n.getRootNode()}function R(n){const t=L(n);return"host"in t?t:null}function D(n){return n.host||null}function k(n,{selector:t,id:r}){return function n(e){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const o=L(e),u=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=D(o);return u||(i?n(i):null)}(n)}function C(n,t){return function n(r){return r?r.closest(t)||n(D(L(r))):null}(n)}function O(n,t){return U(n,t)}function U(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:e}=n;return U(e instanceof ShadowRoot?e.host:e,t)}function P(n,t){return!!O(t,(t=>t===n||void 0))}async function j(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function B(n){n&&(E(n,b)[0]||n).focus()}const z=":not([slot])";function F(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const e=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:z;return r?.all?function(n,t,r){let e=t===z?M(n,z):Array.from(n.querySelectorAll(t));e=r&&!1===r.direct?e:e.filter((t=>t.parentElement===n)),e=r?.matches?e.filter((n=>n?.matches(r.matches))):e;const o=r?.selector;return o?e.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):e}(n,e,r):function(n,t,r){let e=t===z?M(n,z)[0]||null:n.querySelector(t);e=r&&!1===r.direct||e?.parentElement===n?e:null,e=r?.matches?e?.matches(r.matches)?e:null:e;const o=r?.selector;return o?e?.querySelector(o):e}(n,e,r)}function M(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function q(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function G(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function V(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function X(n){return Boolean(n).toString()}function Y(n){return!!H(n).length}function H(n){return n.target.assignedElements({flatten:!0})}function J(n){return!(!n.isPrimary||0!==n.button)}const K=(n,t,r,e=!0)=>{const o=n.indexOf(t);let u;return e&&(r="previous"===r&&0===o?"last":"next"===r&&o===n.length-1?"first":r),u="previous"===r?n[o-1]||n[e?n.length-1:o]:"next"===r?n[o+1]||n[e?0:o]:"last"===r?n[n.length-1]:n[0],j(u),u};export{P as a,x as b,C as c,Y as d,G as e,j as f,F as g,T as h,J as i,K as j,E as k,h as l,A as m,g as n,b as o,B as p,k as q,I as r,H as s,X as t,R as u,$ as v,V as w,N as x,L as y,q as z}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.5.0-next.3
4
+ * v1.5.0-next.4
5
5
  */
6
6
  const n={menuActions:"menu-actions",menuTooltip:"menu-tooltip"},o={menu:"ellipsis"};export{o as I,n as S}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.5.0-next.3
4
+ * v1.5.0-next.4
5
5
  */
6
- import{r as i,c as t,h as e,H as a,a as n}from"./p-902b4f6e.js";import{c as o,d as s}from"./p-386f62e0.js";import{g as r,d as l,p as c,r as d}from"./p-50624216.js";import{d as m,a as h,c as p,u as b}from"./p-c121d63d.js";import{s as u,a as f,c as g}from"./p-a56fe1f7.js";import{c as v}from"./p-f8bfdbe4.js";import{o as x}from"./p-bc26f966.js";import{c as k,d as y}from"./p-8c5ad359.js";import{s as z,c as w,d as C,u as D}from"./p-428b49a8.js";import"./p-29b2baef.js";import"./p-c1848732.js";import"./p-3333277a.js";const $="modal",j="header",_="overflow-hidden",M="container",O="modal--opening-idle",F="modal--opening-active",B="modal--closing-idle",L="modal--closing-active",S="content",T="back",E="secondary",H="primary",q=class{constructor(e){i(this,e),this.calciteModalBeforeClose=t(this,"calciteModalBeforeClose",6),this.calciteModalClose=t(this,"calciteModalClose",6),this.calciteModalBeforeOpen=t(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=t(this,"calciteModalOpen",6),this.mutationObserver=v("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=v("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||this.close()},this.close=()=>this.beforeClose(this.el).then((()=>{this.open=!1,this.isOpen=!1,this.removeOverflowHiddenClass()})),this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[T,H,E])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=i=>{this.hasContentTop=l(i)},this.contentBottomSlotChangeHandler=i=>{this.hasContentBottom=l(i)},this.open=!1,this.beforeClose=()=>Promise.resolve(),this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.escapeDisabled=!1,this.scale="m",this.width="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.isOpen=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(i){this.open&&(i?m(this):h(this))}onMessagesChange(){}async componentWillLoad(){await z(this),u(this),this.open&&(x(this),requestAnimationFrame((()=>this.openModal())))}componentDidLoad(){f(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),o(this),k(this),w(this),p(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.cssVarObserver?.disconnect(),s(this),m(this),y(this),C(this),this.slottedInShell=!1}render(){return e(a,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("div",{class:{[M]:!0,"container--open":this.isOpen,"slotted-in-shell":this.slottedInShell}},e("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{class:{[$]:!0},ref:this.setTransitionEl},e("div",{class:j},this.renderCloseButton(),e("header",{class:"title"},e("slot",{name:j}))),this.renderContentTop(),e("div",{class:{content:!0,"content--no-footer":!this.hasFooter},ref:i=>this.modalContent=i},e("slot",{name:S})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?e("div",{class:"footer",key:"footer"},e("span",{class:"back"},e("slot",{name:T})),e("span",{class:"secondary"},e("slot",{name:E})),e("span",{class:"primary"},e("slot",{name:H}))):null}renderContentTop(){return e("div",{class:"content-top",hidden:!this.hasContentTop},e("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return e("div",{class:"content-bottom",hidden:!this.hasContentBottom},e("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:e("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.close,title:this.messages.close,ref:i=>this.closeButtonEl=i},e("calcite-icon",{icon:"x",scale:"s"===this.scale?"s":"m"===this.scale?"m":"l"===this.scale?"l":null}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return e("style",null,`.${M} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${$} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${M} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${$} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){D(this,this.effectiveLocale)}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.close(),i.preventDefault())}async setFocus(){await g(this),c(this.el)}async updateFocusTrapElements(){b(this)}async scrollContent(i=0,t=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:i,left:t,behavior:"smooth"}):(this.modalContent.scrollTop=i,this.modalContent.scrollLeft=t))}onBeforeOpen(){this.transitionEl.classList.add(F),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(O,F),this.calciteModalOpen.emit(),h(this)}onBeforeClose(){this.transitionEl.classList.add(L),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(B,L),this.calciteModalClose.emit(),m(this)}async toggleModal(i){x(this),i?(this.transitionEl?.classList.add(O),this.openModal()):(this.transitionEl?.classList.add(B),this.close())}openModal(){this.el.addEventListener("calciteModalOpen",this.openEnd),this.open=!0,this.isOpen=!0;const i=r(this.el,"header"),t=r(this.el,S);this.titleId=d(i),this.contentId=d(t),this.slottedInShell||document.documentElement.classList.add(_)}removeOverflowHiddenClass(){document.documentElement.classList.remove(_)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"]}}};q.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-modal-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-app-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([open]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-app-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-app-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-app-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width=s][docked]) .container{align-items:flex-end}}:host([width=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width=m][docked]) .container{align-items:flex-end}}:host([width=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([open][fullscreen]) .header,:host([open][fullscreen]) .footer,:host([open][fullscreen]) .content-top,:host([open][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-ui-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-ui-danger)}:host([kind=info]) .modal{border-color:var(--calcite-ui-info)}:host([kind=success]) .modal{border-color:var(--calcite-ui-success)}:host([kind=warning]) .modal{border-color:var(--calcite-ui-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container.slotted-in-shell{position:absolute;pointer-events:auto}.container.slotted-in-shell calcite-scrim{position:absolute}";export{q as calcite_modal}
6
+ import{r as i,c as t,h as e,H as a,a as n}from"./p-8789682d.js";import{c as o,d as s}from"./p-ce102a61.js";import{g as r,d as l,p as c,r as d}from"./p-68f223ec.js";import{d as m,a as h,c as p,u as b}from"./p-211e3b42.js";import{s as u,a as f,c as g}from"./p-deebcc06.js";import{c as v}from"./p-c8e46b02.js";import{o as x}from"./p-dcddc7b6.js";import{c as k,d as y}from"./p-743ed09c.js";import{s as z,c as w,d as C,u as D}from"./p-9dd9a26d.js";import"./p-d2aa9245.js";import"./p-9280476e.js";import"./p-4929e834.js";const $="modal",j="header",_="overflow-hidden",M="container",O="modal--opening-idle",F="modal--opening-active",B="modal--closing-idle",L="modal--closing-active",S="content",T="back",E="secondary",H="primary",q=class{constructor(e){i(this,e),this.calciteModalBeforeClose=t(this,"calciteModalBeforeClose",6),this.calciteModalClose=t(this,"calciteModalClose",6),this.calciteModalBeforeOpen=t(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=t(this,"calciteModalOpen",6),this.mutationObserver=v("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=v("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||this.close()},this.close=()=>this.beforeClose(this.el).then((()=>{this.open=!1,this.isOpen=!1,this.removeOverflowHiddenClass()})),this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[T,H,E])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=i=>{this.hasContentTop=l(i)},this.contentBottomSlotChangeHandler=i=>{this.hasContentBottom=l(i)},this.open=!1,this.beforeClose=()=>Promise.resolve(),this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.escapeDisabled=!1,this.scale="m",this.width="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.isOpen=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(i){this.open&&(i?m(this):h(this))}onMessagesChange(){}async componentWillLoad(){await z(this),u(this),this.open&&(x(this),requestAnimationFrame((()=>this.openModal())))}componentDidLoad(){f(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),o(this),k(this),w(this),p(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.cssVarObserver?.disconnect(),s(this),m(this),y(this),C(this),this.slottedInShell=!1}render(){return e(a,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("div",{class:{[M]:!0,"container--open":this.isOpen,"slotted-in-shell":this.slottedInShell}},e("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{class:{[$]:!0},ref:this.setTransitionEl},e("div",{class:j},this.renderCloseButton(),e("header",{class:"title"},e("slot",{name:j}))),this.renderContentTop(),e("div",{class:{content:!0,"content--no-footer":!this.hasFooter},ref:i=>this.modalContent=i},e("slot",{name:S})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?e("div",{class:"footer",key:"footer"},e("span",{class:"back"},e("slot",{name:T})),e("span",{class:"secondary"},e("slot",{name:E})),e("span",{class:"primary"},e("slot",{name:H}))):null}renderContentTop(){return e("div",{class:"content-top",hidden:!this.hasContentTop},e("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return e("div",{class:"content-bottom",hidden:!this.hasContentBottom},e("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:e("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.close,title:this.messages.close,ref:i=>this.closeButtonEl=i},e("calcite-icon",{icon:"x",scale:"s"===this.scale?"s":"m"===this.scale?"m":"l"===this.scale?"l":null}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return e("style",null,`.${M} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${$} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${M} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${$} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){D(this,this.effectiveLocale)}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.close(),i.preventDefault())}async setFocus(){await g(this),c(this.el)}async updateFocusTrapElements(){b(this)}async scrollContent(i=0,t=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:i,left:t,behavior:"smooth"}):(this.modalContent.scrollTop=i,this.modalContent.scrollLeft=t))}onBeforeOpen(){this.transitionEl.classList.add(F),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(O,F),this.calciteModalOpen.emit(),h(this)}onBeforeClose(){this.transitionEl.classList.add(L),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(B,L),this.calciteModalClose.emit(),m(this)}async toggleModal(i){x(this),i?(this.transitionEl?.classList.add(O),this.openModal()):(this.transitionEl?.classList.add(B),this.close())}openModal(){this.el.addEventListener("calciteModalOpen",this.openEnd),this.open=!0,this.isOpen=!0;const i=r(this.el,"header"),t=r(this.el,S);this.titleId=d(i),this.contentId=d(t),this.slottedInShell||document.documentElement.classList.add(_)}removeOverflowHiddenClass(){document.documentElement.classList.remove(_)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"]}}};q.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-modal-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-app-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([open]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-app-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-app-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-app-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width=s][docked]) .container{align-items:flex-end}}:host([width=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width=m][docked]) .container{align-items:flex-end}}:host([width=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([open][fullscreen]) .header,:host([open][fullscreen]) .footer,:host([open][fullscreen]) .content-top,:host([open][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-ui-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-ui-danger)}:host([kind=info]) .modal{border-color:var(--calcite-ui-info)}:host([kind=success]) .modal{border-color:var(--calcite-ui-success)}:host([kind=warning]) .modal{border-color:var(--calcite-ui-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container.slotted-in-shell{position:absolute;pointer-events:auto}.container.slotted-in-shell calcite-scrim{position:absolute}";export{q as calcite_modal}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.5.0-next.3
4
+ * v1.5.0-next.4
5
5
  */
6
- import{r as t,h as e,F as a,a as i,f as n}from"./p-902b4f6e.js";import{c as o,d as l}from"./p-386f62e0.js";import{d as r,s,g as c,b as h,i as d}from"./p-50624216.js";import{c as p,d as m}from"./p-8c5ad359.js";import{c as x}from"./p-6cc841ca.js";import{c as f,s as u,d as b,u as w}from"./p-428b49a8.js";import{C as v}from"./p-c1848732.js";import"./p-f8bfdbe4.js";import"./p-29b2baef.js";import"./p-3333277a.js";const y="content",g=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!r(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!r(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!r(t),s(t)?.map((t=>{"CALCITE-ALERT"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!r(t),s(t)?.map((t=>{"CALCITE-MODAL"===t.nodeName&&(t.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1}connectedCallback(){o(this)}disconnectedCallback(){l(this)}renderHeader(){return e("div",{hidden:!this.hasHeader},e("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return e("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},e("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return e("div",{hidden:!this.hasAlerts},e("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderModals(){return e("div",{hidden:!this.hasModals},e("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const t=e("slot",{key:"default-slot"}),a=e("slot",{key:"center-row-slot",name:"center-row"}),i=e("slot",{key:"panel-bottom-slot",name:"panel-bottom"}),n=e("slot",{key:"panel-top-slot",name:"panel-top"}),o="content-container";return this.contentBehind?[e("div",{class:{[y]:!0,"content--behind":!0},key:o},t),e("div",{class:"center-content"},n,i,a)]:[e("div",{class:y,key:o},n,t,i,a)]}renderMain(){return e("div",{class:"main"},e("slot",{name:"panel-start"}),this.renderContent(),e("slot",{name:"panel-end"}))}renderPositionedSlots(){return e("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals())}render(){return e(a,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return i(this)}};g.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}: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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:absolute;inset:0px;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}";const z="action-bar",k=class{constructor(e){t(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){o(this)}disconnectedCallback(){l(this)}render(){const{el:t}=this,i=e("div",{class:"content"},e("slot",null)),n=c(t,z),o=[n?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:z})):null,i];return"end"===n?.position&&o.reverse(),e(a,null,o)}get el(){return i(this)}};k.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}: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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{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)}";const _="header",D=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:a,step:i,stepMultiplier:n,layout:o,contentWidthMin:l,contentWidthMax:r,initialContentWidth:s,initialContentHeight:c,contentHeightMin:d,contentHeightMax:p,position:m}=this,x=i*n;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const f=["ArrowLeft","ArrowRight"],u=["ArrowDown","ArrowUp"],b="rtl"===h(a)&&f.includes(e)?-1:1;if("horizontal"===o?"end"===m?e===u[1]||e===f[0]:e===u[0]||e===f[1]:e===u[1]||("end"===m?e===f[0]:e===f[1])){const e=t.shiftKey?x:i;return"horizontal"===o?c+b*e:s+b*e}if("horizontal"===o?"end"===m?e===u[0]||e===f[0]:e===u[1]||e===f[1]:e===u[0]||("end"===m?e===f[1]:e===f[0])){const e=t.shiftKey?x:i;return"horizontal"===o?c-b*e:s-b*e}return"Home"===e&&"horizontal"===o&&"number"==typeof d?d:"Home"===e&&"vertical"===o&&"number"==typeof l?l:"End"===e&&"horizontal"===o&&"number"==typeof p?p:"End"===e&&"vertical"===o&&"number"==typeof r?r:"PageDown"===e?"horizontal"===o?c-x:s-x:"PageUp"===e?"horizontal"===o?c+x:s+x: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:a,initialContentWidth:i,initialContentHeight:n,position:o,initialClientX:l,initialClientY:r}=this,s="horizontal"===a?t.clientY-r:t.clientX-l,c="vertical"===a&&"rtl"===h(e)?-1:1,d="end"===o?-c*s:c*s;"horizontal"===a?this.setContentHeight(n+d):this.setContentWidth(i+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=s(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale=""}handleDetached(t){t?this.displayMode="float":"float"===this.displayMode&&(this.displayMode="dock")}handleDisplayMode(t){this.detached="float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){o(this),p(this),f(this)}async componentWillLoad(){await u(this)}disconnectedCallback(){l(this),this.disconnectSeparator(),m(this),b(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){w(this,this.effectiveLocale)}renderHeader(){const{el:t}=this;return c(t,_)?e("div",{class:"content__header",key:"header"},e("slot",{name:_})):null}render(){const{collapsed:t,position:a,initialContentWidth:i,initialContentHeight:n,contentWidth:o,contentWidthMax:l,contentWidthMin:r,contentHeight:s,contentHeightMax:c,contentHeightMin:d,resizable:p,layout:m,displayMode:x}=this,f=h(this.el),u="float"!==x&&p,b=u?"horizontal"===m?s?{height:`${s}px`}:null:o?{width:`${o}px`}:null:null,w=!t&&u?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===m?"vertical":"horizontal","aria-valuemax":"horizontal"==m?c:l,"aria-valuemin":"horizontal"==m?d:r,"aria-valuenow":"horizontal"==m?s??n:o??i,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,y=e("div",{class:{[v.rtl]:"rtl"===f,content:!0,"content--overlay":"overlay"===x,"content--float":"float"===x,[v.calciteAnimate]:"overlay"===x,["horizontal"===m?"start"===a?v.calciteAnimateInDown:v.calciteAnimateInUp:"ltr"===f&&"end"===a||"rtl"===f&&"start"===a?v.calciteAnimateInLeft:v.calciteAnimateInRight]:"overlay"===x},hidden:t,key:"content",style:b,ref:this.storeContentEl},this.renderHeader(),e("div",{class:"content__body"},e("slot",null)),w),g=[e("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),y];return"end"===a&&g.reverse(),e("div",{class:{container:!0}},g)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:a}=this,i=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof a?x(i,a,e):i}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),n(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:a}=this,i=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof a?x(i,a,e):i}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),a=parseInt(t.getPropertyValue("min-width"),10),i=parseInt(t.getPropertyValue("width"),10);"number"!=typeof i||isNaN(i)||(this.initialContentWidth=i),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof a||isNaN(a)||(this.contentWidthMin=a)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),a=parseInt(t.getPropertyValue("min-height"),10),i=parseInt(t.getPropertyValue("height"),10);"number"!=typeof i||isNaN(i)||(this.initialContentHeight=i),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof a||isNaN(a)||(this.contentHeightMin=a)}static get assetsDirs(){return["assets"]}get el(){return i(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};D.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{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}";export{g as calcite_shell,k as calcite_shell_center_row,D as calcite_shell_panel}
6
+ import{r as t,h as e,F as a,a as i,f as n}from"./p-8789682d.js";import{c as o,d as l}from"./p-ce102a61.js";import{d as r,s,g as c,b as h,i as d}from"./p-68f223ec.js";import{c as p,d as m}from"./p-743ed09c.js";import{c as x}from"./p-cf8ea66f.js";import{c as u,s as f,d as b,u as w}from"./p-9dd9a26d.js";import{C as v}from"./p-9280476e.js";import"./p-c8e46b02.js";import"./p-d2aa9245.js";import"./p-4929e834.js";const y="content",g=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!r(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!r(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!r(t),s(t)?.map((t=>{"CALCITE-ALERT"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!r(t),s(t)?.map((t=>{"CALCITE-MODAL"===t.nodeName&&(t.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1}connectedCallback(){o(this)}disconnectedCallback(){l(this)}renderHeader(){return e("div",{hidden:!this.hasHeader},e("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return e("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},e("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return e("div",{hidden:!this.hasAlerts},e("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderModals(){return e("div",{hidden:!this.hasModals},e("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const t=e("slot",{key:"default-slot"}),a=e("slot",{key:"center-row-slot",name:"center-row"}),i=e("slot",{key:"panel-bottom-slot",name:"panel-bottom"}),n=e("slot",{key:"panel-top-slot",name:"panel-top"}),o="content-container";return this.contentBehind?[e("div",{class:{[y]:!0,"content--behind":!0},key:o},t),e("div",{class:"center-content"},n,i,a)]:[e("div",{class:y,key:o},n,t,i,a)]}renderMain(){return e("div",{class:"main"},e("slot",{name:"panel-start"}),this.renderContent(),e("slot",{name:"panel-end"}))}renderPositionedSlots(){return e("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals())}render(){return e(a,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return i(this)}};g.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}: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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:absolute;inset:0px;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}";const z="action-bar",k=class{constructor(e){t(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){o(this)}disconnectedCallback(){l(this)}render(){const{el:t}=this,i=e("div",{class:"content"},e("slot",null)),n=c(t,z),o=[n?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:z})):null,i];return"end"===n?.position&&o.reverse(),e(a,null,o)}get el(){return i(this)}};k.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}: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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{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)}";const _="header",D=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:a,step:i,stepMultiplier:n,layout:o,contentWidthMin:l,contentWidthMax:r,initialContentWidth:s,initialContentHeight:c,contentHeightMin:d,contentHeightMax:p,position:m}=this,x=i*n;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const u=["ArrowLeft","ArrowRight"],f=["ArrowDown","ArrowUp"],b="rtl"===h(a)&&u.includes(e)?-1:1;if("horizontal"===o?"end"===m?e===f[1]||e===u[0]:e===f[0]||e===u[1]:e===f[1]||("end"===m?e===u[0]:e===u[1])){const e=t.shiftKey?x:i;return"horizontal"===o?c+b*e:s+b*e}if("horizontal"===o?"end"===m?e===f[0]||e===u[0]:e===f[1]||e===u[1]:e===f[0]||("end"===m?e===u[1]:e===u[0])){const e=t.shiftKey?x:i;return"horizontal"===o?c-b*e:s-b*e}return"Home"===e&&"horizontal"===o&&"number"==typeof d?d:"Home"===e&&"vertical"===o&&"number"==typeof l?l:"End"===e&&"horizontal"===o&&"number"==typeof p?p:"End"===e&&"vertical"===o&&"number"==typeof r?r:"PageDown"===e?"horizontal"===o?c-x:s-x:"PageUp"===e?"horizontal"===o?c+x:s+x: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:a,initialContentWidth:i,initialContentHeight:n,position:o,initialClientX:l,initialClientY:r}=this,s="horizontal"===a?t.clientY-r:t.clientX-l,c="vertical"===a&&"rtl"===h(e)?-1:1,d="end"===o?-c*s:c*s;"horizontal"===a?this.setContentHeight(n+d):this.setContentWidth(i+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=s(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale=""}handleDetached(t){t?this.displayMode="float":"float"===this.displayMode&&(this.displayMode="dock")}handleDisplayMode(t){this.detached="float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){o(this),p(this),u(this)}async componentWillLoad(){await f(this)}disconnectedCallback(){l(this),this.disconnectSeparator(),m(this),b(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){w(this,this.effectiveLocale)}renderHeader(){const{el:t}=this;return c(t,_)?e("div",{class:"content__header",key:"header"},e("slot",{name:_})):null}render(){const{collapsed:t,position:a,initialContentWidth:i,initialContentHeight:n,contentWidth:o,contentWidthMax:l,contentWidthMin:r,contentHeight:s,contentHeightMax:c,contentHeightMin:d,resizable:p,layout:m,displayMode:x}=this,u=h(this.el),f="float"!==x&&p,b=f?"horizontal"===m?s?{height:`${s}px`}:null:o?{width:`${o}px`}:null:null,w=!t&&f?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===m?"vertical":"horizontal","aria-valuemax":"horizontal"==m?c:l,"aria-valuemin":"horizontal"==m?d:r,"aria-valuenow":"horizontal"==m?s??n:o??i,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,y=e("div",{class:{[v.rtl]:"rtl"===u,content:!0,"content--overlay":"overlay"===x,"content--float":"float"===x,[v.calciteAnimate]:"overlay"===x,["horizontal"===m?"start"===a?v.calciteAnimateInDown:v.calciteAnimateInUp:"ltr"===u&&"end"===a||"rtl"===u&&"start"===a?v.calciteAnimateInLeft:v.calciteAnimateInRight]:"overlay"===x},hidden:t,key:"content",style:b,ref:this.storeContentEl},this.renderHeader(),e("div",{class:"content__body"},e("slot",null)),w),g=[e("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),y];return"end"===a&&g.reverse(),e("div",{class:{container:!0}},g)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:a}=this,i=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof a?x(i,a,e):i}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),n(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:a}=this,i=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof a?x(i,a,e):i}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),a=parseInt(t.getPropertyValue("min-width"),10),i=parseInt(t.getPropertyValue("width"),10);"number"!=typeof i||isNaN(i)||(this.initialContentWidth=i),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof a||isNaN(a)||(this.contentWidthMin=a)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),a=parseInt(t.getPropertyValue("min-height"),10),i=parseInt(t.getPropertyValue("height"),10);"number"!=typeof i||isNaN(i)||(this.initialContentHeight=i),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof a||isNaN(a)||(this.contentHeightMin=a)}static get assetsDirs(){return["assets"]}get el(){return i(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};D.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{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}";export{g as calcite_shell,k as calcite_shell_center_row,D as calcite_shell_panel}