@esri/calcite-components 1.7.0-next.19 → 1.7.0-next.20

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 (971) 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-04795428.entry.js +6 -0
  4. package/dist/calcite/{p-e4206b79.js → p-055d6bb8.js} +2 -2
  5. package/dist/calcite/{p-ed19d6b1.js → p-069834a4.js} +2 -2
  6. package/dist/calcite/{p-3988602b.entry.js → p-07c9c175.entry.js} +2 -2
  7. package/dist/calcite/{p-e9309e35.js → p-0937973d.js} +2 -2
  8. package/dist/calcite/{p-c8585f57.js → p-09dd926f.js} +2 -2
  9. package/dist/calcite/{p-185d81e1.js → p-0b485d36.js} +2 -2
  10. package/dist/calcite/{p-eb50cbfc.entry.js → p-0ba82898.entry.js} +2 -2
  11. package/dist/calcite/{p-f82f7cb8.entry.js → p-0ddac448.entry.js} +2 -2
  12. package/dist/calcite/{p-5fe7e41b.js → p-105923b8.js} +2 -2
  13. package/dist/calcite/{p-429d53db.js → p-1072f697.js} +1 -1
  14. package/dist/calcite/{p-db3b90e5.js → p-10edabda.js} +2 -2
  15. package/dist/calcite/p-12a870da.js +6 -0
  16. package/dist/calcite/{p-d21757c6.entry.js → p-1459127a.entry.js} +2 -2
  17. package/dist/calcite/{p-dfaa748c.js → p-14fec0cc.js} +2 -2
  18. package/dist/calcite/{p-634c26c9.entry.js → p-15ec5ff0.entry.js} +2 -2
  19. package/dist/calcite/{p-a6f102bb.js → p-196d9a93.js} +2 -2
  20. package/dist/calcite/{p-aa914aa6.js → p-1ad2a366.js} +2 -2
  21. package/dist/calcite/{p-2a52a643.entry.js → p-1cdc7d99.entry.js} +2 -2
  22. package/dist/calcite/{p-7d824bbf.js → p-20ab6559.js} +1 -1
  23. package/dist/calcite/{p-5cada24b.entry.js → p-20b870e7.entry.js} +2 -2
  24. package/dist/calcite/{p-ef82a8d6.entry.js → p-2f5f993d.entry.js} +2 -2
  25. package/dist/calcite/{p-fabe7c87.js → p-2f6435ed.js} +1 -1
  26. package/dist/calcite/{p-b0baf314.js → p-2fcb0e94.js} +2 -2
  27. package/dist/calcite/{p-e2743940.js → p-307c56bc.js} +2 -2
  28. package/dist/calcite/{p-1406a072.js → p-312ac7d1.js} +2 -2
  29. package/dist/calcite/{p-bec36110.js → p-31d73bd1.js} +2 -2
  30. package/dist/calcite/{p-7326d2c3.js → p-32a009c0.js} +2 -2
  31. package/dist/calcite/{p-57f253dc.js → p-32e7a154.js} +1 -1
  32. package/dist/calcite/p-34f86a98.js +6 -0
  33. package/dist/calcite/{p-b03b3ee6.js → p-35cbd25c.js} +2 -2
  34. package/dist/calcite/{p-44372911.entry.js → p-367661b7.entry.js} +2 -2
  35. package/dist/calcite/{p-c5242f0b.entry.js → p-3751ccec.entry.js} +2 -2
  36. package/dist/calcite/{p-e64ae5f1.entry.js → p-3763a94d.entry.js} +2 -2
  37. package/dist/calcite/{p-754019fa.entry.js → p-3ce64b1b.entry.js} +2 -2
  38. package/dist/calcite/{p-b8f8dd11.entry.js → p-3d2166bf.entry.js} +2 -2
  39. package/dist/calcite/{p-eb083c99.entry.js → p-3dcbdaeb.entry.js} +2 -2
  40. package/dist/calcite/{p-f4f95041.entry.js → p-3e2bed55.entry.js} +2 -2
  41. package/dist/calcite/{p-4c345e4c.js → p-3e4b8bea.js} +2 -2
  42. package/dist/calcite/{p-18ac3650.js → p-400c792e.js} +2 -2
  43. package/dist/calcite/{p-70107504.entry.js → p-40445002.entry.js} +2 -2
  44. package/dist/calcite/{p-5c7909f9.entry.js → p-40b0c095.entry.js} +2 -2
  45. package/dist/calcite/{p-427f74a3.entry.js → p-4270a61d.entry.js} +2 -2
  46. package/dist/calcite/p-4341f02a.entry.js +6 -0
  47. package/dist/calcite/{p-f22f90a2.entry.js → p-4378ac13.entry.js} +2 -2
  48. package/dist/calcite/p-43c766ad.entry.js +6 -0
  49. package/dist/calcite/{p-9be86efa.js → p-44c18974.js} +2 -2
  50. package/dist/calcite/{p-b48f8e9c.entry.js → p-451b0d40.entry.js} +2 -2
  51. package/dist/calcite/{p-f77690b0.js → p-479102a9.js} +1 -1
  52. package/dist/calcite/{p-02990b9a.js → p-49f417e9.js} +1 -1
  53. package/dist/calcite/{p-0c567b1c.js → p-4c63e55f.js} +1 -1
  54. package/dist/calcite/{p-d662680f.entry.js → p-4cd8a908.entry.js} +2 -2
  55. package/dist/calcite/p-4ff9ddca.js +6 -0
  56. package/dist/calcite/p-5010d2ff.js +6 -0
  57. package/dist/calcite/p-519eb2bd.entry.js +6 -0
  58. package/dist/calcite/{p-999184d4.entry.js → p-536f91a8.entry.js} +2 -2
  59. package/dist/calcite/{p-9385ca77.js → p-56484b88.js} +2 -2
  60. package/dist/calcite/{p-40626cbb.entry.js → p-5ba139c0.entry.js} +2 -2
  61. package/dist/calcite/{p-6626b1ab.js → p-5c08d3ed.js} +2 -2
  62. package/dist/calcite/{p-aa9f25c6.js → p-5d40d6df.js} +2 -2
  63. package/dist/calcite/{p-deef244a.js → p-5e23ccba.js} +2 -2
  64. package/dist/calcite/{p-3ade8f57.js → p-5e503ddf.js} +1 -1
  65. package/dist/calcite/{p-f0a1ad4b.entry.js → p-61197d3b.entry.js} +2 -2
  66. package/dist/calcite/{p-f79d4546.js → p-617de4fd.js} +2 -2
  67. package/dist/calcite/{p-2aeaedb8.js → p-66d2625a.js} +2 -2
  68. package/dist/calcite/{p-02f48945.entry.js → p-696681d4.entry.js} +2 -2
  69. package/dist/calcite/{p-872e3bf7.js → p-6a10c08d.js} +1 -1
  70. package/dist/calcite/p-6bcc994c.js +6 -0
  71. package/dist/calcite/{p-1cf0db8b.entry.js → p-6c6585f3.entry.js} +2 -2
  72. package/dist/calcite/{p-381dc233.js → p-6e41acd6.js} +2 -2
  73. package/dist/calcite/{p-f348d00a.js → p-6eddbdd6.js} +2 -2
  74. package/dist/calcite/{p-15647567.entry.js → p-6f419964.entry.js} +2 -2
  75. package/dist/calcite/{p-68dbb876.js → p-72162656.js} +2 -2
  76. package/dist/calcite/{p-bcda0f15.entry.js → p-72b1e772.entry.js} +2 -2
  77. package/dist/calcite/{p-b021d6c2.js → p-73dee48d.js} +2 -2
  78. package/dist/calcite/{p-8f467918.entry.js → p-79fecd10.entry.js} +2 -2
  79. package/dist/calcite/{p-6a743785.entry.js → p-7d399ecf.entry.js} +2 -2
  80. package/dist/calcite/{p-4fee79e2.entry.js → p-8216acf5.entry.js} +2 -2
  81. package/dist/calcite/{p-af6b4665.js → p-82b60f2a.js} +2 -2
  82. package/dist/calcite/{p-87352085.js → p-86993565.js} +2 -2
  83. package/dist/calcite/{p-61cb77cc.entry.js → p-8711cfe3.entry.js} +2 -2
  84. package/dist/calcite/{p-7d3ea013.js → p-88d0e5ff.js} +1 -1
  85. package/dist/calcite/{p-a9caf330.js → p-8941ac4e.js} +1 -1
  86. package/dist/calcite/{p-b46a95f6.entry.js → p-8a82a72a.entry.js} +2 -2
  87. package/dist/calcite/{p-fe0ff403.js → p-8b64c992.js} +2 -2
  88. package/dist/calcite/{p-fa9fc25e.entry.js → p-8bda8710.entry.js} +2 -2
  89. package/dist/calcite/{p-897ff740.entry.js → p-8f91c7be.entry.js} +2 -2
  90. package/dist/calcite/{p-6470e535.js → p-8fca15c9.js} +2 -2
  91. package/dist/calcite/p-91844d4a.js +6 -0
  92. package/dist/calcite/{p-18c1af85.entry.js → p-950e50a2.entry.js} +2 -2
  93. package/dist/calcite/{p-4e24172e.js → p-971c488c.js} +2 -2
  94. package/dist/calcite/{p-c476e7fa.js → p-984ea7d0.js} +2 -2
  95. package/dist/calcite/{p-902ea2e7.js → p-9d575311.js} +2 -2
  96. package/dist/calcite/{p-5d653901.entry.js → p-9d721a0c.entry.js} +2 -2
  97. package/dist/calcite/p-9e2d819d.entry.js +6 -0
  98. package/dist/calcite/p-9e439821.entry.js +6 -0
  99. package/dist/calcite/{p-dc127b58.js → p-9e8080cf.js} +1 -1
  100. package/dist/calcite/p-a087ffd2.entry.js +6 -0
  101. package/dist/calcite/{p-d833547b.js → p-a0e9ecc4.js} +2 -2
  102. package/dist/calcite/{p-a184eecc.js → p-a1737817.js} +2 -2
  103. package/dist/calcite/{p-d934acf2.entry.js → p-a1779111.entry.js} +2 -2
  104. package/dist/calcite/{p-8d995d26.entry.js → p-a4b172ec.entry.js} +2 -2
  105. package/dist/calcite/{p-9a0913c4.js → p-a4bc82c2.js} +2 -2
  106. package/dist/calcite/{p-d2cf8867.js → p-a5985717.js} +2 -2
  107. package/dist/calcite/{p-b75b04f6.js → p-a818fdc2.js} +1 -1
  108. package/dist/calcite/{p-1e156005.entry.js → p-a835e18e.entry.js} +2 -2
  109. package/dist/calcite/{p-e8a9892b.entry.js → p-aa5f0aec.entry.js} +2 -2
  110. package/dist/calcite/{p-d2f430cf.js → p-b2e59eca.js} +2 -2
  111. package/dist/calcite/{p-4c57d16b.js → p-b392b026.js} +2 -2
  112. package/dist/calcite/{p-20400982.entry.js → p-b3c0b47e.entry.js} +2 -2
  113. package/dist/calcite/{p-3b9972d7.js → p-b4955122.js} +2 -2
  114. package/dist/calcite/{p-102ae572.entry.js → p-b4ed25ef.entry.js} +2 -2
  115. package/dist/calcite/{p-7da867af.entry.js → p-b53f2980.entry.js} +2 -2
  116. package/dist/calcite/{p-7ef0fc9a.js → p-b56027a5.js} +2 -2
  117. package/dist/calcite/{p-57c44f4f.js → p-b99be95f.js} +2 -2
  118. package/dist/calcite/p-b9dbd137.entry.js +6 -0
  119. package/dist/calcite/{p-b3217cd8.js → p-ba656362.js} +2 -2
  120. package/dist/calcite/{p-d4f9e8a9.entry.js → p-becffd47.entry.js} +2 -2
  121. package/dist/calcite/{p-dc28728c.entry.js → p-bf786574.entry.js} +2 -2
  122. package/dist/calcite/p-c00aef7a.js +6 -0
  123. package/dist/calcite/{p-29e47662.js → p-c25b026e.js} +2 -2
  124. package/dist/calcite/{p-6f88b0b2.entry.js → p-c3f89fbe.entry.js} +2 -2
  125. package/dist/calcite/{p-9d74db7f.entry.js → p-c54f72e8.entry.js} +2 -2
  126. package/dist/calcite/{p-188b6ce0.entry.js → p-c6b0ab7b.entry.js} +2 -2
  127. package/dist/calcite/{p-67bb484b.entry.js → p-c72f54de.entry.js} +2 -2
  128. package/dist/calcite/{p-314a5324.entry.js → p-c7d58e77.entry.js} +2 -2
  129. package/dist/calcite/{p-f4051ed8.entry.js → p-cbd2c542.entry.js} +2 -2
  130. package/dist/calcite/{p-1a4b1396.entry.js → p-cd0d88fe.entry.js} +2 -2
  131. package/dist/calcite/{p-7972825e.js → p-cd52e5e6.js} +2 -2
  132. package/dist/calcite/{p-3f65bbf6.js → p-cdf58f13.js} +2 -2
  133. package/dist/calcite/{p-9c8e549f.js → p-cee985a2.js} +2 -2
  134. package/dist/calcite/{p-9e092c1f.js → p-cff6620b.js} +2 -2
  135. package/dist/calcite/{p-c0e3f382.entry.js → p-d01da366.entry.js} +2 -2
  136. package/dist/calcite/{p-5af4edb9.js → p-d02205f3.js} +1 -1
  137. package/dist/calcite/{p-5e508553.js → p-d0ebf4c4.js} +2 -2
  138. package/dist/calcite/p-d10a0d89.entry.js +6 -0
  139. package/dist/calcite/{p-af8a5ad1.js → p-d1e91f3f.js} +2 -2
  140. package/dist/calcite/{p-f35a3f99.js → p-d43a4d60.js} +2 -2
  141. package/dist/calcite/{p-9ca7f4af.entry.js → p-d4dc20f3.entry.js} +2 -2
  142. package/dist/calcite/{p-9cef8991.entry.js → p-d5de6d89.entry.js} +2 -2
  143. package/dist/calcite/{p-cabacd7b.js → p-d6c48df2.js} +2 -2
  144. package/dist/calcite/{p-3715cc3e.js → p-d974298a.js} +2 -2
  145. package/dist/calcite/{p-37ba641f.js → p-da0fe9e9.js} +1 -1
  146. package/dist/calcite/{p-384d2aba.entry.js → p-e40a8bce.entry.js} +2 -2
  147. package/dist/calcite/{p-9de50a36.js → p-e5223c2c.js} +2 -2
  148. package/dist/calcite/{p-14a77225.js → p-e5b87bab.js} +2 -2
  149. package/dist/calcite/{p-88837f42.js → p-e7b49414.js} +2 -2
  150. package/dist/calcite/{p-a10e4482.js → p-eb0ecd49.js} +3 -3
  151. package/dist/calcite/{p-5a62a6c9.entry.js → p-ed6e0845.entry.js} +2 -2
  152. package/dist/calcite/p-ed8b861e.entry.js +6 -0
  153. package/dist/calcite/{p-90565300.js → p-eefd5d17.js} +2 -2
  154. package/dist/calcite/{p-07ed817d.entry.js → p-efa34525.entry.js} +2 -2
  155. package/dist/calcite/{p-df5b193f.js → p-f1a9ed23.js} +1 -1
  156. package/dist/calcite/{p-56dd4d97.entry.js → p-f1aafe0d.entry.js} +2 -2
  157. package/dist/calcite/{p-28fcfd03.entry.js → p-f5e5941b.entry.js} +2 -2
  158. package/dist/calcite/{p-669843df.js → p-fa1d38a8.js} +2 -2
  159. package/dist/cjs/{ExpandToggle-c76bfe8c.js → ExpandToggle-def7f3d2.js} +5 -5
  160. package/dist/cjs/{FloatingArrow-3a5d5ca7.js → FloatingArrow-8a6dee60.js} +2 -2
  161. package/dist/cjs/{Heading-e76bf6d7.js → Heading-62a73972.js} +2 -2
  162. package/dist/cjs/{app-globals-1677ce1d.js → app-globals-8ea77e20.js} +2 -2
  163. package/dist/cjs/{ar-4f564400.js → ar-0919e98a.js} +17 -17
  164. package/dist/cjs/{array-3c223d8a.js → array-ac2e9448.js} +1 -1
  165. package/dist/cjs/{bg-021b6282.js → bg-70ac9c90.js} +17 -17
  166. package/dist/cjs/{browser-aeb57166.js → browser-8d31dfd0.js} +1 -1
  167. package/dist/cjs/{bs-e0d58da9.js → bs-0221cfaa.js} +17 -17
  168. package/dist/cjs/{ca-7f85b36b.js → ca-1a537105.js} +17 -17
  169. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  170. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  171. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  172. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  173. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  174. package/dist/cjs/calcite-action.cjs.entry.js +12 -12
  175. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  176. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  177. package/dist/cjs/calcite-block_2.cjs.entry.js +14 -14
  178. package/dist/cjs/calcite-button.cjs.entry.js +14 -14
  179. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  180. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  181. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
  182. package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
  183. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
  184. package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -19
  185. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -14
  186. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -13
  187. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  188. package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
  189. package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
  190. package/dist/cjs/calcite-flow.cjs.entry.js +7 -6
  191. package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -14
  192. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  193. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  194. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
  195. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -19
  196. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  197. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  198. package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
  199. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-b97d3579.js → calcite-input-time-picker.calcite-time-picker-7565deb6.js} +61 -61
  200. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +17 -17
  201. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +14 -14
  202. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  203. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-link.cjs.entry.js +8 -8
  205. package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
  206. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  207. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  208. package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
  209. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  210. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  211. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  212. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
  213. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  214. package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
  215. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
  216. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  217. package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  219. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
  220. package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
  221. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  222. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -11
  223. package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
  224. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  225. package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
  226. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
  227. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  228. package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -11
  229. package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
  230. package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
  231. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +12 -12
  232. package/dist/cjs/calcite-table-row.cjs.entry.js +8 -8
  233. package/dist/cjs/calcite-table.cjs.entry.js +11 -11
  234. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
  235. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  236. package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
  237. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  238. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  239. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
  240. package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
  241. package/dist/cjs/calcite.cjs.js +5 -5
  242. package/dist/cjs/{conditionalSlot-22a7444f.js → conditionalSlot-82e34115.js} +3 -3
  243. package/dist/cjs/{cs-31d48828.js → cs-2420cc8f.js} +17 -17
  244. package/dist/cjs/{da-153d2e18.js → da-475f4fc2.js} +17 -17
  245. package/dist/cjs/{de-d00d9193.js → de-8c18e85c.js} +17 -17
  246. package/dist/cjs/{de-at-bde2da78.js → de-at-40b9bfa0.js} +17 -17
  247. package/dist/cjs/{de-ch-f667b648.js → de-ch-ff0409a8.js} +17 -17
  248. package/dist/cjs/{debounce-6ce021af.js → debounce-684fc180.js} +1 -1
  249. package/dist/cjs/{dom-2ebce761.js → dom-77952532.js} +3 -3
  250. package/dist/cjs/{el-33109e33.js → el-cd40fe8a.js} +17 -17
  251. package/dist/cjs/{en-au-5cbf69e1.js → en-au-b1790f46.js} +17 -17
  252. package/dist/cjs/{en-ca-3d138b80.js → en-ca-38304be0.js} +17 -17
  253. package/dist/cjs/{en-gb-20a01f3c.js → en-gb-6bdc6c3f.js} +17 -17
  254. package/dist/cjs/{es-7a96e1df.js → es-9cd64fd5.js} +17 -17
  255. package/dist/cjs/{es-mx-25eb0cb2.js → es-mx-5ae583cb.js} +17 -17
  256. package/dist/cjs/{et-b57e5b96.js → et-93c45728.js} +17 -17
  257. package/dist/cjs/{fi-02578986.js → fi-56d2b58e.js} +17 -17
  258. package/dist/cjs/{filter-c976a90b.js → filter-1836ca44.js} +2 -2
  259. package/dist/cjs/{floating-ui-0c72b350.js → floating-ui-7abcf5b5.js} +3 -3
  260. package/dist/cjs/{focusTrapComponent-afcab509.js → focusTrapComponent-69f9e266.js} +2 -2
  261. package/dist/cjs/{form-feebcf1c.js → form-0927c805.js} +3 -3
  262. package/dist/cjs/{fr-9b4b9cb3.js → fr-10b7a5a7.js} +17 -17
  263. package/dist/cjs/{fr-ch-dab20d35.js → fr-ch-3443072b.js} +17 -17
  264. package/dist/cjs/{guid-77c3b76c.js → guid-d336975c.js} +1 -1
  265. package/dist/cjs/{he-f1c6a82c.js → he-bfb26ef2.js} +17 -17
  266. package/dist/cjs/{hi-41bcdf6d.js → hi-17c9cdd3.js} +17 -17
  267. package/dist/cjs/{hr-ae799368.js → hr-95393487.js} +17 -17
  268. package/dist/cjs/{hu-1616cc1e.js → hu-9c3dc34c.js} +17 -17
  269. package/dist/cjs/{id-cce93675.js → id-e93b691d.js} +17 -17
  270. package/dist/cjs/{index-2c334c91.js → index-c8d9234f.js} +1 -1
  271. package/dist/cjs/index.cjs.js +2 -2
  272. package/dist/cjs/{interactive-cd92bc2b.js → interactive-563a94c5.js} +2 -2
  273. package/dist/cjs/{it-dbbdd862.js → it-8f400bf7.js} +17 -17
  274. package/dist/cjs/{it-ch-5064a0dc.js → it-ch-2e42084e.js} +17 -17
  275. package/dist/cjs/{ja-6e751300.js → ja-5883a7b1.js} +17 -17
  276. package/dist/cjs/{key-8fd36c77.js → key-67f06f67.js} +1 -1
  277. package/dist/cjs/{ko-c30b3d87.js → ko-e3233577.js} +17 -17
  278. package/dist/cjs/{label-0dfddc62.js → label-2a319c69.js} +2 -2
  279. package/dist/cjs/{loadable-d939c353.js → loadable-bfd95db2.js} +2 -2
  280. package/dist/cjs/loader.cjs.js +5 -5
  281. package/dist/cjs/{locale-48e01f6d.js → locale-69953dd8.js} +4 -4
  282. package/dist/cjs/{lt-636d54e9.js → lt-7a5b443b.js} +17 -17
  283. package/dist/cjs/{lv-be4b71a0.js → lv-5db9b6d0.js} +17 -17
  284. package/dist/cjs/{math-fcf5a0f8.js → math-c50fec91.js} +1 -1
  285. package/dist/cjs/{mk-bc57fd46.js → mk-1ecd2a0b.js} +17 -17
  286. package/dist/cjs/{nb-4ef07926.js → nb-5fe59c75.js} +17 -17
  287. package/dist/cjs/{nl-8aac83c2.js → nl-8603e89c.js} +17 -17
  288. package/dist/cjs/{observers-d891a410.js → observers-dc337b6a.js} +1 -1
  289. package/dist/cjs/{openCloseComponent-ccd6ddc9.js → openCloseComponent-2dd6927e.js} +2 -2
  290. package/dist/cjs/{pl-c9e98798.js → pl-42663c31.js} +17 -17
  291. package/dist/cjs/{pt-br-6e07e1d6.js → pt-br-c4faac57.js} +17 -17
  292. package/dist/cjs/{pt-ad764f23.js → pt-f0ea693e.js} +17 -17
  293. package/dist/cjs/{resources-71a66cfb.js → resources-11c578da.js} +1 -1
  294. package/dist/cjs/{resources-4ba9e8b5.js → resources-2e83efa7.js} +5 -5
  295. package/dist/cjs/{resources-dbcdf3c3.js → resources-60a27062.js} +1 -1
  296. package/dist/cjs/{resources-7560021d.js → resources-7023a391.js} +1 -1
  297. package/dist/cjs/{resources-b6a1dca2.js → resources-ae431f8b.js} +1 -1
  298. package/dist/cjs/{resources-e14901d2.js → resources-c24ce712.js} +1 -1
  299. package/dist/cjs/{resources-8adec15f.js → resources-f1b195c2.js} +1 -1
  300. package/dist/cjs/{ro-3a1e26a7.js → ro-e8247edb.js} +17 -17
  301. package/dist/cjs/{ru-12b1eb75.js → ru-02bf0b09.js} +17 -17
  302. package/dist/cjs/{sk-b1516dab.js → sk-15695153.js} +17 -17
  303. package/dist/cjs/{sl-22c7308a.js → sl-7a808853.js} +17 -17
  304. package/dist/cjs/{sortableComponent-ca46f630.js → sortableComponent-67b2c9f0.js} +1 -1
  305. package/dist/cjs/{sr-75eb5a85.js → sr-11bfb1fe.js} +17 -17
  306. package/dist/cjs/{sv-6a47013e.js → sv-d1a1186a.js} +17 -17
  307. package/dist/cjs/{t9n-28a0fcde.js → t9n-a884e96d.js} +3 -3
  308. package/dist/cjs/{th-25eb22c9.js → th-12662f1c.js} +17 -17
  309. package/dist/cjs/{throttle-cb7772b6.js → throttle-07ce1c30.js} +2 -2
  310. package/dist/cjs/{tr-31cf5c6b.js → tr-e4e5d736.js} +17 -17
  311. package/dist/cjs/{uk-e4bc39a8.js → uk-d28f2691.js} +17 -17
  312. package/dist/cjs/{utils-e42d5351.js → utils-6eb1a261.js} +1 -1
  313. package/dist/cjs/{utils-f135be62.js → utils-e311226d.js} +3 -3
  314. package/dist/cjs/{vi-fc1cff55.js → vi-3faba2c0.js} +17 -17
  315. package/dist/cjs/{zh-cn-72d37c2c.js → zh-cn-019e5854.js} +17 -17
  316. package/dist/cjs/{zh-hk-7a646186.js → zh-hk-c75f0f4d.js} +17 -17
  317. package/dist/cjs/{zh-tw-6829774b.js → zh-tw-ccd43dde.js} +17 -17
  318. package/dist/collection/components/accordion/accordion.js +1 -1
  319. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  320. package/dist/collection/components/accordion-item/resources.js +1 -1
  321. package/dist/collection/components/action/action.js +1 -1
  322. package/dist/collection/components/action/resources.js +1 -1
  323. package/dist/collection/components/action-bar/action-bar.js +1 -1
  324. package/dist/collection/components/action-bar/resources.js +1 -1
  325. package/dist/collection/components/action-bar/utils.js +1 -1
  326. package/dist/collection/components/action-group/action-group.js +1 -1
  327. package/dist/collection/components/action-group/resources.js +1 -1
  328. package/dist/collection/components/action-menu/action-menu.js +1 -1
  329. package/dist/collection/components/action-menu/resources.js +1 -1
  330. package/dist/collection/components/action-pad/action-pad.js +1 -1
  331. package/dist/collection/components/action-pad/resources.js +1 -1
  332. package/dist/collection/components/alert/alert.js +1 -1
  333. package/dist/collection/components/alert/resources.js +1 -1
  334. package/dist/collection/components/avatar/avatar.js +1 -1
  335. package/dist/collection/components/avatar/utils.js +1 -1
  336. package/dist/collection/components/block/block.js +1 -1
  337. package/dist/collection/components/block/resources.js +1 -1
  338. package/dist/collection/components/block-section/block-section.js +1 -1
  339. package/dist/collection/components/block-section/resources.js +1 -1
  340. package/dist/collection/components/button/button.js +1 -1
  341. package/dist/collection/components/button/resources.js +1 -1
  342. package/dist/collection/components/card/card.js +1 -1
  343. package/dist/collection/components/card/resources.js +1 -1
  344. package/dist/collection/components/checkbox/checkbox.js +1 -1
  345. package/dist/collection/components/chip/chip.js +1 -1
  346. package/dist/collection/components/chip/resources.js +1 -1
  347. package/dist/collection/components/chip-group/chip-group.js +1 -1
  348. package/dist/collection/components/color-picker/color-picker.js +1 -1
  349. package/dist/collection/components/color-picker/resources.js +1 -1
  350. package/dist/collection/components/color-picker/utils.js +1 -1
  351. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  352. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  353. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  354. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  355. package/dist/collection/components/combobox/combobox.js +1 -1
  356. package/dist/collection/components/combobox/resources.js +1 -1
  357. package/dist/collection/components/combobox/utils.js +1 -1
  358. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  359. package/dist/collection/components/combobox-item/resources.js +1 -1
  360. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  361. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  362. package/dist/collection/components/date-picker/date-picker.js +1 -1
  363. package/dist/collection/components/date-picker/resources.js +1 -1
  364. package/dist/collection/components/date-picker/utils.js +1 -1
  365. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  366. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  367. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  368. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  369. package/dist/collection/components/dropdown/dropdown.js +1 -1
  370. package/dist/collection/components/dropdown/resources.js +1 -1
  371. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  372. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  373. package/dist/collection/components/dropdown-item/resources.js +1 -1
  374. package/dist/collection/components/fab/fab.js +1 -1
  375. package/dist/collection/components/fab/resources.js +1 -1
  376. package/dist/collection/components/filter/filter.js +1 -1
  377. package/dist/collection/components/filter/resources.js +1 -1
  378. package/dist/collection/components/flow/flow.js +34 -5
  379. package/dist/collection/components/flow/resources.js +1 -1
  380. package/dist/collection/components/flow-item/flow-item.js +1 -1
  381. package/dist/collection/components/flow-item/resources.js +1 -1
  382. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  383. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  384. package/dist/collection/components/functional/Heading.js +1 -1
  385. package/dist/collection/components/functional/XButton.js +1 -1
  386. package/dist/collection/components/graph/graph.js +1 -1
  387. package/dist/collection/components/graph/util.js +1 -1
  388. package/dist/collection/components/handle/handle.js +1 -1
  389. package/dist/collection/components/handle/resources.js +1 -1
  390. package/dist/collection/components/icon/icon.js +1 -1
  391. package/dist/collection/components/icon/resources.js +1 -1
  392. package/dist/collection/components/icon/utils.js +1 -1
  393. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  394. package/dist/collection/components/inline-editable/resources.js +1 -1
  395. package/dist/collection/components/input/input.js +1 -1
  396. package/dist/collection/components/input/resources.js +1 -1
  397. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  398. package/dist/collection/components/input-date-picker/resources.js +1 -1
  399. package/dist/collection/components/input-date-picker/utils.js +1 -1
  400. package/dist/collection/components/input-message/input-message.js +1 -1
  401. package/dist/collection/components/input-message/interfaces.js +1 -1
  402. package/dist/collection/components/input-number/input-number.js +1 -1
  403. package/dist/collection/components/input-number/resources.js +1 -1
  404. package/dist/collection/components/input-text/input-text.js +1 -1
  405. package/dist/collection/components/input-text/resources.js +1 -1
  406. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  407. package/dist/collection/components/input-time-picker/resources.js +1 -1
  408. package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
  409. package/dist/collection/components/input-time-zone/utils.js +1 -1
  410. package/dist/collection/components/label/label.js +1 -1
  411. package/dist/collection/components/label/resources.js +1 -1
  412. package/dist/collection/components/link/link.js +1 -1
  413. package/dist/collection/components/list/list.js +1 -1
  414. package/dist/collection/components/list/resources.js +1 -1
  415. package/dist/collection/components/list-item/list-item.js +1 -1
  416. package/dist/collection/components/list-item/resources.js +1 -1
  417. package/dist/collection/components/list-item/utils.js +1 -1
  418. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  419. package/dist/collection/components/list-item-group/resources.js +1 -1
  420. package/dist/collection/components/loader/loader.js +1 -1
  421. package/dist/collection/components/menu/menu.js +1 -1
  422. package/dist/collection/components/menu-item/menu-item.js +1 -1
  423. package/dist/collection/components/menu-item/resources.js +1 -1
  424. package/dist/collection/components/meter/meter.js +1 -1
  425. package/dist/collection/components/meter/resources.js +1 -1
  426. package/dist/collection/components/modal/modal.js +1 -1
  427. package/dist/collection/components/modal/resources.js +1 -1
  428. package/dist/collection/components/navigation/navigation.js +1 -1
  429. package/dist/collection/components/navigation/resources.js +1 -1
  430. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  431. package/dist/collection/components/navigation-logo/resources.js +1 -1
  432. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  433. package/dist/collection/components/navigation-user/resources.js +1 -1
  434. package/dist/collection/components/notice/notice.js +1 -1
  435. package/dist/collection/components/notice/resources.js +1 -1
  436. package/dist/collection/components/option/option.js +1 -1
  437. package/dist/collection/components/option-group/option-group.js +1 -1
  438. package/dist/collection/components/pagination/pagination.js +1 -1
  439. package/dist/collection/components/pagination/resources.js +1 -1
  440. package/dist/collection/components/panel/panel.js +1 -1
  441. package/dist/collection/components/panel/resources.js +1 -1
  442. package/dist/collection/components/pick-list/pick-list.js +1 -1
  443. package/dist/collection/components/pick-list/resources.js +1 -1
  444. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  445. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  446. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  447. package/dist/collection/components/pick-list-group/resources.js +1 -1
  448. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  449. package/dist/collection/components/pick-list-item/resources.js +1 -1
  450. package/dist/collection/components/popover/PopoverManager.js +1 -1
  451. package/dist/collection/components/popover/popover.js +1 -1
  452. package/dist/collection/components/popover/resources.js +1 -1
  453. package/dist/collection/components/progress/progress.js +1 -1
  454. package/dist/collection/components/radio-button/radio-button.js +1 -1
  455. package/dist/collection/components/radio-button/resources.js +1 -1
  456. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  457. package/dist/collection/components/rating/function/star.js +1 -1
  458. package/dist/collection/components/rating/rating.js +1 -1
  459. package/dist/collection/components/resources.js +1 -1
  460. package/dist/collection/components/scrim/resources.js +1 -1
  461. package/dist/collection/components/scrim/scrim.js +1 -1
  462. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  463. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  464. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  465. package/dist/collection/components/select/resources.js +1 -1
  466. package/dist/collection/components/select/select.js +1 -1
  467. package/dist/collection/components/sheet/resources.js +1 -1
  468. package/dist/collection/components/sheet/sheet.js +1 -1
  469. package/dist/collection/components/shell/resources.js +1 -1
  470. package/dist/collection/components/shell/shell.js +1 -1
  471. package/dist/collection/components/shell-center-row/resources.js +1 -1
  472. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  473. package/dist/collection/components/shell-panel/resources.js +1 -1
  474. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  475. package/dist/collection/components/slider/resources.js +1 -1
  476. package/dist/collection/components/slider/slider.js +1 -1
  477. package/dist/collection/components/sortable-list/resources.js +1 -1
  478. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  479. package/dist/collection/components/split-button/resources.js +1 -1
  480. package/dist/collection/components/split-button/split-button.js +1 -1
  481. package/dist/collection/components/stack/resources.js +1 -1
  482. package/dist/collection/components/stack/stack.js +1 -1
  483. package/dist/collection/components/stepper/stepper.js +1 -1
  484. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  485. package/dist/collection/components/switch/switch.js +1 -1
  486. package/dist/collection/components/tab/tab.js +1 -1
  487. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  488. package/dist/collection/components/tab-title/resources.js +1 -1
  489. package/dist/collection/components/tab-title/tab-title.js +1 -1
  490. package/dist/collection/components/table/resources.js +1 -1
  491. package/dist/collection/components/table/table.js +1 -1
  492. package/dist/collection/components/table-cell/resources.js +1 -1
  493. package/dist/collection/components/table-cell/table-cell.js +1 -1
  494. package/dist/collection/components/table-header/resources.js +1 -1
  495. package/dist/collection/components/table-header/table-header.js +1 -1
  496. package/dist/collection/components/table-row/table-row.js +1 -1
  497. package/dist/collection/components/tabs/resources.js +1 -1
  498. package/dist/collection/components/tabs/tabs.js +1 -1
  499. package/dist/collection/components/text-area/resources.js +1 -1
  500. package/dist/collection/components/text-area/text-area.js +1 -1
  501. package/dist/collection/components/tile/resources.js +1 -1
  502. package/dist/collection/components/tile/tile.js +1 -1
  503. package/dist/collection/components/tile-select/resources.js +1 -1
  504. package/dist/collection/components/tile-select/tile-select.js +1 -1
  505. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  506. package/dist/collection/components/time-picker/resources.js +1 -1
  507. package/dist/collection/components/time-picker/time-picker.js +1 -1
  508. package/dist/collection/components/tip/resources.js +1 -1
  509. package/dist/collection/components/tip/tip.js +1 -1
  510. package/dist/collection/components/tip-group/tip-group.js +1 -1
  511. package/dist/collection/components/tip-manager/resources.js +1 -1
  512. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  513. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  514. package/dist/collection/components/tooltip/resources.js +1 -1
  515. package/dist/collection/components/tooltip/tooltip.js +1 -1
  516. package/dist/collection/components/tooltip/utils.js +1 -1
  517. package/dist/collection/components/tree/tree.js +1 -1
  518. package/dist/collection/components/tree/utils.js +1 -1
  519. package/dist/collection/components/tree-item/resources.js +1 -1
  520. package/dist/collection/components/tree-item/tree-item.js +1 -1
  521. package/dist/collection/components/value-list/resources.js +1 -1
  522. package/dist/collection/components/value-list/utils.js +1 -1
  523. package/dist/collection/components/value-list/value-list.js +1 -1
  524. package/dist/collection/components/value-list-item/resources.js +1 -1
  525. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  526. package/dist/collection/index.js +1 -1
  527. package/dist/collection/utils/array.js +1 -1
  528. package/dist/collection/utils/browser.js +1 -1
  529. package/dist/collection/utils/conditionalSlot.js +1 -1
  530. package/dist/collection/utils/config.js +1 -1
  531. package/dist/collection/utils/date.js +1 -1
  532. package/dist/collection/utils/dom.js +1 -1
  533. package/dist/collection/utils/filter.js +1 -1
  534. package/dist/collection/utils/floating-ui.js +1 -1
  535. package/dist/collection/utils/focusTrapComponent.js +1 -1
  536. package/dist/collection/utils/form.js +1 -1
  537. package/dist/collection/utils/globalAttributes.js +1 -1
  538. package/dist/collection/utils/globalScript.js +1 -1
  539. package/dist/collection/utils/guid.js +1 -1
  540. package/dist/collection/utils/interactive.js +1 -1
  541. package/dist/collection/utils/key.js +1 -1
  542. package/dist/collection/utils/label.js +1 -1
  543. package/dist/collection/utils/loadable.js +1 -1
  544. package/dist/collection/utils/locale.js +1 -1
  545. package/dist/collection/utils/math.js +1 -1
  546. package/dist/collection/utils/mode.js +1 -1
  547. package/dist/collection/utils/number.js +1 -1
  548. package/dist/collection/utils/observers.js +1 -1
  549. package/dist/collection/utils/openCloseComponent.js +1 -1
  550. package/dist/collection/utils/resources.js +1 -1
  551. package/dist/collection/utils/sortableComponent.js +1 -1
  552. package/dist/collection/utils/t9n.js +1 -1
  553. package/dist/collection/utils/time.js +1 -1
  554. package/dist/components/ExpandToggle.js +1 -1
  555. package/dist/components/FloatingArrow.js +1 -1
  556. package/dist/components/Heading.js +1 -1
  557. package/dist/components/action-group.js +1 -1
  558. package/dist/components/action-menu.js +1 -1
  559. package/dist/components/action.js +1 -1
  560. package/dist/components/ar.js +1 -1
  561. package/dist/components/array.js +1 -1
  562. package/dist/components/avatar.js +1 -1
  563. package/dist/components/bg.js +1 -1
  564. package/dist/components/bs.js +1 -1
  565. package/dist/components/button.js +1 -1
  566. package/dist/components/ca.js +1 -1
  567. package/dist/components/calcite-accordion-item.js +1 -1
  568. package/dist/components/calcite-accordion.js +1 -1
  569. package/dist/components/calcite-action-bar.js +1 -1
  570. package/dist/components/calcite-action-group.js +1 -1
  571. package/dist/components/calcite-action-menu.js +1 -1
  572. package/dist/components/calcite-action-pad.js +1 -1
  573. package/dist/components/calcite-action.js +1 -1
  574. package/dist/components/calcite-alert.js +1 -1
  575. package/dist/components/calcite-avatar.js +1 -1
  576. package/dist/components/calcite-block-section.js +1 -1
  577. package/dist/components/calcite-block.js +1 -1
  578. package/dist/components/calcite-button.js +1 -1
  579. package/dist/components/calcite-card.js +1 -1
  580. package/dist/components/calcite-checkbox.js +1 -1
  581. package/dist/components/calcite-chip-group.js +1 -1
  582. package/dist/components/calcite-chip.js +1 -1
  583. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  584. package/dist/components/calcite-color-picker-swatch.js +1 -1
  585. package/dist/components/calcite-color-picker.js +1 -1
  586. package/dist/components/calcite-combobox-item-group.js +1 -1
  587. package/dist/components/calcite-combobox-item.js +1 -1
  588. package/dist/components/calcite-combobox.js +1 -1
  589. package/dist/components/calcite-date-picker-day.js +1 -1
  590. package/dist/components/calcite-date-picker-month-header.js +1 -1
  591. package/dist/components/calcite-date-picker-month.js +1 -1
  592. package/dist/components/calcite-date-picker.js +1 -1
  593. package/dist/components/calcite-dropdown-group.js +1 -1
  594. package/dist/components/calcite-dropdown-item.js +1 -1
  595. package/dist/components/calcite-dropdown.js +1 -1
  596. package/dist/components/calcite-fab.js +1 -1
  597. package/dist/components/calcite-filter.js +1 -1
  598. package/dist/components/calcite-flow-item.js +1 -1
  599. package/dist/components/calcite-flow.js +5 -3
  600. package/dist/components/calcite-graph.js +1 -1
  601. package/dist/components/calcite-handle.js +1 -1
  602. package/dist/components/calcite-icon.js +1 -1
  603. package/dist/components/calcite-inline-editable.js +1 -1
  604. package/dist/components/calcite-input-date-picker.js +1 -1
  605. package/dist/components/calcite-input-message.js +1 -1
  606. package/dist/components/calcite-input-number.js +1 -1
  607. package/dist/components/calcite-input-text.js +1 -1
  608. package/dist/components/calcite-input-time-picker.js +1 -1
  609. package/dist/components/calcite-input-time-zone.js +1 -1
  610. package/dist/components/calcite-input.js +1 -1
  611. package/dist/components/calcite-label.js +1 -1
  612. package/dist/components/calcite-link.js +1 -1
  613. package/dist/components/calcite-list-item-group.js +1 -1
  614. package/dist/components/calcite-list-item.js +1 -1
  615. package/dist/components/calcite-list.js +1 -1
  616. package/dist/components/calcite-loader.js +1 -1
  617. package/dist/components/calcite-menu-item.js +1 -1
  618. package/dist/components/calcite-menu.js +1 -1
  619. package/dist/components/calcite-meter.js +1 -1
  620. package/dist/components/calcite-modal.js +1 -1
  621. package/dist/components/calcite-navigation-logo.js +1 -1
  622. package/dist/components/calcite-navigation-user.js +1 -1
  623. package/dist/components/calcite-navigation.js +1 -1
  624. package/dist/components/calcite-notice.js +1 -1
  625. package/dist/components/calcite-option-group.js +1 -1
  626. package/dist/components/calcite-option.js +1 -1
  627. package/dist/components/calcite-pagination.js +1 -1
  628. package/dist/components/calcite-panel.js +1 -1
  629. package/dist/components/calcite-pick-list-group.js +1 -1
  630. package/dist/components/calcite-pick-list-item.js +1 -1
  631. package/dist/components/calcite-pick-list.js +1 -1
  632. package/dist/components/calcite-popover.js +1 -1
  633. package/dist/components/calcite-progress.js +1 -1
  634. package/dist/components/calcite-radio-button-group.js +1 -1
  635. package/dist/components/calcite-radio-button.js +1 -1
  636. package/dist/components/calcite-rating.js +1 -1
  637. package/dist/components/calcite-scrim.js +1 -1
  638. package/dist/components/calcite-segmented-control-item.js +1 -1
  639. package/dist/components/calcite-segmented-control.js +1 -1
  640. package/dist/components/calcite-select.js +1 -1
  641. package/dist/components/calcite-sheet.js +1 -1
  642. package/dist/components/calcite-shell-center-row.js +1 -1
  643. package/dist/components/calcite-shell-panel.js +1 -1
  644. package/dist/components/calcite-shell.js +1 -1
  645. package/dist/components/calcite-slider.js +1 -1
  646. package/dist/components/calcite-sortable-list.js +1 -1
  647. package/dist/components/calcite-split-button.js +1 -1
  648. package/dist/components/calcite-stack.js +1 -1
  649. package/dist/components/calcite-stepper-item.js +1 -1
  650. package/dist/components/calcite-stepper.js +1 -1
  651. package/dist/components/calcite-switch.js +1 -1
  652. package/dist/components/calcite-tab-nav.js +1 -1
  653. package/dist/components/calcite-tab-title.js +1 -1
  654. package/dist/components/calcite-tab.js +1 -1
  655. package/dist/components/calcite-table-cell.js +1 -1
  656. package/dist/components/calcite-table-header.js +1 -1
  657. package/dist/components/calcite-table-row.js +1 -1
  658. package/dist/components/calcite-table.js +1 -1
  659. package/dist/components/calcite-tabs.js +1 -1
  660. package/dist/components/calcite-text-area.js +1 -1
  661. package/dist/components/calcite-tile-select-group.js +1 -1
  662. package/dist/components/calcite-tile-select.js +1 -1
  663. package/dist/components/calcite-tile.js +1 -1
  664. package/dist/components/calcite-time-picker.js +1 -1
  665. package/dist/components/calcite-tip-group.js +1 -1
  666. package/dist/components/calcite-tip-manager.js +1 -1
  667. package/dist/components/calcite-tip.js +1 -1
  668. package/dist/components/calcite-tooltip.js +1 -1
  669. package/dist/components/calcite-tree-item.js +1 -1
  670. package/dist/components/calcite-tree.js +1 -1
  671. package/dist/components/calcite-value-list-item.js +1 -1
  672. package/dist/components/calcite-value-list.js +1 -1
  673. package/dist/components/checkbox.js +1 -1
  674. package/dist/components/chip.js +1 -1
  675. package/dist/components/color-picker-hex-input.js +1 -1
  676. package/dist/components/color-picker-swatch.js +1 -1
  677. package/dist/components/combobox-item.js +1 -1
  678. package/dist/components/combobox.js +1 -1
  679. package/dist/components/conditionalSlot.js +1 -1
  680. package/dist/components/cs.js +1 -1
  681. package/dist/components/da.js +1 -1
  682. package/dist/components/date-picker-day.js +1 -1
  683. package/dist/components/date-picker-month-header.js +1 -1
  684. package/dist/components/date-picker-month.js +1 -1
  685. package/dist/components/date-picker.js +1 -1
  686. package/dist/components/date.js +1 -1
  687. package/dist/components/de-at.js +1 -1
  688. package/dist/components/de-ch.js +1 -1
  689. package/dist/components/de.js +1 -1
  690. package/dist/components/debounce.js +1 -1
  691. package/dist/components/dom.js +1 -1
  692. package/dist/components/dropdown.js +1 -1
  693. package/dist/components/el.js +1 -1
  694. package/dist/components/en-au.js +1 -1
  695. package/dist/components/en-ca.js +1 -1
  696. package/dist/components/en-gb.js +1 -1
  697. package/dist/components/es-mx.js +1 -1
  698. package/dist/components/es.js +1 -1
  699. package/dist/components/et.js +1 -1
  700. package/dist/components/fi.js +1 -1
  701. package/dist/components/filter.js +1 -1
  702. package/dist/components/filter2.js +1 -1
  703. package/dist/components/floating-ui.js +1 -1
  704. package/dist/components/focusTrapComponent.js +1 -1
  705. package/dist/components/form.js +1 -1
  706. package/dist/components/fr-ch.js +1 -1
  707. package/dist/components/fr.js +1 -1
  708. package/dist/components/graph.js +1 -1
  709. package/dist/components/guid.js +1 -1
  710. package/dist/components/handle.js +1 -1
  711. package/dist/components/he.js +1 -1
  712. package/dist/components/hi.js +1 -1
  713. package/dist/components/hr.js +1 -1
  714. package/dist/components/hu.js +1 -1
  715. package/dist/components/icon.js +1 -1
  716. package/dist/components/id.js +1 -1
  717. package/dist/components/index.js +1 -1
  718. package/dist/components/index2.js +1 -1
  719. package/dist/components/input-number.js +1 -1
  720. package/dist/components/input-text.js +1 -1
  721. package/dist/components/input.js +1 -1
  722. package/dist/components/interactive.js +1 -1
  723. package/dist/components/it-ch.js +1 -1
  724. package/dist/components/it.js +1 -1
  725. package/dist/components/ja.js +1 -1
  726. package/dist/components/key.js +1 -1
  727. package/dist/components/ko.js +1 -1
  728. package/dist/components/label.js +1 -1
  729. package/dist/components/label2.js +1 -1
  730. package/dist/components/link.js +1 -1
  731. package/dist/components/loadable.js +1 -1
  732. package/dist/components/loader.js +1 -1
  733. package/dist/components/locale.js +1 -1
  734. package/dist/components/lt.js +1 -1
  735. package/dist/components/lv.js +1 -1
  736. package/dist/components/math.js +1 -1
  737. package/dist/components/menu.js +1 -1
  738. package/dist/components/mk.js +1 -1
  739. package/dist/components/nb.js +1 -1
  740. package/dist/components/nl.js +1 -1
  741. package/dist/components/observers.js +1 -1
  742. package/dist/components/openCloseComponent.js +1 -1
  743. package/dist/components/pagination.js +1 -1
  744. package/dist/components/panel.js +1 -1
  745. package/dist/components/pick-list-item.js +1 -1
  746. package/dist/components/pl.js +1 -1
  747. package/dist/components/popover.js +1 -1
  748. package/dist/components/progress.js +1 -1
  749. package/dist/components/pt-br.js +1 -1
  750. package/dist/components/pt.js +1 -1
  751. package/dist/components/resources.js +1 -1
  752. package/dist/components/resources2.js +1 -1
  753. package/dist/components/resources3.js +1 -1
  754. package/dist/components/resources4.js +1 -1
  755. package/dist/components/ro.js +1 -1
  756. package/dist/components/ru.js +1 -1
  757. package/dist/components/scrim.js +1 -1
  758. package/dist/components/shared-list-render.js +1 -1
  759. package/dist/components/sk.js +1 -1
  760. package/dist/components/sl.js +1 -1
  761. package/dist/components/sortableComponent.js +1 -1
  762. package/dist/components/sr.js +1 -1
  763. package/dist/components/stack.js +1 -1
  764. package/dist/components/sv.js +1 -1
  765. package/dist/components/switch.js +1 -1
  766. package/dist/components/t9n.js +1 -1
  767. package/dist/components/tab-nav.js +1 -1
  768. package/dist/components/tab-title.js +1 -1
  769. package/dist/components/tab.js +1 -1
  770. package/dist/components/table-cell.js +1 -1
  771. package/dist/components/table-header.js +1 -1
  772. package/dist/components/tabs.js +1 -1
  773. package/dist/components/th.js +1 -1
  774. package/dist/components/throttle.js +1 -1
  775. package/dist/components/tile.js +1 -1
  776. package/dist/components/time-picker.js +1 -1
  777. package/dist/components/tr.js +1 -1
  778. package/dist/components/uk.js +1 -1
  779. package/dist/components/utils.js +1 -1
  780. package/dist/components/utils2.js +1 -1
  781. package/dist/components/utils3.js +1 -1
  782. package/dist/components/vi.js +1 -1
  783. package/dist/components/zh-cn.js +1 -1
  784. package/dist/components/zh-hk.js +1 -1
  785. package/dist/components/zh-tw.js +1 -1
  786. package/dist/esm/{ExpandToggle-87d88ef1.js → ExpandToggle-bf01ecd2.js} +5 -5
  787. package/dist/esm/{FloatingArrow-144dd3c9.js → FloatingArrow-b37c4e24.js} +2 -2
  788. package/dist/esm/{Heading-48474872.js → Heading-fc343afb.js} +2 -2
  789. package/dist/esm/{app-globals-bba743d9.js → app-globals-f0972201.js} +2 -2
  790. package/dist/esm/{ar-7ca58bf0.js → ar-dc5d5eb9.js} +17 -17
  791. package/dist/esm/{array-8a6ab989.js → array-d5d9c2cb.js} +1 -1
  792. package/dist/esm/{bg-4ba57b3e.js → bg-c6d85d66.js} +17 -17
  793. package/dist/esm/{browser-d85540ab.js → browser-fb93549e.js} +1 -1
  794. package/dist/esm/{bs-e23411dd.js → bs-b0536806.js} +17 -17
  795. package/dist/esm/{ca-fb8b7eb0.js → ca-24a9039c.js} +17 -17
  796. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  797. package/dist/esm/calcite-action-bar.entry.js +15 -15
  798. package/dist/esm/calcite-action-group.entry.js +13 -13
  799. package/dist/esm/calcite-action-menu.entry.js +9 -9
  800. package/dist/esm/calcite-action-pad.entry.js +14 -14
  801. package/dist/esm/calcite-action.entry.js +12 -12
  802. package/dist/esm/calcite-alert.entry.js +12 -12
  803. package/dist/esm/calcite-avatar.entry.js +6 -6
  804. package/dist/esm/calcite-block_2.entry.js +14 -14
  805. package/dist/esm/calcite-button.entry.js +14 -14
  806. package/dist/esm/calcite-card.entry.js +10 -10
  807. package/dist/esm/calcite-checkbox.entry.js +11 -11
  808. package/dist/esm/calcite-chip-group.entry.js +9 -9
  809. package/dist/esm/calcite-chip.entry.js +13 -13
  810. package/dist/esm/calcite-color-picker_3.entry.js +16 -16
  811. package/dist/esm/calcite-combobox_3.entry.js +19 -19
  812. package/dist/esm/calcite-date-picker_4.entry.js +14 -14
  813. package/dist/esm/calcite-dropdown_3.entry.js +13 -13
  814. package/dist/esm/calcite-fab.entry.js +8 -8
  815. package/dist/esm/calcite-filter.entry.js +14 -14
  816. package/dist/esm/calcite-flow-item.entry.js +13 -13
  817. package/dist/esm/calcite-flow.entry.js +7 -6
  818. package/dist/esm/calcite-graph_2.entry.js +14 -14
  819. package/dist/esm/calcite-handle.entry.js +10 -10
  820. package/dist/esm/calcite-icon.entry.js +6 -6
  821. package/dist/esm/calcite-inline-editable.entry.js +13 -13
  822. package/dist/esm/calcite-input-date-picker.entry.js +19 -19
  823. package/dist/esm/calcite-input-message.entry.js +5 -5
  824. package/dist/esm/calcite-input-number.entry.js +14 -14
  825. package/dist/esm/calcite-input-text.entry.js +14 -14
  826. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-ab6d198e.js → calcite-input-time-picker.calcite-time-picker-0b9bb8bd.js} +61 -61
  827. package/dist/esm/calcite-input-time-picker_2.entry.js +17 -17
  828. package/dist/esm/calcite-input-time-zone.entry.js +14 -14
  829. package/dist/esm/calcite-input.entry.js +14 -14
  830. package/dist/esm/calcite-label.entry.js +6 -6
  831. package/dist/esm/calcite-link.entry.js +8 -8
  832. package/dist/esm/calcite-list_3.entry.js +15 -15
  833. package/dist/esm/calcite-loader.entry.js +3 -3
  834. package/dist/esm/calcite-menu_2.entry.js +10 -10
  835. package/dist/esm/calcite-meter.entry.js +10 -10
  836. package/dist/esm/calcite-modal.entry.js +13 -13
  837. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  838. package/dist/esm/calcite-notice.entry.js +12 -12
  839. package/dist/esm/calcite-option_3.entry.js +11 -11
  840. package/dist/esm/calcite-pagination.entry.js +10 -10
  841. package/dist/esm/calcite-panel.entry.js +15 -15
  842. package/dist/esm/calcite-pick-list_3.entry.js +17 -17
  843. package/dist/esm/calcite-popover.entry.js +16 -16
  844. package/dist/esm/calcite-progress.entry.js +5 -5
  845. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  846. package/dist/esm/calcite-radio-button.entry.js +11 -11
  847. package/dist/esm/calcite-rating.entry.js +14 -14
  848. package/dist/esm/calcite-scrim.entry.js +9 -9
  849. package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
  850. package/dist/esm/calcite-sheet.entry.js +9 -9
  851. package/dist/esm/calcite-shell_3.entry.js +11 -11
  852. package/dist/esm/calcite-sortable-list.entry.js +9 -9
  853. package/dist/esm/calcite-split-button.entry.js +5 -5
  854. package/dist/esm/calcite-stack.entry.js +6 -6
  855. package/dist/esm/calcite-stepper_2.entry.js +11 -11
  856. package/dist/esm/calcite-switch.entry.js +11 -11
  857. package/dist/esm/calcite-tab_4.entry.js +11 -11
  858. package/dist/esm/calcite-table-cell_2.entry.js +12 -12
  859. package/dist/esm/calcite-table-row.entry.js +8 -8
  860. package/dist/esm/calcite-table.entry.js +11 -11
  861. package/dist/esm/calcite-text-area.entry.js +16 -16
  862. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  863. package/dist/esm/calcite-tile.entry.js +9 -9
  864. package/dist/esm/calcite-tip_3.entry.js +11 -11
  865. package/dist/esm/calcite-tooltip.entry.js +9 -9
  866. package/dist/esm/calcite-tree_2.entry.js +9 -9
  867. package/dist/esm/calcite-value-list_2.entry.js +17 -17
  868. package/dist/esm/calcite.js +6 -6
  869. package/dist/esm/{conditionalSlot-a9cb65a1.js → conditionalSlot-4fdf14d0.js} +3 -3
  870. package/dist/esm/{cs-4857c890.js → cs-7f026d6e.js} +17 -17
  871. package/dist/esm/{da-591fca6b.js → da-736247cb.js} +17 -17
  872. package/dist/esm/{de-at-8141f95e.js → de-at-b4279b8d.js} +17 -17
  873. package/dist/esm/{de-ch-e5590752.js → de-ch-6580c1b9.js} +17 -17
  874. package/dist/esm/{de-45fa8e95.js → de-ebb2bc6b.js} +17 -17
  875. package/dist/esm/{debounce-b18124df.js → debounce-34f3c4be.js} +1 -1
  876. package/dist/esm/{dom-e339086c.js → dom-eb9ed12e.js} +3 -3
  877. package/dist/esm/{el-360c4040.js → el-730ddbc3.js} +17 -17
  878. package/dist/esm/{en-au-3ce4ad59.js → en-au-bfb98549.js} +17 -17
  879. package/dist/esm/{en-ca-f06cdfde.js → en-ca-225c14d9.js} +17 -17
  880. package/dist/esm/{en-gb-737a237f.js → en-gb-29d1734a.js} +17 -17
  881. package/dist/esm/{es-9cfe9be2.js → es-8bda714a.js} +17 -17
  882. package/dist/esm/{es-mx-b93112c1.js → es-mx-3bce6974.js} +17 -17
  883. package/dist/esm/{et-f253be95.js → et-02f4389e.js} +17 -17
  884. package/dist/esm/{fi-191e826f.js → fi-7496ec18.js} +17 -17
  885. package/dist/esm/{filter-6203387f.js → filter-d108563c.js} +2 -2
  886. package/dist/esm/{floating-ui-4af575c5.js → floating-ui-7ffce343.js} +3 -3
  887. package/dist/esm/{focusTrapComponent-6e249bcd.js → focusTrapComponent-eec4c2fc.js} +2 -2
  888. package/dist/esm/{form-da43210d.js → form-937a946e.js} +3 -3
  889. package/dist/esm/{fr-39e53048.js → fr-24d1e219.js} +17 -17
  890. package/dist/esm/{fr-ch-1c1af37e.js → fr-ch-4c7b9f67.js} +17 -17
  891. package/dist/esm/{guid-bc9b2a2a.js → guid-fcfb8074.js} +1 -1
  892. package/dist/esm/{he-99c92a41.js → he-ac074cc1.js} +17 -17
  893. package/dist/esm/{hi-e43b25d5.js → hi-2f1a20cf.js} +17 -17
  894. package/dist/esm/{hr-226e65ff.js → hr-d5ca7d7b.js} +17 -17
  895. package/dist/esm/{hu-7cdfb0fe.js → hu-ec643f60.js} +17 -17
  896. package/dist/esm/{id-4081f620.js → id-45ed80f5.js} +17 -17
  897. package/dist/esm/{index-ea1437d9.js → index-48e53579.js} +1 -1
  898. package/dist/esm/index.js +2 -2
  899. package/dist/esm/{interactive-3cd49281.js → interactive-ba74ca2d.js} +2 -2
  900. package/dist/esm/{it-442e622b.js → it-8c21912c.js} +17 -17
  901. package/dist/esm/{it-ch-9bc36805.js → it-ch-927b6d33.js} +17 -17
  902. package/dist/esm/{ja-6a865214.js → ja-8d9b19d6.js} +17 -17
  903. package/dist/esm/{key-5c198520.js → key-3b128d32.js} +1 -1
  904. package/dist/esm/{ko-dde99dc2.js → ko-98b28aa0.js} +17 -17
  905. package/dist/esm/{label-8f54ab67.js → label-84ff1fd7.js} +2 -2
  906. package/dist/esm/{loadable-cc7d535d.js → loadable-4f21a400.js} +2 -2
  907. package/dist/esm/loader.js +6 -6
  908. package/dist/esm/{locale-e0f81363.js → locale-586f5b71.js} +4 -4
  909. package/dist/esm/{lt-dd5e9616.js → lt-2fd9c457.js} +17 -17
  910. package/dist/esm/{lv-ef56f08b.js → lv-ce9645eb.js} +17 -17
  911. package/dist/esm/{math-93304a6f.js → math-1f0ebea1.js} +1 -1
  912. package/dist/esm/{mk-03270b8a.js → mk-735896fb.js} +17 -17
  913. package/dist/esm/{nb-48825584.js → nb-e14f7956.js} +17 -17
  914. package/dist/esm/{nl-9121735b.js → nl-fa74195c.js} +17 -17
  915. package/dist/esm/{observers-d33369ef.js → observers-bfee814c.js} +1 -1
  916. package/dist/esm/{openCloseComponent-de2e797b.js → openCloseComponent-64429027.js} +2 -2
  917. package/dist/esm/{pl-55e40164.js → pl-5e3e7a05.js} +17 -17
  918. package/dist/esm/{pt-br-9fcefae0.js → pt-br-48ddf109.js} +17 -17
  919. package/dist/esm/{pt-f9e9602d.js → pt-c33a58d4.js} +17 -17
  920. package/dist/esm/{resources-7326e19b.js → resources-07b9639a.js} +1 -1
  921. package/dist/esm/{resources-5e0ff5e2.js → resources-0a588f67.js} +1 -1
  922. package/dist/esm/{resources-2307aae8.js → resources-6906d92c.js} +1 -1
  923. package/dist/esm/{resources-121ad4bd.js → resources-85cedfb1.js} +5 -5
  924. package/dist/esm/{resources-ee32864b.js → resources-b136d07a.js} +1 -1
  925. package/dist/esm/{resources-85732fc8.js → resources-eec9fd94.js} +1 -1
  926. package/dist/esm/{resources-1b8b153d.js → resources-f54ff9c1.js} +1 -1
  927. package/dist/esm/{ro-dc2f89f9.js → ro-329faf55.js} +17 -17
  928. package/dist/esm/{ru-37e3bc4d.js → ru-b5eb9129.js} +17 -17
  929. package/dist/esm/{sk-d5f3a0f2.js → sk-e8b0932c.js} +17 -17
  930. package/dist/esm/{sl-81d2ab06.js → sl-91529298.js} +17 -17
  931. package/dist/esm/{sortableComponent-f9665fdd.js → sortableComponent-92af37a5.js} +1 -1
  932. package/dist/esm/{sr-507ddcf6.js → sr-8874557a.js} +17 -17
  933. package/dist/esm/{sv-075b1d05.js → sv-bf6ef885.js} +17 -17
  934. package/dist/esm/{t9n-628d6f8b.js → t9n-581c3dfd.js} +3 -3
  935. package/dist/esm/{th-3736323c.js → th-d5b37298.js} +17 -17
  936. package/dist/esm/{throttle-2185ffca.js → throttle-f35afd15.js} +2 -2
  937. package/dist/esm/{tr-02212203.js → tr-8f6f0201.js} +17 -17
  938. package/dist/esm/{uk-992707cc.js → uk-17138c0f.js} +17 -17
  939. package/dist/esm/{utils-9abcdb88.js → utils-710f7474.js} +3 -3
  940. package/dist/esm/{utils-c025f68d.js → utils-ce8053c5.js} +1 -1
  941. package/dist/esm/{vi-fcebf562.js → vi-6c858f27.js} +17 -17
  942. package/dist/esm/{zh-cn-5234a57b.js → zh-cn-cdd90cbc.js} +17 -17
  943. package/dist/esm/{zh-hk-34ae87dc.js → zh-hk-93c71409.js} +17 -17
  944. package/dist/esm/{zh-tw-4088c08e.js → zh-tw-1017b068.js} +17 -17
  945. package/dist/extras/docs-json.json +3 -3
  946. package/dist/loader/cdn.js +1 -1
  947. package/dist/loader/index.cjs.js +1 -1
  948. package/dist/loader/index.es2017.js +1 -1
  949. package/dist/loader/index.js +1 -1
  950. package/dist/types/components/flow/flow.d.ts +9 -3
  951. package/dist/types/components/flow/interfaces.d.ts +1 -0
  952. package/dist/types/components.d.ts +6 -1
  953. package/hydrate/index.js +5 -3
  954. package/package.json +2 -2
  955. package/dist/calcite/p-1609e878.entry.js +0 -6
  956. package/dist/calcite/p-30db0ab5.entry.js +0 -6
  957. package/dist/calcite/p-4977cb70.js +0 -6
  958. package/dist/calcite/p-548e903d.entry.js +0 -6
  959. package/dist/calcite/p-55efaad7.js +0 -6
  960. package/dist/calcite/p-5f351559.entry.js +0 -6
  961. package/dist/calcite/p-6215d177.entry.js +0 -6
  962. package/dist/calcite/p-899a968c.entry.js +0 -6
  963. package/dist/calcite/p-9585a744.entry.js +0 -6
  964. package/dist/calcite/p-9e6b3225.entry.js +0 -6
  965. package/dist/calcite/p-a66330bc.entry.js +0 -6
  966. package/dist/calcite/p-a9322b8d.entry.js +0 -6
  967. package/dist/calcite/p-a993e7d7.js +0 -6
  968. package/dist/calcite/p-d5f3d591.js +0 -6
  969. package/dist/calcite/p-d823ccef.js +0 -6
  970. package/dist/calcite/p-dab319f5.js +0 -6
  971. package/dist/calcite/p-e6c167bd.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.19
