@esri/calcite-components 1.6.0-next.6 → 1.6.0-next.7

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 (930) 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-94d28933.entry.js → p-056ee629.entry.js} +2 -2
  4. package/dist/calcite/p-05d06d63.entry.js +6 -0
  5. package/dist/calcite/{p-57bd5cba.entry.js → p-087134c6.entry.js} +2 -2
  6. package/dist/calcite/{p-b8e2d1b3.js → p-08a9453a.js} +2 -2
  7. package/dist/calcite/{p-ef6277a5.entry.js → p-09efaccb.entry.js} +2 -2
  8. package/dist/calcite/{p-4a77668f.entry.js → p-0a004f32.entry.js} +2 -2
  9. package/dist/calcite/{p-84779f61.js → p-0c342101.js} +2 -2
  10. package/dist/calcite/{p-eca1f878.js → p-0edafc15.js} +2 -2
  11. package/dist/calcite/{p-cb2c4a7e.entry.js → p-1033b766.entry.js} +2 -2
  12. package/dist/calcite/{p-eda65e0d.js → p-130282c3.js} +2 -2
  13. package/dist/calcite/p-13738df6.js +6 -0
  14. package/dist/calcite/p-13e87e66.entry.js +6 -0
  15. package/dist/calcite/{p-2fcd9603.js → p-18bcb7a0.js} +2 -2
  16. package/dist/calcite/{p-8e534b66.js → p-196a51da.js} +1 -1
  17. package/dist/calcite/p-19c6ba5d.js +6 -0
  18. package/dist/calcite/{p-4d81069d.entry.js → p-1b7ed5ad.entry.js} +2 -2
  19. package/dist/calcite/{p-e8acedad.entry.js → p-1baecbb4.entry.js} +2 -2
  20. package/dist/calcite/p-1bfc1010.entry.js +6 -0
  21. package/dist/calcite/{p-818a65b7.js → p-1c1f6059.js} +1 -1
  22. package/dist/calcite/{p-6176474e.js → p-1c807bc8.js} +2 -2
  23. package/dist/calcite/{p-9bd68dd9.js → p-1f217922.js} +2 -2
  24. package/dist/calcite/{p-c34b2068.js → p-1f9390d4.js} +2 -2
  25. package/dist/calcite/{p-83d5611a.js → p-21828260.js} +2 -2
  26. package/dist/calcite/{p-b4c502df.entry.js → p-23896278.entry.js} +2 -2
  27. package/dist/calcite/{p-0de10316.js → p-241095de.js} +2 -2
  28. package/dist/calcite/{p-9cbf2b6f.js → p-24b83681.js} +2 -2
  29. package/dist/calcite/{p-74647a58.js → p-27552187.js} +1 -1
  30. package/dist/calcite/{p-ca94a147.entry.js → p-28aef5ee.entry.js} +2 -2
  31. package/dist/calcite/{p-5b186749.entry.js → p-2ba1ae21.entry.js} +2 -2
  32. package/dist/calcite/{p-ecd6d4cd.js → p-2d8ea5c5.js} +2 -2
  33. package/dist/calcite/{p-9bcd1618.js → p-30938a0d.js} +1 -1
  34. package/dist/calcite/{p-6bb2d8d8.js → p-30ddecf7.js} +2 -2
  35. package/dist/calcite/{p-f590eba2.entry.js → p-3370549e.entry.js} +2 -2
  36. package/dist/calcite/p-33beeb71.entry.js +6 -0
  37. package/dist/calcite/{p-e0239d57.entry.js → p-3493db34.entry.js} +2 -2
  38. package/dist/calcite/{p-4821621a.js → p-39061647.js} +2 -2
  39. package/dist/calcite/{p-ac6fddd4.js → p-3d140060.js} +2 -2
  40. package/dist/calcite/{p-d1f3631f.js → p-3daa2d35.js} +2 -2
  41. package/dist/calcite/{p-7c9ea17e.js → p-3e542cad.js} +3 -3
  42. package/dist/calcite/p-4314cf30.entry.js +6 -0
  43. package/dist/calcite/{p-accc464d.entry.js → p-44e504c3.entry.js} +2 -2
  44. package/dist/calcite/p-463573e8.entry.js +6 -0
  45. package/dist/calcite/{p-c9af0e95.js → p-46ba1ece.js} +2 -2
  46. package/dist/calcite/{p-7d58d61e.js → p-4a583ad1.js} +2 -2
  47. package/dist/calcite/{p-26920d94.js → p-4ab25ee8.js} +2 -2
  48. package/dist/calcite/{p-23224b49.entry.js → p-4ce76fb4.entry.js} +2 -2
  49. package/dist/calcite/{p-6a415dd5.entry.js → p-4e281d0c.entry.js} +2 -2
  50. package/dist/calcite/{p-5e0ba21d.js → p-55e6fc7f.js} +2 -2
  51. package/dist/calcite/p-56a5493e.entry.js +6 -0
  52. package/dist/calcite/{p-7faec2c9.entry.js → p-59530604.entry.js} +2 -2
  53. package/dist/calcite/{p-e41efcc6.entry.js → p-59b85525.entry.js} +2 -2
  54. package/dist/calcite/{p-fb9f0312.js → p-5c225407.js} +2 -2
  55. package/dist/calcite/{p-071e3b50.entry.js → p-5cd710df.entry.js} +2 -2
  56. package/dist/calcite/{p-ccc986fb.entry.js → p-5d07e47d.entry.js} +2 -2
  57. package/dist/calcite/{p-8063a8dd.js → p-5d7a78b8.js} +2 -2
  58. package/dist/calcite/p-5f7d2b14.entry.js +6 -0
  59. package/dist/calcite/{p-3641c6c1.js → p-6116a986.js} +1 -1
  60. package/dist/calcite/{p-d05cb273.entry.js → p-63a57b30.entry.js} +2 -2
  61. package/dist/calcite/{p-0d76465f.js → p-664a58ac.js} +2 -2
  62. package/dist/calcite/{p-5f5b81bc.entry.js → p-67849fa8.entry.js} +2 -2
  63. package/dist/calcite/{p-219578db.entry.js → p-678ee3ea.entry.js} +2 -2
  64. package/dist/calcite/{p-462483cc.js → p-6795f713.js} +2 -2
  65. package/dist/calcite/p-67960062.js +6 -0
  66. package/dist/calcite/{p-3ffc10f1.entry.js → p-6afd72d7.entry.js} +2 -2
  67. package/dist/calcite/{p-e0f9660e.js → p-6ce736c8.js} +2 -2
  68. package/dist/calcite/{p-72283239.js → p-6ddfb747.js} +2 -2
  69. package/dist/calcite/p-73650cde.entry.js +6 -0
  70. package/dist/calcite/{p-5e06e11c.js → p-7526e28a.js} +2 -2
  71. package/dist/calcite/{p-401fd882.entry.js → p-76b70bae.entry.js} +2 -2
  72. package/dist/calcite/{p-e8280a3a.entry.js → p-76debb21.entry.js} +2 -2
  73. package/dist/calcite/{p-72a9d312.js → p-79e04e8a.js} +2 -2
  74. package/dist/calcite/{p-34a38fa7.js → p-7a9d3432.js} +2 -2
  75. package/dist/calcite/{p-1dbf8441.js → p-7ad2a24c.js} +2 -2
  76. package/dist/calcite/{p-7848ff14.js → p-7c9ab535.js} +2 -2
  77. package/dist/calcite/{p-db6d9ad3.js → p-7e77669d.js} +2 -2
  78. package/dist/calcite/{p-68930b57.entry.js → p-7f959fb5.entry.js} +2 -2
  79. package/dist/calcite/{p-6c1f1972.entry.js → p-801c7e97.entry.js} +2 -2
  80. package/dist/calcite/{p-b3982c90.js → p-80f73daa.js} +2 -2
  81. package/dist/calcite/{p-d2b53622.js → p-85246b49.js} +2 -2
  82. package/dist/calcite/p-876fdaae.entry.js +6 -0
  83. package/dist/calcite/{p-940c505c.js → p-8905355a.js} +2 -2
  84. package/dist/calcite/{p-b532fad1.js → p-89483028.js} +2 -2
  85. package/dist/calcite/{p-89bef38d.js → p-8a29ae92.js} +2 -2
  86. package/dist/calcite/{p-c1c549ed.entry.js → p-8a83704f.entry.js} +2 -2
  87. package/dist/calcite/{p-7e639156.entry.js → p-8b72d0da.entry.js} +2 -2
  88. package/dist/calcite/{p-ec024423.js → p-8c48d323.js} +1 -1
  89. package/dist/calcite/{p-307aa884.js → p-8ca84337.js} +1 -1
  90. package/dist/calcite/p-901503dd.entry.js +6 -0
  91. package/dist/calcite/{p-bc837628.js → p-90f277cf.js} +2 -2
  92. package/dist/calcite/{p-2ddee36a.entry.js → p-92aa09b1.entry.js} +2 -2
  93. package/dist/calcite/{p-1ff60195.js → p-93197fb9.js} +2 -2
  94. package/dist/calcite/p-975e0739.entry.js +6 -0
  95. package/dist/calcite/{p-d2becc09.entry.js → p-97657bb9.entry.js} +2 -2
  96. package/dist/calcite/{p-59d8739b.js → p-98690bac.js} +2 -2
  97. package/dist/calcite/{p-064d5d9b.entry.js → p-9b8d95aa.entry.js} +2 -2
  98. package/dist/calcite/{p-33e89bc6.js → p-9cef47f2.js} +2 -2
  99. package/dist/calcite/{p-38ca39dc.entry.js → p-9e719991.entry.js} +2 -2
  100. package/dist/calcite/{p-8a023767.js → p-9fe0da16.js} +2 -2
  101. package/dist/calcite/{p-3737165e.entry.js → p-a102b6b7.entry.js} +2 -2
  102. package/dist/calcite/{p-18f41fcd.js → p-a1ac3ad6.js} +2 -2
  103. package/dist/calcite/p-a3ca5949.js +6 -0
  104. package/dist/calcite/p-a6963569.js +6 -0
  105. package/dist/calcite/{p-d7bfe490.entry.js → p-a9513cd1.entry.js} +2 -2
  106. package/dist/calcite/{p-e3607098.entry.js → p-aac07556.entry.js} +2 -2
  107. package/dist/calcite/{p-8971ab22.entry.js → p-ab0e0cb4.entry.js} +2 -2
  108. package/dist/calcite/p-ac33112b.entry.js +6 -0
  109. package/dist/calcite/{p-57a72391.entry.js → p-af4a56e1.entry.js} +2 -2
  110. package/dist/calcite/{p-46d42e09.js → p-b18a438b.js} +2 -2
  111. package/dist/calcite/{p-12a795c8.js → p-b478f16c.js} +1 -1
  112. package/dist/calcite/{p-10749a02.js → p-b4955f6e.js} +2 -2
  113. package/dist/calcite/{p-64ab2819.js → p-b62978d0.js} +1 -1
  114. package/dist/calcite/{p-fb871635.js → p-b75d3886.js} +2 -2
  115. package/dist/calcite/{p-8f5ddac4.entry.js → p-b7e914ff.entry.js} +2 -2
  116. package/dist/calcite/{p-eb8e3035.entry.js → p-b9749a98.entry.js} +2 -2
  117. package/dist/calcite/{p-cc2d0928.js → p-ba698371.js} +2 -2
  118. package/dist/calcite/{p-f06f40f6.js → p-bb33644e.js} +1 -1
  119. package/dist/calcite/{p-77e5d6c6.entry.js → p-bbe18dc0.entry.js} +2 -2
  120. package/dist/calcite/{p-336b7d40.js → p-bc06e293.js} +2 -2
  121. package/dist/calcite/{p-b90d5fd5.js → p-bc34f2d2.js} +1 -1
  122. package/dist/calcite/{p-1eb2690b.js → p-bd8b17cd.js} +1 -1
  123. package/dist/calcite/{p-0cc47286.entry.js → p-c15dbc12.entry.js} +2 -2
  124. package/dist/calcite/{p-57b20cea.entry.js → p-c2012281.entry.js} +2 -2
  125. package/dist/calcite/{p-b72b3956.js → p-c2acfed1.js} +2 -2
  126. package/dist/calcite/{p-cce42b50.js → p-c6409122.js} +2 -2
  127. package/dist/calcite/{p-12259c3e.entry.js → p-c6546c4f.entry.js} +2 -2
  128. package/dist/calcite/{p-a5444222.js → p-ca8bb644.js} +2 -2
  129. package/dist/calcite/{p-3ee09731.js → p-cd06e127.js} +1 -1
  130. package/dist/calcite/{p-83190cab.js → p-cd4c0197.js} +2 -2
  131. package/dist/calcite/{p-ec7df011.entry.js → p-cfe5b469.entry.js} +2 -2
  132. package/dist/calcite/{p-689ccb70.js → p-d00f840c.js} +2 -2
  133. package/dist/calcite/{p-f0025370.entry.js → p-d07c507f.entry.js} +2 -2
  134. package/dist/calcite/{p-cfe14db3.entry.js → p-d09c2505.entry.js} +2 -2
  135. package/dist/calcite/{p-832e7e1a.js → p-d2d6ccd6.js} +2 -2
  136. package/dist/calcite/{p-9bb37620.entry.js → p-d33fcb32.entry.js} +2 -2
  137. package/dist/calcite/{p-89af130a.js → p-d63977f7.js} +2 -2
  138. package/dist/calcite/{p-5a1baaff.js → p-dd2f5d00.js} +2 -2
  139. package/dist/calcite/{p-74c2aff0.entry.js → p-e1273767.entry.js} +2 -2
  140. package/dist/calcite/{p-9d495757.entry.js → p-e274e9ea.entry.js} +2 -2
  141. package/dist/calcite/{p-f5fe030b.js → p-e2953cb7.js} +2 -2
  142. package/dist/calcite/{p-1fb1c08b.entry.js → p-e43d2e42.entry.js} +2 -2
  143. package/dist/calcite/{p-ae851847.js → p-e727e962.js} +2 -2
  144. package/dist/calcite/{p-ce97454e.js → p-e73d4f18.js} +2 -2
  145. package/dist/calcite/{p-77ab8e3f.js → p-ea45d78a.js} +1 -1
  146. package/dist/calcite/{p-48437f45.js → p-ed0c0b51.js} +2 -2
  147. package/dist/calcite/{p-f023f01f.js → p-f0af0ad0.js} +2 -2
  148. package/dist/calcite/{p-f346c1b5.js → p-f2aefb48.js} +2 -2
  149. package/dist/calcite/{p-1c9cadc3.entry.js → p-fba38977.entry.js} +2 -2
  150. package/dist/calcite/{p-418a0e0b.js → p-fbe75844.js} +2 -2
  151. package/dist/calcite/{p-ad443f6d.js → p-fdd6e87c.js} +1 -1
  152. package/dist/calcite/{p-327c4f01.entry.js → p-ff7cf295.entry.js} +2 -2
  153. package/dist/cjs/{ExpandToggle-127576ac.js → ExpandToggle-253c4c77.js} +5 -5
  154. package/dist/cjs/{FloatingArrow-5a681360.js → FloatingArrow-7568999f.js} +2 -2
  155. package/dist/cjs/{Heading-e704f716.js → Heading-ae427131.js} +2 -2
  156. package/dist/cjs/{app-globals-62f027f8.js → app-globals-ffb2c19a.js} +2 -2
  157. package/dist/cjs/{ar-720112d4.js → ar-151bfa81.js} +15 -15
  158. package/dist/cjs/{array-94597694.js → array-61aeeb62.js} +1 -1
  159. package/dist/cjs/{bg-52c588ac.js → bg-1ba88a33.js} +15 -15
  160. package/dist/cjs/{bs-04e388dd.js → bs-d7f5f3c9.js} +15 -15
  161. package/dist/cjs/{ca-ebb749e1.js → ca-4259e893.js} +15 -15
  162. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  163. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  164. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  165. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  166. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  167. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  168. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  169. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  170. package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
  171. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  172. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  173. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  174. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
  175. package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
  176. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
  177. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  178. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  179. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  180. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  181. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  182. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  183. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  184. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  185. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  186. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  187. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  188. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
  189. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  190. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  191. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  192. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-d4c77ab1.js → calcite-input-time-picker.calcite-time-picker-b839e8f3.js} +60 -60
  193. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
  194. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
  195. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  196. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  197. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  198. package/dist/cjs/calcite-list_3.cjs.entry.js +14 -14
  199. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  200. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  201. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  202. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  203. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  204. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  205. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  206. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  207. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  208. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  209. package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
  210. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  211. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  212. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  213. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  214. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  215. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  216. package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
  217. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  218. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  220. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
  222. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  223. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  224. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  225. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  226. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  227. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
  228. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  229. package/dist/cjs/calcite.cjs.js +4 -4
  230. package/dist/cjs/{conditionalSlot-cc663e54.js → conditionalSlot-7948f6d8.js} +3 -3
  231. package/dist/cjs/{cs-9a16b448.js → cs-d70df4d9.js} +15 -15
  232. package/dist/cjs/{da-c68b2398.js → da-9bdb4665.js} +15 -15
  233. package/dist/cjs/{de-at-d9f3fe1f.js → de-at-22882ed4.js} +15 -15
  234. package/dist/cjs/{de-ch-8f159861.js → de-ch-28dffcb0.js} +15 -15
  235. package/dist/cjs/{de-d2e5e608.js → de-f0a713cc.js} +15 -15
  236. package/dist/cjs/{debounce-46dc2bdd.js → debounce-9d28fce7.js} +1 -1
  237. package/dist/cjs/{dom-97cf7725.js → dom-30d45dce.js} +3 -3
  238. package/dist/cjs/{el-d64d2d2a.js → el-29928157.js} +15 -15
  239. package/dist/cjs/{en-au-b509661e.js → en-au-d1428f15.js} +15 -15
  240. package/dist/cjs/{en-ca-fe181d0f.js → en-ca-2863afe1.js} +15 -15
  241. package/dist/cjs/{en-gb-d33c5b02.js → en-gb-a05cc3f5.js} +15 -15
  242. package/dist/cjs/{es-a9c040dc.js → es-283e7b26.js} +15 -15
  243. package/dist/cjs/{es-mx-b87e2d6e.js → es-mx-a3365fdf.js} +15 -15
  244. package/dist/cjs/{et-9193a1d9.js → et-0b3c1757.js} +15 -15
  245. package/dist/cjs/{fi-4f67d2b8.js → fi-7ca05dfa.js} +15 -15
  246. package/dist/cjs/{filter-12aa75b3.js → filter-e18b9132.js} +2 -2
  247. package/dist/cjs/{floating-ui-28eaac66.js → floating-ui-dadfa9d4.js} +3 -3
  248. package/dist/cjs/{focusTrapComponent-d746055e.js → focusTrapComponent-83d269a8.js} +2 -2
  249. package/dist/cjs/{form-706c4304.js → form-10c7334b.js} +3 -3
  250. package/dist/cjs/{fr-ch-0283eac2.js → fr-ch-76936afb.js} +15 -15
  251. package/dist/cjs/{fr-a2c811c1.js → fr-dad2d471.js} +15 -15
  252. package/dist/cjs/{guid-8c445ced.js → guid-30fe95c9.js} +1 -1
  253. package/dist/cjs/{he-d5c5c52b.js → he-c44bb009.js} +15 -15
  254. package/dist/cjs/{hi-836bb056.js → hi-24139306.js} +15 -15
  255. package/dist/cjs/{hr-9f1f246e.js → hr-79d57eae.js} +15 -15
  256. package/dist/cjs/{hu-ac08b971.js → hu-205086bc.js} +15 -15
  257. package/dist/cjs/{id-2ef8fe4c.js → id-91bf846d.js} +15 -15
  258. package/dist/cjs/{index-ccb33d77.js → index-f6c60c7c.js} +1 -1
  259. package/dist/cjs/index.cjs.js +2 -2
  260. package/dist/cjs/{interactive-8d600ef0.js → interactive-e54741d5.js} +1 -1
  261. package/dist/cjs/{it-9367ea51.js → it-a01164f1.js} +15 -15
  262. package/dist/cjs/{it-ch-4ad8c6be.js → it-ch-781af4f5.js} +15 -15
  263. package/dist/cjs/{ja-eccd4e17.js → ja-2646961b.js} +15 -15
  264. package/dist/cjs/{key-23df7b73.js → key-f9022b65.js} +1 -1
  265. package/dist/cjs/{ko-f4643878.js → ko-f49fa627.js} +15 -15
  266. package/dist/cjs/{label-0e6cdf45.js → label-bfdca4ba.js} +2 -2
  267. package/dist/cjs/{loadable-9cd208d8.js → loadable-36385423.js} +2 -2
  268. package/dist/cjs/loader.cjs.js +4 -4
  269. package/dist/cjs/{locale-aea1911d.js → locale-ca53a712.js} +4 -4
  270. package/dist/cjs/{lt-60084e68.js → lt-78031508.js} +15 -15
  271. package/dist/cjs/{lv-8b8d4292.js → lv-cf487e02.js} +15 -15
  272. package/dist/cjs/{math-9a45bc07.js → math-a1b51377.js} +1 -1
  273. package/dist/cjs/{mk-166c8cdd.js → mk-e91676fc.js} +15 -15
  274. package/dist/cjs/{nb-99381eac.js → nb-6bd3482d.js} +15 -15
  275. package/dist/cjs/{nl-7b3a61ee.js → nl-17a09b47.js} +15 -15
  276. package/dist/cjs/{observers-bfb75aaf.js → observers-457d06cc.js} +1 -1
  277. package/dist/cjs/{openCloseComponent-dbe81418.js → openCloseComponent-5cf0824e.js} +2 -2
  278. package/dist/cjs/{pl-394c167b.js → pl-39f94911.js} +15 -15
  279. package/dist/cjs/{pt-5d9ba66d.js → pt-1d3b6f02.js} +15 -15
  280. package/dist/cjs/{pt-br-561adff5.js → pt-br-2f5cb5c2.js} +15 -15
  281. package/dist/cjs/{resources-4118c1ff.js → resources-0f765cc8.js} +1 -1
  282. package/dist/cjs/{resources-e61dfd73.js → resources-1a2674ff.js} +1 -1
  283. package/dist/cjs/{resources-1ed7954e.js → resources-3282d454.js} +1 -1
  284. package/dist/cjs/{resources-1cc5f6f1.js → resources-33c26d8e.js} +5 -5
  285. package/dist/cjs/{resources-687ddd4e.js → resources-34959341.js} +1 -1
  286. package/dist/cjs/{resources-767739c8.js → resources-44b89b36.js} +1 -1
  287. package/dist/cjs/{resources-7d158567.js → resources-b1fc69d8.js} +1 -1
  288. package/dist/cjs/{ro-dcda8650.js → ro-64df64fe.js} +15 -15
  289. package/dist/cjs/{ru-69f165de.js → ru-4bc395a0.js} +15 -15
  290. package/dist/cjs/{sk-d03e44d0.js → sk-080b1c77.js} +15 -15
  291. package/dist/cjs/{sl-1a87e11a.js → sl-36706774.js} +15 -15
  292. package/dist/cjs/{sortableComponent-ccb38324.js → sortableComponent-b9cfe76f.js} +2 -2
  293. package/dist/cjs/{sr-ee9567c2.js → sr-88c2206b.js} +15 -15
  294. package/dist/cjs/{sv-40e7df0e.js → sv-522cbd30.js} +15 -15
  295. package/dist/cjs/{t9n-e92eba9f.js → t9n-36877c6e.js} +3 -3
  296. package/dist/cjs/{th-6cddd97e.js → th-c14d9db9.js} +15 -15
  297. package/dist/cjs/{throttle-dfcee5e2.js → throttle-e87db1a9.js} +2 -2
  298. package/dist/cjs/{tr-a24d534e.js → tr-fe14e5bf.js} +15 -15
  299. package/dist/cjs/{uk-ee051fdb.js → uk-a1d7d945.js} +15 -15
  300. package/dist/cjs/{utils-660ff288.js → utils-4e2c4039.js} +3 -3
  301. package/dist/cjs/{utils-6b30a4b8.js → utils-55680a92.js} +1 -1
  302. package/dist/cjs/{vi-fc04cc4a.js → vi-134e839b.js} +15 -15
  303. package/dist/cjs/{zh-cn-ce6c8f11.js → zh-cn-ffc9f3fa.js} +15 -15
  304. package/dist/cjs/{zh-hk-6115d5c6.js → zh-hk-40828f6d.js} +15 -15
  305. package/dist/cjs/{zh-tw-998f76f4.js → zh-tw-5920fec0.js} +15 -15
  306. package/dist/collection/components/accordion/accordion.js +1 -1
  307. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  308. package/dist/collection/components/accordion-item/resources.js +1 -1
  309. package/dist/collection/components/action/action.js +1 -1
  310. package/dist/collection/components/action/resources.js +1 -1
  311. package/dist/collection/components/action-bar/action-bar.js +1 -1
  312. package/dist/collection/components/action-bar/resources.js +1 -1
  313. package/dist/collection/components/action-bar/utils.js +1 -1
  314. package/dist/collection/components/action-group/action-group.js +1 -1
  315. package/dist/collection/components/action-group/resources.js +1 -1
  316. package/dist/collection/components/action-menu/action-menu.js +1 -1
  317. package/dist/collection/components/action-menu/resources.js +1 -1
  318. package/dist/collection/components/action-pad/action-pad.js +1 -1
  319. package/dist/collection/components/action-pad/resources.js +1 -1
  320. package/dist/collection/components/alert/alert.js +1 -1
  321. package/dist/collection/components/alert/resources.js +1 -1
  322. package/dist/collection/components/avatar/avatar.js +1 -1
  323. package/dist/collection/components/avatar/utils.js +1 -1
  324. package/dist/collection/components/block/block.js +1 -1
  325. package/dist/collection/components/block/resources.js +1 -1
  326. package/dist/collection/components/block-section/block-section.js +1 -1
  327. package/dist/collection/components/block-section/resources.js +1 -1
  328. package/dist/collection/components/button/button.js +1 -1
  329. package/dist/collection/components/button/resources.js +1 -1
  330. package/dist/collection/components/card/card.js +1 -1
  331. package/dist/collection/components/card/resources.js +1 -1
  332. package/dist/collection/components/checkbox/checkbox.js +1 -1
  333. package/dist/collection/components/chip/chip.js +1 -1
  334. package/dist/collection/components/chip/resources.js +1 -1
  335. package/dist/collection/components/chip-group/chip-group.js +1 -1
  336. package/dist/collection/components/color-picker/color-picker.js +1 -1
  337. package/dist/collection/components/color-picker/resources.js +1 -1
  338. package/dist/collection/components/color-picker/utils.js +1 -1
  339. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  340. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  341. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  342. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  343. package/dist/collection/components/combobox/combobox.js +1 -1
  344. package/dist/collection/components/combobox/resources.js +1 -1
  345. package/dist/collection/components/combobox/utils.js +1 -1
  346. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  347. package/dist/collection/components/combobox-item/resources.js +1 -1
  348. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  349. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  350. package/dist/collection/components/date-picker/date-picker.js +1 -1
  351. package/dist/collection/components/date-picker/resources.js +1 -1
  352. package/dist/collection/components/date-picker/utils.js +1 -1
  353. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  354. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  355. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  356. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  357. package/dist/collection/components/dropdown/dropdown.js +1 -1
  358. package/dist/collection/components/dropdown/resources.js +1 -1
  359. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  360. package/dist/collection/components/dropdown-group/resources.js +1 -1
  361. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  362. package/dist/collection/components/dropdown-item/resources.js +1 -1
  363. package/dist/collection/components/fab/fab.js +1 -1
  364. package/dist/collection/components/fab/resources.js +1 -1
  365. package/dist/collection/components/filter/filter.js +1 -1
  366. package/dist/collection/components/filter/resources.js +1 -1
  367. package/dist/collection/components/flow/flow.js +1 -1
  368. package/dist/collection/components/flow/resources.js +1 -1
  369. package/dist/collection/components/flow-item/flow-item.js +1 -1
  370. package/dist/collection/components/flow-item/resources.js +1 -1
  371. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  372. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  373. package/dist/collection/components/functional/Heading.js +1 -1
  374. package/dist/collection/components/functional/XButton.js +1 -1
  375. package/dist/collection/components/graph/graph.js +1 -1
  376. package/dist/collection/components/graph/util.js +1 -1
  377. package/dist/collection/components/handle/handle.js +1 -1
  378. package/dist/collection/components/handle/resources.js +1 -1
  379. package/dist/collection/components/icon/icon.js +1 -1
  380. package/dist/collection/components/icon/resources.js +1 -1
  381. package/dist/collection/components/icon/utils.js +1 -1
  382. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  383. package/dist/collection/components/inline-editable/resources.js +1 -1
  384. package/dist/collection/components/input/input.js +1 -1
  385. package/dist/collection/components/input/resources.js +1 -1
  386. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  387. package/dist/collection/components/input-date-picker/resources.js +1 -1
  388. package/dist/collection/components/input-message/input-message.js +1 -1
  389. package/dist/collection/components/input-message/interfaces.js +1 -1
  390. package/dist/collection/components/input-number/input-number.js +1 -1
  391. package/dist/collection/components/input-number/resources.js +1 -1
  392. package/dist/collection/components/input-text/input-text.js +1 -1
  393. package/dist/collection/components/input-text/resources.js +1 -1
  394. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  395. package/dist/collection/components/input-time-picker/resources.js +1 -1
  396. package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
  397. package/dist/collection/components/input-time-zone/utils.js +1 -1
  398. package/dist/collection/components/label/label.js +1 -1
  399. package/dist/collection/components/label/resources.js +1 -1
  400. package/dist/collection/components/link/link.js +1 -1
  401. package/dist/collection/components/list/list.js +1 -1
  402. package/dist/collection/components/list/resources.js +1 -1
  403. package/dist/collection/components/list-item/list-item.js +1 -1
  404. package/dist/collection/components/list-item/resources.js +1 -1
  405. package/dist/collection/components/list-item/utils.js +1 -1
  406. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  407. package/dist/collection/components/list-item-group/resources.js +1 -1
  408. package/dist/collection/components/loader/loader.js +1 -1
  409. package/dist/collection/components/menu/menu.js +1 -1
  410. package/dist/collection/components/menu-item/menu-item.js +1 -1
  411. package/dist/collection/components/menu-item/resources.js +1 -1
  412. package/dist/collection/components/modal/modal.js +1 -1
  413. package/dist/collection/components/modal/resources.js +1 -1
  414. package/dist/collection/components/navigation/navigation.js +1 -1
  415. package/dist/collection/components/navigation/resources.js +1 -1
  416. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  417. package/dist/collection/components/navigation-logo/resources.js +1 -1
  418. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  419. package/dist/collection/components/navigation-user/resources.js +1 -1
  420. package/dist/collection/components/notice/notice.js +1 -1
  421. package/dist/collection/components/notice/resources.js +1 -1
  422. package/dist/collection/components/option/option.js +1 -1
  423. package/dist/collection/components/option-group/option-group.js +1 -1
  424. package/dist/collection/components/pagination/pagination.js +1 -1
  425. package/dist/collection/components/pagination/resources.js +1 -1
  426. package/dist/collection/components/panel/panel.js +1 -1
  427. package/dist/collection/components/panel/resources.js +1 -1
  428. package/dist/collection/components/pick-list/pick-list.js +1 -1
  429. package/dist/collection/components/pick-list/resources.js +1 -1
  430. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  431. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  432. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  433. package/dist/collection/components/pick-list-group/resources.js +1 -1
  434. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  435. package/dist/collection/components/pick-list-item/resources.js +1 -1
  436. package/dist/collection/components/popover/PopoverManager.js +1 -1
  437. package/dist/collection/components/popover/popover.js +1 -1
  438. package/dist/collection/components/popover/resources.js +1 -1
  439. package/dist/collection/components/progress/progress.js +1 -1
  440. package/dist/collection/components/radio-button/radio-button.js +1 -1
  441. package/dist/collection/components/radio-button/resources.js +1 -1
  442. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  443. package/dist/collection/components/rating/function/star.js +1 -1
  444. package/dist/collection/components/rating/rating.js +1 -1
  445. package/dist/collection/components/resources.js +1 -1
  446. package/dist/collection/components/scrim/resources.js +1 -1
  447. package/dist/collection/components/scrim/scrim.js +1 -1
  448. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  449. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  450. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  451. package/dist/collection/components/select/resources.js +1 -1
  452. package/dist/collection/components/select/select.js +1 -1
  453. package/dist/collection/components/shell/resources.js +1 -1
  454. package/dist/collection/components/shell/shell.js +1 -1
  455. package/dist/collection/components/shell-center-row/resources.js +1 -1
  456. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  457. package/dist/collection/components/shell-panel/resources.js +1 -1
  458. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  459. package/dist/collection/components/slider/resources.js +1 -1
  460. package/dist/collection/components/slider/slider.js +1 -1
  461. package/dist/collection/components/sortable-list/resources.js +1 -1
  462. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  463. package/dist/collection/components/split-button/resources.js +1 -1
  464. package/dist/collection/components/split-button/split-button.js +1 -1
  465. package/dist/collection/components/stack/resources.js +1 -1
  466. package/dist/collection/components/stack/stack.js +1 -1
  467. package/dist/collection/components/stepper/stepper.js +1 -1
  468. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  469. package/dist/collection/components/switch/switch.js +1 -1
  470. package/dist/collection/components/tab/tab.js +1 -1
  471. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  472. package/dist/collection/components/tab-title/resources.js +1 -1
  473. package/dist/collection/components/tab-title/tab-title.js +1 -1
  474. package/dist/collection/components/tabs/resources.js +1 -1
  475. package/dist/collection/components/tabs/tabs.js +1 -1
  476. package/dist/collection/components/text-area/resources.js +1 -1
  477. package/dist/collection/components/text-area/text-area.js +1 -1
  478. package/dist/collection/components/tile/resources.js +1 -1
  479. package/dist/collection/components/tile/tile.js +1 -1
  480. package/dist/collection/components/tile-select/resources.js +1 -1
  481. package/dist/collection/components/tile-select/tile-select.js +1 -1
  482. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  483. package/dist/collection/components/time-picker/resources.js +1 -1
  484. package/dist/collection/components/time-picker/time-picker.js +1 -1
  485. package/dist/collection/components/tip/resources.js +1 -1
  486. package/dist/collection/components/tip/tip.js +1 -1
  487. package/dist/collection/components/tip-group/tip-group.js +1 -1
  488. package/dist/collection/components/tip-manager/resources.js +1 -1
  489. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  490. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  491. package/dist/collection/components/tooltip/resources.js +1 -1
  492. package/dist/collection/components/tooltip/tooltip.js +1 -1
  493. package/dist/collection/components/tooltip/utils.js +1 -1
  494. package/dist/collection/components/tree/tree.js +2 -2
  495. package/dist/collection/components/tree/utils.js +1 -1
  496. package/dist/collection/components/tree-item/resources.js +1 -1
  497. package/dist/collection/components/tree-item/tree-item.js +1 -1
  498. package/dist/collection/components/value-list/resources.js +1 -1
  499. package/dist/collection/components/value-list/utils.js +1 -1
  500. package/dist/collection/components/value-list/value-list.js +1 -1
  501. package/dist/collection/components/value-list-item/resources.js +1 -1
  502. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  503. package/dist/collection/index.js +1 -1
  504. package/dist/collection/utils/array.js +1 -1
  505. package/dist/collection/utils/browser.js +1 -1
  506. package/dist/collection/utils/conditionalSlot.js +1 -1
  507. package/dist/collection/utils/config.js +1 -1
  508. package/dist/collection/utils/date.js +1 -1
  509. package/dist/collection/utils/dom.js +1 -1
  510. package/dist/collection/utils/filter.js +1 -1
  511. package/dist/collection/utils/floating-ui.js +1 -1
  512. package/dist/collection/utils/focusTrapComponent.js +1 -1
  513. package/dist/collection/utils/form.js +1 -1
  514. package/dist/collection/utils/globalAttributes.js +1 -1
  515. package/dist/collection/utils/globalScript.js +1 -1
  516. package/dist/collection/utils/guid.js +1 -1
  517. package/dist/collection/utils/interactive.js +1 -1
  518. package/dist/collection/utils/key.js +1 -1
  519. package/dist/collection/utils/label.js +1 -1
  520. package/dist/collection/utils/loadable.js +1 -1
  521. package/dist/collection/utils/locale.js +1 -1
  522. package/dist/collection/utils/math.js +1 -1
  523. package/dist/collection/utils/mode.js +1 -1
  524. package/dist/collection/utils/number.js +1 -1
  525. package/dist/collection/utils/observers.js +1 -1
  526. package/dist/collection/utils/openCloseComponent.js +1 -1
  527. package/dist/collection/utils/resources.js +1 -1
  528. package/dist/collection/utils/sortableComponent.js +1 -1
  529. package/dist/collection/utils/t9n.js +1 -1
  530. package/dist/collection/utils/time.js +1 -1
  531. package/dist/components/ExpandToggle.js +1 -1
  532. package/dist/components/FloatingArrow.js +1 -1
  533. package/dist/components/Heading.js +1 -1
  534. package/dist/components/action-group.js +1 -1
  535. package/dist/components/action-menu.js +1 -1
  536. package/dist/components/action.js +1 -1
  537. package/dist/components/ar.js +1 -1
  538. package/dist/components/array.js +1 -1
  539. package/dist/components/avatar.js +1 -1
  540. package/dist/components/bg.js +1 -1
  541. package/dist/components/bs.js +1 -1
  542. package/dist/components/button.js +1 -1
  543. package/dist/components/ca.js +1 -1
  544. package/dist/components/calcite-accordion-item.js +1 -1
  545. package/dist/components/calcite-accordion.js +1 -1
  546. package/dist/components/calcite-action-bar.js +1 -1
  547. package/dist/components/calcite-action-group.js +1 -1
  548. package/dist/components/calcite-action-menu.js +1 -1
  549. package/dist/components/calcite-action-pad.js +1 -1
  550. package/dist/components/calcite-action.js +1 -1
  551. package/dist/components/calcite-alert.js +1 -1
  552. package/dist/components/calcite-avatar.js +1 -1
  553. package/dist/components/calcite-block-section.js +1 -1
  554. package/dist/components/calcite-block.js +1 -1
  555. package/dist/components/calcite-button.js +1 -1
  556. package/dist/components/calcite-card.js +1 -1
  557. package/dist/components/calcite-checkbox.js +1 -1
  558. package/dist/components/calcite-chip-group.js +1 -1
  559. package/dist/components/calcite-chip.js +1 -1
  560. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  561. package/dist/components/calcite-color-picker-swatch.js +1 -1
  562. package/dist/components/calcite-color-picker.js +1 -1
  563. package/dist/components/calcite-combobox-item-group.js +1 -1
  564. package/dist/components/calcite-combobox-item.js +1 -1
  565. package/dist/components/calcite-combobox.js +1 -1
  566. package/dist/components/calcite-date-picker-day.js +1 -1
  567. package/dist/components/calcite-date-picker-month-header.js +1 -1
  568. package/dist/components/calcite-date-picker-month.js +1 -1
  569. package/dist/components/calcite-date-picker.js +1 -1
  570. package/dist/components/calcite-dropdown-group.js +1 -1
  571. package/dist/components/calcite-dropdown-item.js +1 -1
  572. package/dist/components/calcite-dropdown.js +1 -1
  573. package/dist/components/calcite-fab.js +1 -1
  574. package/dist/components/calcite-filter.js +1 -1
  575. package/dist/components/calcite-flow-item.js +1 -1
  576. package/dist/components/calcite-flow.js +1 -1
  577. package/dist/components/calcite-graph.js +1 -1
  578. package/dist/components/calcite-handle.js +1 -1
  579. package/dist/components/calcite-icon.js +1 -1
  580. package/dist/components/calcite-inline-editable.js +1 -1
  581. package/dist/components/calcite-input-date-picker.js +1 -1
  582. package/dist/components/calcite-input-message.js +1 -1
  583. package/dist/components/calcite-input-number.js +1 -1
  584. package/dist/components/calcite-input-text.js +1 -1
  585. package/dist/components/calcite-input-time-picker.js +1 -1
  586. package/dist/components/calcite-input-time-zone.js +1 -1
  587. package/dist/components/calcite-input.js +1 -1
  588. package/dist/components/calcite-label.js +1 -1
  589. package/dist/components/calcite-link.js +1 -1
  590. package/dist/components/calcite-list-item-group.js +1 -1
  591. package/dist/components/calcite-list-item.js +1 -1
  592. package/dist/components/calcite-list.js +1 -1
  593. package/dist/components/calcite-loader.js +1 -1
  594. package/dist/components/calcite-menu-item.js +1 -1
  595. package/dist/components/calcite-menu.js +1 -1
  596. package/dist/components/calcite-modal.js +1 -1
  597. package/dist/components/calcite-navigation-logo.js +1 -1
  598. package/dist/components/calcite-navigation-user.js +1 -1
  599. package/dist/components/calcite-navigation.js +1 -1
  600. package/dist/components/calcite-notice.js +1 -1
  601. package/dist/components/calcite-option-group.js +1 -1
  602. package/dist/components/calcite-option.js +1 -1
  603. package/dist/components/calcite-pagination.js +1 -1
  604. package/dist/components/calcite-panel.js +1 -1
  605. package/dist/components/calcite-pick-list-group.js +1 -1
  606. package/dist/components/calcite-pick-list-item.js +1 -1
  607. package/dist/components/calcite-pick-list.js +1 -1
  608. package/dist/components/calcite-popover.js +1 -1
  609. package/dist/components/calcite-progress.js +1 -1
  610. package/dist/components/calcite-radio-button-group.js +1 -1
  611. package/dist/components/calcite-radio-button.js +1 -1
  612. package/dist/components/calcite-rating.js +1 -1
  613. package/dist/components/calcite-scrim.js +1 -1
  614. package/dist/components/calcite-segmented-control-item.js +1 -1
  615. package/dist/components/calcite-segmented-control.js +1 -1
  616. package/dist/components/calcite-select.js +1 -1
  617. package/dist/components/calcite-shell-center-row.js +1 -1
  618. package/dist/components/calcite-shell-panel.js +1 -1
  619. package/dist/components/calcite-shell.js +1 -1
  620. package/dist/components/calcite-slider.js +1 -1
  621. package/dist/components/calcite-sortable-list.js +1 -1
  622. package/dist/components/calcite-split-button.js +1 -1
  623. package/dist/components/calcite-stack.js +1 -1
  624. package/dist/components/calcite-stepper-item.js +1 -1
  625. package/dist/components/calcite-stepper.js +1 -1
  626. package/dist/components/calcite-switch.js +1 -1
  627. package/dist/components/calcite-tab-nav.js +1 -1
  628. package/dist/components/calcite-tab-title.js +1 -1
  629. package/dist/components/calcite-tab.js +1 -1
  630. package/dist/components/calcite-tabs.js +1 -1
  631. package/dist/components/calcite-text-area.js +1 -1
  632. package/dist/components/calcite-tile-select-group.js +1 -1
  633. package/dist/components/calcite-tile-select.js +1 -1
  634. package/dist/components/calcite-tile.js +1 -1
  635. package/dist/components/calcite-time-picker.js +1 -1
  636. package/dist/components/calcite-tip-group.js +1 -1
  637. package/dist/components/calcite-tip-manager.js +1 -1
  638. package/dist/components/calcite-tip.js +1 -1
  639. package/dist/components/calcite-tooltip.js +1 -1
  640. package/dist/components/calcite-tree-item.js +1 -1
  641. package/dist/components/calcite-tree.js +2 -2
  642. package/dist/components/calcite-value-list-item.js +1 -1
  643. package/dist/components/calcite-value-list.js +1 -1
  644. package/dist/components/checkbox.js +1 -1
  645. package/dist/components/chip.js +1 -1
  646. package/dist/components/color-picker-hex-input.js +1 -1
  647. package/dist/components/color-picker-swatch.js +1 -1
  648. package/dist/components/combobox-item.js +1 -1
  649. package/dist/components/combobox.js +1 -1
  650. package/dist/components/conditionalSlot.js +1 -1
  651. package/dist/components/cs.js +1 -1
  652. package/dist/components/da.js +1 -1
  653. package/dist/components/date-picker-day.js +1 -1
  654. package/dist/components/date-picker-month-header.js +1 -1
  655. package/dist/components/date-picker-month.js +1 -1
  656. package/dist/components/date-picker.js +1 -1
  657. package/dist/components/date.js +1 -1
  658. package/dist/components/de-at.js +1 -1
  659. package/dist/components/de-ch.js +1 -1
  660. package/dist/components/de.js +1 -1
  661. package/dist/components/debounce.js +1 -1
  662. package/dist/components/dom.js +1 -1
  663. package/dist/components/dropdown.js +1 -1
  664. package/dist/components/el.js +1 -1
  665. package/dist/components/en-au.js +1 -1
  666. package/dist/components/en-ca.js +1 -1
  667. package/dist/components/en-gb.js +1 -1
  668. package/dist/components/es-mx.js +1 -1
  669. package/dist/components/es.js +1 -1
  670. package/dist/components/et.js +1 -1
  671. package/dist/components/fi.js +1 -1
  672. package/dist/components/filter.js +1 -1
  673. package/dist/components/filter2.js +1 -1
  674. package/dist/components/floating-ui.js +1 -1
  675. package/dist/components/focusTrapComponent.js +1 -1
  676. package/dist/components/form.js +1 -1
  677. package/dist/components/fr-ch.js +1 -1
  678. package/dist/components/fr.js +1 -1
  679. package/dist/components/graph.js +1 -1
  680. package/dist/components/guid.js +1 -1
  681. package/dist/components/handle.js +1 -1
  682. package/dist/components/he.js +1 -1
  683. package/dist/components/hi.js +1 -1
  684. package/dist/components/hr.js +1 -1
  685. package/dist/components/hu.js +1 -1
  686. package/dist/components/icon.js +1 -1
  687. package/dist/components/id.js +1 -1
  688. package/dist/components/index.js +1 -1
  689. package/dist/components/index2.js +1 -1
  690. package/dist/components/input-number.js +1 -1
  691. package/dist/components/input-text.js +1 -1
  692. package/dist/components/input.js +1 -1
  693. package/dist/components/interactive.js +1 -1
  694. package/dist/components/it-ch.js +1 -1
  695. package/dist/components/it.js +1 -1
  696. package/dist/components/ja.js +1 -1
  697. package/dist/components/key.js +1 -1
  698. package/dist/components/ko.js +1 -1
  699. package/dist/components/label.js +1 -1
  700. package/dist/components/label2.js +1 -1
  701. package/dist/components/link.js +1 -1
  702. package/dist/components/loadable.js +1 -1
  703. package/dist/components/loader.js +1 -1
  704. package/dist/components/locale.js +1 -1
  705. package/dist/components/lt.js +1 -1
  706. package/dist/components/lv.js +1 -1
  707. package/dist/components/math.js +1 -1
  708. package/dist/components/menu.js +1 -1
  709. package/dist/components/mk.js +1 -1
  710. package/dist/components/nb.js +1 -1
  711. package/dist/components/nl.js +1 -1
  712. package/dist/components/observers.js +1 -1
  713. package/dist/components/openCloseComponent.js +1 -1
  714. package/dist/components/panel.js +1 -1
  715. package/dist/components/pick-list-item.js +1 -1
  716. package/dist/components/pl.js +1 -1
  717. package/dist/components/popover.js +1 -1
  718. package/dist/components/progress.js +1 -1
  719. package/dist/components/pt-br.js +1 -1
  720. package/dist/components/pt.js +1 -1
  721. package/dist/components/resources.js +1 -1
  722. package/dist/components/resources2.js +1 -1
  723. package/dist/components/resources3.js +1 -1
  724. package/dist/components/ro.js +1 -1
  725. package/dist/components/ru.js +1 -1
  726. package/dist/components/scrim.js +1 -1
  727. package/dist/components/shared-list-render.js +1 -1
  728. package/dist/components/sk.js +1 -1
  729. package/dist/components/sl.js +1 -1
  730. package/dist/components/sortableComponent.js +1 -1
  731. package/dist/components/sr.js +1 -1
  732. package/dist/components/stack.js +1 -1
  733. package/dist/components/sv.js +1 -1
  734. package/dist/components/switch.js +1 -1
  735. package/dist/components/t9n.js +1 -1
  736. package/dist/components/tab-nav.js +1 -1
  737. package/dist/components/tab-title.js +1 -1
  738. package/dist/components/tab.js +1 -1
  739. package/dist/components/tabs.js +1 -1
  740. package/dist/components/th.js +1 -1
  741. package/dist/components/throttle.js +1 -1
  742. package/dist/components/tile.js +1 -1
  743. package/dist/components/time-picker.js +1 -1
  744. package/dist/components/tr.js +1 -1
  745. package/dist/components/uk.js +1 -1
  746. package/dist/components/utils.js +1 -1
  747. package/dist/components/utils2.js +1 -1
  748. package/dist/components/utils3.js +1 -1
  749. package/dist/components/vi.js +1 -1
  750. package/dist/components/zh-cn.js +1 -1
  751. package/dist/components/zh-hk.js +1 -1
  752. package/dist/components/zh-tw.js +1 -1
  753. package/dist/esm/{ExpandToggle-c25532fd.js → ExpandToggle-83644cbc.js} +5 -5
  754. package/dist/esm/{FloatingArrow-ce571fa8.js → FloatingArrow-1f5e2ac8.js} +2 -2
  755. package/dist/esm/{Heading-2b60e4f7.js → Heading-192d6afa.js} +2 -2
  756. package/dist/esm/{app-globals-c0bbfc7a.js → app-globals-0850be91.js} +2 -2
  757. package/dist/esm/{ar-025bcd22.js → ar-7bf5975f.js} +15 -15
  758. package/dist/esm/{array-c0d0be3b.js → array-9ded6f72.js} +1 -1
  759. package/dist/esm/{bg-4dfa027a.js → bg-90837eae.js} +15 -15
  760. package/dist/esm/{bs-a41bd3a3.js → bs-55eb12be.js} +15 -15
  761. package/dist/esm/{ca-d8cab58d.js → ca-a5f64bb2.js} +15 -15
  762. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  763. package/dist/esm/calcite-action-bar.entry.js +15 -15
  764. package/dist/esm/calcite-action-group.entry.js +13 -13
  765. package/dist/esm/calcite-action-menu.entry.js +9 -9
  766. package/dist/esm/calcite-action-pad.entry.js +14 -14
  767. package/dist/esm/calcite-action.entry.js +11 -11
  768. package/dist/esm/calcite-alert.entry.js +12 -12
  769. package/dist/esm/calcite-avatar.entry.js +6 -6
  770. package/dist/esm/calcite-block_2.entry.js +13 -13
  771. package/dist/esm/calcite-button.entry.js +13 -13
  772. package/dist/esm/calcite-card.entry.js +10 -10
  773. package/dist/esm/calcite-checkbox.entry.js +10 -10
  774. package/dist/esm/calcite-chip-group.entry.js +8 -8
  775. package/dist/esm/calcite-chip.entry.js +12 -12
  776. package/dist/esm/calcite-color-picker_3.entry.js +15 -15
  777. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  778. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  779. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  780. package/dist/esm/calcite-fab.entry.js +7 -7
  781. package/dist/esm/calcite-filter.entry.js +13 -13
  782. package/dist/esm/calcite-flow-item.entry.js +12 -12
  783. package/dist/esm/calcite-flow.entry.js +4 -4
  784. package/dist/esm/calcite-graph_2.entry.js +13 -13
  785. package/dist/esm/calcite-handle.entry.js +10 -10
  786. package/dist/esm/calcite-icon.entry.js +6 -6
  787. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  788. package/dist/esm/calcite-input-date-picker.entry.js +18 -18
  789. package/dist/esm/calcite-input-message.entry.js +5 -5
  790. package/dist/esm/calcite-input-number.entry.js +13 -13
  791. package/dist/esm/calcite-input-text.entry.js +13 -13
  792. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-391f28c2.js → calcite-input-time-picker.calcite-time-picker-04b03d81.js} +60 -60
  793. package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
  794. package/dist/esm/calcite-input-time-zone.entry.js +13 -13
  795. package/dist/esm/calcite-input.entry.js +13 -13
  796. package/dist/esm/calcite-label.entry.js +6 -6
  797. package/dist/esm/calcite-link.entry.js +7 -7
  798. package/dist/esm/calcite-list_3.entry.js +14 -14
  799. package/dist/esm/calcite-loader.entry.js +3 -3
  800. package/dist/esm/calcite-menu_2.entry.js +10 -10
  801. package/dist/esm/calcite-modal.entry.js +13 -13
  802. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  803. package/dist/esm/calcite-notice.entry.js +12 -12
  804. package/dist/esm/calcite-option_3.entry.js +10 -10
  805. package/dist/esm/calcite-pagination.entry.js +10 -10
  806. package/dist/esm/calcite-panel.entry.js +14 -14
  807. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  808. package/dist/esm/calcite-popover.entry.js +16 -16
  809. package/dist/esm/calcite-progress.entry.js +5 -5
  810. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  811. package/dist/esm/calcite-radio-button.entry.js +10 -10
  812. package/dist/esm/calcite-rating.entry.js +13 -13
  813. package/dist/esm/calcite-scrim.entry.js +9 -9
  814. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  815. package/dist/esm/calcite-shell_3.entry.js +11 -11
  816. package/dist/esm/calcite-sortable-list.entry.js +8 -8
  817. package/dist/esm/calcite-split-button.entry.js +4 -4
  818. package/dist/esm/calcite-stack.entry.js +6 -6
  819. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  820. package/dist/esm/calcite-switch.entry.js +10 -10
  821. package/dist/esm/calcite-tab_4.entry.js +10 -10
  822. package/dist/esm/calcite-text-area.entry.js +15 -15
  823. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  824. package/dist/esm/calcite-tile.entry.js +8 -8
  825. package/dist/esm/calcite-tip_3.entry.js +11 -11
  826. package/dist/esm/calcite-tooltip.entry.js +9 -9
  827. package/dist/esm/calcite-tree_2.entry.js +9 -9
  828. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  829. package/dist/esm/calcite.js +5 -5
  830. package/dist/esm/{conditionalSlot-7da073aa.js → conditionalSlot-e4b6e1bf.js} +3 -3
  831. package/dist/esm/{cs-38ae03b1.js → cs-bdb0d590.js} +15 -15
  832. package/dist/esm/{da-2aa7fff2.js → da-ddfffae5.js} +15 -15
  833. package/dist/esm/{de-87598b06.js → de-aa042261.js} +15 -15
  834. package/dist/esm/{de-at-f595395f.js → de-at-eda468a7.js} +15 -15
  835. package/dist/esm/{de-ch-98a42265.js → de-ch-08c0d716.js} +15 -15
  836. package/dist/esm/{debounce-4f56b50d.js → debounce-80bf509f.js} +1 -1
  837. package/dist/esm/{dom-1a2554bf.js → dom-70f87bb8.js} +3 -3
  838. package/dist/esm/{el-5dde402d.js → el-a7a52e1f.js} +15 -15
  839. package/dist/esm/{en-au-05ee1cff.js → en-au-275f1ac9.js} +15 -15
  840. package/dist/esm/{en-ca-badad33a.js → en-ca-89dbf9ff.js} +15 -15
  841. package/dist/esm/{en-gb-f8090c51.js → en-gb-b187801b.js} +15 -15
  842. package/dist/esm/{es-6870973b.js → es-191e7d18.js} +15 -15
  843. package/dist/esm/{es-mx-981bac27.js → es-mx-3835c02a.js} +15 -15
  844. package/dist/esm/{et-ac846dde.js → et-a2b84e40.js} +15 -15
  845. package/dist/esm/{fi-85449260.js → fi-3f83f0fc.js} +15 -15
  846. package/dist/esm/{filter-5e4856f3.js → filter-c78dec8a.js} +2 -2
  847. package/dist/esm/{floating-ui-9dee6536.js → floating-ui-7f1ac55e.js} +3 -3
  848. package/dist/esm/{focusTrapComponent-1bbb06a0.js → focusTrapComponent-de872cfa.js} +2 -2
  849. package/dist/esm/{form-09d9da7a.js → form-53109aab.js} +3 -3
  850. package/dist/esm/{fr-f0382edb.js → fr-11e5e9f1.js} +15 -15
  851. package/dist/esm/{fr-ch-80fb1c77.js → fr-ch-a16a45f2.js} +15 -15
  852. package/dist/esm/{guid-a8d9b7f0.js → guid-75e94435.js} +1 -1
  853. package/dist/esm/{he-ec685f83.js → he-08ccba7c.js} +15 -15
  854. package/dist/esm/{hi-1da1f7fd.js → hi-81ce3ce7.js} +15 -15
  855. package/dist/esm/{hr-76765e1c.js → hr-cf6b6076.js} +15 -15
  856. package/dist/esm/{hu-2423fde8.js → hu-190ba69a.js} +15 -15
  857. package/dist/esm/{id-370592cc.js → id-b52a555c.js} +15 -15
  858. package/dist/esm/{index-dad96f54.js → index-76772a59.js} +1 -1
  859. package/dist/esm/index.js +2 -2
  860. package/dist/esm/{interactive-ded24be0.js → interactive-fd9039e5.js} +1 -1
  861. package/dist/esm/{it-f8208c65.js → it-c103903f.js} +15 -15
  862. package/dist/esm/{it-ch-2754c3bf.js → it-ch-5fae6bdf.js} +15 -15
  863. package/dist/esm/{ja-624d5265.js → ja-9fe332b8.js} +15 -15
  864. package/dist/esm/{key-1b5932a8.js → key-ccd219e2.js} +1 -1
  865. package/dist/esm/{ko-fcbbd319.js → ko-01143107.js} +15 -15
  866. package/dist/esm/{label-9ce5ec27.js → label-2e541f67.js} +2 -2
  867. package/dist/esm/{loadable-84c8a19d.js → loadable-b88c9fa3.js} +2 -2
  868. package/dist/esm/loader.js +5 -5
  869. package/dist/esm/{locale-cd783b3a.js → locale-22e7b754.js} +4 -4
  870. package/dist/esm/{lt-1aa30a86.js → lt-976c0d35.js} +15 -15
  871. package/dist/esm/{lv-cf136d18.js → lv-1e53a3d2.js} +15 -15
  872. package/dist/esm/{math-d1a121dd.js → math-2b631262.js} +1 -1
  873. package/dist/esm/{mk-0efbcda0.js → mk-dd3e1048.js} +15 -15
  874. package/dist/esm/{nb-09431b03.js → nb-da0c4e5b.js} +15 -15
  875. package/dist/esm/{nl-cfd8d006.js → nl-8e112d4c.js} +15 -15
  876. package/dist/esm/{observers-06afcba7.js → observers-ba88aca4.js} +1 -1
  877. package/dist/esm/{openCloseComponent-ebd1ceeb.js → openCloseComponent-a2312cb6.js} +2 -2
  878. package/dist/esm/{pl-d8ce811f.js → pl-4896f58f.js} +15 -15
  879. package/dist/esm/{pt-f34701c1.js → pt-676e3f29.js} +15 -15
  880. package/dist/esm/{pt-br-80df8772.js → pt-br-142468bc.js} +15 -15
  881. package/dist/esm/{resources-9d5db1a3.js → resources-1956d506.js} +1 -1
  882. package/dist/esm/{resources-4db8964f.js → resources-1bdf0296.js} +1 -1
  883. package/dist/esm/{resources-44ba21fc.js → resources-32eb1df4.js} +1 -1
  884. package/dist/esm/{resources-c0c7774f.js → resources-78736562.js} +1 -1
  885. package/dist/esm/{resources-fd1ed28f.js → resources-915f0f43.js} +1 -1
  886. package/dist/esm/{resources-5671d14d.js → resources-ef87c3d3.js} +5 -5
  887. package/dist/esm/{resources-c9c06370.js → resources-fdf31c7d.js} +1 -1
  888. package/dist/esm/{ro-46cc7a9b.js → ro-df8709b3.js} +15 -15
  889. package/dist/esm/{ru-9c195981.js → ru-809a87c3.js} +15 -15
  890. package/dist/esm/{sk-ea7a19e3.js → sk-b6b2f36b.js} +15 -15
  891. package/dist/esm/{sl-0a6c6e06.js → sl-c40e4387.js} +15 -15
  892. package/dist/esm/{sortableComponent-d231671a.js → sortableComponent-91550d88.js} +2 -2
  893. package/dist/esm/{sr-d5371db3.js → sr-749dd7c3.js} +15 -15
  894. package/dist/esm/{sv-e43dc2a1.js → sv-78758129.js} +15 -15
  895. package/dist/esm/{t9n-d12702c1.js → t9n-c0a0f340.js} +3 -3
  896. package/dist/esm/{th-0bcd5503.js → th-10444540.js} +15 -15
  897. package/dist/esm/{throttle-8410aba8.js → throttle-9a79dafa.js} +2 -2
  898. package/dist/esm/{tr-b9bb25dc.js → tr-6702458f.js} +15 -15
  899. package/dist/esm/{uk-93faf0c0.js → uk-4508705d.js} +15 -15
  900. package/dist/esm/{utils-7d1d5e7f.js → utils-e2252672.js} +1 -1
  901. package/dist/esm/{utils-66ca8422.js → utils-fd7e3fc3.js} +3 -3
  902. package/dist/esm/{vi-449af260.js → vi-291cf141.js} +15 -15
  903. package/dist/esm/{zh-cn-20a81433.js → zh-cn-119f45ac.js} +15 -15
  904. package/dist/esm/{zh-hk-9911faf3.js → zh-hk-f7beeaac.js} +15 -15
  905. package/dist/esm/{zh-tw-3767e6e3.js → zh-tw-37ad0659.js} +15 -15
  906. package/dist/extras/docs-json.json +1 -1
  907. package/dist/loader/cdn.js +1 -1
  908. package/dist/loader/index.cjs.js +1 -1
  909. package/dist/loader/index.es2017.js +1 -1
  910. package/dist/loader/index.js +1 -1
  911. package/hydrate/index.js +2 -2
  912. package/package.json +2 -2
  913. package/dist/calcite/p-0163b051.entry.js +0 -6
  914. package/dist/calcite/p-038bb72e.entry.js +0 -6
  915. package/dist/calcite/p-212b37ab.js +0 -6
  916. package/dist/calcite/p-35406b14.entry.js +0 -6
  917. package/dist/calcite/p-3c398cbc.js +0 -6
  918. package/dist/calcite/p-51057c9e.entry.js +0 -6
  919. package/dist/calcite/p-53bd3650.entry.js +0 -6
  920. package/dist/calcite/p-622ae495.entry.js +0 -6
  921. package/dist/calcite/p-632c0b92.js +0 -6
  922. package/dist/calcite/p-8cfe8141.entry.js +0 -6
  923. package/dist/calcite/p-96dc3b76.entry.js +0 -6
  924. package/dist/calcite/p-b1527527.entry.js +0 -6
  925. package/dist/calcite/p-b2d51e45.js +0 -6
  926. package/dist/calcite/p-c6966547.entry.js +0 -6
  927. package/dist/calcite/p-c9a7b666.entry.js +0 -6
  928. package/dist/calcite/p-ca070ea3.entry.js +0 -6
  929. package/dist/calcite/p-d230846e.js +0 -6
  930. package/dist/calcite/p-f6bc9bd6.entry.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.6.0-next.6
