@esri/calcite-components 1.0.0-next.657 → 1.0.0-next.659

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 (783) 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 +1 -1
  4. package/dist/calcite/{p-24dea344.entry.js → p-042b695c.entry.js} +2 -2
  5. package/dist/calcite/p-082b5097.entry.js +6 -0
  6. package/dist/calcite/p-100952ef.entry.js +6 -0
  7. package/dist/calcite/{p-bf9e52eb.entry.js → p-1118b489.entry.js} +2 -2
  8. package/dist/calcite/{p-909d2d6c.js → p-12c5cd9d.js} +1 -1
  9. package/dist/calcite/p-12d31624.entry.js +6 -0
  10. package/dist/calcite/{p-e34afa14.js → p-14f7ce5c.js} +1 -1
  11. package/dist/calcite/{p-61aa27ea.js → p-18d7672f.js} +2 -2
  12. package/dist/calcite/{p-84e5b76b.entry.js → p-196c6e86.entry.js} +2 -2
  13. package/dist/calcite/{p-16d44ea6.js → p-1d0e3e6a.js} +1 -1
  14. package/dist/calcite/p-1ee5cb72.entry.js +6 -0
  15. package/dist/calcite/p-20282db6.entry.js +6 -0
  16. package/dist/calcite/p-228c90f6.entry.js +6 -0
  17. package/dist/calcite/{p-dd823906.js → p-23d345a8.js} +1 -1
  18. package/dist/calcite/{p-a2eca818.entry.js → p-25ed20bf.entry.js} +2 -2
  19. package/dist/calcite/p-2926060b.entry.js +6 -0
  20. package/dist/calcite/{p-a7d57321.entry.js → p-2effc8cc.entry.js} +2 -2
  21. package/dist/calcite/{p-9a55dd6a.entry.js → p-2fbc48a7.entry.js} +2 -2
  22. package/dist/calcite/{p-15592f63.js → p-3136fc1f.js} +1 -1
  23. package/dist/calcite/p-3acce89b.entry.js +6 -0
  24. package/dist/calcite/{p-4ee8d8b4.js → p-3eff87a8.js} +2 -2
  25. package/dist/calcite/p-3f36ca3d.entry.js +6 -0
  26. package/dist/calcite/{p-6632dc47.entry.js → p-3f4b34b1.entry.js} +2 -2
  27. package/dist/calcite/p-451f5057.entry.js +6 -0
  28. package/dist/calcite/p-47d4229f.entry.js +6 -0
  29. package/dist/calcite/{p-b574f974.js → p-47f8d67f.js} +2 -2
  30. package/dist/calcite/p-4bc707d0.entry.js +6 -0
  31. package/dist/calcite/p-4c790485.entry.js +6 -0
  32. package/dist/calcite/p-4ff63557.entry.js +6 -0
  33. package/dist/calcite/p-50bbeef9.entry.js +6 -0
  34. package/dist/calcite/{p-853ebedc.entry.js → p-58be31f8.entry.js} +2 -2
  35. package/dist/calcite/{p-a1ef8c0c.entry.js → p-5d4df8ff.entry.js} +2 -2
  36. package/dist/calcite/p-5e81ca24.js +6 -0
  37. package/dist/calcite/{p-07e367a3.js → p-5f2b55ab.js} +1 -1
  38. package/dist/calcite/{p-23c9dae7.entry.js → p-5ffb8e5f.entry.js} +2 -2
  39. package/dist/calcite/{p-ee7b824c.js → p-60dc0988.js} +1 -1
  40. package/dist/calcite/{p-7cb5d8cd.js → p-6161a934.js} +3 -3
  41. package/dist/calcite/p-632590f8.entry.js +6 -0
  42. package/dist/calcite/{p-cb157f06.entry.js → p-65c5833e.entry.js} +2 -2
  43. package/dist/calcite/{p-178aa3ea.entry.js → p-66cfd03d.entry.js} +2 -2
  44. package/dist/calcite/{p-c5ae5f80.js → p-6823cad0.js} +1 -1
  45. package/dist/calcite/{p-c2dc7ce2.js → p-68be4bcd.js} +1 -1
  46. package/dist/calcite/{p-e721d73c.js → p-6bb0bffc.js} +1 -1
  47. package/dist/calcite/{p-68a90e8f.entry.js → p-6fd38e0e.entry.js} +2 -2
  48. package/dist/calcite/{p-95b0f977.js → p-745921f3.js} +2 -2
  49. package/dist/calcite/{p-cf68ced3.entry.js → p-7463c23a.entry.js} +2 -2
  50. package/dist/calcite/p-75dfd6a4.entry.js +6 -0
  51. package/dist/calcite/p-793147bb.entry.js +6 -0
  52. package/dist/calcite/p-795e4080.entry.js +6 -0
  53. package/dist/calcite/{p-eb87f14a.js → p-7b9e67cc.js} +2 -2
  54. package/dist/calcite/p-7c8e2a10.entry.js +6 -0
  55. package/dist/calcite/{p-2fbd6b86.entry.js → p-8a7e9320.entry.js} +2 -2
  56. package/dist/calcite/p-8cb7eccf.entry.js +6 -0
  57. package/dist/calcite/{p-aec30122.js → p-8db81f9f.js} +1 -1
  58. package/dist/calcite/p-8e3c8e5a.entry.js +6 -0
  59. package/dist/calcite/{p-e0a1da24.js → p-8eefc089.js} +2 -2
  60. package/dist/calcite/{p-583da49f.js → p-8f14fda2.js} +2 -2
  61. package/dist/calcite/{p-7b427f93.js → p-9409bde8.js} +1 -1
  62. package/dist/calcite/{p-26dd4af1.js → p-94ce16ab.js} +1 -1
  63. package/dist/calcite/{p-7e596ca3.entry.js → p-95a562e0.entry.js} +2 -2
  64. package/dist/calcite/{p-835292d5.entry.js → p-9ba7e676.entry.js} +2 -2
  65. package/dist/calcite/p-9e53082b.js +6 -0
  66. package/dist/calcite/{p-b7083db2.js → p-9f5f4ab2.js} +2 -2
  67. package/dist/calcite/p-a3157940.entry.js +6 -0
  68. package/dist/calcite/p-a3f12758.js +6 -0
  69. package/dist/calcite/{p-7ddeec2c.js → p-afb2fdf1.js} +2 -2
  70. package/dist/calcite/p-b03930b3.entry.js +6 -0
  71. package/dist/calcite/p-b10830b0.entry.js +6 -0
  72. package/dist/calcite/p-b180c538.entry.js +6 -0
  73. package/dist/calcite/p-b5a11e4a.entry.js +6 -0
  74. package/dist/calcite/{p-8740a765.entry.js → p-b8a68914.entry.js} +2 -2
  75. package/dist/calcite/p-bb4d9a4e.js +6 -0
  76. package/dist/calcite/p-bbb2badd.entry.js +6 -0
  77. package/dist/calcite/p-be12fd8c.entry.js +6 -0
  78. package/dist/calcite/{p-c549a324.js → p-c094a79d.js} +1 -1
  79. package/dist/calcite/{p-ad140977.entry.js → p-c24601c7.entry.js} +2 -2
  80. package/dist/calcite/{p-5e6436cd.entry.js → p-c3c0e580.entry.js} +2 -2
  81. package/dist/calcite/{p-d124ffd0.entry.js → p-c6554d17.entry.js} +2 -2
  82. package/dist/calcite/p-c95ba620.entry.js +6 -0
  83. package/dist/calcite/p-cba6f41a.entry.js +6 -0
  84. package/dist/calcite/{p-0c7302a1.entry.js → p-cc76d957.entry.js} +2 -2
  85. package/dist/calcite/{p-27b4e9e3.js → p-d2cb0a49.js} +2 -2
  86. package/dist/calcite/{p-3880f39a.entry.js → p-e43ee50d.entry.js} +2 -2
  87. package/dist/calcite/{p-ef7862c1.js → p-e43eea78.js} +2 -2
  88. package/dist/calcite/{p-fd3c99b2.js → p-e470e268.js} +1 -1
  89. package/dist/calcite/p-ed3fabc6.entry.js +6 -0
  90. package/dist/calcite/{p-14775cb1.entry.js → p-eda19e2d.entry.js} +2 -2
  91. package/dist/calcite/{p-a3124e52.entry.js → p-f5a32f13.entry.js} +2 -2
  92. package/dist/calcite/p-f8041a25.entry.js +6 -0
  93. package/dist/calcite/p-f896c628.entry.js +6 -0
  94. package/dist/calcite/{p-4a22b997.entry.js → p-ffe4411c.entry.js} +2 -2
  95. package/dist/cjs/{ExpandToggle-63585b3e.js → ExpandToggle-3e2f41d6.js} +5 -5
  96. package/dist/cjs/{Heading-aa8aa75b.js → Heading-dbb05479.js} +2 -2
  97. package/dist/cjs/{app-globals-cabce908.js → app-globals-a392d200.js} +2 -2
  98. package/dist/cjs/{array-785f2d9c.js → array-b31be074.js} +1 -1
  99. package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
  100. package/dist/cjs/calcite-action-bar.cjs.entry.js +13 -13
  101. package/dist/cjs/calcite-action-group.cjs.entry.js +10 -10
  102. package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
  103. package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -12
  104. package/dist/cjs/calcite-action.cjs.entry.js +9 -9
  105. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  106. package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
  107. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  108. package/dist/cjs/calcite-button.cjs.entry.js +11 -11
  109. package/dist/cjs/calcite-card.cjs.entry.js +8 -8
  110. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  111. package/dist/cjs/calcite-chip.cjs.entry.js +9 -9
  112. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -14
  113. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  114. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
  115. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -15
  116. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  117. package/dist/cjs/calcite-filter.cjs.entry.js +10 -10
  118. package/dist/cjs/calcite-flow-item.cjs.entry.js +9 -9
  119. package/dist/cjs/calcite-flow.cjs.entry.js +5 -5
  120. package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
  121. package/dist/cjs/calcite-handle.cjs.entry.js +7 -7
  122. package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
  123. package/dist/cjs/calcite-inline-editable.cjs.entry.js +10 -10
  124. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +17 -17
  125. package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
  126. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  127. package/dist/cjs/calcite-input-text.cjs.entry.js +11 -11
  128. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +14 -14
  129. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  130. package/dist/cjs/calcite-label.cjs.entry.js +7 -7
  131. package/dist/cjs/calcite-link.cjs.entry.js +8 -8
  132. package/dist/cjs/calcite-list_3.cjs.entry.js +48 -22
  133. package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
  134. package/dist/cjs/calcite-modal.cjs.entry.js +13 -14
  135. package/dist/cjs/calcite-notice.cjs.entry.js +10 -10
  136. package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
  137. package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
  138. package/dist/cjs/calcite-panel.cjs.entry.js +12 -12
  139. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  140. package/dist/cjs/calcite-popover.cjs.entry.js +13 -13
  141. package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
  142. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  143. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
  144. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +11 -11
  145. package/dist/cjs/calcite-rating.cjs.entry.js +11 -11
  146. package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
  147. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  148. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  149. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  150. package/dist/cjs/calcite-stepper_2.cjs.entry.js +15 -30
  151. package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
  152. package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
  153. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
  154. package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
  155. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  156. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  157. package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
  158. package/dist/cjs/calcite-value-list_2.cjs.entry.js +15 -15
  159. package/dist/cjs/calcite.cjs.js +5 -5
  160. package/dist/cjs/{conditionalSlot-d41b9ec2.js → conditionalSlot-3dec3e3f.js} +3 -3
  161. package/dist/cjs/{debounce-f2608f48.js → debounce-82fbae40.js} +1 -1
  162. package/dist/cjs/{dom-ce0e2397.js → dom-b8109d1c.js} +3 -3
  163. package/dist/cjs/{filter-58d171c8.js → filter-2c5ffcb5.js} +2 -2
  164. package/dist/cjs/{floating-ui-ef269e1e.js → floating-ui-286e7597.js} +4 -4
  165. package/dist/cjs/{focusTrapComponent-0a507bfe.js → focusTrapComponent-4735f2d8.js} +2 -2
  166. package/dist/cjs/{form-be4d63ed.js → form-f8a1060d.js} +3 -3
  167. package/dist/cjs/{guid-28d966c8.js → guid-c9f233a2.js} +1 -1
  168. package/dist/cjs/{index-62f77340.js → index-811ad178.js} +3 -1
  169. package/dist/cjs/index.cjs.js +1 -1
  170. package/dist/cjs/{interactive-37787a31.js → interactive-4afa2b8f.js} +1 -1
  171. package/dist/cjs/{interfaces-f0ad0aaa.js → interfaces-79ab161b.js} +1 -1
  172. package/dist/cjs/{key-f470f132.js → key-7e3d048e.js} +1 -1
  173. package/dist/cjs/{label-eebd0bde.js → label-b95def01.js} +2 -2
  174. package/dist/cjs/{loadable-2603455b.js → loadable-ec8417d4.js} +1 -1
  175. package/dist/cjs/loader.cjs.js +5 -5
  176. package/dist/cjs/{locale-426e466c.js → locale-d984f635.js} +4 -4
  177. package/dist/cjs/{math-94f7366f.js → math-96f3833b.js} +1 -1
  178. package/dist/cjs/{nonChromiumPlatformUtils-0fe26701.js → nonChromiumPlatformUtils-e4a884fd.js} +6 -6
  179. package/dist/cjs/{observers-65449843.js → observers-6838f598.js} +1 -1
  180. package/dist/cjs/{openCloseComponent-e6f2c3c8.js → openCloseComponent-1afc69e4.js} +31 -1
  181. package/dist/cjs/{resources-c96f61da.js → resources-37db2a66.js} +1 -1
  182. package/dist/cjs/{resources-43acf32b.js → resources-63711310.js} +1 -1
  183. package/dist/cjs/{resources-0e03b462.js → resources-9ebcce44.js} +1 -1
  184. package/dist/cjs/{resources-e3ea006b.js → resources-c7623df3.js} +3 -3
  185. package/dist/cjs/{resources-6f481ae3.js → resources-eddd401e.js} +1 -1
  186. package/dist/cjs/{resources-9f013055.js → resources-f69bcbbc.js} +5 -5
  187. package/dist/cjs/{sortable.esm-67168c0f.js → sortable.esm-aeaed176.js} +1 -1
  188. package/dist/cjs/{utils-cd6fe1eb.js → utils-c55ec029.js} +1 -1
  189. package/dist/collection/components/accordion/accordion.css +1 -0
  190. package/dist/collection/components/accordion/accordion.js +1 -1
  191. package/dist/collection/components/accordion-item/accordion-item.css +1 -0
  192. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  193. package/dist/collection/components/accordion-item/resources.js +1 -1
  194. package/dist/collection/components/action/action.css +1 -0
  195. package/dist/collection/components/action/action.js +1 -1
  196. package/dist/collection/components/action/resources.js +1 -1
  197. package/dist/collection/components/action-bar/action-bar.css +1 -0
  198. package/dist/collection/components/action-bar/action-bar.js +1 -1
  199. package/dist/collection/components/action-bar/resources.js +1 -1
  200. package/dist/collection/components/action-bar/utils.js +1 -1
  201. package/dist/collection/components/action-group/action-group.css +1 -0
  202. package/dist/collection/components/action-group/action-group.js +1 -1
  203. package/dist/collection/components/action-group/resources.js +1 -1
  204. package/dist/collection/components/action-menu/action-menu.css +1 -0
  205. package/dist/collection/components/action-menu/action-menu.js +1 -1
  206. package/dist/collection/components/action-menu/resources.js +1 -1
  207. package/dist/collection/components/action-pad/action-pad.css +1 -0
  208. package/dist/collection/components/action-pad/action-pad.js +1 -1
  209. package/dist/collection/components/action-pad/resources.js +1 -1
  210. package/dist/collection/components/alert/alert.css +1 -0
  211. package/dist/collection/components/alert/alert.js +1 -1
  212. package/dist/collection/components/alert/interfaces.js +1 -1
  213. package/dist/collection/components/alert/resources.js +1 -1
  214. package/dist/collection/components/avatar/avatar.css +1 -0
  215. package/dist/collection/components/avatar/avatar.js +1 -1
  216. package/dist/collection/components/avatar/utils.js +1 -1
  217. package/dist/collection/components/block/block.css +1 -0
  218. package/dist/collection/components/block/block.js +1 -1
  219. package/dist/collection/components/block/resources.js +1 -1
  220. package/dist/collection/components/block-section/block-section.css +1 -0
  221. package/dist/collection/components/block-section/block-section.js +1 -1
  222. package/dist/collection/components/block-section/resources.js +1 -1
  223. package/dist/collection/components/button/button.css +1 -0
  224. package/dist/collection/components/button/button.js +1 -1
  225. package/dist/collection/components/button/resources.js +1 -1
  226. package/dist/collection/components/card/card.css +1 -0
  227. package/dist/collection/components/card/card.js +1 -1
  228. package/dist/collection/components/card/resources.js +1 -1
  229. package/dist/collection/components/checkbox/checkbox.css +1 -0
  230. package/dist/collection/components/checkbox/checkbox.js +1 -1
  231. package/dist/collection/components/chip/chip.css +1 -0
  232. package/dist/collection/components/chip/chip.js +1 -1
  233. package/dist/collection/components/chip/resources.js +1 -1
  234. package/dist/collection/components/color-picker/color-picker.css +1 -0
  235. package/dist/collection/components/color-picker/color-picker.js +1 -1
  236. package/dist/collection/components/color-picker/resources.js +1 -1
  237. package/dist/collection/components/color-picker/utils.js +1 -1
  238. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +1 -0
  239. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  240. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  241. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +1 -0
  242. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  243. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  244. package/dist/collection/components/combobox/combobox.css +3 -1
  245. package/dist/collection/components/combobox/combobox.js +1 -1
  246. package/dist/collection/components/combobox/resources.js +1 -1
  247. package/dist/collection/components/combobox/utils.js +1 -1
  248. package/dist/collection/components/combobox-item/combobox-item.css +1 -0
  249. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  250. package/dist/collection/components/combobox-item/resources.js +1 -1
  251. package/dist/collection/components/combobox-item-group/combobox-item-group.css +1 -0
  252. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  253. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  254. package/dist/collection/components/date-picker/date-picker.css +1 -0
  255. package/dist/collection/components/date-picker/date-picker.js +1 -1
  256. package/dist/collection/components/date-picker/resources.js +1 -1
  257. package/dist/collection/components/date-picker/utils.js +1 -1
  258. package/dist/collection/components/date-picker-day/date-picker-day.css +1 -0
  259. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  260. package/dist/collection/components/date-picker-month/date-picker-month.css +1 -0
  261. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  262. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -0
  263. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  264. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  265. package/dist/collection/components/dropdown/dropdown.css +3 -1
  266. package/dist/collection/components/dropdown/dropdown.js +1 -1
  267. package/dist/collection/components/dropdown/resources.js +1 -1
  268. package/dist/collection/components/dropdown-group/dropdown-group.css +1 -0
  269. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  270. package/dist/collection/components/dropdown-group/resources.js +1 -1
  271. package/dist/collection/components/dropdown-item/dropdown-item.css +1 -0
  272. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  273. package/dist/collection/components/dropdown-item/resources.js +1 -1
  274. package/dist/collection/components/fab/fab.css +1 -0
  275. package/dist/collection/components/fab/fab.js +1 -1
  276. package/dist/collection/components/fab/resources.js +1 -1
  277. package/dist/collection/components/filter/filter.css +1 -0
  278. package/dist/collection/components/filter/filter.js +1 -1
  279. package/dist/collection/components/filter/resources.js +1 -1
  280. package/dist/collection/components/flow/flow.css +1 -0
  281. package/dist/collection/components/flow/flow.js +2 -2
  282. package/dist/collection/components/flow/resources.js +1 -1
  283. package/dist/collection/components/flow-item/flow-item.css +1 -0
  284. package/dist/collection/components/flow-item/flow-item.js +1 -1
  285. package/dist/collection/components/flow-item/resources.js +1 -1
  286. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  287. package/dist/collection/components/functional/Heading.js +1 -1
  288. package/dist/collection/components/graph/graph.css +1 -0
  289. package/dist/collection/components/graph/graph.js +1 -1
  290. package/dist/collection/components/graph/util.js +1 -1
  291. package/dist/collection/components/handle/handle.css +1 -0
  292. package/dist/collection/components/handle/handle.js +1 -1
  293. package/dist/collection/components/handle/resources.js +1 -1
  294. package/dist/collection/components/icon/icon.css +1 -0
  295. package/dist/collection/components/icon/icon.js +1 -1
  296. package/dist/collection/components/icon/resources.js +1 -1
  297. package/dist/collection/components/icon/utils.js +1 -1
  298. package/dist/collection/components/inline-editable/inline-editable.css +1 -0
  299. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  300. package/dist/collection/components/inline-editable/resources.js +1 -1
  301. package/dist/collection/components/input/input.css +1 -0
  302. package/dist/collection/components/input/input.js +1 -1
  303. package/dist/collection/components/input/resources.js +1 -1
  304. package/dist/collection/components/input-date-picker/input-date-picker.css +3 -1
  305. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  306. package/dist/collection/components/input-date-picker/resources.js +1 -1
  307. package/dist/collection/components/input-message/input-message.css +1 -0
  308. package/dist/collection/components/input-message/input-message.js +1 -1
  309. package/dist/collection/components/input-message/interfaces.js +1 -1
  310. package/dist/collection/components/input-number/input-number.css +1 -0
  311. package/dist/collection/components/input-number/input-number.js +1 -1
  312. package/dist/collection/components/input-number/resources.js +1 -1
  313. package/dist/collection/components/input-text/input-text.css +1 -0
  314. package/dist/collection/components/input-text/input-text.js +1 -1
  315. package/dist/collection/components/input-text/resources.js +1 -1
  316. package/dist/collection/components/input-time-picker/input-time-picker.css +1 -0
  317. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  318. package/dist/collection/components/label/label.css +1 -0
  319. package/dist/collection/components/label/label.js +1 -1
  320. package/dist/collection/components/label/resources.js +1 -1
  321. package/dist/collection/components/link/link.css +1 -0
  322. package/dist/collection/components/link/link.js +1 -1
  323. package/dist/collection/components/list/list.css +1 -0
  324. package/dist/collection/components/list/list.js +14 -2
  325. package/dist/collection/components/list/resources.js +1 -1
  326. package/dist/collection/components/list-item/list-item.css +3 -1
  327. package/dist/collection/components/list-item/list-item.js +47 -10
  328. package/dist/collection/components/list-item/resources.js +3 -1
  329. package/dist/collection/components/list-item/utils.js +1 -1
  330. package/dist/collection/components/list-item-group/list-item-group.css +1 -0
  331. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  332. package/dist/collection/components/list-item-group/resources.js +1 -1
  333. package/dist/collection/components/loader/loader.css +1 -0
  334. package/dist/collection/components/loader/loader.js +1 -1
  335. package/dist/collection/components/modal/modal.css +1 -0
  336. package/dist/collection/components/modal/modal.js +4 -5
  337. package/dist/collection/components/modal/resources.js +7 -1
  338. package/dist/collection/components/notice/notice.css +1 -0
  339. package/dist/collection/components/notice/notice.js +1 -1
  340. package/dist/collection/components/notice/resources.js +1 -1
  341. package/dist/collection/components/option/option.css +1 -0
  342. package/dist/collection/components/option/option.js +1 -1
  343. package/dist/collection/components/option-group/option-group.css +1 -0
  344. package/dist/collection/components/option-group/option-group.js +1 -1
  345. package/dist/collection/components/pagination/pagination.css +1 -0
  346. package/dist/collection/components/pagination/pagination.js +1 -1
  347. package/dist/collection/components/pagination/resources.js +1 -1
  348. package/dist/collection/components/panel/panel.css +1 -0
  349. package/dist/collection/components/panel/panel.js +1 -1
  350. package/dist/collection/components/panel/resources.js +1 -1
  351. package/dist/collection/components/pick-list/pick-list.css +1 -0
  352. package/dist/collection/components/pick-list/pick-list.js +1 -1
  353. package/dist/collection/components/pick-list/resources.js +1 -1
  354. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  355. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  356. package/dist/collection/components/pick-list-group/pick-list-group.css +1 -0
  357. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  358. package/dist/collection/components/pick-list-group/resources.js +1 -1
  359. package/dist/collection/components/pick-list-item/pick-list-item.css +1 -0
  360. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  361. package/dist/collection/components/pick-list-item/resources.js +1 -1
  362. package/dist/collection/components/popover/PopoverManager.js +1 -1
  363. package/dist/collection/components/popover/popover.css +10 -1
  364. package/dist/collection/components/popover/popover.js +1 -1
  365. package/dist/collection/components/popover/resources.js +1 -1
  366. package/dist/collection/components/progress/progress.css +1 -0
  367. package/dist/collection/components/progress/progress.js +1 -1
  368. package/dist/collection/components/radio-button/radio-button.css +1 -0
  369. package/dist/collection/components/radio-button/radio-button.js +1 -1
  370. package/dist/collection/components/radio-button/resources.js +1 -1
  371. package/dist/collection/components/radio-button-group/radio-button-group.css +1 -0
  372. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  373. package/dist/collection/components/radio-group/radio-group.css +1 -0
  374. package/dist/collection/components/radio-group/radio-group.js +1 -1
  375. package/dist/collection/components/radio-group-item/radio-group-item.css +1 -0
  376. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  377. package/dist/collection/components/radio-group-item/resources.js +1 -1
  378. package/dist/collection/components/rating/rating.css +1 -0
  379. package/dist/collection/components/rating/rating.js +1 -1
  380. package/dist/collection/components/rating/resources.js +1 -1
  381. package/dist/collection/components/scrim/resources.js +1 -1
  382. package/dist/collection/components/scrim/scrim.css +1 -0
  383. package/dist/collection/components/scrim/scrim.js +1 -1
  384. package/dist/collection/components/select/resources.js +1 -1
  385. package/dist/collection/components/select/select.css +1 -0
  386. package/dist/collection/components/select/select.js +1 -1
  387. package/dist/collection/components/shell/resources.js +1 -1
  388. package/dist/collection/components/shell/shell.css +1 -0
  389. package/dist/collection/components/shell/shell.js +1 -1
  390. package/dist/collection/components/shell-center-row/resources.js +1 -1
  391. package/dist/collection/components/shell-center-row/shell-center-row.css +1 -0
  392. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  393. package/dist/collection/components/shell-panel/resources.js +1 -1
  394. package/dist/collection/components/shell-panel/shell-panel.css +1 -0
  395. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  396. package/dist/collection/components/slider/resources.js +1 -1
  397. package/dist/collection/components/slider/slider.css +1 -0
  398. package/dist/collection/components/slider/slider.js +1 -1
  399. package/dist/collection/components/sortable-list/resources.js +1 -1
  400. package/dist/collection/components/sortable-list/sortable-list.css +1 -0
  401. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  402. package/dist/collection/components/split-button/resources.js +1 -1
  403. package/dist/collection/components/split-button/split-button.css +1 -0
  404. package/dist/collection/components/split-button/split-button.js +1 -1
  405. package/dist/collection/components/stepper/stepper.css +1 -0
  406. package/dist/collection/components/stepper/stepper.js +1 -1
  407. package/dist/collection/components/stepper-item/stepper-item.css +1 -0
  408. package/dist/collection/components/stepper-item/stepper-item.js +4 -82
  409. package/dist/collection/components/switch/switch.css +1 -0
  410. package/dist/collection/components/switch/switch.js +1 -1
  411. package/dist/collection/components/tab/tab.css +1 -0
  412. package/dist/collection/components/tab/tab.js +1 -1
  413. package/dist/collection/components/tab-nav/tab-nav.css +1 -0
  414. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  415. package/dist/collection/components/tab-title/tab-title.css +1 -0
  416. package/dist/collection/components/tab-title/tab-title.js +1 -1
  417. package/dist/collection/components/tabs/resources.js +1 -1
  418. package/dist/collection/components/tabs/tabs.css +1 -0
  419. package/dist/collection/components/tabs/tabs.js +1 -1
  420. package/dist/collection/components/tile/resources.js +1 -1
  421. package/dist/collection/components/tile/tile.css +1 -0
  422. package/dist/collection/components/tile/tile.js +1 -1
  423. package/dist/collection/components/tile-select/resources.js +1 -1
  424. package/dist/collection/components/tile-select/tile-select.css +1 -0
  425. package/dist/collection/components/tile-select/tile-select.js +1 -1
  426. package/dist/collection/components/tile-select-group/tile-select-group.css +1 -0
  427. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  428. package/dist/collection/components/time-picker/resources.js +1 -1
  429. package/dist/collection/components/time-picker/time-picker.css +1 -0
  430. package/dist/collection/components/time-picker/time-picker.js +1 -1
  431. package/dist/collection/components/tip/resources.js +1 -1
  432. package/dist/collection/components/tip/tip.css +1 -0
  433. package/dist/collection/components/tip/tip.js +1 -1
  434. package/dist/collection/components/tip-group/tip-group.css +1 -0
  435. package/dist/collection/components/tip-group/tip-group.js +1 -1
  436. package/dist/collection/components/tip-manager/resources.js +1 -1
  437. package/dist/collection/components/tip-manager/tip-manager.css +1 -0
  438. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  439. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  440. package/dist/collection/components/tooltip/resources.js +1 -1
  441. package/dist/collection/components/tooltip/tooltip.css +10 -1
  442. package/dist/collection/components/tooltip/tooltip.js +1 -1
  443. package/dist/collection/components/tree/tree.css +1 -0
  444. package/dist/collection/components/tree/tree.js +1 -1
  445. package/dist/collection/components/tree/utils.js +1 -1
  446. package/dist/collection/components/tree-item/resources.js +1 -1
  447. package/dist/collection/components/tree-item/tree-item.css +1 -0
  448. package/dist/collection/components/tree-item/tree-item.js +1 -1
  449. package/dist/collection/components/value-list/resources.js +1 -1
  450. package/dist/collection/components/value-list/utils.js +1 -1
  451. package/dist/collection/components/value-list/value-list.css +1 -0
  452. package/dist/collection/components/value-list/value-list.js +1 -1
  453. package/dist/collection/components/value-list-item/resources.js +1 -1
  454. package/dist/collection/components/value-list-item/value-list-item.css +1 -0
  455. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  456. package/dist/collection/utils/array.js +1 -1
  457. package/dist/collection/utils/conditionalSlot.js +1 -1
  458. package/dist/collection/utils/config.js +1 -1
  459. package/dist/collection/utils/date.js +1 -1
  460. package/dist/collection/utils/dom.js +1 -1
  461. package/dist/collection/utils/filter.js +1 -1
  462. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
  463. package/dist/collection/utils/floating-ui.js +1 -1
  464. package/dist/collection/utils/focusTrapComponent.js +1 -1
  465. package/dist/collection/utils/form.js +1 -1
  466. package/dist/collection/utils/globalAttributes.js +1 -1
  467. package/dist/collection/utils/globalScript.js +1 -1
  468. package/dist/collection/utils/guid.js +1 -1
  469. package/dist/collection/utils/interactive.js +1 -1
  470. package/dist/collection/utils/key.js +1 -1
  471. package/dist/collection/utils/label.js +1 -1
  472. package/dist/collection/utils/loadable.js +1 -1
  473. package/dist/collection/utils/locale.js +1 -1
  474. package/dist/collection/utils/math.js +1 -1
  475. package/dist/collection/utils/number.js +1 -1
  476. package/dist/collection/utils/observers.js +1 -1
  477. package/dist/collection/utils/openCloseComponent.js +29 -1
  478. package/dist/collection/utils/resources.js +1 -1
  479. package/dist/collection/utils/t9n.js +1 -1
  480. package/dist/collection/utils/theme.js +1 -1
  481. package/dist/collection/utils/time.js +1 -1
  482. package/dist/components/ExpandToggle.js +1 -1
  483. package/dist/components/Heading.js +1 -1
  484. package/dist/components/action-group.js +2 -2
  485. package/dist/components/action-menu.js +2 -2
  486. package/dist/components/action.js +2 -2
  487. package/dist/components/array.js +1 -1
  488. package/dist/components/button.js +2 -2
  489. package/dist/components/calcite-accordion-item.js +2 -2
  490. package/dist/components/calcite-accordion.js +2 -2
  491. package/dist/components/calcite-action-bar.js +2 -2
  492. package/dist/components/calcite-action-group.js +1 -1
  493. package/dist/components/calcite-action-menu.js +1 -1
  494. package/dist/components/calcite-action-pad.js +2 -2
  495. package/dist/components/calcite-action.js +1 -1
  496. package/dist/components/calcite-alert.js +2 -2
  497. package/dist/components/calcite-avatar.js +2 -2
  498. package/dist/components/calcite-block-section.js +2 -2
  499. package/dist/components/calcite-block.js +2 -2
  500. package/dist/components/calcite-button.js +1 -1
  501. package/dist/components/calcite-card.js +2 -2
  502. package/dist/components/calcite-checkbox.js +1 -1
  503. package/dist/components/calcite-chip.js +1 -1
  504. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  505. package/dist/components/calcite-color-picker-swatch.js +1 -1
  506. package/dist/components/calcite-color-picker.js +2 -2
  507. package/dist/components/calcite-combobox-item-group.js +2 -2
  508. package/dist/components/calcite-combobox-item.js +2 -2
  509. package/dist/components/calcite-combobox.js +2 -2
  510. package/dist/components/calcite-date-picker-day.js +1 -1
  511. package/dist/components/calcite-date-picker-month-header.js +1 -1
  512. package/dist/components/calcite-date-picker-month.js +1 -1
  513. package/dist/components/calcite-date-picker.js +1 -1
  514. package/dist/components/calcite-dropdown-group.js +2 -2
  515. package/dist/components/calcite-dropdown-item.js +2 -2
  516. package/dist/components/calcite-dropdown.js +1 -1
  517. package/dist/components/calcite-fab.js +2 -2
  518. package/dist/components/calcite-filter.js +1 -1
  519. package/dist/components/calcite-flow-item.js +2 -2
  520. package/dist/components/calcite-flow.js +3 -3
  521. package/dist/components/calcite-graph.js +1 -1
  522. package/dist/components/calcite-handle.js +1 -1
  523. package/dist/components/calcite-icon.js +1 -1
  524. package/dist/components/calcite-inline-editable.js +2 -2
  525. package/dist/components/calcite-input-date-picker.js +2 -2
  526. package/dist/components/calcite-input-message.js +2 -2
  527. package/dist/components/calcite-input-number.js +2 -2
  528. package/dist/components/calcite-input-text.js +2 -2
  529. package/dist/components/calcite-input-time-picker.js +2 -2
  530. package/dist/components/calcite-input.js +1 -1
  531. package/dist/components/calcite-label.js +1 -1
  532. package/dist/components/calcite-link.js +1 -1
  533. package/dist/components/calcite-list-item-group.js +2 -2
  534. package/dist/components/calcite-list-item.js +30 -11
  535. package/dist/components/calcite-list.js +10 -4
  536. package/dist/components/calcite-loader.js +1 -1
  537. package/dist/components/calcite-modal.js +5 -6
  538. package/dist/components/calcite-notice.js +2 -2
  539. package/dist/components/calcite-option-group.js +2 -2
  540. package/dist/components/calcite-option.js +2 -2
  541. package/dist/components/calcite-pagination.js +2 -2
  542. package/dist/components/calcite-panel.js +1 -1
  543. package/dist/components/calcite-pick-list-group.js +2 -2
  544. package/dist/components/calcite-pick-list-item.js +1 -1
  545. package/dist/components/calcite-pick-list.js +2 -2
  546. package/dist/components/calcite-popover.js +1 -1
  547. package/dist/components/calcite-progress.js +1 -1
  548. package/dist/components/calcite-radio-button-group.js +2 -2
  549. package/dist/components/calcite-radio-button.js +2 -2
  550. package/dist/components/calcite-radio-group-item.js +2 -2
  551. package/dist/components/calcite-radio-group.js +2 -2
  552. package/dist/components/calcite-rating.js +2 -2
  553. package/dist/components/calcite-scrim.js +1 -1
  554. package/dist/components/calcite-select.js +2 -2
  555. package/dist/components/calcite-shell-center-row.js +2 -2
  556. package/dist/components/calcite-shell-panel.js +2 -2
  557. package/dist/components/calcite-shell.js +2 -2
  558. package/dist/components/calcite-slider.js +2 -2
  559. package/dist/components/calcite-sortable-list.js +2 -2
  560. package/dist/components/calcite-split-button.js +2 -2
  561. package/dist/components/calcite-stepper-item.js +5 -23
  562. package/dist/components/calcite-stepper.js +2 -2
  563. package/dist/components/calcite-switch.js +1 -1
  564. package/dist/components/calcite-tab-nav.js +1 -1
  565. package/dist/components/calcite-tab-title.js +1 -1
  566. package/dist/components/calcite-tab.js +1 -1
  567. package/dist/components/calcite-tabs.js +1 -1
  568. package/dist/components/calcite-tile-select-group.js +2 -2
  569. package/dist/components/calcite-tile-select.js +2 -2
  570. package/dist/components/calcite-tile.js +1 -1
  571. package/dist/components/calcite-time-picker.js +1 -1
  572. package/dist/components/calcite-tip-group.js +2 -2
  573. package/dist/components/calcite-tip-manager.js +2 -2
  574. package/dist/components/calcite-tip.js +2 -2
  575. package/dist/components/calcite-tooltip.js +1 -1
  576. package/dist/components/calcite-tree-item.js +2 -2
  577. package/dist/components/calcite-tree.js +2 -2
  578. package/dist/components/calcite-value-list-item.js +2 -2
  579. package/dist/components/calcite-value-list.js +2 -2
  580. package/dist/components/checkbox.js +2 -2
  581. package/dist/components/chip.js +2 -2
  582. package/dist/components/color-picker-hex-input.js +2 -2
  583. package/dist/components/color-picker-swatch.js +2 -2
  584. package/dist/components/conditionalSlot.js +1 -1
  585. package/dist/components/date-picker-day.js +2 -2
  586. package/dist/components/date-picker-month-header.js +2 -2
  587. package/dist/components/date-picker-month.js +2 -2
  588. package/dist/components/date-picker.js +2 -2
  589. package/dist/components/date.js +1 -1
  590. package/dist/components/debounce.js +1 -1
  591. package/dist/components/dom.js +1 -1
  592. package/dist/components/dropdown.js +2 -2
  593. package/dist/components/filter.js +2 -2
  594. package/dist/components/filter2.js +1 -1
  595. package/dist/components/floating-ui.js +1 -1
  596. package/dist/components/focusTrapComponent.js +1 -1
  597. package/dist/components/form.js +1 -1
  598. package/dist/components/graph.js +2 -2
  599. package/dist/components/guid.js +1 -1
  600. package/dist/components/handle.js +2 -2
  601. package/dist/components/icon.js +2 -2
  602. package/dist/components/index.js +1 -1
  603. package/dist/components/input.js +2 -2
  604. package/dist/components/interactive.js +1 -1
  605. package/dist/components/interfaces.js +1 -1
  606. package/dist/components/key.js +1 -1
  607. package/dist/components/label.js +2 -2
  608. package/dist/components/label2.js +1 -1
  609. package/dist/components/link.js +2 -2
  610. package/dist/components/loadable.js +1 -1
  611. package/dist/components/loader.js +2 -2
  612. package/dist/components/locale.js +1 -1
  613. package/dist/components/math.js +1 -1
  614. package/dist/components/nonChromiumPlatformUtils.js +1 -1
  615. package/dist/components/observers.js +1 -1
  616. package/dist/components/openCloseComponent.js +31 -2
  617. package/dist/components/panel.js +2 -2
  618. package/dist/components/pick-list-item.js +2 -2
  619. package/dist/components/popover.js +2 -2
  620. package/dist/components/progress.js +2 -2
  621. package/dist/components/resources.js +3 -1
  622. package/dist/components/resources2.js +1 -1
  623. package/dist/components/resources3.js +1 -1
  624. package/dist/components/scrim.js +2 -2
  625. package/dist/components/shared-list-render.js +1 -1
  626. package/dist/components/sortable.esm.js +1 -1
  627. package/dist/components/switch.js +2 -2
  628. package/dist/components/tab-nav.js +2 -2
  629. package/dist/components/tab-title.js +2 -2
  630. package/dist/components/tab.js +2 -2
  631. package/dist/components/tabs.js +2 -2
  632. package/dist/components/tile.js +2 -2
  633. package/dist/components/time-picker.js +2 -2
  634. package/dist/components/tooltip.js +2 -2
  635. package/dist/components/utils.js +1 -1
  636. package/dist/components/utils2.js +1 -1
  637. package/dist/esm/{ExpandToggle-b8a2e8eb.js → ExpandToggle-ceca91fc.js} +5 -5
  638. package/dist/esm/{Heading-48c33f5f.js → Heading-29326685.js} +2 -2
  639. package/dist/esm/{app-globals-a5fc93ec.js → app-globals-d9b9abc3.js} +2 -2
  640. package/dist/esm/{array-d8ae8b7f.js → array-8a23f88b.js} +1 -1
  641. package/dist/esm/calcite-accordion_2.entry.js +9 -9
  642. package/dist/esm/calcite-action-bar.entry.js +13 -13
  643. package/dist/esm/calcite-action-group.entry.js +10 -10
  644. package/dist/esm/calcite-action-menu.entry.js +10 -10
  645. package/dist/esm/calcite-action-pad.entry.js +12 -12
  646. package/dist/esm/calcite-action.entry.js +9 -9
  647. package/dist/esm/calcite-alert.entry.js +12 -12
  648. package/dist/esm/calcite-avatar.entry.js +7 -7
  649. package/dist/esm/calcite-block_2.entry.js +12 -12
  650. package/dist/esm/calcite-button.entry.js +11 -11
  651. package/dist/esm/calcite-card.entry.js +8 -8
  652. package/dist/esm/calcite-checkbox.entry.js +11 -11
  653. package/dist/esm/calcite-chip.entry.js +9 -9
  654. package/dist/esm/calcite-color-picker_3.entry.js +14 -14
  655. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  656. package/dist/esm/calcite-date-picker_4.entry.js +15 -15
  657. package/dist/esm/calcite-dropdown_3.entry.js +15 -15
  658. package/dist/esm/calcite-fab.entry.js +8 -8
  659. package/dist/esm/calcite-filter.entry.js +10 -10
  660. package/dist/esm/calcite-flow-item.entry.js +9 -9
  661. package/dist/esm/calcite-flow.entry.js +5 -5
  662. package/dist/esm/calcite-graph_2.entry.js +15 -15
  663. package/dist/esm/calcite-handle.entry.js +7 -7
  664. package/dist/esm/calcite-icon.entry.js +7 -7
  665. package/dist/esm/calcite-inline-editable.entry.js +10 -10
  666. package/dist/esm/calcite-input-date-picker.entry.js +17 -17
  667. package/dist/esm/calcite-input-message.entry.js +6 -6
  668. package/dist/esm/calcite-input-number.entry.js +14 -14
  669. package/dist/esm/calcite-input-text.entry.js +11 -11
  670. package/dist/esm/calcite-input-time-picker_2.entry.js +14 -14
  671. package/dist/esm/calcite-input.entry.js +14 -14
  672. package/dist/esm/calcite-label.entry.js +7 -7
  673. package/dist/esm/calcite-link.entry.js +8 -8
  674. package/dist/esm/calcite-list_3.entry.js +48 -22
  675. package/dist/esm/calcite-loader.entry.js +4 -4
  676. package/dist/esm/calcite-modal.entry.js +13 -14
  677. package/dist/esm/calcite-notice.entry.js +10 -10
  678. package/dist/esm/calcite-option_3.entry.js +13 -13
  679. package/dist/esm/calcite-pagination.entry.js +9 -9
  680. package/dist/esm/calcite-panel.entry.js +12 -12
  681. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  682. package/dist/esm/calcite-popover.entry.js +13 -13
  683. package/dist/esm/calcite-progress.entry.js +3 -3
  684. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  685. package/dist/esm/calcite-radio-button.entry.js +11 -11
  686. package/dist/esm/calcite-radio-group_2.entry.js +11 -11
  687. package/dist/esm/calcite-rating.entry.js +11 -11
  688. package/dist/esm/calcite-scrim.entry.js +3 -3
  689. package/dist/esm/calcite-shell_3.entry.js +11 -11
  690. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  691. package/dist/esm/calcite-split-button.entry.js +4 -4
  692. package/dist/esm/calcite-stepper_2.entry.js +15 -30
  693. package/dist/esm/calcite-switch.entry.js +11 -11
  694. package/dist/esm/calcite-tab_4.entry.js +11 -11
  695. package/dist/esm/calcite-tile-select_2.entry.js +7 -7
  696. package/dist/esm/calcite-tile.entry.js +9 -9
  697. package/dist/esm/calcite-tip_3.entry.js +11 -11
  698. package/dist/esm/calcite-tooltip.entry.js +9 -9
  699. package/dist/esm/calcite-tree_2.entry.js +10 -10
  700. package/dist/esm/calcite-value-list_2.entry.js +15 -15
  701. package/dist/esm/calcite.js +5 -5
  702. package/dist/esm/{conditionalSlot-932bed07.js → conditionalSlot-4535c1b9.js} +3 -3
  703. package/dist/esm/{debounce-6c22d1f9.js → debounce-7417f91a.js} +1 -1
  704. package/dist/esm/{dom-08acd1f5.js → dom-9858b886.js} +3 -3
  705. package/dist/esm/{filter-a5b3ef19.js → filter-5508bc98.js} +2 -2
  706. package/dist/esm/{floating-ui-9d4a624b.js → floating-ui-767c7f4f.js} +4 -4
  707. package/dist/esm/{focusTrapComponent-cdf49ef3.js → focusTrapComponent-0631da4d.js} +2 -2
  708. package/dist/esm/{form-6fccfe50.js → form-a8cff76c.js} +3 -3
  709. package/dist/esm/{guid-2973f95e.js → guid-b99f55df.js} +1 -1
  710. package/dist/esm/{index-70559efe.js → index-a065db07.js} +3 -2
  711. package/dist/esm/index.js +1 -1
  712. package/dist/esm/{interactive-cc64da61.js → interactive-c74441d7.js} +1 -1
  713. package/dist/esm/{interfaces-1a66a2ad.js → interfaces-5a22e9cd.js} +1 -1
  714. package/dist/esm/{key-c192d617.js → key-cc1eed89.js} +1 -1
  715. package/dist/esm/{label-a23e5f15.js → label-8be9adc1.js} +2 -2
  716. package/dist/esm/{loadable-e08688e7.js → loadable-21c686e8.js} +1 -1
  717. package/dist/esm/loader.js +5 -5
  718. package/dist/esm/{locale-081ecae6.js → locale-0ab3857c.js} +4 -4
  719. package/dist/esm/{math-108c26da.js → math-10af4d19.js} +1 -1
  720. package/dist/esm/{nonChromiumPlatformUtils-f0018b15.js → nonChromiumPlatformUtils-81639e86.js} +6 -6
  721. package/dist/esm/{observers-09dd2090.js → observers-6b56e89a.js} +1 -1
  722. package/dist/esm/{openCloseComponent-0e2402fb.js → openCloseComponent-eade95d6.js} +31 -2
  723. package/dist/esm/{resources-c1fbb500.js → resources-09bedddd.js} +5 -5
  724. package/dist/esm/{resources-c2d53d6c.js → resources-18f22a5b.js} +3 -3
  725. package/dist/esm/{resources-b63de87e.js → resources-244504f2.js} +1 -1
  726. package/dist/esm/{resources-8eb6d077.js → resources-286a549e.js} +1 -1
  727. package/dist/esm/{resources-609b87b8.js → resources-562316d9.js} +1 -1
  728. package/dist/esm/{resources-0812f6f7.js → resources-a00315e5.js} +1 -1
  729. package/dist/esm/{sortable.esm-fc024d1c.js → sortable.esm-e853cada.js} +1 -1
  730. package/dist/esm/{utils-13fcabc4.js → utils-0158a721.js} +1 -1
  731. package/dist/extras/docs-json.json +29 -71
  732. package/dist/loader/cdn.js +1 -1
  733. package/dist/loader/index.cjs.js +1 -1
  734. package/dist/loader/index.es2017.js +1 -1
  735. package/dist/loader/index.js +1 -1
  736. package/dist/types/components/list/list.d.ts +1 -0
  737. package/dist/types/components/list-item/list-item.d.ts +11 -1
  738. package/dist/types/components/list-item/resources.d.ts +2 -0
  739. package/dist/types/components/modal/resources.d.ts +6 -0
  740. package/dist/types/components/stepper-item/stepper-item.d.ts +1 -20
  741. package/dist/types/components.d.ts +0 -30
  742. package/dist/types/preact.d.ts +2 -1
  743. package/dist/types/utils/openCloseComponent.d.ts +7 -0
  744. package/hydrate/index.js +174 -130
  745. package/package.json +1 -1
  746. package/dist/calcite/p-1d53db98.entry.js +0 -6
  747. package/dist/calcite/p-2a7e4253.entry.js +0 -6
  748. package/dist/calcite/p-2a8a534b.entry.js +0 -6
  749. package/dist/calcite/p-2c51d044.entry.js +0 -6
  750. package/dist/calcite/p-3221baaf.js +0 -6
  751. package/dist/calcite/p-360420b6.entry.js +0 -6
  752. package/dist/calcite/p-42391f26.entry.js +0 -6
  753. package/dist/calcite/p-47b472cb.entry.js +0 -6
  754. package/dist/calcite/p-48847c67.js +0 -6
  755. package/dist/calcite/p-4914040b.js +0 -6
  756. package/dist/calcite/p-4e13fe26.entry.js +0 -6
  757. package/dist/calcite/p-4e1a33e1.entry.js +0 -6
  758. package/dist/calcite/p-5093cd90.entry.js +0 -6
  759. package/dist/calcite/p-56d3451a.entry.js +0 -6
  760. package/dist/calcite/p-61131c27.entry.js +0 -6
  761. package/dist/calcite/p-6888806f.js +0 -6
  762. package/dist/calcite/p-6eed9700.entry.js +0 -6
  763. package/dist/calcite/p-768c2faa.entry.js +0 -6
  764. package/dist/calcite/p-792a8278.entry.js +0 -6
  765. package/dist/calcite/p-7dbd2bcb.entry.js +0 -6
  766. package/dist/calcite/p-84255f14.entry.js +0 -6
  767. package/dist/calcite/p-885a183b.entry.js +0 -6
  768. package/dist/calcite/p-939f81bc.entry.js +0 -6
  769. package/dist/calcite/p-97cd8c72.entry.js +0 -6
  770. package/dist/calcite/p-9d3de89d.entry.js +0 -6
  771. package/dist/calcite/p-bd20545e.entry.js +0 -6
  772. package/dist/calcite/p-bf0f5a1c.entry.js +0 -6
  773. package/dist/calcite/p-c7e427a2.entry.js +0 -6
  774. package/dist/calcite/p-cb669ca4.entry.js +0 -6
  775. package/dist/calcite/p-cccfd26b.entry.js +0 -6
  776. package/dist/calcite/p-def59169.entry.js +0 -6
  777. package/dist/calcite/p-e0c574f4.entry.js +0 -6
  778. package/dist/calcite/p-efdfbc0c.entry.js +0 -6
  779. package/dist/calcite/p-f24b269e.entry.js +0 -6
  780. package/dist/calcite/p-f475b9bc.entry.js +0 -6
  781. package/dist/calcite/p-f5336d98.entry.js +0 -6
  782. package/dist/calcite/p-f8acb59a.entry.js +0 -6
  783. package/dist/calcite/p-fc49225b.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.0.0-next.659