4
+ * v1.7.0-next.20
5
5
  */
6
- import{r as t,h as e,F as i,a as n,f as o}from"./p-b75b04f6.js";import{c as a,d as l}from"./p-dab319f5.js";import{b as s,s as r,h as c,g as h,i as d}from"./p-a10e4482.js";import{c as p,d as x}from"./p-d2cf8867.js";import{c as b}from"./p-7d824bbf.js";import{c as u,s as m,d as w,u as v}from"./p-bec36110.js";import{C as f}from"./p-f77690b0.js";import"./p-5af4edb9.js";import"./p-df5b193f.js";import"./p-0c567b1c.js";const g="content",y=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!s(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!s(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!s(t),r(t)?.map((t=>{"CALCITE-ALERT"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleSheetsSlotChange=t=>{this.hasSheets=!!s(t),r(t)?.map((t=>{"CALCITE-SHEET"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!s(t),r(t)?.map((t=>{"CALCITE-MODAL"===t.nodeName&&(t.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1,this.hasSheets=!1}connectedCallback(){a(this)}disconnectedCallback(){l(this)}renderHeader(){return e("div",{hidden:!this.hasHeader},e("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return e("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},e("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return e("div",{hidden:!this.hasAlerts},e("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderSheets(){return e("div",{hidden:!this.hasSheets},e("slot",{key:"sheets",name:"sheets",onSlotchange:this.handleSheetsSlotChange}))}renderModals(){return e("div",{hidden:!this.hasModals},e("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const t=e("slot",{key:"default-slot"}),i=e("slot",{key:"center-row-slot",name:"center-row"}),n=e("slot",{key:"panel-bottom-slot",name:"panel-bottom"}),o=e("slot",{key:"panel-top-slot",name:"panel-top"}),a="content-container";return this.contentBehind?[e("div",{class:{[g]:!0,"content--behind":!0},key:a},t),e("div",{class:"center-content"},o,n,i)]:[e("div",{class:g,key:a},o,t,n,i)]}renderMain(){return e("div",{class:"main"},e("slot",{name:"panel-start"}),this.renderContent(),e("slot",{name:"panel-end"}))}renderPositionedSlots(){return e("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals(),this.renderSheets())}render(){return e(i,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return n(this)}};y.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-app-z-index) - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-app-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}:host([hidden]){display:none}[hidden]{display:none}";const z="action-bar",k=class{constructor(e){t(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){a(this)}disconnectedCallback(){l(this)}render(){const{el:t}=this,n=e("div",{class:"content"},e("slot",null)),o=c(t,z),a=[o?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:z})):null,n];return"end"===o?.position&&a.reverse(),e(i,null,a)}get el(){return n(this)}};k.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{z-index:var(--calcite-app-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const C=class{constructor(e){t(this,e),this.initialContentWidth=null,this.initialContentHeight=null,this.initialClientX=null,this.initialClientY=null,this.contentWidthMax=null,this.contentWidthMin=null,this.contentHeightMax=null,this.contentHeightMin=null,this.step=1,this.stepMultiplier=10,this.actionBars=[],this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedSize=t=>{const{key:e}=t,{el:i,step:n,stepMultiplier:o,layout:a,contentWidthMin:l,contentWidthMax:s,initialContentWidth:r,initialContentHeight:c,contentHeightMin:d,contentHeightMax:p,position:x}=this,b=n*o;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const u=["ArrowLeft","ArrowRight"],m=["ArrowDown","ArrowUp"],w="rtl"===h(i)&&u.includes(e)?-1:1;if("horizontal"===a?"end"===x?e===m[1]||e===u[0]:e===m[0]||e===u[1]:e===m[1]||("end"===x?e===u[0]:e===u[1])){const e=t.shiftKey?b:n;return"horizontal"===a?c+w*e:r+w*e}if("horizontal"===a?"end"===x?e===m[0]||e===u[0]:e===m[1]||e===u[1]:e===m[0]||("end"===x?e===u[1]:e===u[0])){const e=t.shiftKey?b:n;return"horizontal"===a?c-w*e:r-w*e}return"Home"===e&&"horizontal"===a&&"number"==typeof d?d:"Home"===e&&"vertical"===a&&"number"==typeof l?l:"End"===e&&"horizontal"===a&&"number"==typeof p?p:"End"===e&&"vertical"===a&&"number"==typeof s?s:"PageDown"===e?"horizontal"===a?c-b:r-b:"PageUp"===e?"horizontal"===a?c+b:r+b:null},this.initialKeydownWidth=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentWidth(e)},this.initialKeydownHeight=t=>{this.setInitialContentHeight();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentHeight(e)},this.separatorKeyDown=t=>{"horizontal"===this.layout?this.initialKeydownHeight(t):this.initialKeydownWidth(t)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,layout:i,initialContentWidth:n,initialContentHeight:o,position:a,initialClientX:l,initialClientY:s}=this,r="horizontal"===i?t.clientY-s:t.clientX-l,c="vertical"===i&&"rtl"===h(e)?-1:1,d="end"===a?-c*r:c*r;"horizontal"===i?this.setContentHeight(o+d):this.setContentWidth(n+d)},this.separatorPointerUp=t=>{d(t)&&(t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{this.initialContentHeight=this.contentEl?.getBoundingClientRect().height},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!d(t))return;t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),"horizontal"===this.layout?(this.setInitialContentHeight(),this.initialClientY=t.clientY):(this.setInitialContentWidth(),this.initialClientX=t.clientX),document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t?.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=r(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.handleHeaderSlotChange=t=>{this.hasHeader=s(t)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale="",this.hasHeader=!1}handleDetached(t){t?this.displayMode="float":"float"===this.displayMode&&(this.displayMode="dock")}handleDisplayMode(t){this.detached="float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){a(this),p(this),u(this)}async componentWillLoad(){await m(this)}disconnectedCallback(){l(this),this.disconnectSeparator(),x(this),w(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){v(this,this.effectiveLocale)}renderHeader(){return e("div",{class:"content__header",hidden:!this.hasHeader,key:"header"},e("slot",{name:"header",onSlotchange:this.handleHeaderSlotChange}))}render(){const{collapsed:t,position:i,initialContentWidth:n,initialContentHeight:o,contentWidth:a,contentWidthMax:l,contentWidthMin:s,contentHeight:r,contentHeightMax:c,contentHeightMin:d,resizable:p,layout:x,displayMode:b}=this,u=h(this.el),m="float"!==b&&p,w=m?"horizontal"===x?r?{height:`${r}px`}:null:a?{width:`${a}px`}:null:null,v=!t&&m?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===x?"vertical":"horizontal","aria-valuemax":"horizontal"==x?c:l,"aria-valuemin":"horizontal"==x?d:s,"aria-valuenow":"horizontal"==x?r??o:a??n,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,g=e("div",{class:{[f.rtl]:"rtl"===u,content:!0,"content--overlay":"overlay"===b,"content--float":"float"===b,[f.calciteAnimate]:"overlay"===b,["horizontal"===x?"start"===i?f.calciteAnimateInDown:f.calciteAnimateInUp:"ltr"===u&&"end"===i||"rtl"===u&&"start"===i?f.calciteAnimateInLeft:f.calciteAnimateInRight]:"overlay"===b},hidden:t,key:"content",style:w,ref:this.storeContentEl},this.renderHeader(),e("div",{class:"content__body"},e("slot",null)),v),y=[e("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),g];return"end"===i&&y.reverse(),e("div",{class:{container:!0}},y)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,n=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?b(n,i,e):n}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),o(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:i}=this,n=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof i?b(n,i,e):n}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),i=parseInt(t.getPropertyValue("min-width"),10),n=parseInt(t.getPropertyValue("width"),10);"number"!=typeof n||isNaN(n)||(this.initialContentWidth=n),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),i=parseInt(t.getPropertyValue("min-height"),10),n=parseInt(t.getPropertyValue("height"),10);"number"!=typeof n||isNaN(n)||(this.initialContentHeight=n),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof i||isNaN(i)||(this.contentHeightMin=i)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};C.style=":host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-app-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-shell-panel-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl.content--overlay{--calcite-shell-panel-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index-header) + 1))}:host([layout=vertical][width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 5vh);--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}:host([layout=horizontal][height-scale=l]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]) .content{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}:host([layout=horizontal]) .content{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-start-internal)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-end-internal)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-shell-panel-shadow-block-start-internal)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-shell-panel-shadow-block-end-internal)}.content--float{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-max-height-internal, calc(100% - 1rem))}.content--float ::slotted(calcite-panel),.content--float ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .content--float{margin-block:0.5rem}:host([position=start]) .content--float ::slotted(calcite-panel),:host([position=start]) .content--float ::slotted(calcite-flow),:host([position=end]) .content--float ::slotted(calcite-panel),:host([position=end]) .content--float ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_shell,k as calcite_shell_center_row,C as calcite_shell_panel}
6
+ import{r as t,h as e,F as i,a as n,f as o}from"./p-a818fdc2.js";import{c as a,d as l}from"./p-c00aef7a.js";import{b as s,s as r,h as c,g as h,i as d}from"./p-eb0ecd49.js";import{c as p,d as x}from"./p-a5985717.js";import{c as u}from"./p-20ab6559.js";import{c as b,s as m,d as w,u as v}from"./p-31d73bd1.js";import{C as f}from"./p-479102a9.js";import"./p-d02205f3.js";import"./p-f1a9ed23.js";import"./p-4c63e55f.js";const g="content",y=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!s(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!s(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!s(t),r(t)?.map((t=>{"CALCITE-ALERT"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleSheetsSlotChange=t=>{this.hasSheets=!!s(t),r(t)?.map((t=>{"CALCITE-SHEET"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!s(t),r(t)?.map((t=>{"CALCITE-MODAL"===t.nodeName&&(t.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1,this.hasSheets=!1}connectedCallback(){a(this)}disconnectedCallback(){l(this)}renderHeader(){return e("div",{hidden:!this.hasHeader},e("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return e("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},e("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return e("div",{hidden:!this.hasAlerts},e("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderSheets(){return e("div",{hidden:!this.hasSheets},e("slot",{key:"sheets",name:"sheets",onSlotchange:this.handleSheetsSlotChange}))}renderModals(){return e("div",{hidden:!this.hasModals},e("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const t=e("slot",{key:"default-slot"}),i=e("slot",{key:"center-row-slot",name:"center-row"}),n=e("slot",{key:"panel-bottom-slot",name:"panel-bottom"}),o=e("slot",{key:"panel-top-slot",name:"panel-top"}),a="content-container";return this.contentBehind?[e("div",{class:{[g]:!0,"content--behind":!0},key:a},t),e("div",{class:"center-content"},o,n,i)]:[e("div",{class:g,key:a},o,t,n,i)]}renderMain(){return e("div",{class:"main"},e("slot",{name:"panel-start"}),this.renderContent(),e("slot",{name:"panel-end"}))}renderPositionedSlots(){return e("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals(),this.renderSheets())}render(){return e(i,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return n(this)}};y.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-app-z-index) - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-app-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}:host([hidden]){display:none}[hidden]{display:none}";const z="action-bar",k=class{constructor(e){t(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){a(this)}disconnectedCallback(){l(this)}render(){const{el:t}=this,n=e("div",{class:"content"},e("slot",null)),o=c(t,z),a=[o?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:z})):null,n];return"end"===o?.position&&a.reverse(),e(i,null,a)}get el(){return n(this)}};k.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{z-index:var(--calcite-app-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const C=class{constructor(e){t(this,e),this.initialContentWidth=null,this.initialContentHeight=null,this.initialClientX=null,this.initialClientY=null,this.contentWidthMax=null,this.contentWidthMin=null,this.contentHeightMax=null,this.contentHeightMin=null,this.step=1,this.stepMultiplier=10,this.actionBars=[],this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedSize=t=>{const{key:e}=t,{el:i,step:n,stepMultiplier:o,layout:a,contentWidthMin:l,contentWidthMax:s,initialContentWidth:r,initialContentHeight:c,contentHeightMin:d,contentHeightMax:p,position:x}=this,u=n*o;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const b=["ArrowLeft","ArrowRight"],m=["ArrowDown","ArrowUp"],w="rtl"===h(i)&&b.includes(e)?-1:1;if("horizontal"===a?"end"===x?e===m[1]||e===b[0]:e===m[0]||e===b[1]:e===m[1]||("end"===x?e===b[0]:e===b[1])){const e=t.shiftKey?u:n;return"horizontal"===a?c+w*e:r+w*e}if("horizontal"===a?"end"===x?e===m[0]||e===b[0]:e===m[1]||e===b[1]:e===m[0]||("end"===x?e===b[1]:e===b[0])){const e=t.shiftKey?u:n;return"horizontal"===a?c-w*e:r-w*e}return"Home"===e&&"horizontal"===a&&"number"==typeof d?d:"Home"===e&&"vertical"===a&&"number"==typeof l?l:"End"===e&&"horizontal"===a&&"number"==typeof p?p:"End"===e&&"vertical"===a&&"number"==typeof s?s:"PageDown"===e?"horizontal"===a?c-u:r-u:"PageUp"===e?"horizontal"===a?c+u:r+u:null},this.initialKeydownWidth=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentWidth(e)},this.initialKeydownHeight=t=>{this.setInitialContentHeight();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentHeight(e)},this.separatorKeyDown=t=>{"horizontal"===this.layout?this.initialKeydownHeight(t):this.initialKeydownWidth(t)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,layout:i,initialContentWidth:n,initialContentHeight:o,position:a,initialClientX:l,initialClientY:s}=this,r="horizontal"===i?t.clientY-s:t.clientX-l,c="vertical"===i&&"rtl"===h(e)?-1:1,d="end"===a?-c*r:c*r;"horizontal"===i?this.setContentHeight(o+d):this.setContentWidth(n+d)},this.separatorPointerUp=t=>{d(t)&&(t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{this.initialContentHeight=this.contentEl?.getBoundingClientRect().height},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!d(t))return;t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),"horizontal"===this.layout?(this.setInitialContentHeight(),this.initialClientY=t.clientY):(this.setInitialContentWidth(),this.initialClientX=t.clientX),document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t?.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=r(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.handleHeaderSlotChange=t=>{this.hasHeader=s(t)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale="",this.hasHeader=!1}handleDetached(t){t?this.displayMode="float":"float"===this.displayMode&&(this.displayMode="dock")}handleDisplayMode(t){this.detached="float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){a(this),p(this),b(this)}async componentWillLoad(){await m(this)}disconnectedCallback(){l(this),this.disconnectSeparator(),x(this),w(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){v(this,this.effectiveLocale)}renderHeader(){return e("div",{class:"content__header",hidden:!this.hasHeader,key:"header"},e("slot",{name:"header",onSlotchange:this.handleHeaderSlotChange}))}render(){const{collapsed:t,position:i,initialContentWidth:n,initialContentHeight:o,contentWidth:a,contentWidthMax:l,contentWidthMin:s,contentHeight:r,contentHeightMax:c,contentHeightMin:d,resizable:p,layout:x,displayMode:u}=this,b=h(this.el),m="float"!==u&&p,w=m?"horizontal"===x?r?{height:`${r}px`}:null:a?{width:`${a}px`}:null:null,v=!t&&m?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===x?"vertical":"horizontal","aria-valuemax":"horizontal"==x?c:l,"aria-valuemin":"horizontal"==x?d:s,"aria-valuenow":"horizontal"==x?r??o:a??n,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,g=e("div",{class:{[f.rtl]:"rtl"===b,content:!0,"content--overlay":"overlay"===u,"content--float":"float"===u,[f.calciteAnimate]:"overlay"===u,["horizontal"===x?"start"===i?f.calciteAnimateInDown:f.calciteAnimateInUp:"ltr"===b&&"end"===i||"rtl"===b&&"start"===i?f.calciteAnimateInLeft:f.calciteAnimateInRight]:"overlay"===u},hidden:t,key:"content",style:w,ref:this.storeContentEl},this.renderHeader(),e("div",{class:"content__body"},e("slot",null)),v),y=[e("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),g];return"end"===i&&y.reverse(),e("div",{class:{container:!0}},y)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,n=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?u(n,i,e):n}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),o(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:i}=this,n=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof i?u(n,i,e):n}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),i=parseInt(t.getPropertyValue("min-width"),10),n=parseInt(t.getPropertyValue("width"),10);"number"!=typeof n||isNaN(n)||(this.initialContentWidth=n),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),i=parseInt(t.getPropertyValue("min-height"),10),n=parseInt(t.getPropertyValue("height"),10);"number"!=typeof n||isNaN(n)||(this.initialContentHeight=n),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof i||isNaN(i)||(this.contentHeightMin=i)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};C.style=":host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-app-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-shell-panel-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl.content--overlay{--calcite-shell-panel-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index-header) + 1))}:host([layout=vertical][width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 5vh);--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}:host([layout=horizontal][height-scale=l]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]) .content{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}:host([layout=horizontal]) .content{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-start-internal)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-end-internal)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-shell-panel-shadow-block-start-internal)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-shell-panel-shadow-block-end-internal)}.content--float{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-max-height-internal, calc(100% - 1rem))}.content--float ::slotted(calcite-panel),.content--float ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .content--float{margin-block:0.5rem}:host([position=start]) .content--float ::slotted(calcite-panel),:host([position=start]) .content--float ::slotted(calcite-flow),:host([position=end]) .content--float ::slotted(calcite-panel),:host([position=end]) .content--float ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_shell,k as calcite_shell_center_row,C as calcite_shell_panel}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.19
4
+ * v1.7.0-next.20
5
5
  */
6
- import{r as i,c as e,h as t,H as o,a as s}from"./p-b75b04f6.js";import{d as r,t as a}from"./p-a10e4482.js";import{c as n,d as c,H as l}from"./p-db3b90e5.js";import{c as d,d as h,u as b}from"./p-9be86efa.js";import{i as p}from"./p-0c567b1c.js";import{c as u,d as m,g as k}from"./p-e6c167bd.js";import{c as v,s as f,a as x}from"./p-68dbb876.js";import"./p-df5b193f.js";import"./p-f77690b0.js";import"./p-fabe7c87.js";const g=class{constructor(t){i(this,t),this.calciteSwitchChange=e(this,"calciteSwitchChange",6),this.keyDownHandler=i=>{!this.disabled&&p(i.key)&&(this.toggle(),i.preventDefault())},this.clickHandler=()=>{this.disabled||this.toggle()},this.setSwitchEl=i=>{this.switchEl=i},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.scale="m",this.checked=!1,this.value=void 0}async setFocus(){await v(this),r(this.switchEl)}syncHiddenFormInput(i){i.type="checkbox"}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit()}connectedCallback(){d(this),u(this),n(this)}componentWillLoad(){f(this)}componentDidLoad(){x(this)}disconnectedCallback(){h(this),m(this),c(this)}componentDidRender(){b(this)}render(){return t(o,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},t("div",{"aria-checked":a(this.checked),"aria-label":k(this),class:"container",role:"switch",tabIndex:0,ref:this.setSwitchEl},t("div",{class:"track"},t("div",{class:"handle"})),t(l,{component:this})))}get el(){return s(this)}};g.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{outline-width:0px}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;outline-color:transparent}:host(:focus) .track{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 )}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{g as calcite_switch}
6
+ import{r as i,c as e,h as t,H as o,a as s}from"./p-a818fdc2.js";import{d as a,t as r}from"./p-eb0ecd49.js";import{c as n,d as c,H as l}from"./p-10edabda.js";import{c as d,d as h,u as p}from"./p-44c18974.js";import{i as b}from"./p-4c63e55f.js";import{c as u,d as m,g as k}from"./p-5010d2ff.js";import{c as v,s as f,a as x}from"./p-72162656.js";import"./p-f1a9ed23.js";import"./p-479102a9.js";import"./p-2f6435ed.js";const g=class{constructor(t){i(this,t),this.calciteSwitchChange=e(this,"calciteSwitchChange",6),this.keyDownHandler=i=>{!this.disabled&&b(i.key)&&(this.toggle(),i.preventDefault())},this.clickHandler=()=>{this.disabled||this.toggle()},this.setSwitchEl=i=>{this.switchEl=i},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.scale="m",this.checked=!1,this.value=void 0}async setFocus(){await v(this),a(this.switchEl)}syncHiddenFormInput(i){i.type="checkbox"}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit()}connectedCallback(){d(this),u(this),n(this)}componentWillLoad(){f(this)}componentDidLoad(){x(this)}disconnectedCallback(){h(this),m(this),c(this)}componentDidRender(){p(this)}render(){return t(o,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},t("div",{"aria-checked":r(this.checked),"aria-label":k(this),class:"container",role:"switch",tabIndex:0,ref:this.setSwitchEl},t("div",{class:"track"},t("div",{class:"handle"})),t(l,{component:this})))}get el(){return s(this)}};g.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{outline-width:0px}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;outline-color:transparent}:host(:focus) .track{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 )}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{g as calcite_switch}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.19
4
+ * v1.7.0-next.20
5
5
  */
6
- import{d as _}from"./p-9de50a36.js";import"./p-b75b04f6.js";import"./p-db3b90e5.js";import"./p-a10e4482.js";import"./p-df5b193f.js";import"./p-f77690b0.js";import"./p-9be86efa.js";import"./p-fabe7c87.js";import"./p-0c567b1c.js";import"./p-e6c167bd.js";import"./p-68dbb876.js";import"./p-d2cf8867.js";import"./p-5af4edb9.js";import"./p-2aeaedb8.js";import"./p-7d824bbf.js";import"./p-bec36110.js";var m={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,m){return"W"===m?_+"周":_+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(_,m){var p=100*_+m;return p<600?"凌晨":p<900?"早上":p<1100?"上午":p<1300?"中午":p<1800?"下午":"晚上"}};_.locale(m,null,!0);export default m;
6
+ import{d as _}from"./p-e5223c2c.js";import"./p-a818fdc2.js";import"./p-10edabda.js";import"./p-eb0ecd49.js";import"./p-f1a9ed23.js";import"./p-479102a9.js";import"./p-44c18974.js";import"./p-2f6435ed.js";import"./p-4c63e55f.js";import"./p-5010d2ff.js";import"./p-72162656.js";import"./p-a5985717.js";import"./p-d02205f3.js";import"./p-66d2625a.js";import"./p-20ab6559.js";import"./p-31d73bd1.js";var m={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,m){return"W"===m?_+"周":_+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(_,m){var d=100*_+m;return d<600?"凌晨":d<900?"早上":d<1100?"上午":d<1300?"中午":d<1800?"下午":"晚上"}};_.locale(m,null,!0);export default m;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.19
4
+ * v1.7.0-next.20
5
5
  */
6
- import{g as t}from"./p-a10e4482.js";import{d as n}from"./p-37ba641f.js";const e=["top","right","bottom","left"],o=["start","end"],r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]),i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,n,e){return a(t,i(n,e))}function m(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(p(t))?"y":"x"}function w(t){return g(x(t))}function v(t,n,e){void 0===e&&(e=!1);const o=y(t),r=w(t),i=h(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function b(t){return t.replace(/start|end/g,(t=>u[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function S(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function k(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P(t,n,e){let{reference:o,floating:r}=t;const i=x(n),a=w(n),l=h(a),c=p(n),s="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[a]-=d*(e&&s?-1:1);break;case"end":m[a]+=d*(e&&s?-1:1)}return m}async function D(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=m(n,t),y=S(p),g=l[d?"floating"===u?"reference":"floating":u],h=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),x="floating"===u?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:c}):x);return{top:(h.top-b.top+y.top)/v.y,bottom:(b.bottom-h.bottom+y.bottom)/v.y,left:(h.left-b.left+y.left)/v.x,right:(b.right-h.right+y.right)/v.x}}const R=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:r,rects:i,initialPlacement:a,platform:l,elements:c}=n,{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...x}=m(t,n),w=p(o),S=p(a)===a,k=await(null==l.isRTL?void 0:l.isRTL(c.floating)),P=u||(S||!h?[A(a)]:function(t){const n=A(t);return[b(t),n,b(n)]}(a));u||"none"===g||P.push(...function(t,n,e,o){const r=y(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(p(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(b)))),i}(a,h,g,k));const R=[a,...P],E=await D(n,x),O=[];let M=(null==(e=r.flip)?void 0:e.overflows)||[];if(s&&O.push(E[w]),f){const t=v(o,i,k);O.push(E[t[0]],E[t[1]])}if(M=[...M,{placement:o,overflows:O}],!O.every((t=>t<=0))){var F,T;const t=((null==(F=r.flip)?void 0:F.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(T=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:T.placement;if(!e)switch(d){case"bestFit":{var C;const t=null==(C=M.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:C[0];t&&(e=t);break}case"initialPlacement":e=a}if(o!==e)return{reset:{placement:e}}}return{}}}};function E(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function O(t){return e.some((n=>t[n]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=E(await D(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:O(t)}}}case"escaped":{const t=E(await D(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:O(t)}}}default:return{}}}}},F=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=p(e),l=y(e),c="y"===x(e),s=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof h&&(g="end"===l?-1*h:h),c?{x:g*f,y:d*s}:{x:d*s,y:g*f}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}};function T(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function $(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return t instanceof Node||t instanceof C(t).Node}function B(t){return t instanceof Element||t instanceof C(t).Element}function L(t){return t instanceof HTMLElement||t instanceof C(t).HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}function H(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function I(t){return["table","td","th"].includes(T(t))}function W(t){const n=N(),e=Y(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function N(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(T(t))}function Y(t){return C(t).getComputedStyle(t)}function V(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function X(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||$(t);return j(n)?n.host:n}function _(t){const n=X(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&H(n)?n:_(n)}function G(t,n){var e;void 0===n&&(n=[]);const o=_(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=C(o);return r?n.concat(i,i.visualViewport||[],H(o)?o:[]):n.concat(o,G(o))}function J(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=L(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=l(e)!==i||l(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function K(t){return B(t)?t:t.contextElement}function Q(t){const n=K(t);if(!L(n))return s(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=J(n);let a=(i?l(e.width):e.width)/o,c=(i?l(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const U=s(0);function Z(t){const n=C(t);return N()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=K(t);let a=s(1);n&&(o?B(o)&&(a=Q(o)):a=Q(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(i,e,o)?Z(i):s(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=C(i),n=o&&B(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=Q(e),n=e.getBoundingClientRect(),o=Y(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=C(e).frameElement}}return k({width:u,height:d,x:c,y:f})}function nt(t){return tt($(t)).left+V(t).scrollLeft}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=$(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=N();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=$(t),e=V(t),o=t.ownerDocument.body,r=a(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=a(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===Y(o).direction&&(l+=a(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}($(t));else if(B(n))o=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=L(t)?Q(t):s(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Z(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return k(o)}function ot(t,n){const e=X(t);return!(e===n||!B(e)||q(e))&&("fixed"===Y(e).position||ot(e,n))}function rt(t,n,e){const o=L(n),r=$(n),i="fixed"===e,a=tt(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=s(0);if(o||!o&&!i)if(("body"!==T(n)||H(r))&&(l=V(n)),o){const t=tt(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=nt(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function it(t,n){return L(t)&&"fixed"!==Y(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=C(t);if(!L(t))return e;let o=it(t,n);for(;o&&I(o)&&"static"===Y(o).position;)o=it(o,n);return o&&("html"===T(o)||"body"===T(o)&&"static"===Y(o).position&&!W(o))?e:o||function(t){let n=X(t);for(;L(n)&&!q(n);){if(W(n))return n;n=X(n)}return null}(t)||e}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=L(e),i=$(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=s(1);const c=s(0);if((r||!r&&"fixed"!==o)&&(("body"!==T(e)||H(i))&&(a=V(e)),L(e))){const t=tt(e);l=Q(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:$,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=G(t).filter((t=>B(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?X(t):t;for(;B(a)&&!q(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||H(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],c=l.reduce(((t,e)=>{const o=et(n,e,r);return t.top=a(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),et(n,l[0],r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:at,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:rt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return J(t)},getScale:Q,isElement:B,isRTL:function(t){return"rtl"===Y(t).direction}};function ct(t){return function(t){for(let n=t;n;n=st(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=st(t);n;n=st(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}(t)}function st(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}!function(){{const t=lt.getOffsetParent;lt.getOffsetParent=n=>t(n,ct)}}();const ft=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})=>{if(!n||!e)return null;const{x:u,y:d,placement:m,strategy:p,middlewareData:y}=await((t,n,e)=>{const o=new Map,r={platform:lt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:f,y:u}=P(s,o,c),d=o,m={},p=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:h,data:x,reset:w}=await y({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});f=null!=g?g:f,u=null!=h?h:u,m={...m,[i]:{...m[i],...x}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:f,y:u}=P(s,d,c))),e=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:ht(e,r),middleware:yt({placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})});if(s&&y.arrow){const{x:n,y:e}=y.arrow,o=m.split("-")[0],r=null!=n?"left":"top",i=wt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(s.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const g=y.hide?.referenceHidden,h=g?"hidden":null,x=h?"none":null;e.setAttribute(ut,m);const w=`translate(${Math.round(u)}px,${Math.round(d)}px)`;Object.assign(e.style,{visibility:h,pointerEvents:x,position:p,top:"0",left:"0",transform:w})},ut="data-placement",dt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],mt="bottom-start",pt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function yt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:a,arrowEl:l,type:c}){const s=[(void 0===f&&(f={}),{name:"shift",options:f,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...l}=m(f,t),c={x:n,y:e},s=await D(t,l),u=x(p(o)),y=g(u);let h=c[y],w=c[u];r&&(h=d(h+s["y"===y?"top":"left"],h,h-s["y"===y?"bottom":"right"])),i&&(w=d(w+s["y"===u?"top":"left"],w,w-s["y"===u?"bottom":"right"]));const v=a.fn({...t,[y]:h,[u]:w});return{...v,data:{x:v.x-n,y:v.y-e}}}}),M()];var f;if("menu"===c)return[...s,R({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===c||"tooltip"===c){const c=[...s,F({mainAxis:"number"==typeof o?o:0,crossAxis:"number"==typeof a?a:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?c.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:a,middlewareData:l,placement:c,platform:s,elements:f}=n,{crossAxis:u=!1,alignment:d,allowedPlacements:g=r,autoAlignment:h=!0,...x}=m(t,n),w=void 0!==d||g===r?function(t,n,e){return(t?[...e.filter((n=>y(n)===t)),...e.filter((n=>y(n)!==t))]:e.filter((t=>p(t)===t))).filter((e=>!t||y(e)===t||!!n&&b(e)!==e))}(d||null,h,g):g,A=await D(n,x),S=(null==(e=l.autoPlacement)?void 0:e.index)||0,k=w[S];if(null==k)return{};const P=v(k,a,await(null==s.isRTL?void 0:s.isRTL(f.floating)));if(c!==k)return{reset:{placement:w[0]}};const R=[A[p(k)],A[P[0]],A[P[1]]],E=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:k,overflows:R}],O=w[S+1];if(O)return{data:{index:S+1,overflows:E},reset:{placement:O}};const M=E.map((t=>{const n=y(t.placement);return[t.placement,n&&u?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),F=(null==(i=M.filter((t=>t[2].slice(0,y(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||M[0][0];return F!==c?{data:{index:S+1,overflows:E},reset:{placement:F}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||c.push(R(e?{fallbackPlacements:e}:{})),l&&c.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:r,rects:a,platform:l,elements:c}=n,{element:s,padding:f=0}=m(t,n)||{};if(null==s)return{};const u=S(f),p={x:e,y:o},g=w(r),x=h(g),v=await l.getDimensions(s),b="y"===g,A=b?"top":"left",k=b?"bottom":"right",P=b?"clientHeight":"clientWidth",D=a.reference[x]+a.reference[g]-p[g]-a.floating[x],R=p[g]-a.reference[g],E=await(null==l.getOffsetParent?void 0:l.getOffsetParent(s));let O=E?E[P]:0;O&&await(null==l.isElement?void 0:l.isElement(E))||(O=c.floating[P]||a.floating[x]);const M=D/2-R/2,F=O/2-v[x]/2-1,T=i(u[A],F),C=i(u[k],F),$=T,z=O-v[x]-C,B=O/2-v[x]/2+M,L=d($,B,z),j=null!=y(r)&&B!=L&&a.reference[x]/2-(B<$?T:C)-v[x]/2<0?B<$?$-B:z-B:0;return{[g]:p[g]-j,data:{[g]:L,centerOffset:B-L+j}}}}))({element:l})),c}return[]}function gt(t,n){const e=t.filter((t=>dt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${dt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ht(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function xt(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=bt.get(t);return e||(e=n(ft,100,{leading:!0,maxWait:100}),bt.set(t,e),e)}(t):ft;return r(t,e)}const wt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},vt=new WeakMap,bt=new WeakMap;function At(t,n,e){e&&n&&(St(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),vt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,d=K(t),m=r||l?[...d?G(d):[],...G(n)]:[];m.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),l&&t.addEventListener("resize",e)}));const p=d&&f?function(t,n){let e,o=null;const r=$(t);function l(){clearTimeout(e),o&&o.disconnect(),o=null}return function s(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const{left:d,top:m,width:p,height:y}=t.getBoundingClientRect();if(f||n(),!p||!y)return;const g={rootMargin:-c(m)+"px "+-c(r.clientWidth-(d+p))+"px "+-c(r.clientHeight-(m+y))+"px "+-c(d)+"px",threshold:a(0,i(1,u))||1};let h=!0;function x(t){const n=t[0].intersectionRatio;if(n!==u){if(!h)return s();n?s(!1,n):e=setTimeout((()=>{s(!1,1e-7)}),100)}h=!1}try{o=new IntersectionObserver(x,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),l}(d,e):null;let y,g=-1,h=null;s&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&h&&(h.unobserve(n),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{h&&h.observe(n)}))),e()})),d&&!u&&h.observe(d),h.observe(n));let x=u?tt(t):null;return u&&function n(){const o=tt(t);!x||o.x===x.x&&o.y===x.y&&o.width===x.width&&o.height===x.height||e(),x=o,y=requestAnimationFrame(n)}(),e(),()=>{m.forEach((t=>{r&&t.removeEventListener("scroll",e),l&&t.removeEventListener("resize",e)})),p&&p(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(y)}}(n,e,(()=>t.reposition()))))}function St(t,n,e){e&&n&&(vt.get(t)?.(),vt.delete(t),bt.get(t)?.cancel(),bt.delete(t))}const kt=Math.ceil(Math.hypot(4,4));export{pt as F,St as a,kt as b,At as c,mt as d,gt as f,xt as r}
6
+ import{g as t}from"./p-eb0ecd49.js";import{d as n}from"./p-da0fe9e9.js";const e=["top","right","bottom","left"],o=["start","end"],r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]),i=Math.min,a=Math.max,l=Math.round,c=Math.floor,s=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(t,n,e){return a(t,i(n,e))}function m(t,n){return"function"==typeof t?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(p(t))?"y":"x"}function w(t){return g(x(t))}function v(t,n,e){void 0===e&&(e=!1);const o=y(t),r=w(t),i=h(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function b(t){return t.replace(/start|end/g,(t=>u[t]))}function A(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function S(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function k(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P(t,n,e){let{reference:o,floating:r}=t;const i=x(n),a=w(n),l=h(a),c=p(n),s="y"===i,f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=o[l]/2-r[l]/2;let m;switch(c){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[a]-=d*(e&&s?-1:1);break;case"end":m[a]+=d*(e&&s?-1:1)}return m}async function D(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=m(n,t),y=S(p),g=l[d?"floating"===u?"reference":"floating":u],h=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(g)))||e?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),x="floating"===u?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:w,strategy:c}):x);return{top:(h.top-b.top+y.top)/v.y,bottom:(b.bottom-h.bottom+y.bottom)/v.y,left:(h.left-b.left+y.left)/v.x,right:(b.right-h.right+y.right)/v.x}}const R=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:r,rects:i,initialPlacement:a,platform:l,elements:c}=n,{mainAxis:s=!0,crossAxis:f=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...x}=m(t,n),w=p(o),S=p(a)===a,k=await(null==l.isRTL?void 0:l.isRTL(c.floating)),P=u||(S||!h?[A(a)]:function(t){const n=A(t);return[b(t),n,b(n)]}(a));u||"none"===g||P.push(...function(t,n,e,o){const r=y(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(p(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(b)))),i}(a,h,g,k));const R=[a,...P],E=await D(n,x),O=[];let M=(null==(e=r.flip)?void 0:e.overflows)||[];if(s&&O.push(E[w]),f){const t=v(o,i,k);O.push(E[t[0]],E[t[1]])}if(M=[...M,{placement:o,overflows:O}],!O.every((t=>t<=0))){var F,T;const t=((null==(F=r.flip)?void 0:F.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:M},reset:{placement:n}};let e=null==(T=M.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:T.placement;if(!e)switch(d){case"bestFit":{var C;const t=null==(C=M.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:C[0];t&&(e=t);break}case"initialPlacement":e=a}if(o!==e)return{reset:{placement:e}}}return{}}}};function E(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function O(t){return e.some((n=>t[n]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=E(await D(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:O(t)}}}case"escaped":{const t=E(await D(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:O(t)}}}default:return{}}}}},F=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=p(e),l=y(e),c="y"===x(e),s=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return l&&"number"==typeof h&&(g="end"===l?-1*h:h),c?{x:g*f,y:d*s}:{x:d*s,y:g*f}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}};function T(t){return z(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function $(t){var n;return null==(n=(z(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function z(t){return t instanceof Node||t instanceof C(t).Node}function B(t){return t instanceof Element||t instanceof C(t).Element}function L(t){return t instanceof HTMLElement||t instanceof C(t).HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}function H(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function I(t){return["table","td","th"].includes(T(t))}function W(t){const n=N(),e=Y(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function N(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(T(t))}function Y(t){return C(t).getComputedStyle(t)}function V(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function X(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||$(t);return j(n)?n.host:n}function _(t){const n=X(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:L(n)&&H(n)?n:_(n)}function G(t,n){var e;void 0===n&&(n=[]);const o=_(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=C(o);return r?n.concat(i,i.visualViewport||[],H(o)?o:[]):n.concat(o,G(o))}function J(t){const n=Y(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=L(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,c=l(e)!==i||l(o)!==a;return c&&(e=i,o=a),{width:e,height:o,$:c}}function K(t){return B(t)?t:t.contextElement}function Q(t){const n=K(t);if(!L(n))return s(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=J(n);let a=(i?l(e.width):e.width)/o,c=(i?l(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const U=s(0);function Z(t){const n=C(t);return N()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=K(t);let a=s(1);n&&(o?B(o)&&(a=Q(o)):a=Q(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(i,e,o)?Z(i):s(0);let c=(r.left+l.x)/a.x,f=(r.top+l.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const t=C(i),n=o&&B(o)?C(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=Q(e),n=e.getBoundingClientRect(),o=Y(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,f*=t.y,u*=t.x,d*=t.y,c+=r,f+=i,e=C(e).frameElement}}return k({width:u,height:d,x:c,y:f})}function nt(t){return tt($(t)).left+V(t).scrollLeft}function et(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=C(t),o=$(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=N();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=$(t),e=V(t),o=t.ownerDocument.body,r=a(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=a(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===Y(o).direction&&(l+=a(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}($(t));else if(B(n))o=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=L(t)?Q(t):s(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Z(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return k(o)}function ot(t,n){const e=X(t);return!(e===n||!B(e)||q(e))&&("fixed"===Y(e).position||ot(e,n))}function rt(t,n,e){const o=L(n),r=$(n),i="fixed"===e,a=tt(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c=s(0);if(o||!o&&!i)if(("body"!==T(n)||H(r))&&(l=V(n)),o){const t=tt(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=nt(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function it(t,n){return L(t)&&"fixed"!==Y(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=C(t);if(!L(t))return e;let o=it(t,n);for(;o&&I(o)&&"static"===Y(o).position;)o=it(o,n);return o&&("html"===T(o)||"body"===T(o)&&"static"===Y(o).position&&!W(o))?e:o||function(t){let n=X(t);for(;L(n)&&!q(n);){if(W(n))return n;n=X(n)}return null}(t)||e}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=L(e),i=$(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=s(1);const c=s(0);if((r||!r&&"fixed"!==o)&&(("body"!==T(e)||H(i))&&(a=V(e)),L(e))){const t=tt(e);l=Q(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:$,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=G(t).filter((t=>B(t)&&"body"!==T(t))),r=null;const i="fixed"===Y(t).position;let a=i?X(t):t;for(;B(a)&&!q(a);){const n=Y(a),e=W(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||H(a)&&!e&&ot(t,a))?o=o.filter((t=>t!==a)):r=n,a=X(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],c=l.reduce(((t,e)=>{const o=et(n,e,r);return t.top=a(o.top,t.top),t.right=i(o.right,t.right),t.bottom=i(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),et(n,l[0],r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:at,getElementRects:async function(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:rt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return J(t)},getScale:Q,isElement:B,isRTL:function(t){return"rtl"===Y(t).direction}};function ct(t){return function(t){for(let n=t;n;n=st(n))if(n instanceof Element&&"none"===getComputedStyle(n).display)return null;for(let n=st(t);n;n=st(n)){if(!(n instanceof Element))continue;const t=getComputedStyle(n);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return n;if("BODY"===n.tagName)return n}}return null}(t)}function st(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}!function(){{const t=lt.getOffsetParent;lt.getOffsetParent=n=>t(n,ct)}}();const ft=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})=>{if(!n||!e)return null;const{x:u,y:d,placement:m,strategy:p,middlewareData:y}=await((t,n,e)=>{const o=new Map,r={platform:lt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:f,y:u}=P(s,o,c),d=o,m={},p=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:h,data:x,reset:w}=await y({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});f=null!=g?g:f,u=null!=h?h:u,m={...m,[i]:{...m[i],...x}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:f,y:u}=P(s,d,c))),e=-1)}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:ht(e,r),middleware:yt({placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:s,type:f})});if(s&&y.arrow){const{x:n,y:e}=y.arrow,o=m.split("-")[0],r=null!=n?"left":"top",i=wt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(s.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const g=y.hide?.referenceHidden,h=g?"hidden":null,x=h?"none":null;e.setAttribute(ut,m);const w=`translate(${Math.round(u)}px,${Math.round(d)}px)`;Object.assign(e.style,{visibility:h,pointerEvents:x,position:p,top:"0",left:"0",transform:w})},ut="data-placement",dt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],mt="bottom-start",pt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function yt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:a,arrowEl:l,type:c}){const s=[(void 0===f&&(f={}),{name:"shift",options:f,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:a={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...l}=m(f,t),c={x:n,y:e},s=await D(t,l),u=x(p(o)),y=g(u);let h=c[y],w=c[u];r&&(h=d(h+s["y"===y?"top":"left"],h,h-s["y"===y?"bottom":"right"])),i&&(w=d(w+s["y"===u?"top":"left"],w,w-s["y"===u?"bottom":"right"]));const v=a.fn({...t,[y]:h,[u]:w});return{...v,data:{x:v.x-n,y:v.y-e}}}}),M()];var f;if("menu"===c)return[...s,R({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===c||"tooltip"===c){const c=[...s,F({mainAxis:"number"==typeof o?o:0,crossAxis:"number"==typeof a?a:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?c.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:a,middlewareData:l,placement:c,platform:s,elements:f}=n,{crossAxis:u=!1,alignment:d,allowedPlacements:g=r,autoAlignment:h=!0,...x}=m(t,n),w=void 0!==d||g===r?function(t,n,e){return(t?[...e.filter((n=>y(n)===t)),...e.filter((n=>y(n)!==t))]:e.filter((t=>p(t)===t))).filter((e=>!t||y(e)===t||!!n&&b(e)!==e))}(d||null,h,g):g,A=await D(n,x),S=(null==(e=l.autoPlacement)?void 0:e.index)||0,k=w[S];if(null==k)return{};const P=v(k,a,await(null==s.isRTL?void 0:s.isRTL(f.floating)));if(c!==k)return{reset:{placement:w[0]}};const R=[A[p(k)],A[P[0]],A[P[1]]],E=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:k,overflows:R}],O=w[S+1];if(O)return{data:{index:S+1,overflows:E},reset:{placement:O}};const M=E.map((t=>{const n=y(t.placement);return[t.placement,n&&u?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),F=(null==(i=M.filter((t=>t[2].slice(0,y(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||M[0][0];return F!==c?{data:{index:S+1,overflows:E},reset:{placement:F}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||c.push(R(e?{fallbackPlacements:e}:{})),l&&c.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:r,rects:a,platform:l,elements:c}=n,{element:s,padding:f=0}=m(t,n)||{};if(null==s)return{};const u=S(f),p={x:e,y:o},g=w(r),x=h(g),v=await l.getDimensions(s),b="y"===g,A=b?"top":"left",k=b?"bottom":"right",P=b?"clientHeight":"clientWidth",D=a.reference[x]+a.reference[g]-p[g]-a.floating[x],R=p[g]-a.reference[g],E=await(null==l.getOffsetParent?void 0:l.getOffsetParent(s));let O=E?E[P]:0;O&&await(null==l.isElement?void 0:l.isElement(E))||(O=c.floating[P]||a.floating[x]);const M=D/2-R/2,F=O/2-v[x]/2-1,T=i(u[A],F),C=i(u[k],F),$=T,z=O-v[x]-C,B=O/2-v[x]/2+M,L=d($,B,z),j=null!=y(r)&&B!=L&&a.reference[x]/2-(B<$?T:C)-v[x]/2<0?B<$?$-B:z-B:0;return{[g]:p[g]-j,data:{[g]:L,centerOffset:B-L+j}}}}))({element:l})),c}return[]}function gt(t,n){const e=t.filter((t=>dt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${dt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ht(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function xt(t,e,o=!1){if(!t.open)return;const r=o?function(t){let e=bt.get(t);return e||(e=n(ft,100,{leading:!0,maxWait:100}),bt.set(t,e),e)}(t):ft;return r(t,e)}const wt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},vt=new WeakMap,bt=new WeakMap;function At(t,n,e){e&&n&&(St(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),vt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,d=K(t),m=r||l?[...d?G(d):[],...G(n)]:[];m.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),l&&t.addEventListener("resize",e)}));const p=d&&f?function(t,n){let e,o=null;const r=$(t);function l(){clearTimeout(e),o&&o.disconnect(),o=null}return function s(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const{left:d,top:m,width:p,height:y}=t.getBoundingClientRect();if(f||n(),!p||!y)return;const g={rootMargin:-c(m)+"px "+-c(r.clientWidth-(d+p))+"px "+-c(r.clientHeight-(m+y))+"px "+-c(d)+"px",threshold:a(0,i(1,u))||1};let h=!0;function x(t){const n=t[0].intersectionRatio;if(n!==u){if(!h)return s();n?s(!1,n):e=setTimeout((()=>{s(!1,1e-7)}),100)}h=!1}try{o=new IntersectionObserver(x,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}(!0),l}(d,e):null;let y,g=-1,h=null;s&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===d&&h&&(h.unobserve(n),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{h&&h.observe(n)}))),e()})),d&&!u&&h.observe(d),h.observe(n));let x=u?tt(t):null;return u&&function n(){const o=tt(t);!x||o.x===x.x&&o.y===x.y&&o.width===x.width&&o.height===x.height||e(),x=o,y=requestAnimationFrame(n)}(),e(),()=>{m.forEach((t=>{r&&t.removeEventListener("scroll",e),l&&t.removeEventListener("resize",e)})),p&&p(),h&&h.disconnect(),h=null,u&&cancelAnimationFrame(y)}}(n,e,(()=>t.reposition()))))}function St(t,n,e){e&&n&&(vt.get(t)?.(),vt.delete(t),bt.get(t)?.cancel(),bt.delete(t))}const kt=Math.ceil(Math.hypot(4,4));export{pt as F,St as a,kt as b,At as c,mt as d,gt as f,xt as r}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
+ * v1.7.0-next.20
5
+ */
6
+ import{r as t,h as i,H as e,a as o,f as n}from"./p-a818fdc2.js";import{t as a}from"./p-eb0ecd49.js";import{g as r}from"./p-f1a9ed23.js";import{c as s,d as c,u as l}from"./p-44c18974.js";import{s as d,a as u,c as h}from"./p-72162656.js";import{c as b,d as p}from"./p-a5985717.js";import{c as f}from"./p-d02205f3.js";import{u as v,c as g,s as m,d as x}from"./p-31d73bd1.js";import"./p-479102a9.js";import"./p-2f6435ed.js";import"./p-4c63e55f.js";const y=class{constructor(i){t(this,i),this.mutationObserver=f("mutation",(()=>n(this))),this.guid=`calcite-action-${r()}`,this.indicatorId=`${this.guid}-indicator`,this.buttonId=`${this.guid}-button`,this.handleTooltipSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-tooltip")))[0];i&&(i.referenceElement=this.buttonEl)},this.active=!1,this.alignment=void 0,this.appearance="solid",this.compact=!1,this.disabled=!1,this.icon=void 0,this.iconFlipRtl=!1,this.indicator=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}onMessagesChange(){}effectiveLocaleChange(){v(this,this.effectiveLocale)}connectedCallback(){s(this),b(this),g(this),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){d(this),await m(this)}componentDidLoad(){u(this)}disconnectedCallback(){c(this),p(this),x(this),this.mutationObserver?.disconnect()}componentDidRender(){l(this)}async setFocus(){await h(this),this.buttonEl?.focus()}renderTextContainer(){const{text:t,textEnabled:e}=this;return t?i("div",{class:{"text-container":!0,"text-container--visible":e},key:"text-container"},t):null}renderIndicatorText(){const{indicator:t,messages:e,indicatorId:o,buttonId:n}=this;return i("div",{"aria-labelledby":n,"aria-live":"polite",class:"indicator-text",id:o,role:"region"},t?e.indicator:null)}renderIconContainer(){const{loading:t,icon:e,scale:o,el:n,iconFlipRtl:a}=this,r="l"===o?"m":"s",s=t?i("calcite-loader",{inline:!0,label:this.messages.loading,scale:"l"===o?"l":"m"}):null,c=e?i("calcite-icon",{flipRtl:a,icon:e,scale:r}):null,l=s||c,d=l||n.children?.length,u=i("div",{class:{"slot-container":!0,"slot-container--hidden":t}},i("slot",null));return d?i("div",{"aria-hidden":"true",class:"icon-container",key:"icon-container"},l,u):null}render(){const{active:t,compact:o,disabled:n,loading:r,textEnabled:s,label:c,text:l,indicator:d,indicatorId:u,buttonId:h,messages:b}=this,p=`${c||l}${d?` (${b.indicator})`:""}`,f={button:!0,"button--text-visible":s,"button--compact":o};return i(e,null,i("button",{"aria-busy":a(r),"aria-controls":d?u:null,"aria-disabled":a(n),"aria-label":p,"aria-pressed":a(t),class:f,disabled:n,id:h,ref:t=>this.buttonEl=t},this.renderIconContainer(),this.renderTextContainer()),i("slot",{name:"tooltip",onSlotchange:this.handleTooltipSlotChange}),this.renderIndicatorText())}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=':host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.button{position:relative;margin:0px;display:flex;inline-size:auto;cursor:pointer;align-items:center;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);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 )}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{pointer-events:none;margin:0px;display:flex;align-items:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}.button .text-container{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;transition-property:opacity;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:margin;transition-property:inline-size}.button .text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1;margin-inline-end:1rem}:host([scale=s]) .button{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{margin-inline-end:0.5rem}:host([scale=m]) .button{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=l]) .button--text-visible .icon-container{margin-inline-end:1rem}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.button--text-visible{inline-size:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=transparent]) .button{background-color:transparent;transition-property:box-shadow;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host([appearance=transparent]) .button:hover,:host([appearance=transparent]) .button:focus{background-color:transparent;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=transparent]) .button,:host([active][appearance=transparent]) .button:hover,:host([active][appearance=transparent]) .button:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([appearance=transparent][loading]) .button,:host([appearance=transparent][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{color:var(--calcite-ui-text-3);margin-inline-end:0px}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}.indicator-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}';export{y as calcite_action}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.19
4
+ * v1.7.0-next.20
5
5
  */
6
- import{d as e,a as t}from"./p-f77690b0.js";function o(){const{classList:o}=document.body,n=window.matchMedia("(prefers-color-scheme: dark)").matches,d=()=>o.contains(e)||o.contains(t)&&n?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:e}})),i=e=>{a!==e&&c(e),a=e};let a=d();c(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>i(e.matches?"dark":"light"))),new MutationObserver((()=>i(d()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const n=function(){"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document&&("interactive"===document.readyState?o():document.addEventListener("DOMContentLoaded",(()=>o()),{once:!0}))};export{n as g}
6
+ import{d as e,a as t}from"./p-479102a9.js";function o(){const{classList:o}=document.body,n=window.matchMedia("(prefers-color-scheme: dark)").matches,d=()=>o.contains(e)||o.contains(t)&&n?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:e}})),i=e=>{a!==e&&c(e),a=e};let a=d();c(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>i(e.matches?"dark":"light"))),new MutationObserver((()=>i(d()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const n=function(){"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document&&("interactive"===document.readyState?o():document.addEventListener("DOMContentLoaded",(()=>o()),{once:!0}))};export{n as g}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.19
4
+ * v1.7.0-next.20
5
5
  */
6
- import{r as i,c as e,h as t,H as n,a as c}from"./p-b75b04f6.js";import{b as a,t as s}from"./p-a10e4482.js";import{c as o,d as r}from"./p-dab319f5.js";import{a as l,s as h,c as d}from"./p-68dbb876.js";import{u as p,c as u,d as v,s as m}from"./p-bec36110.js";import{c as b,u as g,d as f}from"./p-9be86efa.js";import{c as k,d as x}from"./p-d2cf8867.js";import{c as y}from"./p-5af4edb9.js";import{i as z}from"./p-0c567b1c.js";import"./p-df5b193f.js";import"./p-f77690b0.js";import"./p-fabe7c87.js";const w=class{constructor(t){i(this,t),this.calciteChipClose=e(this,"calciteChipClose",6),this.calciteChipSelect=e(this,"calciteChipSelect",6),this.calciteInternalChipKeyEvent=e(this,"calciteInternalChipKeyEvent",6),this.mutationObserver=y("mutation",(()=>this.updateHasText())),this.close=()=>{this.calciteChipClose.emit(),this.selected=!1,this.closed=!0},this.closeButtonKeyDownHandler=i=>{z(i.key)&&(i.preventDefault(),this.close())},this.handleSlotImageChange=i=>{this.hasImage=a(i)},this.handleEmittingEvent=()=>{this.interactive&&this.calciteChipSelect.emit()},this.disabled=!1,this.appearance="solid",this.kind="neutral",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.label=void 0,this.value=void 0,this.closed=!1,this.selectionMode="none",this.selected=!1,this.messageOverrides=void 0,this.messages=void 0,this.interactive=!1,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasText=!1,this.hasImage=!1}onMessagesChange(){}effectiveLocaleChange(){p(this,this.effectiveLocale)}connectedCallback(){o(this),b(this),k(this),u(this),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}componentDidLoad(){l(this)}componentDidRender(){g(this)}disconnectedCallback(){r(this),f(this),x(this),v(this),this.mutationObserver?.disconnect()}async componentWillLoad(){h(this),await m(this),this.updateHasText()}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.handleEmittingEvent(),i.preventDefault();break;case"ArrowRight":case"ArrowLeft":case"Home":case"End":this.calciteInternalChipKeyEvent.emit(i),i.preventDefault()}}clickHandler(){!this.interactive&&this.closable&&this.closeButtonEl.focus()}async setFocus(){await d(this),!this.disabled&&this.interactive?this.containerEl?.focus():!this.disabled&&this.closable&&this.closeButtonEl?.focus()}updateHasText(){this.hasText=this.el.textContent.trim().length>0}renderChipImage(){return t("div",{class:"image-container"},t("slot",{name:"image",onSlotchange:this.handleSlotImageChange}))}renderSelectionIcon(){return t("div",{class:{"select-icon":!0,"select-icon--active":"multiple"===this.selectionMode||this.selected}},t("calcite-icon",{icon:"multiple"===this.selectionMode&&this.selected?"check-circle-f":"multiple"===this.selectionMode?"circle":this.selected?"circle-f":void 0,scale:"l"===this.scale?"m":"s"}))}renderCloseButton(){return t("button",{"aria-label":this.messages.dismissLabel,class:"close",onClick:this.close,onKeyDown:this.closeButtonKeyDownHandler,tabIndex:this.disabled?-1:0,ref:i=>this.closeButtonEl=i},t("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"}))}renderIcon(){return t("calcite-icon",{class:"chip-icon",flipRtl:this.iconFlipRtl,icon:this.icon,scale:"l"===this.scale?"m":"s"})}render(){const i=this.disabled||!this.disabled&&!this.interactive,e="multiple"===this.selectionMode&&this.interactive?"checkbox":"none"!==this.selectionMode&&this.interactive?"radio":this.interactive?"button":void 0;return t(n,null,t("div",{"aria-checked":"none"!==this.selectionMode&&this.interactive?s(this.selected):void 0,"aria-disabled":i?s(this.disabled):void 0,"aria-label":this.label,class:{container:!0,"text--slotted":this.hasText,"image--slotted":this.hasImage,selectable:"none"!==this.selectionMode,multiple:"multiple"===this.selectionMode,closable:this.closable,"non-interactive":!this.interactive,"is-circle":!(this.closable||this.hasText||this.icon&&this.hasImage||"none"!==this.selectionMode&&(!this.selectionMode||"multiple"===this.selectionMode||this.selected))},onClick:this.handleEmittingEvent,role:e,tabIndex:i?-1:0,ref:i=>this.containerEl=i},"none"!==this.selectionMode&&this.renderSelectionIcon(),this.renderChipImage(),this.icon&&this.renderIcon(),t("span",{class:"title"},t("slot",null)),this.closable&&this.renderCloseButton()))}static get assetsDirs(){return["assets"]}get el(){return c(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-s-internal:0.25rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=s]) .close,:host([scale=s]) .select-icon--active{block-size:1rem;inline-size:1rem}:host([scale=s]) .image-container{block-size:1.25rem;inline-size:1.25rem}:host([scale=s]) .container.is-circle{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]){block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-s-internal:0.375rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=m]) .close,:host([scale=m]) .image-container,:host([scale=m]) .select-icon--active{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]) .container.is-circle{block-size:2rem;inline-size:2rem}:host([scale=l]){block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-s-internal:0.5rem;--calcite-chip-spacing-l-internal:0.75rem}:host([scale=l]) .image-container,:host([scale=l]) .close,:host([scale=l]) .select-icon--active{block-size:2rem;inline-size:2rem}:host([scale=l]) .container.is-circle{block-size:2.75rem;inline-size:2.75rem}:host{display:inline-flex;cursor:default;border-radius:9999px}.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);outline-color:transparent}.container:not(.is-circle){padding-inline:var(--calcite-chip-spacing-s-internal)}.container.selectable{cursor:pointer}.container:not(.non-interactive):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([scale=s]) .container.image--slotted{padding-inline-start:calc(0.125rem / 2)}:host([scale=s]) .container.is-circle{padding-inline:0}.container.text--slotted .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:var(--calcite-chip-spacing-s-internal)}.container:not(.text--slotted) .title{display:none}.container:not(.image--slotted) .image-container{display:none}.container.closable{padding-inline-end:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted{padding-inline-start:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).image--slotted .image-container~.chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).selectable:not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.selectable):not(.text--slotted) .chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text-slotted).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container{margin-inline-end:0}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container~.chip-icon{margin-inline-start:calc(var(--calcite-chip-spacing-s-internal) * 2)}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline:var(--calcite-chip-spacing-s-internal)}.image-container{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;pointer-events:none}.close{margin:0px;cursor:pointer;align-items:center;border-style:none;background-color:transparent;color:var(--calcite-ui-text-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;display:flex;border-radius:50%;align-content:center;justify-content:center;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}.close:hover{background-color:var(--calcite-chip-transparent-hover)}.close:focus{background-color:var(--calcite-chip-transparent-hover);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:active{background-color:var(--calcite-chip-transparent-press)}.close calcite-icon{color:inherit}.select-icon{align-self:center;justify-content:center;align-items:center;display:flex;inset-block-start:-1px;position:relative;visibility:hidden;inline-size:0;opacity:0;transition:opacity 0.15s ease-in-out, inline-size 0.15s ease-in-out}.select-icon.select-icon--active{visibility:visible;opacity:0.5}.container:not(.is-circle).image--slotted .select-icon.select-icon--active{margin-inline-end:var(--calcite-chip-spacing-s-internal)}:host([selected]) .select-icon{opacity:1}.container:hover .select-icon--active{opacity:1}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}:host([kind=neutral]){background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host([kind=neutral]) .container{border-color:transparent}:host([kind=neutral]) .close{color:var(--calcite-ui-text-3)}:host([kind=neutral]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([kind=inverse]){background-color:var(--calcite-ui-inverse);color:var(--calcite-ui-text-inverse)}:host([kind=inverse]) .container{border-color:transparent}:host([kind=inverse]) .close{color:var(--calcite-ui-text-inverse)}:host([kind=inverse]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-inverse))}:host([kind=brand]){background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}:host([kind=brand]) .container{border-color:transparent}:host([kind=brand]) .close{color:var(--calcite-ui-text-inverse)}:host([kind=brand]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-inverse))}:host([appearance=outline-fill]),:host([appearance=outline]){background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}:host([appearance=outline-fill]) .close,:host([appearance=outline]) .close{color:var(--calcite-ui-text-3)}:host([appearance=outline-fill]) .chip-icon,:host([appearance=outline]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([appearance=outline-fill]){background-color:var(--calcite-ui-foreground-1)}:host([appearance=outline]){background-color:transparent}:host([kind=neutral][appearance=outline-fill]) .container,:host([kind=neutral][appearance=outline]) .container{border-color:var(--calcite-ui-border-1)}:host([kind=inverse][appearance=outline-fill]) .container,:host([kind=inverse][appearance=outline]) .container{border-color:var(--calcite-ui-border-inverse)}:host([kind=brand][appearance=outline-fill]) .container,:host([kind=brand][appearance=outline]) .container{border-color:var(--calcite-ui-brand)}:host([kind=brand][appearance=solid]) button,:host([kind=inverse][appearance=solid]) button{outline-color:var(--calcite-ui-text-inverse)}:host([closed]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_chip}
6
+ import{r as i,c as e,h as t,H as n,a as c}from"./p-a818fdc2.js";import{b as a,t as s}from"./p-eb0ecd49.js";import{c as o,d as r}from"./p-c00aef7a.js";import{a as l,s as h,c as d}from"./p-72162656.js";import{u as p,c as u,d as v,s as m}from"./p-31d73bd1.js";import{c as b,u as g,d as f}from"./p-44c18974.js";import{c as k,d as x}from"./p-a5985717.js";import{c as y}from"./p-d02205f3.js";import{i as z}from"./p-4c63e55f.js";import"./p-f1a9ed23.js";import"./p-479102a9.js";import"./p-2f6435ed.js";const w=class{constructor(t){i(this,t),this.calciteChipClose=e(this,"calciteChipClose",6),this.calciteChipSelect=e(this,"calciteChipSelect",6),this.calciteInternalChipKeyEvent=e(this,"calciteInternalChipKeyEvent",6),this.mutationObserver=y("mutation",(()=>this.updateHasText())),this.close=()=>{this.calciteChipClose.emit(),this.selected=!1,this.closed=!0},this.closeButtonKeyDownHandler=i=>{z(i.key)&&(i.preventDefault(),this.close())},this.handleSlotImageChange=i=>{this.hasImage=a(i)},this.handleEmittingEvent=()=>{this.interactive&&this.calciteChipSelect.emit()},this.disabled=!1,this.appearance="solid",this.kind="neutral",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.label=void 0,this.value=void 0,this.closed=!1,this.selectionMode="none",this.selected=!1,this.messageOverrides=void 0,this.messages=void 0,this.interactive=!1,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasText=!1,this.hasImage=!1}onMessagesChange(){}effectiveLocaleChange(){p(this,this.effectiveLocale)}connectedCallback(){o(this),b(this),k(this),u(this),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}componentDidLoad(){l(this)}componentDidRender(){g(this)}disconnectedCallback(){r(this),f(this),x(this),v(this),this.mutationObserver?.disconnect()}async componentWillLoad(){h(this),await m(this),this.updateHasText()}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.handleEmittingEvent(),i.preventDefault();break;case"ArrowRight":case"ArrowLeft":case"Home":case"End":this.calciteInternalChipKeyEvent.emit(i),i.preventDefault()}}clickHandler(){!this.interactive&&this.closable&&this.closeButtonEl.focus()}async setFocus(){await d(this),!this.disabled&&this.interactive?this.containerEl?.focus():!this.disabled&&this.closable&&this.closeButtonEl?.focus()}updateHasText(){this.hasText=this.el.textContent.trim().length>0}renderChipImage(){return t("div",{class:"image-container"},t("slot",{name:"image",onSlotchange:this.handleSlotImageChange}))}renderSelectionIcon(){return t("div",{class:{"select-icon":!0,"select-icon--active":"multiple"===this.selectionMode||this.selected}},t("calcite-icon",{icon:"multiple"===this.selectionMode&&this.selected?"check-circle-f":"multiple"===this.selectionMode?"circle":this.selected?"circle-f":void 0,scale:"l"===this.scale?"m":"s"}))}renderCloseButton(){return t("button",{"aria-label":this.messages.dismissLabel,class:"close",onClick:this.close,onKeyDown:this.closeButtonKeyDownHandler,tabIndex:this.disabled?-1:0,ref:i=>this.closeButtonEl=i},t("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"}))}renderIcon(){return t("calcite-icon",{class:"chip-icon",flipRtl:this.iconFlipRtl,icon:this.icon,scale:"l"===this.scale?"m":"s"})}render(){const i=this.disabled||!this.disabled&&!this.interactive,e="multiple"===this.selectionMode&&this.interactive?"checkbox":"none"!==this.selectionMode&&this.interactive?"radio":this.interactive?"button":void 0;return t(n,null,t("div",{"aria-checked":"none"!==this.selectionMode&&this.interactive?s(this.selected):void 0,"aria-disabled":i?s(this.disabled):void 0,"aria-label":this.label,class:{container:!0,"text--slotted":this.hasText,"image--slotted":this.hasImage,selectable:"none"!==this.selectionMode,multiple:"multiple"===this.selectionMode,closable:this.closable,"non-interactive":!this.interactive,"is-circle":!(this.closable||this.hasText||this.icon&&this.hasImage||"none"!==this.selectionMode&&(!this.selectionMode||"multiple"===this.selectionMode||this.selected))},onClick:this.handleEmittingEvent,role:e,tabIndex:i?-1:0,ref:i=>this.containerEl=i},"none"!==this.selectionMode&&this.renderSelectionIcon(),this.renderChipImage(),this.icon&&this.renderIcon(),t("span",{class:"title"},t("slot",null)),this.closable&&this.renderCloseButton()))}static get assetsDirs(){return["assets"]}get el(){return c(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-s-internal:0.25rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=s]) .close,:host([scale=s]) .select-icon--active{block-size:1rem;inline-size:1rem}:host([scale=s]) .image-container{block-size:1.25rem;inline-size:1.25rem}:host([scale=s]) .container.is-circle{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]){block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-s-internal:0.375rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=m]) .close,:host([scale=m]) .image-container,:host([scale=m]) .select-icon--active{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]) .container.is-circle{block-size:2rem;inline-size:2rem}:host([scale=l]){block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-s-internal:0.5rem;--calcite-chip-spacing-l-internal:0.75rem}:host([scale=l]) .image-container,:host([scale=l]) .close,:host([scale=l]) .select-icon--active{block-size:2rem;inline-size:2rem}:host([scale=l]) .container.is-circle{block-size:2.75rem;inline-size:2.75rem}:host{display:inline-flex;cursor:default;border-radius:9999px}.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);outline-color:transparent}.container:not(.is-circle){padding-inline:var(--calcite-chip-spacing-s-internal)}.container.selectable{cursor:pointer}.container:not(.non-interactive):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([scale=s]) .container.image--slotted{padding-inline-start:calc(0.125rem / 2)}:host([scale=s]) .container.is-circle{padding-inline:0}.container.text--slotted .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:var(--calcite-chip-spacing-s-internal)}.container:not(.text--slotted) .title{display:none}.container:not(.image--slotted) .image-container{display:none}.container.closable{padding-inline-end:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted{padding-inline-start:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).image--slotted .image-container~.chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).selectable:not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.selectable):not(.text--slotted) .chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text-slotted).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container{margin-inline-end:0}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container~.chip-icon{margin-inline-start:calc(var(--calcite-chip-spacing-s-internal) * 2)}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline:var(--calcite-chip-spacing-s-internal)}.image-container{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;pointer-events:none}.close{margin:0px;cursor:pointer;align-items:center;border-style:none;background-color:transparent;color:var(--calcite-ui-text-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;display:flex;border-radius:50%;align-content:center;justify-content:center;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}.close:hover{background-color:var(--calcite-chip-transparent-hover)}.close:focus{background-color:var(--calcite-chip-transparent-hover);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:active{background-color:var(--calcite-chip-transparent-press)}.close calcite-icon{color:inherit}.select-icon{align-self:center;justify-content:center;align-items:center;display:flex;inset-block-start:-1px;position:relative;visibility:hidden;inline-size:0;opacity:0;transition:opacity 0.15s ease-in-out, inline-size 0.15s ease-in-out}.select-icon.select-icon--active{visibility:visible;opacity:0.5}.container:not(.is-circle).image--slotted .select-icon.select-icon--active{margin-inline-end:var(--calcite-chip-spacing-s-internal)}:host([selected]) .select-icon{opacity:1}.container:hover .select-icon--active{opacity:1}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}:host([kind=neutral]){background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host([kind=neutral]) .container{border-color:transparent}:host([kind=neutral]) .close{color:var(--calcite-ui-text-3)}:host([kind=neutral]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([kind=inverse]){background-color:var(--calcite-ui-inverse);color:var(--calcite-ui-text-inverse)}:host([kind=inverse]) .container{border-color:transparent}:host([kind=inverse]) .close{color:var(--calcite-ui-text-inverse)}:host([kind=inverse]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-inverse))}:host([kind=brand]){background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}:host([kind=brand]) .container{border-color:transparent}:host([kind=brand]) .close{color:var(--calcite-ui-text-inverse)}:host([kind=brand]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-inverse))}:host([appearance=outline-fill]),:host([appearance=outline]){background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}:host([appearance=outline-fill]) .close,:host([appearance=outline]) .close{color:var(--calcite-ui-text-3)}:host([appearance=outline-fill]) .chip-icon,:host([appearance=outline]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([appearance=outline-fill]){background-color:var(--calcite-ui-foreground-1)}:host([appearance=outline]){background-color:transparent}:host([kind=neutral][appearance=outline-fill]) .container,:host([kind=neutral][appearance=outline]) .container{border-color:var(--calcite-ui-border-1)}:host([kind=inverse][appearance=outline-fill]) .container,:host([kind=inverse][appearance=outline]) .container{border-color:var(--calcite-ui-border-inverse)}:host([kind=brand][appearance=outline-fill]) .container,:host([kind=brand][appearance=outline]) .container{border-color:var(--calcite-ui-brand)}:host([kind=brand][appearance=solid]) button,:host([kind=inverse][appearance=solid]) button{outline-color:var(--calcite-ui-text-inverse)}:host([closed]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_chip}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.19
4
+ * v1.7.0-next.20
5
5
  */
6
- import{r as e,c as t,h as i,H as a,a as n}from"./p-b75b04f6.js";import{l as s,a as l}from"./p-e6c167bd.js";import"./p-a10e4482.js";import"./p-df5b193f.js";import"./p-f77690b0.js";const o=class{constructor(i){e(this,i),this.calciteInternalLabelClick=t(this,"calciteInternalLabelClick",2),this.labelClickHandler=e=>{this.calciteInternalLabelClick.emit({sourceEvent:e})},this.alignment="start",this.for=void 0,this.scale="m",this.layout="default"}connectedCallback(){document.dispatchEvent(new CustomEvent(s))}disconnectedCallback(){document.dispatchEvent(new CustomEvent(l))}render(){return i(a,{onClick:this.labelClickHandler},i("div",{class:"container"},i("slot",null)))}get el(){return n(this)}};o.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{o as calcite_label}
6
+ import{r as e,c as t,h as i,H as a,a as n}from"./p-a818fdc2.js";import{l as s,a as l}from"./p-5010d2ff.js";import"./p-eb0ecd49.js";import"./p-f1a9ed23.js";import"./p-479102a9.js";const o=class{constructor(i){e(this,i),this.calciteInternalLabelClick=t(this,"calciteInternalLabelClick",2),this.labelClickHandler=e=>{this.calciteInternalLabelClick.emit({sourceEvent:e})},this.alignment="start",this.for=void 0,this.scale="m",this.layout="default"}connectedCallback(){document.dispatchEvent(new CustomEvent(s))}disconnectedCallback(){document.dispatchEvent(new CustomEvent(l))}render(){return i(a,{onClick:this.labelClickHandler},i("div",{class:"container"},i("slot",null)))}get el(){return n(this)}};o.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{o as calcite_label}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
+ * v1.7.0-next.20
5
+ */
6
+ import{f as t}from"./p-a818fdc2.js";import{c as o}from"./p-d02205f3.js";const n=new Set;let c;const f={childList:!0};function s(t){c||(c=o("mutation",a)),c.observe(t.el,f)}function i(t){n.delete(t.el),a(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,f)}function a(o){o.forEach((({target:o})=>{t(o)}))}export{s as c,i as d}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.19
4
+ * v1.7.0-next.20
5
5
  */
6
- import{d as e}from"./p-9de50a36.js";import"./p-b75b04f6.js";import"./p-db3b90e5.js";import"./p-a10e4482.js";import"./p-df5b193f.js";import"./p-f77690b0.js";import"./p-9be86efa.js";import"./p-fabe7c87.js";import"./p-0c567b1c.js";import"./p-e6c167bd.js";import"./p-68dbb876.js";import"./p-d2cf8867.js";import"./p-5af4edb9.js";import"./p-2aeaedb8.js";import"./p-7d824bbf.js";import"./p-bec36110.js";var s={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return e+(1===e||3===e?"r":2===e?"n":4===e?"t":"è")}};e.locale(s,null,!0);export default s;
6
+ import{d as e}from"./p-e5223c2c.js";import"./p-a818fdc2.js";import"./p-10edabda.js";import"./p-eb0ecd49.js";import"./p-f1a9ed23.js";import"./p-479102a9.js";import"./p-44c18974.js";import"./p-2f6435ed.js";import"./p-4c63e55f.js";import"./p-5010d2ff.js";import"./p-72162656.js";import"./p-a5985717.js";import"./p-d02205f3.js";import"./p-66d2625a.js";import"./p-20ab6559.js";import"./p-31d73bd1.js";var s={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return e+(1===e||3===e?"r":2===e?"n":4===e?"t":"è")}};e.locale(s,null,!0);export default s;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.19
4
+ * v1.7.0-next.20
5
5
  */
6
- import{r as e,h as i,a as t}from"./p-b75b04f6.js";import{j as s}from"./p-a10e4482.js";import{h as r,i as n}from"./p-a9caf330.js";import"./p-df5b193f.js";import"./p-f77690b0.js";const a=class{constructor(i){e(this,i),this.scale="m",this.thumbnail=void 0,this.fullName=void 0,this.username=void 0,this.userId=void 0,this.label=void 0,this.thumbnailFailedToLoad=!1}render(){return this.determineContent()}determineContent(){if(this.thumbnail&&!this.thumbnailFailedToLoad)return i("img",{alt:this.label||"",class:"thumbnail",onError:()=>this.thumbnailFailedToLoad=!0,src:this.thumbnail});const e=this.generateInitials(),t=this.generateFillColor();return i("span",{"aria-label":this.label||this.fullName,class:"background",role:"figure",style:{backgroundColor:t}},e?i("span",{"aria-hidden":"true",class:"initials"},e):i("calcite-icon",{class:"icon",icon:"user",scale:this.scale}))}generateFillColor(){const{userId:e,username:i,fullName:t,el:a}=this,o=s(a),l=e&&`#${e.substr(e.length-6)}`,c=i||t||"",h=l&&n(l)?l:function(e){let i=0;for(let t=0;t<e.length;t++)i=e.charCodeAt(t)+((i<<5)-i);let t="#";for(let e=0;e<3;e++)t+=("00"+(i>>8*e&255).toString(16)).substr(-2);return t}(c);return(e||c)&&n(h)?`hsl(${function(e){return function(e){let{r:i,g:t,b:s}=e;i/=255,t/=255,s/=255;const r=Math.max(i,t,s),n=Math.min(i,t,s),a=r-n;if(r===n)return 0;let o=(r+n)/2;switch(r){case i:o=(t-s)/a+(t<s?6:0);break;case t:o=(s-i)/a+2;break;case s:o=(i-t)/a+4}return Math.round(60*o)}(r(e))}(h)}, 60%, ${"dark"===o?20:90}%)`:"var(--calcite-ui-foreground-2)"}generateInitials(){const{fullName:e,username:i}=this;return e?e.trim().split(" ").map((e=>e.substring(0,1))).join(""):!!i&&i.substring(0,2)}get el(){return t(this)}};a.style=":host{display:inline-block;overflow:hidden;border-radius:50%}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:flex}.background{display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;border-radius:50%}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase;color:var(--calcite-ui-text-2)}.thumbnail{block-size:100%;inline-size:100%;border-radius:50%}:host([hidden]){display:none}[hidden]{display:none}";export{a as calcite_avatar}
6
+ import{r as e,h as i,a as t}from"./p-a818fdc2.js";import{j as s}from"./p-eb0ecd49.js";import{h as r,i as n}from"./p-8941ac4e.js";import"./p-f1a9ed23.js";import"./p-479102a9.js";const a=class{constructor(i){e(this,i),this.scale="m",this.thumbnail=void 0,this.fullName=void 0,this.username=void 0,this.userId=void 0,this.label=void 0,this.thumbnailFailedToLoad=!1}render(){return this.determineContent()}determineContent(){if(this.thumbnail&&!this.thumbnailFailedToLoad)return i("img",{alt:this.label||"",class:"thumbnail",onError:()=>this.thumbnailFailedToLoad=!0,src:this.thumbnail});const e=this.generateInitials(),t=this.generateFillColor();return i("span",{"aria-label":this.label||this.fullName,class:"background",role:"figure",style:{backgroundColor:t}},e?i("span",{"aria-hidden":"true",class:"initials"},e):i("calcite-icon",{class:"icon",icon:"user",scale:this.scale}))}generateFillColor(){const{userId:e,username:i,fullName:t,el:a}=this,o=s(a),l=e&&`#${e.substr(e.length-6)}`,c=i||t||"",h=l&&n(l)?l:function(e){let i=0;for(let t=0;t<e.length;t++)i=e.charCodeAt(t)+((i<<5)-i);let t="#";for(let e=0;e<3;e++)t+=("00"+(i>>8*e&255).toString(16)).substr(-2);return t}(c);return(e||c)&&n(h)?`hsl(${function(e){return function(e){let{r:i,g:t,b:s}=e;i/=255,t/=255,s/=255;const r=Math.max(i,t,s),n=Math.min(i,t,s),a=r-n;if(r===n)return 0;let o=(r+n)/2;switch(r){case i:o=(t-s)/a+(t<s?6:0);break;case t:o=(s-i)/a+2;break;case s:o=(i-t)/a+4}return Math.round(60*o)}(r(e))}(h)}, 60%, ${"dark"===o?20:90}%)`:"var(--calcite-ui-foreground-2)"}generateInitials(){const{fullName:e,username:i}=this;return e?e.trim().split(" ").map((e=>e.substring(0,1))).join(""):!!i&&i.substring(0,2)}get el(){return t(this)}};a.style=":host{display:inline-block;overflow:hidden;border-radius:50%}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:flex}.background{display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;border-radius:50%}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase;color:var(--calcite-ui-text-2)}.thumbnail{block-size:100%;inline-size:100%;border-radius:50%}:host([hidden]){display:none}[hidden]{display:none}";export{a as calcite_avatar}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.19
4
+ * v1.7.0-next.20
5
5
  */
6
- import{r as t,c as e,h as i,H as s,a}from"./p-b75b04f6.js";import{c as o,d as r,H as n}from"./p-db3b90e5.js";import{c as h,d as c,g as l}from"./p-e6c167bd.js";import{b as d,t as p}from"./p-a10e4482.js";import{c as m,d as f,n as b}from"./p-d2cf8867.js";import{c as g}from"./p-5af4edb9.js";import{s as u,a as x,c as v,b as z}from"./p-68dbb876.js";import{c as y,s as w,d as k,u as j}from"./p-bec36110.js";import{c as H,u as L,d as C}from"./p-9be86efa.js";import{g as A}from"./p-df5b193f.js";import{t as W}from"./p-4e24172e.js";import"./p-f77690b0.js";import"./p-0c567b1c.js";import"./p-fabe7c87.js";import"./p-37ba641f.js";const D="readonly",I=class{constructor(s){t(this,s),this.calciteTextAreaInput=e(this,"calciteTextAreaInput",7),this.calciteTextAreaChange=e(this,"calciteTextAreaChange",7),this.guid=A(),this.handleInput=t=>{this.value=t.target.value,this.calciteTextAreaInput.emit()},this.handleChange=()=>{this.calciteTextAreaChange.emit()},this.contentSlotChangeHandler=()=>{this.value||this.el.childNodes.forEach((t=>{"#text"===t.nodeName&&(this.value=t.nodeValue.trim())}))},this.renderCharacterLimit=()=>this.maxLength?(this.localizedCharacterLengthObj=this.getLocalizedCharacterLength(),i("span",{class:"character-limit"},i("span",{class:{"character--over-limit":this.isCharacterLimitExceeded()}},this.localizedCharacterLengthObj.currentLength),"/",this.localizedCharacterLengthObj.maxLength)):null,this.resizeObserver=g("resize",(async()=>{await z(this);const{textAreaHeight:t,textAreaWidth:e,elHeight:i,elWidth:s,footerHeight:a,footerWidth:o}=this.getHeightAndWidthOfElements();o>0&&o!==e&&(this.footerEl.style.width=`${e}px`),s===e&&i===t+(a||0)||this.setHeightAndWidthToAuto()})),this.setTextAreaEl=t=>{this.textAreaEl=t,this.resizeObserver.observe(t)},this.setHeightAndWidthToAuto=W((()=>{"vertical"!==this.resize&&"both"!==this.resize||(this.el.style.height="auto"),"horizontal"!==this.resize&&"both"!==this.resize||(this.el.style.width="auto")}),100,{leading:!1}),this.autofocus=!1,this.columns=void 0,this.disabled=!1,this.form=void 0,this.groupSeparator=!1,this.label=void 0,this.maxLength=void 0,this.messages=void 0,this.name=void 0,this.numberingSystem=void 0,this.placeholder=void 0,this.readOnly=!1,this.required=!1,this.resize="both",this.rows=void 0,this.scale="m",this.value=void 0,this.wrap="soft",this.messageOverrides=void 0,this.defaultMessages=void 0,this.endSlotHasElements=void 0,this.startSlotHasElements=void 0,this.effectiveLocale="",this.localizedCharacterLengthObj=void 0}onMessagesChange(){}connectedCallback(){H(this),h(this),o(this),m(this),y(this)}async componentWillLoad(){u(this),await w(this)}componentDidLoad(){x(this)}componentDidRender(){L(this),this.setTextAreaHeight()}disconnectedCallback(){C(this),c(this),r(this),f(this),k(this),this.resizeObserver?.disconnect()}render(){const t=this.startSlotHasElements||this.endSlotHasElements||!!this.maxLength;return i(s,null,i("textarea",{"aria-describedby":this.guid,"aria-invalid":p(this.isCharacterLimitExceeded()),"aria-label":l(this),autofocus:this.autofocus,class:{[D]:this.readOnly,"text-area--invalid":this.isCharacterLimitExceeded(),"footer--slotted":this.endSlotHasElements&&this.startSlotHasElements,"block-size--full":!t,"border--color":!t},cols:this.columns,disabled:this.disabled,name:this.name,onChange:this.handleChange,onInput:this.handleInput,placeholder:this.placeholder,readonly:this.readOnly,required:this.required,rows:this.rows,value:this.value,wrap:this.wrap,ref:this.setTextAreaEl}),i("span",{class:{content:!0}},i("slot",{onSlotchange:this.contentSlotChangeHandler})),i("footer",{class:{footer:!0,[D]:this.readOnly,hide:!t},ref:t=>this.footerEl=t},i("div",{class:{container:!0,"footer--end-only":!this.startSlotHasElements&&this.endSlotHasElements}},i("slot",{name:"footer-start",onSlotchange:t=>this.startSlotHasElements=d(t)}),i("slot",{name:"footer-end",onSlotchange:t=>this.endSlotHasElements=d(t)})),this.renderCharacterLimit()),i(n,{component:this}),this.isCharacterLimitExceeded()&&i("span",{"aria-hidden":!0,"aria-live":"polite",class:"assistive-text",id:this.guid},this.replacePlaceHoldersInMessages()))}async setFocus(){await v(this),this.textAreaEl.focus()}async selectText(){await z(this),this.textAreaEl.select()}effectiveLocaleChange(){j(this,this.effectiveLocale)}onFormReset(){this.value=this.defaultValue}onLabelClick(){this.setFocus()}getLocalizedCharacterLength(){const t=this.value?this.value.length.toString():"0",e=this.maxLength.toString();return"latn"===this.numberingSystem?{currentLength:t,maxLength:e}:(b.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"never",useGrouping:this.groupSeparator},{currentLength:b.localize(t),maxLength:b.localize(e)})}syncHiddenFormInput(t){t.setCustomValidity(""),this.isCharacterLimitExceeded()&&t.setCustomValidity(this.replacePlaceHoldersInMessages())}setTextAreaHeight(){const{textAreaHeight:t,elHeight:e,footerHeight:i}=this.getHeightAndWidthOfElements();i>0&&t+i!=e&&(this.textAreaEl.style.height=e-i+"px")}getHeightAndWidthOfElements(){const{height:t,width:e}=this.textAreaEl.getBoundingClientRect(),{height:i,width:s}=this.el.getBoundingClientRect(),{height:a,width:o}=this.footerEl?.getBoundingClientRect();return{textAreaHeight:t,textAreaWidth:e,elHeight:i,elWidth:s,footerHeight:a,footerWidth:o}}replacePlaceHoldersInMessages(){return this.messages.tooLong.replace("{maxLength}",this.localizedCharacterLengthObj.maxLength).replace("{currentLength}",this.localizedCharacterLengthObj.currentLength)}isCharacterLimitExceeded(){return this.value?.length>this.maxLength}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};I.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:inline-block;block-size:100%;inline-size:100%}textarea{position:relative;margin:0px;box-sizing:border-box;display:block;inline-size:100%;border-width:1px;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);color:var(--calcite-ui-text-1);min-inline-size:12rem;border-block-end:1px solid var(--calcite-ui-border-3)}@media screen and (max-width: 480px){textarea{resize:none}}textarea: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 )}textarea.text-area--invalid{border-width:1px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-danger)}textarea.text-area--invalid:focus{outline:2px solid var(--calcite-ui-danger);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 )}textarea.footer--slotted{min-inline-size:18rem}.footer{box-sizing:border-box;display:flex;align-items:center;border-width:1px;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1)}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-danger)}:host([resize=none]) textarea{resize:none}:host([resize=horizontal]) textarea{resize:horizontal}:host([resize=vertical]) textarea{resize:vertical}:host([scale=s]){font-size:var(--calcite-font-size--2)}:host([scale=s]) .footer{padding-block:0.25rem;padding-inline:0.5rem;min-block-size:1.75rem}:host([scale=s]) textarea{padding-block:0.25rem;padding-inline:0.5rem}:host([scale=s]) textarea,:host([scale=s]) .footer,:host([scale=s]) .character-limit{padding-inline-start:0.5rem;font-size:var(--calcite-font-size--2)}:host([scale=m]) textarea{padding-block:0.5rem;padding-inline:0.75rem}:host([scale=m]) .footer{padding-block:0.5rem;padding-inline:0.75rem;min-block-size:2.25rem}:host([scale=m]) textarea,:host([scale=m]) .footer,:host([scale=m]) .character-limit{padding-inline-start:0.75rem;font-size:var(--calcite-font-size--1)}:host([scale=l]){font-size:var(--calcite-font-size-0)}:host([scale=l]) textarea{padding-block:0.75rem;padding-inline:1rem}:host([scale=l]) .footer{padding-block:0.75rem;padding-inline:1rem;min-block-size:2.75rem}:host([scale=l]) textarea,:host([scale=l]) .footer,:host([scale=l]) .character-limit{padding-inline-start:1rem;font-size:var(--calcite-font-size-0)}.readonly{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host([disabled]) textarea,:host([disabled]) footer{opacity:0.5}.border--color{border-block-end-width:1px;border-color:var(--calcite-ui-border-input)}.border--color:focus{border-block-end-width:2px}textarea.block-size--full{block-size:100%}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{I as calcite_text_area}
6
+ import{r as t,c as e,h as i,H as s,a}from"./p-a818fdc2.js";import{c as o,d as r,H as n}from"./p-10edabda.js";import{c as h,d as c,g as l}from"./p-5010d2ff.js";import{b as d,t as p}from"./p-eb0ecd49.js";import{c as m,d as f,n as b}from"./p-a5985717.js";import{c as g}from"./p-d02205f3.js";import{s as u,a as x,c as v,b as z}from"./p-72162656.js";import{c as y,s as w,d as k,u as j}from"./p-31d73bd1.js";import{c as H,u as L,d as C}from"./p-44c18974.js";import{g as A}from"./p-f1a9ed23.js";import{t as W}from"./p-971c488c.js";import"./p-479102a9.js";import"./p-4c63e55f.js";import"./p-2f6435ed.js";import"./p-da0fe9e9.js";const D="readonly",I=class{constructor(s){t(this,s),this.calciteTextAreaInput=e(this,"calciteTextAreaInput",7),this.calciteTextAreaChange=e(this,"calciteTextAreaChange",7),this.guid=A(),this.handleInput=t=>{this.value=t.target.value,this.calciteTextAreaInput.emit()},this.handleChange=()=>{this.calciteTextAreaChange.emit()},this.contentSlotChangeHandler=()=>{this.value||this.el.childNodes.forEach((t=>{"#text"===t.nodeName&&(this.value=t.nodeValue.trim())}))},this.renderCharacterLimit=()=>this.maxLength?(this.localizedCharacterLengthObj=this.getLocalizedCharacterLength(),i("span",{class:"character-limit"},i("span",{class:{"character--over-limit":this.isCharacterLimitExceeded()}},this.localizedCharacterLengthObj.currentLength),"/",this.localizedCharacterLengthObj.maxLength)):null,this.resizeObserver=g("resize",(async()=>{await z(this);const{textAreaHeight:t,textAreaWidth:e,elHeight:i,elWidth:s,footerHeight:a,footerWidth:o}=this.getHeightAndWidthOfElements();o>0&&o!==e&&(this.footerEl.style.width=`${e}px`),s===e&&i===t+(a||0)||this.setHeightAndWidthToAuto()})),this.setTextAreaEl=t=>{this.textAreaEl=t,this.resizeObserver.observe(t)},this.setHeightAndWidthToAuto=W((()=>{"vertical"!==this.resize&&"both"!==this.resize||(this.el.style.height="auto"),"horizontal"!==this.resize&&"both"!==this.resize||(this.el.style.width="auto")}),100,{leading:!1}),this.autofocus=!1,this.columns=void 0,this.disabled=!1,this.form=void 0,this.groupSeparator=!1,this.label=void 0,this.maxLength=void 0,this.messages=void 0,this.name=void 0,this.numberingSystem=void 0,this.placeholder=void 0,this.readOnly=!1,this.required=!1,this.resize="both",this.rows=void 0,this.scale="m",this.value=void 0,this.wrap="soft",this.messageOverrides=void 0,this.defaultMessages=void 0,this.endSlotHasElements=void 0,this.startSlotHasElements=void 0,this.effectiveLocale="",this.localizedCharacterLengthObj=void 0}onMessagesChange(){}connectedCallback(){H(this),h(this),o(this),m(this),y(this)}async componentWillLoad(){u(this),await w(this)}componentDidLoad(){x(this)}componentDidRender(){L(this),this.setTextAreaHeight()}disconnectedCallback(){C(this),c(this),r(this),f(this),k(this),this.resizeObserver?.disconnect()}render(){const t=this.startSlotHasElements||this.endSlotHasElements||!!this.maxLength;return i(s,null,i("textarea",{"aria-describedby":this.guid,"aria-invalid":p(this.isCharacterLimitExceeded()),"aria-label":l(this),autofocus:this.autofocus,class:{[D]:this.readOnly,"text-area--invalid":this.isCharacterLimitExceeded(),"footer--slotted":this.endSlotHasElements&&this.startSlotHasElements,"block-size--full":!t,"border--color":!t},cols:this.columns,disabled:this.disabled,name:this.name,onChange:this.handleChange,onInput:this.handleInput,placeholder:this.placeholder,readonly:this.readOnly,required:this.required,rows:this.rows,value:this.value,wrap:this.wrap,ref:this.setTextAreaEl}),i("span",{class:{content:!0}},i("slot",{onSlotchange:this.contentSlotChangeHandler})),i("footer",{class:{footer:!0,[D]:this.readOnly,hide:!t},ref:t=>this.footerEl=t},i("div",{class:{container:!0,"footer--end-only":!this.startSlotHasElements&&this.endSlotHasElements}},i("slot",{name:"footer-start",onSlotchange:t=>this.startSlotHasElements=d(t)}),i("slot",{name:"footer-end",onSlotchange:t=>this.endSlotHasElements=d(t)})),this.renderCharacterLimit()),i(n,{component:this}),this.isCharacterLimitExceeded()&&i("span",{"aria-hidden":!0,"aria-live":"polite",class:"assistive-text",id:this.guid},this.replacePlaceHoldersInMessages()))}async setFocus(){await v(this),this.textAreaEl.focus()}async selectText(){await z(this),this.textAreaEl.select()}effectiveLocaleChange(){j(this,this.effectiveLocale)}onFormReset(){this.value=this.defaultValue}onLabelClick(){this.setFocus()}getLocalizedCharacterLength(){const t=this.value?this.value.length.toString():"0",e=this.maxLength.toString();return"latn"===this.numberingSystem?{currentLength:t,maxLength:e}:(b.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"never",useGrouping:this.groupSeparator},{currentLength:b.localize(t),maxLength:b.localize(e)})}syncHiddenFormInput(t){t.setCustomValidity(""),this.isCharacterLimitExceeded()&&t.setCustomValidity(this.replacePlaceHoldersInMessages())}setTextAreaHeight(){const{textAreaHeight:t,elHeight:e,footerHeight:i}=this.getHeightAndWidthOfElements();i>0&&t+i!=e&&(this.textAreaEl.style.height=e-i+"px")}getHeightAndWidthOfElements(){const{height:t,width:e}=this.textAreaEl.getBoundingClientRect(),{height:i,width:s}=this.el.getBoundingClientRect(),{height:a,width:o}=this.footerEl?.getBoundingClientRect();return{textAreaHeight:t,textAreaWidth:e,elHeight:i,elWidth:s,footerHeight:a,footerWidth:o}}replacePlaceHoldersInMessages(){return this.messages.tooLong.replace("{maxLength}",this.localizedCharacterLengthObj.maxLength).replace("{currentLength}",this.localizedCharacterLengthObj.currentLength)}isCharacterLimitExceeded(){return this.value?.length>this.maxLength}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};I.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:inline-block;block-size:100%;inline-size:100%}textarea{position:relative;margin:0px;box-sizing:border-box;display:block;inline-size:100%;border-width:1px;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);color:var(--calcite-ui-text-1);min-inline-size:12rem;border-block-end:1px solid var(--calcite-ui-border-3)}@media screen and (max-width: 480px){textarea{resize:none}}textarea: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 )}textarea.text-area--invalid{border-width:1px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-danger)}textarea.text-area--invalid:focus{outline:2px solid var(--calcite-ui-danger);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 )}textarea.footer--slotted{min-inline-size:18rem}.footer{box-sizing:border-box;display:flex;align-items:center;border-width:1px;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1)}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-danger)}:host([resize=none]) textarea{resize:none}:host([resize=horizontal]) textarea{resize:horizontal}:host([resize=vertical]) textarea{resize:vertical}:host([scale=s]){font-size:var(--calcite-font-size--2)}:host([scale=s]) .footer{padding-block:0.25rem;padding-inline:0.5rem;min-block-size:1.75rem}:host([scale=s]) textarea{padding-block:0.25rem;padding-inline:0.5rem}:host([scale=s]) textarea,:host([scale=s]) .footer,:host([scale=s]) .character-limit{padding-inline-start:0.5rem;font-size:var(--calcite-font-size--2)}:host([scale=m]) textarea{padding-block:0.5rem;padding-inline:0.75rem}:host([scale=m]) .footer{padding-block:0.5rem;padding-inline:0.75rem;min-block-size:2.25rem}:host([scale=m]) textarea,:host([scale=m]) .footer,:host([scale=m]) .character-limit{padding-inline-start:0.75rem;font-size:var(--calcite-font-size--1)}:host([scale=l]){font-size:var(--calcite-font-size-0)}:host([scale=l]) textarea{padding-block:0.75rem;padding-inline:1rem}:host([scale=l]) .footer{padding-block:0.75rem;padding-inline:1rem;min-block-size:2.75rem}:host([scale=l]) textarea,:host([scale=l]) .footer,:host([scale=l]) .character-limit{padding-inline-start:1rem;font-size:var(--calcite-font-size-0)}.readonly{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host([disabled]) textarea,:host([disabled]) footer{opacity:0.5}.border--color{border-block-end-width:1px;border-color:var(--calcite-ui-border-input)}.border--color:focus{border-block-end-width:2px}textarea.block-size--full{block-size:100%}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{I as calcite_text_area}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.19
4
+ * v1.7.0-next.20
5
5
  */
6
- import{r as t,c as i,h as s,H as a,a as o}from"./p-b75b04f6.js";import{c as h}from"./p-5af4edb9.js";import{s as e,a as n,c as l}from"./p-68dbb876.js";const r=class{constructor(s){t(this,s),this.calciteRadioButtonGroupChange=i(this,"calciteRadioButtonGroupChange",6),this.mutationObserver=h("mutation",(()=>this.passPropsToRadioButtons())),this.passPropsToRadioButtons=()=>{this.radioButtons=Array.from(this.el.querySelectorAll("calcite-radio-button")),this.selectedItem=Array.from(this.radioButtons).find((t=>t.checked))||null,this.radioButtons.length>0&&this.radioButtons.forEach((t=>{t.disabled=this.disabled||t.disabled,t.hidden=this.hidden,t.name=this.name,t.required=this.required,t.scale=this.scale}))},this.disabled=!1,this.hidden=!1,this.layout="horizontal",this.name=void 0,this.required=!1,this.selectedItem=null,this.scale="m",this.radioButtons=[]}onDisabledChange(){this.passPropsToRadioButtons()}onHiddenChange(){this.passPropsToRadioButtons()}onLayoutChange(){this.passPropsToRadioButtons()}onScaleChange(){this.passPropsToRadioButtons()}connectedCallback(){this.passPropsToRadioButtons(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}componentWillLoad(){e(this)}componentDidLoad(){n(this)}disconnectedCallback(){this.mutationObserver?.disconnect()}getFocusableRadioButton(){return this.radioButtons.find((t=>!t.disabled))??null}async setFocus(){return await l(this),this.selectedItem&&!this.selectedItem.disabled?this.selectedItem.setFocus():this.radioButtons.length>0?this.getFocusableRadioButton()?.setFocus():void 0}radioButtonChangeHandler(t){this.selectedItem=t.target,this.calciteRadioButtonGroupChange.emit()}render(){return s(a,{role:"radiogroup"},s("slot",null))}get el(){return o(this)}static get watchers(){return{disabled:["onDisabledChange"],hidden:["onHiddenChange"],layout:["onLayoutChange"],scale:["onScaleChange"]}}};r.style=":host{display:flex;max-inline-size:100vw}:host([layout=horizontal]){flex-direction:row;flex-wrap:wrap}:host([layout=horizontal][scale=s]){gap:1rem}:host([layout=horizontal][scale=m]){gap:1.25rem}:host([layout=horizontal][scale=l]){gap:1.5rem}:host([layout=vertical]){flex-direction:column}:host([hidden]){display:none}[hidden]{display:none}";export{r as calcite_radio_button_group}
6
+ import{r as t,c as i,h as s,H as a,a as o}from"./p-a818fdc2.js";import{c as h}from"./p-d02205f3.js";import{s as e,a as n,c as l}from"./p-72162656.js";const r=class{constructor(s){t(this,s),this.calciteRadioButtonGroupChange=i(this,"calciteRadioButtonGroupChange",6),this.mutationObserver=h("mutation",(()=>this.passPropsToRadioButtons())),this.passPropsToRadioButtons=()=>{this.radioButtons=Array.from(this.el.querySelectorAll("calcite-radio-button")),this.selectedItem=Array.from(this.radioButtons).find((t=>t.checked))||null,this.radioButtons.length>0&&this.radioButtons.forEach((t=>{t.disabled=this.disabled||t.disabled,t.hidden=this.hidden,t.name=this.name,t.required=this.required,t.scale=this.scale}))},this.disabled=!1,this.hidden=!1,this.layout="horizontal",this.name=void 0,this.required=!1,this.selectedItem=null,this.scale="m",this.radioButtons=[]}onDisabledChange(){this.passPropsToRadioButtons()}onHiddenChange(){this.passPropsToRadioButtons()}onLayoutChange(){this.passPropsToRadioButtons()}onScaleChange(){this.passPropsToRadioButtons()}connectedCallback(){this.passPropsToRadioButtons(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}componentWillLoad(){e(this)}componentDidLoad(){n(this)}disconnectedCallback(){this.mutationObserver?.disconnect()}getFocusableRadioButton(){return this.radioButtons.find((t=>!t.disabled))??null}async setFocus(){return await l(this),this.selectedItem&&!this.selectedItem.disabled?this.selectedItem.setFocus():this.radioButtons.length>0?this.getFocusableRadioButton()?.setFocus():void 0}radioButtonChangeHandler(t){this.selectedItem=t.target,this.calciteRadioButtonGroupChange.emit()}render(){return s(a,{role:"radiogroup"},s("slot",null))}get el(){return o(this)}static get watchers(){return{disabled:["onDisabledChange"],hidden:["onHiddenChange"],layout:["onLayoutChange"],scale:["onScaleChange"]}}};r.style=":host{display:flex;max-inline-size:100vw}:host([layout=horizontal]){flex-direction:row;flex-wrap:wrap}:host([layout=horizontal][scale=s]){gap:1rem}:host([layout=horizontal][scale=m]){gap:1.25rem}:host([layout=horizontal][scale=l]){gap:1.5rem}:host([layout=vertical]){flex-direction:column}:host([hidden]){display:none}[hidden]{display:none}";export{r as calcite_radio_button_group}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.19
4
+ * v1.7.0-next.20
5
5
  */
6
- import{r as i,h as e,a}from"./p-b75b04f6.js";import{g as t}from"./p-a10e4482.js";import{C as r}from"./p-f77690b0.js";import"./p-df5b193f.js";const n=class{constructor(e){i(this,e),this.type="determinate",this.value=0,this.label=void 0,this.text=void 0,this.reversed=!1}render(){const i="determinate"===this.type?{width:100*this.value+"%"}:{},a=t(this.el);return e("div",{"aria-label":this.label||this.text,"aria-valuemax":1,"aria-valuemin":0,"aria-valuenow":this.value,role:"progressbar"},e("div",{class:"track"},e("div",{class:{bar:!0,indeterminate:"indeterminate"===this.type,[r.rtl]:"rtl"===a,reversed:this.reversed},style:i})),this.text?e("div",{class:"text"},this.text):null)}get el(){return a(this)}};n.style=":host{position:relative;display:block;inline-size:100%}.track,.bar{position:absolute;inset-block-start:0px;block-size:2px}.track{z-index:var(--calcite-app-z-index);inline-size:100%;overflow:hidden;background:var(--calcite-ui-border-3)}.bar{z-index:var(--calcite-app-z-index);background-color:var(--calcite-ui-brand)}@media (forced-colors: active){.track{background-color:highlightText}.bar{background-color:linkText}}.indeterminate{inline-size:20%;animation:looping-progress-bar-ani calc(var(--calcite-internal-animation-timing-medium) / var(--calcite-internal-duration-factor) * 11 / var(--calcite-internal-duration-factor)) linear infinite}.indeterminate.calcite--rtl{animation-name:looping-progress-bar-ani-rtl}.reversed{animation-direction:reverse}.text{padding-inline:0px;padding-block:1rem 0px;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}@keyframes looping-progress-bar-ani{0%{transform:translate3d(-100%, 0, 0)}50%{inline-size:40%}100%{transform:translate3d(600%, 0, 0)}}@keyframes looping-progress-bar-ani-rtl{0%{transform:translate3d(100%, 0, 0)}50%{inline-size:40%}100%{transform:translate3d(-600%, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}";export{n as calcite_progress}
6
+ import{r as i,h as e,a}from"./p-a818fdc2.js";import{g as t}from"./p-eb0ecd49.js";import{C as r}from"./p-479102a9.js";import"./p-f1a9ed23.js";const n=class{constructor(e){i(this,e),this.type="determinate",this.value=0,this.label=void 0,this.text=void 0,this.reversed=!1}render(){const i="determinate"===this.type?{width:100*this.value+"%"}:{},a=t(this.el);return e("div",{"aria-label":this.label||this.text,"aria-valuemax":1,"aria-valuemin":0,"aria-valuenow":this.value,role:"progressbar"},e("div",{class:"track"},e("div",{class:{bar:!0,indeterminate:"indeterminate"===this.type,[r.rtl]:"rtl"===a,reversed:this.reversed},style:i})),this.text?e("div",{class:"text"},this.text):null)}get el(){return a(this)}};n.style=":host{position:relative;display:block;inline-size:100%}.track,.bar{position:absolute;inset-block-start:0px;block-size:2px}.track{z-index:var(--calcite-app-z-index);inline-size:100%;overflow:hidden;background:var(--calcite-ui-border-3)}.bar{z-index:var(--calcite-app-z-index);background-color:var(--calcite-ui-brand)}@media (forced-colors: active){.track{background-color:highlightText}.bar{background-color:linkText}}.indeterminate{inline-size:20%;animation:looping-progress-bar-ani calc(var(--calcite-internal-animation-timing-medium) / var(--calcite-internal-duration-factor) * 11 / var(--calcite-internal-duration-factor)) linear infinite}.indeterminate.calcite--rtl{animation-name:looping-progress-bar-ani-rtl}.reversed{animation-direction:reverse}.text{padding-inline:0px;padding-block:1rem 0px;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}@keyframes looping-progress-bar-ani{0%{transform:translate3d(-100%, 0, 0)}50%{inline-size:40%}100%{transform:translate3d(600%, 0, 0)}}@keyframes looping-progress-bar-ani-rtl{0%{transform:translate3d(100%, 0, 0)}50%{inline-size:40%}100%{transform:translate3d(-600%, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}";export{n as calcite_progress}