@esri/calcite-components 1.4.0-next.10 → 1.4.0-next.11

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 (828) hide show
  1. package/dist/calcite/calcite.css +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/index.esm.js +2 -2
  4. package/dist/calcite/p-02a5a46d.entry.js +6 -0
  5. package/dist/calcite/p-0472ee23.entry.js +6 -0
  6. package/dist/calcite/p-06a32d43.entry.js +6 -0
  7. package/dist/calcite/p-07ab96dc.entry.js +6 -0
  8. package/dist/calcite/p-0af8f02b.entry.js +6 -0
  9. package/dist/calcite/{p-386abb7d.js → p-0d985cc2.js} +3 -3
  10. package/dist/calcite/{p-e4c1febd.js → p-0e6174e1.js} +1 -1
  11. package/dist/calcite/p-0f380c43.entry.js +6 -0
  12. package/dist/calcite/p-15cb4cb0.entry.js +6 -0
  13. package/dist/calcite/{p-4f50176e.js → p-165ec40b.js} +1 -1
  14. package/dist/calcite/p-18520138.entry.js +6 -0
  15. package/dist/calcite/p-1b20682f.entry.js +6 -0
  16. package/dist/calcite/p-1c831629.js +6 -0
  17. package/dist/calcite/{p-33c5c291.js → p-1f66d449.js} +1 -1
  18. package/dist/calcite/p-2338b106.entry.js +6 -0
  19. package/dist/calcite/p-2409fb7f.entry.js +6 -0
  20. package/dist/calcite/{p-fbfe8e4d.entry.js → p-2a3cf375.entry.js} +2 -2
  21. package/dist/calcite/p-2c4bc19b.entry.js +6 -0
  22. package/dist/calcite/{p-063a4869.js → p-2da7b70b.js} +1 -1
  23. package/dist/calcite/{p-a0a1f925.js → p-2dc2a820.js} +1 -1
  24. package/dist/calcite/{p-9d02fe1c.js → p-2dcf0c10.js} +1 -1
  25. package/dist/calcite/{p-4e5db9b6.js → p-2eb00e69.js} +1 -1
  26. package/dist/calcite/p-30a6bd5e.js +6 -0
  27. package/dist/calcite/{p-d2a6b24b.js → p-31ec389a.js} +1 -1
  28. package/dist/calcite/p-365f3e91.entry.js +6 -0
  29. package/dist/calcite/p-38714981.entry.js +6 -0
  30. package/dist/calcite/p-38aa122c.entry.js +6 -0
  31. package/dist/calcite/p-38cd1b20.entry.js +6 -0
  32. package/dist/calcite/p-3b392b46.entry.js +6 -0
  33. package/dist/calcite/{p-2fba8e6a.js → p-42552845.js} +1 -1
  34. package/dist/calcite/p-43699b83.entry.js +6 -0
  35. package/dist/calcite/{p-6d7e5273.entry.js → p-4726e3f1.entry.js} +2 -2
  36. package/dist/calcite/p-4d1058f4.entry.js +6 -0
  37. package/dist/calcite/p-4d496ce6.entry.js +6 -0
  38. package/dist/calcite/p-4e86e62c.entry.js +6 -0
  39. package/dist/calcite/p-4ea387a3.entry.js +6 -0
  40. package/dist/calcite/{p-a7daef7a.js → p-529f0e4a.js} +2 -2
  41. package/dist/calcite/p-5441476c.entry.js +6 -0
  42. package/dist/calcite/p-5e275908.entry.js +6 -0
  43. package/dist/calcite/p-61b39222.entry.js +6 -0
  44. package/dist/calcite/{p-f395d0e2.js → p-6315c73f.js} +2 -2
  45. package/dist/calcite/p-6736c3c0.entry.js +6 -0
  46. package/dist/calcite/{p-892279b1.js → p-6911bf06.js} +1 -1
  47. package/dist/calcite/p-6d9c082a.entry.js +6 -0
  48. package/dist/calcite/{p-28bd653e.js → p-6dc8f26e.js} +3 -3
  49. package/dist/calcite/p-7543c7af.entry.js +6 -0
  50. package/dist/calcite/{p-00383b72.js → p-75a62ff3.js} +1 -1
  51. package/dist/calcite/p-785a071f.entry.js +6 -0
  52. package/dist/calcite/{p-37d03f0c.js → p-7b4366b3.js} +2 -2
  53. package/dist/calcite/p-7d35466a.entry.js +6 -0
  54. package/dist/calcite/p-80701cd1.entry.js +6 -0
  55. package/dist/calcite/{p-ca33af16.js → p-8420a6cf.js} +2 -2
  56. package/dist/calcite/{p-3d973854.js → p-84c1e54b.js} +2 -2
  57. package/dist/calcite/{p-99e63f9f.js → p-85cca4f2.js} +2 -2
  58. package/dist/calcite/p-88dc218e.entry.js +6 -0
  59. package/dist/calcite/p-8ac3da4a.entry.js +6 -0
  60. package/dist/calcite/{p-0990e4b1.js → p-8ae8e08d.js} +1 -1
  61. package/dist/calcite/{p-04577b20.js → p-8d6e3780.js} +1 -1
  62. package/dist/calcite/p-8faa3bdc.entry.js +6 -0
  63. package/dist/calcite/{p-797661fe.js → p-95093c16.js} +1 -1
  64. package/dist/calcite/p-99d4749d.entry.js +6 -0
  65. package/dist/calcite/{p-e22cb550.entry.js → p-9ad25ab1.entry.js} +2 -2
  66. package/dist/calcite/p-a49b3c20.entry.js +6 -0
  67. package/dist/calcite/{p-eacf0ee1.js → p-a8f92d33.js} +1 -1
  68. package/dist/calcite/p-aa2f5346.entry.js +6 -0
  69. package/dist/calcite/p-ac4a7ccf.entry.js +6 -0
  70. package/dist/calcite/{p-11d8b4fa.js → p-afe946bd.js} +2 -2
  71. package/dist/calcite/p-b1058ef9.entry.js +6 -0
  72. package/dist/calcite/{p-ee458bd5.js → p-b15456d2.js} +2 -2
  73. package/dist/calcite/p-b6b1831c.entry.js +6 -0
  74. package/dist/calcite/p-bb026473.entry.js +6 -0
  75. package/dist/calcite/p-c0538fc7.entry.js +6 -0
  76. package/dist/calcite/p-c448c7bd.entry.js +6 -0
  77. package/dist/calcite/p-c98aeafa.entry.js +6 -0
  78. package/dist/calcite/p-cafdc943.entry.js +6 -0
  79. package/dist/calcite/{p-2c11ed7d.js → p-cfb7ba9f.js} +2 -2
  80. package/dist/calcite/p-d0a4d643.entry.js +6 -0
  81. package/dist/calcite/p-d55fc7c1.entry.js +6 -0
  82. package/dist/calcite/p-d5a8044b.entry.js +6 -0
  83. package/dist/calcite/p-d7b38007.entry.js +6 -0
  84. package/dist/calcite/p-da7bb2c5.entry.js +6 -0
  85. package/dist/calcite/p-dc69e13c.entry.js +6 -0
  86. package/dist/calcite/p-df4228a1.entry.js +6 -0
  87. package/dist/calcite/p-df73eefa.entry.js +6 -0
  88. package/dist/calcite/p-e0fa4d49.entry.js +6 -0
  89. package/dist/calcite/{p-0b5b83ca.js → p-e2206b46.js} +2 -2
  90. package/dist/calcite/p-e22f0d26.entry.js +6 -0
  91. package/dist/calcite/p-e718d92b.entry.js +6 -0
  92. package/dist/calcite/{p-285fde7a.entry.js → p-e7ace0b9.entry.js} +2 -2
  93. package/dist/calcite/{p-e79254d3.js → p-ea084a60.js} +2 -2
  94. package/dist/calcite/p-ebb31c6d.entry.js +6 -0
  95. package/dist/calcite/{p-b6042b6c.js → p-f3a960c7.js} +1 -1
  96. package/dist/calcite/{p-e1098787.js → p-f747567a.js} +2 -2
  97. package/dist/calcite/{p-9fe27e8d.js → p-f9a351e1.js} +2 -2
  98. package/dist/calcite/{p-369d7e1a.js → p-fcbd924b.js} +1 -1
  99. package/dist/calcite/p-ffb1f95e.entry.js +6 -0
  100. package/dist/cjs/{ExpandToggle-953ef45b.js → ExpandToggle-47593692.js} +5 -5
  101. package/dist/cjs/{FloatingArrow-cf108924.js → FloatingArrow-f41bbf5a.js} +2 -2
  102. package/dist/cjs/{Heading-0b55bc06.js → Heading-2bd3592d.js} +2 -2
  103. package/dist/cjs/{app-globals-4953ac0e.js → app-globals-0b2c6450.js} +2 -2
  104. package/dist/cjs/{array-2726dfca.js → array-09964494.js} +1 -1
  105. package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
  106. package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
  107. package/dist/cjs/calcite-action-group.cjs.entry.js +14 -14
  108. package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
  109. package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -15
  110. package/dist/cjs/calcite-action.cjs.entry.js +12 -12
  111. package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
  112. package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
  113. package/dist/cjs/calcite-block_2.cjs.entry.js +14 -14
  114. package/dist/cjs/calcite-button.cjs.entry.js +14 -14
  115. package/dist/cjs/calcite-card.cjs.entry.js +11 -11
  116. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  117. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
  118. package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
  119. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -18
  120. package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -21
  121. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -17
  122. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -15
  123. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  124. package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
  125. package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
  126. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  127. package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
  128. package/dist/cjs/calcite-handle.cjs.entry.js +11 -11
  129. package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
  130. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
  131. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -19
  132. package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
  133. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  134. package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
  135. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -16
  136. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  137. package/dist/cjs/calcite-label.cjs.entry.js +7 -7
  138. package/dist/cjs/calcite-link.cjs.entry.js +8 -8
  139. package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
  140. package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
  141. package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
  142. package/dist/cjs/calcite-notice.cjs.entry.js +13 -13
  143. package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
  144. package/dist/cjs/calcite-pagination.cjs.entry.js +11 -11
  145. package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
  146. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +19 -19
  147. package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
  148. package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
  149. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  150. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
  151. package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
  152. package/dist/cjs/calcite-scrim.cjs.entry.js +10 -10
  153. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -11
  154. package/dist/cjs/calcite-shell_3.cjs.entry.js +14 -14
  155. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  156. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
  157. package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
  158. package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
  159. package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
  160. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
  161. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
  162. package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
  163. package/dist/cjs/calcite-tip_3.cjs.entry.js +14 -14
  164. package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
  165. package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -11
  166. package/dist/cjs/calcite-value-list_2.cjs.entry.js +18 -18
  167. package/dist/cjs/calcite.cjs.js +4 -4
  168. package/dist/cjs/{composed-offset-position.esm-12a68feb.js → composed-offset-position.esm-da5b3cd1.js} +1 -1
  169. package/dist/cjs/{conditionalSlot-f5ae40d5.js → conditionalSlot-00a45a49.js} +3 -3
  170. package/dist/cjs/{debounce-a5772547.js → debounce-8b93ddf9.js} +1 -1
  171. package/dist/cjs/{dom-60bc41cc.js → dom-f9be6b76.js} +3 -3
  172. package/dist/cjs/{filter-6d66baa0.js → filter-78a4abdc.js} +2 -2
  173. package/dist/cjs/{floating-ui-eea897d6.js → floating-ui-767d9fec.js} +4 -4
  174. package/dist/cjs/{focusTrapComponent-adfb6fd0.js → focusTrapComponent-11458ff7.js} +2 -2
  175. package/dist/cjs/{form-375179b0.js → form-da98f535.js} +3 -3
  176. package/dist/cjs/{guid-20fbb6f5.js → guid-d38d5390.js} +1 -1
  177. package/dist/cjs/{index-7ff03af4.js → index-878e6a10.js} +1 -1
  178. package/dist/cjs/index.cjs.js +2 -2
  179. package/dist/cjs/{interactive-e756405a.js → interactive-5c9db1e0.js} +1 -1
  180. package/dist/cjs/{key-965a0499.js → key-19d72847.js} +1 -1
  181. package/dist/cjs/{label-d45108db.js → label-41cb371b.js} +2 -2
  182. package/dist/cjs/{loadable-43aa8e12.js → loadable-30ec84d4.js} +1 -1
  183. package/dist/cjs/loader.cjs.js +4 -4
  184. package/dist/cjs/{locale-352dde9f.js → locale-2feae2e1.js} +4 -4
  185. package/dist/cjs/{math-9638f9db.js → math-06431d34.js} +1 -1
  186. package/dist/cjs/{observers-c0279726.js → observers-1f039e59.js} +1 -1
  187. package/dist/cjs/{openCloseComponent-02cae5bf.js → openCloseComponent-97cba1d8.js} +2 -2
  188. package/dist/cjs/{resources-ebef8fc8.js → resources-1e20f92b.js} +1 -1
  189. package/dist/cjs/{resources-2dbf7729.js → resources-37d537a4.js} +1 -1
  190. package/dist/cjs/{resources-db42842c.js → resources-71924711.js} +1 -1
  191. package/dist/cjs/{resources-4097e6e6.js → resources-d828a7a2.js} +5 -5
  192. package/dist/cjs/{resources-b2185290.js → resources-dcd3ec6f.js} +1 -1
  193. package/dist/cjs/{resources-0c626808.js → resources-e81bfcee.js} +1 -1
  194. package/dist/cjs/{sortable.esm-4549097b.js → sortable.esm-bdf4502c.js} +1 -1
  195. package/dist/cjs/{t9n-6dbfaf2b.js → t9n-e4b5d7bc.js} +3 -3
  196. package/dist/cjs/{throttle-5b0015f5.js → throttle-c959a70a.js} +2 -2
  197. package/dist/cjs/{utils-52def2ad.js → utils-3cbb4489.js} +1 -1
  198. package/dist/cjs/{utils-643437eb.js → utils-d7655679.js} +3 -3
  199. package/dist/collection/components/accordion/accordion.css +28 -0
  200. package/dist/collection/components/accordion/accordion.js +1 -1
  201. package/dist/collection/components/accordion-item/accordion-item.css +28 -0
  202. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  203. package/dist/collection/components/accordion-item/resources.js +1 -1
  204. package/dist/collection/components/action/action.css +28 -0
  205. package/dist/collection/components/action/action.js +1 -1
  206. package/dist/collection/components/action/resources.js +1 -1
  207. package/dist/collection/components/action-bar/action-bar.css +28 -0
  208. package/dist/collection/components/action-bar/action-bar.js +1 -1
  209. package/dist/collection/components/action-bar/resources.js +1 -1
  210. package/dist/collection/components/action-bar/utils.js +1 -1
  211. package/dist/collection/components/action-group/action-group.css +28 -0
  212. package/dist/collection/components/action-group/action-group.js +1 -1
  213. package/dist/collection/components/action-group/resources.js +1 -1
  214. package/dist/collection/components/action-menu/action-menu.css +28 -0
  215. package/dist/collection/components/action-menu/action-menu.js +1 -1
  216. package/dist/collection/components/action-menu/resources.js +1 -1
  217. package/dist/collection/components/action-pad/action-pad.css +28 -0
  218. package/dist/collection/components/action-pad/action-pad.js +1 -1
  219. package/dist/collection/components/action-pad/resources.js +1 -1
  220. package/dist/collection/components/alert/alert.css +28 -0
  221. package/dist/collection/components/alert/alert.js +1 -1
  222. package/dist/collection/components/alert/resources.js +1 -1
  223. package/dist/collection/components/avatar/avatar.css +28 -0
  224. package/dist/collection/components/avatar/avatar.js +1 -1
  225. package/dist/collection/components/avatar/utils.js +1 -1
  226. package/dist/collection/components/block/block.css +56 -0
  227. package/dist/collection/components/block/block.js +1 -1
  228. package/dist/collection/components/block/resources.js +1 -1
  229. package/dist/collection/components/block-section/block-section.css +28 -0
  230. package/dist/collection/components/block-section/block-section.js +1 -1
  231. package/dist/collection/components/block-section/resources.js +1 -1
  232. package/dist/collection/components/button/button.css +28 -0
  233. package/dist/collection/components/button/button.js +1 -1
  234. package/dist/collection/components/button/resources.js +1 -1
  235. package/dist/collection/components/card/card.css +28 -0
  236. package/dist/collection/components/card/card.js +1 -1
  237. package/dist/collection/components/card/resources.js +1 -1
  238. package/dist/collection/components/checkbox/checkbox.css +28 -0
  239. package/dist/collection/components/checkbox/checkbox.js +1 -1
  240. package/dist/collection/components/chip/chip.css +28 -0
  241. package/dist/collection/components/chip/chip.js +1 -1
  242. package/dist/collection/components/chip/resources.js +1 -1
  243. package/dist/collection/components/chip-group/chip-group.css +28 -0
  244. package/dist/collection/components/chip-group/chip-group.js +1 -1
  245. package/dist/collection/components/color-picker/color-picker.css +28 -0
  246. package/dist/collection/components/color-picker/color-picker.js +1 -1
  247. package/dist/collection/components/color-picker/resources.js +1 -1
  248. package/dist/collection/components/color-picker/utils.js +1 -1
  249. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +28 -0
  250. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  251. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  252. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +28 -0
  253. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  254. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  255. package/dist/collection/components/combobox/combobox.css +28 -0
  256. package/dist/collection/components/combobox/combobox.js +1 -1
  257. package/dist/collection/components/combobox/resources.js +1 -1
  258. package/dist/collection/components/combobox/utils.js +1 -1
  259. package/dist/collection/components/combobox-item/combobox-item.css +28 -0
  260. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  261. package/dist/collection/components/combobox-item/resources.js +1 -1
  262. package/dist/collection/components/combobox-item-group/combobox-item-group.css +28 -0
  263. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  264. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  265. package/dist/collection/components/date-picker/date-picker.css +28 -0
  266. package/dist/collection/components/date-picker/date-picker.js +1 -1
  267. package/dist/collection/components/date-picker/resources.js +1 -1
  268. package/dist/collection/components/date-picker/utils.js +1 -1
  269. package/dist/collection/components/date-picker-day/date-picker-day.css +28 -0
  270. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  271. package/dist/collection/components/date-picker-month/date-picker-month.css +28 -0
  272. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  273. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +28 -0
  274. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  275. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  276. package/dist/collection/components/dropdown/dropdown.css +28 -0
  277. package/dist/collection/components/dropdown/dropdown.js +1 -1
  278. package/dist/collection/components/dropdown/resources.js +1 -1
  279. package/dist/collection/components/dropdown-group/dropdown-group.css +28 -0
  280. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  281. package/dist/collection/components/dropdown-group/resources.js +1 -1
  282. package/dist/collection/components/dropdown-item/dropdown-item.css +28 -0
  283. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  284. package/dist/collection/components/dropdown-item/resources.js +1 -1
  285. package/dist/collection/components/fab/fab.css +28 -0
  286. package/dist/collection/components/fab/fab.js +1 -1
  287. package/dist/collection/components/fab/resources.js +1 -1
  288. package/dist/collection/components/filter/filter.css +28 -0
  289. package/dist/collection/components/filter/filter.js +1 -1
  290. package/dist/collection/components/filter/resources.js +1 -1
  291. package/dist/collection/components/flow/flow.css +28 -0
  292. package/dist/collection/components/flow/flow.js +1 -1
  293. package/dist/collection/components/flow/resources.js +1 -1
  294. package/dist/collection/components/flow-item/flow-item.css +28 -0
  295. package/dist/collection/components/flow-item/flow-item.js +1 -1
  296. package/dist/collection/components/flow-item/resources.js +1 -1
  297. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  298. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  299. package/dist/collection/components/functional/Heading.js +1 -1
  300. package/dist/collection/components/graph/graph.css +28 -0
  301. package/dist/collection/components/graph/graph.js +1 -1
  302. package/dist/collection/components/graph/util.js +1 -1
  303. package/dist/collection/components/handle/handle.css +28 -0
  304. package/dist/collection/components/handle/handle.js +1 -1
  305. package/dist/collection/components/handle/resources.js +1 -1
  306. package/dist/collection/components/icon/icon.css +28 -0
  307. package/dist/collection/components/icon/icon.js +1 -1
  308. package/dist/collection/components/icon/resources.js +1 -1
  309. package/dist/collection/components/icon/utils.js +1 -1
  310. package/dist/collection/components/inline-editable/inline-editable.css +28 -0
  311. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  312. package/dist/collection/components/inline-editable/resources.js +1 -1
  313. package/dist/collection/components/input/input.css +28 -0
  314. package/dist/collection/components/input/input.js +1 -1
  315. package/dist/collection/components/input/resources.js +1 -1
  316. package/dist/collection/components/input-date-picker/input-date-picker.css +28 -0
  317. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  318. package/dist/collection/components/input-date-picker/resources.js +1 -1
  319. package/dist/collection/components/input-message/input-message.css +28 -0
  320. package/dist/collection/components/input-message/input-message.js +1 -1
  321. package/dist/collection/components/input-message/interfaces.js +1 -1
  322. package/dist/collection/components/input-number/input-number.css +28 -0
  323. package/dist/collection/components/input-number/input-number.js +1 -1
  324. package/dist/collection/components/input-number/resources.js +1 -1
  325. package/dist/collection/components/input-text/input-text.css +28 -0
  326. package/dist/collection/components/input-text/input-text.js +1 -1
  327. package/dist/collection/components/input-text/resources.js +1 -1
  328. package/dist/collection/components/input-time-picker/input-time-picker.css +28 -0
  329. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  330. package/dist/collection/components/input-time-picker/resources.js +1 -1
  331. package/dist/collection/components/label/label.css +28 -0
  332. package/dist/collection/components/label/label.js +1 -1
  333. package/dist/collection/components/label/resources.js +1 -1
  334. package/dist/collection/components/link/link.css +28 -0
  335. package/dist/collection/components/link/link.js +1 -1
  336. package/dist/collection/components/list/list.css +28 -0
  337. package/dist/collection/components/list/list.js +1 -1
  338. package/dist/collection/components/list/resources.js +1 -1
  339. package/dist/collection/components/list-item/list-item.css +28 -0
  340. package/dist/collection/components/list-item/list-item.js +1 -1
  341. package/dist/collection/components/list-item/resources.js +1 -1
  342. package/dist/collection/components/list-item/utils.js +1 -1
  343. package/dist/collection/components/list-item-group/list-item-group.css +28 -0
  344. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  345. package/dist/collection/components/list-item-group/resources.js +1 -1
  346. package/dist/collection/components/loader/loader.css +56 -0
  347. package/dist/collection/components/loader/loader.js +1 -1
  348. package/dist/collection/components/modal/modal.css +28 -0
  349. package/dist/collection/components/modal/modal.js +1 -1
  350. package/dist/collection/components/modal/resources.js +1 -1
  351. package/dist/collection/components/notice/notice.css +28 -0
  352. package/dist/collection/components/notice/notice.js +1 -1
  353. package/dist/collection/components/notice/resources.js +1 -1
  354. package/dist/collection/components/option/option.css +28 -0
  355. package/dist/collection/components/option/option.js +1 -1
  356. package/dist/collection/components/option-group/option-group.css +28 -0
  357. package/dist/collection/components/option-group/option-group.js +1 -1
  358. package/dist/collection/components/pagination/pagination.css +28 -0
  359. package/dist/collection/components/pagination/pagination.js +1 -1
  360. package/dist/collection/components/pagination/resources.js +1 -1
  361. package/dist/collection/components/panel/panel.css +28 -0
  362. package/dist/collection/components/panel/panel.js +1 -1
  363. package/dist/collection/components/panel/resources.js +1 -1
  364. package/dist/collection/components/pick-list/pick-list.css +28 -0
  365. package/dist/collection/components/pick-list/pick-list.js +1 -1
  366. package/dist/collection/components/pick-list/resources.js +1 -1
  367. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  368. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  369. package/dist/collection/components/pick-list-group/pick-list-group.css +28 -0
  370. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  371. package/dist/collection/components/pick-list-group/resources.js +1 -1
  372. package/dist/collection/components/pick-list-item/pick-list-item.css +28 -0
  373. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  374. package/dist/collection/components/pick-list-item/resources.js +1 -1
  375. package/dist/collection/components/popover/PopoverManager.js +1 -1
  376. package/dist/collection/components/popover/popover.css +28 -0
  377. package/dist/collection/components/popover/popover.js +1 -1
  378. package/dist/collection/components/popover/resources.js +1 -1
  379. package/dist/collection/components/progress/progress.css +56 -0
  380. package/dist/collection/components/progress/progress.js +1 -1
  381. package/dist/collection/components/radio-button/radio-button.css +28 -0
  382. package/dist/collection/components/radio-button/radio-button.js +1 -1
  383. package/dist/collection/components/radio-button/resources.js +1 -1
  384. package/dist/collection/components/radio-button-group/radio-button-group.css +28 -0
  385. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  386. package/dist/collection/components/rating/function/star.js +1 -1
  387. package/dist/collection/components/rating/rating.css +28 -0
  388. package/dist/collection/components/rating/rating.js +1 -1
  389. package/dist/collection/components/resources.js +1 -1
  390. package/dist/collection/components/scrim/resources.js +1 -1
  391. package/dist/collection/components/scrim/scrim.css +28 -0
  392. package/dist/collection/components/scrim/scrim.js +1 -1
  393. package/dist/collection/components/segmented-control/segmented-control.css +28 -0
  394. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  395. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  396. package/dist/collection/components/segmented-control-item/segmented-control-item.css +28 -0
  397. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  398. package/dist/collection/components/select/resources.js +1 -1
  399. package/dist/collection/components/select/select.css +28 -0
  400. package/dist/collection/components/select/select.js +1 -1
  401. package/dist/collection/components/shell/resources.js +1 -1
  402. package/dist/collection/components/shell/shell.css +28 -0
  403. package/dist/collection/components/shell/shell.js +1 -1
  404. package/dist/collection/components/shell-center-row/resources.js +1 -1
  405. package/dist/collection/components/shell-center-row/shell-center-row.css +28 -0
  406. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  407. package/dist/collection/components/shell-panel/resources.js +1 -1
  408. package/dist/collection/components/shell-panel/shell-panel.css +28 -0
  409. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  410. package/dist/collection/components/slider/resources.js +1 -1
  411. package/dist/collection/components/slider/slider.css +28 -0
  412. package/dist/collection/components/slider/slider.js +1 -1
  413. package/dist/collection/components/sortable-list/resources.js +1 -1
  414. package/dist/collection/components/sortable-list/sortable-list.css +28 -0
  415. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  416. package/dist/collection/components/split-button/resources.js +1 -1
  417. package/dist/collection/components/split-button/split-button.css +28 -0
  418. package/dist/collection/components/split-button/split-button.js +1 -1
  419. package/dist/collection/components/stepper/stepper.css +28 -0
  420. package/dist/collection/components/stepper/stepper.js +1 -1
  421. package/dist/collection/components/stepper-item/stepper-item.css +28 -0
  422. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  423. package/dist/collection/components/switch/switch.css +28 -0
  424. package/dist/collection/components/switch/switch.js +1 -1
  425. package/dist/collection/components/tab/tab.css +28 -0
  426. package/dist/collection/components/tab/tab.js +1 -1
  427. package/dist/collection/components/tab-nav/tab-nav.css +28 -0
  428. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  429. package/dist/collection/components/tab-title/resources.js +1 -1
  430. package/dist/collection/components/tab-title/tab-title.css +28 -0
  431. package/dist/collection/components/tab-title/tab-title.js +1 -1
  432. package/dist/collection/components/tabs/resources.js +1 -1
  433. package/dist/collection/components/tabs/tabs.css +28 -0
  434. package/dist/collection/components/tabs/tabs.js +1 -1
  435. package/dist/collection/components/text-area/resources.js +1 -1
  436. package/dist/collection/components/text-area/text-area.css +28 -0
  437. package/dist/collection/components/text-area/text-area.js +1 -1
  438. package/dist/collection/components/tile/resources.js +1 -1
  439. package/dist/collection/components/tile/tile.css +28 -0
  440. package/dist/collection/components/tile/tile.js +1 -1
  441. package/dist/collection/components/tile-select/resources.js +1 -1
  442. package/dist/collection/components/tile-select/tile-select.css +28 -0
  443. package/dist/collection/components/tile-select/tile-select.js +1 -1
  444. package/dist/collection/components/tile-select-group/tile-select-group.css +28 -0
  445. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  446. package/dist/collection/components/time-picker/resources.js +1 -1
  447. package/dist/collection/components/time-picker/time-picker.css +28 -0
  448. package/dist/collection/components/time-picker/time-picker.js +1 -1
  449. package/dist/collection/components/tip/resources.js +1 -1
  450. package/dist/collection/components/tip/tip.css +28 -0
  451. package/dist/collection/components/tip/tip.js +1 -1
  452. package/dist/collection/components/tip-group/tip-group.css +28 -0
  453. package/dist/collection/components/tip-group/tip-group.js +1 -1
  454. package/dist/collection/components/tip-manager/resources.js +1 -1
  455. package/dist/collection/components/tip-manager/tip-manager.css +28 -0
  456. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  457. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  458. package/dist/collection/components/tooltip/resources.js +1 -1
  459. package/dist/collection/components/tooltip/tooltip.css +28 -0
  460. package/dist/collection/components/tooltip/tooltip.js +1 -1
  461. package/dist/collection/components/tooltip/utils.js +1 -1
  462. package/dist/collection/components/tree/tree.css +28 -0
  463. package/dist/collection/components/tree/tree.js +1 -1
  464. package/dist/collection/components/tree/utils.js +1 -1
  465. package/dist/collection/components/tree-item/resources.js +1 -1
  466. package/dist/collection/components/tree-item/tree-item.css +28 -0
  467. package/dist/collection/components/tree-item/tree-item.js +1 -1
  468. package/dist/collection/components/value-list/resources.js +1 -1
  469. package/dist/collection/components/value-list/utils.js +1 -1
  470. package/dist/collection/components/value-list/value-list.css +28 -0
  471. package/dist/collection/components/value-list/value-list.js +1 -1
  472. package/dist/collection/components/value-list-item/resources.js +1 -1
  473. package/dist/collection/components/value-list-item/value-list-item.css +28 -0
  474. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  475. package/dist/collection/index.js +1 -1
  476. package/dist/collection/utils/array.js +1 -1
  477. package/dist/collection/utils/conditionalSlot.js +1 -1
  478. package/dist/collection/utils/config.js +1 -1
  479. package/dist/collection/utils/date.js +1 -1
  480. package/dist/collection/utils/dom.js +1 -1
  481. package/dist/collection/utils/filter.js +1 -1
  482. package/dist/collection/utils/floating-ui.js +1 -1
  483. package/dist/collection/utils/focusTrapComponent.js +1 -1
  484. package/dist/collection/utils/form.js +1 -1
  485. package/dist/collection/utils/globalAttributes.js +1 -1
  486. package/dist/collection/utils/globalScript.js +1 -1
  487. package/dist/collection/utils/guid.js +1 -1
  488. package/dist/collection/utils/interactive.js +1 -1
  489. package/dist/collection/utils/key.js +1 -1
  490. package/dist/collection/utils/label.js +1 -1
  491. package/dist/collection/utils/loadable.js +1 -1
  492. package/dist/collection/utils/locale.js +1 -1
  493. package/dist/collection/utils/math.js +1 -1
  494. package/dist/collection/utils/mode.js +1 -1
  495. package/dist/collection/utils/number.js +1 -1
  496. package/dist/collection/utils/observers.js +1 -1
  497. package/dist/collection/utils/openCloseComponent.js +1 -1
  498. package/dist/collection/utils/resources.js +1 -1
  499. package/dist/collection/utils/t9n.js +1 -1
  500. package/dist/collection/utils/time.js +1 -1
  501. package/dist/components/ExpandToggle.js +1 -1
  502. package/dist/components/FloatingArrow.js +1 -1
  503. package/dist/components/Heading.js +1 -1
  504. package/dist/components/action-group.js +2 -2
  505. package/dist/components/action-menu.js +2 -2
  506. package/dist/components/action.js +2 -2
  507. package/dist/components/array.js +1 -1
  508. package/dist/components/button.js +2 -2
  509. package/dist/components/calcite-accordion-item.js +2 -2
  510. package/dist/components/calcite-accordion.js +2 -2
  511. package/dist/components/calcite-action-bar.js +2 -2
  512. package/dist/components/calcite-action-group.js +1 -1
  513. package/dist/components/calcite-action-menu.js +1 -1
  514. package/dist/components/calcite-action-pad.js +2 -2
  515. package/dist/components/calcite-action.js +1 -1
  516. package/dist/components/calcite-alert.js +2 -2
  517. package/dist/components/calcite-avatar.js +2 -2
  518. package/dist/components/calcite-block-section.js +2 -2
  519. package/dist/components/calcite-block.js +2 -2
  520. package/dist/components/calcite-button.js +1 -1
  521. package/dist/components/calcite-card.js +2 -2
  522. package/dist/components/calcite-checkbox.js +1 -1
  523. package/dist/components/calcite-chip-group.js +2 -2
  524. package/dist/components/calcite-chip.js +1 -1
  525. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  526. package/dist/components/calcite-color-picker-swatch.js +1 -1
  527. package/dist/components/calcite-color-picker.js +2 -2
  528. package/dist/components/calcite-combobox-item-group.js +2 -2
  529. package/dist/components/calcite-combobox-item.js +2 -2
  530. package/dist/components/calcite-combobox.js +2 -2
  531. package/dist/components/calcite-date-picker-day.js +1 -1
  532. package/dist/components/calcite-date-picker-month-header.js +1 -1
  533. package/dist/components/calcite-date-picker-month.js +1 -1
  534. package/dist/components/calcite-date-picker.js +1 -1
  535. package/dist/components/calcite-dropdown-group.js +2 -2
  536. package/dist/components/calcite-dropdown-item.js +2 -2
  537. package/dist/components/calcite-dropdown.js +1 -1
  538. package/dist/components/calcite-fab.js +2 -2
  539. package/dist/components/calcite-filter.js +1 -1
  540. package/dist/components/calcite-flow-item.js +2 -2
  541. package/dist/components/calcite-flow.js +2 -2
  542. package/dist/components/calcite-graph.js +1 -1
  543. package/dist/components/calcite-handle.js +1 -1
  544. package/dist/components/calcite-icon.js +1 -1
  545. package/dist/components/calcite-inline-editable.js +2 -2
  546. package/dist/components/calcite-input-date-picker.js +2 -2
  547. package/dist/components/calcite-input-message.js +2 -2
  548. package/dist/components/calcite-input-number.js +1 -1
  549. package/dist/components/calcite-input-text.js +2 -2
  550. package/dist/components/calcite-input-time-picker.js +2 -2
  551. package/dist/components/calcite-input.js +1 -1
  552. package/dist/components/calcite-label.js +1 -1
  553. package/dist/components/calcite-link.js +1 -1
  554. package/dist/components/calcite-list-item-group.js +2 -2
  555. package/dist/components/calcite-list-item.js +2 -2
  556. package/dist/components/calcite-list.js +2 -2
  557. package/dist/components/calcite-loader.js +1 -1
  558. package/dist/components/calcite-modal.js +2 -2
  559. package/dist/components/calcite-notice.js +2 -2
  560. package/dist/components/calcite-option-group.js +2 -2
  561. package/dist/components/calcite-option.js +2 -2
  562. package/dist/components/calcite-pagination.js +2 -2
  563. package/dist/components/calcite-panel.js +1 -1
  564. package/dist/components/calcite-pick-list-group.js +2 -2
  565. package/dist/components/calcite-pick-list-item.js +1 -1
  566. package/dist/components/calcite-pick-list.js +2 -2
  567. package/dist/components/calcite-popover.js +1 -1
  568. package/dist/components/calcite-progress.js +1 -1
  569. package/dist/components/calcite-radio-button-group.js +2 -2
  570. package/dist/components/calcite-radio-button.js +2 -2
  571. package/dist/components/calcite-rating.js +2 -2
  572. package/dist/components/calcite-scrim.js +1 -1
  573. package/dist/components/calcite-segmented-control-item.js +2 -2
  574. package/dist/components/calcite-segmented-control.js +2 -2
  575. package/dist/components/calcite-select.js +2 -2
  576. package/dist/components/calcite-shell-center-row.js +2 -2
  577. package/dist/components/calcite-shell-panel.js +2 -2
  578. package/dist/components/calcite-shell.js +2 -2
  579. package/dist/components/calcite-slider.js +2 -2
  580. package/dist/components/calcite-sortable-list.js +2 -2
  581. package/dist/components/calcite-split-button.js +2 -2
  582. package/dist/components/calcite-stepper-item.js +2 -2
  583. package/dist/components/calcite-stepper.js +2 -2
  584. package/dist/components/calcite-switch.js +1 -1
  585. package/dist/components/calcite-tab-nav.js +1 -1
  586. package/dist/components/calcite-tab-title.js +1 -1
  587. package/dist/components/calcite-tab.js +1 -1
  588. package/dist/components/calcite-tabs.js +1 -1
  589. package/dist/components/calcite-text-area.js +2 -2
  590. package/dist/components/calcite-tile-select-group.js +2 -2
  591. package/dist/components/calcite-tile-select.js +2 -2
  592. package/dist/components/calcite-tile.js +1 -1
  593. package/dist/components/calcite-time-picker.js +1 -1
  594. package/dist/components/calcite-tip-group.js +2 -2
  595. package/dist/components/calcite-tip-manager.js +2 -2
  596. package/dist/components/calcite-tip.js +2 -2
  597. package/dist/components/calcite-tooltip.js +1 -1
  598. package/dist/components/calcite-tree-item.js +2 -2
  599. package/dist/components/calcite-tree.js +2 -2
  600. package/dist/components/calcite-value-list-item.js +2 -2
  601. package/dist/components/calcite-value-list.js +2 -2
  602. package/dist/components/checkbox.js +2 -2
  603. package/dist/components/chip.js +2 -2
  604. package/dist/components/color-picker-hex-input.js +2 -2
  605. package/dist/components/color-picker-swatch.js +2 -2
  606. package/dist/components/composed-offset-position.esm.js +1 -1
  607. package/dist/components/conditionalSlot.js +1 -1
  608. package/dist/components/date-picker-day.js +2 -2
  609. package/dist/components/date-picker-month-header.js +2 -2
  610. package/dist/components/date-picker-month.js +2 -2
  611. package/dist/components/date-picker.js +2 -2
  612. package/dist/components/date.js +1 -1
  613. package/dist/components/debounce.js +1 -1
  614. package/dist/components/dom.js +1 -1
  615. package/dist/components/dropdown.js +2 -2
  616. package/dist/components/filter.js +2 -2
  617. package/dist/components/filter2.js +1 -1
  618. package/dist/components/floating-ui.js +1 -1
  619. package/dist/components/focusTrapComponent.js +1 -1
  620. package/dist/components/form.js +1 -1
  621. package/dist/components/graph.js +2 -2
  622. package/dist/components/guid.js +1 -1
  623. package/dist/components/handle.js +2 -2
  624. package/dist/components/icon.js +2 -2
  625. package/dist/components/index.js +1 -1
  626. package/dist/components/index2.js +1 -1
  627. package/dist/components/input-number.js +2 -2
  628. package/dist/components/input.js +2 -2
  629. package/dist/components/interactive.js +1 -1
  630. package/dist/components/key.js +1 -1
  631. package/dist/components/label.js +2 -2
  632. package/dist/components/label2.js +1 -1
  633. package/dist/components/link.js +2 -2
  634. package/dist/components/loadable.js +1 -1
  635. package/dist/components/loader.js +2 -2
  636. package/dist/components/locale.js +1 -1
  637. package/dist/components/math.js +1 -1
  638. package/dist/components/observers.js +1 -1
  639. package/dist/components/openCloseComponent.js +1 -1
  640. package/dist/components/panel.js +2 -2
  641. package/dist/components/pick-list-item.js +2 -2
  642. package/dist/components/popover.js +2 -2
  643. package/dist/components/progress.js +2 -2
  644. package/dist/components/resources.js +1 -1
  645. package/dist/components/resources2.js +1 -1
  646. package/dist/components/resources3.js +1 -1
  647. package/dist/components/scrim.js +2 -2
  648. package/dist/components/shared-list-render.js +1 -1
  649. package/dist/components/sortable.esm.js +1 -1
  650. package/dist/components/switch.js +2 -2
  651. package/dist/components/t9n.js +1 -1
  652. package/dist/components/tab-nav.js +2 -2
  653. package/dist/components/tab-title.js +2 -2
  654. package/dist/components/tab.js +2 -2
  655. package/dist/components/tabs.js +2 -2
  656. package/dist/components/throttle.js +1 -1
  657. package/dist/components/tile.js +2 -2
  658. package/dist/components/time-picker.js +2 -2
  659. package/dist/components/tooltip.js +2 -2
  660. package/dist/components/utils.js +1 -1
  661. package/dist/components/utils2.js +1 -1
  662. package/dist/components/utils3.js +1 -1
  663. package/dist/esm/{ExpandToggle-453532fb.js → ExpandToggle-08d3fc16.js} +5 -5
  664. package/dist/esm/{FloatingArrow-7e092a81.js → FloatingArrow-2c212b17.js} +2 -2
  665. package/dist/esm/{Heading-3e8ede2b.js → Heading-74a23d79.js} +2 -2
  666. package/dist/esm/{app-globals-f5cd924f.js → app-globals-8c9ecd4d.js} +2 -2
  667. package/dist/esm/{array-cd8aabd5.js → array-738e1ac6.js} +1 -1
  668. package/dist/esm/calcite-accordion_2.entry.js +9 -9
  669. package/dist/esm/calcite-action-bar.entry.js +16 -16
  670. package/dist/esm/calcite-action-group.entry.js +14 -14
  671. package/dist/esm/calcite-action-menu.entry.js +10 -10
  672. package/dist/esm/calcite-action-pad.entry.js +15 -15
  673. package/dist/esm/calcite-action.entry.js +12 -12
  674. package/dist/esm/calcite-alert.entry.js +13 -13
  675. package/dist/esm/calcite-avatar.entry.js +7 -7
  676. package/dist/esm/calcite-block_2.entry.js +14 -14
  677. package/dist/esm/calcite-button.entry.js +14 -14
  678. package/dist/esm/calcite-card.entry.js +11 -11
  679. package/dist/esm/calcite-checkbox.entry.js +11 -11
  680. package/dist/esm/calcite-chip-group.entry.js +9 -9
  681. package/dist/esm/calcite-chip.entry.js +13 -13
  682. package/dist/esm/calcite-color-picker_3.entry.js +18 -18
  683. package/dist/esm/calcite-combobox_3.entry.js +21 -21
  684. package/dist/esm/calcite-date-picker_4.entry.js +17 -17
  685. package/dist/esm/calcite-dropdown_3.entry.js +15 -15
  686. package/dist/esm/calcite-fab.entry.js +8 -8
  687. package/dist/esm/calcite-filter.entry.js +14 -14
  688. package/dist/esm/calcite-flow-item.entry.js +13 -13
  689. package/dist/esm/calcite-flow.entry.js +4 -4
  690. package/dist/esm/calcite-graph_2.entry.js +15 -15
  691. package/dist/esm/calcite-handle.entry.js +11 -11
  692. package/dist/esm/calcite-icon.entry.js +7 -7
  693. package/dist/esm/calcite-inline-editable.entry.js +13 -13
  694. package/dist/esm/calcite-input-date-picker.entry.js +19 -19
  695. package/dist/esm/calcite-input-message.entry.js +6 -6
  696. package/dist/esm/calcite-input-number.entry.js +14 -14
  697. package/dist/esm/calcite-input-text.entry.js +14 -14
  698. package/dist/esm/calcite-input-time-picker_2.entry.js +16 -16
  699. package/dist/esm/calcite-input.entry.js +14 -14
  700. package/dist/esm/calcite-label.entry.js +7 -7
  701. package/dist/esm/calcite-link.entry.js +8 -8
  702. package/dist/esm/calcite-list_3.entry.js +15 -15
  703. package/dist/esm/calcite-loader.entry.js +4 -4
  704. package/dist/esm/calcite-modal.entry.js +14 -14
  705. package/dist/esm/calcite-notice.entry.js +13 -13
  706. package/dist/esm/calcite-option_3.entry.js +13 -13
  707. package/dist/esm/calcite-pagination.entry.js +11 -11
  708. package/dist/esm/calcite-panel.entry.js +15 -15
  709. package/dist/esm/calcite-pick-list_3.entry.js +19 -19
  710. package/dist/esm/calcite-popover.entry.js +17 -17
  711. package/dist/esm/calcite-progress.entry.js +3 -3
  712. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  713. package/dist/esm/calcite-radio-button.entry.js +11 -11
  714. package/dist/esm/calcite-rating.entry.js +14 -14
  715. package/dist/esm/calcite-scrim.entry.js +10 -10
  716. package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
  717. package/dist/esm/calcite-shell_3.entry.js +14 -14
  718. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  719. package/dist/esm/calcite-split-button.entry.js +5 -5
  720. package/dist/esm/calcite-stepper_2.entry.js +12 -12
  721. package/dist/esm/calcite-switch.entry.js +11 -11
  722. package/dist/esm/calcite-tab_4.entry.js +11 -11
  723. package/dist/esm/calcite-text-area.entry.js +16 -16
  724. package/dist/esm/calcite-tile-select_2.entry.js +7 -7
  725. package/dist/esm/calcite-tile.entry.js +9 -9
  726. package/dist/esm/calcite-tip_3.entry.js +14 -14
  727. package/dist/esm/calcite-tooltip.entry.js +10 -10
  728. package/dist/esm/calcite-tree_2.entry.js +11 -11
  729. package/dist/esm/calcite-value-list_2.entry.js +18 -18
  730. package/dist/esm/calcite.js +5 -5
  731. package/dist/esm/{composed-offset-position.esm-76d65efb.js → composed-offset-position.esm-7183f535.js} +1 -1
  732. package/dist/esm/{conditionalSlot-aa1ef58a.js → conditionalSlot-8dcf294e.js} +3 -3
  733. package/dist/esm/{debounce-8c6a3cbc.js → debounce-202fcbcd.js} +1 -1
  734. package/dist/esm/{dom-b9bed823.js → dom-bef76399.js} +3 -3
  735. package/dist/esm/{filter-e32fe919.js → filter-99a00b00.js} +2 -2
  736. package/dist/esm/{floating-ui-fbd8bbc8.js → floating-ui-3b144250.js} +4 -4
  737. package/dist/esm/{focusTrapComponent-d63c1aa7.js → focusTrapComponent-11da47cd.js} +2 -2
  738. package/dist/esm/{form-7d8a2b92.js → form-9ec1fffc.js} +3 -3
  739. package/dist/esm/{guid-8fc9c6e4.js → guid-9fe3e534.js} +1 -1
  740. package/dist/esm/{index-18aa0ab5.js → index-2db8a7e2.js} +1 -1
  741. package/dist/esm/index.js +2 -2
  742. package/dist/esm/{interactive-c1d7134a.js → interactive-bb1f57d0.js} +1 -1
  743. package/dist/esm/{key-c41d524a.js → key-c032c64e.js} +1 -1
  744. package/dist/esm/{label-fab33c80.js → label-491a2111.js} +2 -2
  745. package/dist/esm/{loadable-a4cb0e0a.js → loadable-8dd0a87b.js} +1 -1
  746. package/dist/esm/loader.js +5 -5
  747. package/dist/esm/{locale-70a08434.js → locale-a0557607.js} +4 -4
  748. package/dist/esm/{math-4700eb3d.js → math-c3672f0c.js} +1 -1
  749. package/dist/esm/{observers-72f649b9.js → observers-600e50b2.js} +1 -1
  750. package/dist/esm/{openCloseComponent-7099262f.js → openCloseComponent-415e6baf.js} +2 -2
  751. package/dist/esm/{resources-6f9c09ba.js → resources-004115b1.js} +5 -5
  752. package/dist/esm/{resources-3a3d58c2.js → resources-07152e83.js} +1 -1
  753. package/dist/esm/{resources-6fb499ae.js → resources-30536763.js} +1 -1
  754. package/dist/esm/{resources-941c20ae.js → resources-405d5533.js} +1 -1
  755. package/dist/esm/{resources-7d1e244f.js → resources-84de5e61.js} +1 -1
  756. package/dist/esm/{resources-04baed08.js → resources-8b8ca592.js} +1 -1
  757. package/dist/esm/{sortable.esm-fa5ebcb2.js → sortable.esm-b48569dd.js} +1 -1
  758. package/dist/esm/{t9n-1cf2a8af.js → t9n-5f6010b1.js} +3 -3
  759. package/dist/esm/{throttle-48795209.js → throttle-c1467685.js} +2 -2
  760. package/dist/esm/{utils-b673e5a0.js → utils-182a6956.js} +3 -3
  761. package/dist/esm/{utils-cb560d06.js → utils-c0bef67d.js} +1 -1
  762. package/dist/extras/docs-json.json +1 -1
  763. package/dist/loader/cdn.js +1 -1
  764. package/dist/loader/index.cjs.js +1 -1
  765. package/dist/loader/index.es2017.js +1 -1
  766. package/dist/loader/index.js +1 -1
  767. package/hydrate/index.js +94 -94
  768. package/package.json +1 -1
  769. package/dist/calcite/p-006421cf.entry.js +0 -6
  770. package/dist/calcite/p-033b7e01.entry.js +0 -6
  771. package/dist/calcite/p-088553ab.entry.js +0 -6
  772. package/dist/calcite/p-0c5c7ac8.entry.js +0 -6
  773. package/dist/calcite/p-0f914551.entry.js +0 -6
  774. package/dist/calcite/p-12a17917.entry.js +0 -6
  775. package/dist/calcite/p-166b2653.entry.js +0 -6
  776. package/dist/calcite/p-1d8d9ad5.entry.js +0 -6
  777. package/dist/calcite/p-21f70058.entry.js +0 -6
  778. package/dist/calcite/p-26ff46fc.entry.js +0 -6
  779. package/dist/calcite/p-2e345437.entry.js +0 -6
  780. package/dist/calcite/p-33841e82.entry.js +0 -6
  781. package/dist/calcite/p-39d22c35.entry.js +0 -6
  782. package/dist/calcite/p-3fe662f7.entry.js +0 -6
  783. package/dist/calcite/p-463c3817.entry.js +0 -6
  784. package/dist/calcite/p-504ea909.entry.js +0 -6
  785. package/dist/calcite/p-548fb4ce.entry.js +0 -6
  786. package/dist/calcite/p-55caae0c.entry.js +0 -6
  787. package/dist/calcite/p-590cc126.entry.js +0 -6
  788. package/dist/calcite/p-5bc7013c.entry.js +0 -6
  789. package/dist/calcite/p-63d45233.entry.js +0 -6
  790. package/dist/calcite/p-6b84d6ef.entry.js +0 -6
  791. package/dist/calcite/p-706ed58d.entry.js +0 -6
  792. package/dist/calcite/p-718f633f.entry.js +0 -6
  793. package/dist/calcite/p-7249fbe5.entry.js +0 -6
  794. package/dist/calcite/p-72ba446e.entry.js +0 -6
  795. package/dist/calcite/p-75b724ae.entry.js +0 -6
  796. package/dist/calcite/p-771ec30b.entry.js +0 -6
  797. package/dist/calcite/p-7c870019.entry.js +0 -6
  798. package/dist/calcite/p-7cb6bb0c.entry.js +0 -6
  799. package/dist/calcite/p-7ddd51c0.entry.js +0 -6
  800. package/dist/calcite/p-80b4addf.entry.js +0 -6
  801. package/dist/calcite/p-83924270.entry.js +0 -6
  802. package/dist/calcite/p-8d09a65c.entry.js +0 -6
  803. package/dist/calcite/p-923166fc.entry.js +0 -6
  804. package/dist/calcite/p-95fdcb91.entry.js +0 -6
  805. package/dist/calcite/p-96968ac7.entry.js +0 -6
  806. package/dist/calcite/p-970be967.entry.js +0 -6
  807. package/dist/calcite/p-9c84eb29.entry.js +0 -6
  808. package/dist/calcite/p-9d07088d.entry.js +0 -6
  809. package/dist/calcite/p-a15f7de3.js +0 -6
  810. package/dist/calcite/p-a49d3536.entry.js +0 -6
  811. package/dist/calcite/p-a94a945f.entry.js +0 -6
  812. package/dist/calcite/p-aa277b5a.entry.js +0 -6
  813. package/dist/calcite/p-ac273467.entry.js +0 -6
  814. package/dist/calcite/p-b140b736.js +0 -6
  815. package/dist/calcite/p-b149fa47.entry.js +0 -6
  816. package/dist/calcite/p-b2b99a48.entry.js +0 -6
  817. package/dist/calcite/p-b99a1036.entry.js +0 -6
  818. package/dist/calcite/p-c6a73b19.entry.js +0 -6
  819. package/dist/calcite/p-c8c93dc4.entry.js +0 -6
  820. package/dist/calcite/p-cc171e49.entry.js +0 -6
  821. package/dist/calcite/p-d3245ccf.entry.js +0 -6
  822. package/dist/calcite/p-deb3bdde.entry.js +0 -6
  823. package/dist/calcite/p-e0e93a72.entry.js +0 -6
  824. package/dist/calcite/p-f0fdf516.entry.js +0 -6
  825. package/dist/calcite/p-f1642ec6.entry.js +0 -6
  826. package/dist/calcite/p-f5e50012.entry.js +0 -6
  827. package/dist/calcite/p-fe1c87d5.entry.js +0 -6
  828. package/dist/calcite/p-ffdbd6d1.entry.js +0 -6
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.4.0-next.11
5
+ */
6
+ import{r as t,c as i,h as e,a,H as n}from"./p-42552845.js";import{t as s,d as c,b as o}from"./p-6dc8f26e.js";import{u as l}from"./p-165ec40b.js";import{c as r}from"./p-8ae8e08d.js";import{s as d,a as h,c as m}from"./p-95093c16.js";import{d as p}from"./p-75a62ff3.js";import{c as f,d as u}from"./p-f747567a.js";import{u as g,c as b,s as y,d as v}from"./p-cfb7ba9f.js";import"./p-1f66d449.js";import"./p-f3a960c7.js";import"./p-a8f92d33.js";const w="open-container",x="calcite-list-item";function k(t){const i=t.target.assignedElements({flatten:!0});return[...i.filter((t=>t?.matches("calcite-list-item-group"))).map((t=>Array.from(t.querySelectorAll(x)))).reduce(((t,i)=>[...t,...i]),[]),...i.filter((t=>t?.matches(x)))]}function C(t){t.forEach((i=>{i.setPosition=t.indexOf(i)+1,i.setSize=t.length}))}function _(t,i=!1){return document.evaluate(i?"ancestor::calcite-list-item | ancestor::calcite-list-item-group":"ancestor::calcite-list-item",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}const D="calcite-list-item",E=class{constructor(e){t(this,e),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.listItems=[],this.enabledListItems=[],this.mutationObserver=r("mutation",(()=>this.updateListItems())),this.handleDefaultSlotChange=t=>{C(k(t))},this.setActiveListItem=()=>{const{enabledListItems:t}=this;t.some((t=>t.active))||t[0]&&(t[0].active=!0)},this.updateSelectedItems=(t=!1)=>{this.selectedItems=this.enabledListItems.filter((t=>t.selected)),t&&this.calciteListChange.emit()},this.updateFilteredItems=(t=!1)=>{const{listItems:i,filteredData:e,filterText:a}=this,n=e.map((t=>t.value)),s=new Set,c=i?.filter((t=>{const i=t.parentElement;i.matches("calcite-list-item-group")&&s.add(i);const e=!a||n.includes(t.value);return t.hidden=!e,e}))||[];s.forEach((t=>{const i=c.some((i=>t.contains(i)));if(t.hidden=!i,!i)return;const e=t.closest("calcite-list-item");e&&(e.hidden=!1,c.includes(e)&&Array.from(t.querySelectorAll("calcite-list-item")).forEach((t=>t.hidden=!1)))})),s.clear(),this.filteredItems=c,t&&this.calciteListFilter.emit()},this.handleFilter=t=>{t.stopPropagation();const{filteredItems:i,value:e}=t.currentTarget;this.filteredData=i,this.filterText=e,this.updateListItems(!0)},this.getItemData=()=>this.listItems.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value}))),this.updateListItems=p(((t=!1)=>{const{selectionAppearance:i,selectionMode:e}=this,a=this.queryListItems();a.forEach((t=>{t.selectionAppearance=i,t.selectionMode=e})),this.listItems=a,this.filterEnabled&&(this.dataForFilter=this.getItemData(),this.filterEl.items=this.dataForFilter),this.updateFilteredItems(t),this.enabledListItems=a.filter((t=>!t.disabled&&!t.closed)),this.setActiveListItem(),this.updateSelectedItems(t)}),0),this.queryListItems=()=>Array.from(this.el.querySelectorAll(D)),this.focusRow=t=>{const{enabledListItems:i}=this;t&&(i.forEach((i=>i.active=i===t)),t.setFocus())},this.isNavigable=t=>{const i=t.parentElement?.closest(D);return!i||i.open&&this.isNavigable(i)},this.handleListKeydown=t=>{const{key:i}=t,e=this.enabledListItems.filter((t=>this.isNavigable(t))),a=e.findIndex((t=>t.active));if("ArrowDown"===i){t.preventDefault();const i=a+1;e[i]&&this.focusRow(e[i])}else if("ArrowUp"===i){t.preventDefault();const i=a-1;e[i]&&this.focusRow(e[i])}else if("Home"===i){t.preventDefault();const i=e[0];i&&this.focusRow(i)}else if("End"===i){t.preventDefault();const i=e[e.length-1];i&&this.focusRow(i)}},this.disabled=!1,this.filterEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterPlaceholder=void 0,this.filterText=void 0,this.label=void 0,this.loading=!1,this.openable=!1,this.selectedItems=[],this.selectionMode="none",this.selectionAppearance="icon",this.dataForFilter=[]}handleFilterEnabledChange(){this.updateListItems()}handleSelectionAppearanceChange(){this.updateListItems()}handleCalciteInternalFocusPreviousItem(t){t.stopPropagation();const{enabledListItems:i}=this,e=i.findIndex((t=>t.active))-1;i[e]&&this.focusRow(i[e])}handleCalciteInternalListItemActive(t){const i=t.target,{listItems:e}=this;e.forEach((t=>{t.active=t===i}))}handleCalciteListItemSelect(){this.updateSelectedItems(!0)}handleCalciteInternalListItemSelect(t){const i=t.target,{listItems:e,selectionMode:a}=this;e.forEach((t=>{"single"!==a&&"single-persist"!==a||(t.selected=t===i)})),this.updateSelectedItems()}handleCalciteListItemClose(){this.updateListItems(!0)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateListItems()}disconnectedCallback(){this.mutationObserver?.disconnect()}componentWillLoad(){d(this)}componentDidRender(){l(this)}componentDidLoad(){h(this);const{filterEl:t}=this,i=t?.filteredItems;i&&(this.filteredData=i),this.updateListItems()}async setFocus(){await m(this),this.enabledListItems.find((t=>t.active))?.setFocus()}render(){const{loading:t,label:i,disabled:a,dataForFilter:n,filterEnabled:c,filterPlaceholder:o,filterText:l}=this;return e("div",{class:"container"},t?e("calcite-scrim",{class:"scrim",loading:t}):null,e("table",{"aria-busy":s(t),"aria-label":i||"",class:"table",onKeyDown:this.handleListKeydown,role:"treegrid"},c?e("thead",null,e("tr",{class:{"sticky-pos":!0}},e("th",{colSpan:5},e("calcite-filter",{"aria-label":o,disabled:t||a,items:n,onCalciteFilterChange:this.handleFilter,placeholder:o,value:l,ref:t=>this.filterEl=t})))):null,e("tbody",{class:"table-container"},e("slot",{onSlotchange:this.handleDefaultSlotChange}))))}get el(){return a(this)}static get watchers(){return{filterEnabled:["handleFilterEnabledChange"],selectionMode:["handleSelectionAppearanceChange"],selectionAppearance:["handleSelectionAppearanceChange"]}}};E.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{position:relative}.table-container{position:relative;z-index:1;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%}::slotted(calcite-list-item){margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.sticky-pos{position:sticky;inset-block-start:0px;z-index:300}calcite-filter{margin-block-end:1px}";const S=new Map,L=class{constructor(e){t(this,e),this.calciteListItemSelect=i(this,"calciteListItemSelect",6),this.calciteListItemClose=i(this,"calciteListItemClose",6),this.calciteInternalListItemSelect=i(this,"calciteInternalListItemSelect",6),this.calciteInternalListItemActive=i(this,"calciteInternalListItemActive",6),this.calciteInternalFocusPreviousItem=i(this,"calciteInternalFocusPreviousItem",6),this.closeClickHandler=()=>{this.closed=!0,this.calciteListItemClose.emit()},this.handleContentSlotChange=t=>{this.hasCustomContent=c(t)},this.handleActionsStartSlotChange=t=>{this.hasActionsStart=c(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=c(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=c(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=c(t)},this.handleDefaultSlotChange=t=>{const{parentListEl:i}=this,e=k(t);C(e);const a=!!e.length;a&&i&&!i.openable&&(i.openable=!0),this.openable=a,a||(this.open=!1)},this.toggleOpen=()=>{this.open=!this.open},this.itemClicked=()=>{this.toggleSelected(),this.calciteInternalListItemActive.emit()},this.toggleSelected=()=>{this.disabled||("multiple"===this.selectionMode||"single"===this.selectionMode?this.selected=!this.selected:"single-persist"===this.selectionMode&&(this.selected=!0),this.calciteListItemSelect.emit())},this.handleItemKeyDown=t=>{const{key:i}=t,e=t.composedPath(),{containerEl:a,contentEl:n,actionsStartEl:s,actionsEndEl:c,open:o,openable:l}=this,r=[s,n,c].filter(Boolean),d=r.findIndex((t=>e.includes(t)));if(" "===i)t.preventDefault(),this.toggleSelected();else if("ArrowRight"===i){t.preventDefault();const i=d+1;-1===d?!o&&l?(this.open=!0,this.focusCell(null)):r[0]&&this.focusCell(r[0]):r[d]&&r[i]&&this.focusCell(r[i])}else if("ArrowLeft"===i){t.preventDefault();const i=d-1;-1===d?(this.focusCell(null),o&&l?this.open=!1:this.calciteInternalFocusPreviousItem.emit()):0===d?(this.focusCell(null),a.focus()):r[d]&&r[i]&&this.focusCell(r[i])}},this.focusCellNull=()=>{this.focusCell(null)},this.focusCell=(t,i=!0)=>{const{contentEl:e,actionsStartEl:a,actionsEndEl:n,parentListEl:s}=this;i&&S.set(s,null),[a,e,n].filter(Boolean).forEach(((e,a)=>{const n="tabindex";e===t?(e.setAttribute(n,"0"),i&&S.set(s,a)):e.removeAttribute(n)})),t?.focus()},this.active=!1,this.closable=!1,this.closed=!1,this.description=void 0,this.disabled=!1,this.label=void 0,this.metadata=void 0,this.open=!1,this.setSize=null,this.setPosition=null,this.selected=!1,this.value=void 0,this.selectionMode=null,this.selectionAppearance=null,this.messageOverrides=void 0,this.messages=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.level=null,this.visualLevel=null,this.parentListEl=void 0,this.openable=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasCustomContent=!1,this.hasContentStart=!1,this.hasContentEnd=!1}activeHandler(t){t||this.focusCell(null,!1)}handleSelectedChange(t){t&&this.calciteInternalListItemSelect.emit()}onMessagesChange(){}effectiveLocaleChange(){g(this,this.effectiveLocale)}connectedCallback(){f(this),b(this);const{el:t}=this;this.parentListEl=t.closest("calcite-list"),this.level=_(t)+1,this.visualLevel=_(t,!0),this.setSelectionDefaults()}async componentWillLoad(){d(this),await y(this)}componentDidLoad(){h(this)}componentDidRender(){l(this,"managed")}disconnectedCallback(){u(this),v(this)}async setFocus(){await m(this);const{containerEl:t,contentEl:i,actionsStartEl:e,actionsEndEl:a,parentListEl:n}=this,s=S.get(n);if("number"!=typeof s)t?.focus();else{const n=[e,i,a].filter(Boolean);n[s]?this.focusCell(n[s]):t?.focus()}}renderSelected(){const{selected:t,selectionMode:i,selectionAppearance:a}=this;return"none"===i||"border"===a?null:e("td",{class:"selection-container",key:"selection-container",onClick:this.itemClicked},e("calcite-icon",{icon:t?"multiple"===i?"check-circle-f":"circle-f":"blank",scale:"s"}))}renderOpen(){const{el:t,open:i,openable:a,parentListEl:n}=this,s=o(t);return a?e("td",{class:w,key:"open-container",onClick:this.toggleOpen},e("calcite-icon",{icon:i?"caret-down":"rtl"===s?"caret-left":"caret-right",scale:"s"})):n?.openable?e("td",{class:w,key:"open-container",onClick:this.itemClicked},e("calcite-icon",{icon:"blank",scale:"s"})):null}renderActionsStart(){const{label:t,hasActionsStart:i}=this;return e("td",{"aria-label":t,class:"actions-start",hidden:!i,key:"actions-start-container",role:"gridcell",ref:t=>this.actionsStartEl=t},e("slot",{name:"actions-start",onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{label:t,hasActionsEnd:i,closable:a,messages:n}=this;return e("td",{"aria-label":t,class:"actions-end",hidden:!(i||a),key:"actions-end-container",role:"gridcell",ref:t=>this.actionsEndEl=t},e("slot",{name:"actions-end",onSlotchange:this.handleActionsEndSlotChange}),a?e("calcite-action",{appearance:"transparent",icon:"x",key:"close-action",label:n.close,onClick:this.closeClickHandler,text:n.close}):null)}renderContentStart(){const{hasContentStart:t}=this;return e("div",{class:"content-start",hidden:!t},e("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}))}renderCustomContent(){const{hasCustomContent:t}=this;return e("div",{class:"custom-content",hidden:!t},e("slot",{name:"content",onSlotchange:this.handleContentSlotChange}))}renderContentEnd(){const{hasContentEnd:t}=this;return e("div",{class:"content-end",hidden:!t},e("slot",{name:"content-end",onSlotchange:this.handleContentEndSlotChange}))}renderContentProperties(){const{label:t,description:i,hasCustomContent:a}=this;return a||!t&&!i?null:e("div",{class:"content",key:"content"},t?e("div",{class:"label",key:"label"},t):null,i?e("div",{class:"description",key:"description"},i):null)}renderContentContainer(){const{description:t,label:i,selectionMode:a,hasCustomContent:n}=this,s=n||!!i||!!t,c=[this.renderContentStart(),this.renderCustomContent(),this.renderContentProperties(),this.renderContentEnd()];return e("td",{"aria-label":i,class:{"content-container":!0,"content-container--selectable":"none"!==a,"content-container--has-center-content":s},key:"content-container",onClick:this.itemClicked,role:"gridcell",ref:t=>this.contentEl=t},c)}render(){const{openable:t,open:i,level:a,setPosition:c,setSize:o,active:l,label:r,selected:d,selectionAppearance:h,selectionMode:m,closed:p}=this,f="none"!==m&&"border"===h,u=f&&d,g=f&&!d;return e(n,null,e("tr",{"aria-expanded":t?s(i):null,"aria-label":r,"aria-level":a,"aria-posinset":c,"aria-selected":s(d),"aria-setsize":o,class:{container:!0,"container--border-selected":u,"container--border-unselected":g},hidden:p,onFocus:this.focusCellNull,onKeyDown:this.handleItemKeyDown,role:"row",style:{"--calcite-list-item-spacing-indent-multiplier":`${this.visualLevel}`},tabIndex:l?0:-1,ref:t=>this.containerEl=t},this.renderSelected(),this.renderOpen(),this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),e("div",{class:{"nested-container":!0,"nested-container--hidden":t&&!i}},e("slot",{onSlotchange:this.handleDefaultSlotChange})))}setSelectionDefaults(){const{parentListEl:t,selectionMode:i,selectionAppearance:e}=this;t&&(i||(this.selectionMode=t.selectionMode),e||(this.selectionAppearance=t.selectionAppearance))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],selected:["handleSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};L.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;--calcite-list-item-icon-color:var(--calcite-ui-brand);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}.container *{box-sizing:border-box}.container:hover{cursor:pointer;background-color:var(--calcite-ui-foreground-2)}.container--border-selected{border-inline-start:4px solid var(--calcite-ui-brand)}.container--border-unselected{border-inline-start:4px solid transparent}.nested-container{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.nested-container--hidden{display:none}.content-container{display:flex;flex:1 1 auto;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}tr,td{outline-color:transparent}tr:focus,td:focus{z-index:300;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand))}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-inline:0.75rem;color:var(--calcite-list-item-icon-color)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.open-container{display:flex;align-items:center}.open-container,.selection-container{cursor:pointer}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}::slotted(calcite-list-item){border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}[hidden]{display:none}";const I=class{constructor(i){t(this,i),this.disabled=!1,this.heading=void 0,this.visualLevel=null}connectedCallback(){const{el:t}=this;this.visualLevel=_(t,!0)}componentDidRender(){l(this)}render(){const{heading:t,visualLevel:i}=this;return e(n,null,e("tr",{class:"container",style:{"--calcite-list-item-spacing-indent-multiplier":`${i}`}},e("td",{class:"heading",colSpan:5},t)),e("slot",null))}get el(){return a(this)}};I.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{margin:0px;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.heading{padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}::slotted(calcite-list-item){margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";export{E as calcite_list,L as calcite_list_item,I as calcite_list_item_group}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.10
4
+ * v1.4.0-next.11
5
5
  */
6
- import{b as t}from"./p-28bd653e.js";import{d as n}from"./p-00383b72.js";function e(t){return t.split("-")[1]}function o(t){return"y"===t?"height":"width"}function r(t){return t.split("-")[0]}function i(t){return["top","bottom"].includes(r(t))?"x":"y"}function a(t,n,a){let{reference:l,floating:s}=t;const c=l.x+l.width/2-s.width/2,f=l.y+l.height/2-s.height/2,u=i(n),d=o(u),m=l[d]/2-s[d]/2,p="x"===u;let y;switch(r(n)){case"top":y={x:c,y:l.y-s.height};break;case"bottom":y={x:c,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:f};break;case"left":y={x:l.x-s.width,y:f};break;default:y={x:l.x,y:l.y}}switch(e(n)){case"start":y[u]-=m*(a&&p?-1:1);break;case"end":y[u]+=m*(a&&p?-1:1)}return y}function l(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function s(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function c(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:c,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:p=!1,padding:y=0}=n,g=l(y),h=c[p?"floating"===m?"reference":"floating":m],x=s(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(h)))||e?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:d,strategy:f})),v="floating"===m?{...a.floating,x:o,y:r}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),w=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},A=s(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:b,strategy:f}):v);return{top:(x.top-A.top+g.top)/w.y,bottom:(A.bottom-x.bottom+g.bottom)/w.y,left:(x.left-A.left+g.left)/w.x,right:(A.right-x.right+g.right)/w.x}}const f=Math.min,u=Math.max;function d(t,n,e){return u(t,f(n,e))}const m=["top","right","bottom","left"],p=m.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),y={left:"right",right:"left",bottom:"top",top:"bottom"};function g(t){return t.replace(/left|right|bottom|top/g,(t=>y[t]))}function h(t,n,r){void 0===r&&(r=!1);const a=e(t),l=i(t),s=o(l);let c="x"===l?a===(r?"end":"start")?"right":"left":"start"===a?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=g(c)),{main:c,cross:g(c)}}const x={start:"end",end:"start"};function v(t){return t.replace(/start|end/g,(t=>x[t]))}const b=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var o;const{placement:i,middlewareData:a,rects:l,initialPlacement:s,platform:f,elements:u}=n,{mainAxis:d=!0,crossAxis:m=!0,fallbackPlacements:p,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:b=!0,...w}=t,A=r(i),P=r(s)===s,k=await(null==f.isRTL?void 0:f.isRTL(u.floating)),D=p||(P||!b?[g(s)]:function(t){const n=g(t);return[v(t),n,v(n)]}(s));p||"none"===x||D.push(...function(t,n,o,i){const a=e(t);let l=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(r(t),"start"===o,i);return a&&(l=l.map((t=>t+"-"+a)),n&&(l=l.concat(l.map(v)))),l}(s,b,x,k));const R=[s,...D],F=await c(n,w),M=[];let E=(null==(o=a.flip)?void 0:o.overflows)||[];if(d&&M.push(F[A]),m){const{main:t,cross:n}=h(i,l,k);M.push(F[t],F[n])}if(E=[...E,{placement:i,overflows:M}],!M.every((t=>t<=0))){var S,C;const t=((null==(S=a.flip)?void 0:S.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:E},reset:{placement:n}};let e=null==(C=E.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:C.placement;if(!e)switch(y){case"bestFit":{var O;const t=null==(O=E.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:O[0];t&&(e=t);break}case"initialPlacement":e=s}if(i!==e)return{reset:{placement:e}}}return{}}}};function w(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function A(t){return m.some((n=>t[n]>=0))}const P=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{strategy:e="referenceHidden",...o}=t,{rects:r}=n;switch(e){case"referenceHidden":{const t=w(await c(n,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:A(t)}}}case"escaped":{const t=w(await c(n,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:A(t)}}}default:return{}}}}};function k(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function D(t){return k(t).getComputedStyle(t)}function R(t){return t instanceof k(t).Node}function F(t){return R(t)?(t.nodeName||"").toLowerCase():""}let M;function E(){if(M)return M;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(M=t.brands.map((t=>t.brand+"/"+t.version)).join(" "),M):navigator.userAgent}function S(t){return t instanceof k(t).HTMLElement}function C(t){return t instanceof k(t).Element}function O(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}function T(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=D(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function $(t){return["table","td","th"].includes(F(t))}function j(t){const n=/firefox/i.test(E()),e=D(t),o=e.backdropFilter||e.WebkitBackdropFilter;return"none"!==e.transform||"none"!==e.perspective||!!o&&"none"!==o||n&&"filter"===e.willChange||n&&!!e.filter&&"none"!==e.filter||["transform","perspective"].some((t=>e.willChange.includes(t)))||["paint","layout","strict","content"].some((t=>{const n=e.contain;return null!=n&&n.includes(t)}))}function z(){return/^((?!chrome|android).)*safari/i.test(E())}function B(t){return["html","body","#document"].includes(F(t))}const L=Math.min,H=Math.max,N=Math.round;function I(t){const n=D(t);let e=parseFloat(n.width),o=parseFloat(n.height);const r=S(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,l=N(e)!==i||N(o)!==a;return l&&(e=i,o=a),{width:e,height:o,fallback:l}}function W(t){return C(t)?t:t.contextElement}const V={x:1,y:1};function q(t){const n=W(t);if(!S(n))return V;const e=n.getBoundingClientRect(),{width:o,height:r,fallback:i}=I(n);let a=(i?N(e.width):e.width)/o,l=(i?N(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function G(t,n,e,o){var r,i;void 0===n&&(n=!1),void 0===e&&(e=!1);const a=t.getBoundingClientRect(),l=W(t);let c=V;n&&(o?C(o)&&(c=q(o)):c=q(t));const f=l?k(l):window,u=z()&&e;let d=(a.left+(u&&(null==(r=f.visualViewport)?void 0:r.offsetLeft)||0))/c.x,m=(a.top+(u&&(null==(i=f.visualViewport)?void 0:i.offsetTop)||0))/c.y,p=a.width/c.x,y=a.height/c.y;if(l){const t=k(l),n=o&&C(o)?k(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=q(e),n=e.getBoundingClientRect(),o=getComputedStyle(e);n.x+=(e.clientLeft+parseFloat(o.paddingLeft))*t.x,n.y+=(e.clientTop+parseFloat(o.paddingTop))*t.y,d*=t.x,m*=t.y,p*=t.x,y*=t.y,d+=n.x,m+=n.y,e=k(e).frameElement}}return s({width:p,height:y,x:d,y:m})}function U(t){return((R(t)?t.ownerDocument:t.document)||window.document).documentElement}function X(t){return C(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Y(t){return G(U(t)).left+X(t).scrollLeft}function _(t){if("html"===F(t))return t;const n=t.assignedSlot||t.parentNode||O(t)&&t.host||U(t);return O(n)?n.host:n}function J(t){const n=_(t);return B(n)?n.ownerDocument.body:S(n)&&T(n)?n:J(n)}function K(t,n){var e;void 0===n&&(n=[]);const o=J(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=k(o);return r?n.concat(i,i.visualViewport||[],T(o)?o:[]):n.concat(o,K(o))}function Q(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=k(t),o=U(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=z();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e);else if("document"===n)o=function(t){const n=U(t),e=X(t),o=t.ownerDocument.body,r=H(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=H(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Y(t);const l=-e.scrollTop;return"rtl"===D(o).direction&&(a+=H(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(U(t));else if(C(n))o=function(t,n){const e=G(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=S(t)?q(t):{x:1,y:1};return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e={...n};if(z()){var r,i;const n=k(t);e.x-=(null==(r=n.visualViewport)?void 0:r.offsetLeft)||0,e.y-=(null==(i=n.visualViewport)?void 0:i.offsetTop)||0}o=e}return s(o)}function Z(t,n){const e=_(t);return!(e===n||!C(e)||B(e))&&("fixed"===D(e).position||Z(e,n))}function tt(t,n){return S(t)&&"fixed"!==D(t).position?n?n(t):t.offsetParent:null}function nt(t,n){const e=k(t);if(!S(t))return e;let o=tt(t,n);for(;o&&$(o)&&"static"===D(o).position;)o=tt(o,n);return o&&("html"===F(o)||"body"===F(o)&&"static"===D(o).position&&!j(o))?e:o||function(t){let n=_(t);for(;S(n)&&!B(n);){if(j(n))return n;n=_(n)}return null}(t)||e}function et(t,n,e){const o=S(n),r=U(n),i=G(t,!0,"fixed"===e,n);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==F(n)||T(r))&&(a=X(n)),S(n)){const t=G(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=Y(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}const ot={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=K(t).filter((t=>C(t)&&"body"!==F(t))),r=null;const i="fixed"===D(t).position;let a=i?_(t):t;for(;C(a)&&!B(a);){const n=D(a),e=j(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||T(a)&&!e&&Z(t,a))?o=o.filter((t=>t!==a)):r=n,a=_(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=Q(n,e,r);return t.top=H(o.top,t.top),t.right=L(o.right,t.right),t.bottom=L(o.bottom,t.bottom),t.left=H(o.left,t.left),t}),Q(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=S(e),i=U(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const s={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==F(e)||T(i))&&(a=X(e)),S(e))){const t=G(e);l=q(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+s.x,y:n.y*l.y-a.scrollTop*l.y+s.y}},isElement:C,getDimensions:function(t){return I(t)},getOffsetParent:nt,getDocumentElement:U,getScale:q,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||nt,i=this.getDimensions;return{reference:et(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===D(t).direction};const rt={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},it=async function(){function t(){return navigator.userAgentData}if(rt.floatingUINonChromiumPositioningFix&&(/firefox|safari/i.test(function(){const n=t();return n?.brands?n.brands.map((({brand:t,version:n})=>`${t}/${n}`)).join(" "):navigator.userAgent}())||function(){const n=t();return n?.brands?!!n.brands.find((({brand:t,version:n})=>("Google Chrome"===t||"Chromium"===t)&&Number(n)>=109)):!!navigator.userAgent.split(" ").find((t=>{const[n,e]=t.split("/");return"Chrome"===n&&parseInt(e)>=109}))}())){const{offsetParent:t}=await import("./p-a0a1f925.js"),n=ot.getOffsetParent;ot.getOffsetParent=e=>n(e,t)}}(),at=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],lt="bottom-start",st={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function ct({placement:t,flipDisabled:n,flipPlacements:a,offsetDistance:s,offsetSkidding:f,arrowEl:u,type:m}){const y=[(void 0===g&&(g={}),{name:"shift",options:g,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=g,u={x:n,y:e},m=await c(t,f),p=i(r(o)),y="x"===p?"y":"x";let h=u[p],x=u[y];a&&(h=d(h+m["y"===p?"top":"left"],h,h-m["y"===p?"bottom":"right"])),l&&(x=d(x+m["y"===y?"top":"left"],x,x-m["y"===y?"bottom":"right"]));const v=s.fn({...t,[p]:h,[y]:x});return{...v,data:{x:v.x-n,y:v.y-e}}}}),P()];var g,x;if("menu"===m)return[...y,b({fallbackPlacements:a||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===m||"tooltip"===m){const m=[...y,(x={mainAxis:"number"==typeof s?s:0,crossAxis:"number"==typeof f?f:0},void 0===x&&(x=0),{name:"offset",options:x,async fn(t){const{x:n,y:o}=t,a=await async function(t,n){const{placement:o,platform:a,elements:l}=t,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=r(o),f=e(o),u="x"===i(o),d=["left","top"].includes(c)?-1:1,m=s&&u?-1:1,p="function"==typeof n?n(t):n;let{mainAxis:y,crossAxis:g,alignmentAxis:h}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof h&&(g="end"===f?-1*h:h),u?{x:g*m,y:y*d}:{x:y*d,y:g*m}}(t,x);return{x:n+a.x,y:o+a.y,data:a}}})];return"auto"===t||"auto-start"===t||"auto-end"===t?m.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var o,i,a;const{rects:l,middlewareData:s,placement:f,platform:u,elements:d}=n,{crossAxis:m=!1,alignment:y,allowedPlacements:g=p,autoAlignment:x=!0,...b}=t,w=void 0!==y||g===p?function(t,n,o){return(t?[...o.filter((n=>e(n)===t)),...o.filter((n=>e(n)!==t))]:o.filter((t=>r(t)===t))).filter((o=>!t||e(o)===t||!!n&&v(o)!==o))}(y||null,x,g):g,A=await c(n,b),P=(null==(o=s.autoPlacement)?void 0:o.index)||0,k=w[P];if(null==k)return{};const{main:D,cross:R}=h(k,l,await(null==u.isRTL?void 0:u.isRTL(d.floating)));if(f!==k)return{reset:{placement:w[0]}};const F=[A[r(k)],A[D],A[R]],M=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:k,overflows:F}],E=w[P+1];if(E)return{data:{index:P+1,overflows:M},reset:{placement:E}};const S=M.map((t=>{const n=e(t.placement);return[t.placement,n&&m?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),C=(null==(a=S.filter((t=>t[2].slice(0,e(t[0])?2:3).every((t=>t<=0))))[0])?void 0:a[0])||S[0][0];return C!==f?{data:{index:P+1,overflows:M},reset:{placement:C}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||m.push(b(a?{fallbackPlacements:a}:{})),u&&m.push((t=>({name:"arrow",options:t,async fn(n){const{element:r,padding:a=0}=t||{},{x:s,y:c,placement:f,rects:u,platform:m,elements:p}=n;if(null==r)return{};const y=l(a),g={x:s,y:c},h=i(f),x=o(h),v=await m.getDimensions(r),b="y"===h,w=b?"top":"left",A=b?"bottom":"right",P=b?"clientHeight":"clientWidth",k=u.reference[x]+u.reference[h]-g[h]-u.floating[x],D=g[h]-u.reference[h],R=await(null==m.getOffsetParent?void 0:m.getOffsetParent(r));let F=R?R[P]:0;F&&await(null==m.isElement?void 0:m.isElement(R))||(F=p.floating[P]||u.floating[x]);const M=y[w],E=F-v[x]-y[A],S=F/2-v[x]/2+(k/2-D/2),C=d(M,S,E),O=null!=e(f)&&S!=C&&u.reference[x]/2-(S<M?y[w]:y[A])-v[x]/2<0;return{[h]:g[h]-(O?S<M?M-S:E-S:0),data:{[h]:C,centerOffset:S-C}}}}))({element:u})),m}return[]}function ft(t,n){const e=t.filter((t=>at.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${at.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ut(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function dt(t,n,e=!1){if(t.open)return e?mt(t,n):yt(t,n)}const mt=n(yt,100,{leading:!0,maxWait:100}),pt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"};async function yt(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:s,offsetSkidding:c,arrowEl:f,type:u}){if(!n||!e)return null;await it;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:ot,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,s=i.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(n));let f=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=a(f,o,c),m=o,p={},y=0;for(let e=0;e<s.length;e++){const{name:i,fn:g}=s[e],{x:h,y:x,data:v,reset:b}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:l,elements:{reference:t,floating:n}});u=null!=h?h:u,d=null!=x?x:d,p={...p,[i]:{...p[i],...v}},b&&y<=50&&(y++,"object"==typeof b&&(b.placement&&(m=b.placement),b.rects&&(f=!0===b.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):b.rects),({x:u,y:d}=a(f,m,c))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:ut(e,r),middleware:ct({placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:s,offsetSkidding:c,arrowEl:f,type:u})});if(f&&g.arrow){const{x:n,y:e}=g.arrow,o=p.split("-")[0],r=null!=n?"left":"top",i=pt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(f.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const h=g.hide?.referenceHidden,x=h?"hidden":null,v=x?"none":null;e.setAttribute("data-placement",p);const b=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(e.style,{visibility:x,pointerEvents:v,position:y,top:"0",left:"0",transform:b})}const gt=new WeakMap;function ht(t,n,e){e&&n&&(xt(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),gt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=o,s=r||i?[...C(t)?K(t):t.contextElement?K(t.contextElement):[],...K(n)]:[];s.forEach((t=>{const n=!C(t)&&t.toString().includes("V");!r||l&&!n||t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));let c,f=null;a&&(f=new ResizeObserver((()=>{e()})),C(t)&&!l&&f.observe(t),C(t)||!t.contextElement||l||f.observe(t.contextElement),f.observe(n));let u=l?G(t):null;return l&&function n(){const o=G(t);!u||o.x===u.x&&o.y===u.y&&o.width===u.width&&o.height===u.height||e(),u=o,c=requestAnimationFrame(n)}(),e(),()=>{var t;s.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),null==(t=f)||t.disconnect(),f=null,l&&cancelAnimationFrame(c)}}(n,e,(()=>t.reposition()))))}function xt(t,n,e){if(!e||!n)return;const o=gt.get(t);o&&o(),gt.delete(t)}const vt=Math.ceil(Math.hypot(4,4));export{st as F,xt as a,vt as b,ht as c,lt as d,ft as f,dt as r}
6
+ import{b as t}from"./p-6dc8f26e.js";import{d as n}from"./p-75a62ff3.js";function e(t){return t.split("-")[1]}function o(t){return"y"===t?"height":"width"}function r(t){return t.split("-")[0]}function i(t){return["top","bottom"].includes(r(t))?"x":"y"}function a(t,n,a){let{reference:l,floating:s}=t;const c=l.x+l.width/2-s.width/2,f=l.y+l.height/2-s.height/2,u=i(n),d=o(u),m=l[d]/2-s[d]/2,p="x"===u;let y;switch(r(n)){case"top":y={x:c,y:l.y-s.height};break;case"bottom":y={x:c,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:f};break;case"left":y={x:l.x-s.width,y:f};break;default:y={x:l.x,y:l.y}}switch(e(n)){case"start":y[u]-=m*(a&&p?-1:1);break;case"end":y[u]+=m*(a&&p?-1:1)}return y}function l(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function s(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function c(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:c,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:p=!1,padding:y=0}=n,g=l(y),h=c[p?"floating"===m?"reference":"floating":m],x=s(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(h)))||e?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:d,strategy:f})),v="floating"===m?{...a.floating,x:o,y:r}:a.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),b=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},A=s(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:w,strategy:f}):v);return{top:(x.top-A.top+g.top)/b.y,bottom:(A.bottom-x.bottom+g.bottom)/b.y,left:(x.left-A.left+g.left)/b.x,right:(A.right-x.right+g.right)/b.x}}const f=Math.min,u=Math.max;function d(t,n,e){return u(t,f(n,e))}const m=["top","right","bottom","left"],p=m.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),y={left:"right",right:"left",bottom:"top",top:"bottom"};function g(t){return t.replace(/left|right|bottom|top/g,(t=>y[t]))}function h(t,n,r){void 0===r&&(r=!1);const a=e(t),l=i(t),s=o(l);let c="x"===l?a===(r?"end":"start")?"right":"left":"start"===a?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=g(c)),{main:c,cross:g(c)}}const x={start:"end",end:"start"};function v(t){return t.replace(/start|end/g,(t=>x[t]))}const w=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var o;const{placement:i,middlewareData:a,rects:l,initialPlacement:s,platform:f,elements:u}=n,{mainAxis:d=!0,crossAxis:m=!0,fallbackPlacements:p,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:w=!0,...b}=t,A=r(i),P=r(s)===s,k=await(null==f.isRTL?void 0:f.isRTL(u.floating)),D=p||(P||!w?[g(s)]:function(t){const n=g(t);return[v(t),n,v(n)]}(s));p||"none"===x||D.push(...function(t,n,o,i){const a=e(t);let l=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(r(t),"start"===o,i);return a&&(l=l.map((t=>t+"-"+a)),n&&(l=l.concat(l.map(v)))),l}(s,w,x,k));const R=[s,...D],F=await c(n,b),M=[];let E=(null==(o=a.flip)?void 0:o.overflows)||[];if(d&&M.push(F[A]),m){const{main:t,cross:n}=h(i,l,k);M.push(F[t],F[n])}if(E=[...E,{placement:i,overflows:M}],!M.every((t=>t<=0))){var S,C;const t=((null==(S=a.flip)?void 0:S.index)||0)+1,n=R[t];if(n)return{data:{index:t,overflows:E},reset:{placement:n}};let e=null==(C=E.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:C.placement;if(!e)switch(y){case"bestFit":{var O;const t=null==(O=E.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:O[0];t&&(e=t);break}case"initialPlacement":e=s}if(i!==e)return{reset:{placement:e}}}return{}}}};function b(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function A(t){return m.some((n=>t[n]>=0))}const P=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{strategy:e="referenceHidden",...o}=t,{rects:r}=n;switch(e){case"referenceHidden":{const t=b(await c(n,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:A(t)}}}case"escaped":{const t=b(await c(n,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:A(t)}}}default:return{}}}}};function k(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function D(t){return k(t).getComputedStyle(t)}function R(t){return t instanceof k(t).Node}function F(t){return R(t)?(t.nodeName||"").toLowerCase():""}let M;function E(){if(M)return M;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(M=t.brands.map((t=>t.brand+"/"+t.version)).join(" "),M):navigator.userAgent}function S(t){return t instanceof k(t).HTMLElement}function C(t){return t instanceof k(t).Element}function O(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}function T(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=D(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function $(t){return["table","td","th"].includes(F(t))}function j(t){const n=/firefox/i.test(E()),e=D(t),o=e.backdropFilter||e.WebkitBackdropFilter;return"none"!==e.transform||"none"!==e.perspective||!!o&&"none"!==o||n&&"filter"===e.willChange||n&&!!e.filter&&"none"!==e.filter||["transform","perspective"].some((t=>e.willChange.includes(t)))||["paint","layout","strict","content"].some((t=>{const n=e.contain;return null!=n&&n.includes(t)}))}function z(){return/^((?!chrome|android).)*safari/i.test(E())}function B(t){return["html","body","#document"].includes(F(t))}const L=Math.min,H=Math.max,N=Math.round;function I(t){const n=D(t);let e=parseFloat(n.width),o=parseFloat(n.height);const r=S(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,l=N(e)!==i||N(o)!==a;return l&&(e=i,o=a),{width:e,height:o,fallback:l}}function W(t){return C(t)?t:t.contextElement}const V={x:1,y:1};function q(t){const n=W(t);if(!S(n))return V;const e=n.getBoundingClientRect(),{width:o,height:r,fallback:i}=I(n);let a=(i?N(e.width):e.width)/o,l=(i?N(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function G(t,n,e,o){var r,i;void 0===n&&(n=!1),void 0===e&&(e=!1);const a=t.getBoundingClientRect(),l=W(t);let c=V;n&&(o?C(o)&&(c=q(o)):c=q(t));const f=l?k(l):window,u=z()&&e;let d=(a.left+(u&&(null==(r=f.visualViewport)?void 0:r.offsetLeft)||0))/c.x,m=(a.top+(u&&(null==(i=f.visualViewport)?void 0:i.offsetTop)||0))/c.y,p=a.width/c.x,y=a.height/c.y;if(l){const t=k(l),n=o&&C(o)?k(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=q(e),n=e.getBoundingClientRect(),o=getComputedStyle(e);n.x+=(e.clientLeft+parseFloat(o.paddingLeft))*t.x,n.y+=(e.clientTop+parseFloat(o.paddingTop))*t.y,d*=t.x,m*=t.y,p*=t.x,y*=t.y,d+=n.x,m+=n.y,e=k(e).frameElement}}return s({width:p,height:y,x:d,y:m})}function U(t){return((R(t)?t.ownerDocument:t.document)||window.document).documentElement}function X(t){return C(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Y(t){return G(U(t)).left+X(t).scrollLeft}function _(t){if("html"===F(t))return t;const n=t.assignedSlot||t.parentNode||O(t)&&t.host||U(t);return O(n)?n.host:n}function J(t){const n=_(t);return B(n)?n.ownerDocument.body:S(n)&&T(n)?n:J(n)}function K(t,n){var e;void 0===n&&(n=[]);const o=J(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=k(o);return r?n.concat(i,i.visualViewport||[],T(o)?o:[]):n.concat(o,K(o))}function Q(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=k(t),o=U(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=z();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e);else if("document"===n)o=function(t){const n=U(t),e=X(t),o=t.ownerDocument.body,r=H(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=H(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Y(t);const l=-e.scrollTop;return"rtl"===D(o).direction&&(a+=H(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(U(t));else if(C(n))o=function(t,n){const e=G(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=S(t)?q(t):{x:1,y:1};return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e={...n};if(z()){var r,i;const n=k(t);e.x-=(null==(r=n.visualViewport)?void 0:r.offsetLeft)||0,e.y-=(null==(i=n.visualViewport)?void 0:i.offsetTop)||0}o=e}return s(o)}function Z(t,n){const e=_(t);return!(e===n||!C(e)||B(e))&&("fixed"===D(e).position||Z(e,n))}function tt(t,n){return S(t)&&"fixed"!==D(t).position?n?n(t):t.offsetParent:null}function nt(t,n){const e=k(t);if(!S(t))return e;let o=tt(t,n);for(;o&&$(o)&&"static"===D(o).position;)o=tt(o,n);return o&&("html"===F(o)||"body"===F(o)&&"static"===D(o).position&&!j(o))?e:o||function(t){let n=_(t);for(;S(n)&&!B(n);){if(j(n))return n;n=_(n)}return null}(t)||e}function et(t,n,e){const o=S(n),r=U(n),i=G(t,!0,"fixed"===e,n);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==F(n)||T(r))&&(a=X(n)),S(n)){const t=G(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=Y(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}const ot={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=K(t).filter((t=>C(t)&&"body"!==F(t))),r=null;const i="fixed"===D(t).position;let a=i?_(t):t;for(;C(a)&&!B(a);){const n=D(a),e=j(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||T(a)&&!e&&Z(t,a))?o=o.filter((t=>t!==a)):r=n,a=_(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=Q(n,e,r);return t.top=H(o.top,t.top),t.right=L(o.right,t.right),t.bottom=L(o.bottom,t.bottom),t.left=H(o.left,t.left),t}),Q(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=S(e),i=U(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const s={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==F(e)||T(i))&&(a=X(e)),S(e))){const t=G(e);l=q(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+s.x,y:n.y*l.y-a.scrollTop*l.y+s.y}},isElement:C,getDimensions:function(t){return I(t)},getOffsetParent:nt,getDocumentElement:U,getScale:q,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||nt,i=this.getDimensions;return{reference:et(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===D(t).direction};const rt={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},it=async function(){function t(){return navigator.userAgentData}if(rt.floatingUINonChromiumPositioningFix&&(/firefox|safari/i.test(function(){const n=t();return n?.brands?n.brands.map((({brand:t,version:n})=>`${t}/${n}`)).join(" "):navigator.userAgent}())||function(){const n=t();return n?.brands?!!n.brands.find((({brand:t,version:n})=>("Google Chrome"===t||"Chromium"===t)&&Number(n)>=109)):!!navigator.userAgent.split(" ").find((t=>{const[n,e]=t.split("/");return"Chrome"===n&&parseInt(e)>=109}))}())){const{offsetParent:t}=await import("./p-2dc2a820.js"),n=ot.getOffsetParent;ot.getOffsetParent=e=>n(e,t)}}(),at=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],lt="bottom-start",st={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function ct({placement:t,flipDisabled:n,flipPlacements:a,offsetDistance:s,offsetSkidding:f,arrowEl:u,type:m}){const y=[(void 0===g&&(g={}),{name:"shift",options:g,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=g,u={x:n,y:e},m=await c(t,f),p=i(r(o)),y="x"===p?"y":"x";let h=u[p],x=u[y];a&&(h=d(h+m["y"===p?"top":"left"],h,h-m["y"===p?"bottom":"right"])),l&&(x=d(x+m["y"===y?"top":"left"],x,x-m["y"===y?"bottom":"right"]));const v=s.fn({...t,[p]:h,[y]:x});return{...v,data:{x:v.x-n,y:v.y-e}}}}),P()];var g,x;if("menu"===m)return[...y,w({fallbackPlacements:a||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===m||"tooltip"===m){const m=[...y,(x={mainAxis:"number"==typeof s?s:0,crossAxis:"number"==typeof f?f:0},void 0===x&&(x=0),{name:"offset",options:x,async fn(t){const{x:n,y:o}=t,a=await async function(t,n){const{placement:o,platform:a,elements:l}=t,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=r(o),f=e(o),u="x"===i(o),d=["left","top"].includes(c)?-1:1,m=s&&u?-1:1,p="function"==typeof n?n(t):n;let{mainAxis:y,crossAxis:g,alignmentAxis:h}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof h&&(g="end"===f?-1*h:h),u?{x:g*m,y:y*d}:{x:y*d,y:g*m}}(t,x);return{x:n+a.x,y:o+a.y,data:a}}})];return"auto"===t||"auto-start"===t||"auto-end"===t?m.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var o,i,a;const{rects:l,middlewareData:s,placement:f,platform:u,elements:d}=n,{crossAxis:m=!1,alignment:y,allowedPlacements:g=p,autoAlignment:x=!0,...w}=t,b=void 0!==y||g===p?function(t,n,o){return(t?[...o.filter((n=>e(n)===t)),...o.filter((n=>e(n)!==t))]:o.filter((t=>r(t)===t))).filter((o=>!t||e(o)===t||!!n&&v(o)!==o))}(y||null,x,g):g,A=await c(n,w),P=(null==(o=s.autoPlacement)?void 0:o.index)||0,k=b[P];if(null==k)return{};const{main:D,cross:R}=h(k,l,await(null==u.isRTL?void 0:u.isRTL(d.floating)));if(f!==k)return{reset:{placement:b[0]}};const F=[A[r(k)],A[D],A[R]],M=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:k,overflows:F}],E=b[P+1];if(E)return{data:{index:P+1,overflows:M},reset:{placement:E}};const S=M.map((t=>{const n=e(t.placement);return[t.placement,n&&m?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),C=(null==(a=S.filter((t=>t[2].slice(0,e(t[0])?2:3).every((t=>t<=0))))[0])?void 0:a[0])||S[0][0];return C!==f?{data:{index:P+1,overflows:M},reset:{placement:C}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||m.push(w(a?{fallbackPlacements:a}:{})),u&&m.push((t=>({name:"arrow",options:t,async fn(n){const{element:r,padding:a=0}=t||{},{x:s,y:c,placement:f,rects:u,platform:m,elements:p}=n;if(null==r)return{};const y=l(a),g={x:s,y:c},h=i(f),x=o(h),v=await m.getDimensions(r),w="y"===h,b=w?"top":"left",A=w?"bottom":"right",P=w?"clientHeight":"clientWidth",k=u.reference[x]+u.reference[h]-g[h]-u.floating[x],D=g[h]-u.reference[h],R=await(null==m.getOffsetParent?void 0:m.getOffsetParent(r));let F=R?R[P]:0;F&&await(null==m.isElement?void 0:m.isElement(R))||(F=p.floating[P]||u.floating[x]);const M=y[b],E=F-v[x]-y[A],S=F/2-v[x]/2+(k/2-D/2),C=d(M,S,E),O=null!=e(f)&&S!=C&&u.reference[x]/2-(S<M?y[b]:y[A])-v[x]/2<0;return{[h]:g[h]-(O?S<M?M-S:E-S:0),data:{[h]:C,centerOffset:S-C}}}}))({element:u})),m}return[]}function ft(t,n){const e=t.filter((t=>at.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${at.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ut(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function dt(t,n,e=!1){if(t.open)return e?mt(t,n):yt(t,n)}const mt=n(yt,100,{leading:!0,maxWait:100}),pt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"};async function yt(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:s,offsetSkidding:c,arrowEl:f,type:u}){if(!n||!e)return null;await it;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:ot,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,s=i.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(n));let f=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=a(f,o,c),m=o,p={},y=0;for(let e=0;e<s.length;e++){const{name:i,fn:g}=s[e],{x:h,y:x,data:v,reset:w}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:l,elements:{reference:t,floating:n}});u=null!=h?h:u,d=null!=x?x:d,p={...p,[i]:{...p[i],...v}},w&&y<=50&&(y++,"object"==typeof w&&(w.placement&&(m=w.placement),w.rects&&(f=!0===w.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:u,y:d}=a(f,m,c))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:ut(e,r),middleware:ct({placement:r,flipDisabled:i,flipPlacements:l,offsetDistance:s,offsetSkidding:c,arrowEl:f,type:u})});if(f&&g.arrow){const{x:n,y:e}=g.arrow,o=p.split("-")[0],r=null!=n?"left":"top",i=pt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(f.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const h=g.hide?.referenceHidden,x=h?"hidden":null,v=x?"none":null;e.setAttribute("data-placement",p);const w=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(e.style,{visibility:x,pointerEvents:v,position:y,top:"0",left:"0",transform:w})}const gt=new WeakMap;function ht(t,n,e){e&&n&&(xt(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),gt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=o,s=r||i?[...C(t)?K(t):t.contextElement?K(t.contextElement):[],...K(n)]:[];s.forEach((t=>{const n=!C(t)&&t.toString().includes("V");!r||l&&!n||t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));let c,f=null;a&&(f=new ResizeObserver((()=>{e()})),C(t)&&!l&&f.observe(t),C(t)||!t.contextElement||l||f.observe(t.contextElement),f.observe(n));let u=l?G(t):null;return l&&function n(){const o=G(t);!u||o.x===u.x&&o.y===u.y&&o.width===u.width&&o.height===u.height||e(),u=o,c=requestAnimationFrame(n)}(),e(),()=>{var t;s.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),null==(t=f)||t.disconnect(),f=null,l&&cancelAnimationFrame(c)}}(n,e,(()=>t.reposition()))))}function xt(t,n,e){if(!e||!n)return;const o=gt.get(t);o&&o(),gt.delete(t)}const vt=Math.ceil(Math.hypot(4,4));export{st as F,xt as a,vt as b,ht as c,lt as d,ft as f,dt as r}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.4.0-next.11
5
+ */
6
+ import{r as t,c as a,h as i,H as e,a as o}from"./p-42552845.js";import{b as n}from"./p-6dc8f26e.js";import{u as s}from"./p-165ec40b.js";import{s as c,a as l,c as r}from"./p-95093c16.js";import{c as d,d as m}from"./p-f747567a.js";import{c as h,s as f,d as p,u}from"./p-cfb7ba9f.js";import{S as b}from"./p-6911bf06.js";import"./p-1f66d449.js";import"./p-f3a960c7.js";import"./p-a8f92d33.js";import"./p-8ae8e08d.js";const g=class{constructor(i){t(this,i),this.calciteFlowItemBack=a(this,"calciteFlowItemBack",6),this.calciteFlowItemScroll=a(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=a(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.backButtonEl=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){d(this),h(this)}async componentWillLoad(){await f(this),c(this)}componentDidRender(){s(this)}disconnectedCallback(){m(this),p(this)}componentDidLoad(){l(this)}effectiveLocaleChange(){u(this,this.effectiveLocale)}async setFocus(){await r(this);const{backButtonEl:t,containerEl:a}=this;t?t.setFocus():a?.setFocus()}async scrollContentTo(t){await(this.containerEl?.scrollContentTo(t))}renderBackButton(){const{el:t}=this,a="rtl"===n(t),{showBackButton:e,backButtonClick:o,messages:s}=this,c=s.back;return e?i("calcite-action",{"aria-label":c,class:"back-button",icon:a?"chevron-right":"chevron-left",key:"flow-back-button",onClick:o,scale:"s",slot:"header-actions-start",text:c,ref:this.setBackRef}):null}render(){const{closable:t,closed:a,description:o,disabled:n,heading:s,headingLevel:c,loading:l,menuOpen:r,messages:d,backButtonEl:m}=this,h=d.back;return i(e,null,i("calcite-panel",{closable:t,closed:a,description:o,disabled:n,heading:s,headingLevel:c,loading:l,menuOpen:r,messageOverrides:d,onCalcitePanelClose:this.handlePanelClose,onCalcitePanelScroll:this.handlePanelScroll,ref:this.setContainerRef},this.renderBackButton(),i("slot",{name:"action-bar",slot:b.actionBar}),i("slot",{name:"header-actions-start",slot:b.headerActionsStart}),i("slot",{name:"header-actions-end",slot:b.headerActionsEnd}),i("slot",{name:"header-content",slot:b.headerContent}),i("slot",{name:"header-menu-actions",slot:b.headerMenuActions}),i("slot",{name:"fab",slot:b.fab}),i("slot",{name:"footer-actions",slot:b.footerActions}),i("slot",{name:"footer",slot:b.footer}),i("slot",null)),m?i("calcite-tooltip",{label:h,overlayPositioning:"fixed",placement:"top",referenceElement:m},h):null)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};g.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;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)}";export{g as calcite_flow_item}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.4.0-next.11
5
+ */
6
+ import{g as i,r as a,h as t,H as n,a as e}from"./p-42552845.js";import{b as c,t as s}from"./p-6dc8f26e.js";import{c as o}from"./p-8ae8e08d.js";import"./p-1f66d449.js";import"./p-f3a960c7.js";const r={},l={},m={s:16,m:24,l:32};const f=class{constructor(i){a(this,i),this.icon=null,this.flipRtl=!1,this.scale="m",this.textLabel=void 0,this.pathData=void 0,this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){this.intersectionObserver?.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:i,flipRtl:a,pathData:e,scale:o,textLabel:r}=this,l=c(i),f=m[o],h=!!r,p=[].concat(e||"");return t(n,{"aria-hidden":s(!h),"aria-label":h?r:null,role:h?"img":null},t("svg",{"aria-hidden":"true",class:{"flip-rtl":"rtl"===l&&a,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${f} ${f}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},p.map((i=>t("path","string"==typeof i?{d:i}:{d:i.d,opacity:"opacity"in i?i.opacity:1})))))}async loadIconPathData(){const{icon:a,scale:t,visible:n}=this;a&&n&&(this.pathData=await async function({icon:a,scale:t}){const n=m[t],e=function(i){const a=!isNaN(Number(i.charAt(0))),t=i.split("-");if(t.length>0){const a=/[a-z]/i;i=t.map(((i,t)=>i.replace(a,(function(i,a){return 0===t&&0===a?i:i.toUpperCase()})))).join("")}return a?`i${i}`:i}(a),c="F"===e.charAt(e.length-1),s=`${c?e.substring(0,e.length-1):e}${n}${c?"F":""}`;if(r[s])return r[s];l[s]||(l[s]=fetch(i(`./assets/icon/${s}.json`)).then((i=>i.json())).catch((()=>(console.error(`"${s}" is not a valid calcite-ui-icon name`),""))));const o=await l[s];return r[s]=o,o}({icon:a,scale:t}))}waitUntilVisible(i){this.intersectionObserver=o("intersection",(a=>{a.forEach((a=>{a.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,i())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):i()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};f.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){block-size:1rem;inline-size:1rem;min-inline-size:1rem;min-block-size:1rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem;min-inline-size:1.5rem;min-block-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem;min-inline-size:2rem;min-block-size:2rem}.flip-rtl{transform:scaleX(-1)}.svg{display:block}";export{f as calcite_icon}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.10
4
+ * v1.4.0-next.11
5
5
  */
6
- import{r as t,c as i,h as a,a as s}from"./p-2fba8e6a.js";import{g as e}from"./p-28bd653e.js";import{u as n}from"./p-4f50176e.js";import{c,d as o,g as r}from"./p-a7daef7a.js";import{s as l,a as h,c as d}from"./p-797661fe.js";import{c as p,d as m}from"./p-e1098787.js";import{c as b}from"./p-0990e4b1.js";import{c as u,s as f,d as g,u as y}from"./p-2c11ed7d.js";import"./p-33c5c291.js";import"./p-b6042b6c.js";import"./p-eacf0ee1.js";const v=class{constructor(a){t(this,a),this.calciteInlineEditableEditCancel=i(this,"calciteInlineEditableEditCancel",6),this.calciteInlineEditableEditConfirm=i(this,"calciteInlineEditableEditConfirm",6),this.calciteInternalInlineEditableEnableEditingChange=i(this,"calciteInternalInlineEditableEnableEditingChange",6),this.mutationObserver=b("mutation",(()=>this.mutationObserverCallback())),this.enableEditing=()=>{this.valuePriorToEditing=this.inputElement?.value,this.editingEnabled=!0,this.inputElement?.setFocus(),this.calciteInternalInlineEditableEnableEditingChange.emit()},this.disableEditing=()=>{this.editingEnabled=!1},this.cancelEditing=()=>{this.inputElement&&(this.inputElement.value=this.valuePriorToEditing),this.disableEditing(),this.enableEditingButton.setFocus(),!this.editingEnabled&&this.shouldEmitCancel&&this.calciteInlineEditableEditCancel.emit()},this.escapeKeyHandler=async t=>{t.defaultPrevented||("Escape"===t.key&&(t.preventDefault(),this.cancelEditing()),"Tab"===t.key&&this.shouldShowControls&&(t.shiftKey||t.target!==this.inputElement||(t.preventDefault(),this.cancelEditingButton.setFocus()),t.shiftKey&&t.target===this.cancelEditingButton&&(t.preventDefault(),this.inputElement?.setFocus())))},this.cancelEditingHandler=async t=>{t.preventDefault(),this.cancelEditing()},this.enableEditingHandler=async t=>{this.disabled||t.target===this.cancelEditingButton||t.target===this.confirmEditingButton||(t.preventDefault(),this.editingEnabled||this.enableEditing())},this.confirmChangesHandler=async t=>{t.preventDefault(),this.calciteInlineEditableEditConfirm.emit();try{this.afterConfirm&&(this.loading=!0,await this.afterConfirm(),this.disableEditing(),this.enableEditingButton.setFocus())}catch(t){}finally{this.loading=!1}},this.disabled=!1,this.editingEnabled=!1,this.loading=!1,this.controls=!1,this.scale=void 0,this.afterConfirm=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0}disabledWatcher(t){this.inputElement&&(this.inputElement.disabled=t)}editingEnabledWatcher(t,i){this.inputElement&&(this.inputElement.editingEnabled=t),!t&&i&&(this.shouldEmitCancel=!0)}onMessagesChange(){}connectedCallback(){c(this),p(this),u(this),this.mutationObserver?.observe(this.el,{childList:!0}),this.mutationObserverCallback()}async componentWillLoad(){l(this),await f(this)}componentDidLoad(){h(this)}disconnectedCallback(){o(this),m(this),g(this),this.mutationObserver?.disconnect()}componentDidRender(){n(this)}render(){return a("div",{class:"wrapper",onClick:this.enableEditingHandler,onKeyDown:this.escapeKeyHandler},a("div",{class:"input-wrapper"},a("slot",null)),a("div",{class:"controls-wrapper"},a("calcite-button",{appearance:"transparent",class:"enable-editing-button",disabled:this.disabled,iconStart:"pencil",kind:"neutral",label:this.messages.enableEditing,onClick:this.enableEditingHandler,scale:this.scale,style:{opacity:this.editingEnabled?"0":"1",width:this.editingEnabled?"0":"inherit"},type:"button",ref:t=>this.enableEditingButton=t}),this.shouldShowControls&&[a("div",{class:"cancel-editing-button-wrapper"},a("calcite-button",{appearance:"transparent",class:"cancel-editing-button",disabled:this.disabled,iconStart:"x",kind:"neutral",label:this.messages.cancelEditing,onClick:this.cancelEditingHandler,scale:this.scale,type:"button",ref:t=>this.cancelEditingButton=t})),a("calcite-button",{appearance:"solid",class:"confirm-changes-button",disabled:this.disabled,iconStart:"check",kind:"brand",label:this.messages.confirmChanges,loading:this.loading,onClick:this.confirmChangesHandler,scale:this.scale,type:"button",ref:t=>this.confirmEditingButton=t})]))}blurHandler(){this.controls||this.disableEditing()}effectiveLocaleChange(){y(this,this.effectiveLocale)}async setFocus(){await d(this),this.el?.focus()}mutationObserverCallback(){this.updateSlottedInput(),this.scale=this.scale||this.inputElement?.scale}onLabelClick(){this.setFocus()}updateSlottedInput(){const t=e(this.el,{matches:"calcite-input"});this.inputElement=t,t&&(this.inputElement.disabled=this.disabled,this.inputElement.label=this.inputElement.label||r(this))}get shouldShowControls(){return this.editingEnabled&&this.controls}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{disabled:["disabledWatcher"],editingEnabled:["editingEnabledWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};v.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) .controls-wrapper{block-size:1.5rem}:host([scale=m]) .controls-wrapper{block-size:2rem}:host([scale=l]) .controls-wrapper{block-size:2.75rem}:host(:not([editing-enabled]):not([disabled])) .wrapper:hover{background-color:var(--calcite-ui-foreground-2)}.wrapper{box-sizing:border-box;display:flex;justify-content:space-between;background-color:var(--calcite-ui-foreground-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.wrapper .input-wrapper{flex:1 1 0%}.controls-wrapper{display:flex}:host([disabled]) .cancel-editing-button-wrapper{border-color:var(--calcite-ui-border-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{v as calcite_inline_editable}
6
+ import{r as t,c as i,h as a,a as s}from"./p-42552845.js";import{g as e}from"./p-6dc8f26e.js";import{u as n}from"./p-165ec40b.js";import{c,d as o,g as r}from"./p-529f0e4a.js";import{s as l,a as h,c as d}from"./p-95093c16.js";import{c as p,d as m}from"./p-f747567a.js";import{c as f}from"./p-8ae8e08d.js";import{c as u,s as b,d as g,u as y}from"./p-cfb7ba9f.js";import"./p-1f66d449.js";import"./p-f3a960c7.js";import"./p-a8f92d33.js";const v=class{constructor(a){t(this,a),this.calciteInlineEditableEditCancel=i(this,"calciteInlineEditableEditCancel",6),this.calciteInlineEditableEditConfirm=i(this,"calciteInlineEditableEditConfirm",6),this.calciteInternalInlineEditableEnableEditingChange=i(this,"calciteInternalInlineEditableEnableEditingChange",6),this.mutationObserver=f("mutation",(()=>this.mutationObserverCallback())),this.enableEditing=()=>{this.valuePriorToEditing=this.inputElement?.value,this.editingEnabled=!0,this.inputElement?.setFocus(),this.calciteInternalInlineEditableEnableEditingChange.emit()},this.disableEditing=()=>{this.editingEnabled=!1},this.cancelEditing=()=>{this.inputElement&&(this.inputElement.value=this.valuePriorToEditing),this.disableEditing(),this.enableEditingButton.setFocus(),!this.editingEnabled&&this.shouldEmitCancel&&this.calciteInlineEditableEditCancel.emit()},this.escapeKeyHandler=async t=>{t.defaultPrevented||("Escape"===t.key&&(t.preventDefault(),this.cancelEditing()),"Tab"===t.key&&this.shouldShowControls&&(t.shiftKey||t.target!==this.inputElement||(t.preventDefault(),this.cancelEditingButton.setFocus()),t.shiftKey&&t.target===this.cancelEditingButton&&(t.preventDefault(),this.inputElement?.setFocus())))},this.cancelEditingHandler=async t=>{t.preventDefault(),this.cancelEditing()},this.enableEditingHandler=async t=>{this.disabled||t.target===this.cancelEditingButton||t.target===this.confirmEditingButton||(t.preventDefault(),this.editingEnabled||this.enableEditing())},this.confirmChangesHandler=async t=>{t.preventDefault(),this.calciteInlineEditableEditConfirm.emit();try{this.afterConfirm&&(this.loading=!0,await this.afterConfirm(),this.disableEditing(),this.enableEditingButton.setFocus())}catch(t){}finally{this.loading=!1}},this.disabled=!1,this.editingEnabled=!1,this.loading=!1,this.controls=!1,this.scale=void 0,this.afterConfirm=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0}disabledWatcher(t){this.inputElement&&(this.inputElement.disabled=t)}editingEnabledWatcher(t,i){this.inputElement&&(this.inputElement.editingEnabled=t),!t&&i&&(this.shouldEmitCancel=!0)}onMessagesChange(){}connectedCallback(){c(this),p(this),u(this),this.mutationObserver?.observe(this.el,{childList:!0}),this.mutationObserverCallback()}async componentWillLoad(){l(this),await b(this)}componentDidLoad(){h(this)}disconnectedCallback(){o(this),m(this),g(this),this.mutationObserver?.disconnect()}componentDidRender(){n(this)}render(){return a("div",{class:"wrapper",onClick:this.enableEditingHandler,onKeyDown:this.escapeKeyHandler},a("div",{class:"input-wrapper"},a("slot",null)),a("div",{class:"controls-wrapper"},a("calcite-button",{appearance:"transparent",class:"enable-editing-button",disabled:this.disabled,iconStart:"pencil",kind:"neutral",label:this.messages.enableEditing,onClick:this.enableEditingHandler,scale:this.scale,style:{opacity:this.editingEnabled?"0":"1",width:this.editingEnabled?"0":"inherit"},type:"button",ref:t=>this.enableEditingButton=t}),this.shouldShowControls&&[a("div",{class:"cancel-editing-button-wrapper"},a("calcite-button",{appearance:"transparent",class:"cancel-editing-button",disabled:this.disabled,iconStart:"x",kind:"neutral",label:this.messages.cancelEditing,onClick:this.cancelEditingHandler,scale:this.scale,type:"button",ref:t=>this.cancelEditingButton=t})),a("calcite-button",{appearance:"solid",class:"confirm-changes-button",disabled:this.disabled,iconStart:"check",kind:"brand",label:this.messages.confirmChanges,loading:this.loading,onClick:this.confirmChangesHandler,scale:this.scale,type:"button",ref:t=>this.confirmEditingButton=t})]))}blurHandler(){this.controls||this.disableEditing()}effectiveLocaleChange(){y(this,this.effectiveLocale)}async setFocus(){await d(this),this.el?.focus()}mutationObserverCallback(){this.updateSlottedInput(),this.scale=this.scale||this.inputElement?.scale}onLabelClick(){this.setFocus()}updateSlottedInput(){const t=e(this.el,{matches:"calcite-input"});this.inputElement=t,t&&(this.inputElement.disabled=this.disabled,this.inputElement.label=this.inputElement.label||r(this))}get shouldShowControls(){return this.editingEnabled&&this.controls}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{disabled:["disabledWatcher"],editingEnabled:["editingEnabledWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};v.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) .controls-wrapper{block-size:1.5rem}:host([scale=m]) .controls-wrapper{block-size:2rem}:host([scale=l]) .controls-wrapper{block-size:2.75rem}:host(:not([editing-enabled]):not([disabled])) .wrapper:hover{background-color:var(--calcite-ui-foreground-2)}.wrapper{box-sizing:border-box;display:flex;justify-content:space-between;background-color:var(--calcite-ui-foreground-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.wrapper .input-wrapper{flex:1 1 0%}.controls-wrapper{display:flex}:host([disabled]) .cancel-editing-button-wrapper{border-color:var(--calcite-ui-border-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{v as calcite_inline_editable}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.10
4
+ * v1.4.0-next.11
5
5
  */
6
- import{e as t}from"./p-2fba8e6a.js";const n=new WeakMap;function i(t){t.propertyName===this.openTransitionProp&&t.target===this.transitionEl&&(this.open?this.onBeforeOpen():this.onBeforeClose())}function s(t){t.propertyName===this.openTransitionProp&&t.target===this.transitionEl&&(this.open?this.onOpen():this.onClose())}function o(n,i=!1){t((()=>{if(n.transitionEl){const t=getComputedStyle(n.transitionEl).transition.split(" "),s=t.findIndex((t=>t===n.openTransitionProp));"0s"===t[s+1]?((i?n[n.transitionProp]:n.open)?n.onBeforeOpen():n.onBeforeClose(),(i?n[n.transitionProp]:n.open)?n.onOpen():n.onClose()):(n.transitionEl.addEventListener("transitionstart",(()=>{(i?n[n.transitionProp]:n.open)?n.onBeforeOpen():n.onBeforeClose()}),{once:!0}),n.transitionEl.addEventListener("transitionend",(()=>{(i?n[n.transitionProp]:n.open)?n.onOpen():n.onClose()}),{once:!0}))}}))}function a(t){if(e(t),t.transitionEl){const o=i.bind(t),a=s.bind(t);n.set(t,[t.transitionEl,o,a]),t.transitionEl.addEventListener("transitionstart",o),t.transitionEl.addEventListener("transitionend",a)}}function e(t){if(!n.has(t))return;const[i,s,o]=n.get(t);i.removeEventListener("transitionstart",s),i.removeEventListener("transitionend",o),n.delete(t)}export{a as c,e as d,o}
6
+ import{e as t}from"./p-42552845.js";const n=new WeakMap;function i(t){t.propertyName===this.openTransitionProp&&t.target===this.transitionEl&&(this.open?this.onBeforeOpen():this.onBeforeClose())}function s(t){t.propertyName===this.openTransitionProp&&t.target===this.transitionEl&&(this.open?this.onOpen():this.onClose())}function o(n,i=!1){t((()=>{if(n.transitionEl){const t=getComputedStyle(n.transitionEl).transition.split(" "),s=t.findIndex((t=>t===n.openTransitionProp));"0s"===t[s+1]?((i?n[n.transitionProp]:n.open)?n.onBeforeOpen():n.onBeforeClose(),(i?n[n.transitionProp]:n.open)?n.onOpen():n.onClose()):(n.transitionEl.addEventListener("transitionstart",(()=>{(i?n[n.transitionProp]:n.open)?n.onBeforeOpen():n.onBeforeClose()}),{once:!0}),n.transitionEl.addEventListener("transitionend",(()=>{(i?n[n.transitionProp]:n.open)?n.onOpen():n.onClose()}),{once:!0}))}}))}function a(t){if(r(t),t.transitionEl){const o=i.bind(t),a=s.bind(t);n.set(t,[t.transitionEl,o,a]),t.transitionEl.addEventListener("transitionstart",o),t.transitionEl.addEventListener("transitionend",a)}}function r(t){if(!n.has(t))return;const[i,s,o]=n.get(t);i.removeEventListener("transitionstart",s),i.removeEventListener("transitionend",o),n.delete(t)}export{a as c,r as d,o}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.4.0-next.11
5
+ */
6
+ import{r as i,c as t,h as a,a as n,H as e}from"./p-42552845.js";import{c,d as o}from"./p-30a6bd5e.js";import{u as r,g as s,b as l,t as d}from"./p-6dc8f26e.js";import{C as m}from"./p-f3a960c7.js";import"./p-8ae8e08d.js";import"./p-1f66d449.js";const h=class{constructor(a){i(this,a),this.calciteInternalAccordionChange=t(this,"calciteInternalAccordionChange",6),this.items=[],this.sorted=!1,this.sortItems=i=>i.sort(((i,t)=>i.position-t.position)).map((i=>i.item)),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple"}componentDidLoad(){this.sorted||(this.items=this.sortItems(this.items),this.sorted=!0)}render(){const i="transparent"===this.appearance;return a("div",{class:{"accordion--transparent":i,accordion:!i}},a("slot",null))}registerCalciteAccordionItem(i){const t={item:i.target,parent:i.detail.parent,position:i.detail.position};this.el===t.parent&&this.items.push(t),i.stopPropagation()}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem,this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem}),i.stopPropagation()}get el(){return n(this)}};h.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}: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)}";const p="actions-start",u="actions-end",f=class{constructor(a){i(this,a),this.calciteInternalAccordionItemSelect=t(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=t(this,"calciteInternalAccordionItemClose",6),this.calciteInternalAccordionItemRegister=t(this,"calciteInternalAccordionItemRegister",6),this.iconPosition="end",this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.scale="m",this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0}connectedCallback(){this.parent=this.el.parentElement,this.iconType=r(this.el,"icon-type","chevron"),this.iconPosition=r(this.el,"icon-position",this.iconPosition),this.scale=r(this.el,"scale",this.scale),c(this)}componentDidLoad(){this.itemPosition=this.getItemPosition(),this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})}disconnectedCallback(){o(this)}renderActionsStart(){const{el:i}=this;return s(i,p)?a("div",{class:"actions-start"},a("slot",{name:p})):null}renderActionsEnd(){const{el:i}=this;return s(i,u)?a("div",{class:"actions-end"},a("slot",{name:u})):null}render(){const{iconFlipRtl:i}=this,t=l(this.el),n=this.iconStart?a("calcite-icon",{class:"icon--start",flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:"l"===this.scale?"m":"s"}):null,c=this.iconEnd?a("calcite-icon",{class:"icon--end",flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:"l"===this.scale?"m":"s"}):null,{description:o}=this;return a(e,null,a("div",{class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},a("div",{class:{header:!0,[m.rtl]:"rtl"===t}},this.renderActionsStart(),a("div",{"aria-expanded":d(this.expanded),class:"header-content",onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},a("div",{class:"header-container"},n,a("div",{class:"header-text"},a("span",{class:"heading"},this.heading),o?a("span",{class:"description"},o):null),c),a("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()),a("div",{class:"content"},a("slot",null))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem,this.el.parentNode===this.requestedAccordionItem.parentNode&&(this.determineActiveItem(),i.stopPropagation())}determineActiveItem(){switch(this.selectionMode=r(this.el,"selection-mode","multiple"),this.selectionMode){case"multiple":this.el===this.requestedAccordionItem&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===this.requestedAccordionItem&&!this.expanded;break;case"single-persist":this.expanded=this.el===this.requestedAccordionItem}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}getItemPosition(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)}get el(){return n(this)}};f.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}.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}}";export{h as calcite_accordion,f 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-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.10
4
+ * v1.4.0-next.11
5
5
  */
6
6
  const a="calcite-mode-auto",t="calcite-mode-dark",e={autoMode:a,darkMode:t,lightMode:"calcite-mode-light",rtl:"calcite--rtl"};export{e as C,a,t as d}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.10
4
+ * v1.4.0-next.11
5
5
  */
6
- import{c as t,a as n}from"./p-28bd653e.js";import{n as e}from"./p-eacf0ee1.js";import{c as s}from"./p-0990e4b1.js";const i=new RegExp("\\.(0+)?$"),r=new RegExp("0+$");class a{constructor(t){if(t instanceof a)return t;const[n,e]=function(t){const n=t.split(/[eE]/);if(1===n.length)return t;const e=+t;if(Number.isSafeInteger(e))return`${e}`;const s="-"===t.charAt(0),r=+n[1],a=n[0].split("."),u=(s?a[0].substring(1):a[0])||"",o=a[1]||"",h=r>0?`${u}${((t,n)=>{const e=n>t.length?`${t}${"0".repeat(n-t.length)}`:t;return`${e.slice(0,n)}.${e.slice(n)}`})(o,r)}`:`${((t,n)=>{const e=Math.abs(n)-t.length,s=e>0?`${"0".repeat(e)}${t}`:t;return`${s.slice(0,n)}.${s.slice(n)}`})(u,r)}${o}`;return`${s?"-":""}${"."===h.charAt(0)?"0":""}${h.replace(i,"").replace(c,"")}`}(t).split(".").concat("");this.value=BigInt(n+e.padEnd(a.DECIMALS,"0").slice(0,a.DECIMALS))+BigInt(a.ROUNDED&&e[a.DECIMALS]>="5"),this.isNegative="-"===t.charAt(0)}getIntegersAndDecimals(){const t=this.value.toString().replace("-","").padStart(a.DECIMALS+1,"0");return{integers:t.slice(0,-a.DECIMALS),decimals:t.slice(-a.DECIMALS).replace(r,"")}}toString(){const{integers:t,decimals:n}=this.getIntegersAndDecimals();return`${this.isNegative?"-":""}${t}${n.length?"."+n:""}`}formatToParts(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals(),s=t.numberFormatter.formatToParts(BigInt(n));return this.isNegative&&s.unshift({type:"minusSign",value:t.minusSign}),e.length&&(s.push({type:"decimal",value:t.decimal}),e.split("").forEach((t=>s.push({type:"fraction",value:t})))),s}format(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals();return`${this.isNegative?t.minusSign:""}${t.numberFormatter.format(BigInt(n))}${e.length?`${t.decimal}${e.split("").map((n=>t.numberFormatter.format(Number(n)))).join("")}`:""}`}add(t){return a.fromBigInt(this.value+new a(t).value)}subtract(t){return a.fromBigInt(this.value-new a(t).value)}multiply(t){return a._divRound(this.value*new a(t).value,a.SHIFT)}divide(t){return a._divRound(this.value*a.SHIFT,new a(t).value)}}function u(t){return!(!t||isNaN(Number(t)))}function o(t){return t&&(n=t,e.some((t=>n.includes(t))))?$(t,(t=>{let n=!1;const s=t.split("").filter(((t,s)=>t.match(/\./g)&&!n?(n=!0,!0):!(!t.match(/\-/g)||0!==s)||e.includes(t))).reduce(((t,n)=>t+n));return u(s)?new a(s).toString():""})):"";var n}a.DECIMALS=100,a.ROUNDED=!0,a.SHIFT=BigInt("1"+"0".repeat(a.DECIMALS)),a._divRound=(t,n)=>a.fromBigInt(t/n+(a.ROUNDED?t*BigInt(2)/n%BigInt(2):BigInt(0))),a.fromBigInt=t=>Object.assign(Object.create(a.prototype),{value:t,isNegative:t<BigInt(0)});const c=/^([-0])0+(?=\d)/,h=/(?!^\.)\.$/,l=/(?!^-)-/g,g=/^-\b0\b\.?0*$/,m=t=>$(t,(t=>{const n=t.replace(l,"").replace(h,"").replace(c,"$1");return u(n)?g.test(n)?n:new a(n).toString():t}));function $(t,n){if(!t)return t;const e=t.toLowerCase().indexOf("e")+1;return e?t.replace(/[eE]*$/g,"").substring(0,e).concat(t.slice(e).replace(/[eE]/g,"")).split(/[eE]/).map(((t,e)=>n(1===e?t.replace(/\./g,""):t))).join("e").replace(/^e/,"1e"):n(t)}const d="en",f=["ar","bg","bs","ca","cs","da","de","el",d,"es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","no","nl","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],b=["ar","bg","bs","ca","cs","da","de","de-AT","de-CH","el",d,"en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","no","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],p=["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"],w=t=>p.includes(t),v=(new Intl.NumberFormat).resolvedOptions().numberingSystem,I="arab"!==v&&w(v)?v:"latn",B=t=>w(t)?t:I;function E(t,n="cldr"){const e="cldr"===n?b:f;return t?e.includes(t)?t:"nb"===(t=t.toLowerCase())?"no":"t9n"===n&&"pt"===t?"pt-BR":(t.includes("-")&&(t=t.replace(/(\w+)-(\w+)/,((t,n,e)=>`${n}-${e.toUpperCase()}`)),e.includes(t)||(t=t.split("-")[0])),"zh"===t?"zh-CN":e.includes(t)?t:(console.warn(`Translations for the "${t}" locale are not available and will fall back to the default, English (en).`),d)):d}const N=new Set;function j(n){!function(n){n.effectiveLocale=function(n){return n.el.lang||t(n.el,"[lang]")?.lang||document.documentElement.lang||d}(n)}(n),0===N.size&&x?.observe(document.documentElement,{attributes:!0,attributeFilter:["lang"],subtree:!0}),N.add(n)}function k(t){N.delete(t),0===N.size&&x.disconnect()}const x=s("mutation",(e=>{e.forEach((e=>{const s=e.target;N.forEach((e=>{if(!n(s,e.el))return;const i=t(e.el,"[lang]");if(!i)return void(e.effectiveLocale=d);const r=i.lang;e.effectiveLocale=i.hasAttribute("lang")&&""===r?d:r}))}))})),R=new class{constructor(){this.delocalize=t=>this._numberFormatOptions?$(t,(t=>t.trim().replace(new RegExp(`[${this._minusSign}]`,"g"),"-").replace(new RegExp(`[${this._group}]`,"g"),"").replace(new RegExp(`[${this._decimal}]`,"g"),".").replace(new RegExp(`[${this._digits.join("")}]`,"g"),this._getDigitIndex))):t,this.localize=t=>this._numberFormatOptions?$(t,(t=>u(t.trim())?new a(t.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`,"g"),this._group):t)):t}get group(){return this._group}get decimal(){return this._decimal}get minusSign(){return this._minusSign}get digits(){return this._digits}get numberFormatter(){return this._numberFormatter}get numberFormatOptions(){return this._numberFormatOptions}set numberFormatOptions(t){if(t.locale=E(t?.locale),t.numberingSystem=B(t?.numberingSystem),!this._numberFormatOptions&&t.locale===d&&t.numberingSystem===I&&2===Object.keys(t).length||JSON.stringify(this._numberFormatOptions)===JSON.stringify(t))return;this._numberFormatOptions=t,this._numberFormatter=new Intl.NumberFormat(this._numberFormatOptions.locale,this._numberFormatOptions),this._digits=[...new Intl.NumberFormat(this._numberFormatOptions.locale,{useGrouping:!1,numberingSystem:this._numberFormatOptions.numberingSystem}).format(9876543210)].reverse();const n=new Map(this._digits.map(((t,n)=>[t,n]))),e=new Intl.NumberFormat(this._numberFormatOptions.locale).formatToParts(-12345678.9);this._actualGroup=e.find((t=>"group"===t.type)).value,this._group=0===this._actualGroup.trim().length?" ":this._actualGroup,this._decimal=e.find((t=>"decimal"===t.type)).value,this._minusSign=e.find((t=>"minusSign"===t.type)).value,this._getDigitIndex=t=>n.get(t)}};let y,z;function O(t,n){t=E(t),y||(y=new Map),z!==t&&(y.clear(),z=t);const e=function(t={}){return Object.entries(t).sort((([t],[n])=>t.localeCompare(n))).map((t=>`${t[0]}-${t[1]}`)).flat().join(":")}(n),s=y.get(e);if(s)return s;const i=new Intl.DateTimeFormat(t,n);return y.set(e,i),i}export{a as B,I as a,O as b,j as c,k as d,B as e,E as g,u as i,R as n,o as p,m as s}
6
+ import{c as t,a as n}from"./p-6dc8f26e.js";import{n as e}from"./p-a8f92d33.js";import{c as s}from"./p-8ae8e08d.js";const i=new RegExp("\\.(0+)?$"),r=new RegExp("0+$");class a{constructor(t){if(t instanceof a)return t;const[n,e]=function(t){const n=t.split(/[eE]/);if(1===n.length)return t;const e=+t;if(Number.isSafeInteger(e))return`${e}`;const s="-"===t.charAt(0),r=+n[1],a=n[0].split("."),u=(s?a[0].substring(1):a[0])||"",o=a[1]||"",h=r>0?`${u}${((t,n)=>{const e=n>t.length?`${t}${"0".repeat(n-t.length)}`:t;return`${e.slice(0,n)}.${e.slice(n)}`})(o,r)}`:`${((t,n)=>{const e=Math.abs(n)-t.length,s=e>0?`${"0".repeat(e)}${t}`:t;return`${s.slice(0,n)}.${s.slice(n)}`})(u,r)}${o}`;return`${s?"-":""}${"."===h.charAt(0)?"0":""}${h.replace(i,"").replace(c,"")}`}(t).split(".").concat("");this.value=BigInt(n+e.padEnd(a.DECIMALS,"0").slice(0,a.DECIMALS))+BigInt(a.ROUNDED&&e[a.DECIMALS]>="5"),this.isNegative="-"===t.charAt(0)}getIntegersAndDecimals(){const t=this.value.toString().replace("-","").padStart(a.DECIMALS+1,"0");return{integers:t.slice(0,-a.DECIMALS),decimals:t.slice(-a.DECIMALS).replace(r,"")}}toString(){const{integers:t,decimals:n}=this.getIntegersAndDecimals();return`${this.isNegative?"-":""}${t}${n.length?"."+n:""}`}formatToParts(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals(),s=t.numberFormatter.formatToParts(BigInt(n));return this.isNegative&&s.unshift({type:"minusSign",value:t.minusSign}),e.length&&(s.push({type:"decimal",value:t.decimal}),e.split("").forEach((t=>s.push({type:"fraction",value:t})))),s}format(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals();return`${this.isNegative?t.minusSign:""}${t.numberFormatter.format(BigInt(n))}${e.length?`${t.decimal}${e.split("").map((n=>t.numberFormatter.format(Number(n)))).join("")}`:""}`}add(t){return a.fromBigInt(this.value+new a(t).value)}subtract(t){return a.fromBigInt(this.value-new a(t).value)}multiply(t){return a._divRound(this.value*new a(t).value,a.SHIFT)}divide(t){return a._divRound(this.value*a.SHIFT,new a(t).value)}}function u(t){return!(!t||isNaN(Number(t)))}function o(t){return t&&(n=t,e.some((t=>n.includes(t))))?$(t,(t=>{let n=!1;const s=t.split("").filter(((t,s)=>t.match(/\./g)&&!n?(n=!0,!0):!(!t.match(/\-/g)||0!==s)||e.includes(t))).reduce(((t,n)=>t+n));return u(s)?new a(s).toString():""})):"";var n}a.DECIMALS=100,a.ROUNDED=!0,a.SHIFT=BigInt("1"+"0".repeat(a.DECIMALS)),a._divRound=(t,n)=>a.fromBigInt(t/n+(a.ROUNDED?t*BigInt(2)/n%BigInt(2):BigInt(0))),a.fromBigInt=t=>Object.assign(Object.create(a.prototype),{value:t,isNegative:t<BigInt(0)});const c=/^([-0])0+(?=\d)/,h=/(?!^\.)\.$/,l=/(?!^-)-/g,g=/^-\b0\b\.?0*$/,m=t=>$(t,(t=>{const n=t.replace(l,"").replace(h,"").replace(c,"$1");return u(n)?g.test(n)?n:new a(n).toString():t}));function $(t,n){if(!t)return t;const e=t.toLowerCase().indexOf("e")+1;return e?t.replace(/[eE]*$/g,"").substring(0,e).concat(t.slice(e).replace(/[eE]/g,"")).split(/[eE]/).map(((t,e)=>n(1===e?t.replace(/\./g,""):t))).join("e").replace(/^e/,"1e"):n(t)}const d="en",f=["ar","bg","bs","ca","cs","da","de","el",d,"es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","no","nl","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],p=["ar","bg","bs","ca","cs","da","de","de-AT","de-CH","el",d,"en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","no","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],b=["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"],w=t=>b.includes(t),v=(new Intl.NumberFormat).resolvedOptions().numberingSystem,I="arab"!==v&&w(v)?v:"latn",B=t=>w(t)?t:I;function E(t,n="cldr"){const e="cldr"===n?p:f;return t?e.includes(t)?t:"nb"===(t=t.toLowerCase())?"no":"t9n"===n&&"pt"===t?"pt-BR":(t.includes("-")&&(t=t.replace(/(\w+)-(\w+)/,((t,n,e)=>`${n}-${e.toUpperCase()}`)),e.includes(t)||(t=t.split("-")[0])),"zh"===t?"zh-CN":e.includes(t)?t:(console.warn(`Translations for the "${t}" locale are not available and will fall back to the default, English (en).`),d)):d}const N=new Set;function j(n){!function(n){n.effectiveLocale=function(n){return n.el.lang||t(n.el,"[lang]")?.lang||document.documentElement.lang||d}(n)}(n),0===N.size&&x?.observe(document.documentElement,{attributes:!0,attributeFilter:["lang"],subtree:!0}),N.add(n)}function k(t){N.delete(t),0===N.size&&x.disconnect()}const x=s("mutation",(e=>{e.forEach((e=>{const s=e.target;N.forEach((e=>{if(!n(s,e.el))return;const i=t(e.el,"[lang]");if(!i)return void(e.effectiveLocale=d);const r=i.lang;e.effectiveLocale=i.hasAttribute("lang")&&""===r?d:r}))}))})),R=new class{constructor(){this.delocalize=t=>this._numberFormatOptions?$(t,(t=>t.trim().replace(new RegExp(`[${this._minusSign}]`,"g"),"-").replace(new RegExp(`[${this._group}]`,"g"),"").replace(new RegExp(`[${this._decimal}]`,"g"),".").replace(new RegExp(`[${this._digits.join("")}]`,"g"),this._getDigitIndex))):t,this.localize=t=>this._numberFormatOptions?$(t,(t=>u(t.trim())?new a(t.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`,"g"),this._group):t)):t}get group(){return this._group}get decimal(){return this._decimal}get minusSign(){return this._minusSign}get digits(){return this._digits}get numberFormatter(){return this._numberFormatter}get numberFormatOptions(){return this._numberFormatOptions}set numberFormatOptions(t){if(t.locale=E(t?.locale),t.numberingSystem=B(t?.numberingSystem),!this._numberFormatOptions&&t.locale===d&&t.numberingSystem===I&&2===Object.keys(t).length||JSON.stringify(this._numberFormatOptions)===JSON.stringify(t))return;this._numberFormatOptions=t,this._numberFormatter=new Intl.NumberFormat(this._numberFormatOptions.locale,this._numberFormatOptions),this._digits=[...new Intl.NumberFormat(this._numberFormatOptions.locale,{useGrouping:!1,numberingSystem:this._numberFormatOptions.numberingSystem}).format(9876543210)].reverse();const n=new Map(this._digits.map(((t,n)=>[t,n]))),e=new Intl.NumberFormat(this._numberFormatOptions.locale).formatToParts(-12345678.9);this._actualGroup=e.find((t=>"group"===t.type)).value,this._group=0===this._actualGroup.trim().length?" ":this._actualGroup,this._decimal=e.find((t=>"decimal"===t.type)).value,this._minusSign=e.find((t=>"minusSign"===t.type)).value,this._getDigitIndex=t=>n.get(t)}};let y,z;function O(t,n){t=E(t),y||(y=new Map),z!==t&&(y.clear(),z=t);const e=function(t={}){return Object.entries(t).sort((([t],[n])=>t.localeCompare(n))).map((t=>`${t[0]}-${t[1]}`)).flat().join(":")}(n),s=y.get(e);if(s)return s;const i=new Intl.DateTimeFormat(t,n);return y.set(e,i),i}export{a as B,I as a,O as b,j as c,k as d,B as e,E as g,u as i,R as n,o as p,m as s}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.10
4
+ * v1.4.0-next.11
5
5
  */
6
- import{d as e,a as t}from"./p-b6042b6c.js";function o(){const{classList:o}=document.body,n=window.matchMedia("(prefers-color-scheme: dark)").matches,d=()=>o.contains(e)||o.contains(t)&&n?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:e}})),i=e=>{a!==e&&c(e),a=e};let a=d();c(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>i(e.matches?"dark":"light"))),new MutationObserver((()=>i(d()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const n=function(){"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document&&("interactive"===document.readyState?o():document.addEventListener("DOMContentLoaded",(()=>o()),{once:!0}))};export{n as g}
6
+ import{d as e,a as t}from"./p-f3a960c7.js";function o(){const{classList:o}=document.body,n=window.matchMedia("(prefers-color-scheme: dark)").matches,d=()=>o.contains(e)||o.contains(t)&&n?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:e}})),i=e=>{a!==e&&c(e),a=e};let a=d();c(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>i(e.matches?"dark":"light"))),new MutationObserver((()=>i(d()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const n=function(){"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document&&("interactive"===document.readyState?o():document.addEventListener("DOMContentLoaded",(()=>o()),{once:!0}))};export{n as g}
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.10
4
+ * v1.4.0-next.11
5
5
  */
6
6
  /**!
7
7
  * Sortable 1.15.0
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.4.0-next.11
5
+ */
6
+ import{r as a,h as t,a as i}from"./p-42552845.js";import{f as o}from"./p-6dc8f26e.js";import{u as n}from"./p-165ec40b.js";import{s as e,a as r,c as s}from"./p-95093c16.js";import"./p-1f66d449.js";import"./p-f3a960c7.js";const c=class{constructor(t){a(this,t),this.appearance="solid",this.kind="brand",this.disabled=!1,this.icon="plus",this.iconFlipRtl=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1}componentWillLoad(){e(this)}componentDidLoad(){r(this)}componentDidRender(){n(this)}async setFocus(){await s(this),o(this.buttonEl)}render(){const{appearance:a,kind:i,disabled:o,loading:n,scale:e,textEnabled:r,icon:s,label:c,text:l,iconFlipRtl:d}=this;return t("calcite-button",{appearance:"solid"===a?"solid":"outline-fill",class:"button",disabled:o,iconFlipRtl:d?"start":null,iconStart:s,kind:i,label:c,loading:n,round:!0,scale:e,title:r?null:c||l||null,type:"button",width:"auto",ref:a=>{this.buttonEl=a}},this.textEnabled?this.text:null)}get el(){return i(this)}};c.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";export{c as calcite_fab}
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.10
4
+ * v1.4.0-next.11
5
5
  */
6
6
  'use strict';
7
7
 
8
- const index = require('./index-7ff03af4.js');
9
- const dom = require('./dom-60bc41cc.js');
10
- const resources$1 = require('./resources-db42842c.js');
11
- const resources = require('./resources-0c626808.js');
8
+ const index = require('./index-878e6a10.js');
9
+ const dom = require('./dom-f9be6b76.js');
10
+ const resources$1 = require('./resources-71924711.js');
11
+ const resources = require('./resources-e81bfcee.js');
12
12
 
13
13
  const overflowActionsDebounceInMs = 150;
14
14
  const groupBufferPx = 2;
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.10
4
+ * v1.4.0-next.11
5
5
  */
6
6
  'use strict';
7
7
 
8
- const index = require('./index-7ff03af4.js');
8
+ const index = require('./index-878e6a10.js');
9
9
 
10
10
  const CSS = {
11
11
  arrow: "calcite-floating-ui-arrow",
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.10
4
+ * v1.4.0-next.11
5
5
  */
6
6
  'use strict';
7
7
 
8
- const index = require('./index-7ff03af4.js');
8
+ const index = require('./index-878e6a10.js');
9
9
 
10
10
  function constrainHeadingLevel(level) {
11
11
  return Math.min(Math.max(Math.ceil(level), 1), 6);
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.10
4
+ * v1.4.0-next.11
5
5
  */
6
6
  'use strict';
7
7
 
8
- const resources = require('./resources-ebef8fc8.js');
8
+ const resources = require('./resources-1e20f92b.js');
9
9
 
10
10
  /**
11
11
  * Emits when the mode is dynamically toggled between light and dark on <body> or in OS preferences.
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.10
4
+ * v1.4.0-next.11
5
5
  */
6
6
  'use strict';
7
7
 
@@ -1,20 +1,20 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.10
4
+ * v1.4.0-next.11
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-7ff03af4.js');
11
- const conditionalSlot = require('./conditionalSlot-f5ae40d5.js');
12
- const dom = require('./dom-60bc41cc.js');
13
- const resources = require('./resources-ebef8fc8.js');
14
- require('./observers-c0279726.js');
15
- require('./guid-20fbb6f5.js');
10
+ const index = require('./index-878e6a10.js');
11
+ const conditionalSlot = require('./conditionalSlot-00a45a49.js');
12
+ const dom = require('./dom-f9be6b76.js');
13
+ const resources = require('./resources-1e20f92b.js');
14
+ require('./observers-1f039e59.js');
15
+ require('./guid-d38d5390.js');
16
16
 
17
- const accordionCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}: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)}";
17
+ const accordionCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}: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)}";
18
18
 
19
19
  const Accordion = class {
20
20
  constructor(hostRef) {
@@ -106,7 +106,7 @@ const CSS = {
106
106
  headerContainer: "header-container"
107
107
  };
108
108
 
109
- const accordionItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}.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}}";
109
+ const accordionItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}.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}}";
110
110
 
111
111
  const AccordionItem = class {
112
112
  constructor(hostRef) {