@esri/calcite-components 1.7.1-next.2 → 1.8.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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-bbc175c3.entry.js → p-00c9b817.entry.js} +2 -2
  4. package/dist/calcite/{p-1798c8a4.entry.js → p-0239a208.entry.js} +2 -2
  5. package/dist/calcite/{p-6b11f593.js → p-023cfe90.js} +2 -2
  6. package/dist/calcite/{p-c10ecfc8.entry.js → p-024d74a4.entry.js} +2 -2
  7. package/dist/calcite/{p-7d90b7d3.entry.js → p-0447b799.entry.js} +2 -2
  8. package/dist/calcite/{p-8cf59a66.entry.js → p-0497aa28.entry.js} +2 -2
  9. package/dist/calcite/{p-10d1a416.entry.js → p-0e0e49ef.entry.js} +2 -2
  10. package/dist/calcite/{p-d2116140.js → p-0e6e7cb1.js} +2 -2
  11. package/dist/calcite/{p-1eed7a23.entry.js → p-113034a2.entry.js} +2 -2
  12. package/dist/calcite/{p-d2043841.entry.js → p-1257c9eb.entry.js} +2 -2
  13. package/dist/calcite/{p-6ff80b94.entry.js → p-16156640.entry.js} +2 -2
  14. package/dist/calcite/{p-d4d1292e.js → p-178ec5a4.js} +2 -2
  15. package/dist/calcite/{p-42704a06.entry.js → p-179deb38.entry.js} +2 -2
  16. package/dist/calcite/{p-1e2ba4bf.js → p-185bc5dd.js} +1 -1
  17. package/dist/calcite/{p-8f6fef56.js → p-19980bcd.js} +2 -2
  18. package/dist/calcite/p-1b8ea41d.js +6 -0
  19. package/dist/calcite/{p-2dd130a0.js → p-1e23cc4e.js} +2 -2
  20. package/dist/calcite/{p-843b2f5e.js → p-1e76fc94.js} +2 -2
  21. package/dist/calcite/{p-a708c71a.js → p-1e8d7a9d.js} +2 -2
  22. package/dist/calcite/{p-1abffe59.entry.js → p-1f0d19a8.entry.js} +2 -2
  23. package/dist/calcite/{p-09f08647.js → p-21280647.js} +2 -2
  24. package/dist/calcite/{p-9cbb85cf.js → p-213efa06.js} +2 -2
  25. package/dist/calcite/{p-46ea21dc.entry.js → p-21b56c26.entry.js} +2 -2
  26. package/dist/calcite/{p-732c1e65.js → p-2286d2d1.js} +2 -2
  27. package/dist/calcite/{p-582c002f.entry.js → p-25188391.entry.js} +2 -2
  28. package/dist/calcite/{p-4252db08.js → p-25cdf705.js} +2 -2
  29. package/dist/calcite/{p-97c37a2f.js → p-26a607bc.js} +1 -1
  30. package/dist/calcite/p-286bbc39.js +6 -0
  31. package/dist/calcite/{p-99837287.js → p-29a46f6c.js} +2 -2
  32. package/dist/calcite/{p-04a547f8.js → p-2a757849.js} +2 -2
  33. package/dist/calcite/{p-c3b40cd7.entry.js → p-2cadeb98.entry.js} +2 -2
  34. package/dist/calcite/{p-24712939.entry.js → p-390039a5.entry.js} +2 -2
  35. package/dist/calcite/{p-124cacfb.js → p-3924127c.js} +2 -2
  36. package/dist/calcite/{p-b1185627.entry.js → p-3a5484f0.entry.js} +2 -2
  37. package/dist/calcite/{p-6d654c82.js → p-3b25f9af.js} +1 -1
  38. package/dist/calcite/{p-4f0e68f6.js → p-3b7d1d44.js} +1 -1
  39. package/dist/calcite/{p-5b9e60d3.entry.js → p-3c4b8d46.entry.js} +2 -2
  40. package/dist/calcite/{p-62b78bb9.entry.js → p-3e23b243.entry.js} +2 -2
  41. package/dist/calcite/{p-43bf14e5.js → p-4000384f.js} +2 -2
  42. package/dist/calcite/p-4354e9d4.js +6 -0
  43. package/dist/calcite/{p-40a99e17.entry.js → p-447238fe.entry.js} +2 -2
  44. package/dist/calcite/p-45762287.js +6 -0
  45. package/dist/calcite/{p-c21c35f7.js → p-49c010d6.js} +1 -1
  46. package/dist/calcite/{p-2f25884c.js → p-4af56c29.js} +2 -2
  47. package/dist/calcite/{p-13ca4cf0.entry.js → p-4b0b326d.entry.js} +2 -2
  48. package/dist/calcite/{p-b793adfb.js → p-4c6163ff.js} +2 -2
  49. package/dist/calcite/{p-a7f92ae9.entry.js → p-4c7256c0.entry.js} +2 -2
  50. package/dist/calcite/{p-7dc7938f.js → p-4e393b21.js} +2 -2
  51. package/dist/calcite/{p-973df16a.entry.js → p-4f38532f.entry.js} +2 -2
  52. package/dist/calcite/{p-6965a50c.js → p-51292ab7.js} +2 -2
  53. package/dist/calcite/{p-0ebc501c.entry.js → p-53f5cf93.entry.js} +2 -2
  54. package/dist/calcite/{p-ec54c252.js → p-53f68583.js} +3 -3
  55. package/dist/calcite/p-54af167b.js +6 -0
  56. package/dist/calcite/{p-7b98de4a.js → p-59dadf5d.js} +2 -2
  57. package/dist/calcite/{p-8db9a211.js → p-5aae88ad.js} +1 -1
  58. package/dist/calcite/{p-d68ce960.js → p-5e4355cc.js} +1 -1
  59. package/dist/calcite/{p-ffc7c56d.entry.js → p-60321383.entry.js} +2 -2
  60. package/dist/calcite/{p-e312adb2.entry.js → p-64670555.entry.js} +2 -2
  61. package/dist/calcite/{p-3dfefbe7.entry.js → p-6628692d.entry.js} +2 -2
  62. package/dist/calcite/{p-3f93d002.js → p-668f125d.js} +2 -2
  63. package/dist/calcite/{p-a99a4a15.js → p-69fc7dc1.js} +2 -2
  64. package/dist/calcite/{p-d05bf146.js → p-6b5ab9e7.js} +2 -2
  65. package/dist/calcite/{p-6d89139d.js → p-6c9a6e69.js} +2 -2
  66. package/dist/calcite/{p-15eac47c.js → p-6e863bba.js} +2 -2
  67. package/dist/calcite/p-6ebc660d.entry.js +6 -0
  68. package/dist/calcite/{p-fe145fe8.entry.js → p-71a35c97.entry.js} +2 -2
  69. package/dist/calcite/{p-53831356.entry.js → p-71c0f6bd.entry.js} +2 -2
  70. package/dist/calcite/{p-94a3ce93.entry.js → p-73dc422d.entry.js} +2 -2
  71. package/dist/calcite/{p-8c025fac.js → p-76496142.js} +1 -1
  72. package/dist/calcite/{p-fe389436.js → p-76a15bfd.js} +2 -2
  73. package/dist/calcite/{p-056c8938.js → p-791512ef.js} +2 -2
  74. package/dist/calcite/{p-a4c18bfb.entry.js → p-7a9c352e.entry.js} +2 -2
  75. package/dist/calcite/{p-21729eae.entry.js → p-7aaea473.entry.js} +2 -2
  76. package/dist/calcite/{p-30b225d7.entry.js → p-7c40cf3b.entry.js} +2 -2
  77. package/dist/calcite/{p-6b7921aa.js → p-7c57544a.js} +2 -2
  78. package/dist/calcite/{p-39892fbc.entry.js → p-7cb0174e.entry.js} +2 -2
  79. package/dist/calcite/{p-9fedef55.js → p-7d7eb774.js} +2 -2
  80. package/dist/calcite/{p-bb5d286f.entry.js → p-7f0f455c.entry.js} +2 -2
  81. package/dist/calcite/{p-343e0c1e.js → p-802b7522.js} +2 -2
  82. package/dist/calcite/{p-681ad15b.js → p-81e1ef08.js} +2 -2
  83. package/dist/calcite/{p-3c2b4172.js → p-84959db6.js} +2 -2
  84. package/dist/calcite/{p-d75bbbf9.js → p-86d158a0.js} +1 -1
  85. package/dist/calcite/{p-7a2bb834.entry.js → p-86f2af06.entry.js} +2 -2
  86. package/dist/calcite/{p-0f947e1c.entry.js → p-89ee0f6f.entry.js} +2 -2
  87. package/dist/calcite/{p-4d05e1a5.js → p-8a41d23c.js} +2 -2
  88. package/dist/calcite/p-8e73215b.js +6 -0
  89. package/dist/calcite/{p-c8f5d24f.entry.js → p-8ea459a6.entry.js} +2 -2
  90. package/dist/calcite/{p-fcf336eb.js → p-8fb0df33.js} +2 -2
  91. package/dist/calcite/{p-ce38f434.entry.js → p-8fc4f30c.entry.js} +2 -2
  92. package/dist/calcite/{p-02fba694.js → p-90d59e83.js} +2 -2
  93. package/dist/calcite/{p-e4b69cd8.js → p-913425b0.js} +2 -2
  94. package/dist/calcite/{p-58cb4e37.entry.js → p-92bb87e6.entry.js} +2 -2
  95. package/dist/calcite/{p-e73266b6.entry.js → p-95a01691.entry.js} +2 -2
  96. package/dist/calcite/{p-29129861.js → p-96dbe651.js} +2 -2
  97. package/dist/calcite/{p-26d60172.entry.js → p-97eea906.entry.js} +2 -2
  98. package/dist/calcite/{p-d5c1db84.js → p-992d6edc.js} +1 -1
  99. package/dist/calcite/{p-b6abce81.entry.js → p-9c0e58f2.entry.js} +2 -2
  100. package/dist/calcite/{p-a1558cef.js → p-9ce5b9a4.js} +2 -2
  101. package/dist/calcite/{p-2e7a3e05.entry.js → p-9e9446b8.entry.js} +2 -2
  102. package/dist/calcite/{p-b2f68a4e.entry.js → p-9f545b5e.entry.js} +2 -2
  103. package/dist/calcite/{p-792028f0.entry.js → p-a1ff5901.entry.js} +2 -2
  104. package/dist/calcite/{p-ca004b3d.js → p-a31aaf8e.js} +2 -2
  105. package/dist/calcite/{p-0257e437.js → p-a3d265ff.js} +2 -2
  106. package/dist/calcite/{p-cd368029.js → p-a6f8f0ff.js} +2 -2
  107. package/dist/calcite/{p-cecee68f.js → p-a71d7284.js} +1 -1
  108. package/dist/calcite/{p-506f38ec.js → p-a84f33d0.js} +2 -2
  109. package/dist/calcite/{p-eb6f1966.entry.js → p-aa12e51c.entry.js} +2 -2
  110. package/dist/calcite/{p-f9d37807.js → p-af147fd8.js} +2 -2
  111. package/dist/calcite/{p-93cb13a5.js → p-b109376d.js} +1 -1
  112. package/dist/calcite/{p-03c150d1.entry.js → p-b13403c8.entry.js} +2 -2
  113. package/dist/calcite/{p-eeaedd9f.js → p-b31d2494.js} +2 -2
  114. package/dist/calcite/p-b5a3a8ca.entry.js +6 -0
  115. package/dist/calcite/{p-d30b24f7.js → p-b5cbc17f.js} +2 -2
  116. package/dist/calcite/{p-58933552.entry.js → p-b7314347.entry.js} +2 -2
  117. package/dist/calcite/{p-2c98a395.entry.js → p-b766ac5e.entry.js} +2 -2
  118. package/dist/calcite/{p-c5f8f4a7.entry.js → p-b832aa0b.entry.js} +2 -2
  119. package/dist/calcite/{p-f6b04f06.js → p-ba6a231b.js} +2 -2
  120. package/dist/calcite/{p-d2f553c3.js → p-bc1e3804.js} +1 -1
  121. package/dist/calcite/{p-ccf5deb3.js → p-be17fd5e.js} +1 -1
  122. package/dist/calcite/{p-99f8ed5d.js → p-bf0f7949.js} +1 -1
  123. package/dist/calcite/{p-fab5697a.entry.js → p-bf951fb7.entry.js} +2 -2
  124. package/dist/calcite/{p-a06336bf.js → p-c0e6e9c0.js} +2 -2
  125. package/dist/calcite/{p-f6444a40.entry.js → p-c1f4b204.entry.js} +2 -2
  126. package/dist/calcite/p-c4e449d4.entry.js +6 -0
  127. package/dist/calcite/{p-edfde7d8.js → p-ca2c92d5.js} +2 -2
  128. package/dist/calcite/{p-1bf3acdc.js → p-cffffe45.js} +2 -2
  129. package/dist/calcite/{p-e0d48e50.entry.js → p-d0c6e7ed.entry.js} +2 -2
  130. package/dist/calcite/{p-26174cb4.js → p-d2097573.js} +2 -2
  131. package/dist/calcite/{p-e6017353.js → p-d29bbe7d.js} +2 -2
  132. package/dist/calcite/{p-d2840286.entry.js → p-d649c2f3.entry.js} +2 -2
  133. package/dist/calcite/{p-1e018979.js → p-d880b9c7.js} +2 -2
  134. package/dist/calcite/p-d9832528.entry.js +6 -0
  135. package/dist/calcite/{p-a6b51e4e.js → p-d99a0788.js} +2 -2
  136. package/dist/calcite/{p-636cd580.entry.js → p-d9b8302b.entry.js} +2 -2
  137. package/dist/calcite/p-dbc0e23e.entry.js +6 -0
  138. package/dist/calcite/{p-fbf0ec35.entry.js → p-dd451dd4.entry.js} +2 -2
  139. package/dist/calcite/{p-887444be.js → p-ddef8b45.js} +2 -2
  140. package/dist/calcite/p-e3f0a3ff.entry.js +6 -0
  141. package/dist/calcite/p-e3f60099.entry.js +6 -0
  142. package/dist/calcite/{p-da08a08e.js → p-e5e22b57.js} +2 -2
  143. package/dist/calcite/{p-13c29de5.js → p-e5fedd4b.js} +2 -2
  144. package/dist/calcite/p-e640f747.entry.js +6 -0
  145. package/dist/calcite/{p-4d4a62c1.js → p-e6919bdf.js} +2 -2
  146. package/dist/calcite/{p-8cc0ddfa.js → p-e7f01d78.js} +2 -2
  147. package/dist/calcite/{p-4d5bca6f.entry.js → p-e85ed037.entry.js} +2 -2
  148. package/dist/calcite/{p-6f9eba7b.entry.js → p-e9389ecb.entry.js} +2 -2
  149. package/dist/calcite/{p-df26e7c8.js → p-e9b614a4.js} +2 -2
  150. package/dist/calcite/{p-f9475e12.entry.js → p-ea252928.entry.js} +2 -2
  151. package/dist/calcite/{p-0ba01172.entry.js → p-eb8f176c.entry.js} +2 -2
  152. package/dist/calcite/p-ec2ea998.js +6 -0
  153. package/dist/calcite/p-ed30a0dc.entry.js +6 -0
  154. package/dist/calcite/{p-e390d41f.js → p-ee903a0c.js} +2 -2
  155. package/dist/calcite/{p-c791330e.js → p-f3d5dcbf.js} +2 -2
  156. package/dist/calcite/{p-3f3eee42.entry.js → p-f84a84ef.entry.js} +2 -2
  157. package/dist/calcite/{p-bd0fe246.entry.js → p-fa9f6acf.entry.js} +2 -2
  158. package/dist/calcite/{p-1035becf.js → p-fd24ce3a.js} +1 -1
  159. package/dist/cjs/{ExpandToggle-352734d9.js → ExpandToggle-606f9a1b.js} +5 -5
  160. package/dist/cjs/{FloatingArrow-70f7b14e.js → FloatingArrow-760f2563.js} +2 -2
  161. package/dist/cjs/{Heading-51c78fed.js → Heading-0d543739.js} +2 -2
  162. package/dist/cjs/{app-globals-3ff2da5f.js → app-globals-b4b1fb76.js} +2 -2
  163. package/dist/cjs/{ar-b32222cf.js → ar-647645d5.js} +17 -17
  164. package/dist/cjs/{array-9fec654f.js → array-c4d6b56f.js} +1 -1
  165. package/dist/cjs/{bg-468b5121.js → bg-e86a1505.js} +17 -17
  166. package/dist/cjs/{browser-ee882742.js → browser-64387f05.js} +1 -1
  167. package/dist/cjs/{bs-cabe52cf.js → bs-f2bd59c4.js} +17 -17
  168. package/dist/cjs/{ca-be70a7da.js → ca-600ed0a3.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 +4 -4
  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-d0cfb47d.js → calcite-input-time-picker.calcite-time-picker-c2e0ff4f.js} +147 -83
  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-690ec37d.js → conditionalSlot-fb35b27f.js} +3 -3
  243. package/dist/cjs/{cs-906476d8.js → cs-ca65c251.js} +17 -17
  244. package/dist/cjs/{da-4d2f4fd3.js → da-f52e9d89.js} +17 -17
  245. package/dist/cjs/{de-559fd9ee.js → de-aa9638db.js} +17 -17
  246. package/dist/cjs/{de-at-1e0d4fb9.js → de-at-9529129f.js} +17 -17
  247. package/dist/cjs/{de-ch-180aeef6.js → de-ch-902c88f3.js} +17 -17
  248. package/dist/cjs/{debounce-eb5d5669.js → debounce-5dada122.js} +1 -1
  249. package/dist/cjs/{dom-19fb1cdf.js → dom-6d14ccfd.js} +3 -3
  250. package/dist/cjs/{el-1bab096e.js → el-b4d713b6.js} +17 -17
  251. package/dist/cjs/{en-au-5dd0b0a0.js → en-au-ddcf7b12.js} +17 -17
  252. package/dist/cjs/{en-ca-8ab2e472.js → en-ca-7ef212d0.js} +17 -17
  253. package/dist/cjs/{en-gb-39e04ed4.js → en-gb-c3b03e20.js} +17 -17
  254. package/dist/cjs/{es-5682bac6.js → es-63a2273b.js} +17 -17
  255. package/dist/cjs/{es-mx-3158346a.js → es-mx-41232776.js} +17 -17
  256. package/dist/cjs/{et-586851b8.js → et-64c07d80.js} +17 -17
  257. package/dist/cjs/{fi-f8bf8109.js → fi-155d28d6.js} +17 -17
  258. package/dist/cjs/{filter-40cabc72.js → filter-d4ecf6e6.js} +2 -2
  259. package/dist/cjs/{floating-ui-3e6efe5c.js → floating-ui-7e9e70e9.js} +3 -3
  260. package/dist/cjs/{focusTrapComponent-00dfed50.js → focusTrapComponent-c488931b.js} +2 -2
  261. package/dist/cjs/{form-4056dd25.js → form-03af6017.js} +3 -3
  262. package/dist/cjs/{fr-c0487f0c.js → fr-7731a008.js} +17 -17
  263. package/dist/cjs/{fr-ch-4e5b2c64.js → fr-ch-20eae645.js} +17 -17
  264. package/dist/cjs/{guid-c0230e86.js → guid-7c85d843.js} +1 -1
  265. package/dist/cjs/{he-06e227e8.js → he-1b6451cb.js} +17 -17
  266. package/dist/cjs/{hi-9995222f.js → hi-58b9eea7.js} +17 -17
  267. package/dist/cjs/{hr-8c76e72f.js → hr-32444d7c.js} +17 -17
  268. package/dist/cjs/{hu-00378c15.js → hu-12ae7fb0.js} +17 -17
  269. package/dist/cjs/{id-2787d19d.js → id-2ff7fea5.js} +17 -17
  270. package/dist/cjs/{index-caafb198.js → index-c339d674.js} +1 -1
  271. package/dist/cjs/index.cjs.js +2 -2
  272. package/dist/cjs/{interactive-4d674e22.js → interactive-e94316ee.js} +2 -2
  273. package/dist/cjs/{it-56bbd587.js → it-0e3ed81d.js} +17 -17
  274. package/dist/cjs/{it-ch-636946fb.js → it-ch-b5a01c01.js} +17 -17
  275. package/dist/cjs/{ja-f267adb2.js → ja-0878e049.js} +17 -17
  276. package/dist/cjs/{key-d2996224.js → key-2b143b6b.js} +1 -1
  277. package/dist/cjs/{ko-ad0ce0ec.js → ko-6ffbe658.js} +17 -17
  278. package/dist/cjs/{label-f96276bb.js → label-d2c4424f.js} +2 -2
  279. package/dist/cjs/{loadable-471967b7.js → loadable-e9edda38.js} +2 -2
  280. package/dist/cjs/loader.cjs.js +5 -5
  281. package/dist/cjs/{locale-e0d1f1bf.js → locale-e9a4c11f.js} +4 -4
  282. package/dist/cjs/{lt-3b78c9a4.js → lt-1cb4b700.js} +17 -17
  283. package/dist/cjs/{lv-12bf16ef.js → lv-4862aba4.js} +17 -17
  284. package/dist/cjs/{math-d1a3aaa3.js → math-ee5847f1.js} +1 -1
  285. package/dist/cjs/{mk-32609311.js → mk-53f6344c.js} +17 -17
  286. package/dist/cjs/{nb-ffdea9a6.js → nb-7b13ed73.js} +17 -17
  287. package/dist/cjs/{nl-3ab4c16c.js → nl-a3c47c52.js} +17 -17
  288. package/dist/cjs/{observers-470ae6da.js → observers-31e8c0b9.js} +1 -1
  289. package/dist/cjs/{openCloseComponent-b4577cbd.js → openCloseComponent-3653e6b9.js} +2 -2
  290. package/dist/cjs/{pl-ba05d6d3.js → pl-b1cfe8b5.js} +17 -17
  291. package/dist/cjs/{pt-br-46221bee.js → pt-br-1282d800.js} +17 -17
  292. package/dist/cjs/{pt-9e772b76.js → pt-eb1fd432.js} +17 -17
  293. package/dist/cjs/{resources-0afd289e.js → resources-14d3e4d4.js} +1 -1
  294. package/dist/cjs/{resources-70f4e8f2.js → resources-2ade5f82.js} +1 -1
  295. package/dist/cjs/{resources-4fb73fb3.js → resources-31d661b0.js} +1 -1
  296. package/dist/cjs/{resources-23935e2d.js → resources-47512cff.js} +5 -5
  297. package/dist/cjs/{resources-9445430b.js → resources-b0887435.js} +1 -1
  298. package/dist/cjs/{resources-a2931aee.js → resources-f1384073.js} +1 -1
  299. package/dist/cjs/{resources-28a7ca32.js → resources-fb176760.js} +1 -1
  300. package/dist/cjs/{ro-d5b658b6.js → ro-9e0bcb11.js} +17 -17
  301. package/dist/cjs/{ru-43b0996d.js → ru-dbf81f40.js} +17 -17
  302. package/dist/cjs/{sk-44ccecda.js → sk-580c1068.js} +17 -17
  303. package/dist/cjs/{sl-7d6b06a7.js → sl-5c661947.js} +17 -17
  304. package/dist/cjs/{sortableComponent-22a91e22.js → sortableComponent-1b55d0d6.js} +1 -1
  305. package/dist/cjs/{sr-661e8a9d.js → sr-f41f48c9.js} +17 -17
  306. package/dist/cjs/{sv-7f9ef68a.js → sv-f01f52fb.js} +17 -17
  307. package/dist/cjs/{t9n-b07eaf88.js → t9n-6042dac5.js} +3 -3
  308. package/dist/cjs/{th-7f7898ea.js → th-e039b6a5.js} +17 -17
  309. package/dist/cjs/{throttle-50647341.js → throttle-79ea657e.js} +2 -2
  310. package/dist/cjs/{tr-43dad46a.js → tr-67df4d80.js} +17 -17
  311. package/dist/cjs/{uk-f344323a.js → uk-f656bdc4.js} +17 -17
  312. package/dist/cjs/{utils-0b3c1711.js → utils-26acf862.js} +3 -3
  313. package/dist/cjs/{utils-c3ce585e.js → utils-87aa4637.js} +1 -1
  314. package/dist/cjs/{vi-bb298313.js → vi-138fd018.js} +17 -17
  315. package/dist/cjs/{zh-cn-ad507dd6.js → zh-cn-a79da5b9.js} +17 -17
  316. package/dist/cjs/{zh-hk-c5f07e1a.js → zh-hk-a9849cd6.js} +17 -17
  317. package/dist/cjs/{zh-tw-316941eb.js → zh-tw-8c294f11.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 +1 -1
  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 +2 -1
  507. package/dist/collection/components/time-picker/time-picker.css +3 -1
  508. package/dist/collection/components/time-picker/time-picker.js +93 -23
  509. package/dist/collection/components/tip/resources.js +1 -1
  510. package/dist/collection/components/tip/tip.js +1 -1
  511. package/dist/collection/components/tip-group/tip-group.js +1 -1
  512. package/dist/collection/components/tip-manager/resources.js +1 -1
  513. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  514. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  515. package/dist/collection/components/tooltip/resources.js +1 -1
  516. package/dist/collection/components/tooltip/tooltip.js +1 -1
  517. package/dist/collection/components/tooltip/utils.js +1 -1
  518. package/dist/collection/components/tree/tree.js +1 -1
  519. package/dist/collection/components/tree/utils.js +1 -1
  520. package/dist/collection/components/tree-item/resources.js +1 -1
  521. package/dist/collection/components/tree-item/tree-item.js +1 -1
  522. package/dist/collection/components/value-list/resources.js +1 -1
  523. package/dist/collection/components/value-list/utils.js +1 -1
  524. package/dist/collection/components/value-list/value-list.js +1 -1
  525. package/dist/collection/components/value-list-item/resources.js +1 -1
  526. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  527. package/dist/collection/index.js +1 -1
  528. package/dist/collection/utils/array.js +1 -1
  529. package/dist/collection/utils/browser.js +1 -1
  530. package/dist/collection/utils/conditionalSlot.js +1 -1
  531. package/dist/collection/utils/config.js +1 -1
  532. package/dist/collection/utils/date.js +1 -1
  533. package/dist/collection/utils/dom.js +1 -1
  534. package/dist/collection/utils/filter.js +1 -1
  535. package/dist/collection/utils/floating-ui.js +1 -1
  536. package/dist/collection/utils/focusTrapComponent.js +1 -1
  537. package/dist/collection/utils/form.js +1 -1
  538. package/dist/collection/utils/globalAttributes.js +1 -1
  539. package/dist/collection/utils/globalScript.js +1 -1
  540. package/dist/collection/utils/guid.js +1 -1
  541. package/dist/collection/utils/interactive.js +1 -1
  542. package/dist/collection/utils/key.js +1 -1
  543. package/dist/collection/utils/label.js +1 -1
  544. package/dist/collection/utils/loadable.js +1 -1
  545. package/dist/collection/utils/locale.js +1 -1
  546. package/dist/collection/utils/math.js +1 -1
  547. package/dist/collection/utils/mode.js +1 -1
  548. package/dist/collection/utils/number.js +1 -1
  549. package/dist/collection/utils/observers.js +1 -1
  550. package/dist/collection/utils/openCloseComponent.js +1 -1
  551. package/dist/collection/utils/resources.js +1 -1
  552. package/dist/collection/utils/sortableComponent.js +1 -1
  553. package/dist/collection/utils/t9n.js +1 -1
  554. package/dist/collection/utils/time.js +1 -1
  555. package/dist/components/ExpandToggle.js +1 -1
  556. package/dist/components/FloatingArrow.js +1 -1
  557. package/dist/components/Heading.js +1 -1
  558. package/dist/components/action-group.js +1 -1
  559. package/dist/components/action-menu.js +1 -1
  560. package/dist/components/action.js +1 -1
  561. package/dist/components/ar.js +1 -1
  562. package/dist/components/array.js +1 -1
  563. package/dist/components/avatar.js +1 -1
  564. package/dist/components/bg.js +1 -1
  565. package/dist/components/bs.js +1 -1
  566. package/dist/components/button.js +1 -1
  567. package/dist/components/ca.js +1 -1
  568. package/dist/components/calcite-accordion-item.js +1 -1
  569. package/dist/components/calcite-accordion.js +1 -1
  570. package/dist/components/calcite-action-bar.js +1 -1
  571. package/dist/components/calcite-action-group.js +1 -1
  572. package/dist/components/calcite-action-menu.js +1 -1
  573. package/dist/components/calcite-action-pad.js +1 -1
  574. package/dist/components/calcite-action.js +1 -1
  575. package/dist/components/calcite-alert.js +1 -1
  576. package/dist/components/calcite-avatar.js +1 -1
  577. package/dist/components/calcite-block-section.js +1 -1
  578. package/dist/components/calcite-block.js +1 -1
  579. package/dist/components/calcite-button.js +1 -1
  580. package/dist/components/calcite-card.js +1 -1
  581. package/dist/components/calcite-checkbox.js +1 -1
  582. package/dist/components/calcite-chip-group.js +1 -1
  583. package/dist/components/calcite-chip.js +1 -1
  584. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  585. package/dist/components/calcite-color-picker-swatch.js +1 -1
  586. package/dist/components/calcite-color-picker.js +1 -1
  587. package/dist/components/calcite-combobox-item-group.js +1 -1
  588. package/dist/components/calcite-combobox-item.js +1 -1
  589. package/dist/components/calcite-combobox.js +1 -1
  590. package/dist/components/calcite-date-picker-day.js +1 -1
  591. package/dist/components/calcite-date-picker-month-header.js +1 -1
  592. package/dist/components/calcite-date-picker-month.js +1 -1
  593. package/dist/components/calcite-date-picker.js +1 -1
  594. package/dist/components/calcite-dropdown-group.js +1 -1
  595. package/dist/components/calcite-dropdown-item.js +1 -1
  596. package/dist/components/calcite-dropdown.js +1 -1
  597. package/dist/components/calcite-fab.js +1 -1
  598. package/dist/components/calcite-filter.js +1 -1
  599. package/dist/components/calcite-flow-item.js +1 -1
  600. package/dist/components/calcite-flow.js +1 -1
  601. package/dist/components/calcite-graph.js +1 -1
  602. package/dist/components/calcite-handle.js +1 -1
  603. package/dist/components/calcite-icon.js +1 -1
  604. package/dist/components/calcite-inline-editable.js +1 -1
  605. package/dist/components/calcite-input-date-picker.js +1 -1
  606. package/dist/components/calcite-input-message.js +1 -1
  607. package/dist/components/calcite-input-number.js +1 -1
  608. package/dist/components/calcite-input-text.js +1 -1
  609. package/dist/components/calcite-input-time-picker.js +1 -1
  610. package/dist/components/calcite-input-time-zone.js +1 -1
  611. package/dist/components/calcite-input.js +1 -1
  612. package/dist/components/calcite-label.js +1 -1
  613. package/dist/components/calcite-link.js +1 -1
  614. package/dist/components/calcite-list-item-group.js +1 -1
  615. package/dist/components/calcite-list-item.js +1 -1
  616. package/dist/components/calcite-list.js +1 -1
  617. package/dist/components/calcite-loader.js +1 -1
  618. package/dist/components/calcite-menu-item.js +1 -1
  619. package/dist/components/calcite-menu.js +1 -1
  620. package/dist/components/calcite-meter.js +1 -1
  621. package/dist/components/calcite-modal.js +1 -1
  622. package/dist/components/calcite-navigation-logo.js +1 -1
  623. package/dist/components/calcite-navigation-user.js +1 -1
  624. package/dist/components/calcite-navigation.js +1 -1
  625. package/dist/components/calcite-notice.js +1 -1
  626. package/dist/components/calcite-option-group.js +1 -1
  627. package/dist/components/calcite-option.js +1 -1
  628. package/dist/components/calcite-pagination.js +1 -1
  629. package/dist/components/calcite-panel.js +1 -1
  630. package/dist/components/calcite-pick-list-group.js +1 -1
  631. package/dist/components/calcite-pick-list-item.js +1 -1
  632. package/dist/components/calcite-pick-list.js +1 -1
  633. package/dist/components/calcite-popover.js +1 -1
  634. package/dist/components/calcite-progress.js +1 -1
  635. package/dist/components/calcite-radio-button-group.js +1 -1
  636. package/dist/components/calcite-radio-button.js +1 -1
  637. package/dist/components/calcite-rating.js +1 -1
  638. package/dist/components/calcite-scrim.js +1 -1
  639. package/dist/components/calcite-segmented-control-item.js +1 -1
  640. package/dist/components/calcite-segmented-control.js +1 -1
  641. package/dist/components/calcite-select.js +1 -1
  642. package/dist/components/calcite-sheet.js +1 -1
  643. package/dist/components/calcite-shell-center-row.js +1 -1
  644. package/dist/components/calcite-shell-panel.js +1 -1
  645. package/dist/components/calcite-shell.js +1 -1
  646. package/dist/components/calcite-slider.js +1 -1
  647. package/dist/components/calcite-sortable-list.js +1 -1
  648. package/dist/components/calcite-split-button.js +1 -1
  649. package/dist/components/calcite-stack.js +1 -1
  650. package/dist/components/calcite-stepper-item.js +1 -1
  651. package/dist/components/calcite-stepper.js +1 -1
  652. package/dist/components/calcite-switch.js +1 -1
  653. package/dist/components/calcite-tab-nav.js +1 -1
  654. package/dist/components/calcite-tab-title.js +1 -1
  655. package/dist/components/calcite-tab.js +1 -1
  656. package/dist/components/calcite-table-cell.js +1 -1
  657. package/dist/components/calcite-table-header.js +1 -1
  658. package/dist/components/calcite-table-row.js +1 -1
  659. package/dist/components/calcite-table.js +1 -1
  660. package/dist/components/calcite-tabs.js +1 -1
  661. package/dist/components/calcite-text-area.js +1 -1
  662. package/dist/components/calcite-tile-select-group.js +1 -1
  663. package/dist/components/calcite-tile-select.js +1 -1
  664. package/dist/components/calcite-tile.js +1 -1
  665. package/dist/components/calcite-time-picker.js +1 -1
  666. package/dist/components/calcite-tip-group.js +1 -1
  667. package/dist/components/calcite-tip-manager.js +1 -1
  668. package/dist/components/calcite-tip.js +1 -1
  669. package/dist/components/calcite-tooltip.js +1 -1
  670. package/dist/components/calcite-tree-item.js +1 -1
  671. package/dist/components/calcite-tree.js +1 -1
  672. package/dist/components/calcite-value-list-item.js +1 -1
  673. package/dist/components/calcite-value-list.js +1 -1
  674. package/dist/components/checkbox.js +1 -1
  675. package/dist/components/chip.js +1 -1
  676. package/dist/components/color-picker-hex-input.js +1 -1
  677. package/dist/components/color-picker-swatch.js +1 -1
  678. package/dist/components/combobox-item.js +1 -1
  679. package/dist/components/combobox.js +1 -1
  680. package/dist/components/conditionalSlot.js +1 -1
  681. package/dist/components/cs.js +1 -1
  682. package/dist/components/da.js +1 -1
  683. package/dist/components/date-picker-day.js +1 -1
  684. package/dist/components/date-picker-month-header.js +1 -1
  685. package/dist/components/date-picker-month.js +1 -1
  686. package/dist/components/date-picker.js +1 -1
  687. package/dist/components/date.js +1 -1
  688. package/dist/components/de-at.js +1 -1
  689. package/dist/components/de-ch.js +1 -1
  690. package/dist/components/de.js +1 -1
  691. package/dist/components/debounce.js +1 -1
  692. package/dist/components/dom.js +1 -1
  693. package/dist/components/dropdown.js +1 -1
  694. package/dist/components/el.js +1 -1
  695. package/dist/components/en-au.js +1 -1
  696. package/dist/components/en-ca.js +1 -1
  697. package/dist/components/en-gb.js +1 -1
  698. package/dist/components/es-mx.js +1 -1
  699. package/dist/components/es.js +1 -1
  700. package/dist/components/et.js +1 -1
  701. package/dist/components/fi.js +1 -1
  702. package/dist/components/filter.js +1 -1
  703. package/dist/components/filter2.js +1 -1
  704. package/dist/components/floating-ui.js +1 -1
  705. package/dist/components/focusTrapComponent.js +1 -1
  706. package/dist/components/form.js +1 -1
  707. package/dist/components/fr-ch.js +1 -1
  708. package/dist/components/fr.js +1 -1
  709. package/dist/components/graph.js +1 -1
  710. package/dist/components/guid.js +1 -1
  711. package/dist/components/handle.js +1 -1
  712. package/dist/components/he.js +1 -1
  713. package/dist/components/hi.js +1 -1
  714. package/dist/components/hr.js +1 -1
  715. package/dist/components/hu.js +1 -1
  716. package/dist/components/icon.js +1 -1
  717. package/dist/components/id.js +1 -1
  718. package/dist/components/index.js +1 -1
  719. package/dist/components/index2.js +1 -1
  720. package/dist/components/input-number.js +1 -1
  721. package/dist/components/input-text.js +1 -1
  722. package/dist/components/input.js +1 -1
  723. package/dist/components/interactive.js +1 -1
  724. package/dist/components/it-ch.js +1 -1
  725. package/dist/components/it.js +1 -1
  726. package/dist/components/ja.js +1 -1
  727. package/dist/components/key.js +1 -1
  728. package/dist/components/ko.js +1 -1
  729. package/dist/components/label.js +1 -1
  730. package/dist/components/label2.js +1 -1
  731. package/dist/components/link.js +1 -1
  732. package/dist/components/loadable.js +1 -1
  733. package/dist/components/loader.js +1 -1
  734. package/dist/components/locale.js +1 -1
  735. package/dist/components/lt.js +1 -1
  736. package/dist/components/lv.js +1 -1
  737. package/dist/components/math.js +1 -1
  738. package/dist/components/menu.js +1 -1
  739. package/dist/components/mk.js +1 -1
  740. package/dist/components/nb.js +1 -1
  741. package/dist/components/nl.js +1 -1
  742. package/dist/components/observers.js +1 -1
  743. package/dist/components/openCloseComponent.js +1 -1
  744. package/dist/components/pagination.js +1 -1
  745. package/dist/components/panel.js +1 -1
  746. package/dist/components/pick-list-item.js +1 -1
  747. package/dist/components/pl.js +1 -1
  748. package/dist/components/popover.js +1 -1
  749. package/dist/components/progress.js +1 -1
  750. package/dist/components/pt-br.js +1 -1
  751. package/dist/components/pt.js +1 -1
  752. package/dist/components/resources.js +1 -1
  753. package/dist/components/resources2.js +1 -1
  754. package/dist/components/resources3.js +1 -1
  755. package/dist/components/resources4.js +1 -1
  756. package/dist/components/ro.js +1 -1
  757. package/dist/components/ru.js +1 -1
  758. package/dist/components/scrim.js +1 -1
  759. package/dist/components/shared-list-render.js +1 -1
  760. package/dist/components/sk.js +1 -1
  761. package/dist/components/sl.js +1 -1
  762. package/dist/components/sortableComponent.js +1 -1
  763. package/dist/components/sr.js +1 -1
  764. package/dist/components/stack.js +1 -1
  765. package/dist/components/sv.js +1 -1
  766. package/dist/components/switch.js +1 -1
  767. package/dist/components/t9n.js +1 -1
  768. package/dist/components/tab-nav.js +1 -1
  769. package/dist/components/tab-title.js +1 -1
  770. package/dist/components/tab.js +1 -1
  771. package/dist/components/table-cell.js +1 -1
  772. package/dist/components/table-header.js +1 -1
  773. package/dist/components/tabs.js +1 -1
  774. package/dist/components/th.js +1 -1
  775. package/dist/components/throttle.js +1 -1
  776. package/dist/components/tile.js +1 -1
  777. package/dist/components/time-picker.js +89 -24
  778. package/dist/components/tr.js +1 -1
  779. package/dist/components/uk.js +1 -1
  780. package/dist/components/utils.js +1 -1
  781. package/dist/components/utils2.js +1 -1
  782. package/dist/components/utils3.js +1 -1
  783. package/dist/components/vi.js +1 -1
  784. package/dist/components/zh-cn.js +1 -1
  785. package/dist/components/zh-hk.js +1 -1
  786. package/dist/components/zh-tw.js +1 -1
  787. package/dist/esm/{ExpandToggle-88dd2305.js → ExpandToggle-8f1a743a.js} +5 -5
  788. package/dist/esm/{FloatingArrow-adc23407.js → FloatingArrow-d3664841.js} +2 -2
  789. package/dist/esm/{Heading-610e015f.js → Heading-97311bc1.js} +2 -2
  790. package/dist/esm/{app-globals-a2dd9088.js → app-globals-8543070d.js} +2 -2
  791. package/dist/esm/{ar-a34e4331.js → ar-777d5897.js} +17 -17
  792. package/dist/esm/{array-df136c83.js → array-00bc1715.js} +1 -1
  793. package/dist/esm/{bg-7d5393fe.js → bg-35221306.js} +17 -17
  794. package/dist/esm/{browser-98466c38.js → browser-42aa39cb.js} +1 -1
  795. package/dist/esm/{bs-468c2ed7.js → bs-39a2d3ca.js} +17 -17
  796. package/dist/esm/{ca-277e4886.js → ca-424fc229.js} +17 -17
  797. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  798. package/dist/esm/calcite-action-bar.entry.js +15 -15
  799. package/dist/esm/calcite-action-group.entry.js +13 -13
  800. package/dist/esm/calcite-action-menu.entry.js +9 -9
  801. package/dist/esm/calcite-action-pad.entry.js +14 -14
  802. package/dist/esm/calcite-action.entry.js +12 -12
  803. package/dist/esm/calcite-alert.entry.js +12 -12
  804. package/dist/esm/calcite-avatar.entry.js +6 -6
  805. package/dist/esm/calcite-block_2.entry.js +14 -14
  806. package/dist/esm/calcite-button.entry.js +14 -14
  807. package/dist/esm/calcite-card.entry.js +10 -10
  808. package/dist/esm/calcite-checkbox.entry.js +11 -11
  809. package/dist/esm/calcite-chip-group.entry.js +9 -9
  810. package/dist/esm/calcite-chip.entry.js +13 -13
  811. package/dist/esm/calcite-color-picker_3.entry.js +16 -16
  812. package/dist/esm/calcite-combobox_3.entry.js +19 -19
  813. package/dist/esm/calcite-date-picker_4.entry.js +14 -14
  814. package/dist/esm/calcite-dropdown_3.entry.js +13 -13
  815. package/dist/esm/calcite-fab.entry.js +8 -8
  816. package/dist/esm/calcite-filter.entry.js +14 -14
  817. package/dist/esm/calcite-flow-item.entry.js +13 -13
  818. package/dist/esm/calcite-flow.entry.js +4 -4
  819. package/dist/esm/calcite-graph_2.entry.js +14 -14
  820. package/dist/esm/calcite-handle.entry.js +10 -10
  821. package/dist/esm/calcite-icon.entry.js +6 -6
  822. package/dist/esm/calcite-inline-editable.entry.js +13 -13
  823. package/dist/esm/calcite-input-date-picker.entry.js +19 -19
  824. package/dist/esm/calcite-input-message.entry.js +5 -5
  825. package/dist/esm/calcite-input-number.entry.js +14 -14
  826. package/dist/esm/calcite-input-text.entry.js +14 -14
  827. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-d98f3ae8.js → calcite-input-time-picker.calcite-time-picker-0bed126d.js} +147 -83
  828. package/dist/esm/calcite-input-time-picker_2.entry.js +17 -17
  829. package/dist/esm/calcite-input-time-zone.entry.js +14 -14
  830. package/dist/esm/calcite-input.entry.js +14 -14
  831. package/dist/esm/calcite-label.entry.js +6 -6
  832. package/dist/esm/calcite-link.entry.js +8 -8
  833. package/dist/esm/calcite-list_3.entry.js +15 -15
  834. package/dist/esm/calcite-loader.entry.js +3 -3
  835. package/dist/esm/calcite-menu_2.entry.js +10 -10
  836. package/dist/esm/calcite-meter.entry.js +10 -10
  837. package/dist/esm/calcite-modal.entry.js +13 -13
  838. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  839. package/dist/esm/calcite-notice.entry.js +12 -12
  840. package/dist/esm/calcite-option_3.entry.js +11 -11
  841. package/dist/esm/calcite-pagination.entry.js +10 -10
  842. package/dist/esm/calcite-panel.entry.js +15 -15
  843. package/dist/esm/calcite-pick-list_3.entry.js +17 -17
  844. package/dist/esm/calcite-popover.entry.js +16 -16
  845. package/dist/esm/calcite-progress.entry.js +5 -5
  846. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  847. package/dist/esm/calcite-radio-button.entry.js +11 -11
  848. package/dist/esm/calcite-rating.entry.js +14 -14
  849. package/dist/esm/calcite-scrim.entry.js +9 -9
  850. package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
  851. package/dist/esm/calcite-sheet.entry.js +9 -9
  852. package/dist/esm/calcite-shell_3.entry.js +11 -11
  853. package/dist/esm/calcite-sortable-list.entry.js +9 -9
  854. package/dist/esm/calcite-split-button.entry.js +5 -5
  855. package/dist/esm/calcite-stack.entry.js +6 -6
  856. package/dist/esm/calcite-stepper_2.entry.js +11 -11
  857. package/dist/esm/calcite-switch.entry.js +11 -11
  858. package/dist/esm/calcite-tab_4.entry.js +11 -11
  859. package/dist/esm/calcite-table-cell_2.entry.js +12 -12
  860. package/dist/esm/calcite-table-row.entry.js +8 -8
  861. package/dist/esm/calcite-table.entry.js +11 -11
  862. package/dist/esm/calcite-text-area.entry.js +16 -16
  863. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  864. package/dist/esm/calcite-tile.entry.js +9 -9
  865. package/dist/esm/calcite-tip_3.entry.js +11 -11
  866. package/dist/esm/calcite-tooltip.entry.js +9 -9
  867. package/dist/esm/calcite-tree_2.entry.js +9 -9
  868. package/dist/esm/calcite-value-list_2.entry.js +17 -17
  869. package/dist/esm/calcite.js +6 -6
  870. package/dist/esm/{conditionalSlot-598d2a10.js → conditionalSlot-cce072a9.js} +3 -3
  871. package/dist/esm/{cs-d4396e66.js → cs-bbc91976.js} +17 -17
  872. package/dist/esm/{da-9afee29d.js → da-cf386629.js} +17 -17
  873. package/dist/esm/{de-7e0cfea4.js → de-05978c19.js} +17 -17
  874. package/dist/esm/{de-at-7750489c.js → de-at-26224d7a.js} +17 -17
  875. package/dist/esm/{de-ch-e8ade6bd.js → de-ch-33df0401.js} +17 -17
  876. package/dist/esm/{debounce-1d506949.js → debounce-74f8bbda.js} +1 -1
  877. package/dist/esm/{dom-86d1d306.js → dom-5be70645.js} +3 -3
  878. package/dist/esm/{el-93cde66a.js → el-4d1cc333.js} +17 -17
  879. package/dist/esm/{en-au-dc1fb699.js → en-au-151ec2c4.js} +17 -17
  880. package/dist/esm/{en-ca-a2feb51a.js → en-ca-e5f08c00.js} +17 -17
  881. package/dist/esm/{en-gb-0c3ba0b8.js → en-gb-8355e7dd.js} +17 -17
  882. package/dist/esm/{es-d1062882.js → es-82ac5d15.js} +17 -17
  883. package/dist/esm/{es-mx-ae231e5c.js → es-mx-77420e25.js} +17 -17
  884. package/dist/esm/{et-5a0e1e22.js → et-6ef80668.js} +17 -17
  885. package/dist/esm/{fi-5ec0d6f4.js → fi-2cbfb28a.js} +17 -17
  886. package/dist/esm/{filter-45645789.js → filter-bd1e7d00.js} +2 -2
  887. package/dist/esm/{floating-ui-8436145e.js → floating-ui-6c21bacc.js} +3 -3
  888. package/dist/esm/{focusTrapComponent-4542fa4e.js → focusTrapComponent-ab24c2c4.js} +2 -2
  889. package/dist/esm/{form-35975a6d.js → form-91d5efbc.js} +3 -3
  890. package/dist/esm/{fr-ch-fc670dad.js → fr-ch-b0ec270d.js} +17 -17
  891. package/dist/esm/{fr-a7335e87.js → fr-f8df1fbb.js} +17 -17
  892. package/dist/esm/{guid-39c3c100.js → guid-2bb3871a.js} +1 -1
  893. package/dist/esm/{he-5fd4f42e.js → he-c0643a3b.js} +17 -17
  894. package/dist/esm/{hi-e21a5801.js → hi-2dab9137.js} +17 -17
  895. package/dist/esm/{hr-1f7c73c3.js → hr-8bf7bfae.js} +17 -17
  896. package/dist/esm/{hu-c70b0ac7.js → hu-8188bd52.js} +17 -17
  897. package/dist/esm/{id-17b4523e.js → id-beca0b3a.js} +17 -17
  898. package/dist/esm/{index-076873a8.js → index-c3fbce88.js} +1 -1
  899. package/dist/esm/index.js +2 -2
  900. package/dist/esm/{interactive-bab5bdfd.js → interactive-189f9bf3.js} +2 -2
  901. package/dist/esm/{it-846ecbbb.js → it-8fea51cc.js} +17 -17
  902. package/dist/esm/{it-ch-a51d1840.js → it-ch-8dc159ed.js} +17 -17
  903. package/dist/esm/{ja-3d42cf3b.js → ja-1b1d84dd.js} +17 -17
  904. package/dist/esm/{key-c67d5809.js → key-bf48a440.js} +1 -1
  905. package/dist/esm/{ko-606eca1d.js → ko-bc9f51cd.js} +17 -17
  906. package/dist/esm/{label-7f0b95fb.js → label-ad101fad.js} +2 -2
  907. package/dist/esm/{loadable-185c3945.js → loadable-7d950f31.js} +2 -2
  908. package/dist/esm/loader.js +6 -6
  909. package/dist/esm/{locale-b0e55910.js → locale-e9747e3f.js} +4 -4
  910. package/dist/esm/{lt-6cc1c3fb.js → lt-a3aed9b0.js} +17 -17
  911. package/dist/esm/{lv-fe5b4414.js → lv-4863e082.js} +17 -17
  912. package/dist/esm/{math-ec63d34d.js → math-a9b9a7c5.js} +1 -1
  913. package/dist/esm/{mk-64c9a0c1.js → mk-3dc47ab4.js} +17 -17
  914. package/dist/esm/{nb-9534d3d9.js → nb-01855388.js} +17 -17
  915. package/dist/esm/{nl-76cec413.js → nl-45515e76.js} +17 -17
  916. package/dist/esm/{observers-8af482aa.js → observers-9cb41972.js} +1 -1
  917. package/dist/esm/{openCloseComponent-cfd85a9a.js → openCloseComponent-e49d5a69.js} +2 -2
  918. package/dist/esm/{pl-129c5fbc.js → pl-b7f87fda.js} +17 -17
  919. package/dist/esm/{pt-7ca34d79.js → pt-b41d1583.js} +17 -17
  920. package/dist/esm/{pt-br-d088344e.js → pt-br-2d98a586.js} +17 -17
  921. package/dist/esm/{resources-27bf9767.js → resources-3caa5205.js} +1 -1
  922. package/dist/esm/{resources-62e4fb51.js → resources-3eafdcc6.js} +1 -1
  923. package/dist/esm/{resources-9a30c5bb.js → resources-48774a93.js} +1 -1
  924. package/dist/esm/{resources-4cd5f6bd.js → resources-4f6dd419.js} +1 -1
  925. package/dist/esm/{resources-8168b87a.js → resources-5181d293.js} +5 -5
  926. package/dist/esm/{resources-972aa52c.js → resources-8532b757.js} +1 -1
  927. package/dist/esm/{resources-0f68f1f1.js → resources-dd64125d.js} +1 -1
  928. package/dist/esm/{ro-9e6ee065.js → ro-19cced92.js} +17 -17
  929. package/dist/esm/{ru-183c30ec.js → ru-f6740e42.js} +17 -17
  930. package/dist/esm/{sk-183e7e59.js → sk-89a43429.js} +17 -17
  931. package/dist/esm/{sl-ffd7fff9.js → sl-d223dff6.js} +17 -17
  932. package/dist/esm/{sortableComponent-32c76e0c.js → sortableComponent-cfb80460.js} +1 -1
  933. package/dist/esm/{sr-ac375b86.js → sr-989e1fdd.js} +17 -17
  934. package/dist/esm/{sv-fb6582e2.js → sv-5dfbc503.js} +17 -17
  935. package/dist/esm/{t9n-ea88db47.js → t9n-c9255e01.js} +3 -3
  936. package/dist/esm/{th-a8b17862.js → th-62c83704.js} +17 -17
  937. package/dist/esm/{throttle-6d7240c7.js → throttle-491930c4.js} +2 -2
  938. package/dist/esm/{tr-44eb8e5f.js → tr-0bb95277.js} +17 -17
  939. package/dist/esm/{uk-422cecec.js → uk-ad5bb66b.js} +17 -17
  940. package/dist/esm/{utils-7c100b64.js → utils-739400ae.js} +1 -1
  941. package/dist/esm/{utils-0f23a749.js → utils-a1aa8002.js} +3 -3
  942. package/dist/esm/{vi-69163bc4.js → vi-45f665fe.js} +17 -17
  943. package/dist/esm/{zh-cn-b7ac9b95.js → zh-cn-8f81b11c.js} +17 -17
  944. package/dist/esm/{zh-hk-bde8be6c.js → zh-hk-ca2d854e.js} +17 -17
  945. package/dist/esm/{zh-tw-f4348505.js → zh-tw-c0ceff70.js} +17 -17
  946. package/dist/extras/docs-json.json +6 -1
  947. package/dist/loader/cdn.js +1 -1
  948. package/dist/loader/index.cjs.js +1 -1
  949. package/dist/loader/index.es2017.js +1 -1
  950. package/dist/loader/index.js +1 -1
  951. package/dist/types/components/flow/interfaces.d.ts +2 -1
  952. package/dist/types/components/time-picker/resources.d.ts +1 -0
  953. package/dist/types/components/time-picker/time-picker.d.ts +15 -4
  954. package/hydrate/index.js +89 -24
  955. package/package.json +2 -2
  956. package/dist/calcite/p-1b48d57c.entry.js +0 -6
  957. package/dist/calcite/p-2a0386e0.entry.js +0 -6
  958. package/dist/calcite/p-2c24b0fd.entry.js +0 -6
  959. package/dist/calcite/p-2c49b01c.entry.js +0 -6
  960. package/dist/calcite/p-39b99550.js +0 -6
  961. package/dist/calcite/p-412d8163.entry.js +0 -6
  962. package/dist/calcite/p-4e6891f9.entry.js +0 -6
  963. package/dist/calcite/p-5dd9fe21.js +0 -6
  964. package/dist/calcite/p-6f8ab691.js +0 -6
  965. package/dist/calcite/p-93e09724.js +0 -6
  966. package/dist/calcite/p-ae1cb7c1.js +0 -6
  967. package/dist/calcite/p-be847d17.js +0 -6
  968. package/dist/calcite/p-d7c33448.entry.js +0 -6
  969. package/dist/calcite/p-ef659f94.entry.js +0 -6
  970. package/dist/calcite/p-f36629d7.js +0 -6
  971. package/dist/calcite/p-ffd35c5b.entry.js +0 -6