4
+ * v1.6.0-next.7
5
5
  */
6
- import{r as a,h as e,H as i,a as r}from"./p-77ab8e3f.js";import{g as t}from"./p-f06f40f6.js";const n=class{constructor(e){a(this,e),this.inline=!1,this.label=void 0,this.scale="m",this.type=void 0,this.value=0,this.text=""}render(){const{el:a,inline:r,label:n,scale:o,text:l,type:s,value:c}=this,d=a.id||t(),m=r?this.getInlineSize(o):this.getSize(o),v=.45*m,f=`0 0 ${m} ${m}`,g="determinate"===s,h=2*v*Math.PI,k=c/100*h,u=h-k,z=Math.floor(c),p={r:v,cx:m/2,cy:m/2},_={"stroke-dasharray":`${k} ${u}`};return e(i,{"aria-label":n,id:d,role:"progressbar",...g?{"aria-valuenow":z,"aria-valuemin":0,"aria-valuemax":100,complete:100===z}:{}},e("div",{class:"loader__svgs"},e("svg",{"aria-hidden":"true",class:"loader__svg loader__svg--1",viewBox:f},e("circle",{...p})),e("svg",{"aria-hidden":"true",class:"loader__svg loader__svg--2",viewBox:f},e("circle",{...p})),e("svg",{"aria-hidden":"true",class:"loader__svg loader__svg--3",viewBox:f,...g?{style:_}:{}},e("circle",{...p}))),l&&e("div",{class:"loader__text"},l),g&&e("div",{class:"loader__percentage"},c))}getSize(a){return{s:32,m:56,l:80}[a]}getInlineSize(a){return{s:12,m:16,l:20}[a]}get el(){return r(this)}};n.style='@charset "UTF-8";@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{position:relative;margin-inline:auto;display:none;align-items:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;transform:scale(1, 1);animation:loader-color-shift calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem)}:host([scale=s]){--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}:host([scale=m]){--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}:host([scale=l]){--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem}:host([no-padding]){padding-block:0px}:host{display:flex}.loader__text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}.loader__percentage{position:absolute;display:block;text-align:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;transform:scale(1, 1)}.loader__svgs{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);transform:scale(1, 1)}.loader__svg{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);animation-iteration-count:infinite;animation-timing-function:linear;animation-name:loader-clockwise}@supports (display: grid){.loader__svg--1{animation-name:loader-offset-1}.loader__svg--2{animation-name:loader-offset-2}.loader__svg--3{animation-name:loader-offset-3}}:host([type=determinate]){animation:none;stroke:var(--calcite-ui-border-3)}:host([type=determinate]) .loader__svg--3{animation:none;stroke:var(--calcite-ui-brand);stroke-dasharray:150.79632;transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}:host([inline]){position:relative;margin:0px;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}:host([inline]) .loader__svgs{inset-block-start:0px;margin:0px;inset-inline-start:0;inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([inline]) .loader__svg{inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([complete]){opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms}:host([complete]) .loader__svgs{opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms}:host([complete]) .loader__percentage{color:var(--calcite-ui-brand);transform:scale(1.05, 1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear}.loader__svg--1{stroke-dasharray:27.9252444444% 139.6262222222%;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2.4 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}.loader__svg--2{stroke-dasharray:55.8504888889% 139.6262222222%;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 3.2 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}.loader__svg--3{stroke-dasharray:13.9626222222% 139.6262222222%;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 3.867 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@keyframes loader-clockwise{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host([hidden]){display:none}[hidden]{display:none}';export{n as calcite_loader}
6
+ import{r as a,h as e,H as i,a as r}from"./p-ea45d78a.js";import{g as t}from"./p-bb33644e.js";const n=class{constructor(e){a(this,e),this.inline=!1,this.label=void 0,this.scale="m",this.type=void 0,this.value=0,this.text=""}render(){const{el:a,inline:r,label:n,scale:o,text:l,type:s,value:c}=this,d=a.id||t(),m=r?this.getInlineSize(o):this.getSize(o),v=.45*m,f=`0 0 ${m} ${m}`,g="determinate"===s,h=2*v*Math.PI,k=c/100*h,u=h-k,z=Math.floor(c),p={r:v,cx:m/2,cy:m/2},_={"stroke-dasharray":`${k} ${u}`};return e(i,{"aria-label":n,id:d,role:"progressbar",...g?{"aria-valuenow":z,"aria-valuemin":0,"aria-valuemax":100,complete:100===z}:{}},e("div",{class:"loader__svgs"},e("svg",{"aria-hidden":"true",class:"loader__svg loader__svg--1",viewBox:f},e("circle",{...p})),e("svg",{"aria-hidden":"true",class:"loader__svg loader__svg--2",viewBox:f},e("circle",{...p})),e("svg",{"aria-hidden":"true",class:"loader__svg loader__svg--3",viewBox:f,...g?{style:_}:{}},e("circle",{...p}))),l&&e("div",{class:"loader__text"},l),g&&e("div",{class:"loader__percentage"},c))}getSize(a){return{s:32,m:56,l:80}[a]}getInlineSize(a){return{s:12,m:16,l:20}[a]}get el(){return r(this)}};n.style='@charset "UTF-8";@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{position:relative;margin-inline:auto;display:none;align-items:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;transform:scale(1, 1);animation:loader-color-shift calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem)}:host([scale=s]){--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}:host([scale=m]){--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}:host([scale=l]){--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem}:host([no-padding]){padding-block:0px}:host{display:flex}.loader__text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}.loader__percentage{position:absolute;display:block;text-align:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;transform:scale(1, 1)}.loader__svgs{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);transform:scale(1, 1)}.loader__svg{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);animation-iteration-count:infinite;animation-timing-function:linear;animation-name:loader-clockwise}@supports (display: grid){.loader__svg--1{animation-name:loader-offset-1}.loader__svg--2{animation-name:loader-offset-2}.loader__svg--3{animation-name:loader-offset-3}}:host([type=determinate]){animation:none;stroke:var(--calcite-ui-border-3)}:host([type=determinate]) .loader__svg--3{animation:none;stroke:var(--calcite-ui-brand);stroke-dasharray:150.79632;transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}:host([inline]){position:relative;margin:0px;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}:host([inline]) .loader__svgs{inset-block-start:0px;margin:0px;inset-inline-start:0;inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([inline]) .loader__svg{inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([complete]){opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms}:host([complete]) .loader__svgs{opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms}:host([complete]) .loader__percentage{color:var(--calcite-ui-brand);transform:scale(1.05, 1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear}.loader__svg--1{stroke-dasharray:27.9252444444% 139.6262222222%;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2.4 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}.loader__svg--2{stroke-dasharray:55.8504888889% 139.6262222222%;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 3.2 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}.loader__svg--3{stroke-dasharray:13.9626222222% 139.6262222222%;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 3.867 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@keyframes loader-clockwise{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host([hidden]){display:none}[hidden]{display:none}';export{n as calcite_loader}
@@ -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.6.0-next.6
4
+ * v1.6.0-next.7
5
5
  */