5
+ */
6
+ import{r as t,h as a,g as e}from"./p-6161a934.js";import{c as o}from"./p-47f8d67f.js";import{c as n,d as r,g as c}from"./p-18d7672f.js";import{c as i}from"./p-94ce16ab.js";import{u as l}from"./p-3136fc1f.js";import{s,r as u}from"./p-5e81ca24.js";import{s as p,a as d,c as h}from"./p-5f2b55ab.js";import"./p-c094a79d.js";import"./p-8db81f9f.js";!function(t){function a(t,a,e){throw new t("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+a+".",e)}"function"!=typeof t.requestSubmit&&(t.requestSubmit=function(t){t?(function(t,e){t instanceof HTMLElement||a(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==t.type||a(TypeError,"The specified element is not a submit button"),t.form==e||a(DOMException,"The specified element is not owned by this form element","NotFoundError")}(t,this),t.click()):((t=document.createElement("input")).type="submit",t.hidden=!0,this.appendChild(t),t.click(),this.removeChild(t))})}(HTMLFormElement.prototype);const b=class{constructor(a){t(this,a),this.mutationObserver=i("mutation",(()=>this.updateHasContent())),this.handleClick=()=>{const{type:t}=this;this.href||("submit"===t?s(this):"reset"===t&&u(this))},this.alignment="center",this.appearance="solid",this.label=void 0,this.color="blue",this.disabled=!1,this.href=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.intlLoading="Loading",this.loading=!1,this.name=void 0,this.rel=void 0,this.form=void 0,this.round=!1,this.scale="m",this.splitChild=!1,this.target=void 0,this.type="button",this.width="auto",this.hasContent=!1,this.hasLoader=!1}loadingChanged(t,a){t&&!a&&(this.hasLoader=!0),!t&&a&&window.setTimeout((()=>{this.hasLoader=!1}),300)}connectedCallback(){this.hasLoader=this.loading,this.setupTextContentObserver(),n(this),this.formEl=o(this.el,this.form?`#${this.form}`:"form")}disconnectedCallback(){this.mutationObserver?.disconnect(),r(this),this.formEl=null}componentWillLoad(){p(this),this.updateHasContent()}componentDidLoad(){d(this)}componentDidRender(){l(this)}render(){const t=this.href?"a":"button",e=t,o=this.hasLoader?a("div",{class:"calcite-button--loader"},a("calcite-loader",{class:this.loading?"loading-in":"loading-out",inline:!0,label:this.intlLoading,scale:"l"===this.scale?"m":"s"})):null,n=!this.iconStart&&!this.iconEnd,r=a("calcite-icon",{class:{icon:!0,"icon--start":!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"l"===this.scale?"m":"s"}),i=a("calcite-icon",{class:{icon:!0,"icon--end":!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"l"===this.scale?"m":"s"}),l=a("span",{class:"content"},a("slot",null));return a(e,{"aria-label":c(this),class:{"button-padding":n,"button-padding--shrunk":!n,"content--slotted":this.hasContent,"icon-start-empty":!this.iconStart,"icon-end-empty":!this.iconEnd},disabled:this.disabled||this.loading,href:"a"===t&&this.href,name:"button"===t&&this.name,onClick:this.handleClick,ref:t=>this.childEl=t,rel:"a"===t&&this.rel,tabIndex:this.disabled||this.loading?-1:null,target:"a"===t&&this.target,type:"button"===t&&this.type},o,this.iconStart?r:null,this.hasContent?l:null,this.iconEnd?i:null)}async setFocus(){await h(this),this.childEl?.focus()}updateHasContent(){const t=this.el.textContent.trim().length>0||this.el.childNodes.length>0;this.hasContent=1===this.el.childNodes.length&&"#text"===this.el.childNodes[0]?.nodeName?this.el.textContent?.trim().length>0:t}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}onLabelClick(){this.handleClick(),this.setFocus()}get el(){return e(this)}static get watchers(){return{loading:["loadingChanged"]}}};b.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-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]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block;inline-size:auto;vertical-align:middle}:host([round]){border-radius:50px}:host([round]) a,:host([round]) button{border-radius:50px}:host button,:host a{outline-color:transparent}:host button:focus,:host a:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host button,:host a{--calcite-button-content-margin:0.5rem;--calcite-button-padding-x:7px;--calcite-button-padding-y:3px;padding-block:var(--calcite-button-padding-y);padding-inline:var(--calcite-button-padding-x);position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-appearance:none;appearance:none;align-items:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host button:hover,:host a:hover{text-decoration-line:none}.content{display:flex;flex-basis:auto;margin-inline:var(--calcite-button-content-margin)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-content-margin:0.75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-button-content-margin:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-button-content-margin)}.icon{position:relative;margin:0px;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([loading]){pointer-events:none}:host([loading]) button,:host([loading]) a{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(0.5)}100%{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}100%{inline-size:0;opacity:0;transform:scale(0.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0px;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out}.calcite-button--loader calcite-loader.loading-in{animation-name:loader-in;animation-duration:var(--calcite-internal-animation-timing-slow)}.calcite-button--loader calcite-loader.loading-out{animation-name:loader-out;animation-duration:var(--calcite-internal-animation-timing-slow)}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{border-width:1px;border-style:solid;border-color:transparent}:host([color=blue]) button,:host([color=blue]) a{background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}:host([color=blue]) button:hover,:host([color=blue]) button:focus,:host([color=blue]) a:hover,:host([color=blue]) a:focus{background-color:var(--calcite-ui-brand-hover)}:host([color=blue]) button:active,:host([color=blue]) a:active{background-color:var(--calcite-ui-brand-press)}:host([color=blue]) button calcite-loader,:host([color=blue]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([color=red]) button,:host([color=red]) a{background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}:host([color=red]) button:hover,:host([color=red]) button:focus,:host([color=red]) a:hover,:host([color=red]) a:focus{background-color:var(--calcite-ui-danger-hover)}:host([color=red]) button:active,:host([color=red]) a:active{background-color:var(--calcite-ui-danger-press)}:host([color=red]) button calcite-loader,:host([color=red]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([color=neutral]) button,:host([color=neutral]) a{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}:host([color=neutral]) button:hover,:host([color=neutral]) button:focus,:host([color=neutral]) a:hover,:host([color=neutral]) a:focus{background-color:var(--calcite-ui-foreground-2)}:host([color=neutral]) button:active,:host([color=neutral]) a:active{background-color:var(--calcite-ui-foreground-1)}:host([color=neutral]) button calcite-loader,:host([color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([color=inverse]) button,:host([color=inverse]) a{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}:host([color=inverse]) button:hover,:host([color=inverse]) button:focus,:host([color=inverse]) a:hover,:host([color=inverse]) a:focus{background-color:var(--calcite-ui-inverse-hover)}:host([color=inverse]) button:active,:host([color=inverse]) a:active{background-color:var(--calcite-ui-inverse-press)}:host([color=inverse]) button calcite-loader,:host([color=inverse]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=outline]) button,:host([appearance=outline]) a{border-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline][color=blue]) button,:host([appearance=outline][color=blue]) a{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-brand)}:host([appearance=outline][color=blue]) button:hover,:host([appearance=outline][color=blue]) a:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}:host([appearance=outline][color=blue]) button:focus,:host([appearance=outline][color=blue]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=outline][color=blue]) button:active,:host([appearance=outline][color=blue]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=outline][color=blue]) button calcite-loader,:host([appearance=outline][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=outline][color=red]) button,:host([appearance=outline][color=red]) a{border-color:var(--calcite-ui-danger);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-danger)}:host([appearance=outline][color=red]) button:hover,:host([appearance=outline][color=red]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=outline][color=red]) button:focus,:host([appearance=outline][color=red]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=outline][color=red]) button:active,:host([appearance=outline][color=red]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=outline][color=red]) button calcite-loader,:host([appearance=outline][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=outline][color=neutral]) button,:host([appearance=outline][color=neutral]) a{background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:hover,:host([appearance=outline][color=neutral]) a:hover{box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:focus,:host([appearance=outline][color=neutral]) a:focus{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:active,:host([appearance=outline][color=neutral]) a:active{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button calcite-loader,:host([appearance=outline][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][color=inverse]) button,:host([appearance=outline][color=inverse]) a{background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=outline][color=inverse]) button:hover,:host([appearance=outline][color=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=outline][color=inverse]) button:focus,:host([appearance=outline][color=inverse]) a:focus{border-color:var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=outline][color=inverse]) button:active,:host([appearance=outline][color=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=outline][color=inverse]) button calcite-loader,:host([appearance=outline][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=clear]) button,:host([appearance=clear]) a,:host([appearance=minimal]) button,:host([appearance=minimal]) a{border-width:1px;border-style:solid;background-color:transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=clear][color=blue]) button,:host([appearance=clear][color=blue]) a,:host([appearance=minimal][color=blue]) button,:host([appearance=minimal][color=blue]) a{border-color:var(--calcite-ui-brand);background-color:transparent;color:var(--calcite-ui-brand)}:host([appearance=clear][color=blue]) button:hover,:host([appearance=clear][color=blue]) a:hover,:host([appearance=minimal][color=blue]) button:hover,:host([appearance=minimal][color=blue]) a:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}:host([appearance=clear][color=blue]) button:focus,:host([appearance=clear][color=blue]) a:focus,:host([appearance=minimal][color=blue]) button:focus,:host([appearance=minimal][color=blue]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=clear][color=blue]) button:active,:host([appearance=clear][color=blue]) a:active,:host([appearance=minimal][color=blue]) button:active,:host([appearance=minimal][color=blue]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=clear][color=blue]) button calcite-loader,:host([appearance=clear][color=blue]) a calcite-loader,:host([appearance=minimal][color=blue]) button calcite-loader,:host([appearance=minimal][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=clear][color=red]) button,:host([appearance=clear][color=red]) a,:host([appearance=minimal][color=red]) button,:host([appearance=minimal][color=red]) a{border-color:var(--calcite-ui-danger);background-color:transparent;color:var(--calcite-ui-danger)}:host([appearance=clear][color=red]) button:hover,:host([appearance=clear][color=red]) a:hover,:host([appearance=minimal][color=red]) button:hover,:host([appearance=minimal][color=red]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=clear][color=red]) button:focus,:host([appearance=clear][color=red]) a:focus,:host([appearance=minimal][color=red]) button:focus,:host([appearance=minimal][color=red]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=clear][color=red]) button:active,:host([appearance=clear][color=red]) a:active,:host([appearance=minimal][color=red]) button:active,:host([appearance=minimal][color=red]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=clear][color=red]) button calcite-loader,:host([appearance=clear][color=red]) a calcite-loader,:host([appearance=minimal][color=red]) button calcite-loader,:host([appearance=minimal][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=clear][color=neutral]) button,:host([appearance=clear][color=neutral]) a,:host([appearance=minimal][color=neutral]) button,:host([appearance=minimal][color=neutral]) a{background-color:transparent;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:hover,:host([appearance=clear][color=neutral]) a:hover,:host([appearance=minimal][color=neutral]) button:hover,:host([appearance=minimal][color=neutral]) a:hover{box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:focus,:host([appearance=clear][color=neutral]) a:focus,:host([appearance=minimal][color=neutral]) button:focus,:host([appearance=minimal][color=neutral]) a:focus{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:active,:host([appearance=clear][color=neutral]) a:active,:host([appearance=minimal][color=neutral]) button:active,:host([appearance=minimal][color=neutral]) a:active{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button calcite-loader,:host([appearance=clear][color=neutral]) a calcite-loader,:host([appearance=minimal][color=neutral]) button calcite-loader,:host([appearance=minimal][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=clear][color=inverse]) button,:host([appearance=clear][color=inverse]) a,:host([appearance=minimal][color=inverse]) button,:host([appearance=minimal][color=inverse]) a{background-color:transparent;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=clear][color=inverse]) button:hover,:host([appearance=clear][color=inverse]) a:hover,:host([appearance=minimal][color=inverse]) button:hover,:host([appearance=minimal][color=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=clear][color=inverse]) button:focus,:host([appearance=clear][color=inverse]) a:focus,:host([appearance=minimal][color=inverse]) button:focus,:host([appearance=minimal][color=inverse]) a:focus{border-color:var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=clear][color=inverse]) button:active,:host([appearance=clear][color=inverse]) a:active,:host([appearance=minimal][color=inverse]) button:active,:host([appearance=minimal][color=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=clear][color=inverse]) button calcite-loader,:host([appearance=clear][color=inverse]) a calcite-loader,:host([appearance=minimal][color=inverse]) button calcite-loader,:host([appearance=minimal][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][split-child=primary]) button,:host([appearance=clear][split-child=primary]) button,:host([appearance=minimal][split-child=primary]) button{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline][split-child=secondary]) button,:host([appearance=clear][split-child=secondary]) button,:host([appearance=minimal][split-child=secondary]) button{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:transparent}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) button:focus,:host([appearance=transparent]:not(.enable-editing-button)) a:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:focus{background-color:var(--calcite-button-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-button-transparent-press)}:host([appearance=transparent][color=blue]) button,:host([appearance=transparent][color=blue]) a{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=blue]) button:hover,:host([appearance=transparent][color=blue]) a:hover{color:var(--calcite-ui-brand-hover)}:host([appearance=transparent][color=blue]) button:focus,:host([appearance=transparent][color=blue]) a:focus{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=blue]) button:active,:host([appearance=transparent][color=blue]) a:active{color:var(--calcite-ui-brand-press)}:host([appearance=transparent][color=blue]) button calcite-loader,:host([appearance=transparent][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=red]) button,:host([appearance=transparent][color=red]) a{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=red]) button:hover,:host([appearance=transparent][color=red]) a:hover{color:var(--calcite-ui-danger-hover)}:host([appearance=transparent][color=red]) button:focus,:host([appearance=transparent][color=red]) a:focus{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=red]) button:active,:host([appearance=transparent][color=red]) a:active{color:var(--calcite-ui-danger-press)}:host([appearance=transparent][color=red]) button calcite-loader,:host([appearance=transparent][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].cancel-editing-button) button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-ui-text-3);border-block-start-color:var(--calcite-ui-border-input);border-block-end-color:var(--calcite-ui-border-input);border-block-style:solid}:host([appearance=transparent][color=neutral].cancel-editing-button) button:not(.content--slotted){--calcite-button-padding-y:0}:host([appearance=transparent][color=neutral].cancel-editing-button) button:hover{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].enable-editing-button) button{background-color:transparent}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][color=inverse]) button,:host([appearance=transparent][color=inverse]) a,:host([appearance=transparent][color=inverse]) calcite-loader{color:var(--calcite-ui-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:0.5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-button-padding-y:3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-button-padding-x:11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-padding-y:7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:0.75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-button-padding-x:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .button-padding{--calcite-button-padding-x:1rem;--calcite-button-padding-y:11px}:host([scale=l]) .button-padding--shrunk{--calcite-button-padding-y:9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:2.75rem}";export{b as calcite_button}
@@ -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.0.0-next.659
5
+ */
6
+ import{r as a,h as t,g as i}from"./p-6161a934.js";import{c as n}from"./p-94ce16ab.js";const e=class{constructor(t){a(this,t),this.itemMutationObserver=n("mutation",(()=>this.updateFlowProps())),this.getFlowDirection=(a,t)=>a&&t>1||a>1?t<a?"retreating":"advancing":null,this.updateFlowProps=()=>{const{el:a,items:t}=this,i=Array.from(a.querySelectorAll("calcite-flow-item")).filter((t=>t.closest("calcite-flow")===a)),n=t.length,e=i.length,c=i[e-1],r=i[e-2];if(e&&c&&i.forEach((a=>{a.showBackButton=a===c&&e>1,a.hidden=a!==c})),r&&(r.menuOpen=!1),this.items=i,n!==e){const a=this.getFlowDirection(n,e);this.itemCount=e,this.flowDirection=a}},this.flowDirection=null,this.itemCount=0,this.items=[]}async back(){const{items:a}=this,t=a[a.length-1];if(t)return(t.beforeBack?t.beforeBack:()=>Promise.resolve()).call(t).then((()=>(t.remove(),t)))}connectedCallback(){this.itemMutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateFlowProps()}disconnectedCallback(){this.itemMutationObserver?.disconnect()}handleItemBackClick(){this.back()}render(){const{flowDirection:a}=this;return t("div",{class:{frame:!0,"frame--advancing":"advancing"===a,"frame--retreating":"retreating"===a}},t("slot",null))}get el(){return i(this)}};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-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}}: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{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0px}:host ::slotted(calcite-flow-item),:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{animation:calcite-frame-retreat var(--calcite-animation-timing)}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}";export{e as calcite_flow}
@@ -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.0.0-next.657
4
+ * v1.0.0-next.659
5
5
  */