@@ -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.8.0-next.0
5
+ */
6
+ export{I as calcite_input_time_picker,T as calcite_time_picker}from"./p-913425b0.js";import"./p-185bc5dd.js";import"./p-d29bbe7d.js";import"./p-53f68583.js";import"./p-3b25f9af.js";import"./p-3b7d1d44.js";import"./p-e5fedd4b.js";import"./p-5aae88ad.js";import"./p-992d6edc.js";import"./p-7c57544a.js";import"./p-19980bcd.js";import"./p-81e1ef08.js";import"./p-a71d7284.js";import"./p-e5e22b57.js";import"./p-86d158a0.js";import"./p-6c9a6e69.js";
@@ -1,9 +1,9 @@
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.1-next.2
4
+ * v1.8.0-next.0
5
5
  */
6
- import{m as n,n as t,o as e,p as r,r as o,d as i,u}from"./p-ec54c252.js";
6
+ import{m as n,n as t,o as e,p as r,r as o,d as i,u}from"./p-53f68583.js";
7
7
  /*!
8
8
  * focus-trap 7.5.2
9
9
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
@@ -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.1-next.2
4
+ * v1.8.0-next.0
5
5
  */
6
- import{g as n}from"./p-8db9a211.js";const t=/firefox/i.test(n()),i=t?new WeakMap:null;function o(){const{disabled:n}=this;n||HTMLElement.prototype.click.call(this)}function e(n){const o=n.target;if(t&&!i.get(o))return;const{disabled:e}=o;e&&n.preventDefault()}const a=["mousedown","mouseup","click"];function c(n){if(t&&!i.get(n.target))return;const{disabled:o}=n.target;o&&(n.stopImmediatePropagation(),n.preventDefault())}const d={capture:!0};function u(n,t=!1){if(n.disabled)return n.el.setAttribute("tabindex","-1"),n.el.setAttribute("aria-disabled","true"),n.el.contains(document.activeElement)&&document.activeElement.blur(),void s(n);f(n),"function"==typeof t?n.el.setAttribute("tabindex",t.call(n)?"0":"-1"):!0===t?n.el.setAttribute("tabindex","0"):!1===t&&n.el.removeAttribute("tabindex"),n.el.removeAttribute("aria-disabled")}function s(n){var i;n.el.click=o,(i=t?r(n):n.el)&&(i.addEventListener("pointerdown",e,d),a.forEach((n=>i.addEventListener(n,c,d))))}function r(n){return i.get(n.el)}function f(n){var i;delete n.el.click,(i=t?r(n):n.el)&&(i.removeEventListener("pointerdown",e,d),a.forEach((n=>i.removeEventListener(n,c,d))))}function b(n){n.disabled&&t&&(i.set(n.el,n.el.parentElement||n.el),s(n))}function l(n){t&&(i.delete(n.el),f(n))}export{b as c,l as d,u}
6
+ import{g as n}from"./p-5aae88ad.js";const t=/firefox/i.test(n()),i=t?new WeakMap:null;function e(){const{disabled:n}=this;n||HTMLElement.prototype.click.call(this)}function o(n){const e=n.target;if(t&&!i.get(e))return;const{disabled:o}=e;o&&n.preventDefault()}const a=["mousedown","mouseup","click"];function c(n){if(t&&!i.get(n.target))return;const{disabled:e}=n.target;e&&(n.stopImmediatePropagation(),n.preventDefault())}const d={capture:!0};function u(n,t=!1){if(n.disabled)return n.el.setAttribute("tabindex","-1"),n.el.setAttribute("aria-disabled","true"),n.el.contains(document.activeElement)&&document.activeElement.blur(),void s(n);f(n),"function"==typeof t?n.el.setAttribute("tabindex",t.call(n)?"0":"-1"):!0===t?n.el.setAttribute("tabindex","0"):!1===t&&n.el.removeAttribute("tabindex"),n.el.removeAttribute("aria-disabled")}function s(n){var i;n.el.click=e,(i=t?r(n):n.el)&&(i.addEventListener("pointerdown",o,d),a.forEach((n=>i.addEventListener(n,c,d))))}function r(n){return i.get(n.el)}function f(n){var i;delete n.el.click,(i=t?r(n):n.el)&&(i.removeEventListener("pointerdown",o,d),a.forEach((n=>i.removeEventListener(n,c,d))))}function l(n){n.disabled&&t&&(i.set(n.el,n.el.parentElement||n.el),s(n))}function b(n){t&&(i.delete(n.el),f(n))}export{l as c,b as d,u}
@@ -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.8.0-next.0
5
+ */
6
+ import{r as t,c as i,h as e,H as s,a as o}from"./p-185bc5dd.js";import{q as n,i as a,y as r,t as l}from"./p-53f68583.js";import{c,b as h,a as d,r as p,F as f}from"./p-3924127c.js";import{g as u}from"./p-3b25f9af.js";import{o as m}from"./p-29a46f6c.js";import{F as g}from"./p-286bbc39.js";import"./p-3b7d1d44.js";import"./p-49c010d6.js";const v="aria-describedby";function b(t){const{referenceElement:i}=t;return("string"==typeof i?n(t,{id:i}):i)||null}const w=new class{constructor(){this.registeredElements=new WeakMap,this.registeredShadowRootCounts=new WeakMap,this.hoverOpenTimeout=null,this.hoverCloseTimeout=null,this.hoveredTooltip=null,this.clickedTooltip=null,this.activeTooltip=null,this.registeredElementCount=0,this.queryTooltip=t=>{const{registeredElements:i}=this,e=t.find((t=>i.has(t)));return i.get(e)},this.keyDownHandler=t=>{if("Escape"===t.key&&!t.defaultPrevented){const{activeTooltip:i}=this;if(i?.open){this.clearHoverTimeout(),this.closeActiveTooltip();const e=b(i);e instanceof Element&&e.contains(t.target)&&t.preventDefault()}}},this.pointerMoveHandler=t=>{const i=t.composedPath(),{activeTooltip:e}=this;if(e?.open&&i.includes(e))return void this.clearHoverTimeout();const s=this.queryTooltip(i);this.hoveredTooltip=s,this.isClosableClickedTooltip(s)||(this.clickedTooltip=null,s?this.openHoveredTooltip(s):e&&this.closeHoveredTooltip())},this.pointerDownHandler=t=>{if(!a(t))return;const i=this.queryTooltip(t.composedPath());this.clickedTooltip=i,i?.closeOnClick&&(this.toggleTooltip(i,!1),this.clearHoverTimeout())},this.focusInHandler=t=>{this.queryFocusedTooltip(t,!0)},this.focusOutHandler=t=>{this.queryFocusedTooltip(t,!1)},this.openHoveredTooltip=t=>{this.hoverOpenTimeout=window.setTimeout((()=>{null!==this.hoverOpenTimeout&&(this.clearHoverCloseTimeout(),this.activeTooltip!==this.hoveredTooltip&&(this.closeActiveTooltip(),t===this.hoveredTooltip&&this.toggleTooltip(t,!0)))}),this.activeTooltip?0:300)},this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout((()=>{null!==this.hoverCloseTimeout&&this.closeActiveTooltip()}),500)}}registerElement(t,i){this.registeredElementCount++,this.registeredElements.set(t,i);const e=this.getReferenceElShadowRootNode(t);e&&this.registerShadowRoot(e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){const i=this.getReferenceElShadowRootNode(t);i&&this.unregisterShadowRoot(i),this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addShadowListeners(t){t.addEventListener("focusin",this.focusInHandler,{capture:!0}),t.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeShadowListeners(t){t.removeEventListener("focusin",this.focusInHandler,{capture:!0}),t.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}addListeners(){document.addEventListener("keydown",this.keyDownHandler,{capture:!0}),document.addEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.addEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.addEventListener("focusin",this.focusInHandler,{capture:!0}),document.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeListeners(){document.removeEventListener("keydown",this.keyDownHandler,{capture:!0}),document.removeEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.removeEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.removeEventListener("focusin",this.focusInHandler,{capture:!0}),document.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout),this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout),this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout(),this.clearHoverCloseTimeout()}closeActiveTooltip(){const{activeTooltip:t}=this;t?.open&&this.toggleTooltip(t,!1)}toggleFocusedTooltip(t,i){this.closeActiveTooltip(),i&&this.clearHoverTimeout(),this.toggleTooltip(t,i)}toggleTooltip(t,i){t.open=i,this.activeTooltip=i?t:null}queryFocusedTooltip(t,i){const e=this.queryTooltip(t.composedPath());e&&!this.isClosableClickedTooltip(e)&&this.toggleFocusedTooltip(e,i)}isClosableClickedTooltip(t){return t?.closeOnClick&&t===this.clickedTooltip}registerShadowRoot(t){const{registeredShadowRootCounts:i}=this,e=(i.get(t)??0)+1;1===e&&this.addShadowListeners(t),i.set(t,e)}unregisterShadowRoot(t){const{registeredShadowRootCounts:i}=this,e=i.get(t)-1;0===e&&this.removeShadowListeners(t),i.set(t,e)}getReferenceElShadowRootNode(t){return t instanceof Element?r(t):null}},y=class{constructor(e){t(this,e),this.calciteTooltipBeforeClose=i(this,"calciteTooltipBeforeClose",6),this.calciteTooltipClose=i(this,"calciteTooltipClose",6),this.calciteTooltipBeforeOpen=i(this,"calciteTooltipBeforeOpen",6),this.calciteTooltipOpen=i(this,"calciteTooltipOpen",6),this.guid=`calcite-tooltip-${u()}`,this.hasLoaded=!1,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=b(this.el),c(this,this.effectiveReferenceElement,this.el);const{el:i,referenceElement:e,effectiveReferenceElement:s}=this;t&&e&&!s&&console.warn(`${i.tagName}: reference-element id "${e}" was not found.`,{el:i}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const i=this.getId();"setAttribute"in t&&t.setAttribute(v,i),w.registerElement(t,this.el)},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&t.removeAttribute(v),w.unregisterElement(t))},this.closeOnClick=!1,this.label=void 0,this.offsetDistance=h,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.effectiveReferenceElement=void 0,this.floatingLayout="vertical"}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(t){m(this),t&&this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setUpReferenceElement(this.hasLoaded),this.open&&m(this)}async componentWillLoad(){this.open&&m(this)}componentDidLoad(){this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(!0),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),d(this,this.effectiveReferenceElement,this.el)}async reposition(t=!1){const{el:i,effectiveReferenceElement:e,placement:s,overlayPositioning:o,offsetDistance:n,offsetSkidding:a,arrowEl:r}=this;return p(this,{floatingEl:i,referenceEl:e,overlayPositioning:o,placement:s,offsetDistance:n,offsetSkidding:a,arrowEl:r,type:"tooltip"},t)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit()}render(){const{effectiveReferenceElement:t,label:i,open:o,floatingLayout:n}=this,a=t&&o,r=!a;return e(s,{"aria-hidden":l(r),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":r,id:this.getId(),role:"tooltip"},e("div",{class:{[f.animation]:!0,[f.animationActive]:a},ref:this.setTransitionEl},e(g,{floatingLayout:n,ref:t=>this.arrowEl=t}),e("div",{class:"container"},e("slot",null))))}get el(){return o(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};y.style=":host{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, var(--calcite-app-z-index-tooltip));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}.container{position:relative;overflow:hidden;border-radius:0.25rem;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_tooltip}
@@ -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.1-next.2
4
+ * v1.8.0-next.0
5
5
  */
6
- import{d as _}from"./p-e4b69cd8.js";import"./p-1e2ba4bf.js";import"./p-e6017353.js";import"./p-ec54c252.js";import"./p-6d654c82.js";import"./p-4f0e68f6.js";import"./p-13c29de5.js";import"./p-8db9a211.js";import"./p-d5c1db84.js";import"./p-6b7921aa.js";import"./p-8f6fef56.js";import"./p-681ad15b.js";import"./p-cecee68f.js";import"./p-da08a08e.js";import"./p-d75bbbf9.js";import"./p-6d89139d.js";var m={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(_){return _},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"}};_.locale(m,null,!0);export default m;
6
+ import{d as _}from"./p-913425b0.js";import"./p-185bc5dd.js";import"./p-d29bbe7d.js";import"./p-53f68583.js";import"./p-3b25f9af.js";import"./p-3b7d1d44.js";import"./p-e5fedd4b.js";import"./p-5aae88ad.js";import"./p-992d6edc.js";import"./p-7c57544a.js";import"./p-19980bcd.js";import"./p-81e1ef08.js";import"./p-a71d7284.js";import"./p-e5e22b57.js";import"./p-86d158a0.js";import"./p-6c9a6e69.js";var m={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(_){return _},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"}};_.locale(m,null,!0);export default m;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.1-next.2
4
+ * v1.8.0-next.0
5
5
  */
6
- import{d as r}from"./p-e4b69cd8.js";import"./p-1e2ba4bf.js";import"./p-e6017353.js";import"./p-ec54c252.js";import"./p-6d654c82.js";import"./p-4f0e68f6.js";import"./p-13c29de5.js";import"./p-8db9a211.js";import"./p-d5c1db84.js";import"./p-6b7921aa.js";import"./p-8f6fef56.js";import"./p-681ad15b.js";import"./p-cecee68f.js";import"./p-da08a08e.js";import"./p-d75bbbf9.js";import"./p-6d89139d.js";var e={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(r){return r+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(r,e,t,n){return"néhány másodperc"+(n||e?"":"e")},m:function(r,e,t,n){return"egy perc"+(n||e?"":"e")},mm:function(r,e,t,n){return r+" perc"+(n||e?"":"e")},h:function(r,e,t,n){return"egy "+(n||e?"óra":"órája")},hh:function(r,e,t,n){return r+" "+(n||e?"óra":"órája")},d:function(r,e,t,n){return"egy "+(n||e?"nap":"napja")},dd:function(r,e,t,n){return r+" "+(n||e?"nap":"napja")},M:function(r,e,t,n){return"egy "+(n||e?"hónap":"hónapja")},MM:function(r,e,t,n){return r+" "+(n||e?"hónap":"hónapja")},y:function(r,e,t,n){return"egy "+(n||e?"év":"éve")},yy:function(r,e,t,n){return r+" "+(n||e?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};r.locale(e,null,!0);export default e;
6
+ import{d as r}from"./p-913425b0.js";import"./p-185bc5dd.js";import"./p-d29bbe7d.js";import"./p-53f68583.js";import"./p-3b25f9af.js";import"./p-3b7d1d44.js";import"./p-e5fedd4b.js";import"./p-5aae88ad.js";import"./p-992d6edc.js";import"./p-7c57544a.js";import"./p-19980bcd.js";import"./p-81e1ef08.js";import"./p-a71d7284.js";import"./p-e5e22b57.js";import"./p-86d158a0.js";import"./p-6c9a6e69.js";var e={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(r){return r+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(r,e,t,n){return"néhány másodperc"+(n||e?"":"e")},m:function(r,e,t,n){return"egy perc"+(n||e?"":"e")},mm:function(r,e,t,n){return r+" perc"+(n||e?"":"e")},h:function(r,e,t,n){return"egy "+(n||e?"óra":"órája")},hh:function(r,e,t,n){return r+" "+(n||e?"óra":"órája")},d:function(r,e,t,n){return"egy "+(n||e?"nap":"napja")},dd:function(r,e,t,n){return r+" "+(n||e?"nap":"napja")},M:function(r,e,t,n){return"egy "+(n||e?"hónap":"hónapja")},MM:function(r,e,t,n){return r+" "+(n||e?"hónap":"hónapja")},y:function(r,e,t,n){return"egy "+(n||e?"év":"éve")},yy:function(r,e,t,n){return r+" "+(n||e?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};r.locale(e,null,!0);export default e;
@@ -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.1-next.2
4
+ * v1.8.0-next.0
5
5
  */
6
- import{r as e,c as t,f as i,h as s,H as a,a as o}from"./p-1e2ba4bf.js";import{f as n,c as r,b as l,a as c,r as h,F as d}from"./p-124cacfb.js";import{d as f,a as p,c as m,u}from"./p-da08a08e.js";import{i as g,t as v,f as b,q as w}from"./p-ec54c252.js";import{g as y}from"./p-6d654c82.js";import{o as x}from"./p-99837287.js";import{H as k}from"./p-6f8ab691.js";import{c as E,d as z}from"./p-681ad15b.js";import{u as H,c as j,s as P,d as D}from"./p-6d89139d.js";import{i as C}from"./p-d5c1db84.js";import{s as L,a as F,c as O}from"./p-8f6fef56.js";import{c as R}from"./p-cecee68f.js";import{F as A}from"./p-93e09724.js";import"./p-c21c35f7.js";import"./p-4f0e68f6.js";const B="close-button-container",S="header",T="aria-controls",M="aria-expanded",$=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=e=>{const{registeredElements:t}=this,i=e.find((e=>t.has(e)));return t.get(i)},this.togglePopovers=e=>{const t=e.composedPath(),i=this.queryPopover(t);i&&!i.triggerDisabled&&(i.open=!i.open),Array.from(this.registeredElements.values()).filter((e=>e!==i&&e.autoClose&&e.open&&!t.includes(e))).forEach((e=>e.open=!1))},this.keyHandler=e=>{e.defaultPrevented||("Escape"===e.key?this.closeAllPopovers():C(e.key)&&this.togglePopovers(e))},this.clickHandler=e=>{g(e)&&this.togglePopovers(e)}}registerElement(e,t){this.registeredElementCount++,this.registeredElements.set(e,t),1===this.registeredElementCount&&this.addListeners()}unregisterElement(e){this.registeredElements.delete(e)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}closeAllPopovers(){Array.from(this.registeredElements.values()).forEach((e=>e.open=!1))}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},_=class{constructor(i){e(this,i),this.calcitePopoverBeforeClose=t(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=t(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=t(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=t(this,"calcitePopoverOpen",6),this.mutationObserver=R("mutation",(()=>this.updateFocusTrapElements())),this.guid=`calcite-popover-${y()}`,this.openTransitionProp="opacity",this.hasLoaded=!1,this.setTransitionEl=e=>{this.transitionEl=e},this.setFilteredPlacements=()=>{const{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?n(t,e):null},this.setUpReferenceElement=(e=!0)=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),r(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:i,effectiveReferenceElement:s}=this;e&&i&&!s&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:e,open:t}=this;e&&"setAttribute"in e&&e.setAttribute(M,v(t))},this.addReferences=()=>{const{effectiveReferenceElement:e}=this;if(!e)return;const t=this.getId();"setAttribute"in e&&e.setAttribute(T,t),$.registerElement(e,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:e}=this;e&&("removeAttribute"in e&&(e.removeAttribute(T),e.removeAttribute(M)),$.unregisterElement(e))},this.hide=()=>{this.open=!1},this.storeArrowEl=e=>{this.arrowEl=e,this.reposition(!0)},this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.pointerDisabled=!1,this.flipPlacements=void 0,this.heading=void 0,this.headingLevel=void 0,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.offsetDistance=l,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.scale="m",this.triggerDisabled=!1,this.effectiveLocale="",this.floatingLayout="vertical",this.effectiveReferenceElement=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(e){this.open&&(e?f(this):p(this))}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(e){x(this),e&&this.reposition(!0),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement(),this.reposition(!0)}effectiveLocaleChange(){H(this,this.effectiveLocale)}connectedCallback(){this.setFilteredPlacements(),E(this),j(this),this.setUpReferenceElement(this.hasLoaded),m(this),this.open&&x(this)}async componentWillLoad(){await P(this),L(this)}componentDidLoad(){F(this),this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),z(this),D(this),c(this,this.effectiveReferenceElement,this.el),f(this)}async reposition(e=!1){const{el:t,effectiveReferenceElement:i,placement:s,overlayPositioning:a,flipDisabled:o,filteredFlipPlacements:n,offsetDistance:r,offsetSkidding:l,arrowEl:c}=this;return h(this,{floatingEl:t,referenceEl:i,overlayPositioning:a,placement:s,flipDisabled:o,flipPlacements:n,offsetDistance:r,offsetSkidding:l,arrowEl:c,type:"popover"},e)}async setFocus(){await O(this),i(this.el),b(this.el)}async updateFocusTrapElements(){u(this)}getReferenceElement(){const{referenceElement:e,el:t}=this;return("string"==typeof e?w(t,{id:e}):e)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit(),p(this)}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),f(this)}renderCloseButton(){const{messages:e,closable:t}=this;return t?s("div",{class:B,key:B},s("calcite-action",{appearance:"transparent",class:"close-button",onClick:this.hide,scale:this.scale,text:e.close,ref:e=>this.closeButtonEl=e},s("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":this.scale}))):null}renderHeader(){const{heading:e,headingLevel:t}=this,i=e?s(k,{class:"heading",level:t},e):null;return i?s("div",{class:S,key:S},i,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:e,heading:t,label:i,open:o,pointerDisabled:n,floatingLayout:r}=this,l=e&&o,c=!l,h=n?null:s(A,{floatingLayout:r,key:"floating-arrow",ref:this.storeArrowEl});return s(a,{"aria-hidden":v(c),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":c,id:this.getId(),role:"dialog"},s("div",{class:{[d.animation]:!0,[d.animationActive]:l},ref:this.setTransitionEl},h,s("div",{class:{"has-header":!!t,container:!0}},this.renderHeader(),s("div",{class:"content"},s("slot",null)),t?null:this.renderCloseButton())))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"],effectiveLocale:["effectiveLocaleChange"]}}};_.style=":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, var(--calcite-app-z-index-popup));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}:host([scale=s]) .heading{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding-inline:1.25rem;padding-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;color:var(--calcite-ui-text-1)}.container.has-header{flex-direction:column}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}:host([hidden]){display:none}[hidden]{display:none}";export{_ as calcite_popover}
6
+ import{r as e,c as t,f as i,h as s,H as a,a as o}from"./p-185bc5dd.js";import{f as n,c as r,b as l,a as c,r as h,F as d}from"./p-3924127c.js";import{d as p,a as f,c as m,u}from"./p-e5e22b57.js";import{i as g,t as v,f as b,q as w}from"./p-53f68583.js";import{g as y}from"./p-3b25f9af.js";import{o as x}from"./p-29a46f6c.js";import{H as k}from"./p-1b8ea41d.js";import{c as E,d as z}from"./p-81e1ef08.js";import{u as H,c as j,s as P,d as D}from"./p-6c9a6e69.js";import{i as C}from"./p-992d6edc.js";import{s as L,a as F,c as O}from"./p-19980bcd.js";import{c as R}from"./p-a71d7284.js";import{F as A}from"./p-286bbc39.js";import"./p-49c010d6.js";import"./p-3b7d1d44.js";const B="close-button-container",S="header",T="aria-controls",M="aria-expanded",$=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=e=>{const{registeredElements:t}=this,i=e.find((e=>t.has(e)));return t.get(i)},this.togglePopovers=e=>{const t=e.composedPath(),i=this.queryPopover(t);i&&!i.triggerDisabled&&(i.open=!i.open),Array.from(this.registeredElements.values()).filter((e=>e!==i&&e.autoClose&&e.open&&!t.includes(e))).forEach((e=>e.open=!1))},this.keyHandler=e=>{e.defaultPrevented||("Escape"===e.key?this.closeAllPopovers():C(e.key)&&this.togglePopovers(e))},this.clickHandler=e=>{g(e)&&this.togglePopovers(e)}}registerElement(e,t){this.registeredElementCount++,this.registeredElements.set(e,t),1===this.registeredElementCount&&this.addListeners()}unregisterElement(e){this.registeredElements.delete(e)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}closeAllPopovers(){Array.from(this.registeredElements.values()).forEach((e=>e.open=!1))}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},_=class{constructor(i){e(this,i),this.calcitePopoverBeforeClose=t(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=t(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=t(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=t(this,"calcitePopoverOpen",6),this.mutationObserver=R("mutation",(()=>this.updateFocusTrapElements())),this.guid=`calcite-popover-${y()}`,this.openTransitionProp="opacity",this.hasLoaded=!1,this.setTransitionEl=e=>{this.transitionEl=e},this.setFilteredPlacements=()=>{const{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?n(t,e):null},this.setUpReferenceElement=(e=!0)=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),r(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:i,effectiveReferenceElement:s}=this;e&&i&&!s&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:e,open:t}=this;e&&"setAttribute"in e&&e.setAttribute(M,v(t))},this.addReferences=()=>{const{effectiveReferenceElement:e}=this;if(!e)return;const t=this.getId();"setAttribute"in e&&e.setAttribute(T,t),$.registerElement(e,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:e}=this;e&&("removeAttribute"in e&&(e.removeAttribute(T),e.removeAttribute(M)),$.unregisterElement(e))},this.hide=()=>{this.open=!1},this.storeArrowEl=e=>{this.arrowEl=e,this.reposition(!0)},this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.pointerDisabled=!1,this.flipPlacements=void 0,this.heading=void 0,this.headingLevel=void 0,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.offsetDistance=l,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.scale="m",this.triggerDisabled=!1,this.effectiveLocale="",this.floatingLayout="vertical",this.effectiveReferenceElement=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(e){this.open&&(e?p(this):f(this))}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(e){x(this),e&&this.reposition(!0),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement(),this.reposition(!0)}effectiveLocaleChange(){H(this,this.effectiveLocale)}connectedCallback(){this.setFilteredPlacements(),E(this),j(this),this.setUpReferenceElement(this.hasLoaded),m(this),this.open&&x(this)}async componentWillLoad(){await P(this),L(this)}componentDidLoad(){F(this),this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),z(this),D(this),c(this,this.effectiveReferenceElement,this.el),p(this)}async reposition(e=!1){const{el:t,effectiveReferenceElement:i,placement:s,overlayPositioning:a,flipDisabled:o,filteredFlipPlacements:n,offsetDistance:r,offsetSkidding:l,arrowEl:c}=this;return h(this,{floatingEl:t,referenceEl:i,overlayPositioning:a,placement:s,flipDisabled:o,flipPlacements:n,offsetDistance:r,offsetSkidding:l,arrowEl:c,type:"popover"},e)}async setFocus(){await O(this),i(this.el),b(this.el)}async updateFocusTrapElements(){u(this)}getReferenceElement(){const{referenceElement:e,el:t}=this;return("string"==typeof e?w(t,{id:e}):e)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit(),f(this)}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),p(this)}renderCloseButton(){const{messages:e,closable:t}=this;return t?s("div",{class:B,key:B},s("calcite-action",{appearance:"transparent",class:"close-button",onClick:this.hide,scale:this.scale,text:e.close,ref:e=>this.closeButtonEl=e},s("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":this.scale}))):null}renderHeader(){const{heading:e,headingLevel:t}=this,i=e?s(k,{class:"heading",level:t},e):null;return i?s("div",{class:S,key:S},i,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:e,heading:t,label:i,open:o,pointerDisabled:n,floatingLayout:r}=this,l=e&&o,c=!l,h=n?null:s(A,{floatingLayout:r,key:"floating-arrow",ref:this.storeArrowEl});return s(a,{"aria-hidden":v(c),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":c,id:this.getId(),role:"dialog"},s("div",{class:{[d.animation]:!0,[d.animationActive]:l},ref:this.setTransitionEl},h,s("div",{class:{"has-header":!!t,container:!0}},this.renderHeader(),s("div",{class:"content"},s("slot",null)),t?null:this.renderCloseButton())))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"],effectiveLocale:["effectiveLocaleChange"]}}};_.style=":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, var(--calcite-app-z-index-popup));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}:host([scale=s]) .heading{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding-inline:1.25rem;padding-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;color:var(--calcite-ui-text-1)}.container.has-header{flex-direction:column}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}:host([hidden]){display:none}[hidden]{display:none}";export{_ as calcite_popover}
@@ -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.1-next.2
4
+ * v1.8.0-next.0
5
5
  */
6
- import{r as e,c as i,h as t,H as a,a as n}from"./p-1e2ba4bf.js";import{c as o,d as s}from"./p-f36629d7.js";import{f as c,h as r,t as l,g as d}from"./p-ec54c252.js";import{c as h,d as g,u}from"./p-13c29de5.js";import{c as p,d as m}from"./p-681ad15b.js";import{u as f,c as b,d as v,s as x}from"./p-6d89139d.js";import{H as w}from"./p-6f8ab691.js";import{c as k,s as y,a as z}from"./p-8f6fef56.js";import{i as C}from"./p-d5c1db84.js";import"./p-cecee68f.js";import"./p-6d654c82.js";import"./p-4f0e68f6.js";import"./p-8db9a211.js";const j="content",_="toggle",L="header",D="icon",I="icon",M="control",q="header-menu-actions",O={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},S=class{constructor(t){e(this,t),this.calciteBlockToggle=i(this,"calciteBlockToggle",6),this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()},this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.open=!1,this.status=void 0,this.description=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}async setFocus(){await k(this),c(this.el)}effectiveLocaleChange(){f(this,this.effectiveLocale)}connectedCallback(){o(this),h(this),p(this),b(this)}disconnectedCallback(){g(this),m(this),v(this),s(this)}async componentWillLoad(){await x(this),y(this)}componentDidLoad(){z(this)}componentDidRender(){u(this)}renderScrim(){const{loading:e}=this,i=t("slot",null);return[e?t("calcite-scrim",{loading:e}):null,i]}renderIcon(){const{loading:e,messages:i,status:a}=this,n=!!r(this.el,I);return e?t("div",{class:D,key:"loader"},t("calcite-loader",{inline:!0,label:i.loading})):a?t("div",{class:D,key:"status-icon"},t("calcite-icon",{class:{"status-icon":!0,valid:"valid"==a,invalid:"invalid"==a},icon:O[a],scale:"s"})):n?t("div",{class:D,key:"icon-slot"},t("slot",{key:"icon-slot",name:I})):null}renderTitle(){const{heading:e,headingLevel:i,description:a}=this;return e||a?t("div",{class:"title"},t(w,{class:"heading",level:i},e),a?t("div",{class:"description"},a):null):null}render(){const{collapsible:e,el:i,loading:n,open:o,messages:s}=this,c=o?s.collapse:s.expand,d=t("header",{class:"header",id:L},this.renderIcon(),this.renderTitle()),h=!!r(i,M),g=!!r(i,q),u=o?O.opened:O.closed,p=t("div",{class:"header-container"},this.dragHandle?t("calcite-handle",null):null,e?t("button",{"aria-controls":j,"aria-describedby":L,"aria-expanded":e?l(o):null,class:"toggle",id:_,onClick:this.onHeaderClick,title:c},d,h||g?null:t("calcite-icon",{"aria-hidden":"true",class:"toggle-icon",icon:u,scale:"s"})):d,h?t("div",{class:"control-container"},t("slot",{name:M})):null,g?t("calcite-action-menu",{label:s.options},t("slot",{name:q})):null);return t(a,null,t("article",{"aria-busy":l(n),class:{container:!0}},p,t("section",{"aria-labelledby":_,class:"content",hidden:!o,id:j},this.renderScrim())))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};S.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{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle: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 )}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}.icon{display:flex;margin-inline-start:0.75rem;margin-inline-end:0px}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.toggle-icon{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}.control-container{margin:0px;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([hidden]){display:none}[hidden]{display:none}';const T="content",B="toggle",F="toggle",H={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"},R=class{constructor(t){e(this,t),this.calciteBlockSectionToggle=i(this,"calciteBlockSectionToggle",6),this.handleHeaderKeyDown=e=>{C(e.key)&&(this.toggleSection(),e.preventDefault(),e.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()},this.open=!1,this.status=void 0,this.text=void 0,this.toggleDisplay="button",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}async setFocus(){await k(this),c(this.el)}effectiveLocaleChange(){f(this,this.effectiveLocale)}connectedCallback(){p(this),b(this)}async componentWillLoad(){await x(this),y(this)}componentDidLoad(){z(this)}disconnectedCallback(){m(this),v(this)}renderStatusIcon(){const{status:e}=this,i=H[e]??!1;return i?t("calcite-icon",{class:{"status-icon":!0,valid:"valid"==e,invalid:"invalid"==e},icon:i,scale:"s"}):null}render(){const{el:e,messages:i,open:n,text:o,toggleDisplay:s}=this,c=d(e),r=n?H.menuOpen:"rtl"===c?H.menuClosedLeft:H.menuClosedRight,h=n?i.collapse:i.expand,g="switch"===s?t("div",{class:{"toggle--switch-container":!0}},t("div",{"aria-controls":T,"aria-expanded":l(n),class:{[F]:!0,"toggle--switch":!0},id:B,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,role:"button",tabIndex:0,title:h},t("div",{class:"toggle--switch__content"},t("span",{class:"toggle--switch__text"},o)),this.renderStatusIcon()),t("calcite-label",{class:"focus-guard",layout:"inline",tabIndex:-1},t("calcite-switch",{checked:n,label:h,scale:"s"}))):t("button",{"aria-controls":T,"aria-expanded":l(n),class:{"section-header":!0,[F]:!0},id:B,onClick:this.toggleSection},t("calcite-icon",{icon:r,scale:"s"}),t("span",{class:"section-header__text"},o),this.renderStatusIcon());return t(a,null,g,t("section",{"aria-labelledby":B,class:"content",hidden:!n,id:T},t("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};R.style=":host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host([open]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}.toggle--switch,.section-header{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{align-self:flex-end}.section-header__text{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch-container{position:relative;display:flex;inline-size:100%;align-items:center;background-color:transparent}.toggle--switch-container .focus-guard{--calcite-label-margin-bottom:0;pointer-events:none;position:absolute;inset-inline-end:0;margin-inline-start:0.25rem}.toggle--switch .status-icon{margin-inline-start:0.5rem}.toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}:host([hidden]){display:none}[hidden]{display:none}";export{S as calcite_block,R as calcite_block_section}
6
+ import{r as e,c as i,h as t,H as a,a as n}from"./p-185bc5dd.js";import{c as o,d as s}from"./p-4354e9d4.js";import{f as c,h as r,t as l,g as d}from"./p-53f68583.js";import{c as h,d as g,u}from"./p-e5fedd4b.js";import{c as p,d as m}from"./p-81e1ef08.js";import{u as f,c as b,d as v,s as x}from"./p-6c9a6e69.js";import{H as w}from"./p-1b8ea41d.js";import{c as k,s as y,a as z}from"./p-19980bcd.js";import{i as C}from"./p-992d6edc.js";import"./p-a71d7284.js";import"./p-3b25f9af.js";import"./p-3b7d1d44.js";import"./p-5aae88ad.js";const j="content",_="toggle",L="header",D="icon",I="icon",M="control",q="header-menu-actions",O={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},S=class{constructor(t){e(this,t),this.calciteBlockToggle=i(this,"calciteBlockToggle",6),this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()},this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.open=!1,this.status=void 0,this.description=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}async setFocus(){await k(this),c(this.el)}effectiveLocaleChange(){f(this,this.effectiveLocale)}connectedCallback(){o(this),h(this),p(this),b(this)}disconnectedCallback(){g(this),m(this),v(this),s(this)}async componentWillLoad(){await x(this),y(this)}componentDidLoad(){z(this)}componentDidRender(){u(this)}renderScrim(){const{loading:e}=this,i=t("slot",null);return[e?t("calcite-scrim",{loading:e}):null,i]}renderIcon(){const{loading:e,messages:i,status:a}=this,n=!!r(this.el,I);return e?t("div",{class:D,key:"loader"},t("calcite-loader",{inline:!0,label:i.loading})):a?t("div",{class:D,key:"status-icon"},t("calcite-icon",{class:{"status-icon":!0,valid:"valid"==a,invalid:"invalid"==a},icon:O[a],scale:"s"})):n?t("div",{class:D,key:"icon-slot"},t("slot",{key:"icon-slot",name:I})):null}renderTitle(){const{heading:e,headingLevel:i,description:a}=this;return e||a?t("div",{class:"title"},t(w,{class:"heading",level:i},e),a?t("div",{class:"description"},a):null):null}render(){const{collapsible:e,el:i,loading:n,open:o,messages:s}=this,c=o?s.collapse:s.expand,d=t("header",{class:"header",id:L},this.renderIcon(),this.renderTitle()),h=!!r(i,M),g=!!r(i,q),u=o?O.opened:O.closed,p=t("div",{class:"header-container"},this.dragHandle?t("calcite-handle",null):null,e?t("button",{"aria-controls":j,"aria-describedby":L,"aria-expanded":e?l(o):null,class:"toggle",id:_,onClick:this.onHeaderClick,title:c},d,h||g?null:t("calcite-icon",{"aria-hidden":"true",class:"toggle-icon",icon:u,scale:"s"})):d,h?t("div",{class:"control-container"},t("slot",{name:M})):null,g?t("calcite-action-menu",{label:s.options},t("slot",{name:q})):null);return t(a,null,t("article",{"aria-busy":l(n),class:{container:!0}},p,t("section",{"aria-labelledby":_,class:"content",hidden:!o,id:j},this.renderScrim())))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};S.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{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle: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 )}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}.icon{display:flex;margin-inline-start:0.75rem;margin-inline-end:0px}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.toggle-icon{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}.control-container{margin:0px;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([hidden]){display:none}[hidden]{display:none}';const T="content",B="toggle",F="toggle",H={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"},R=class{constructor(t){e(this,t),this.calciteBlockSectionToggle=i(this,"calciteBlockSectionToggle",6),this.handleHeaderKeyDown=e=>{C(e.key)&&(this.toggleSection(),e.preventDefault(),e.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()},this.open=!1,this.status=void 0,this.text=void 0,this.toggleDisplay="button",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}async setFocus(){await k(this),c(this.el)}effectiveLocaleChange(){f(this,this.effectiveLocale)}connectedCallback(){p(this),b(this)}async componentWillLoad(){await x(this),y(this)}componentDidLoad(){z(this)}disconnectedCallback(){m(this),v(this)}renderStatusIcon(){const{status:e}=this,i=H[e]??!1;return i?t("calcite-icon",{class:{"status-icon":!0,valid:"valid"==e,invalid:"invalid"==e},icon:i,scale:"s"}):null}render(){const{el:e,messages:i,open:n,text:o,toggleDisplay:s}=this,c=d(e),r=n?H.menuOpen:"rtl"===c?H.menuClosedLeft:H.menuClosedRight,h=n?i.collapse:i.expand,g="switch"===s?t("div",{class:{"toggle--switch-container":!0}},t("div",{"aria-controls":T,"aria-expanded":l(n),class:{[F]:!0,"toggle--switch":!0},id:B,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,role:"button",tabIndex:0,title:h},t("div",{class:"toggle--switch__content"},t("span",{class:"toggle--switch__text"},o)),this.renderStatusIcon()),t("calcite-label",{class:"focus-guard",layout:"inline",tabIndex:-1},t("calcite-switch",{checked:n,label:h,scale:"s"}))):t("button",{"aria-controls":T,"aria-expanded":l(n),class:{"section-header":!0,[F]:!0},id:B,onClick:this.toggleSection},t("calcite-icon",{icon:r,scale:"s"}),t("span",{class:"section-header__text"},o),this.renderStatusIcon());return t(a,null,g,t("section",{"aria-labelledby":B,class:"content",hidden:!n,id:T},t("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};R.style=":host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host([open]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}.toggle--switch,.section-header{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{align-self:flex-end}.section-header__text{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch-container{position:relative;display:flex;inline-size:100%;align-items:center;background-color:transparent}.toggle--switch-container .focus-guard{--calcite-label-margin-bottom:0;pointer-events:none;position:absolute;inset-inline-end:0;margin-inline-start:0.25rem}.toggle--switch .status-icon{margin-inline-start:0.5rem}.toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}:host([hidden]){display:none}[hidden]{display:none}";export{S as calcite_block,R as calcite_block_section}
@@ -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.1-next.2
4
+ * v1.8.0-next.0
5
5
  */
6
- import{g as t}from"./p-97c37a2f.js";import{d as i,h as s,t as n}from"./p-ec54c252.js";import{d as e}from"./p-c21c35f7.js";import{h as a,H as o}from"./p-1e2ba4bf.js";const c={heading:"heading",container:"container",indented:"container--indented"},r={parentItem:"parent-item"};function l(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const h=["ArrowUp","ArrowDown"];function u(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=e(F.bind(this),0),this.emitCalciteListFilter=e(A.bind(this),0)}function f(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}function d(){this.mutationObserver?.disconnect()}function m(t){const{selectedValues:s}=this,{item:n,value:e,selected:a,shiftPressed:o}=t.detail;a?(this.multiple&&o&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),s.set(e,n)):(s.delete(e),this.multiple&&o&&this.selectSiblings(n,!0)),this.multiple||(y(n,a),a&&i(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function p(t){const i=t.detail.oldValue,s=this.selectedValues;if(s.has(i)){const n=s.get(i);s.delete(i),s.set(t.detail.newValue,n)}t.stopPropagation()}function v(t){const{el:i,items:s,multiple:n,selectedValues:e}=this;n||i.contains(t.relatedTarget)||x(s).forEach((i=>{y(i,0===e.size?i.contains(t.target)||t.target===i:i.selected)}))}function g(t){const{key:s,target:n}=t;if(!function(t){return!!h.find((i=>i===t))}(s))return;const{items:e,multiple:a,selectionFollowsFocus:o}=this,{length:c}=e,r=e.indexOf(n);if(!c||-1===r)return;t.preventDefault();const l=e[b(this,n,"ArrowUp"===s?"up":"down")];e.forEach((t=>y(t,t===l))),!a&&o&&(l.selected=!0),i(l)}function b(i,s,n){const{items:e}=i,{length:a}=e,o=e.indexOf(s),c="up"===n?-1:1;let r=1,l=t(o+c*r++,a);const h=l;for(;e[l].disabled&&(l=t(o+c*r++,a),l!==h););return l}function w(t,i){const{items:s}=t;return s.indexOf(i)}function x(t){return t.filter((t=>!t.disabled))}function A(){this.calciteListFilter.emit()}function F(){this.calciteListChange.emit(this.selectedValues)}function E(t){if(t.defaultPrevented)return;const i=t.target,s=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===i.parentElement.tagName&&i.slot===r.parentItem?(i.parentElement.remove(),Array.from(i.parentElement.children).forEach((t=>s.delete(t.value)))):(i.remove(),s.delete(i.value)),this.emitCalciteListChange()}function y(t,i){t.disabled||(i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function C(t){if(this.filterEnabled&&"filter"===t)return void await i(this.filterEl);const{items:s,multiple:n,selectionFollowsFocus:e}=this;if(0===s.length)return;if(n)return x(s)[0]?.setFocus();const a=x(s),o=a.find((t=>t.selected))||a[0];return e&&o&&(o.selected=!0),o.setFocus()}function k(t){this.items=Array.from(this.el.querySelectorAll(t));let i=!1;const{items:s}=this;s.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.deselectDisabled=!0,y(t,!1)),t.selected&&(i=!0,y(t,!0),this.selectedValues.set(t.value,t))}));const[n]=s;i||!n||n.disabled||y(n,!0)}function I(){const t=this.selectedValues,i=this.items.map((({value:t})=>t));t.forEach((t=>{i.includes(t.value)||this.selectedValues.delete(t.value)}))}function j(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function S(t,i=!1){if(!this.lastSelectedItem)return;const{items:s}=this,n=s.findIndex((t=>t.value===this.lastSelectedItem.value)),e=s.findIndex((i=>i.value===t.value));s.slice(Math.min(n,e),Math.max(n,e)).forEach((t=>{t.toggleSelected(!i),i?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let L;function P(t=!1){const{filteredData:i,filterText:n}=this,e=i.map((t=>t.value));let a=!1;L||(L=new Set);const o=this.items?.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&L.add(i);const s=!n||e.includes(t.value);return t.hidden=!s,a||(a=s&&t.selected),s}))||[];L.forEach((t=>{const i=o.some((i=>t.contains(i)));if(t.hidden=!i,!i)return;const n=s(t,"parent-item");n&&(n.hidden=!1,o.includes(n)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),L.clear(),o.length>0&&!a&&!this.multiple&&y(o[0],!0),this.setFilteredItems(o),t&&this.emitCalciteListFilter()}function T(){const t=this.filterEl?.filteredItems;t&&(this.filteredData=t),this.handleFilter()}function D(t){t.stopPropagation();const{filteredItems:i,value:s}=t.currentTarget;this.filterText=s,this.filteredData=i,this.handleFilter(!0)}function U(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var q;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(q||(q={}));const M=({props:{disabled:t,loading:i,filterEnabled:s,dataForFilter:e,handleFilterEvent:c,filterPlaceholder:r,filterText:l,setFilterEl:h,dragEnabled:u,storeAssistiveEl:f},...d})=>{const m=a("slot",null);return a(o,{"aria-busy":n(i),role:"menu",...d},a("section",null,u?a("span",{"aria-live":"assertive",class:"assistive-text",ref:f}):null,a("header",{class:{"sticky-pos":!0}},s?a("calcite-filter",{"aria-label":r,disabled:i||t,items:e,onCalciteFilterChange:c,placeholder:r,value:l,ref:h}):null,a("slot",{name:"menu-actions"})),i?a("calcite-scrim",{loading:i}):null,m))},V={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},G={checked:"check",remove:"x"},H={actionsEnd:"actions-end",actionsStart:"actions-start"};export{V as C,q as I,M as L,H as S,j as a,D as b,U as c,I as d,b as e,f,w as g,P as h,u as i,T as j,g as k,d as l,l as m,v as n,m as o,p,k as q,E as r,S as s,C as t,r as u,c as v,G as w}
6
+ import{g as t}from"./p-26a607bc.js";import{d as i,h as s,t as n}from"./p-53f68583.js";import{d as e}from"./p-49c010d6.js";import{h as a,H as o}from"./p-185bc5dd.js";const c={heading:"heading",container:"container",indented:"container--indented"},r={parentItem:"parent-item"};function l(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const h=["ArrowUp","ArrowDown"];function u(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=e(F.bind(this),0),this.emitCalciteListFilter=e(A.bind(this),0)}function d(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}function f(){this.mutationObserver?.disconnect()}function m(t){const{selectedValues:s}=this,{item:n,value:e,selected:a,shiftPressed:o}=t.detail;a?(this.multiple&&o&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),s.set(e,n)):(s.delete(e),this.multiple&&o&&this.selectSiblings(n,!0)),this.multiple||(y(n,a),a&&i(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function p(t){const i=t.detail.oldValue,s=this.selectedValues;if(s.has(i)){const n=s.get(i);s.delete(i),s.set(t.detail.newValue,n)}t.stopPropagation()}function v(t){const{el:i,items:s,multiple:n,selectedValues:e}=this;n||i.contains(t.relatedTarget)||x(s).forEach((i=>{y(i,0===e.size?i.contains(t.target)||t.target===i:i.selected)}))}function g(t){const{key:s,target:n}=t;if(!function(t){return!!h.find((i=>i===t))}(s))return;const{items:e,multiple:a,selectionFollowsFocus:o}=this,{length:c}=e,r=e.indexOf(n);if(!c||-1===r)return;t.preventDefault();const l=e[b(this,n,"ArrowUp"===s?"up":"down")];e.forEach((t=>y(t,t===l))),!a&&o&&(l.selected=!0),i(l)}function b(i,s,n){const{items:e}=i,{length:a}=e,o=e.indexOf(s),c="up"===n?-1:1;let r=1,l=t(o+c*r++,a);const h=l;for(;e[l].disabled&&(l=t(o+c*r++,a),l!==h););return l}function w(t,i){const{items:s}=t;return s.indexOf(i)}function x(t){return t.filter((t=>!t.disabled))}function A(){this.calciteListFilter.emit()}function F(){this.calciteListChange.emit(this.selectedValues)}function E(t){if(t.defaultPrevented)return;const i=t.target,s=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===i.parentElement.tagName&&i.slot===r.parentItem?(i.parentElement.remove(),Array.from(i.parentElement.children).forEach((t=>s.delete(t.value)))):(i.remove(),s.delete(i.value)),this.emitCalciteListChange()}function y(t,i){t.disabled||(i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function C(t){if(this.filterEnabled&&"filter"===t)return void await i(this.filterEl);const{items:s,multiple:n,selectionFollowsFocus:e}=this;if(0===s.length)return;if(n)return x(s)[0]?.setFocus();const a=x(s),o=a.find((t=>t.selected))||a[0];return e&&o&&(o.selected=!0),o.setFocus()}function k(t){this.items=Array.from(this.el.querySelectorAll(t));let i=!1;const{items:s}=this;s.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.deselectDisabled=!0,y(t,!1)),t.selected&&(i=!0,y(t,!0),this.selectedValues.set(t.value,t))}));const[n]=s;i||!n||n.disabled||y(n,!0)}function I(){const t=this.selectedValues,i=this.items.map((({value:t})=>t));t.forEach((t=>{i.includes(t.value)||this.selectedValues.delete(t.value)}))}function j(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function S(t,i=!1){if(!this.lastSelectedItem)return;const{items:s}=this,n=s.findIndex((t=>t.value===this.lastSelectedItem.value)),e=s.findIndex((i=>i.value===t.value));s.slice(Math.min(n,e),Math.max(n,e)).forEach((t=>{t.toggleSelected(!i),i?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let L;function P(t=!1){const{filteredData:i,filterText:n}=this,e=i.map((t=>t.value));let a=!1;L||(L=new Set);const o=this.items?.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&L.add(i);const s=!n||e.includes(t.value);return t.hidden=!s,a||(a=s&&t.selected),s}))||[];L.forEach((t=>{const i=o.some((i=>t.contains(i)));if(t.hidden=!i,!i)return;const n=s(t,"parent-item");n&&(n.hidden=!1,o.includes(n)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),L.clear(),o.length>0&&!a&&!this.multiple&&y(o[0],!0),this.setFilteredItems(o),t&&this.emitCalciteListFilter()}function T(){const t=this.filterEl?.filteredItems;t&&(this.filteredData=t),this.handleFilter()}function D(t){t.stopPropagation();const{filteredItems:i,value:s}=t.currentTarget;this.filterText=s,this.filteredData=i,this.handleFilter(!0)}function U(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var q;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(q||(q={}));const M=({props:{disabled:t,loading:i,filterEnabled:s,dataForFilter:e,handleFilterEvent:c,filterPlaceholder:r,filterText:l,setFilterEl:h,dragEnabled:u,storeAssistiveEl:d},...f})=>{const m=a("slot",null);return a(o,{"aria-busy":n(i),role:"menu",...f},a("section",null,u?a("span",{"aria-live":"assertive",class:"assistive-text",ref:d}):null,a("header",{class:{"sticky-pos":!0}},s?a("calcite-filter",{"aria-label":r,disabled:i||t,items:e,onCalciteFilterChange:c,placeholder:r,value:l,ref:h}):null,a("slot",{name:"menu-actions"})),i?a("calcite-scrim",{loading:i}):null,m))},V={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},G={checked:"check",remove:"x"},H={actionsEnd:"actions-end",actionsStart:"actions-start"};export{V as C,q as I,M as L,H as S,j as a,D as b,U as c,I as d,b as e,d as f,w as g,P as h,u as i,T as j,g as k,f as l,l as m,v as n,m as o,p,k as q,E as r,S as s,C as t,r as u,c as v,G as w}
@@ -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.1-next.2
4
+ * v1.8.0-next.0
5
5
  */
6
- import{r as e,c as t,h as i,F as s,a as n}from"./p-1e2ba4bf.js";import{b as a,s as o,f as r,t as c}from"./p-ec54c252.js";import{c as l,u as d,d as h}from"./p-13c29de5.js";import{s as p,a as m,c as f}from"./p-8f6fef56.js";import{c as b}from"./p-cecee68f.js";import{S as u}from"./p-99f8ed5d.js";import{H as g}from"./p-6f8ab691.js";import{S as x,C as v,I as y}from"./p-1035becf.js";import{c as k,d as z}from"./p-681ad15b.js";import{c as w,s as S,d as j,u as C}from"./p-6d89139d.js";import"./p-6d654c82.js";import"./p-4f0e68f6.js";import"./p-8db9a211.js";import"./p-d5c1db84.js";const A=class{constructor(i){e(this,i),this.calcitePanelClose=t(this,"calcitePanelClose",6),this.calcitePanelScroll=t(this,"calcitePanelScroll",6),this.resizeObserver=b("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:e}=this;e&&"number"==typeof e.scrollHeight&&"number"==typeof e.offsetHeight&&(e.tabIndex=e.scrollHeight>e.offsetHeight?0:-1)},this.setContainerRef=e=>{this.containerEl=e},this.setCloseRef=e=>{this.closeButtonEl=e},this.setBackRef=e=>{this.backButtonEl=e},this.panelKeyDownHandler=e=>{this.closable&&"Escape"===e.key&&!e.defaultPrevented&&(this.close(),e.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=e=>{this.hasStartActions=a(e)},this.handleHeaderActionsEndSlotChange=e=>{this.hasEndActions=a(e)},this.handleHeaderMenuActionsSlotChange=e=>{this.hasMenuItems=a(e)},this.handleActionBarSlotChange=e=>{const t=o(e).filter((e=>e?.matches("calcite-action-bar")));t.forEach((e=>e.layout="horizontal")),this.hasActionBar=!!t.length},this.handleHeaderContentSlotChange=e=>{this.hasHeaderContent=a(e)},this.handleFooterSlotChange=e=>{this.hasFooterContent=a(e)},this.handleFooterActionsSlotChange=e=>{this.hasFooterActions=a(e)},this.handleFabSlotChange=e=>{this.hasFab=a(e)},this.setPanelScrollEl=e=>{this.panelScrollEl=e,this.resizeObserver?.disconnect(),e&&(this.resizeObserver?.observe(e),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasActionBar=!1,this.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale="",this.showHeaderContent=!1}onMessagesChange(){}connectedCallback(){l(this),k(this),w(this)}async componentWillLoad(){p(this),await S(this)}componentDidLoad(){m(this)}componentDidRender(){d(this)}disconnectedCallback(){h(this),z(this),j(this),this.resizeObserver?.disconnect()}effectiveLocaleChange(){C(this,this.effectiveLocale)}async setFocus(){await f(this),r(this.containerEl)}async scrollContentTo(e){this.panelScrollEl?.scrollTo(e)}renderHeaderContent(){const{heading:e,headingLevel:t,description:s,hasHeaderContent:n}=this,a=e?i(g,{class:v.heading,level:t},e):null,o=s?i("span",{class:v.description},s):null;return n||!a&&!o?null:i("div",{class:v.headerContent,key:"header-content"},a,o)}renderActionBar(){return i("div",{class:v.actionBarContainer,hidden:!this.hasActionBar},i("slot",{name:x.actionBar,onSlotchange:this.handleActionBarSlotChange}))}renderHeaderSlottedContent(){return i("div",{class:v.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:x.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:e}=this;return i("div",{class:{[v.headerActionsStart]:!0,[v.headerActions]:!0},hidden:!e,key:"header-actions-start"},i("slot",{name:x.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{close:e,hasEndActions:t,messages:s,closable:n,hasMenuItems:a}=this,o=s.close,r=n?i("calcite-action",{"aria-label":o,"data-test":"close",icon:y.close,onClick:e,text:o,title:o,ref:this.setCloseRef}):null,c=i("slot",{name:x.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});return i("div",{class:{[v.headerActionsEnd]:!0,[v.headerActions]:!0},hidden:!(t||r||a),key:"header-actions-end"},c,this.renderMenu(),r)}renderMenu(){const{hasMenuItems:e,messages:t,menuOpen:s}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!e,key:"menu",label:t.options,open:s,placement:"bottom-end"},i("calcite-action",{icon:y.menu,slot:u.trigger,text:t.options}),i("slot",{name:x.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:e,hasStartActions:t,hasEndActions:s,closable:n,hasMenuItems:a,hasActionBar:o}=this,r=this.renderHeaderContent(),c=e||!!r||t||s||n||a;return this.showHeaderContent=c,i("header",{class:v.header,hidden:!(c||o)},i("div",{class:{[v.headerContainer]:!0,[v.headerContainerBorderEnd]:o},hidden:!c},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),r,this.renderHeaderActionsEnd()),this.renderActionBar())}renderFooterNode(){const{hasFooterContent:e,hasFooterActions:t}=this;return i("footer",{class:v.footer,hidden:!(e||t)},i("slot",{key:"footer-slot",name:x.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:x.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){return i("div",{class:v.contentWrapper,onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},i("slot",null),this.renderFab())}renderFab(){return i("div",{class:v.fabContainer,hidden:!this.hasFab},i("slot",{name:x.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{loading:e,panelKeyDownHandler:t,closed:n,closable:a}=this,o=i("article",{"aria-busy":c(e),class:v.container,hidden:n,onKeyDown:t,tabIndex:a?0:-1,ref:this.setContainerRef},this.renderHeaderNode(),this.renderContent(),this.renderFooterNode());return i(s,null,e?i("calcite-scrim",{loading:e}):null,o)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};A.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{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-footer-padding:0.5rem;--calcite-internal-panel-header-border-block-end:1px solid var(--calcite-ui-border-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{z-index:var(--calcite-app-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);border-block-end:var(--calcite-internal-panel-header-border-block-end)}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-ui-border-3)}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;background-color:var(--calcite-ui-background)}.footer{display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-panel-footer-padding);border-block-start:1px solid var(--calcite-ui-border-3)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-app-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}:host([hidden]){display:none}[hidden]{display:none}";export{A as calcite_panel}
6
+ import{r as e,c as t,h as i,F as s,a as n}from"./p-185bc5dd.js";import{b as a,s as o,f as r,t as c}from"./p-53f68583.js";import{c as l,u as d,d as h}from"./p-e5fedd4b.js";import{s as p,a as m,c as f}from"./p-19980bcd.js";import{c as b}from"./p-a71d7284.js";import{S as u}from"./p-bf0f7949.js";import{H as g}from"./p-1b8ea41d.js";import{S as x,C as v,I as y}from"./p-fd24ce3a.js";import{c as k,d as z}from"./p-81e1ef08.js";import{c as w,s as S,d as j,u as C}from"./p-6c9a6e69.js";import"./p-3b25f9af.js";import"./p-3b7d1d44.js";import"./p-5aae88ad.js";import"./p-992d6edc.js";const A=class{constructor(i){e(this,i),this.calcitePanelClose=t(this,"calcitePanelClose",6),this.calcitePanelScroll=t(this,"calcitePanelScroll",6),this.resizeObserver=b("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:e}=this;e&&"number"==typeof e.scrollHeight&&"number"==typeof e.offsetHeight&&(e.tabIndex=e.scrollHeight>e.offsetHeight?0:-1)},this.setContainerRef=e=>{this.containerEl=e},this.setCloseRef=e=>{this.closeButtonEl=e},this.setBackRef=e=>{this.backButtonEl=e},this.panelKeyDownHandler=e=>{this.closable&&"Escape"===e.key&&!e.defaultPrevented&&(this.close(),e.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=e=>{this.hasStartActions=a(e)},this.handleHeaderActionsEndSlotChange=e=>{this.hasEndActions=a(e)},this.handleHeaderMenuActionsSlotChange=e=>{this.hasMenuItems=a(e)},this.handleActionBarSlotChange=e=>{const t=o(e).filter((e=>e?.matches("calcite-action-bar")));t.forEach((e=>e.layout="horizontal")),this.hasActionBar=!!t.length},this.handleHeaderContentSlotChange=e=>{this.hasHeaderContent=a(e)},this.handleFooterSlotChange=e=>{this.hasFooterContent=a(e)},this.handleFooterActionsSlotChange=e=>{this.hasFooterActions=a(e)},this.handleFabSlotChange=e=>{this.hasFab=a(e)},this.setPanelScrollEl=e=>{this.panelScrollEl=e,this.resizeObserver?.disconnect(),e&&(this.resizeObserver?.observe(e),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasActionBar=!1,this.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale="",this.showHeaderContent=!1}onMessagesChange(){}connectedCallback(){l(this),k(this),w(this)}async componentWillLoad(){p(this),await S(this)}componentDidLoad(){m(this)}componentDidRender(){d(this)}disconnectedCallback(){h(this),z(this),j(this),this.resizeObserver?.disconnect()}effectiveLocaleChange(){C(this,this.effectiveLocale)}async setFocus(){await f(this),r(this.containerEl)}async scrollContentTo(e){this.panelScrollEl?.scrollTo(e)}renderHeaderContent(){const{heading:e,headingLevel:t,description:s,hasHeaderContent:n}=this,a=e?i(g,{class:v.heading,level:t},e):null,o=s?i("span",{class:v.description},s):null;return n||!a&&!o?null:i("div",{class:v.headerContent,key:"header-content"},a,o)}renderActionBar(){return i("div",{class:v.actionBarContainer,hidden:!this.hasActionBar},i("slot",{name:x.actionBar,onSlotchange:this.handleActionBarSlotChange}))}renderHeaderSlottedContent(){return i("div",{class:v.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:x.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:e}=this;return i("div",{class:{[v.headerActionsStart]:!0,[v.headerActions]:!0},hidden:!e,key:"header-actions-start"},i("slot",{name:x.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{close:e,hasEndActions:t,messages:s,closable:n,hasMenuItems:a}=this,o=s.close,r=n?i("calcite-action",{"aria-label":o,"data-test":"close",icon:y.close,onClick:e,text:o,title:o,ref:this.setCloseRef}):null,c=i("slot",{name:x.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});return i("div",{class:{[v.headerActionsEnd]:!0,[v.headerActions]:!0},hidden:!(t||r||a),key:"header-actions-end"},c,this.renderMenu(),r)}renderMenu(){const{hasMenuItems:e,messages:t,menuOpen:s}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!e,key:"menu",label:t.options,open:s,placement:"bottom-end"},i("calcite-action",{icon:y.menu,slot:u.trigger,text:t.options}),i("slot",{name:x.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:e,hasStartActions:t,hasEndActions:s,closable:n,hasMenuItems:a,hasActionBar:o}=this,r=this.renderHeaderContent(),c=e||!!r||t||s||n||a;return this.showHeaderContent=c,i("header",{class:v.header,hidden:!(c||o)},i("div",{class:{[v.headerContainer]:!0,[v.headerContainerBorderEnd]:o},hidden:!c},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),r,this.renderHeaderActionsEnd()),this.renderActionBar())}renderFooterNode(){const{hasFooterContent:e,hasFooterActions:t}=this;return i("footer",{class:v.footer,hidden:!(e||t)},i("slot",{key:"footer-slot",name:x.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:x.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){return i("div",{class:v.contentWrapper,onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},i("slot",null),this.renderFab())}renderFab(){return i("div",{class:v.fabContainer,hidden:!this.hasFab},i("slot",{name:x.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{loading:e,panelKeyDownHandler:t,closed:n,closable:a}=this,o=i("article",{"aria-busy":c(e),class:v.container,hidden:n,onKeyDown:t,tabIndex:a?0:-1,ref:this.setContainerRef},this.renderHeaderNode(),this.renderContent(),this.renderFooterNode());return i(s,null,e?i("calcite-scrim",{loading:e}):null,o)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};A.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{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-footer-padding:0.5rem;--calcite-internal-panel-header-border-block-end:1px solid var(--calcite-ui-border-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{z-index:var(--calcite-app-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);border-block-end:var(--calcite-internal-panel-header-border-block-end)}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-ui-border-3)}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;background-color:var(--calcite-ui-background)}.footer{display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-panel-footer-padding);border-block-start:1px solid var(--calcite-ui-border-3)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-app-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}:host([hidden]){display:none}[hidden]{display:none}";export{A as calcite_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.1-next.2
4
+ * v1.8.0-next.0
5
5
  */
6
- import{r as t,c as e,h as i,H as s,a}from"./p-1e2ba4bf.js";import{c as o,d as r,H as n}from"./p-e6017353.js";import{c as h,d as c,g as l}from"./p-6b7921aa.js";import{b as d,t as p}from"./p-ec54c252.js";import{c as m,d as f,n as b}from"./p-681ad15b.js";import{c as g}from"./p-cecee68f.js";import{s as u,a as x,c as v,b as z}from"./p-8f6fef56.js";import{c as y,s as w,d as k,u as j}from"./p-6d89139d.js";import{c as H,u as L,d as C}from"./p-13c29de5.js";import{g as A}from"./p-6d654c82.js";import{t as W}from"./p-887444be.js";import"./p-4f0e68f6.js";import"./p-d5c1db84.js";import"./p-8db9a211.js";import"./p-c21c35f7.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-185bc5dd.js";import{c as o,d as r,H as n}from"./p-d29bbe7d.js";import{c as h,d as c,g as l}from"./p-7c57544a.js";import{b as d,t as p}from"./p-53f68583.js";import{c as m,d as f,n as b}from"./p-81e1ef08.js";import{c as g}from"./p-a71d7284.js";import{s as u,a as x,c as v,b as z}from"./p-19980bcd.js";import{c as y,s as w,d as k,u as j}from"./p-6c9a6e69.js";import{c as H,u as L,d as C}from"./p-e5fedd4b.js";import{g as A}from"./p-3b25f9af.js";import{t as W}from"./p-ddef8b45.js";import"./p-3b7d1d44.js";import"./p-992d6edc.js";import"./p-5aae88ad.js";import"./p-49c010d6.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}
@@ -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.8.0-next.0
5
+ */
6
+ import{d as _}from"./p-913425b0.js";import"./p-185bc5dd.js";import"./p-d29bbe7d.js";import"./p-53f68583.js";import"./p-3b25f9af.js";import"./p-3b7d1d44.js";import"./p-e5fedd4b.js";import"./p-5aae88ad.js";import"./p-992d6edc.js";import"./p-7c57544a.js";import"./p-19980bcd.js";import"./p-81e1ef08.js";import"./p-a71d7284.js";import"./p-e5e22b57.js";import"./p-86d158a0.js";import"./p-6c9a6e69.js";var r="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),t="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),m="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),p="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),e=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function d(_,r,t){var m,p;return"m"===t?r?"минута":"минуту":_+" "+(m=+_,p={mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[t].split("_"),m%10==1&&m%100!=11?p[0]:m%10>=2&&m%10<=4&&(m%100<10||m%100>=20)?p[1]:p[2])}var o=function(_,m){return e.test(m)?r[_.month()]:t[_.month()]};o.s=t,o.f=r;var s=function(_,r){return e.test(r)?m[_.month()]:p[_.month()]};s.s=p,s.f=m;var i={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:o,monthsShort:s,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:d,mm:d,h:"час",hh:d,d:"день",dd:d,M:"месяц",MM:d,y:"год",yy:d},ordinal:function(_){return _},meridiem:function(_){return _<4?"ночи":_<12?"утра":_<17?"дня":"вечера"}};_.locale(i,null,!0);export default i;
@@ -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.8.0-next.0
5
+ */
6
+ import{r as t,c as i,h as e,a as s,F as a}from"./p-185bc5dd.js";import{c as o,d as n,u as c}from"./p-e5fedd4b.js";import{s as l,a as r,c as h}from"./p-19980bcd.js";import{c as d}from"./p-a71d7284.js";import{m as p,d as m,a as u,s as g,h as b,b as f,c as v,k as x,i as w,f as k,l as y,j as z,r as C,o as L,p as j,n as I,q as H,t as W,I as F,L as _,u as D,v as R,w as M,C as S,S as V}from"./p-e9b614a4.js";import{c as A,d as P}from"./p-4354e9d4.js";import{h as T,t as U}from"./p-53f68583.js";import{H as K,c as O}from"./p-1b8ea41d.js";import{c as q,d as E}from"./p-81e1ef08.js";import{u as B,c as G,s as J,d as N}from"./p-6c9a6e69.js";import"./p-5aae88ad.js";import"./p-26a607bc.js";import"./p-49c010d6.js";import"./p-3b25f9af.js";import"./p-3b7d1d44.js";import"./p-992d6edc.js";const Q=class{constructor(e){t(this,e),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=d("mutation",p.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=m.bind(this),this.deselectSiblingItems=u.bind(this),this.selectSiblings=g.bind(this),this.handleFilter=b.bind(this),this.handleFilterEvent=f.bind(this),this.getItemData=v.bind(this),this.keyDownHandler=x.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){w.call(this),k.call(this),o(this)}disconnectedCallback(){y.call(this),n(this)}componentWillLoad(){l(this)}componentDidLoad(){r(this),z.call(this)}componentDidRender(){c(this)}calciteListItemRemoveHandler(t){C.call(this,t)}calciteListItemChangeHandler(t){L.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){j.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){I.call(this,t)}setUpItems(){H.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await h(this),W.call(this,t)}getIconType(){return this.multiple?F.square:F.circle}render(){return e(_,{onKeyDown:this.keyDownHandler,props:this})}get el(){return s(this)}};Q.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;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";const X=class{constructor(i){t(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){A(this)}disconnectedCallback(){P(this)}render(){const{el:t,groupTitle:i,headingLevel:s}=this,o=null!==T(t,D.parentItem),n={[R.container]:!0,[R.indented]:o},c=i,l=t.closest("calcite-pick-list")?.headingLevel,r=l?O(l+1):null;return e(a,null,c?e(K,{class:R.heading,level:s||r},c):null,e("slot",{name:D.parentItem}),e("section",{class:n},e("slot",null)))}get el(){return s(this)}};X.style=":host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{margin-inline-start:1.5rem}:host([hidden]){display:none}[hidden]{display:none}";const Y=class{constructor(e){t(this,e),this.calciteListItemChange=i(this,"calciteListItemChange",6),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=i(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=i(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,i){this.calciteInternalListItemValueChange.emit({oldValue:i,newValue:t})}effectiveLocaleChange(){B(this,this.effectiveLocale)}connectedCallback(){o(this),q(this),G(this),A(this)}async componentWillLoad(){await J(this),l(this)}componentDidLoad(){r(this)}disconnectedCallback(){n(this),E(this),N(this),P(this)}componentDidRender(){c(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){await h(this),this.focusEl?.focus()}renderIcon(){const{icon:t,iconFlipRtl:i}=this;return t?e("span",{class:{[S.icon]:!0,[S.iconDot]:t===F.circle},onClick:this.pickListClickHandler},t===F.square?e("calcite-icon",{flipRtl:i,icon:M.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?e("calcite-action",{class:S.remove,icon:M.remove,onClick:this.removeClickHandler,slot:V.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return T(t,V.actionsStart)?e("div",{class:{[S.actions]:!0,[S.actionsStart]:!0}},e("slot",{name:V.actionsStart})):null}renderActionsEnd(){const{el:t,removable:i}=this;return T(t,V.actionsEnd)||i?e("div",{class:{[S.actions]:!0,[S.actionsEnd]:!0}},e("slot",{name:V.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:i}=this;return e(a,null,this.renderIcon(),this.renderActionsStart(),e("label",{"aria-label":i,class:S.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},e("div",{"aria-checked":U(this.selected),class:S.textContainer,role:"menuitemcheckbox"},e("span",{class:S.title},i),t?e("span",{class:S.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};Y.style='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{Q as calcite_pick_list,X as calcite_pick_list_group,Y as calcite_pick_list_item}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.1-next.2
4
+ * v1.8.0-next.0
5
5
  */
6
- import{d as _}from"./p-e4b69cd8.js";import"./p-1e2ba4bf.js";import"./p-e6017353.js";import"./p-ec54c252.js";import"./p-6d654c82.js";import"./p-4f0e68f6.js";import"./p-13c29de5.js";import"./p-8db9a211.js";import"./p-d5c1db84.js";import"./p-6b7921aa.js";import"./p-8f6fef56.js";import"./p-681ad15b.js";import"./p-cecee68f.js";import"./p-da08a08e.js";import"./p-d75bbbf9.js";import"./p-6d89139d.js";var p={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(_,p){return"W"===p?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"}};_.locale(p,null,!0);export default p;
6
+ import{d as _}from"./p-913425b0.js";import"./p-185bc5dd.js";import"./p-d29bbe7d.js";import"./p-53f68583.js";import"./p-3b25f9af.js";import"./p-3b7d1d44.js";import"./p-e5fedd4b.js";import"./p-5aae88ad.js";import"./p-992d6edc.js";import"./p-7c57544a.js";import"./p-19980bcd.js";import"./p-81e1ef08.js";import"./p-a71d7284.js";import"./p-e5e22b57.js";import"./p-86d158a0.js";import"./p-6c9a6e69.js";var p={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(_,p){return"W"===p?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"}};_.locale(p,null,!0);export default p;
@@ -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.1-next.2
4
+ * v1.8.0-next.0
5
5
  */
6
- import{a as r,S as t,i as n,b as e,c as o,r as u,f}from"./p-c21c35f7.js";var c=Array.isArray,a=t?t.prototype:void 0,i=a?a.toString:void 0;function l(t){if("string"==typeof t)return t;if(c(t))return function(r,t){for(var n=-1,e=null==r?0:r.length,o=Array(e);++n<e;)o[n]=t(r[n],n,r);return o}(t,l)+"";if(r(t))return i?i.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function s(r){return r}var v=/^(?:0|[1-9]\d*)$/;function b(r,t){var n=typeof r;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&v.test(r))&&r>-1&&r%1==0&&r<t}function p(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}var y=Object.prototype;function j(r){return o(r)&&"[object Arguments]"==e(r)}var d=Object.prototype,m=d.hasOwnProperty,x=d.propertyIsEnumerable,g=j(function(){return arguments}())?j:function(r){return o(r)&&m.call(r,"callee")&&!x.call(r,"callee")},O="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=O&&"object"==typeof module&&module&&!module.nodeType&&module,A=h&&h.exports===O?u.Buffer:void 0,F=(A?A.isBuffer:void 0)||function(){return!1},$={};$["[object Float32Array]"]=$["[object Float64Array]"]=$["[object Int8Array]"]=$["[object Int16Array]"]=$["[object Int32Array]"]=$["[object Uint8Array]"]=$["[object Uint8ClampedArray]"]=$["[object Uint16Array]"]=$["[object Uint32Array]"]=!0,$["[object Arguments]"]=$["[object Array]"]=$["[object ArrayBuffer]"]=$["[object Boolean]"]=$["[object DataView]"]=$["[object Date]"]=$["[object Error]"]=$["[object Function]"]=$["[object Map]"]=$["[object Number]"]=$["[object Object]"]=$["[object RegExp]"]=$["[object Set]"]=$["[object String]"]=$["[object WeakMap]"]=!1;var w,E="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=E&&"object"==typeof module&&module&&!module.nodeType&&module,S=R&&R.exports===E&&f.process,k=function(){try{return R&&R.require&&R.require("util").types||S&&S.binding&&S.binding("util")}catch(r){}}(),G=k&&k.isTypedArray,L=G?(w=G,function(r){return w(r)}):function(r){return o(r)&&p(r.length)&&!!$[e(r)]},N=Object.prototype.hasOwnProperty;var P=Object.prototype.hasOwnProperty;function T(r){return null!=(t=r)&&p(t.length)&&!function(r){if(!n(r))return!1;var t=e(r);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(t)?function(r,t){var n=c(r),e=!n&&g(r),o=!n&&!e&&F(r),u=!n&&!e&&!o&&L(r),f=n||e||o||u,a=f?function(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}(r.length,String):[],i=a.length;for(var l in r)!t&&!N.call(r,l)||f&&("length"==l||o&&("offset"==l||"parent"==l)||u&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||b(l,i))||a.push(l);return a}(r,!0):function(r){if(!n(r))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(r);var t,e,o=(t=r)===("function"==typeof(e=t&&t.constructor)&&e.prototype||y),u=[];for(var f in r)("constructor"!=f||!o&&P.call(r,f))&&u.push(f);return u}(r);var t}var q=/[\\^$.*+?()[\]{}|]/g,z=RegExp(q.source);function B(r,t){return null==r?r:function(r,t,n){for(var e=-1,o=Object(r),u=n(r),f=u.length;f--;){var c=u[++e];if(!1===t(o[c],c,o))break}return r}(r,"function"==typeof(n=t)?n:s,T);var n}const C=(r,t)=>{const n=function(r){var t;return(r=null==(t=r)?"":l(t))&&z.test(r)?r.replace(q,"\\$&"):r}(t),e=new RegExp(n,"i");0===r.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const o=(r,t)=>{if(r?.constant||r?.filterDisabled)return!0;let n=!1;return B(r,(r=>{"function"!=typeof r&&null!=r&&(Array.isArray(r)||"object"==typeof r&&null!==r?o(r,t)&&(n=!0):t.test(r)&&(n=!0))})),n};return r.filter((r=>o(r,e)))};export{C as f}
6
+ import{a as r,S as t,i as n,b as e,c as o,r as u,f}from"./p-49c010d6.js";var c=Array.isArray,a=t?t.prototype:void 0,i=a?a.toString:void 0;function l(t){if("string"==typeof t)return t;if(c(t))return function(r,t){for(var n=-1,e=null==r?0:r.length,o=Array(e);++n<e;)o[n]=t(r[n],n,r);return o}(t,l)+"";if(r(t))return i?i.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function s(r){return r}var v=/^(?:0|[1-9]\d*)$/;function b(r,t){var n=typeof r;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&v.test(r))&&r>-1&&r%1==0&&r<t}function p(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}var y=Object.prototype;function d(r){return o(r)&&"[object Arguments]"==e(r)}var j=Object.prototype,m=j.hasOwnProperty,x=j.propertyIsEnumerable,g=d(function(){return arguments}())?d:function(r){return o(r)&&m.call(r,"callee")&&!x.call(r,"callee")},O="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=O&&"object"==typeof module&&module&&!module.nodeType&&module,A=h&&h.exports===O?u.Buffer:void 0,F=(A?A.isBuffer:void 0)||function(){return!1},$={};$["[object Float32Array]"]=$["[object Float64Array]"]=$["[object Int8Array]"]=$["[object Int16Array]"]=$["[object Int32Array]"]=$["[object Uint8Array]"]=$["[object Uint8ClampedArray]"]=$["[object Uint16Array]"]=$["[object Uint32Array]"]=!0,$["[object Arguments]"]=$["[object Array]"]=$["[object ArrayBuffer]"]=$["[object Boolean]"]=$["[object DataView]"]=$["[object Date]"]=$["[object Error]"]=$["[object Function]"]=$["[object Map]"]=$["[object Number]"]=$["[object Object]"]=$["[object RegExp]"]=$["[object Set]"]=$["[object String]"]=$["[object WeakMap]"]=!1;var w,E="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=E&&"object"==typeof module&&module&&!module.nodeType&&module,S=R&&R.exports===E&&f.process,k=function(){try{return R&&R.require&&R.require("util").types||S&&S.binding&&S.binding("util")}catch(r){}}(),G=k&&k.isTypedArray,L=G?(w=G,function(r){return w(r)}):function(r){return o(r)&&p(r.length)&&!!$[e(r)]},N=Object.prototype.hasOwnProperty;var P=Object.prototype.hasOwnProperty;function T(r){return null!=(t=r)&&p(t.length)&&!function(r){if(!n(r))return!1;var t=e(r);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(t)?function(r,t){var n=c(r),e=!n&&g(r),o=!n&&!e&&F(r),u=!n&&!e&&!o&&L(r),f=n||e||o||u,a=f?function(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}(r.length,String):[],i=a.length;for(var l in r)!t&&!N.call(r,l)||f&&("length"==l||o&&("offset"==l||"parent"==l)||u&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||b(l,i))||a.push(l);return a}(r,!0):function(r){if(!n(r))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(r);var t,e,o=(t=r)===("function"==typeof(e=t&&t.constructor)&&e.prototype||y),u=[];for(var f in r)("constructor"!=f||!o&&P.call(r,f))&&u.push(f);return u}(r);var t}var q=/[\\^$.*+?()[\]{}|]/g,z=RegExp(q.source);function B(r,t){return null==r?r:function(r,t,n){for(var e=-1,o=Object(r),u=n(r),f=u.length;f--;){var c=u[++e];if(!1===t(o[c],c,o))break}return r}(r,"function"==typeof(n=t)?n:s,T);var n}const C=(r,t)=>{const n=function(r){var t;return(r=null==(t=r)?"":l(t))&&z.test(r)?r.replace(q,"\\$&"):r}(t),e=new RegExp(n,"i");0===r.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const o=(r,t)=>{if(r?.constant||r?.filterDisabled)return!0;let n=!1;return B(r,(r=>{"function"!=typeof r&&null!=r&&(Array.isArray(r)||"object"==typeof r&&null!==r?o(r,t)&&(n=!0):t.test(r)&&(n=!0))})),n};return r.filter((r=>o(r,e)))};export{C as f}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.1-next.2
4
+ * v1.8.0-next.0
5
5
  */
6
- import{r as i,c as t,h as e,H as a,a as n}from"./p-1e2ba4bf.js";import{w as s,g as o,f as c}from"./p-ec54c252.js";import{d as l,a as h,c as r,u as d}from"./p-da08a08e.js";import{s as p,a as m,c as x}from"./p-8f6fef56.js";import{c as b}from"./p-cecee68f.js";import{o as v}from"./p-99837287.js";import{C as g}from"./p-4f0e68f6.js";import"./p-6d654c82.js";const w=class{constructor(e){i(this,e),this.calciteSheetBeforeClose=t(this,"calciteSheetBeforeClose",6),this.calciteSheetClose=t(this,"calciteSheetClose",6),this.calciteSheetBeforeOpen=t(this,"calciteSheetBeforeOpen",6),this.calciteSheetOpen=t(this,"calciteSheetOpen",6),this.openTransitionProp="opacity",this.ignoreOpenChange=!1,this.mutationObserver=b("mutation",(()=>this.handleMutationObserver())),this.setTransitionEl=i=>{this.transitionEl=i,this.contentId=s(i)},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteSheetOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||this.closeSheet()},this.closeSheet=async()=>{if(!this.ignoreOpenChange){if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}this.ignoreOpenChange=!0,this.open=!1,this.opened=!1,this.removeOverflowHiddenClass(),this.ignoreOpenChange=!1}},this.beforeClose=void 0,this.displayMode="overlay",this.escapeDisabled=!1,this.heightScale="m",this.focusTrapDisabled=!1,this.label=void 0,this.open=!1,this.opened=!1,this.outsideCloseDisabled=!1,this.position="inline-start",this.slottedInShell=void 0,this.widthScale="m"}handleFocusTrapDisabled(i){this.open&&(i?l(this):h(this))}async toggleSheet(i){this.ignoreOpenChange||(v(this),i?this.openSheet():this.closeSheet())}async componentWillLoad(){p(this),this.open&&(v(this),requestAnimationFrame((()=>this.openSheet())))}componentDidLoad(){m(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),r(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),l(this),this.slottedInShell=!1}render(){const i=o(this.el);return e(a,{"aria-describedby":this.contentId,"aria-label":this.label,"aria-modal":"true",role:"dialog"},e("div",{class:{container:!0,"container--open":this.opened,"container--slotted-in-shell":this.slottedInShell,[g.rtl]:"rtl"===i}},e("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),e("div",{class:{content:!0},ref:this.setTransitionEl},e("slot",null))))}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.closeSheet(),i.preventDefault())}async setFocus(){await x(this),c(this.el)}async updateFocusTrapElements(){d(this)}onBeforeOpen(){this.calciteSheetBeforeOpen.emit()}onOpen(){this.calciteSheetOpen.emit(),h(this)}onBeforeClose(){this.calciteSheetBeforeClose.emit()}onClose(){this.calciteSheetClose.emit(),l(this)}openSheet(){this.ignoreOpenChange||(this.el.addEventListener("calciteSheetOpen",this.openEnd),this.open=!0,this.opened=!0,this.slottedInShell||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden")),this.ignoreOpenChange=!1)}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}handleMutationObserver(){this.updateFocusTrapElements()}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],open:["toggleSheet"]}}};w.style=":host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;visibility:hidden !important;--calcite-sheet-scrim-background-internal:rgba(0, 0, 0, 0.85);--calcite-scrim-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08), 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04)}.container{visibility:hidden;position:fixed;z-index:var(--calcite-app-z-index-overlay);display:flex;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium), opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal:translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal:translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal:translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal:translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([display-mode=overlay][position=inline-start]) .container{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .container{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .container{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .container{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .container,:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .container,:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([display-mode=float][position^=inline]) .container{block-size:calc(100% - 1.5rem);max-block-size:calc(100% - 1.5rem);min-block-size:calc(100% - 1.5rem)}:host([display-mode=float][position^=block]) .container{inline-size:calc(100% - 1.5rem);max-inline-size:calc(100% - 1.5rem);min-inline-size:calc(100% - 1.5rem)}:host([position^=inline][width-scale=s]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 260px)}:host([position^=inline][width-scale=m]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 300px)}:host([position^=inline][width-scale=l]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 340px)}:host([position^=block][height-scale=s]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 30vh)}:host([position^=block][height-scale=m]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 50vh)}:host([position^=block][height-scale=l]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background:var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}:host([opened]){visibility:visible !important}.content{position:relative;z-index:var(--calcite-app-z-index-modal);box-sizing:border-box;display:block;max-block-size:100%;max-inline-size:100%;overflow-y:hidden;padding:0px;background-color:var(--calcite-ui-foreground-1);max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-medium), opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88);transform:var(--calcite-sheet-hidden-position-internal)}.container--open .content{transform:translate3d(0, 0, 0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container{border-radius:0.25rem}:host([display-mode=float]) .container{padding:0.75rem}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}:host([position=inline-start]) .content,:host([position=inline-end]) .content{block-size:100%}:host([position=block-start]) .content,:host([position=block-end]) .content{inline-size:100%}:host([position]) .container--slotted-in-shell{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--slotted-in-shell calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_sheet}
6
+ import{r as i,c as t,h as e,H as a,a as n}from"./p-185bc5dd.js";import{w as s,g as o,f as c}from"./p-53f68583.js";import{d as l,a as h,c as r,u as d}from"./p-e5e22b57.js";import{s as p,a as m,c as x}from"./p-19980bcd.js";import{c as b}from"./p-a71d7284.js";import{o as v}from"./p-29a46f6c.js";import{C as g}from"./p-3b7d1d44.js";import"./p-3b25f9af.js";const w=class{constructor(e){i(this,e),this.calciteSheetBeforeClose=t(this,"calciteSheetBeforeClose",6),this.calciteSheetClose=t(this,"calciteSheetClose",6),this.calciteSheetBeforeOpen=t(this,"calciteSheetBeforeOpen",6),this.calciteSheetOpen=t(this,"calciteSheetOpen",6),this.openTransitionProp="opacity",this.ignoreOpenChange=!1,this.mutationObserver=b("mutation",(()=>this.handleMutationObserver())),this.setTransitionEl=i=>{this.transitionEl=i,this.contentId=s(i)},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteSheetOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||this.closeSheet()},this.closeSheet=async()=>{if(!this.ignoreOpenChange){if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}this.ignoreOpenChange=!0,this.open=!1,this.opened=!1,this.removeOverflowHiddenClass(),this.ignoreOpenChange=!1}},this.beforeClose=void 0,this.displayMode="overlay",this.escapeDisabled=!1,this.heightScale="m",this.focusTrapDisabled=!1,this.label=void 0,this.open=!1,this.opened=!1,this.outsideCloseDisabled=!1,this.position="inline-start",this.slottedInShell=void 0,this.widthScale="m"}handleFocusTrapDisabled(i){this.open&&(i?l(this):h(this))}async toggleSheet(i){this.ignoreOpenChange||(v(this),i?this.openSheet():this.closeSheet())}async componentWillLoad(){p(this),this.open&&(v(this),requestAnimationFrame((()=>this.openSheet())))}componentDidLoad(){m(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),r(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),l(this),this.slottedInShell=!1}render(){const i=o(this.el);return e(a,{"aria-describedby":this.contentId,"aria-label":this.label,"aria-modal":"true",role:"dialog"},e("div",{class:{container:!0,"container--open":this.opened,"container--slotted-in-shell":this.slottedInShell,[g.rtl]:"rtl"===i}},e("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),e("div",{class:{content:!0},ref:this.setTransitionEl},e("slot",null))))}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.closeSheet(),i.preventDefault())}async setFocus(){await x(this),c(this.el)}async updateFocusTrapElements(){d(this)}onBeforeOpen(){this.calciteSheetBeforeOpen.emit()}onOpen(){this.calciteSheetOpen.emit(),h(this)}onBeforeClose(){this.calciteSheetBeforeClose.emit()}onClose(){this.calciteSheetClose.emit(),l(this)}openSheet(){this.ignoreOpenChange||(this.el.addEventListener("calciteSheetOpen",this.openEnd),this.open=!0,this.opened=!0,this.slottedInShell||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden")),this.ignoreOpenChange=!1)}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}handleMutationObserver(){this.updateFocusTrapElements()}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],open:["toggleSheet"]}}};w.style=":host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;visibility:hidden !important;--calcite-sheet-scrim-background-internal:rgba(0, 0, 0, 0.85);--calcite-scrim-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08), 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04)}.container{visibility:hidden;position:fixed;z-index:var(--calcite-app-z-index-overlay);display:flex;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium), opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal:translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal:translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal:translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal:translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([display-mode=overlay][position=inline-start]) .container{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .container{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .container{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .container{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .container,:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .container,:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([display-mode=float][position^=inline]) .container{block-size:calc(100% - 1.5rem);max-block-size:calc(100% - 1.5rem);min-block-size:calc(100% - 1.5rem)}:host([display-mode=float][position^=block]) .container{inline-size:calc(100% - 1.5rem);max-inline-size:calc(100% - 1.5rem);min-inline-size:calc(100% - 1.5rem)}:host([position^=inline][width-scale=s]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 260px)}:host([position^=inline][width-scale=m]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 300px)}:host([position^=inline][width-scale=l]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 340px)}:host([position^=block][height-scale=s]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 30vh)}:host([position^=block][height-scale=m]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 50vh)}:host([position^=block][height-scale=l]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background:var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}:host([opened]){visibility:visible !important}.content{position:relative;z-index:var(--calcite-app-z-index-modal);box-sizing:border-box;display:block;max-block-size:100%;max-inline-size:100%;overflow-y:hidden;padding:0px;background-color:var(--calcite-ui-foreground-1);max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-medium), opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88);transform:var(--calcite-sheet-hidden-position-internal)}.container--open .content{transform:translate3d(0, 0, 0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container{border-radius:0.25rem}:host([display-mode=float]) .container{padding:0.75rem}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}:host([position=inline-start]) .content,:host([position=inline-end]) .content{block-size:100%}:host([position=block-start]) .content,:host([position=block-end]) .content{inline-size:100%}:host([position]) .container--slotted-in-shell{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--slotted-in-shell calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_sheet}