6
- import{d as a}from"./p-5a1baaff.js";import"./p-77ab8e3f.js";import"./p-b2d51e45.js";import"./p-7c9ea17e.js";import"./p-f06f40f6.js";import"./p-307aa884.js";import"./p-b90d5fd5.js";import"./p-1eb2690b.js";import"./p-e0f9660e.js";import"./p-0d76465f.js";import"./p-db6d9ad3.js";import"./p-818a65b7.js";import"./p-cce42b50.js";import"./p-7848ff14.js";var r={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};a.locale(r,null,!0);export default r;
6
+ import{d as a}from"./p-dd2f5d00.js";import"./p-ea45d78a.js";import"./p-a3ca5949.js";import"./p-3e542cad.js";import"./p-bb33644e.js";import"./p-8ca84337.js";import"./p-bc34f2d2.js";import"./p-bd8b17cd.js";import"./p-6ce736c8.js";import"./p-664a58ac.js";import"./p-7e77669d.js";import"./p-1c1f6059.js";import"./p-c6409122.js";import"./p-7c9ab535.js";var r={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};a.locale(r,null,!0);export default r;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.6.0-next.6
4
+ * v1.6.0-next.7
5
5
  */
6
- import{r as i,c as t,h as c,a as e,H as o}from"./p-77ab8e3f.js";import{c as n}from"./p-818a65b7.js";import{c as a,d as r}from"./p-3c398cbc.js";import{g as s,b as l,t as d,c as h}from"./p-7c9ea17e.js";import{C as p}from"./p-307aa884.js";import"./p-f06f40f6.js";const m=class{constructor(c){i(this,c),this.calciteInternalAccordionChange=t(this,"calciteInternalAccordionChange",6),this.mutationObserver=n("mutation",(()=>this.updateAccordionItems())),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple"}handlePropsChange(){this.updateAccordionItems()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0}),this.updateAccordionItems()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const i="transparent"===this.appearance;return c("div",{class:{"accordion--transparent":i,accordion:!i}},c("slot",null))}updateActiveItemOnChange(i){this.calciteInternalAccordionChange.emit({requestedAccordionItem:i.detail.requestedAccordionItem}),i.stopPropagation()}updateAccordionItems(){this.el.querySelectorAll("calcite-accordion-item").forEach((i=>{i.iconPosition=this.iconPosition,i.iconType=this.iconType,i.scale=this.scale})),document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"))}get el(){return e(this)}static get watchers(){return{iconPosition:["handlePropsChange"],iconType:["handlePropsChange"],scale:["handlePropsChange"],selectionMode:["handlePropsChange"]}}};m.style=":host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}:host([hidden]){display:none}[hidden]{display:none}";const u="actions-start",g="actions-end",v=class{constructor(c){i(this,c),this.calciteInternalAccordionItemSelect=t(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=t(this,"calciteInternalAccordionItemClose",6),this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconPosition=void 0,this.iconType=void 0,this.accordionParent=void 0,this.scale=void 0}connectedCallback(){a(this)}disconnectedCallback(){r(this)}renderActionsStart(){const{el:i}=this;return s(i,u)?c("div",{class:"actions-start"},c("slot",{name:u})):null}renderActionsEnd(){const{el:i}=this;return s(i,g)?c("div",{class:"actions-end"},c("slot",{name:g})):null}render(){const{iconFlipRtl:i}=this,t=l(this.el),e=this.iconStart?c("calcite-icon",{class:"icon--start",flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:"l"===this.scale?"m":"s"}):null,n=this.iconEnd?c("calcite-icon",{class:"icon--end",flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:"l"===this.scale?"m":"s"}):null,{description:a}=this;return c(o,null,c("div",{class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},c("div",{class:{header:!0,[p.rtl]:"rtl"===t}},this.renderActionsStart(),c("div",{"aria-expanded":d(this.expanded),class:"header-content",onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},c("div",{class:"header-container"},e,c("div",{class:"header-text"},c("span",{class:"heading"},this.heading),a?c("span",{class:"description"},a):null),n),c("calcite-icon",{class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:"l"===this.scale?"m":"s"})),this.renderActionsEnd()),c("div",{class:"content"},c("slot",null))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){const[t]=i.composedPath(),c=h(this.el,"calcite-accordion");t===c&&(this.determineActiveItem(c.selectionMode,i.detail.requestedAccordionItem),i.stopPropagation())}accordionItemSyncHandler(i){const[t]=i.composedPath(),c=this.el;if(c.parentElement===t)return;const e=h(c,"calcite-accordion");t===e&&(c.iconPosition=e.iconPosition,c.iconType=e.iconType,c.scale=e.scale,i.stopPropagation())}determineActiveItem(i,t){switch(i){case"multiple":this.el===t&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===t&&!this.expanded;break;case"single-persist":this.expanded=this.el===t}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}get el(){return e(this)}};v.style=".icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:flex;flex-direction:column;color:var(--calcite-ui-text-3);text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:flex;align-items:stretch}:host .icon{position:relative;margin:0px;display:inline-flex;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.icon--start{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin)}.icon--end{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}.header-container{inline-size:100%}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}:host .content{display:none;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}:host .heading,:host .description{display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:flex;align-items:center}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}:host([hidden]){display:none}[hidden]{display:none}";export{m as calcite_accordion,v as calcite_accordion_item}
6
+ import{r as i,c as t,h as c,a as e,H as o}from"./p-ea45d78a.js";import{c as n}from"./p-1c1f6059.js";import{c as a,d as r}from"./p-67960062.js";import{g as s,b as l,t as d,c as h}from"./p-3e542cad.js";import{C as p}from"./p-8ca84337.js";import"./p-bb33644e.js";const m=class{constructor(c){i(this,c),this.calciteInternalAccordionChange=t(this,"calciteInternalAccordionChange",6),this.mutationObserver=n("mutation",(()=>this.updateAccordionItems())),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple"}handlePropsChange(){this.updateAccordionItems()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0}),this.updateAccordionItems()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const i="transparent"===this.appearance;return c("div",{class:{"accordion--transparent":i,accordion:!i}},c("slot",null))}updateActiveItemOnChange(i){this.calciteInternalAccordionChange.emit({requestedAccordionItem:i.detail.requestedAccordionItem}),i.stopPropagation()}updateAccordionItems(){this.el.querySelectorAll("calcite-accordion-item").forEach((i=>{i.iconPosition=this.iconPosition,i.iconType=this.iconType,i.scale=this.scale})),document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"))}get el(){return e(this)}static get watchers(){return{iconPosition:["handlePropsChange"],iconType:["handlePropsChange"],scale:["handlePropsChange"],selectionMode:["handlePropsChange"]}}};m.style=":host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}:host([hidden]){display:none}[hidden]{display:none}";const u="actions-start",g="actions-end",v=class{constructor(c){i(this,c),this.calciteInternalAccordionItemSelect=t(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=t(this,"calciteInternalAccordionItemClose",6),this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconPosition=void 0,this.iconType=void 0,this.accordionParent=void 0,this.scale=void 0}connectedCallback(){a(this)}disconnectedCallback(){r(this)}renderActionsStart(){const{el:i}=this;return s(i,u)?c("div",{class:"actions-start"},c("slot",{name:u})):null}renderActionsEnd(){const{el:i}=this;return s(i,g)?c("div",{class:"actions-end"},c("slot",{name:g})):null}render(){const{iconFlipRtl:i}=this,t=l(this.el),e=this.iconStart?c("calcite-icon",{class:"icon--start",flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:"l"===this.scale?"m":"s"}):null,n=this.iconEnd?c("calcite-icon",{class:"icon--end",flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:"l"===this.scale?"m":"s"}):null,{description:a}=this;return c(o,null,c("div",{class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},c("div",{class:{header:!0,[p.rtl]:"rtl"===t}},this.renderActionsStart(),c("div",{"aria-expanded":d(this.expanded),class:"header-content",onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},c("div",{class:"header-container"},e,c("div",{class:"header-text"},c("span",{class:"heading"},this.heading),a?c("span",{class:"description"},a):null),n),c("calcite-icon",{class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:"l"===this.scale?"m":"s"})),this.renderActionsEnd()),c("div",{class:"content"},c("slot",null))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){const[t]=i.composedPath(),c=h(this.el,"calcite-accordion");t===c&&(this.determineActiveItem(c.selectionMode,i.detail.requestedAccordionItem),i.stopPropagation())}accordionItemSyncHandler(i){const[t]=i.composedPath(),c=this.el;if(c.parentElement===t)return;const e=h(c,"calcite-accordion");t===e&&(c.iconPosition=e.iconPosition,c.iconType=e.iconType,c.scale=e.scale,i.stopPropagation())}determineActiveItem(i,t){switch(i){case"multiple":this.el===t&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===t&&!this.expanded;break;case"single-persist":this.expanded=this.el===t}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}get el(){return e(this)}};v.style=".icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:flex;flex-direction:column;color:var(--calcite-ui-text-3);text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:flex;align-items:stretch}:host .icon{position:relative;margin:0px;display:inline-flex;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.icon--start{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin)}.icon--end{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}.header-container{inline-size:100%}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}:host .content{display:none;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}:host .heading,:host .description{display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:flex;align-items:center}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}:host([hidden]){display:none}[hidden]{display:none}";export{m as calcite_accordion,v as calcite_accordion_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.6.0-next.6
4
+ * v1.6.0-next.7
5
5
  */
6
- import{d as _}from"./p-5a1baaff.js";import"./p-77ab8e3f.js";import"./p-b2d51e45.js";import"./p-7c9ea17e.js";import"./p-f06f40f6.js";import"./p-307aa884.js";import"./p-b90d5fd5.js";import"./p-1eb2690b.js";import"./p-e0f9660e.js";import"./p-0d76465f.js";import"./p-db6d9ad3.js";import"./p-818a65b7.js";import"./p-cce42b50.js";import"./p-7848ff14.js";var r="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),t="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),m="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),e="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),p=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function o(_,r,t){var m,e;return"m"===t?r?"минута":"минуту":_+" "+(m=+_,e={mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[t].split("_"),m%10==1&&m%100!=11?e[0]:m%10>=2&&m%10<=4&&(m%100<10||m%100>=20)?e[1]:e[2])}var s=function(_,m){return p.test(m)?r[_.month()]:t[_.month()]};s.s=t,s.f=r;var a=function(_,r){return p.test(r)?m[_.month()]:e[_.month()]};a.s=e,a.f=m;var i={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:a,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:o,mm:o,h:"час",hh:o,d:"день",dd:o,M:"месяц",MM:o,y:"год",yy:o},ordinal:function(_){return _},meridiem:function(_){return _<4?"ночи":_<12?"утра":_<17?"дня":"вечера"}};_.locale(i,null,!0);export default i;
6
+ import{d as _}from"./p-dd2f5d00.js";import"./p-ea45d78a.js";import"./p-a3ca5949.js";import"./p-3e542cad.js";import"./p-bb33644e.js";import"./p-8ca84337.js";import"./p-bc34f2d2.js";import"./p-bd8b17cd.js";import"./p-6ce736c8.js";import"./p-664a58ac.js";import"./p-7e77669d.js";import"./p-1c1f6059.js";import"./p-c6409122.js";import"./p-7c9ab535.js";var r="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),t="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),m="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),p="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),e=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function o(_,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 s=function(_,m){return e.test(m)?r[_.month()]:t[_.month()]};s.s=t,s.f=r;var a=function(_,r){return e.test(r)?m[_.month()]:p[_.month()]};a.s=p,a.f=m;var d={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:a,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:o,mm:o,h:"час",hh:o,d:"день",dd:o,M:"месяц",MM:o,y:"год",yy:o},ordinal:function(_){return _},meridiem:function(_){return _<4?"ночи":_<12?"утра":_<17?"дня":"вечера"}};_.locale(d,null,!0);export default d;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.6.0-next.6
4
+ * v1.6.0-next.7
5
5
  */
6
- import{r as t,c as e,h as i,a as o}from"./p-77ab8e3f.js";import{c as n,d as a}from"./p-3c398cbc.js";import{h as s,g as c}from"./p-7c9ea17e.js";import{s as l,a as r,c as d}from"./p-0d76465f.js";import{c as h,d as g}from"./p-db6d9ad3.js";import{c as m,d as p,s as f,u}from"./p-7848ff14.js";import{K as v}from"./p-74647a58.js";import"./p-818a65b7.js";import"./p-f06f40f6.js";import"./p-307aa884.js";import"./p-1eb2690b.js";const b="actions-end",k=class{constructor(i){t(this,i),this.calciteNoticeClose=e(this,"calciteNoticeClose",6),this.calciteNoticeOpen=e(this,"calciteNoticeOpen",6),this.close=()=>{this.open=!1,this.calciteNoticeClose.emit()},this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=s(v,this.icon,this.kind)}connectedCallback(){n(this),h(this),m(this)}disconnectedCallback(){a(this),g(this),p(this)}async componentWillLoad(){l(this),this.requestedIcon=s(v,this.icon,this.kind),await f(this)}componentDidLoad(){r(this)}render(){const{el:t}=this,e=i("button",{"aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:t=>this.closeButton=t},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),o=c(t,b);return i("div",{class:"container"},this.requestedIcon?i("div",{class:"notice-icon"},i("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"})):null,i("div",{class:"notice-content"},i("slot",{name:"title"}),i("slot",{name:"message"}),i("slot",{name:"link"})),o?i("div",{class:"actions-end"},i("slot",{name:b})):null,this.closable?e:null)}async setFocus(){await d(this);const t=this.el.querySelector("calcite-link");if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){u(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};k.style=":host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-ui-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([kind=info]) .container{border-color:var(--calcite-ui-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-ui-info)}:host([kind=danger]) .container{border-color:var(--calcite-ui-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([kind=success]) .container{border-color:var(--calcite-ui-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-ui-success)}:host([kind=warning]) .container{border-color:var(--calcite-ui-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([hidden]){display:none}[hidden]{display:none}";export{k as calcite_notice}
6
+ import{r as t,c as e,h as i,a as o}from"./p-ea45d78a.js";import{c as n,d as a}from"./p-67960062.js";import{h as s,g as c}from"./p-3e542cad.js";import{s as l,a as r,c as d}from"./p-664a58ac.js";import{c as h,d as g}from"./p-7e77669d.js";import{c as m,d as p,s as f,u}from"./p-7c9ab535.js";import{K as v}from"./p-27552187.js";import"./p-1c1f6059.js";import"./p-bb33644e.js";import"./p-8ca84337.js";import"./p-bd8b17cd.js";const b="actions-end",k=class{constructor(i){t(this,i),this.calciteNoticeClose=e(this,"calciteNoticeClose",6),this.calciteNoticeOpen=e(this,"calciteNoticeOpen",6),this.close=()=>{this.open=!1,this.calciteNoticeClose.emit()},this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=s(v,this.icon,this.kind)}connectedCallback(){n(this),h(this),m(this)}disconnectedCallback(){a(this),g(this),p(this)}async componentWillLoad(){l(this),this.requestedIcon=s(v,this.icon,this.kind),await f(this)}componentDidLoad(){r(this)}render(){const{el:t}=this,e=i("button",{"aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:t=>this.closeButton=t},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),o=c(t,b);return i("div",{class:"container"},this.requestedIcon?i("div",{class:"notice-icon"},i("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"})):null,i("div",{class:"notice-content"},i("slot",{name:"title"}),i("slot",{name:"message"}),i("slot",{name:"link"})),o?i("div",{class:"actions-end"},i("slot",{name:b})):null,this.closable?e:null)}async setFocus(){await d(this);const t=this.el.querySelector("calcite-link");if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){u(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};k.style=":host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-ui-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([kind=info]) .container{border-color:var(--calcite-ui-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-ui-info)}:host([kind=danger]) .container{border-color:var(--calcite-ui-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([kind=success]) .container{border-color:var(--calcite-ui-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-ui-success)}:host([kind=warning]) .container{border-color:var(--calcite-ui-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([hidden]){display:none}[hidden]{display:none}";export{k as calcite_notice}
@@ -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.6.0-next.6
4
+ * v1.6.0-next.7
5
5
  */
6
- import{d as _}from"./p-5a1baaff.js";import"./p-77ab8e3f.js";import"./p-b2d51e45.js";import"./p-7c9ea17e.js";import"./p-f06f40f6.js";import"./p-307aa884.js";import"./p-b90d5fd5.js";import"./p-1eb2690b.js";import"./p-e0f9660e.js";import"./p-0d76465f.js";import"./p-db6d9ad3.js";import"./p-818a65b7.js";import"./p-cce42b50.js";import"./p-7848ff14.js";var m="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),r="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),t=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function p(_,m,r){var t,p;return"m"===r?m?"хвилина":"хвилину":"h"===r?m?"година":"годину":_+" "+(t=+_,p={ss:m?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:m?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:m?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[r].split("_"),t%10==1&&t%100!=11?p[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?p[1]:p[2])}var s=function(_,p){return t.test(p)?m[_.month()]:r[_.month()]};s.s=r,s.f=m;var e={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:p,mm:p,h:p,hh:p,d:"день",dd:p,M:"місяць",MM:p,y:"рік",yy:p},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};_.locale(e,null,!0);export default e;
6
+ import{d as _}from"./p-dd2f5d00.js";import"./p-ea45d78a.js";import"./p-a3ca5949.js";import"./p-3e542cad.js";import"./p-bb33644e.js";import"./p-8ca84337.js";import"./p-bc34f2d2.js";import"./p-bd8b17cd.js";import"./p-6ce736c8.js";import"./p-664a58ac.js";import"./p-7e77669d.js";import"./p-1c1f6059.js";import"./p-c6409122.js";import"./p-7c9ab535.js";var m="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),r="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),t=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function p(_,m,r){var t,p;return"m"===r?m?"хвилина":"хвилину":"h"===r?m?"година":"годину":_+" "+(t=+_,p={ss:m?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:m?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:m?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[r].split("_"),t%10==1&&t%100!=11?p[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?p[1]:p[2])}var s=function(_,p){return t.test(p)?m[_.month()]:r[_.month()]};s.s=r,s.f=m;var o={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:p,mm:p,h:p,hh:p,d:"день",dd:p,M:"місяць",MM:p,y:"рік",yy:p},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};_.locale(o,null,!0);export default o;
@@ -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.6.0-next.7
5
+ */
6
+ import{q as n,c as t}from"./p-3e542cad.js";import{h as e}from"./p-ea45d78a.js";!function(n){function t(n,t,e){throw new n("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+t+".",e)}"function"!=typeof n.requestSubmit&&(n.requestSubmit=function(n){n?(function(n,e){n instanceof HTMLElement||t(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==n.type||t(TypeError,"The specified element is not a submit button"),n.form==e||t(DOMException,"The specified element is not owned by this form element","NotFoundError")}(n,this),n.click()):((n=document.createElement("input")).type="submit",n.hidden=!0,this.appendChild(n),n.click(),this.removeChild(n))})}(HTMLFormElement.prototype);const o="hidden-form-input";function r(n){return"checked"in n}const i=new WeakMap,s=new WeakSet;function c(n){const{formEl:t}=n;return!!t&&(t.requestSubmit(),!0)}function u(n){n.formEl?.reset()}function f(n){const{el:e,value:o}=n,c=m(n);if(!c||function(n,e){if(t(e.parentElement,"[form]"))return!0;const o="calciteInternalFormComponentRegister";let r=!1;return n.addEventListener(o,(n=>{r=n.composedPath().some((n=>s.has(n))),n.stopPropagation()}),{once:!0}),e.dispatchEvent(new CustomEvent(o,{bubbles:!0,composed:!0})),r}(c,e))return;n.formEl=c,n.defaultValue=o,r(n)&&(n.defaultChecked=n.checked);const u=(n.onFormReset||a).bind(n);c.addEventListener("reset",u),i.set(n.el,u),s.add(e)}function m(e){const{el:o,form:r}=e;return r?n(o,{id:r}):t(o,"form")}function a(){r(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function l(n){const{el:t,formEl:e}=n;if(!e)return;const o=i.get(t);e.removeEventListener("reset",o),i.delete(t),n.formEl=null,s.delete(t)}function p(n,t){n.defaultValue=t}const d=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},h=n=>n.removeEventListener("change",d);function b(n,t,e){const{defaultValue:o,disabled:i,form:s,name:c,required:u}=n;t.defaultValue=o,t.disabled=i,t.name=c,t.required=u,t.tabIndex=-1,s?t.setAttribute("form",s):t.removeAttribute("form"),r(n)?(t.checked=n.checked,t.defaultChecked=n.defaultChecked,t.value=n.checked?e||"on":""):t.value=e||"",n.syncHiddenFormInput?.(t)}const E=({component:n})=>(function(n){const{el:t,formEl:e,name:r,value:i}=n,{ownerDocument:s}=t,c=t.querySelectorAll(`input[slot="${o}"]`);if(!e||!r)return void c.forEach((n=>{h(n),n.remove()}));const u=Array.isArray(i)?i:[i],f=[],m=new Set;let a;c.forEach((t=>{const e=u.find((n=>n==t.value));null!=e?(m.add(e),b(n,t,e)):f.push(t)})),u.forEach((t=>{if(m.has(t))return;let e=f.pop();e||(e=s.createElement("input"),e.slot=o),a||(a=s.createDocumentFragment()),a.append(e),e.addEventListener("change",d),b(n,e,t)})),a&&t.append(a),f.forEach((n=>{h(n),n.remove()}))}(n),e("slot",{name:o}));export{E as H,p as a,f as c,l as d,m as f,u as r,c as s}
@@ -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.6.0-next.7
5
+ */
6
+ import{f as t,h as e}from"./p-ea45d78a.js";import{b as o}from"./p-3e542cad.js";import{S as a}from"./p-8c48d323.js";import{S as n}from"./p-6116a986.js";const i=150,c=t=>t.reduce(((t,e)=>t+e),0)/t.length,l=t=>{const e=t?.length;return{actionWidth:e?c(t.map((t=>t.clientWidth||0))):0,actionHeight:e?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:e,actionWidth:o,width:a,actionHeight:n,height:i,groupCount:c})=>Math.max(e-(({width:t,actionWidth:e,layout:o,height:a,actionHeight:n,groupCount:i})=>Math.floor((("horizontal"===o?t:a)-2*i)/("horizontal"===o?e:n)))({width:a,actionWidth:o,layout:t,height:i,actionHeight:n,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),p=({actionGroups:e,expanded:o,overflowCount:n})=>{let i=n;e.reverse().forEach((e=>{let n=0;const c=s(e).reverse();c.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&i--),i<1))),t(e)}))};function h({el:t,expanded:e}){s(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=e))}const d=({expanded:t,expandText:a,collapseText:n,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const h="rtl"===o(c),d=t?n:a,u=["chevrons-left","chevrons-right"];h&&u.reverse();const f="end"===function(t,e){return t||e.closest("calcite-shell-panel")?.position||"start"}(l,c),g=e("calcite-action",{icon:t?f?u[1]:u[0]:f?u[0]:u[1],onClick:i,scale:p,text:d,textEnabled:t,title:t||r?null:d,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:a})=>(t&&(t.referenceElement=!o&&e?e:null),a&&a(e),e))({tooltip:r,referenceElement:e,expanded:t,ref:s})});return g};export{d as E,p as a,r as b,l as g,i as o,s as q,h as t}
@@ -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.6.0-next.6
4
+ * v1.6.0-next.7
5
5
  */
6
- import{r as t,c as e,h as s,H as i,a as o}from"./p-77ab8e3f.js";import{b as a}from"./p-7c9ea17e.js";import{c as l,u as n,d as c}from"./p-b90d5fd5.js";import{s as r,a as d,c as h}from"./p-0d76465f.js";import{c as p,d as b}from"./p-db6d9ad3.js";import{c as m,s as f,d as u,u as g}from"./p-7848ff14.js";import{S as v}from"./p-12a795c8.js";import"./p-f06f40f6.js";import"./p-307aa884.js";import"./p-1eb2690b.js";import"./p-818a65b7.js";const w=class{constructor(s){t(this,s),this.calciteFlowItemBack=e(this,"calciteFlowItemBack",6),this.calciteFlowItemScroll=e(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=e(this,"calciteFlowItemClose",6),this.handlePanelScroll=t=>{t.stopPropagation(),this.calciteFlowItemScroll.emit()},this.handlePanelClose=t=>{t.stopPropagation(),this.calciteFlowItemClose.emit()},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.setContainerRef=t=>{this.containerEl=t},this.closable=!1,this.closed=!1,this.beforeBack=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.showBackButton=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){l(this),p(this),m(this)}async componentWillLoad(){await f(this),r(this)}componentDidRender(){n(this)}disconnectedCallback(){c(this),b(this),u(this)}componentDidLoad(){d(this)}effectiveLocaleChange(){g(this,this.effectiveLocale)}async setFocus(){await h(this);const{backButtonEl:t,containerEl:e}=this;return t?t.setFocus():e?e.setFocus():void 0}async scrollContentTo(t){await(this.containerEl?.scrollContentTo(t))}renderBackButton(){const{el:t}=this,e="rtl"===a(t),{showBackButton:i,backButtonClick:o,messages:l}=this,n=l.back;return i?s("calcite-action",{"aria-label":n,class:"back-button",icon:e?"chevron-right":"chevron-left",key:"flow-back-button",onClick:o,scale:"s",slot:"header-actions-start",text:n,title:n,ref:this.setBackRef}):null}render(){const{closable:t,closed:e,description:o,disabled:a,heading:l,headingLevel:n,loading:c,menuOpen:r,messages:d}=this;return s(i,null,s("calcite-panel",{closable:t,closed:e,description:o,disabled:a,heading:l,headingLevel:n,loading:c,menuOpen:r,messageOverrides:d,onCalcitePanelClose:this.handlePanelClose,onCalcitePanelScroll:this.handlePanelScroll,ref:this.setContainerRef},this.renderBackButton(),s("slot",{name:"action-bar",slot:v.actionBar}),s("slot",{name:"header-actions-start",slot:v.headerActionsStart}),s("slot",{name:"header-actions-end",slot:v.headerActionsEnd}),s("slot",{name:"header-content",slot:v.headerContent}),s("slot",{name:"header-menu-actions",slot:v.headerMenuActions}),s("slot",{name:"fab",slot:v.fab}),s("slot",{name:"footer-actions",slot:v.footerActions}),s("slot",{name:"footer",slot:v.footer}),s("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.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;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-flow-item-footer-padding:0.5rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding)}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_flow_item}
6
+ import{r as t,c as e,h as s,H as i,a as o}from"./p-ea45d78a.js";import{b as a}from"./p-3e542cad.js";import{c as l,u as c,d as n}from"./p-bc34f2d2.js";import{s as r,a as d,c as h}from"./p-664a58ac.js";import{c as b,d as p}from"./p-7e77669d.js";import{c as m,s as f,d as u,u as g}from"./p-7c9ab535.js";import{S as v}from"./p-b478f16c.js";import"./p-bb33644e.js";import"./p-8ca84337.js";import"./p-bd8b17cd.js";import"./p-1c1f6059.js";const w=class{constructor(s){t(this,s),this.calciteFlowItemBack=e(this,"calciteFlowItemBack",6),this.calciteFlowItemScroll=e(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=e(this,"calciteFlowItemClose",6),this.handlePanelScroll=t=>{t.stopPropagation(),this.calciteFlowItemScroll.emit()},this.handlePanelClose=t=>{t.stopPropagation(),this.calciteFlowItemClose.emit()},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.setContainerRef=t=>{this.containerEl=t},this.closable=!1,this.closed=!1,this.beforeBack=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.showBackButton=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){l(this),b(this),m(this)}async componentWillLoad(){await f(this),r(this)}componentDidRender(){c(this)}disconnectedCallback(){n(this),p(this),u(this)}componentDidLoad(){d(this)}effectiveLocaleChange(){g(this,this.effectiveLocale)}async setFocus(){await h(this);const{backButtonEl:t,containerEl:e}=this;return t?t.setFocus():e?e.setFocus():void 0}async scrollContentTo(t){await(this.containerEl?.scrollContentTo(t))}renderBackButton(){const{el:t}=this,e="rtl"===a(t),{showBackButton:i,backButtonClick:o,messages:l}=this,c=l.back;return i?s("calcite-action",{"aria-label":c,class:"back-button",icon:e?"chevron-right":"chevron-left",key:"flow-back-button",onClick:o,scale:"s",slot:"header-actions-start",text:c,title:c,ref:this.setBackRef}):null}render(){const{closable:t,closed:e,description:o,disabled:a,heading:l,headingLevel:c,loading:n,menuOpen:r,messages:d}=this;return s(i,null,s("calcite-panel",{closable:t,closed:e,description:o,disabled:a,heading:l,headingLevel:c,loading:n,menuOpen:r,messageOverrides:d,onCalcitePanelClose:this.handlePanelClose,onCalcitePanelScroll:this.handlePanelScroll,ref:this.setContainerRef},this.renderBackButton(),s("slot",{name:"action-bar",slot:v.actionBar}),s("slot",{name:"header-actions-start",slot:v.headerActionsStart}),s("slot",{name:"header-actions-end",slot:v.headerActionsEnd}),s("slot",{name:"header-content",slot:v.headerContent}),s("slot",{name:"header-menu-actions",slot:v.headerMenuActions}),s("slot",{name:"fab",slot:v.fab}),s("slot",{name:"footer-actions",slot:v.footerActions}),s("slot",{name:"footer",slot:v.footer}),s("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.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;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-flow-item-footer-padding:0.5rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding)}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_flow_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.6.0-next.6
4
+ * v1.6.0-next.7
5
5
  */
6
- import{r as e,c as t,f as i,h as s,H as a,a as o}from"./p-77ab8e3f.js";import{f as n,c as r,b as l,a as c,r as h,F as d}from"./p-336b7d40.js";import{d as f,a as p,c as m,u}from"./p-cce42b50.js";import{i as g,t as v,f as b,q as w}from"./p-7c9ea17e.js";import{g as y}from"./p-f06f40f6.js";import{o as x}from"./p-462483cc.js";import{H as k}from"./p-632c0b92.js";import{c as E,d as z}from"./p-db6d9ad3.js";import{u as H,c as j,s as P,d as D}from"./p-7848ff14.js";import{i as C}from"./p-1eb2690b.js";import{s as L,a as F,c as O}from"./p-0d76465f.js";import{c as R}from"./p-818a65b7.js";import{F as A}from"./p-9cbf2b6f.js";import"./p-3ee09731.js";import"./p-307aa884.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-ea45d78a.js";import{f as n,c as r,b as l,a as c,r as h,F as d}from"./p-bc06e293.js";import{d as p,a as f,c as m,u}from"./p-c6409122.js";import{i as g,t as v,f as b,q as w}from"./p-3e542cad.js";import{g as y}from"./p-bb33644e.js";import{o as x}from"./p-6795f713.js";import{H as k}from"./p-13738df6.js";import{c as E,d as z}from"./p-7e77669d.js";import{u as H,c as j,s as P,d as D}from"./p-7c9ab535.js";import{i as C}from"./p-bd8b17cd.js";import{s as L,a as F,c as O}from"./p-664a58ac.js";import{c as R}from"./p-1c1f6059.js";import{F as A}from"./p-24b83681.js";import"./p-cd06e127.js";import"./p-8ca84337.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.6.0-next.6
4
+ * v1.6.0-next.7
5
5
  */
6
- import{r as e,c as t,h as i,a as s,H as r}from"./p-77ab8e3f.js";import{k as o,x as n,t as a}from"./p-7c9ea17e.js";import{c,u as l,d as h}from"./p-b90d5fd5.js";import{n as p,c as d,d as m}from"./p-db6d9ad3.js";import{s as u,a as b,c as g}from"./p-0d76465f.js";import"./p-f06f40f6.js";import"./p-307aa884.js";import"./p-1eb2690b.js";import"./p-818a65b7.js";const v=class{constructor(i){e(this,i),this.calciteStepperItemChange=t(this,"calciteStepperItemChange",6),this.calciteInternalStepperItemChange=t(this,"calciteInternalStepperItemChange",6),this.itemMap=new Map,this.items=[],this.enabledItems=[],this.icon=!1,this.layout="horizontal",this.numbered=!1,this.numberingSystem=void 0,this.selectedItem=null,this.scale="m"}numberingSystemChange(){this.setStepperItemNumberingSystem()}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}render(){return i("slot",{onSlotchange:e=>{const t=e.currentTarget.assignedElements().filter((e=>"CALCITE-STEPPER-ITEM"===e?.tagName)),i=Array(t.length).fill("1fr").join(" ");this.el.style.gridTemplateAreas=i,this.el.style.gridTemplateColumns=i,this.setStepperItemNumberingSystem()}})}calciteInternalStepperItemKeyEvent(e){const t=e.target;switch(e.detail.item.key){case"ArrowDown":case"ArrowRight":o(this.enabledItems,t,"next");break;case"ArrowUp":case"ArrowLeft":o(this.enabledItems,t,"previous");break;case"Home":o(this.enabledItems,t,"first");break;case"End":o(this.enabledItems,t,"last")}e.stopPropagation()}registerItem(e){const t=e.target,{content:i,position:s}=e.detail;this.itemMap.set(t,{position:s,content:i}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),e.stopPropagation()}updateItem(e){const{position:t}=e.detail;"number"==typeof t&&(this.currentPosition=t,this.selectedItem=e.target),this.calciteInternalStepperItemChange.emit({position:t})}handleUserRequestedStepperItemSelect(){this.calciteStepperItemChange.emit()}async nextStep(){const e=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof e&&this.updateStep(e)}async prevStep(){const e=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof e&&this.updateStep(e)}async goToStep(e){const t=e-1;this.currentPosition!==t&&this.updateStep(t)}async startStep(){const e=this.getEnabledStepIndex(0,"next");"number"==typeof e&&this.updateStep(e)}async endStep(){const e=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof e&&this.updateStep(e)}getEnabledStepIndex(e,t="next"){const{items:i,currentPosition:s}=this;let r=e;for(;i[r]?.disabled;)r+="previous"===t?-1:1;return r!==s&&r<i.length&&r>=0?r:null}updateStep(e){this.currentPosition=e,this.calciteInternalStepperItemChange.emit({position:e})}sortItems(){const{itemMap:e}=this;return Array.from(e.keys()).sort(((t,i)=>e.get(t).position-e.get(i).position))}filterItems(){return this.items.filter((e=>!e.disabled))}setStepperItemNumberingSystem(){this.items.forEach((e=>{e.numberingSystem=this.numberingSystem}))}get el(){return s(this)}static get watchers(){return{numberingSystem:["numberingSystemChange"]}}};v.style=':host{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]){flex:1 1 auto;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}:host([hidden]){display:none}[hidden]{display:none}';const f=class{constructor(i){e(this,i),this.calciteInternalStepperItemKeyEvent=t(this,"calciteInternalStepperItemKeyEvent",6),this.calciteInternalStepperItemSelect=t(this,"calciteInternalStepperItemSelect",6),this.calciteInternalUserRequestedStepperItemSelect=t(this,"calciteInternalUserRequestedStepperItemSelect",6),this.calciteInternalStepperItemRegister=t(this,"calciteInternalStepperItemRegister",6),this.keyDownHandler=e=>{if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault()}},this.handleItemClick=e=>{this.disabled||"horizontal"===this.layout&&e.composedPath().some((e=>e.classList?.contains("stepper-item-content")))||this.emitUserRequestedItem()},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})},this.selected=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.heading=void 0,this.description=void 0,this.layout="horizontal",this.icon=!1,this.iconFlipRtl=!1,this.numbered=!1,this.scale="m",this.numberingSystem=void 0,this.effectiveLocale=""}selectedHandler(){this.selected&&this.emitRequestedItem()}disabledWatcher(){this.registerStepperItem()}effectiveLocaleWatcher(e){p.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1}}connectedCallback(){c(this),d(this)}componentWillLoad(){u(this),this.icon=n(this.el,"icon",!1),this.numbered=n(this.el,"numbered",!1),this.layout=n(this.el,"layout",!1),this.scale=n(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}componentDidLoad(){b(this)}componentDidRender(){l(this,!0)}disconnectedCallback(){h(this),m(this)}render(){return i(r,{"aria-expanded":a(this.selected),onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},i("div",{class:"container"},i("div",{class:"stepper-item-header",tabIndex:"horizontal"!==this.layout||this.disabled?null:0,ref:e=>this.headerEl=e},this.icon?this.renderIcon():null,this.numbered?i("div",{class:"stepper-item-number"},this.renderNumbers(),"."):null,i("div",{class:"stepper-item-header-text"},i("span",{class:"stepper-item-heading"},this.heading),i("span",{class:"stepper-item-description"},this.description))),i("div",{class:"stepper-item-content"},i("slot",null))))}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}async setFocus(){await g(this),("vertical"===this.layout?this.el:this.headerEl)?.focus()}renderIcon(){return i("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:this.selected?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){return p.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:!1},p.numberFormatter.format(this.itemPosition+1)}get el(){return s(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};f.style=":host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;margin-inline-end:0.5rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{margin-inline-end:0.25rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{margin-inline-end:0.75rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_stepper,f as calcite_stepper_item}
6
+ import{r as e,c as t,h as i,a as s,H as r}from"./p-ea45d78a.js";import{k as o,x as n,t as a}from"./p-3e542cad.js";import{c,u as l,d as h}from"./p-bc34f2d2.js";import{n as p,c as d,d as m}from"./p-7e77669d.js";import{s as u,a as b,c as g}from"./p-664a58ac.js";import"./p-bb33644e.js";import"./p-8ca84337.js";import"./p-bd8b17cd.js";import"./p-1c1f6059.js";const v=class{constructor(i){e(this,i),this.calciteStepperItemChange=t(this,"calciteStepperItemChange",6),this.calciteInternalStepperItemChange=t(this,"calciteInternalStepperItemChange",6),this.itemMap=new Map,this.items=[],this.enabledItems=[],this.icon=!1,this.layout="horizontal",this.numbered=!1,this.numberingSystem=void 0,this.selectedItem=null,this.scale="m"}numberingSystemChange(){this.setStepperItemNumberingSystem()}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}render(){return i("slot",{onSlotchange:e=>{const t=e.currentTarget.assignedElements().filter((e=>"CALCITE-STEPPER-ITEM"===e?.tagName)),i=Array(t.length).fill("1fr").join(" ");this.el.style.gridTemplateAreas=i,this.el.style.gridTemplateColumns=i,this.setStepperItemNumberingSystem()}})}calciteInternalStepperItemKeyEvent(e){const t=e.target;switch(e.detail.item.key){case"ArrowDown":case"ArrowRight":o(this.enabledItems,t,"next");break;case"ArrowUp":case"ArrowLeft":o(this.enabledItems,t,"previous");break;case"Home":o(this.enabledItems,t,"first");break;case"End":o(this.enabledItems,t,"last")}e.stopPropagation()}registerItem(e){const t=e.target,{content:i,position:s}=e.detail;this.itemMap.set(t,{position:s,content:i}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),e.stopPropagation()}updateItem(e){const{position:t}=e.detail;"number"==typeof t&&(this.currentPosition=t,this.selectedItem=e.target),this.calciteInternalStepperItemChange.emit({position:t})}handleUserRequestedStepperItemSelect(){this.calciteStepperItemChange.emit()}async nextStep(){const e=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof e&&this.updateStep(e)}async prevStep(){const e=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof e&&this.updateStep(e)}async goToStep(e){const t=e-1;this.currentPosition!==t&&this.updateStep(t)}async startStep(){const e=this.getEnabledStepIndex(0,"next");"number"==typeof e&&this.updateStep(e)}async endStep(){const e=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof e&&this.updateStep(e)}getEnabledStepIndex(e,t="next"){const{items:i,currentPosition:s}=this;let r=e;for(;i[r]?.disabled;)r+="previous"===t?-1:1;return r!==s&&r<i.length&&r>=0?r:null}updateStep(e){this.currentPosition=e,this.calciteInternalStepperItemChange.emit({position:e})}sortItems(){const{itemMap:e}=this;return Array.from(e.keys()).sort(((t,i)=>e.get(t).position-e.get(i).position))}filterItems(){return this.items.filter((e=>!e.disabled))}setStepperItemNumberingSystem(){this.items.forEach((e=>{e.numberingSystem=this.numberingSystem}))}get el(){return s(this)}static get watchers(){return{numberingSystem:["numberingSystemChange"]}}};v.style=':host{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]){flex:1 1 auto;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}:host([hidden]){display:none}[hidden]{display:none}';const f=class{constructor(i){e(this,i),this.calciteInternalStepperItemKeyEvent=t(this,"calciteInternalStepperItemKeyEvent",6),this.calciteInternalStepperItemSelect=t(this,"calciteInternalStepperItemSelect",6),this.calciteInternalUserRequestedStepperItemSelect=t(this,"calciteInternalUserRequestedStepperItemSelect",6),this.calciteInternalStepperItemRegister=t(this,"calciteInternalStepperItemRegister",6),this.keyDownHandler=e=>{if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault()}},this.handleItemClick=e=>{this.disabled||"horizontal"===this.layout&&e.composedPath().some((e=>e.classList?.contains("stepper-item-content")))||this.emitUserRequestedItem()},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})},this.selected=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.heading=void 0,this.description=void 0,this.layout="horizontal",this.icon=!1,this.iconFlipRtl=!1,this.numbered=!1,this.scale="m",this.numberingSystem=void 0,this.effectiveLocale=""}selectedHandler(){this.selected&&this.emitRequestedItem()}disabledWatcher(){this.registerStepperItem()}effectiveLocaleWatcher(e){p.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1}}connectedCallback(){c(this),d(this)}componentWillLoad(){u(this),this.icon=n(this.el,"icon",!1),this.numbered=n(this.el,"numbered",!1),this.layout=n(this.el,"layout",!1),this.scale=n(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}componentDidLoad(){b(this)}componentDidRender(){l(this,!0)}disconnectedCallback(){h(this),m(this)}render(){return i(r,{"aria-expanded":a(this.selected),onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},i("div",{class:"container"},i("div",{class:"stepper-item-header",tabIndex:"horizontal"!==this.layout||this.disabled?null:0,ref:e=>this.headerEl=e},this.icon?this.renderIcon():null,this.numbered?i("div",{class:"stepper-item-number"},this.renderNumbers(),"."):null,i("div",{class:"stepper-item-header-text"},i("span",{class:"stepper-item-heading"},this.heading),i("span",{class:"stepper-item-description"},this.description))),i("div",{class:"stepper-item-content"},i("slot",null))))}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}async setFocus(){await g(this),("vertical"===this.layout?this.el:this.headerEl)?.focus()}renderIcon(){return i("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:this.selected?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){return p.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:!1},p.numberFormatter.format(this.itemPosition+1)}get el(){return s(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};f.style=":host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;margin-inline-end:0.5rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{margin-inline-end:0.25rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{margin-inline-end:0.75rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_stepper,f as calcite_stepper_item}
@@ -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.6.0-next.7
5
+ */
6
+ import{r as t,c as i,h as s,a as e}from"./p-ea45d78a.js";import{c as a,d as o,u as r}from"./p-bc34f2d2.js";import{c as n}from"./p-1c1f6059.js";import{d,c as h}from"./p-0edafc15.js";import{d as c}from"./p-3e542cad.js";import"./p-bb33644e.js";import"./p-8ca84337.js";const l=class{constructor(s){t(this,s),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=n("mutation",(()=>{this.setUpSorting()})),this.dragEnabled=!0,this.canPull=void 0,this.canPut=void 0,this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1}connectedCallback(){this.setUpSorting(),this.beginObserving(),a(this)}disconnectedCallback(){o(this),d(this),this.endObserving()}componentDidRender(){r(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}onDragStart(){this.endObserving()}onDragEnd(){this.beginObserving()}onDragSort(){this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}handleNudgeEvent(t){const{direction:i}=t.detail,s=t.composedPath().find((t=>t.matches(this.handleSelector))),e=this.items.find((i=>i.contains(s)||t.composedPath().includes(i))),a=this.items.length-1,o=this.items.indexOf(e);let r,n=!1;"up"===i?0===o?n=!0:r=o-1:o===a?r=0:o===a-1?n=!0:r=o+2,this.endObserving(),n?e.parentElement.appendChild(e):e.parentElement.insertBefore(e,this.items[r]),this.items=Array.from(this.el.children),this.beginObserving(),requestAnimationFrame((()=>c(s))),"activated"in s&&(s.activated=!0)}setUpSorting(){this.items=Array.from(this.el.children),h(this)}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}endObserving(){this.mutationObserver?.disconnect()}render(){const{layout:t}=this,i="horizontal"===t||!1;return s("div",{class:{container:!0,"container--vertical":!i,"container--horizontal":i}},s("slot",null))}get el(){return e(this)}};l.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}:host([hidden]){display:none}[hidden]{display:none}";export{l as calcite_sortable_list}
@@ -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.6.0-next.6
4
+ * v1.6.0-next.7
5
5
  */
6
- import{r as t,h as e,F as i,a as n,f as o}from"./p-77ab8e3f.js";import{c as a,d as l}from"./p-3c398cbc.js";import{e as s,s as r,g as c,b as h,i as d}from"./p-7c9ea17e.js";import{c as p,d as x}from"./p-db6d9ad3.js";import{c as b}from"./p-ad443f6d.js";import{c as u,s as m,d as w,u as v}from"./p-7848ff14.js";import{C as f}from"./p-307aa884.js";import"./p-818a65b7.js";import"./p-f06f40f6.js";import"./p-1eb2690b.js";const g="content",y=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!s(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!s(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!s(t),r(t)?.map((t=>{"CALCITE-ALERT"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!s(t),r(t)?.map((t=>{"CALCITE-MODAL"===t.nodeName&&(t.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1}connectedCallback(){a(this)}disconnectedCallback(){l(this)}renderHeader(){return e("div",{hidden:!this.hasHeader},e("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return e("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},e("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return e("div",{hidden:!this.hasAlerts},e("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderModals(){return e("div",{hidden:!this.hasModals},e("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const t=e("slot",{key:"default-slot"}),i=e("slot",{key:"center-row-slot",name:"center-row"}),n=e("slot",{key:"panel-bottom-slot",name:"panel-bottom"}),o=e("slot",{key:"panel-top-slot",name:"panel-top"}),a="content-container";return this.contentBehind?[e("div",{class:{[g]:!0,"content--behind":!0},key:a},t),e("div",{class:"center-content"},o,n,i)]:[e("div",{class:g,key:a},o,t,n,i)]}renderMain(){return e("div",{class:"main"},e("slot",{name:"panel-start"}),this.renderContent(),e("slot",{name:"panel-end"}))}renderPositionedSlots(){return e("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals())}render(){return e(i,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return n(this)}};y.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-app-z-index) - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-app-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}:host([hidden]){display:none}[hidden]{display:none}";const z="action-bar",k=class{constructor(e){t(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){a(this)}disconnectedCallback(){l(this)}render(){const{el:t}=this,n=e("div",{class:"content"},e("slot",null)),o=c(t,z),a=[o?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:z})):null,n];return"end"===o?.position&&a.reverse(),e(i,null,a)}get el(){return n(this)}};k.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{z-index:var(--calcite-app-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const C="header",H=class{constructor(e){t(this,e),this.initialContentWidth=null,this.initialContentHeight=null,this.initialClientX=null,this.initialClientY=null,this.contentWidthMax=null,this.contentWidthMin=null,this.contentHeightMax=null,this.contentHeightMin=null,this.step=1,this.stepMultiplier=10,this.actionBars=[],this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedSize=t=>{const{key:e}=t,{el:i,step:n,stepMultiplier:o,layout:a,contentWidthMin:l,contentWidthMax:s,initialContentWidth:r,initialContentHeight:c,contentHeightMin:d,contentHeightMax:p,position:x}=this,b=n*o;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const u=["ArrowLeft","ArrowRight"],m=["ArrowDown","ArrowUp"],w="rtl"===h(i)&&u.includes(e)?-1:1;if("horizontal"===a?"end"===x?e===m[1]||e===u[0]:e===m[0]||e===u[1]:e===m[1]||("end"===x?e===u[0]:e===u[1])){const e=t.shiftKey?b:n;return"horizontal"===a?c+w*e:r+w*e}if("horizontal"===a?"end"===x?e===m[0]||e===u[0]:e===m[1]||e===u[1]:e===m[0]||("end"===x?e===u[1]:e===u[0])){const e=t.shiftKey?b:n;return"horizontal"===a?c-w*e:r-w*e}return"Home"===e&&"horizontal"===a&&"number"==typeof d?d:"Home"===e&&"vertical"===a&&"number"==typeof l?l:"End"===e&&"horizontal"===a&&"number"==typeof p?p:"End"===e&&"vertical"===a&&"number"==typeof s?s:"PageDown"===e?"horizontal"===a?c-b:r-b:"PageUp"===e?"horizontal"===a?c+b:r+b:null},this.initialKeydownWidth=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentWidth(e)},this.initialKeydownHeight=t=>{this.setInitialContentHeight();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentHeight(e)},this.separatorKeyDown=t=>{"horizontal"===this.layout?this.initialKeydownHeight(t):this.initialKeydownWidth(t)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,layout:i,initialContentWidth:n,initialContentHeight:o,position:a,initialClientX:l,initialClientY:s}=this,r="horizontal"===i?t.clientY-s:t.clientX-l,c="vertical"===i&&"rtl"===h(e)?-1:1,d="end"===a?-c*r:c*r;"horizontal"===i?this.setContentHeight(o+d):this.setContentWidth(n+d)},this.separatorPointerUp=t=>{d(t)&&(t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{this.initialContentHeight=this.contentEl?.getBoundingClientRect().height},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!d(t))return;t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),"horizontal"===this.layout?(this.setInitialContentHeight(),this.initialClientY=t.clientY):(this.setInitialContentWidth(),this.initialClientX=t.clientX),document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t?.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=r(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale=""}handleDetached(t){t?this.displayMode="float":"float"===this.displayMode&&(this.displayMode="dock")}handleDisplayMode(t){this.detached="float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){a(this),p(this),u(this)}async componentWillLoad(){await m(this)}disconnectedCallback(){l(this),this.disconnectSeparator(),x(this),w(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){v(this,this.effectiveLocale)}renderHeader(){const{el:t}=this;return c(t,C)?e("div",{class:"content__header",key:"header"},e("slot",{name:C})):null}render(){const{collapsed:t,position:i,initialContentWidth:n,initialContentHeight:o,contentWidth:a,contentWidthMax:l,contentWidthMin:s,contentHeight:r,contentHeightMax:c,contentHeightMin:d,resizable:p,layout:x,displayMode:b}=this,u=h(this.el),m="float"!==b&&p,w=m?"horizontal"===x?r?{height:`${r}px`}:null:a?{width:`${a}px`}:null:null,v=!t&&m?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===x?"vertical":"horizontal","aria-valuemax":"horizontal"==x?c:l,"aria-valuemin":"horizontal"==x?d:s,"aria-valuenow":"horizontal"==x?r??o:a??n,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,g=e("div",{class:{[f.rtl]:"rtl"===u,content:!0,"content--overlay":"overlay"===b,"content--float":"float"===b,[f.calciteAnimate]:"overlay"===b,["horizontal"===x?"start"===i?f.calciteAnimateInDown:f.calciteAnimateInUp:"ltr"===u&&"end"===i||"rtl"===u&&"start"===i?f.calciteAnimateInLeft:f.calciteAnimateInRight]:"overlay"===b},hidden:t,key:"content",style:w,ref:this.storeContentEl},this.renderHeader(),e("div",{class:"content__body"},e("slot",null)),v),y=[e("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),g];return"end"===i&&y.reverse(),e("div",{class:{container:!0}},y)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,n=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?b(n,i,e):n}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),o(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:i}=this,n=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof i?b(n,i,e):n}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),i=parseInt(t.getPropertyValue("min-width"),10),n=parseInt(t.getPropertyValue("width"),10);"number"!=typeof n||isNaN(n)||(this.initialContentWidth=n),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),i=parseInt(t.getPropertyValue("min-height"),10),n=parseInt(t.getPropertyValue("height"),10);"number"!=typeof n||isNaN(n)||(this.initialContentHeight=n),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof i||isNaN(i)||(this.contentHeightMin=i)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};H.style=":host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-app-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-shell-panel-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl.content--overlay{--calcite-shell-panel-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index-header) + 1))}:host([layout=vertical][width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 5vh);--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}:host([layout=horizontal][height-scale=l]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]) .content{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}:host([layout=horizontal]) .content{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-start-internal)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-end-internal)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-shell-panel-shadow-block-start-internal)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-shell-panel-shadow-block-end-internal)}.content--float{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-max-height-internal, calc(100% - 1rem))}.content--float ::slotted(calcite-panel),.content--float ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .content--float{margin-block:0.5rem}:host([position=start]) .content--float ::slotted(calcite-panel),:host([position=start]) .content--float ::slotted(calcite-flow),:host([position=end]) .content--float ::slotted(calcite-panel),:host([position=end]) .content--float ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_shell,k as calcite_shell_center_row,H as calcite_shell_panel}
6
+ import{r as t,h as e,F as i,a as n,f as o}from"./p-ea45d78a.js";import{c as a,d as l}from"./p-67960062.js";import{e as s,s as r,g as c,b as h,i as d}from"./p-3e542cad.js";import{c as p,d as x}from"./p-7e77669d.js";import{c as u}from"./p-fdd6e87c.js";import{c as b,s as m,d as w,u as v}from"./p-7c9ab535.js";import{C as f}from"./p-8ca84337.js";import"./p-1c1f6059.js";import"./p-bb33644e.js";import"./p-bd8b17cd.js";const g="content",y=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!s(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!s(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!s(t),r(t)?.map((t=>{"CALCITE-ALERT"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!s(t),r(t)?.map((t=>{"CALCITE-MODAL"===t.nodeName&&(t.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1}connectedCallback(){a(this)}disconnectedCallback(){l(this)}renderHeader(){return e("div",{hidden:!this.hasHeader},e("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return e("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},e("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return e("div",{hidden:!this.hasAlerts},e("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderModals(){return e("div",{hidden:!this.hasModals},e("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const t=e("slot",{key:"default-slot"}),i=e("slot",{key:"center-row-slot",name:"center-row"}),n=e("slot",{key:"panel-bottom-slot",name:"panel-bottom"}),o=e("slot",{key:"panel-top-slot",name:"panel-top"}),a="content-container";return this.contentBehind?[e("div",{class:{[g]:!0,"content--behind":!0},key:a},t),e("div",{class:"center-content"},o,n,i)]:[e("div",{class:g,key:a},o,t,n,i)]}renderMain(){return e("div",{class:"main"},e("slot",{name:"panel-start"}),this.renderContent(),e("slot",{name:"panel-end"}))}renderPositionedSlots(){return e("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals())}render(){return e(i,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return n(this)}};y.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-app-z-index) - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-app-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}:host([hidden]){display:none}[hidden]{display:none}";const z="action-bar",k=class{constructor(e){t(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){a(this)}disconnectedCallback(){l(this)}render(){const{el:t}=this,n=e("div",{class:"content"},e("slot",null)),o=c(t,z),a=[o?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:z})):null,n];return"end"===o?.position&&a.reverse(),e(i,null,a)}get el(){return n(this)}};k.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{z-index:var(--calcite-app-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const C="header",H=class{constructor(e){t(this,e),this.initialContentWidth=null,this.initialContentHeight=null,this.initialClientX=null,this.initialClientY=null,this.contentWidthMax=null,this.contentWidthMin=null,this.contentHeightMax=null,this.contentHeightMin=null,this.step=1,this.stepMultiplier=10,this.actionBars=[],this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedSize=t=>{const{key:e}=t,{el:i,step:n,stepMultiplier:o,layout:a,contentWidthMin:l,contentWidthMax:s,initialContentWidth:r,initialContentHeight:c,contentHeightMin:d,contentHeightMax:p,position:x}=this,u=n*o;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const b=["ArrowLeft","ArrowRight"],m=["ArrowDown","ArrowUp"],w="rtl"===h(i)&&b.includes(e)?-1:1;if("horizontal"===a?"end"===x?e===m[1]||e===b[0]:e===m[0]||e===b[1]:e===m[1]||("end"===x?e===b[0]:e===b[1])){const e=t.shiftKey?u:n;return"horizontal"===a?c+w*e:r+w*e}if("horizontal"===a?"end"===x?e===m[0]||e===b[0]:e===m[1]||e===b[1]:e===m[0]||("end"===x?e===b[1]:e===b[0])){const e=t.shiftKey?u:n;return"horizontal"===a?c-w*e:r-w*e}return"Home"===e&&"horizontal"===a&&"number"==typeof d?d:"Home"===e&&"vertical"===a&&"number"==typeof l?l:"End"===e&&"horizontal"===a&&"number"==typeof p?p:"End"===e&&"vertical"===a&&"number"==typeof s?s:"PageDown"===e?"horizontal"===a?c-u:r-u:"PageUp"===e?"horizontal"===a?c+u:r+u:null},this.initialKeydownWidth=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentWidth(e)},this.initialKeydownHeight=t=>{this.setInitialContentHeight();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentHeight(e)},this.separatorKeyDown=t=>{"horizontal"===this.layout?this.initialKeydownHeight(t):this.initialKeydownWidth(t)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,layout:i,initialContentWidth:n,initialContentHeight:o,position:a,initialClientX:l,initialClientY:s}=this,r="horizontal"===i?t.clientY-s:t.clientX-l,c="vertical"===i&&"rtl"===h(e)?-1:1,d="end"===a?-c*r:c*r;"horizontal"===i?this.setContentHeight(o+d):this.setContentWidth(n+d)},this.separatorPointerUp=t=>{d(t)&&(t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{this.initialContentHeight=this.contentEl?.getBoundingClientRect().height},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!d(t))return;t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),"horizontal"===this.layout?(this.setInitialContentHeight(),this.initialClientY=t.clientY):(this.setInitialContentWidth(),this.initialClientX=t.clientX),document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t?.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=r(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale=""}handleDetached(t){t?this.displayMode="float":"float"===this.displayMode&&(this.displayMode="dock")}handleDisplayMode(t){this.detached="float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){a(this),p(this),b(this)}async componentWillLoad(){await m(this)}disconnectedCallback(){l(this),this.disconnectSeparator(),x(this),w(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){v(this,this.effectiveLocale)}renderHeader(){const{el:t}=this;return c(t,C)?e("div",{class:"content__header",key:"header"},e("slot",{name:C})):null}render(){const{collapsed:t,position:i,initialContentWidth:n,initialContentHeight:o,contentWidth:a,contentWidthMax:l,contentWidthMin:s,contentHeight:r,contentHeightMax:c,contentHeightMin:d,resizable:p,layout:x,displayMode:u}=this,b=h(this.el),m="float"!==u&&p,w=m?"horizontal"===x?r?{height:`${r}px`}:null:a?{width:`${a}px`}:null:null,v=!t&&m?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===x?"vertical":"horizontal","aria-valuemax":"horizontal"==x?c:l,"aria-valuemin":"horizontal"==x?d:s,"aria-valuenow":"horizontal"==x?r??o:a??n,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,g=e("div",{class:{[f.rtl]:"rtl"===b,content:!0,"content--overlay":"overlay"===u,"content--float":"float"===u,[f.calciteAnimate]:"overlay"===u,["horizontal"===x?"start"===i?f.calciteAnimateInDown:f.calciteAnimateInUp:"ltr"===b&&"end"===i||"rtl"===b&&"start"===i?f.calciteAnimateInLeft:f.calciteAnimateInRight]:"overlay"===u},hidden:t,key:"content",style:w,ref:this.storeContentEl},this.renderHeader(),e("div",{class:"content__body"},e("slot",null)),v),y=[e("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),g];return"end"===i&&y.reverse(),e("div",{class:{container:!0}},y)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,n=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?u(n,i,e):n}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),o(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:i}=this,n=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof i?u(n,i,e):n}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),i=parseInt(t.getPropertyValue("min-width"),10),n=parseInt(t.getPropertyValue("width"),10);"number"!=typeof n||isNaN(n)||(this.initialContentWidth=n),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),i=parseInt(t.getPropertyValue("min-height"),10),n=parseInt(t.getPropertyValue("height"),10);"number"!=typeof n||isNaN(n)||(this.initialContentHeight=n),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof i||isNaN(i)||(this.contentHeightMin=i)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};H.style=":host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-app-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-shell-panel-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl.content--overlay{--calcite-shell-panel-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index-header) + 1))}:host([layout=vertical][width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 5vh);--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}:host([layout=horizontal][height-scale=l]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]) .content{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}:host([layout=horizontal]) .content{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-start-internal)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-end-internal)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-shell-panel-shadow-block-start-internal)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-shell-panel-shadow-block-end-internal)}.content--float{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-max-height-internal, calc(100% - 1rem))}.content--float ::slotted(calcite-panel),.content--float ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .content--float{margin-block:0.5rem}:host([position=start]) .content--float ::slotted(calcite-panel),:host([position=start]) .content--float ::slotted(calcite-flow),:host([position=end]) .content--float ::slotted(calcite-panel),:host([position=end]) .content--float ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_shell,k as calcite_shell_center_row,H as calcite_shell_panel}