6
- import{c as t,a as n}from"./p-b574f974.js";import{d as e}from"./p-7b427f93.js";function o(t){return t.split("-")[0]}function r(t){return t.split("-")[1]}function i(t){return["top","bottom"].includes(o(t))?"x":"y"}function a(t){return"y"===t?"height":"width"}function l(t,n,e){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=a(u),m=l[d]/2-s[d]/2,p="x"===u;let y;switch(o(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(r(n)){case"start":y[u]-=m*(e&&p?-1:1);break;case"end":y[u]+=m*(e&&p?-1:1)}return y}function s(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function c(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function f(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:p=!1,padding:y=0}=n,g=s(y),x=l[p?"floating"===m?"reference":"floating":m],h=c(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:f})),w=c(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===m?{...a.floating,x:o,y:r}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),strategy:f}):a[m]);return{top:h.top-w.top+g.top,bottom:w.bottom-h.bottom+g.bottom,left:h.left-w.left+g.left,right:w.right-h.right+g.right}}const u=Math.min,d=Math.max;function m(t,n,e){return d(t,u(n,e))}const p={left:"right",right:"left",bottom:"top",top:"bottom"};function y(t){return t.replace(/left|right|bottom|top/g,(t=>p[t]))}function g(t,n,e){void 0===e&&(e=!1);const o=r(t),l=i(t),s=a(l);let c="x"===l?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=y(c)),{main:c,cross:y(c)}}const x={start:"end",end:"start"};function h(t){return t.replace(/start|end/g,(t=>x[t]))}const w=["top","right","bottom","left"],v=w.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),b=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:r,middlewareData:i,rects:a,initialPlacement:l,platform:s,elements:c}=n,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",flipAlignment:x=!0,...w}=t,v=o(r),b=[l,...m||(v!==l&&x?function(t){const n=y(t);return[h(t),n,h(n)]}(l):[y(l)])],A=await f(n,w),P=[];let R=(null==(e=i.flip)?void 0:e.overflows)||[];if(u&&P.push(A[v]),d){const{main:t,cross:n}=g(r,a,await(null==s.isRTL?void 0:s.isRTL(c.floating)));P.push(A[t],A[n])}if(R=[...R,{placement:r,overflows:P}],!P.every((t=>t<=0))){var k,E;const t=(null!=(k=null==(E=i.flip)?void 0:E.index)?k:0)+1,n=b[t];if(n)return{data:{index:t,overflows:R},reset:{placement:n}};let e="bottom";switch(p){case"bestFit":{var D;const t=null==(D=R.map((t=>[t,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:D[0].placement;t&&(e=t);break}case"initialPlacement":e=l}if(r!==e)return{reset:{placement:e}}}return{}}}};function A(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function P(t){return w.some((n=>t[n]>=0))}const R=function(t){let{strategy:n="referenceHidden",...e}=void 0===t?{}:t;return{name:"hide",async fn(t){const{rects:o}=t;switch(n){case"referenceHidden":{const n=A(await f(t,{...e,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:P(n)}}}case"escaped":{const n=A(await f(t,{...e,altBoundary:!0}),o.floating);return{data:{escapedOffsets:n,escaped:P(n)}}}default:return{}}}}};function k(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function E(t){if(null==t)return window;if(!k(t)){const n=t.ownerDocument;return n&&n.defaultView||window}return t}function D(t){return E(t).getComputedStyle(t)}function F(t){return k(t)?"":t?(t.nodeName||"").toLowerCase():""}function M(){const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map((t=>t.brand+"/"+t.version)).join(" "):navigator.userAgent}function O(t){return t instanceof E(t).HTMLElement}function $(t){return t instanceof E(t).Element}function T(t){return"undefined"!=typeof ShadowRoot&&(t instanceof E(t).ShadowRoot||t instanceof ShadowRoot)}function j(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=D(t);return/auto|scroll|overlay|hidden/.test(n+o+e)&&!["inline","contents"].includes(r)}function S(t){return["table","td","th"].includes(F(t))}function B(t){const n=/firefox/i.test(M()),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 C(){return!/^((?!chrome|android).)*safari/i.test(M())}function z(t){return["html","body","#document"].includes(F(t))}const L=Math.min,H=Math.max,I=Math.round;function W(t,n,e){var o,r,i,a;void 0===n&&(n=!1),void 0===e&&(e=!1);const l=t.getBoundingClientRect();let s=1,c=1;n&&O(t)&&(s=t.offsetWidth>0&&I(l.width)/t.offsetWidth||1,c=t.offsetHeight>0&&I(l.height)/t.offsetHeight||1);const f=$(t)?E(t):window,u=!C()&&e,d=(l.left+(u&&null!=(o=null==(r=f.visualViewport)?void 0:r.offsetLeft)?o:0))/s,m=(l.top+(u&&null!=(i=null==(a=f.visualViewport)?void 0:a.offsetTop)?i:0))/c,p=l.width/s,y=l.height/c;return{width:p,height:y,top:m,right:d+p,bottom:m+y,left:d,x:d,y:m}}function q(t){return(n=t,(n instanceof E(n).Node?t.ownerDocument:t.document)||window.document).documentElement;var n}function N(t){return $(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function U(t){return W(q(t)).left+N(t).scrollLeft}function V(t,n,e){const o=O(n),r=q(n),i=W(t,o&&function(t){const n=W(t);return I(n.width)!==t.offsetWidth||I(n.height)!==t.offsetHeight}(n),"fixed"===e);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==F(n)||j(r))&&(a=N(n)),O(n)){const t=W(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=U(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function X(t){if("html"===F(t))return t;const n=t.assignedSlot||t.parentNode||(T(t)?t.host:null)||q(t);return T(n)?n.host:n}function Y(t){return O(t)&&"fixed"!==D(t).position?t.offsetParent:null}function G(t){const n=E(t);let e=Y(t);for(;e&&S(e)&&"static"===D(e).position;)e=Y(e);return e&&("html"===F(e)||"body"===F(e)&&"static"===D(e).position&&!B(e))?n:e||function(t){let n=X(t);for(;O(n)&&!z(n);){if(B(n))return n;n=X(n)}return null}(t)||n}function J(t){const n=X(t);return z(n)?t.ownerDocument.body:O(n)&&j(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=E(o),a=r?[i].concat(i.visualViewport||[],j(o)?o:[]):o,l=n.concat(a);return r?l:l.concat(K(a))}function Q(t,n,e){return"viewport"===n?c(function(t,n){const e=E(t),o=q(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=C();(t||!t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e)):$(n)?function(t,n){const e=W(t,!1,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft;return{top:o,left:r,x:r,y:o,right:r+t.clientWidth,bottom:o+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}(n,e):c(function(t){var n;const e=q(t),o=N(t),r=null==(n=t.ownerDocument)?void 0:n.body,i=H(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=H(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let l=-o.scrollLeft+U(t);const s=-o.scrollTop;return"rtl"===D(r||e).direction&&(l+=H(e.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(q(t)))}const Z={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t){let n=K(t).filter((t=>$(t)&&"body"!==F(t))),e=null;const o="fixed"===D(t).position;let r=o?X(t):t;for(;$(r)&&!z(r);){const t=D(r),i=B(r);(o?i||e:i||"static"!==t.position||!e||!["absolute","fixed"].includes(e.position))?e=t:n=n.filter((t=>t!==r)),r=X(r)}return n}(n):[].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=O(e),i=q(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==F(e)||j(i))&&(a=N(e)),O(e))){const t=W(e,!0);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{...n,x:n.x-a.scrollLeft+l.x,y:n.y-a.scrollTop+l.y}},isElement:$,getDimensions:function(t){if(O(t))return{width:t.offsetWidth,height:t.offsetHeight};const n=W(t);return{width:n.width,height:n.height}},getOffsetParent:G,getDocumentElement:q,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||G,i=this.getDimensions;return{reference:V(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 _={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},tt=async function(){if(_.floatingUINonChromiumPositioningFix&&/firefox|safari/i.test(function(){const t=navigator.userAgentData;return t?.brands?t.brands.map((t=>`${t.brand}/${t.version}`)).join(" "):navigator.userAgent}())){const{getClippingRect:t,getElementRects:n,getOffsetParent:e}=await import("./p-ef7862c1.js");Z.getClippingRect=t,Z.getOffsetParent=e,Z.getElementRects=n}}(),nt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],et="bottom-start",ot={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function rt({placement:t,disableFlip:n,flipPlacements:e,offsetDistance:l,offsetSkidding:c,arrowEl:u,type:d}){const p=[(void 0===y&&(y={}),{name:"shift",options:y,async fn(t){const{x:n,y:e,placement:r}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...c}=y,u={x:n,y:e},d=await f(t,c),p=i(o(r)),g="x"===p?"y":"x";let x=u[p],h=u[g];a&&(x=m(x+d["y"===p?"top":"left"],x,x-d["y"===p?"bottom":"right"])),l&&(h=m(h+d["y"===g?"top":"left"],h,h-d["y"===g?"bottom":"right"]));const w=s.fn({...t,[p]:x,[g]:h});return{...w,data:{x:w.x-n,y:w.y-e}}}}),R()];var y,x;if("menu"===d)return[...p,b({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===d||"tooltip"===d){const d=[...p,(x={mainAxis:"number"==typeof l?l:0,crossAxis:"number"==typeof c?c:0},void 0===x&&(x=0),{name:"offset",options:x,async fn(t){const{x:n,y:e}=t,a=await async function(t,n){const{placement:e,platform:a,elements:l}=t,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=o(e),f=r(e),u="x"===i(e),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:x}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof x&&(g="end"===f?-1*x:x),u?{x:g*m,y:y*d}:{x:y*d,y:g*m}}(t,x);return{x:n+a.x,y:e+a.y,data:a}}})];return"auto"===t||"auto-start"===t||"auto-end"===t?d.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,i,a,l,s;const{x:c,y:u,rects:d,middlewareData:m,placement:p,platform:y,elements:x}=n,{alignment:w=null,allowedPlacements:b=v,autoAlignment:A=!0,...P}=t,R=function(t,n,e){return(t?[...e.filter((n=>r(n)===t)),...e.filter((n=>r(n)!==t))]:e.filter((t=>o(t)===t))).filter((e=>!t||r(e)===t||!!n&&h(e)!==e))}(w,A,b),k=await f(n,P),E=null!=(e=null==(i=m.autoPlacement)?void 0:i.index)?e:0,D=R[E];if(null==D)return{};const{main:F,cross:M}=g(D,d,await(null==y.isRTL?void 0:y.isRTL(x.floating)));if(p!==D)return{x:c,y:u,reset:{placement:R[0]}};const O=[k[o(D)],k[F],k[M]],$=[...null!=(a=null==(l=m.autoPlacement)?void 0:l.overflows)?a:[],{placement:D,overflows:O}],T=R[E+1];if(T)return{data:{index:E+1,overflows:$},reset:{placement:T}};const j=$.slice().sort(((t,n)=>t.overflows[0]-n.overflows[0])),S=null==(s=j.find((t=>{let{overflows:n}=t;return n.every((t=>t<=0))})))?void 0:s.placement,B=null!=S?S:j[0].placement;return B!==p?{data:{index:E+1,overflows:$},reset:{placement:B}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||d.push(b(e?{fallbackPlacements:e}:{})),u&&d.push((t=>({name:"arrow",options:t,async fn(n){const{element:e,padding:o=0}=null!=t?t:{},{x:l,y:c,placement:f,rects:u,platform:d}=n;if(null==e)return{};const p=s(o),y={x:l,y:c},g=i(f),x=r(f),h=a(g),w=await d.getDimensions(e),v="y"===g?"top":"left",b="y"===g?"bottom":"right",A=u.reference[h]+u.reference[g]-y[g]-u.floating[h],P=y[g]-u.reference[g],R=await(null==d.getOffsetParent?void 0:d.getOffsetParent(e));let k=R?"y"===g?R.clientHeight||0:R.clientWidth||0:0;0===k&&(k=u.floating[h]);const E=p[v],D=k-w[h]-p[b],F=k/2-w[h]/2+(A/2-P/2),M=m(E,F,D);return{[g]:y[g]-(("start"===x?p[v]:p[b])>0&&F!==M&&u.reference[h]<=u.floating[h]?F<E?E-F:D-F:0),data:{[g]:M,centerOffset:F-M}}}}))({element:u})),d}return[]}function it(t,n){const e=t.filter((t=>nt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${nt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function at(t,e){const o=["left","right"];return"rtl"===n(t)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function lt(t,n,e=!1){if(t.open)return e?st(n):ct(n)}const st=e(ct,100,{leading:!0,maxWait:100});async function ct({referenceEl:t,floatingEl:n,overlayPositioning:e="absolute",placement:o,disableFlip:r,flipPlacements:i,offsetDistance:a,offsetSkidding:s,includeArrow:c=!1,arrowEl:f,type:u}){if(!t||!n||c&&!f)return null;await tt;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await(x=t,h=n,w={strategy:e,placement:"auto"===o||"auto-start"===o||"auto-end"===o?void 0:at(n,o),middleware:rt({placement:o,disableFlip:r,flipPlacements:i,offsetDistance:a,offsetSkidding:s,arrowEl:f,type:u})},(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,s=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let f=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=l(f,o,c),m=o,p={},y=0;for(let e=0;e<s.length;e++){const{name:i,fn:g}=s[e],{x,y:h,data:w,reset:v}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:a,elements:{reference:t,floating:n}});u=null!=x?x:u,d=null!=h?h:d,p={...p,[i]:{...p[i],...w}},v&&y<=50&&(y++,"object"==typeof v&&(v.placement&&(m=v.placement),v.rects&&(f=!0===v.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):v.rects),({x:u,y:d}=l(f,m,c))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(x,h,{platform:Z,...w}));var x,h,w;if(g?.arrow){const{x:t,y:n}=g.arrow;Object.assign(f.style,{left:null!=t?`${t}px`:"",top:null!=n?`${n}px`:""})}const v=g?.hide?.referenceHidden?"hidden":null,b=v?"none":null;n.setAttribute("data-placement",p);const A=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(n.style,{visibility:v,pointerEvents:b,position:y,top:"0",left:"0",transform:A})}const ft=new WeakMap;function ut(t,n,e){if(!e||!n)return;dt(t,n,e);const o=t.overlayPositioning;Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:o}),"absolute"===o&&xt(e),ft.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&&!l,c=s||i?[...$(t)?K(t):t.contextElement?K(t.contextElement):[],...K(n)]:[];c.forEach((t=>{s&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));let f,u=null;if(a){let o=!0;u=new ResizeObserver((()=>{o||e(),o=!1})),$(t)&&!l&&u.observe(t),$(t)||!t.contextElement||l||u.observe(t.contextElement),u.observe(n)}let d=l?W(t):null;return l&&function n(){const o=W(t);!d||o.x===d.x&&o.y===d.y&&o.width===d.width&&o.height===d.height||e(),d=o,f=requestAnimationFrame(n)}(),e(),()=>{var t;c.forEach((t=>{s&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),null==(t=u)||t.disconnect(),u=null,l&&cancelAnimationFrame(f)}}(n,e,(()=>t.reposition())))}function dt(t,n,e){if(!e||!n)return;yt(e).removeEventListener("transitionend",gt);const o=ft.get(t);o&&o(),ft.delete(t)}const mt=Math.ceil(Math.hypot(4,4));function pt(t){t&&"absolute"===t.style.position&&yt(t).addEventListener("transitionend",gt)}function yt(t){return t.shadowRoot||t}function gt(n){const e=n.target;if("opacity"===n.propertyName&&e.classList.contains(ot.animation)){const n=function(n){return t(n,"[data-placement]")}(e);xt(n),yt(n).removeEventListener("transitionend",gt)}}function xt(t){t.style.transform="",t.style.top="0",t.style.left="0"}export{ot as F,dt as a,mt as b,ut as c,et as d,c as e,it as f,lt as r,pt as u}
6
+ import{c as t,a as n}from"./p-47f8d67f.js";import{d as e}from"./p-9409bde8.js";function o(t){return t.split("-")[0]}function r(t){return t.split("-")[1]}function i(t){return["top","bottom"].includes(o(t))?"x":"y"}function a(t){return"y"===t?"height":"width"}function l(t,n,e){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=a(u),m=l[d]/2-s[d]/2,p="x"===u;let y;switch(o(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(r(n)){case"start":y[u]-=m*(e&&p?-1:1);break;case"end":y[u]+=m*(e&&p?-1:1)}return y}function s(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function c(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function f(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:p=!1,padding:y=0}=n,g=s(y),x=l[p?"floating"===m?"reference":"floating":m],h=c(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:f})),w=c(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===m?{...a.floating,x:o,y:r}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),strategy:f}):a[m]);return{top:h.top-w.top+g.top,bottom:w.bottom-h.bottom+g.bottom,left:h.left-w.left+g.left,right:w.right-h.right+g.right}}const u=Math.min,d=Math.max;function m(t,n,e){return d(t,u(n,e))}const p={left:"right",right:"left",bottom:"top",top:"bottom"};function y(t){return t.replace(/left|right|bottom|top/g,(t=>p[t]))}function g(t,n,e){void 0===e&&(e=!1);const o=r(t),l=i(t),s=a(l);let c="x"===l?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=y(c)),{main:c,cross:y(c)}}const x={start:"end",end:"start"};function h(t){return t.replace(/start|end/g,(t=>x[t]))}const w=["top","right","bottom","left"],v=w.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),b=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:r,middlewareData:i,rects:a,initialPlacement:l,platform:s,elements:c}=n,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",flipAlignment:x=!0,...w}=t,v=o(r),b=[l,...m||(v!==l&&x?function(t){const n=y(t);return[h(t),n,h(n)]}(l):[y(l)])],A=await f(n,w),P=[];let R=(null==(e=i.flip)?void 0:e.overflows)||[];if(u&&P.push(A[v]),d){const{main:t,cross:n}=g(r,a,await(null==s.isRTL?void 0:s.isRTL(c.floating)));P.push(A[t],A[n])}if(R=[...R,{placement:r,overflows:P}],!P.every((t=>t<=0))){var k,E;const t=(null!=(k=null==(E=i.flip)?void 0:E.index)?k:0)+1,n=b[t];if(n)return{data:{index:t,overflows:R},reset:{placement:n}};let e="bottom";switch(p){case"bestFit":{var D;const t=null==(D=R.map((t=>[t,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:D[0].placement;t&&(e=t);break}case"initialPlacement":e=l}if(r!==e)return{reset:{placement:e}}}return{}}}};function A(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function P(t){return w.some((n=>t[n]>=0))}const R=function(t){let{strategy:n="referenceHidden",...e}=void 0===t?{}:t;return{name:"hide",async fn(t){const{rects:o}=t;switch(n){case"referenceHidden":{const n=A(await f(t,{...e,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:P(n)}}}case"escaped":{const n=A(await f(t,{...e,altBoundary:!0}),o.floating);return{data:{escapedOffsets:n,escaped:P(n)}}}default:return{}}}}};function k(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function E(t){if(null==t)return window;if(!k(t)){const n=t.ownerDocument;return n&&n.defaultView||window}return t}function D(t){return E(t).getComputedStyle(t)}function F(t){return k(t)?"":t?(t.nodeName||"").toLowerCase():""}function M(){const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map((t=>t.brand+"/"+t.version)).join(" "):navigator.userAgent}function O(t){return t instanceof E(t).HTMLElement}function $(t){return t instanceof E(t).Element}function T(t){return"undefined"!=typeof ShadowRoot&&(t instanceof E(t).ShadowRoot||t instanceof ShadowRoot)}function j(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=D(t);return/auto|scroll|overlay|hidden/.test(n+o+e)&&!["inline","contents"].includes(r)}function S(t){return["table","td","th"].includes(F(t))}function B(t){const n=/firefox/i.test(M()),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 C(){return!/^((?!chrome|android).)*safari/i.test(M())}function z(t){return["html","body","#document"].includes(F(t))}const L=Math.min,H=Math.max,I=Math.round;function W(t,n,e){var o,r,i,a;void 0===n&&(n=!1),void 0===e&&(e=!1);const l=t.getBoundingClientRect();let s=1,c=1;n&&O(t)&&(s=t.offsetWidth>0&&I(l.width)/t.offsetWidth||1,c=t.offsetHeight>0&&I(l.height)/t.offsetHeight||1);const f=$(t)?E(t):window,u=!C()&&e,d=(l.left+(u&&null!=(o=null==(r=f.visualViewport)?void 0:r.offsetLeft)?o:0))/s,m=(l.top+(u&&null!=(i=null==(a=f.visualViewport)?void 0:a.offsetTop)?i:0))/c,p=l.width/s,y=l.height/c;return{width:p,height:y,top:m,right:d+p,bottom:m+y,left:d,x:d,y:m}}function q(t){return(n=t,(n instanceof E(n).Node?t.ownerDocument:t.document)||window.document).documentElement;var n}function N(t){return $(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function U(t){return W(q(t)).left+N(t).scrollLeft}function V(t,n,e){const o=O(n),r=q(n),i=W(t,o&&function(t){const n=W(t);return I(n.width)!==t.offsetWidth||I(n.height)!==t.offsetHeight}(n),"fixed"===e);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==F(n)||j(r))&&(a=N(n)),O(n)){const t=W(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=U(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function X(t){if("html"===F(t))return t;const n=t.assignedSlot||t.parentNode||(T(t)?t.host:null)||q(t);return T(n)?n.host:n}function Y(t){return O(t)&&"fixed"!==D(t).position?t.offsetParent:null}function G(t){const n=E(t);let e=Y(t);for(;e&&S(e)&&"static"===D(e).position;)e=Y(e);return e&&("html"===F(e)||"body"===F(e)&&"static"===D(e).position&&!B(e))?n:e||function(t){let n=X(t);for(;O(n)&&!z(n);){if(B(n))return n;n=X(n)}return null}(t)||n}function J(t){const n=X(t);return z(n)?t.ownerDocument.body:O(n)&&j(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=E(o),a=r?[i].concat(i.visualViewport||[],j(o)?o:[]):o,l=n.concat(a);return r?l:l.concat(K(a))}function Q(t,n,e){return"viewport"===n?c(function(t,n){const e=E(t),o=q(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=C();(t||!t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e)):$(n)?function(t,n){const e=W(t,!1,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft;return{top:o,left:r,x:r,y:o,right:r+t.clientWidth,bottom:o+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}(n,e):c(function(t){var n;const e=q(t),o=N(t),r=null==(n=t.ownerDocument)?void 0:n.body,i=H(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=H(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let l=-o.scrollLeft+U(t);const s=-o.scrollTop;return"rtl"===D(r||e).direction&&(l+=H(e.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(q(t)))}const Z={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t){let n=K(t).filter((t=>$(t)&&"body"!==F(t))),e=null;const o="fixed"===D(t).position;let r=o?X(t):t;for(;$(r)&&!z(r);){const t=D(r),i=B(r);(o?i||e:i||"static"!==t.position||!e||!["absolute","fixed"].includes(e.position))?e=t:n=n.filter((t=>t!==r)),r=X(r)}return n}(n):[].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=O(e),i=q(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==F(e)||j(i))&&(a=N(e)),O(e))){const t=W(e,!0);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{...n,x:n.x-a.scrollLeft+l.x,y:n.y-a.scrollTop+l.y}},isElement:$,getDimensions:function(t){if(O(t))return{width:t.offsetWidth,height:t.offsetHeight};const n=W(t);return{width:n.width,height:n.height}},getOffsetParent:G,getDocumentElement:q,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||G,i=this.getDimensions;return{reference:V(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 _={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},tt=async function(){if(_.floatingUINonChromiumPositioningFix&&/firefox|safari/i.test(function(){const t=navigator.userAgentData;return t?.brands?t.brands.map((t=>`${t.brand}/${t.version}`)).join(" "):navigator.userAgent}())){const{getClippingRect:t,getElementRects:n,getOffsetParent:e}=await import("./p-e43eea78.js");Z.getClippingRect=t,Z.getOffsetParent=e,Z.getElementRects=n}}(),nt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],et="bottom-start",ot={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function rt({placement:t,disableFlip:n,flipPlacements:e,offsetDistance:l,offsetSkidding:c,arrowEl:u,type:d}){const p=[(void 0===y&&(y={}),{name:"shift",options:y,async fn(t){const{x:n,y:e,placement:r}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...c}=y,u={x:n,y:e},d=await f(t,c),p=i(o(r)),g="x"===p?"y":"x";let x=u[p],h=u[g];a&&(x=m(x+d["y"===p?"top":"left"],x,x-d["y"===p?"bottom":"right"])),l&&(h=m(h+d["y"===g?"top":"left"],h,h-d["y"===g?"bottom":"right"]));const w=s.fn({...t,[p]:x,[g]:h});return{...w,data:{x:w.x-n,y:w.y-e}}}}),R()];var y,x;if("menu"===d)return[...p,b({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===d||"tooltip"===d){const d=[...p,(x={mainAxis:"number"==typeof l?l:0,crossAxis:"number"==typeof c?c:0},void 0===x&&(x=0),{name:"offset",options:x,async fn(t){const{x:n,y:e}=t,a=await async function(t,n){const{placement:e,platform:a,elements:l}=t,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=o(e),f=r(e),u="x"===i(e),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:x}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof x&&(g="end"===f?-1*x:x),u?{x:g*m,y:y*d}:{x:y*d,y:g*m}}(t,x);return{x:n+a.x,y:e+a.y,data:a}}})];return"auto"===t||"auto-start"===t||"auto-end"===t?d.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,i,a,l,s;const{x:c,y:u,rects:d,middlewareData:m,placement:p,platform:y,elements:x}=n,{alignment:w=null,allowedPlacements:b=v,autoAlignment:A=!0,...P}=t,R=function(t,n,e){return(t?[...e.filter((n=>r(n)===t)),...e.filter((n=>r(n)!==t))]:e.filter((t=>o(t)===t))).filter((e=>!t||r(e)===t||!!n&&h(e)!==e))}(w,A,b),k=await f(n,P),E=null!=(e=null==(i=m.autoPlacement)?void 0:i.index)?e:0,D=R[E];if(null==D)return{};const{main:F,cross:M}=g(D,d,await(null==y.isRTL?void 0:y.isRTL(x.floating)));if(p!==D)return{x:c,y:u,reset:{placement:R[0]}};const O=[k[o(D)],k[F],k[M]],$=[...null!=(a=null==(l=m.autoPlacement)?void 0:l.overflows)?a:[],{placement:D,overflows:O}],T=R[E+1];if(T)return{data:{index:E+1,overflows:$},reset:{placement:T}};const j=$.slice().sort(((t,n)=>t.overflows[0]-n.overflows[0])),S=null==(s=j.find((t=>{let{overflows:n}=t;return n.every((t=>t<=0))})))?void 0:s.placement,B=null!=S?S:j[0].placement;return B!==p?{data:{index:E+1,overflows:$},reset:{placement:B}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||d.push(b(e?{fallbackPlacements:e}:{})),u&&d.push((t=>({name:"arrow",options:t,async fn(n){const{element:e,padding:o=0}=null!=t?t:{},{x:l,y:c,placement:f,rects:u,platform:d}=n;if(null==e)return{};const p=s(o),y={x:l,y:c},g=i(f),x=r(f),h=a(g),w=await d.getDimensions(e),v="y"===g?"top":"left",b="y"===g?"bottom":"right",A=u.reference[h]+u.reference[g]-y[g]-u.floating[h],P=y[g]-u.reference[g],R=await(null==d.getOffsetParent?void 0:d.getOffsetParent(e));let k=R?"y"===g?R.clientHeight||0:R.clientWidth||0:0;0===k&&(k=u.floating[h]);const E=p[v],D=k-w[h]-p[b],F=k/2-w[h]/2+(A/2-P/2),M=m(E,F,D);return{[g]:y[g]-(("start"===x?p[v]:p[b])>0&&F!==M&&u.reference[h]<=u.floating[h]?F<E?E-F:D-F:0),data:{[g]:M,centerOffset:F-M}}}}))({element:u})),d}return[]}function it(t,n){const e=t.filter((t=>nt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${nt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function at(t,e){const o=["left","right"];return"rtl"===n(t)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function lt(t,n,e=!1){if(t.open)return e?st(n):ct(n)}const st=e(ct,100,{leading:!0,maxWait:100});async function ct({referenceEl:t,floatingEl:n,overlayPositioning:e="absolute",placement:o,disableFlip:r,flipPlacements:i,offsetDistance:a,offsetSkidding:s,includeArrow:c=!1,arrowEl:f,type:u}){if(!t||!n||c&&!f)return null;await tt;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await(x=t,h=n,w={strategy:e,placement:"auto"===o||"auto-start"===o||"auto-end"===o?void 0:at(n,o),middleware:rt({placement:o,disableFlip:r,flipPlacements:i,offsetDistance:a,offsetSkidding:s,arrowEl:f,type:u})},(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,s=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let f=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=l(f,o,c),m=o,p={},y=0;for(let e=0;e<s.length;e++){const{name:i,fn:g}=s[e],{x,y:h,data:w,reset:v}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:a,elements:{reference:t,floating:n}});u=null!=x?x:u,d=null!=h?h:d,p={...p,[i]:{...p[i],...w}},v&&y<=50&&(y++,"object"==typeof v&&(v.placement&&(m=v.placement),v.rects&&(f=!0===v.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):v.rects),({x:u,y:d}=l(f,m,c))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(x,h,{platform:Z,...w}));var x,h,w;if(g?.arrow){const{x:t,y:n}=g.arrow;Object.assign(f.style,{left:null!=t?`${t}px`:"",top:null!=n?`${n}px`:""})}const v=g?.hide?.referenceHidden?"hidden":null,b=v?"none":null;n.setAttribute("data-placement",p);const A=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(n.style,{visibility:v,pointerEvents:b,position:y,top:"0",left:"0",transform:A})}const ft=new WeakMap;function ut(t,n,e){if(!e||!n)return;dt(t,n,e);const o=t.overlayPositioning;Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:o}),"absolute"===o&&xt(e),ft.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&&!l,c=s||i?[...$(t)?K(t):t.contextElement?K(t.contextElement):[],...K(n)]:[];c.forEach((t=>{s&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));let f,u=null;if(a){let o=!0;u=new ResizeObserver((()=>{o||e(),o=!1})),$(t)&&!l&&u.observe(t),$(t)||!t.contextElement||l||u.observe(t.contextElement),u.observe(n)}let d=l?W(t):null;return l&&function n(){const o=W(t);!d||o.x===d.x&&o.y===d.y&&o.width===d.width&&o.height===d.height||e(),d=o,f=requestAnimationFrame(n)}(),e(),()=>{var t;c.forEach((t=>{s&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),null==(t=u)||t.disconnect(),u=null,l&&cancelAnimationFrame(f)}}(n,e,(()=>t.reposition())))}function dt(t,n,e){if(!e||!n)return;yt(e).removeEventListener("transitionend",gt);const o=ft.get(t);o&&o(),ft.delete(t)}const mt=Math.ceil(Math.hypot(4,4));function pt(t){t&&"absolute"===t.style.position&&yt(t).addEventListener("transitionend",gt)}function yt(t){return t.shadowRoot||t}function gt(n){const e=n.target;if("opacity"===n.propertyName&&e.classList.contains(ot.animation)){const n=function(n){return t(n,"[data-placement]")}(e);xt(n),yt(n).removeEventListener("transitionend",gt)}}function xt(t){t.style.transform="",t.style.top="0",t.style.left="0"}export{ot as F,dt as a,mt as b,ut as c,et as d,c as e,it as f,lt as r,pt as u}
@@ -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.0.0-next.659
5
+ */
6
+ import{r as t,c as i,h as a,g as e,F as n}from"./p-6161a934.js";import{c}from"./p-94ce16ab.js";import{f as o}from"./p-47f8d67f.js";import{c as r,d as s}from"./p-18d7672f.js";import{c as l,d as m,a as d,H as h}from"./p-5e81ca24.js";import{u as p}from"./p-3136fc1f.js";import{s as u,a as f,c as g}from"./p-5f2b55ab.js";import"./p-c094a79d.js";import"./p-8db81f9f.js";const b=class{constructor(a){t(this,a),this.calciteInternalOptionChange=i(this,"calciteInternalOptionChange",6),this.mutationObserver=c("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()})),this.disabled=!1,this.label=void 0,this.selected=void 0,this.value=void 0}handlePropChange(t,i,a){"label"!==a&&"value"!==a||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:t}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=t,this.internallySetLabel=t),this.value&&this.value!==this.internallySetValue||(this.value=t,this.internallySetValue=t)}connectedCallback(){this.ensureTextContentDependentProps(),this.mutationObserver?.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){return a("slot",null,this.label)}get el(){return e(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};b.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-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{display:block}";const v=class{constructor(a){t(this,a),this.calciteInternalOptionGroupChange=i(this,"calciteInternalOptionGroupChange",6),this.disabled=!1,this.label=void 0}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return a(n,null,a("div",null,this.label),a("slot",null))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};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{display:block}";function y(t){return"CALCITE-OPTION"===t.tagName}const w=class{constructor(a){t(this,a),this.calciteSelectChange=i(this,"calciteSelectChange",6),this.componentToNativeEl=new Map,this.mutationObserver=c("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const t=Array.from(this.el.children).filter((t=>"CALCITE-OPTION"===t.tagName||"CALCITE-OPTION-GROUP"===t.tagName));this.clearInternalSelect(),t.forEach((t=>this.selectEl?.append(this.toNativeElement(t))))},this.storeSelectRef=t=>{this.selectEl=t,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()},this.disabled=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=null,this.selectedOption=void 0,this.width="auto"}valueHandler(t){this.el.querySelectorAll("calcite-option").forEach((i=>i.selected=i.value===t))}selectedOptionHandler(t){this.value=t?.value}connectedCallback(){const{el:t}=this;this.mutationObserver?.observe(t,{subtree:!0,childList:!0}),r(this),l(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),s(this),m(this)}componentWillLoad(){u(this)}componentDidLoad(){f(this),d(this,this.selectedOption?.value??"")}componentDidRender(){p(this)}async setFocus(){await g(this),o(this.selectEl)}handleOptionOrGroupChange(t){t.stopPropagation();const i=t.target,a=this.componentToNativeEl.get(i);a&&(this.updateNativeElement(i,a),y(i)&&i.selected&&(this.deselectAllExcept(i),this.selectedOption=i))}onLabelClick(){this.setFocus()}updateNativeElement(t,i){if(i.disabled=t.disabled,i.label=t.label,y(t)){const a=i;a.selected=t.selected,a.value=t.value,a.innerText=t.label}}clearInternalSelect(){this.componentToNativeEl.forEach((t=>t.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(t){if(!t)return;let i;this.componentToNativeEl.forEach(((a,e)=>{y(e)&&a===t&&(e.selected=!0,i=e,this.deselectAllExcept(e))})),i&&(this.selectedOption=i)}toNativeElement(t){if(y(t)){const i=document.createElement("option");return this.updateNativeElement(t,i),this.componentToNativeEl.set(t,i),i}if(function(t){return"CALCITE-OPTION-GROUP"===t.tagName}(t)){const i=document.createElement("optgroup");return this.updateNativeElement(t,i),Array.from(t.children).forEach((a=>{const e=this.toNativeElement(a);i.append(e),this.componentToNativeEl.set(t,e)})),this.componentToNativeEl.set(t,i),i}throw new Error("unsupported element child provided")}deselectAllExcept(t){this.el.querySelectorAll("calcite-option").forEach((i=>{i!==t&&(i.selected=!1)}))}renderChevron(){return a("div",{class:"icon-container"},a("calcite-icon",{class:"icon",icon:"chevron-down",scale:"s"}))}render(){return a(n,null,a("select",{"aria-label":this.label,class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},a("slot",null)),this.renderChevron(),a(h,{component:this}))}get el(){return e(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};w.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}}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){block-size:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){block-size:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{b as calcite_option,v as calcite_option_group,w as calcite_select}
@@ -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.0.0-next.657
4
+ * v1.0.0-next.659
5
5
  */
6
- import{r as a,c as t,h as i,H as o,g as n}from"./p-7cb5d8cd.js";import{t as e,E as r}from"./p-583da49f.js";import{f as c,g as s}from"./p-b574f974.js";import{c as l,d}from"./p-4914040b.js";import{s as p,a as m,c as h}from"./p-07e367a3.js";import"./p-909d2d6c.js";import"./p-ee7b824c.js";import"./p-c549a324.js";import"./p-aec30122.js";import"./p-26dd4af1.js";const x=class{constructor(i){a(this,i),this.calciteActionPadToggle=t(this,"calciteActionPadToggle",6),this.actionMenuOpenChangeHandler=a=>{if(a.target.menuOpen){const t=a.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((a=>{t.includes(a)||(a.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.setExpandToggleRef=a=>{this.expandToggleEl=a},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.intlExpand=void 0,this.intlCollapse=void 0,this.position=void 0,this.scale=void 0}expandedHandler(a){e({parent:this.el,expanded:a})}connectedCallback(){l(this)}disconnectedCallback(){d(this)}componentWillLoad(){p(this);const{el:a,expanded:t}=this;e({parent:a,expanded:t})}componentDidLoad(){m(this)}async setFocus(a){await h(this),"expand-toggle"!==a?this.el?.focus():await c(this.expandToggleEl)}renderBottomActionGroup(){const{expanded:a,expandDisabled:t,intlExpand:o,intlCollapse:n,el:e,position:c,toggleExpand:l,scale:d,layout:p}=this,m=s(e,"expand-tooltip"),h=t?null:i(r,{el:e,expanded:a,intlCollapse:n||"Collapse",intlExpand:o||"Expand",position:c,ref:this.setExpandToggleRef,scale:d,toggle:l,tooltip:m});return h?i("calcite-action-group",{class:"action-group--bottom",layout:p,scale:d},i("slot",{name:"expand-tooltip"}),h):null}render(){return i(o,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("div",{class:"container"},i("slot",null),this.renderBottomActionGroup()))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"]}}};x.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-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}}: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)}:host([hidden]){display:none}:host{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--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)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}";export{x as calcite_action_pad}
6
+ import{r as a,c as t,h as i,H as o,g as n}from"./p-6161a934.js";import{t as e,E as r}from"./p-8f14fda2.js";import{f as c,g as l}from"./p-47f8d67f.js";import{c as s,d}from"./p-9e53082b.js";import{s as p,a as m,c as h}from"./p-5f2b55ab.js";import"./p-12c5cd9d.js";import"./p-60dc0988.js";import"./p-c094a79d.js";import"./p-8db81f9f.js";import"./p-94ce16ab.js";const x=class{constructor(i){a(this,i),this.calciteActionPadToggle=t(this,"calciteActionPadToggle",6),this.actionMenuOpenChangeHandler=a=>{if(a.target.menuOpen){const t=a.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((a=>{t.includes(a)||(a.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.setExpandToggleRef=a=>{this.expandToggleEl=a},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.intlExpand=void 0,this.intlCollapse=void 0,this.position=void 0,this.scale=void 0}expandedHandler(a){e({parent:this.el,expanded:a})}connectedCallback(){s(this)}disconnectedCallback(){d(this)}componentWillLoad(){p(this);const{el:a,expanded:t}=this;e({parent:a,expanded:t})}componentDidLoad(){m(this)}async setFocus(a){await h(this),"expand-toggle"!==a?this.el?.focus():await c(this.expandToggleEl)}renderBottomActionGroup(){const{expanded:a,expandDisabled:t,intlExpand:o,intlCollapse:n,el:e,position:c,toggleExpand:s,scale:d,layout:p}=this,m=l(e,"expand-tooltip"),h=t?null:i(r,{el:e,expanded:a,intlCollapse:n||"Collapse",intlExpand:o||"Expand",position:c,ref:this.setExpandToggleRef,scale:d,toggle:s,tooltip:m});return h?i("calcite-action-group",{class:"action-group--bottom",layout:p,scale:d},i("slot",{name:"expand-tooltip"}),h):null}render(){return i(o,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("div",{class:"container"},i("slot",null),this.renderBottomActionGroup()))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"]}}};x.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-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}}: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{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--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)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}";export{x as calcite_action_pad}
@@ -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.0.0-next.659
5
+ */
6
+ import{r as t,h as i,F as e,g as n}from"./p-6161a934.js";import{g as a}from"./p-47f8d67f.js";import{c as o,d as c}from"./p-9e53082b.js";import{u as r}from"./p-3136fc1f.js";import"./p-c094a79d.js";import"./p-8db81f9f.js";import"./p-94ce16ab.js";const s=class{constructor(i){t(this,i),this.active=!1,this.description=void 0,this.disabled=!1,this.embed=!1,this.focused=!1,this.heading=void 0,this.hidden=!1,this.href=void 0,this.icon=void 0}connectedCallback(){o(this)}disconnectedCallback(){c(this)}componentDidRender(){r(this)}renderTile(){const{icon:t,el:e,heading:n,description:o}=this,c=n&&t&&!o;return i("div",{class:{container:!0,"large-visual":c}},t&&i("div",{class:"icon"},i("calcite-icon",{icon:t,scale:"l",style:c?{height:"64px",width:"64px"}:void 0})),i("div",{class:"content-container"},a(e,"content-start")?i("div",{class:"content-slot-container"},i("slot",{name:"content-start"})):null,i("div",{class:"content"},n&&i("div",{class:"heading"},n),o&&i("div",{class:"description"},o)),a(e,"content-end")?i("div",{class:"content-slot-container"},i("slot",{name:"content-end"})):null))}render(){return i(e,null,this.href?i("calcite-link",{disabled:this.disabled,href:this.href},this.renderTile()):this.renderTile())}get el(){return n(this)}};s.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]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{box-sizing:border-box;display:inline-block;-webkit-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .container{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}:host .content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;gap:0.5rem;inline-size:10%}:host .content-container{display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}:host .content-slot-container{display:flex;align-items:center;background-color:var(--calcite-ui-foreground-1)}:host .content-slot-container:first-child{padding-inline:0 0.75rem}:host .content-slot-container:last-child{padding-inline:0.75rem 0}:host .heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .large-visual{align-items:center;text-align:center;min-block-size:12rem}:host .large-visual .icon{display:flex;justify-content:center;align-self:flex-end}:host .large-visual .content-container{align-self:center}:host .description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host(:not([embed])){padding:0.75rem;box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0px}:host([icon][heading]:not([description])) .icon{display:flex;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}";export{s as calcite_tile}
@@ -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.0.0-next.657
4
+ * v1.0.0-next.659
5
5
  */
6
6
  const t=()=>[2,1,1,1,3].map((t=>{let e="";for(let r=0;r<t;r++)e+=(65536*(1+Math.random())|0).toString(16).substring(1);return e})).join("-");export{t as g}
@@ -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.0.0-next.659
5
+ */
6
+ import{r as t,c as i,h as n,g as e}from"./p-6161a934.js";import{g as a}from"./p-8db81f9f.js";import{u as o}from"./p-3136fc1f.js";import{c,s as l,a as s}from"./p-5f2b55ab.js";const r=class{constructor(n){t(this,n),this.calciteTileSelectChange=i(this,"calciteTileSelectChange",6),this.guid=`calcite-tile-select-${a()}`,this.checked=!1,this.description=void 0,this.disabled=!1,this.heading=void 0,this.hidden=!1,this.icon=void 0,this.name=void 0,this.inputEnabled=!1,this.inputAlignment="start",this.type="radio",this.value=void 0,this.width="auto",this.focused=!1}checkedChanged(t){this.input.checked=t}nameChanged(t){this.input.name=t}async setFocus(){await c(this),this.input?.setFocus()}checkboxChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}checkboxFocusBlurHandler(t){t.target===this.input&&(this.focused=t.detail),t.stopPropagation()}radioButtonChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}radioButtonCheckedChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation()}radioButtonFocusBlurHandler(t){const i=t.target;i===this.input&&(this.focused=i.focused),t.stopPropagation()}click(t){["calcite-tile","calcite-tile-select"].includes(t.target.localName)&&this.input.click()}mouseenter(){"calcite-radio-button"===this.input.localName&&(this.input.hovered=!0),"calcite-checkbox"===this.input.localName&&(this.input.hovered=!0)}mouseleave(){"calcite-radio-button"===this.input.localName&&(this.input.hovered=!1),"calcite-checkbox"===this.input.localName&&(this.input.hovered=!1)}connectedCallback(){this.renderInput()}componentWillLoad(){l(this)}componentDidLoad(){s(this)}disconnectedCallback(){this.input.parentNode.removeChild(this.input)}componentDidRender(){o(this)}renderInput(){this.input=document.createElement("radio"===this.type?"calcite-radio-button":"calcite-checkbox"),this.input.checked=this.checked,this.input.disabled=this.disabled,this.input.hidden=this.hidden,this.input.id=this.guid,this.input.label=this.heading||this.name||"",this.name&&(this.input.name=this.name),this.value&&(this.input.value=null!=this.value?this.value.toString():""),this.el.insertAdjacentElement("beforeend",this.input)}render(){const{checked:t,description:i,disabled:e,focused:a,heading:o,icon:c,inputAlignment:l,inputEnabled:s,width:r}=this;return n("div",{class:{checked:t,container:!0,description:Boolean(i),"description-only":Boolean(!o&&!c&&i),disabled:e,focused:a,heading:Boolean(o),"heading-only":o&&!c&&!i,icon:Boolean(c),"icon-only":!o&&c&&!i,"input-alignment-end":"end"===l,"input-alignment-start":"start"===l,"input-enabled":s,"large-visual":o&&c&&!i,"width-auto":"auto"===r,"width-full":"full"===r}},n("calcite-tile",{active:t,description:i,embed:!0,heading:o,icon:c}),n("slot",null))}get el(){return e(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};r.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]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:block}:host .container{background-color:var(--calcite-ui-foreground-1);box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-sizing:border-box;cursor:pointer;display:inline-block;block-size:100%;max-inline-size:300px;padding:0.75rem;position:relative;vertical-align:top;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .container.checked{z-index:1;box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host .container.heading-only{align-items:center}:host .container:not(.input-enabled) ::slotted(calcite-checkbox),:host .container:not(.input-enabled) ::slotted(calcite-radio-button){position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host .container.focused{outline-color:transparent}:host .container.focused:not(.disabled):not(.input-enabled){outline:2px solid var(--calcite-ui-brand);outline-offset:-4px;box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1)}:host .container.input-enabled.input-alignment-start.width-auto.heading-only,:host .container.input-enabled.input-alignment-start.width-auto.icon-only,:host .container.input-enabled.input-alignment-start.width-auto.description-only,:host .container.input-enabled.input-alignment-start.width-auto.heading.description,:host .container.input-enabled.input-alignment-start.width-auto.icon.description,:host .container.input-enabled.input-alignment-start.width-auto.heading.icon.description{display:inline-grid;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-start.heading-only,:host .container.input-enabled.input-alignment-start.icon-only,:host .container.input-enabled.input-alignment-start.description-only,:host .container.input-enabled.input-alignment-start.heading.description,:host .container.input-enabled.input-alignment-start.icon.description,:host .container.input-enabled.input-alignment-start.heading.icon.description{gap:0.75rem}:host .container.input-enabled.input-alignment-start calcite-tile{order:1}:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-start:0.75rem}:host .container.input-enabled.input-alignment-end.width-auto.heading-only,:host .container.input-enabled.input-alignment-end.width-auto.icon-only{display:inline-grid;grid-gap:0.75rem;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-end.heading-only,:host .container.input-enabled.input-alignment-end.icon-only{gap:0.75rem}:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.width-full{display:flex;max-inline-size:none}:host .container.width-full calcite-tile{flex:1 1 auto}:host(:hover) .container:not(.input-enabled){box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";const d=class{constructor(i){t(this,i),this.disabled=!1,this.layout="horizontal"}componentDidRender(){o(this)}render(){return n("slot",null)}get el(){return e(this)}};d.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-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]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-block-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{r as calcite_tile_select,d as calcite_tile_select_group}
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.657
4
+ * v1.0.0-next.659
5
5
  */
6
- import{f as n}from"./p-b574f974.js";
6
+ import{f as n}from"./p-47f8d67f.js";
7
7
  /*!
8
8
  * tabbable 6.0.1
9
9
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.657
4
+ * v1.0.0-next.659
5
5
  */
6
- import{f as t,h as o}from"./p-7cb5d8cd.js";import{a as e}from"./p-b574f974.js";import{S as n}from"./p-909d2d6c.js";import{S as a}from"./p-ee7b824c.js";const i=150,c=t=>t.reduce(((t,o)=>t+o),0)/t.length,l=t=>{const o=t?.length;return{actionWidth:o?c(t.map((t=>t.clientWidth||0))):0,actionHeight:o?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:o,actionWidth:e,width:n,actionHeight:a,height:i,groupCount:c})=>Math.max(o-(({width:t,actionWidth:o,layout:e,height:n,actionHeight:a,groupCount:i})=>Math.floor((("horizontal"===e?t:n)-2*i)/("horizontal"===e?o:a)))({width:n,actionWidth:e,layout:t,height:i,actionHeight:a,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),p=({actionGroups:o,expanded:e,overflowCount:n})=>{let i=n;o.reverse().forEach((o=>{let n=0;const c=s(o).reverse();c.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=e)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&i--),i<1))),t(o)}))};function h({parent:t,expanded:o}){s(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=o)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=o))}const d=({expanded:t,intlExpand:n,intlCollapse:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const h="rtl"===e(c),d=t?a:n,u=["chevrons-left","chevrons-right"];h&&u.reverse();const f="end"===function(t,o){return t||o.closest("calcite-shell-panel")?.position||"start"}(l,c);return o("calcite-action",{icon:t?f?u[1]:u[0]:f?u[0]:u[1],onClick:i,ref:o=>(({tooltip:t,referenceElement:o,expanded:e,ref:n})=>(t&&(t.referenceElement=!e&&o?o:null),n&&n(o),o))({tooltip:r,referenceElement:o,expanded:t,ref:s}),scale:p,text:d,textEnabled:t})};export{d as E,p as a,r as b,l as g,i as o,s as q,h as t}
6
+ import{f as t,h as o}from"./p-6161a934.js";import{a as e}from"./p-47f8d67f.js";import{S as n}from"./p-12c5cd9d.js";import{S as a}from"./p-60dc0988.js";const i=150,c=t=>t.reduce(((t,o)=>t+o),0)/t.length,l=t=>{const o=t?.length;return{actionWidth:o?c(t.map((t=>t.clientWidth||0))):0,actionHeight:o?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:o,actionWidth:e,width:n,actionHeight:a,height:i,groupCount:c})=>Math.max(o-(({width:t,actionWidth:o,layout:e,height:n,actionHeight:a,groupCount:i})=>Math.floor((("horizontal"===e?t:n)-2*i)/("horizontal"===e?o:a)))({width:n,actionWidth:e,layout:t,height:i,actionHeight:a,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),p=({actionGroups:o,expanded:e,overflowCount:n})=>{let i=n;o.reverse().forEach((o=>{let n=0;const c=s(o).reverse();c.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=e)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&i--),i<1))),t(o)}))};function h({parent:t,expanded:o}){s(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=o)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=o))}const d=({expanded:t,intlExpand:n,intlCollapse:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const h="rtl"===e(c),d=t?a:n,u=["chevrons-left","chevrons-right"];h&&u.reverse();const f="end"===function(t,o){return t||o.closest("calcite-shell-panel")?.position||"start"}(l,c);return o("calcite-action",{icon:t?f?u[1]:u[0]:f?u[0]:u[1],onClick:i,ref:o=>(({tooltip:t,referenceElement:o,expanded:e,ref:n})=>(t&&(t.referenceElement=!e&&o?o:null),n&&n(o),o))({tooltip:r,referenceElement:o,expanded:t,ref:s}),scale:p,text:d,textEnabled:t})};export{d as E,p as a,r as b,l as g,i as o,s as q,h as t}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.657
4
+ * v1.0.0-next.659
5
5
  */
6
6
  var t="object"==typeof global&&global&&global.Object===Object&&global,n="object"==typeof self&&self&&self.Object===Object&&self,r=t||n||Function("return this")(),e=r.Symbol,o=Object.prototype,i=o.hasOwnProperty,u=o.toString,f=e?e.toStringTag:void 0,a=Object.prototype.toString,c=e?e.toStringTag:void 0;function v(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?function(t){var n=i.call(t,f),r=t[f];try{t[f]=void 0;var e=!0}catch(t){}var o=u.call(t);return e&&(n?t[f]=r:delete t[f]),o}(t):function(t){return a.call(t)}(t)}function l(t){return null!=t&&"object"==typeof t}function s(t){return"symbol"==typeof t||l(t)&&"[object Symbol]"==v(t)}var b=/\s/,d=/^\s+/;function p(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var y=/^[-+]0x[0-9a-f]+$/i,j=/^0b[01]+$/i,m=/^0o[0-7]+$/i,T=parseInt;function g(t){if("number"==typeof t)return t;if(s(t))return NaN;if(p(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=p(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;var r;t=(r=t)?r.slice(0,function(t){for(var n=t.length;n--&&b.test(t.charAt(n)););return n}(r)+1).replace(d,""):r;var e=j.test(t);return e||m.test(t)?T(t.slice(2),e?2:8):y.test(t)?NaN:+t}var h=function(){return r.Date.now()},N=Math.max,O=Math.min;function x(t,n,r){var e,o,i,u,f,a,c=0,v=!1,l=!1,s=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function b(n){var r=e,i=o;return e=o=void 0,c=n,u=t.apply(i,r)}function d(t){return c=t,f=setTimeout(j,n),v?b(t):u}function y(t){var r=t-a;return void 0===a||r>=n||r<0||l&&t-c>=i}function j(){var t=h();if(y(t))return m(t);f=setTimeout(j,function(t){var r=n-(t-a);return l?O(r,i-(t-c)):r}(t))}function m(t){return f=void 0,s&&e?b(t):(e=o=void 0,u)}function T(){var t=h(),r=y(t);if(e=arguments,o=this,a=t,r){if(void 0===f)return d(a);if(l)return clearTimeout(f),f=setTimeout(j,n),b(a)}return void 0===f&&(f=setTimeout(j,n)),u}return n=g(n)||0,p(r)&&(v=!!r.leading,i=(l="maxWait"in r)?N(g(r.maxWait)||0,n):i,s="trailing"in r?!!r.trailing:s),T.cancel=function(){void 0!==f&&clearTimeout(f),c=0,e=a=o=f=void 0},T.flush=function(){return void 0===f?u:m(h())},T}export{e as S,s as a,v as b,l as c,x as d,t as f,p as i,r}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.657
4
+ * v1.0.0-next.659
5
5
  */
6
6
  function t(t,s,n){return new(function(t){class s extends window.MutationObserver{constructor(t){super(t),this.observedEntry=[],this.callback=t}observe(t,s){return this.observedEntry.push({target:t,options:s}),super.observe(t,s)}unobserve(t){const s=this.observedEntry.filter((s=>s.target!==t));this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),s.forEach((t=>this.observe(t.target,t.options)))}}return"intersection"===t?window.IntersectionObserver:"mutation"===t?s:window.ResizeObserver}(t))(s,n)}export{t as c}
@@ -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.0.0-next.657
4
+ * v1.0.0-next.659
5
5
  */
6
- import{r as t,c as i,h as a,g as n}from"./p-7cb5d8cd.js";import{S as e}from"./p-c2dc7ce2.js";import{c as s}from"./p-26dd4af1.js";import{u as c}from"./p-15592f63.js";const r=class{constructor(a){t(this,a),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=s("mutation",(()=>{this.cleanUpDragAndDrop(),this.items=Array.from(this.el.children),this.setUpDragAndDrop()})),this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1,this.handleActivated=!1}connectedCallback(){this.items=Array.from(this.el.children),this.setUpDragAndDrop(),this.beginObserving()}disconnectedCallback(){this.mutationObserver?.disconnect(),this.cleanUpDragAndDrop()}componentDidRender(){c(this)}calciteHandleNudgeHandler(t){const i=this.items.find((i=>i.contains(t.detail.handle)||t.composedPath().includes(i))),a=this.items.length-1,n=this.items.indexOf(i);let e,s=!1;switch(t.detail.direction){case"up":t.preventDefault(),0===n?s=!0:e=n-1;break;case"down":t.preventDefault(),n===a?e=0:n===a-1?s=!0:e=n+2;break;default:return}this.mutationObserver?.disconnect(),s?i.parentElement.appendChild(i):i.parentElement.insertBefore(i,this.items[e]),this.items=Array.from(this.el.children),t.detail.handle.activated=!0,t.detail.handle.setFocus(),this.beginObserving()}setUpDragAndDrop(){this.cleanUpDragAndDrop();const t={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:()=>{this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()},onStart:()=>{this.mutationObserver?.disconnect()},onEnd:()=>{this.beginObserving()}};this.dragSelector&&(t.draggable=this.dragSelector),this.sortable=e.create(this.el,t)}cleanUpDragAndDrop(){this.sortable?.destroy(),this.sortable=null}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}render(){const{layout:t}=this,i="horizontal"===t||!1;return a("div",{class:{container:!0,"container--vertical":!i,"container--horizontal":i}},a("slot",null))}get el(){return n(this)}};r.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)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}";export{r as calcite_sortable_list}
6
+ import{r as t,c as i,h as a,g as n}from"./p-6161a934.js";import{S as e}from"./p-68be4bcd.js";import{c as s}from"./p-94ce16ab.js";import{u as c}from"./p-3136fc1f.js";const r=class{constructor(a){t(this,a),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=s("mutation",(()=>{this.cleanUpDragAndDrop(),this.items=Array.from(this.el.children),this.setUpDragAndDrop()})),this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1,this.handleActivated=!1}connectedCallback(){this.items=Array.from(this.el.children),this.setUpDragAndDrop(),this.beginObserving()}disconnectedCallback(){this.mutationObserver?.disconnect(),this.cleanUpDragAndDrop()}componentDidRender(){c(this)}calciteHandleNudgeHandler(t){const i=this.items.find((i=>i.contains(t.detail.handle)||t.composedPath().includes(i))),a=this.items.length-1,n=this.items.indexOf(i);let e,s=!1;switch(t.detail.direction){case"up":t.preventDefault(),0===n?s=!0:e=n-1;break;case"down":t.preventDefault(),n===a?e=0:n===a-1?s=!0:e=n+2;break;default:return}this.mutationObserver?.disconnect(),s?i.parentElement.appendChild(i):i.parentElement.insertBefore(i,this.items[e]),this.items=Array.from(this.el.children),t.detail.handle.activated=!0,t.detail.handle.setFocus(),this.beginObserving()}setUpDragAndDrop(){this.cleanUpDragAndDrop();const t={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:()=>{this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()},onStart:()=>{this.mutationObserver?.disconnect()},onEnd:()=>{this.beginObserving()}};this.dragSelector&&(t.draggable=this.dragSelector),this.sortable=e.create(this.el,t)}cleanUpDragAndDrop(){this.sortable?.destroy(),this.sortable=null}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}render(){const{layout:t}=this,i="horizontal"===t||!1;return a("div",{class:{container:!0,"container--vertical":!i,"container--horizontal":i}},a("slot",null))}get el(){return n(this)}};r.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]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}";export{r as calcite_sortable_list}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.657
4
+ * v1.0.0-next.659
5
5
  */
6
- import{r as t,c as i,h as a,H as o,g as e}from"./p-7cb5d8cd.js";import{t as n,o as s,q as r,g as c,a as l,E as d,b as h}from"./p-583da49f.js";import{f as p,g as m}from"./p-b574f974.js";import{c as u}from"./p-26dd4af1.js";import{c as f,d as x}from"./p-4914040b.js";import{s as b,a as g,c as y}from"./p-07e367a3.js";import{d as v}from"./p-7b427f93.js";import"./p-909d2d6c.js";import"./p-ee7b824c.js";import"./p-c549a324.js";import"./p-aec30122.js";const w=class{constructor(a){t(this,a),this.calciteActionBarToggle=i(this,"calciteActionBarToggle",6),this.mutationObserver=u("mutation",(()=>{const{el:t,expanded:i}=this;n({parent:t,expanded:i}),this.conditionallyOverflowActions()})),this.resizeObserver=u("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenChangeHandler=t=>{if(t.target.menuOpen){const i=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{i.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:i,height:a}=t.contentRect;this.resize({width:i,height:a})},this.resize=v((({width:t,height:i})=>{const{el:a,expanded:o,expandDisabled:e,layout:n}=this;if("vertical"===n&&!i||"horizontal"===n&&!t)return;const s=r(a),d=e?s.length:s.length+1,p=Array.from(a.querySelectorAll("calcite-action-group")),u=m(a,"bottom-actions")||!e?p.length+1:p.length,{actionHeight:f,actionWidth:x}=c(s),b=h({layout:n,actionCount:d,actionHeight:f,actionWidth:x,height:i,width:t,groupCount:u});l({actionGroups:p,expanded:o,overflowCount:b})}),s),this.conditionallyOverflowActions=()=>{this.overflowActionsDisabled||this.overflowActions()},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.expandDisabled=!1,this.expanded=!1,this.intlExpand=void 0,this.intlCollapse=void 0,this.layout="vertical",this.overflowActionsDisabled=!1,this.position=void 0,this.scale=void 0}expandHandler(){this.conditionallyOverflowActions()}expandedHandler(t){n({parent:this.el,expanded:t}),this.conditionallyOverflowActions()}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}componentWillLoad(){b(this)}componentDidLoad(){g(this),this.conditionallyOverflowActions()}connectedCallback(){const{el:t,expanded:i}=this;n({parent:t,expanded:i}),this.mutationObserver?.observe(t,{childList:!0,subtree:!0}),this.overflowActionsDisabled||this.resizeObserver?.observe(t),this.conditionallyOverflowActions(),f(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),x(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(t){await y(this),"expand-toggle"!==t?this.el?.focus():await p(this.expandToggleEl)}renderBottomActionGroup(){const{expanded:t,expandDisabled:i,intlExpand:o,intlCollapse:e,el:n,position:s,toggleExpand:r,scale:c,layout:l}=this,h=m(n,"expand-tooltip"),p=i?null:a(d,{el:n,expanded:t,intlCollapse:e||"Collapse",intlExpand:o||"Expand",position:s,ref:this.setExpandToggleRef,scale:c,toggle:r,tooltip:h});return m(n,"bottom-actions")||p?a("calcite-action-group",{class:"action-group--bottom",layout:l,scale:c},a("slot",{name:"bottom-actions"}),a("slot",{name:"expand-tooltip"}),p):null}render(){return a(o,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},a("slot",null),this.renderBottomActionGroup())}get el(){return e(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}}};w.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}}: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)}:host([hidden]){display:none}:host{pointer-events:auto;display:inline-flex;align-self:stretch;background:transparent;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=horizontal]){flex-direction:row}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-width:0px;border-inline-end-width:1px;border-style:solid}::slotted(calcite-action-group:last-child){border-block-end-width:0px;border-inline-end-width:0px}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px;padding-inline-end:0px}";export{w as calcite_action_bar}
6
+ import{r as t,c as i,h as a,H as o,g as e}from"./p-6161a934.js";import{t as n,o as s,q as r,g as c,a as l,E as d,b as h}from"./p-8f14fda2.js";import{f as p,g as m}from"./p-47f8d67f.js";import{c as u}from"./p-94ce16ab.js";import{c as f,d as x}from"./p-9e53082b.js";import{s as b,a as g,c as y}from"./p-5f2b55ab.js";import{d as v}from"./p-9409bde8.js";import"./p-12c5cd9d.js";import"./p-60dc0988.js";import"./p-c094a79d.js";import"./p-8db81f9f.js";const w=class{constructor(a){t(this,a),this.calciteActionBarToggle=i(this,"calciteActionBarToggle",6),this.mutationObserver=u("mutation",(()=>{const{el:t,expanded:i}=this;n({parent:t,expanded:i}),this.conditionallyOverflowActions()})),this.resizeObserver=u("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenChangeHandler=t=>{if(t.target.menuOpen){const i=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{i.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:i,height:a}=t.contentRect;this.resize({width:i,height:a})},this.resize=v((({width:t,height:i})=>{const{el:a,expanded:o,expandDisabled:e,layout:n}=this;if("vertical"===n&&!i||"horizontal"===n&&!t)return;const s=r(a),d=e?s.length:s.length+1,p=Array.from(a.querySelectorAll("calcite-action-group")),u=m(a,"bottom-actions")||!e?p.length+1:p.length,{actionHeight:f,actionWidth:x}=c(s),b=h({layout:n,actionCount:d,actionHeight:f,actionWidth:x,height:i,width:t,groupCount:u});l({actionGroups:p,expanded:o,overflowCount:b})}),s),this.conditionallyOverflowActions=()=>{this.overflowActionsDisabled||this.overflowActions()},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.expandDisabled=!1,this.expanded=!1,this.intlExpand=void 0,this.intlCollapse=void 0,this.layout="vertical",this.overflowActionsDisabled=!1,this.position=void 0,this.scale=void 0}expandHandler(){this.conditionallyOverflowActions()}expandedHandler(t){n({parent:this.el,expanded:t}),this.conditionallyOverflowActions()}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}componentWillLoad(){b(this)}componentDidLoad(){g(this),this.conditionallyOverflowActions()}connectedCallback(){const{el:t,expanded:i}=this;n({parent:t,expanded:i}),this.mutationObserver?.observe(t,{childList:!0,subtree:!0}),this.overflowActionsDisabled||this.resizeObserver?.observe(t),this.conditionallyOverflowActions(),f(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),x(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(t){await y(this),"expand-toggle"!==t?this.el?.focus():await p(this.expandToggleEl)}renderBottomActionGroup(){const{expanded:t,expandDisabled:i,intlExpand:o,intlCollapse:e,el:n,position:s,toggleExpand:r,scale:c,layout:l}=this,h=m(n,"expand-tooltip"),p=i?null:a(d,{el:n,expanded:t,intlCollapse:e||"Collapse",intlExpand:o||"Expand",position:s,ref:this.setExpandToggleRef,scale:c,toggle:r,tooltip:h});return m(n,"bottom-actions")||p?a("calcite-action-group",{class:"action-group--bottom",layout:l,scale:c},a("slot",{name:"bottom-actions"}),a("slot",{name:"expand-tooltip"}),p):null}render(){return a(o,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},a("slot",null),this.renderBottomActionGroup())}get el(){return e(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}}};w.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}}: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{pointer-events:auto;display:inline-flex;align-self:stretch;background:transparent;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=horizontal]){flex-direction:row}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-width:0px;border-inline-end-width:1px;border-style:solid}::slotted(calcite-action-group:last-child){border-block-end-width:0px;border-inline-end-width:0px}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px;padding-inline-end:0px}";export{w as calcite_action_bar}
@@ -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.0.0-next.659
5
+ */
6
+ import{f as t}from"./p-6161a934.js";import{c as o}from"./p-94ce16ab.js";const n=new Set;let c;const s={childList:!0};function a(t){c||(c=o("mutation",i)),c.observe(t.el,s)}function f(t){n.delete(t.el),i(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,s)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{a as c,f 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.0.0-next.657
4
+ * v1.0.0-next.659
5
5
  */
6
- import{f as t,g as i,t as s}from"./p-b574f974.js";import{g as n}from"./p-dd823906.js";import{d as e}from"./p-7b427f93.js";import{h as a,H as o}from"./p-7cb5d8cd.js";const c={heading:"heading",container:"container",indented:"container--indented"},r={parentItem:"parent-item"};function l(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const h=["ArrowUp","ArrowDown"];function u(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=e(F.bind(this),0),this.emitCalciteListFilter=e(A.bind(this),0)}function f(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}function d(){this.mutationObserver?.disconnect()}function m(i){const{selectedValues:s}=this,{item:n,value:e,selected:a,shiftPressed:o}=i.detail;a?(this.multiple&&o&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),s.set(e,n)):(s.delete(e),this.multiple&&o&&this.selectSiblings(n,!0)),this.multiple||(y(n,a),a&&t(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function p(t){const i=t.detail.oldValue,s=this.selectedValues;if(s.has(i)){const n=s.get(i);s.delete(i),s.set(t.detail.newValue,n)}t.stopPropagation()}function v(t){const{el:i,items:s,multiple:n,selectedValues:e}=this;n||i.contains(t.relatedTarget)||x(s).forEach((i=>{y(i,0===e.size?i.contains(t.target)||t.target===i:i.selected)}))}function g(i){const{key:s,target:n}=i;if(!function(t){return!!h.find((i=>i===t))}(s))return;const{items:e,multiple:a,selectionFollowsFocus:o}=this,{length:c}=e,r=e.indexOf(n);if(!c||-1===r)return;i.preventDefault();const l=e[b(this,n,"ArrowUp"===s?"up":"down")];e.forEach((t=>y(t,t===l))),!a&&o&&(l.selected=!0),t(l)}function b(t,i,s){const{items:e}=t,{length:a}=e,o=e.indexOf(i),c="up"===s?-1:1;let r=1,l=n(o+c*r++,a);const h=l;for(;e[l].disabled&&(l=n(o+c*r++,a),l!==h););return l}function w(t,i){const{items:s}=t;return s.indexOf(i)}function x(t){return t.filter((t=>!t.disabled))}function A(){this.calciteListFilter.emit()}function F(){this.calciteListChange.emit(this.selectedValues)}function E(t){if(t.defaultPrevented)return;const i=t.target,s=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===i.parentElement.tagName&&i.slot===r.parentItem?(i.parentElement.remove(),Array.from(i.parentElement.children).forEach((t=>s.delete(t.value)))):(i.remove(),s.delete(i.value)),this.emitCalciteListChange()}function y(t,i){t.disabled||(i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function C(i){if(this.filterEnabled&&"filter"===i)return void await t(this.filterEl);const{items:s,multiple:n,selectionFollowsFocus:e}=this;if(0===s.length)return;if(n)return x(s)[0]?.setFocus();const a=x(s),o=a.find((t=>t.selected))||a[0];return e&&o&&(o.selected=!0),o.setFocus()}function k(t){this.items=Array.from(this.el.querySelectorAll(t));let i=!1;const{items:s}=this;s.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.disableDeselect=!0,y(t,!1)),t.selected&&(i=!0,y(t,!0),this.selectedValues.set(t.value,t))}));const[n]=s;i||!n||n.disabled||y(n,!0)}function I(){const t=this.selectedValues,i=this.items.map((({value:t})=>t));t.forEach((t=>{i.includes(t.value)||this.selectedValues.delete(t.value)}))}function j(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function S(t,i=!1){if(!this.lastSelectedItem)return;const{items:s}=this,n=s.findIndex((t=>t.value===this.lastSelectedItem.value)),e=s.findIndex((i=>i.value===t.value));s.slice(Math.min(n,e),Math.max(n,e)).forEach((t=>{t.toggleSelected(!i),i?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let T;function L(t=!1){const{filteredData:s,filterText:n}=this,e=s.map((t=>t.value));let a=!1;T||(T=new Set);const o=this.items?.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&T.add(i);const s=!n||e.includes(t.value);return t.hidden=!s,a||(a=s&&t.selected),s}))||[];T.forEach((t=>{const s=o.some((i=>t.contains(i)));if(t.hidden=!s,!s)return;const n=i(t,"parent-item");n&&(n.hidden=!1,o.includes(n)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),T.clear(),o.length>0&&!a&&!this.multiple&&y(o[0],!0),this.setFilteredItems(o),t&&this.emitCalciteListFilter()}function P(){const t=this.filterEl?.filteredItems;t&&(this.filteredData=t),this.handleFilter()}function D(t){t.stopPropagation();const{filteredItems:i,value:s}=t.currentTarget;this.filterText=s,this.filteredData=i,this.handleFilter(!0)}function U(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var q;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(q||(q={}));const M=({props:{disabled:t,loading:i,filterEnabled:n,dataForFilter:e,handleFilterEvent:c,filterPlaceholder:r,filterText:l,setFilterEl:h,dragEnabled:u,storeAssistiveEl:f},...d})=>{const m=a("slot",null);return a(o,{"aria-busy":s(i),role:"menu",...d},a("section",null,u?a("span",{"aria-live":"assertive",class:"assistive-text",ref:f}):null,a("header",{class:{"sticky-pos":!0}},n?a("calcite-filter",{"aria-label":r,disabled:i||t,items:e,onCalciteFilterChange:c,placeholder:r,ref:h,value:l}):null,a("slot",{name:"menu-actions"})),i?a("calcite-scrim",{loading:i}):null,m))},R={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},V={checked:"check",remove:"x"},G={actionsEnd:"actions-end",actionsStart:"actions-start"},H={remove:"Remove"};export{R as C,q as I,M as L,G as S,H as T,j as a,D as b,U as c,I as d,b as e,f,w as g,L as h,u as i,P as j,g as k,d as l,l as m,v as n,m as o,p,k as q,E as r,S as s,C as t,r as u,c as v,V as w}
6
+ import{f as t,g as i,t as s}from"./p-47f8d67f.js";import{g as n}from"./p-23d345a8.js";import{d as e}from"./p-9409bde8.js";import{h as a,H as o}from"./p-6161a934.js";const c={heading:"heading",container:"container",indented:"container--indented"},r={parentItem:"parent-item"};function l(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const h=["ArrowUp","ArrowDown"];function u(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=e(F.bind(this),0),this.emitCalciteListFilter=e(A.bind(this),0)}function f(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}function d(){this.mutationObserver?.disconnect()}function m(i){const{selectedValues:s}=this,{item:n,value:e,selected:a,shiftPressed:o}=i.detail;a?(this.multiple&&o&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),s.set(e,n)):(s.delete(e),this.multiple&&o&&this.selectSiblings(n,!0)),this.multiple||(y(n,a),a&&t(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function p(t){const i=t.detail.oldValue,s=this.selectedValues;if(s.has(i)){const n=s.get(i);s.delete(i),s.set(t.detail.newValue,n)}t.stopPropagation()}function v(t){const{el:i,items:s,multiple:n,selectedValues:e}=this;n||i.contains(t.relatedTarget)||x(s).forEach((i=>{y(i,0===e.size?i.contains(t.target)||t.target===i:i.selected)}))}function g(i){const{key:s,target:n}=i;if(!function(t){return!!h.find((i=>i===t))}(s))return;const{items:e,multiple:a,selectionFollowsFocus:o}=this,{length:c}=e,r=e.indexOf(n);if(!c||-1===r)return;i.preventDefault();const l=e[b(this,n,"ArrowUp"===s?"up":"down")];e.forEach((t=>y(t,t===l))),!a&&o&&(l.selected=!0),t(l)}function b(t,i,s){const{items:e}=t,{length:a}=e,o=e.indexOf(i),c="up"===s?-1:1;let r=1,l=n(o+c*r++,a);const h=l;for(;e[l].disabled&&(l=n(o+c*r++,a),l!==h););return l}function w(t,i){const{items:s}=t;return s.indexOf(i)}function x(t){return t.filter((t=>!t.disabled))}function A(){this.calciteListFilter.emit()}function F(){this.calciteListChange.emit(this.selectedValues)}function E(t){if(t.defaultPrevented)return;const i=t.target,s=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===i.parentElement.tagName&&i.slot===r.parentItem?(i.parentElement.remove(),Array.from(i.parentElement.children).forEach((t=>s.delete(t.value)))):(i.remove(),s.delete(i.value)),this.emitCalciteListChange()}function y(t,i){t.disabled||(i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function C(i){if(this.filterEnabled&&"filter"===i)return void await t(this.filterEl);const{items:s,multiple:n,selectionFollowsFocus:e}=this;if(0===s.length)return;if(n)return x(s)[0]?.setFocus();const a=x(s),o=a.find((t=>t.selected))||a[0];return e&&o&&(o.selected=!0),o.setFocus()}function k(t){this.items=Array.from(this.el.querySelectorAll(t));let i=!1;const{items:s}=this;s.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.disableDeselect=!0,y(t,!1)),t.selected&&(i=!0,y(t,!0),this.selectedValues.set(t.value,t))}));const[n]=s;i||!n||n.disabled||y(n,!0)}function I(){const t=this.selectedValues,i=this.items.map((({value:t})=>t));t.forEach((t=>{i.includes(t.value)||this.selectedValues.delete(t.value)}))}function j(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function S(t,i=!1){if(!this.lastSelectedItem)return;const{items:s}=this,n=s.findIndex((t=>t.value===this.lastSelectedItem.value)),e=s.findIndex((i=>i.value===t.value));s.slice(Math.min(n,e),Math.max(n,e)).forEach((t=>{t.toggleSelected(!i),i?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let T;function L(t=!1){const{filteredData:s,filterText:n}=this,e=s.map((t=>t.value));let a=!1;T||(T=new Set);const o=this.items?.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&T.add(i);const s=!n||e.includes(t.value);return t.hidden=!s,a||(a=s&&t.selected),s}))||[];T.forEach((t=>{const s=o.some((i=>t.contains(i)));if(t.hidden=!s,!s)return;const n=i(t,"parent-item");n&&(n.hidden=!1,o.includes(n)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),T.clear(),o.length>0&&!a&&!this.multiple&&y(o[0],!0),this.setFilteredItems(o),t&&this.emitCalciteListFilter()}function P(){const t=this.filterEl?.filteredItems;t&&(this.filteredData=t),this.handleFilter()}function D(t){t.stopPropagation();const{filteredItems:i,value:s}=t.currentTarget;this.filterText=s,this.filteredData=i,this.handleFilter(!0)}function U(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var q;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(q||(q={}));const M=({props:{disabled:t,loading:i,filterEnabled:n,dataForFilter:e,handleFilterEvent:c,filterPlaceholder:r,filterText:l,setFilterEl:h,dragEnabled:u,storeAssistiveEl:f},...d})=>{const m=a("slot",null);return a(o,{"aria-busy":s(i),role:"menu",...d},a("section",null,u?a("span",{"aria-live":"assertive",class:"assistive-text",ref:f}):null,a("header",{class:{"sticky-pos":!0}},n?a("calcite-filter",{"aria-label":r,disabled:i||t,items:e,onCalciteFilterChange:c,placeholder:r,ref:h,value:l}):null,a("slot",{name:"menu-actions"})),i?a("calcite-scrim",{loading:i}):null,m))},R={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},V={checked:"check",remove:"x"},G={actionsEnd:"actions-end",actionsStart:"actions-start"},H={remove:"Remove"};export{R as C,q as I,M as L,G as S,H as T,j as a,D as b,U as c,I as d,b as e,f,w as g,L as h,u as i,P as j,g as k,d as l,l as m,v as n,m as o,p,k as q,E as r,S as s,C as t,r as u,c as v,V as w}
@@ -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.0.0-next.659
5
+ */
6
+ import{r as i,c as t,h as a,g as c,H as e}from"./p-6161a934.js";import{h as n,g as o,a as r,t as s}from"./p-47f8d67f.js";import{c as l,d}from"./p-9e53082b.js";import{C as m}from"./p-c094a79d.js";import"./p-8db81f9f.js";import"./p-94ce16ab.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="multi"}componentDidLoad(){this.sorted||(this.items=this.sortItems(this.items),this.sorted=!0)}render(){const i="transparent"===this.appearance,t="minimal"===this.appearance;return a("div",{class:{"accordion--transparent":i,"accordion--minimal":t,accordion:!i&&!t}},a("slot",null))}calciteInternalAccordionItemKeyEvent(i){const t=i.detail.item;if(this.el===i.detail.parent){const{key:a}=t,c=i.target,e=0===this.itemIndex(c),n=this.itemIndex(c)===this.items.length-1;switch(a){case"ArrowDown":n?this.focusFirstItem():this.focusNextItem(c);break;case"ArrowUp":e?this.focusLastItem():this.focusPrevItem(c);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}}i.stopPropagation()}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()}focusFirstItem(){this.focusElement(this.items[0])}focusLastItem(){this.focusElement(this.items[this.items.length-1])}focusNextItem(i){const t=this.itemIndex(i);this.focusElement(this.items[t+1]||this.items[0])}focusPrevItem(i){const t=this.itemIndex(i);this.focusElement(this.items[t-1]||this.items[this.items.length-1])}itemIndex(i){return this.items.indexOf(i)}focusElement(i){i?.focus()}get el(){return c(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-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--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";const p=class{constructor(a){i(this,a),this.calciteInternalAccordionItemKeyEvent=t(this,"calciteInternalAccordionItemKeyEvent",6),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.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0}connectedCallback(){this.parent=this.el.parentElement,this.selectionMode=n(this.el,"selection-mode","multi"),this.iconType=n(this.el,"icon-type","chevron"),this.iconPosition=n(this.el,"icon-position",this.iconPosition),l(this)}componentDidLoad(){this.itemPosition=this.getItemPosition(),this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})}disconnectedCallback(){d(this)}renderActionsStart(){const{el:i}=this;return o(i,"actions-start")?a("div",{class:"actions-start"},a("slot",{name:"actions-start"})):null}renderActionsEnd(){const{el:i}=this;return o(i,"actions-end")?a("div",{class:"actions-end"},a("slot",{name:"actions-end"})):null}render(){const i=r(this.el),t=this.iconStart?a("calcite-icon",{class:"icon--start",icon:this.iconStart,key:"icon-start",scale:"s"}):null,c=this.iconEnd?a("calcite-icon",{class:"icon--end",icon:this.iconEnd,key:"icon-end",scale:"s"}):null,{description:n}=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"===i}},this.renderActionsStart(),a("div",{"aria-expanded":s(this.expanded),class:"header-content",onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},a("div",{class:"header-container"},t,a("div",{class:"header-text"},a("span",{class:"heading"},this.heading),n?a("span",{class:"description"},n):null),c),a("calcite-icon",{class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:"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();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteInternalAccordionItemKeyEvent.emit({parent:this.parent,item:i}),i.preventDefault()}}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem,this.el.parentNode===this.requestedAccordionItem.parentNode&&(this.determineActiveItem(),i.stopPropagation())}determineActiveItem(){switch(this.selectionMode){case"multi":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 c(this)}};p.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}.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:2px solid var(--calcite-ui-brand);outline-offset:-2px}: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)}: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,p as calcite_accordion_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.0.0-next.659
5
+ */
6
+ import{a as t}from"./p-6161a934.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){t((()=>{if(n.transitionEl){const t=getComputedStyle(n.transitionEl).transition.split(" "),i=t.findIndex((t=>t===n.openTransitionProp));"0s"===t[i+1]?(n.open?n.onBeforeOpen():n.onBeforeClose(),n.open?n.onOpen():n.onClose()):(n.transitionEl.addEventListener("transitionstart",(()=>{n.open?n.onBeforeOpen():n.onBeforeClose()}),{once:!0}),n.transitionEl.addEventListener("transitionend",(()=>{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}
@@ -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.0.0-next.657
4
+ * v1.0.0-next.659
5
5
  */
6
- import{a as n}from"./p-7cb5d8cd.js";import{n as t,g as e}from"./p-27b4e9e3.js";function a(n,t,e){if(!n)return;const a=n.getTime(),r=!(t instanceof Date)||a>=t.getTime(),o=!(e instanceof Date)||a<=e.getTime();return r&&o}function r(n,t,e){if(!(n instanceof Date))return null;const a=n.getTime(),r=t instanceof Date&&a<t.getTime(),o=e instanceof Date&&a>e.getTime();return r?t:o?e:n}function o(n,t=!1){if(n instanceof Date)return n;if(!n||"string"!=typeof n)return null;const e=n.split(/[: T-]/).map(parseFloat),a=new Date(e[0],(e[1]||1)-1,e[2]||1);if(a.setFullYear(e[0]),isNaN(a.getTime()))throw new Error(`Invalid ISO 8601 date: "${n}"`);return t?d(a):a}function s(n,t){if(!t)return null;const{separator:e}=t,{day:a,month:r,year:o}=function(n,t){const{day:e,month:a,year:r}=i(n,t);return{day:parseInt(e),month:parseInt(a)-1,year:parseInt(r)}}(n,t),s=new Date(o,r,a);s.setFullYear(o);const c=a>0,u=r>-1,f=!isNaN(s.getTime()),l=n.split(e).filter((n=>n)).length>2,p=o.toString().length>0;return c&&u&&f&&l&&p?s:null}function i(n,e){const{separator:a,unitOrder:r}=e,o=p(r),s=n.split(a).map((n=>t.delocalize(n)));return{day:s[o.indexOf("d")],month:s[o.indexOf("m")],year:s[o.indexOf("y")]}}function c(n){return"string"==typeof n?n:n instanceof Date?new Date(n.getTime()-6e4*n.getTimezoneOffset()).toISOString().split("T")[0]:""}function u(n,t){return n instanceof Date&&t instanceof Date&&n.getDate()===t.getDate()&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()}function f(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t-1),t===e.getMonth()?new Date(n.getFullYear(),t,0):e}function l(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t+1),(t+2)%7==e.getMonth()%7?new Date(n.getFullYear(),t+2,0):e}function p(n){const t=n.toLowerCase();return["d","m","y"].sort(((n,e)=>t.indexOf(n)-t.indexOf(e)))}function D(n,t){return(n.getTime()-t.getTime())/864e5}function d(n){return n.setHours(23,59,59,999),n}const y={},h={};async function m(t){const a=e(t);if(y[a])return y[a];h[a]||(h[a]=fetch(n(`./assets/date-picker/nls/${a}.json`)).then((n=>n.json())).catch((()=>(console.error(`Translations for "${a}" not found or invalid, falling back to english`),m("en")))));const r=await h[a];return y[a]=r,r}function w(n){return n.map(((n,t)=>o(n,1===t)))}const g={nextMonth:"Next month",prevMonth:"Previous month",year:"Year"};export{g as T,s as a,c as b,o as c,i as d,m as e,r as f,w as g,D as h,a as i,u as j,p as k,l as n,f as p,d as s}
6
+ import{e as n}from"./p-6161a934.js";import{n as t,g as e}from"./p-d2cb0a49.js";function a(n,t,e){if(!n)return;const a=n.getTime(),r=!(t instanceof Date)||a>=t.getTime(),o=!(e instanceof Date)||a<=e.getTime();return r&&o}function r(n,t,e){if(!(n instanceof Date))return null;const a=n.getTime(),r=t instanceof Date&&a<t.getTime(),o=e instanceof Date&&a>e.getTime();return r?t:o?e:n}function o(n,t=!1){if(n instanceof Date)return n;if(!n||"string"!=typeof n)return null;const e=n.split(/[: T-]/).map(parseFloat),a=new Date(e[0],(e[1]||1)-1,e[2]||1);if(a.setFullYear(e[0]),isNaN(a.getTime()))throw new Error(`Invalid ISO 8601 date: "${n}"`);return t?d(a):a}function s(n,t){if(!t)return null;const{separator:e}=t,{day:a,month:r,year:o}=function(n,t){const{day:e,month:a,year:r}=i(n,t);return{day:parseInt(e),month:parseInt(a)-1,year:parseInt(r)}}(n,t),s=new Date(o,r,a);s.setFullYear(o);const c=a>0,u=r>-1,f=!isNaN(s.getTime()),l=n.split(e).filter((n=>n)).length>2,p=o.toString().length>0;return c&&u&&f&&l&&p?s:null}function i(n,e){const{separator:a,unitOrder:r}=e,o=p(r),s=n.split(a).map((n=>t.delocalize(n)));return{day:s[o.indexOf("d")],month:s[o.indexOf("m")],year:s[o.indexOf("y")]}}function c(n){return"string"==typeof n?n:n instanceof Date?new Date(n.getTime()-6e4*n.getTimezoneOffset()).toISOString().split("T")[0]:""}function u(n,t){return n instanceof Date&&t instanceof Date&&n.getDate()===t.getDate()&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()}function f(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t-1),t===e.getMonth()?new Date(n.getFullYear(),t,0):e}function l(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t+1),(t+2)%7==e.getMonth()%7?new Date(n.getFullYear(),t+2,0):e}function p(n){const t=n.toLowerCase();return["d","m","y"].sort(((n,e)=>t.indexOf(n)-t.indexOf(e)))}function D(n,t){return(n.getTime()-t.getTime())/864e5}function d(n){return n.setHours(23,59,59,999),n}const y={},h={};async function m(t){const a=e(t);if(y[a])return y[a];h[a]||(h[a]=fetch(n(`./assets/date-picker/nls/${a}.json`)).then((n=>n.json())).catch((()=>(console.error(`Translations for "${a}" not found or invalid, falling back to english`),m("en")))));const r=await h[a];return y[a]=r,r}function w(n){return n.map(((n,t)=>o(n,1===t)))}const g={nextMonth:"Next month",prevMonth:"Previous month",year:"Year"};export{g as T,s as a,c as b,o as c,i as d,m as e,r as f,w as g,D as h,a as i,u as j,p as k,l as n,f as p,d as s}