@esri/calcite-components 1.0.0-next.345 → 1.0.0-next.346

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 (263) hide show
  1. package/dist/calcite/calcite.esm.js +1 -1
  2. package/dist/calcite/{p-3ba581cf.entry.js → p-0071ba5b.entry.js} +1 -1
  3. package/dist/calcite/p-019c7493.js +5 -0
  4. package/dist/calcite/{p-42f853ae.system.entry.js → p-026a5468.system.entry.js} +1 -1
  5. package/dist/calcite/{p-d4561697.system.entry.js → p-0a68440b.system.entry.js} +1 -1
  6. package/dist/calcite/{p-bf38d77d.system.entry.js → p-0b71f281.system.entry.js} +1 -1
  7. package/dist/calcite/{p-7cf59f80.system.entry.js → p-0eb365bc.system.entry.js} +1 -1
  8. package/dist/calcite/{p-11f99edf.system.entry.js → p-0fb7d7ec.system.entry.js} +1 -1
  9. package/dist/calcite/{p-11b4f866.system.entry.js → p-1032abdf.system.entry.js} +1 -1
  10. package/dist/calcite/{p-4639388a.system.entry.js → p-11e27712.system.entry.js} +1 -1
  11. package/dist/calcite/{p-6d8a5959.entry.js → p-14c32017.entry.js} +1 -1
  12. package/dist/calcite/p-18d9a261.system.js +1 -1
  13. package/dist/calcite/{p-2c6e9854.entry.js → p-1919f0e7.entry.js} +1 -1
  14. package/dist/calcite/{p-afd8eb90.system.entry.js → p-196f7f73.system.entry.js} +1 -1
  15. package/dist/calcite/{p-ce704ece.js → p-1a378fd0.js} +1 -1
  16. package/dist/calcite/{p-b311fec9.entry.js → p-1bfae224.entry.js} +1 -1
  17. package/dist/calcite/{p-be589623.system.entry.js → p-1c54ee99.system.entry.js} +1 -1
  18. package/dist/calcite/{p-f3ec6f2c.entry.js → p-23659611.entry.js} +1 -1
  19. package/dist/calcite/{p-0c9ea65a.entry.js → p-27537d30.entry.js} +1 -1
  20. package/dist/calcite/{p-0f2b51bf.system.js → p-28d866ec.system.js} +1 -1
  21. package/dist/calcite/{p-4bedcfdd.system.entry.js → p-2ac714c0.system.entry.js} +1 -1
  22. package/dist/calcite/{p-28729351.entry.js → p-2c3944b7.entry.js} +1 -1
  23. package/dist/calcite/{p-130b7a05.system.entry.js → p-2c6eb09e.system.entry.js} +1 -1
  24. package/dist/calcite/{p-224a5f8d.system.entry.js → p-3323412f.system.entry.js} +1 -1
  25. package/dist/calcite/{p-cac9db7d.entry.js → p-34093e68.entry.js} +1 -1
  26. package/dist/calcite/{p-9d0b76a0.system.entry.js → p-3866cc08.system.entry.js} +1 -1
  27. package/dist/calcite/{p-0ea8bce1.system.entry.js → p-3a66acfc.system.entry.js} +1 -1
  28. package/dist/calcite/{p-65c6c5a7.entry.js → p-3c3fc397.entry.js} +1 -1
  29. package/dist/calcite/{p-523bc291.system.js → p-3edc47cf.system.js} +1 -1
  30. package/dist/calcite/{p-8dbafcac.system.entry.js → p-4056b8f5.system.entry.js} +1 -1
  31. package/dist/calcite/{p-0229a408.js → p-41c6aa44.js} +1 -1
  32. package/dist/calcite/{p-a4762e4a.system.entry.js → p-41dbbb2e.system.entry.js} +1 -1
  33. package/dist/calcite/{p-eae4d478.entry.js → p-438ab0b5.entry.js} +1 -1
  34. package/dist/calcite/p-49ddb3bd.js +5 -0
  35. package/dist/calcite/{p-fc9ea70f.system.entry.js → p-5252b2a0.system.entry.js} +1 -1
  36. package/dist/calcite/{p-7fbab7bb.entry.js → p-5465d382.entry.js} +1 -1
  37. package/dist/calcite/p-5479a05d.entry.js +5 -0
  38. package/dist/calcite/{p-e01985ce.system.entry.js → p-5517cd43.system.entry.js} +1 -1
  39. package/dist/calcite/{p-7677d70d.entry.js → p-57ac802c.entry.js} +1 -1
  40. package/dist/calcite/{p-8dc9c530.system.entry.js → p-58f7c4e7.system.entry.js} +2 -2
  41. package/dist/calcite/{p-ac03fd82.system.entry.js → p-5a3da753.system.entry.js} +1 -1
  42. package/dist/calcite/{p-16f89a95.entry.js → p-5b71fd3d.entry.js} +1 -1
  43. package/dist/calcite/{p-197226fa.entry.js → p-5baa2d34.entry.js} +1 -1
  44. package/dist/calcite/{p-520f90ae.entry.js → p-5d156676.entry.js} +1 -1
  45. package/dist/calcite/{p-0b2ac5d7.system.entry.js → p-5e4b6b1b.system.entry.js} +1 -1
  46. package/dist/calcite/{p-c34c4414.system.js → p-5f358f82.system.js} +1 -1
  47. package/dist/calcite/{p-41cd5de3.system.entry.js → p-605f9465.system.entry.js} +1 -1
  48. package/dist/calcite/{p-33fa07ab.system.entry.js → p-60a4c623.system.entry.js} +1 -1
  49. package/dist/calcite/{p-07779a47.entry.js → p-627a5f7b.entry.js} +1 -1
  50. package/dist/calcite/{p-82d19468.entry.js → p-6394f74a.entry.js} +1 -1
  51. package/dist/calcite/{p-809eed64.system.entry.js → p-648a23bf.system.entry.js} +1 -1
  52. package/dist/calcite/{p-35a5c74c.system.js → p-6555a956.system.js} +1 -1
  53. package/dist/calcite/{p-d30dc8bd.entry.js → p-66204690.entry.js} +1 -1
  54. package/dist/calcite/{p-c1912740.system.entry.js → p-6648629d.system.entry.js} +1 -1
  55. package/dist/calcite/{p-1705739f.system.entry.js → p-6c8478b9.system.entry.js} +2 -2
  56. package/dist/calcite/{p-531ddede.entry.js → p-6de70221.entry.js} +1 -1
  57. package/dist/calcite/{p-e942dcc6.entry.js → p-6e31cbff.entry.js} +1 -1
  58. package/dist/calcite/{p-1ce0c26a.entry.js → p-7050bfd3.entry.js} +1 -1
  59. package/dist/calcite/{p-496a04e4.system.entry.js → p-7a49f97c.system.entry.js} +1 -1
  60. package/dist/calcite/{p-be7b205c.entry.js → p-7a9ea862.entry.js} +1 -1
  61. package/dist/calcite/{p-b5cab90f.entry.js → p-853bd81e.entry.js} +1 -1
  62. package/dist/calcite/{p-6e94b4ef.system.entry.js → p-8a406f82.system.entry.js} +1 -1
  63. package/dist/calcite/{p-6d42cf99.system.entry.js → p-8ba1b621.system.entry.js} +1 -1
  64. package/dist/calcite/{p-12a3d7b1.entry.js → p-8c3c5914.entry.js} +1 -1
  65. package/dist/calcite/{p-ec216f50.entry.js → p-8e2aea68.entry.js} +1 -1
  66. package/dist/calcite/{p-8ebc2d51.entry.js → p-8f32e98b.entry.js} +1 -1
  67. package/dist/calcite/{p-5c141491.entry.js → p-909a04c6.entry.js} +1 -1
  68. package/dist/calcite/{p-12a2f2d9.entry.js → p-917ab4fb.entry.js} +1 -1
  69. package/dist/calcite/p-947a15ea.system.js +5 -0
  70. package/dist/calcite/{p-6436b89b.system.entry.js → p-98efa8d1.system.entry.js} +1 -1
  71. package/dist/calcite/{p-92dea7f7.entry.js → p-9a360708.entry.js} +1 -1
  72. package/dist/calcite/{p-86e37e14.system.js → p-9c571107.system.js} +1 -1
  73. package/dist/calcite/{p-1751551d.entry.js → p-9d6da675.entry.js} +1 -1
  74. package/dist/calcite/{p-3dae9da3.js → p-a19740a1.js} +1 -1
  75. package/dist/calcite/{p-73dad5ab.system.entry.js → p-a2315ee0.system.entry.js} +1 -1
  76. package/dist/calcite/{p-42814ab6.system.entry.js → p-a5e39e25.system.entry.js} +1 -1
  77. package/dist/calcite/{p-5c606052.system.entry.js → p-a7634adb.system.entry.js} +2 -2
  78. package/dist/calcite/{p-b3109189.system.entry.js → p-ac1e4091.system.entry.js} +1 -1
  79. package/dist/calcite/{p-68c5432f.entry.js → p-b05fbc28.entry.js} +1 -1
  80. package/dist/calcite/{p-54d12b6f.entry.js → p-b45576da.entry.js} +1 -1
  81. package/dist/calcite/{p-b28560f2.entry.js → p-b582fe81.entry.js} +1 -1
  82. package/dist/calcite/{p-ff623944.entry.js → p-b5da7d26.entry.js} +1 -1
  83. package/dist/calcite/{p-3e646c9b.js → p-b9985a8f.js} +1 -1
  84. package/dist/calcite/{p-985ac8a8.system.entry.js → p-c0f8e35a.system.entry.js} +1 -1
  85. package/dist/calcite/{p-0bb004b7.entry.js → p-c4c35d1b.entry.js} +1 -1
  86. package/dist/calcite/{p-e97696ee.system.entry.js → p-c80baf28.system.entry.js} +1 -1
  87. package/dist/calcite/{p-9180be05.system.entry.js → p-d1db78e7.system.entry.js} +1 -1
  88. package/dist/calcite/{p-1749e1a2.system.entry.js → p-d47c61ac.system.entry.js} +2 -2
  89. package/dist/calcite/{p-899920c9.entry.js → p-d650ec75.entry.js} +1 -1
  90. package/dist/calcite/{p-62e9b8a4.system.entry.js → p-d73fdd7f.system.entry.js} +1 -1
  91. package/dist/calcite/{p-61c25508.system.entry.js → p-da170a90.system.entry.js} +1 -1
  92. package/dist/calcite/{p-6691b847.system.entry.js → p-da7e1200.system.entry.js} +1 -1
  93. package/dist/calcite/{p-527dfb9d.entry.js → p-dad53db1.entry.js} +1 -1
  94. package/dist/calcite/{p-35aa821f.entry.js → p-df9409db.entry.js} +1 -1
  95. package/dist/calcite/{p-ee7ba765.entry.js → p-e5c97fcc.entry.js} +1 -1
  96. package/dist/calcite/{p-51819373.entry.js → p-e6e288cb.entry.js} +1 -1
  97. package/dist/calcite/{p-e311dc47.entry.js → p-eba55232.entry.js} +1 -1
  98. package/dist/calcite/{p-9ee56933.entry.js → p-ee7cd75e.entry.js} +1 -1
  99. package/dist/calcite/{p-5a6ad843.system.entry.js → p-f39af806.system.entry.js} +2 -2
  100. package/dist/calcite/{p-15c5e94c.system.entry.js → p-f70d136e.system.entry.js} +1 -1
  101. package/dist/calcite/{p-1acfcee4.entry.js → p-f74583ec.entry.js} +1 -1
  102. package/dist/calcite/{p-109fdcb4.system.entry.js → p-f932a63e.system.entry.js} +1 -1
  103. package/dist/cjs/{CalciteExpandToggle-d654421a.js → CalciteExpandToggle-252bab6d.js} +1 -1
  104. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  105. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  106. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  107. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  108. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  109. package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
  110. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  111. package/dist/cjs/calcite-block_2.cjs.entry.js +1 -1
  112. package/dist/cjs/calcite-button.cjs.entry.js +2 -2
  113. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  114. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  115. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
  116. package/dist/cjs/calcite-combobox_3.cjs.entry.js +4 -4
  117. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +1 -1
  118. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +2 -2
  119. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  120. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  121. package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -3
  122. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  123. package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
  124. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +4 -4
  125. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  126. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
  127. package/dist/cjs/calcite-input.cjs.entry.js +3 -3
  128. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  129. package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
  130. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  131. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  132. package/dist/cjs/calcite-option_3.cjs.entry.js +3 -3
  133. package/dist/cjs/calcite-panel.cjs.entry.js +1 -1
  134. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
  135. package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
  136. package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
  137. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +3 -3
  138. package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
  139. package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
  140. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  141. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  142. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  143. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  144. package/dist/cjs/calcite-tip_3.cjs.entry.js +1 -1
  145. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
  146. package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
  147. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  148. package/dist/cjs/{dom-19822169.js → dom-5a52b331.js} +2 -1
  149. package/dist/cjs/{form-a5b44a1f.js → form-4f471f99.js} +1 -1
  150. package/dist/cjs/{label-8e3552b2.js → label-4c5b7b91.js} +1 -1
  151. package/dist/cjs/{popper-a7580aca.js → popper-864013e4.js} +1 -1
  152. package/dist/cjs/{resources-27b28faa.js → resources-7b91cec8.js} +1 -1
  153. package/dist/collection/utils/dom.js +2 -1
  154. package/dist/components/dom.js +2 -1
  155. package/dist/custom-elements/index.js +2 -1
  156. package/dist/esm/{CalciteExpandToggle-c33bd6fd.js → CalciteExpandToggle-b6fabbc2.js} +1 -1
  157. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  158. package/dist/esm/calcite-action-bar.entry.js +2 -2
  159. package/dist/esm/calcite-action-group.entry.js +1 -1
  160. package/dist/esm/calcite-action-menu.entry.js +1 -1
  161. package/dist/esm/calcite-action-pad.entry.js +2 -2
  162. package/dist/esm/calcite-alert.entry.js +1 -1
  163. package/dist/esm/calcite-avatar.entry.js +1 -1
  164. package/dist/esm/calcite-block_2.entry.js +1 -1
  165. package/dist/esm/calcite-button.entry.js +2 -2
  166. package/dist/esm/calcite-checkbox.entry.js +3 -3
  167. package/dist/esm/calcite-chip.entry.js +1 -1
  168. package/dist/esm/calcite-color-picker_3.entry.js +1 -1
  169. package/dist/esm/calcite-combobox_3.entry.js +4 -4
  170. package/dist/esm/calcite-date-picker_4.entry.js +1 -1
  171. package/dist/esm/calcite-dropdown_3.entry.js +2 -2
  172. package/dist/esm/calcite-fab.entry.js +1 -1
  173. package/dist/esm/calcite-filter.entry.js +1 -1
  174. package/dist/esm/calcite-graph_2.entry.js +3 -3
  175. package/dist/esm/calcite-icon.entry.js +1 -1
  176. package/dist/esm/calcite-inline-editable.entry.js +2 -2
  177. package/dist/esm/calcite-input-date-picker.entry.js +4 -4
  178. package/dist/esm/calcite-input-message.entry.js +1 -1
  179. package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
  180. package/dist/esm/calcite-input.entry.js +3 -3
  181. package/dist/esm/calcite-link.entry.js +1 -1
  182. package/dist/esm/calcite-list_3.entry.js +1 -1
  183. package/dist/esm/calcite-modal.entry.js +1 -1
  184. package/dist/esm/calcite-notice.entry.js +1 -1
  185. package/dist/esm/calcite-option_3.entry.js +3 -3
  186. package/dist/esm/calcite-panel.entry.js +1 -1
  187. package/dist/esm/calcite-pick-list_3.entry.js +2 -2
  188. package/dist/esm/calcite-popover_2.entry.js +2 -2
  189. package/dist/esm/calcite-radio-button.entry.js +3 -3
  190. package/dist/esm/calcite-radio-group_2.entry.js +3 -3
  191. package/dist/esm/calcite-rating.entry.js +3 -3
  192. package/dist/esm/calcite-shell_3.entry.js +1 -1
  193. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  194. package/dist/esm/calcite-switch.entry.js +3 -3
  195. package/dist/esm/calcite-tab_4.entry.js +1 -1
  196. package/dist/esm/calcite-tile.entry.js +1 -1
  197. package/dist/esm/calcite-tip_3.entry.js +1 -1
  198. package/dist/esm/calcite-tooltip_2.entry.js +2 -2
  199. package/dist/esm/calcite-tree_2.entry.js +1 -1
  200. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  201. package/dist/esm/{dom-f24e866c.js → dom-70477ebc.js} +2 -1
  202. package/dist/esm/{form-160b0fb5.js → form-4b3c1995.js} +1 -1
  203. package/dist/esm/{label-5559055d.js → label-905e5ef8.js} +1 -1
  204. package/dist/esm/{popper-f5caedc4.js → popper-ba525bde.js} +1 -1
  205. package/dist/esm/{resources-7501cc74.js → resources-c1b6ebde.js} +1 -1
  206. package/dist/esm-es5/{CalciteExpandToggle-c33bd6fd.js → CalciteExpandToggle-b6fabbc2.js} +1 -1
  207. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  208. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  209. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  210. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  211. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  212. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  213. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  214. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  215. package/dist/esm-es5/calcite-button.entry.js +1 -1
  216. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  217. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  218. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  219. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  220. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  221. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  222. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  223. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  224. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  225. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  226. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  227. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  228. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  229. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  230. package/dist/esm-es5/calcite-input.entry.js +1 -1
  231. package/dist/esm-es5/calcite-link.entry.js +1 -1
  232. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  233. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  234. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  235. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  236. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  237. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  238. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  239. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  240. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  241. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  242. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  243. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  244. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  245. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  246. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  247. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  248. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  249. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  250. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  251. package/dist/esm-es5/dom-70477ebc.js +5 -0
  252. package/dist/esm-es5/{form-160b0fb5.js → form-4b3c1995.js} +1 -1
  253. package/dist/esm-es5/{label-5559055d.js → label-905e5ef8.js} +1 -1
  254. package/dist/esm-es5/{popper-f5caedc4.js → popper-ba525bde.js} +1 -1
  255. package/dist/esm-es5/{resources-7501cc74.js → resources-c1b6ebde.js} +1 -1
  256. package/dist/extras/docs-json.json +1 -1
  257. package/hydrate/index.js +2 -1
  258. package/package.json +1 -1
  259. package/dist/calcite/p-1942876c.js +0 -5
  260. package/dist/calcite/p-394d8b91.entry.js +0 -5
  261. package/dist/calcite/p-52cc870b.js +0 -5
  262. package/dist/calcite/p-6cc23c39.system.js +0 -5
  263. package/dist/esm-es5/dom-f24e866c.js +0 -5
@@ -2,4 +2,4 @@ var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */import{f as focusElement,g as getSlotted}from"./dom-f24e866c.js";import{g as getRoundRobinIndex}from"./array-91a648e2.js";import{d as debounce}from"./debounce-79648d42.js";import{h,H as Host}from"./index-9de00868.js";function mutationObserverCallback(){this.setUpItems();this.setUpFilter()}var SUPPORTED_ARROW_KEYS=["ArrowUp","ArrowDown"];function initialize(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=debounce(internalCalciteListChangeEvent.bind(this),0)}function initializeObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function cleanUpObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function calciteListItemChangeHandler(e){var t=this.selectedValues;var i=e.detail,n=i.item,a=i.value,r=i.selected,l=i.shiftPressed;if(r){if(this.multiple&&l){this.selectSiblings(n)}if(!this.multiple){this.deselectSiblingItems(n)}t.set(a,n)}else{t.delete(a);if(this.multiple&&l){this.selectSiblings(n,true)}}if(!this.multiple){toggleSingleSelectItemTabbing(n,r);if(r){focusElement(n)}}this.lastSelectedItem=n;this.emitCalciteListChange()}function calciteListItemValueChangeHandler(e){e.stopPropagation();var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}}function isValidNavigationKey(e){return!!SUPPORTED_ARROW_KEYS.find((function(t){return t===e}))}function calciteListFocusOutHandler(e){var t=this,i=t.el,n=t.items,a=t.multiple,r=t.selectedValues;if(a){return}var l=!!i.contains(e.relatedTarget);if(l){toggleSingleSelectItemTabbing(e.target,false);return}n.forEach((function(t){return toggleSingleSelectItemTabbing(t,r.size===0?e.target===t:t.selected)}))}function keyDownHandler(e){var t=e.key,i=e.target;if(!isValidNavigationKey(t)){return}var n=this,a=n.items,r=n.multiple,l=n.selectionFollowsFocus;var s=a.length;var o=a.indexOf(i);if(!s||o===-1){return}e.preventDefault();var c=getRoundRobinIndex(o+(t==="ArrowUp"?-1:1),s);var u=a[c];a.forEach((function(e){return toggleSingleSelectItemTabbing(e,e===u)}));if(!r&&l){u.selected=true}focusElement(u)}function internalCalciteListChangeEvent(){this.calciteListChange.emit(this.selectedValues)}function removeItem(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function toggleSingleSelectItemTabbing(e,t){if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function setFocus(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,a,r;return __generator(this,(function(l){switch(l.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,focusElement(this.filterEl)];case 1:l.sent();return[2];case 2:t=this,i=t.items,n=t.multiple,a=t.selectionFollowsFocus;if(i.length===0){return[2]}if(n){return[2,i[0].setFocus()]}r=i.find((function(e){return e.selected}))||i[0];if(a){r.selected=true}return[2,r.setFocus()]}}))}))}function setUpItems(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;toggleSingleSelectItemTabbing(e,false)}if(e.selected){i=true;toggleSingleSelectItemTabbing(e,true);t.selectedValues.set(e.value,e)}}));var a=n[0];if(!i&&a){toggleSingleSelectItemTabbing(a,true)}}function deselectSiblingItems(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function selectSiblings(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var a=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var r=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(a,r),Math.max(a,r)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var groups;function handleFilter(e){var t=e.currentTarget.filteredItems;var i=t.map((function(e){return e.value}));var n=false;if(!groups){groups=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var a=t.matches("calcite-pick-list-group");if(a){groups.add(t)}var r=i.includes(e.value);e.hidden=!r;if(!n){n=r&&e.selected}return r}));groups.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var i=getSlotted(e,"parent-item");if(i){i.hidden=false;if(a.includes(i)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));groups.clear();if(a.length>0&&!n&&!this.multiple){toggleSingleSelectItemTabbing(a[0],true)}}function getItemData(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var CSS$1={sticky:"sticky-pos"};var ICON_TYPES;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(ICON_TYPES||(ICON_TYPES={}));var SLOTS$1={menuActions:"menu-actions"};var __rest=undefined&&undefined.__rest||function(e,t){var i={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)i[n]=e[n];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++){if(t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a]))i[n[a]]=e[n[a]]}return i};var List=function(e){var t;var i=e.props,n=i.disabled,a=i.loading,r=i.filterEnabled,l=i.dataForFilter,s=i.handleFilter,o=i.filterPlaceholder,c=i.setFilterEl,u=__rest(e,["props"]);var f=h("slot",null);return h(Host,Object.assign({"aria-busy":a.toString(),"aria-disabled":n.toString(),role:"menu"},u),h("section",null,h("header",{class:(t={},t[CSS$1.sticky]=true,t)},r?h("calcite-filter",{"aria-label":o,disabled:a||n,items:l,onCalciteFilterChange:s,placeholder:o,ref:c}):null,h("slot",{name:SLOTS$1.menuActions})),a||n?h("calcite-scrim",{loading:a}):null,f))};var CSS={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"};var ICONS={checked:"check",remove:"x"};var SLOTS={actionsEnd:"actions-end",actionsStart:"actions-start"};var TEXT={remove:"Remove"};export{CSS as C,ICON_TYPES as I,List as L,SLOTS as S,TEXT as T,initializeObserver as a,calciteListItemChangeHandler as b,cleanUpObserver as c,deselectSiblingItems as d,calciteListItemValueChangeHandler as e,setUpItems as f,getItemData as g,handleFilter as h,initialize as i,setFocus as j,keyDownHandler as k,calciteListFocusOutHandler as l,mutationObserverCallback as m,ICONS as n,removeItem as r,selectSiblings as s};
5
+ */import{f as focusElement,g as getSlotted}from"./dom-70477ebc.js";import{g as getRoundRobinIndex}from"./array-91a648e2.js";import{d as debounce}from"./debounce-79648d42.js";import{h,H as Host}from"./index-9de00868.js";function mutationObserverCallback(){this.setUpItems();this.setUpFilter()}var SUPPORTED_ARROW_KEYS=["ArrowUp","ArrowDown"];function initialize(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=debounce(internalCalciteListChangeEvent.bind(this),0)}function initializeObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function cleanUpObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function calciteListItemChangeHandler(e){var t=this.selectedValues;var i=e.detail,n=i.item,a=i.value,r=i.selected,l=i.shiftPressed;if(r){if(this.multiple&&l){this.selectSiblings(n)}if(!this.multiple){this.deselectSiblingItems(n)}t.set(a,n)}else{t.delete(a);if(this.multiple&&l){this.selectSiblings(n,true)}}if(!this.multiple){toggleSingleSelectItemTabbing(n,r);if(r){focusElement(n)}}this.lastSelectedItem=n;this.emitCalciteListChange()}function calciteListItemValueChangeHandler(e){e.stopPropagation();var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}}function isValidNavigationKey(e){return!!SUPPORTED_ARROW_KEYS.find((function(t){return t===e}))}function calciteListFocusOutHandler(e){var t=this,i=t.el,n=t.items,a=t.multiple,r=t.selectedValues;if(a){return}var l=!!i.contains(e.relatedTarget);if(l){toggleSingleSelectItemTabbing(e.target,false);return}n.forEach((function(t){return toggleSingleSelectItemTabbing(t,r.size===0?e.target===t:t.selected)}))}function keyDownHandler(e){var t=e.key,i=e.target;if(!isValidNavigationKey(t)){return}var n=this,a=n.items,r=n.multiple,l=n.selectionFollowsFocus;var s=a.length;var o=a.indexOf(i);if(!s||o===-1){return}e.preventDefault();var c=getRoundRobinIndex(o+(t==="ArrowUp"?-1:1),s);var u=a[c];a.forEach((function(e){return toggleSingleSelectItemTabbing(e,e===u)}));if(!r&&l){u.selected=true}focusElement(u)}function internalCalciteListChangeEvent(){this.calciteListChange.emit(this.selectedValues)}function removeItem(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function toggleSingleSelectItemTabbing(e,t){if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function setFocus(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,a,r;return __generator(this,(function(l){switch(l.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,focusElement(this.filterEl)];case 1:l.sent();return[2];case 2:t=this,i=t.items,n=t.multiple,a=t.selectionFollowsFocus;if(i.length===0){return[2]}if(n){return[2,i[0].setFocus()]}r=i.find((function(e){return e.selected}))||i[0];if(a){r.selected=true}return[2,r.setFocus()]}}))}))}function setUpItems(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;toggleSingleSelectItemTabbing(e,false)}if(e.selected){i=true;toggleSingleSelectItemTabbing(e,true);t.selectedValues.set(e.value,e)}}));var a=n[0];if(!i&&a){toggleSingleSelectItemTabbing(a,true)}}function deselectSiblingItems(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function selectSiblings(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var a=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var r=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(a,r),Math.max(a,r)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var groups;function handleFilter(e){var t=e.currentTarget.filteredItems;var i=t.map((function(e){return e.value}));var n=false;if(!groups){groups=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var a=t.matches("calcite-pick-list-group");if(a){groups.add(t)}var r=i.includes(e.value);e.hidden=!r;if(!n){n=r&&e.selected}return r}));groups.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var i=getSlotted(e,"parent-item");if(i){i.hidden=false;if(a.includes(i)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));groups.clear();if(a.length>0&&!n&&!this.multiple){toggleSingleSelectItemTabbing(a[0],true)}}function getItemData(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var CSS$1={sticky:"sticky-pos"};var ICON_TYPES;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(ICON_TYPES||(ICON_TYPES={}));var SLOTS$1={menuActions:"menu-actions"};var __rest=undefined&&undefined.__rest||function(e,t){var i={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)i[n]=e[n];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++){if(t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a]))i[n[a]]=e[n[a]]}return i};var List=function(e){var t;var i=e.props,n=i.disabled,a=i.loading,r=i.filterEnabled,l=i.dataForFilter,s=i.handleFilter,o=i.filterPlaceholder,c=i.setFilterEl,u=__rest(e,["props"]);var f=h("slot",null);return h(Host,Object.assign({"aria-busy":a.toString(),"aria-disabled":n.toString(),role:"menu"},u),h("section",null,h("header",{class:(t={},t[CSS$1.sticky]=true,t)},r?h("calcite-filter",{"aria-label":o,disabled:a||n,items:l,onCalciteFilterChange:s,placeholder:o,ref:c}):null,h("slot",{name:SLOTS$1.menuActions})),a||n?h("calcite-scrim",{loading:a}):null,f))};var CSS={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"};var ICONS={checked:"check",remove:"x"};var SLOTS={actionsEnd:"actions-end",actionsStart:"actions-start"};var TEXT={remove:"Remove"};export{CSS as C,ICON_TYPES as I,List as L,SLOTS as S,TEXT as T,initializeObserver as a,calciteListItemChangeHandler as b,cleanUpObserver as c,deselectSiblingItems as d,calciteListItemValueChangeHandler as e,setUpItems as f,getItemData as g,handleFilter as h,initialize as i,setFocus as j,keyDownHandler as k,calciteListFocusOutHandler as l,mutationObserverCallback as m,ICONS as n,removeItem as r,selectSiblings as s};
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2021-12-28T22:02:15",
2
+ "timestamp": "2021-12-29T01:02:54",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "2.12.0",
package/hydrate/index.js CHANGED
@@ -5710,7 +5710,8 @@ function nodeListToArray(nodeList) {
5710
5710
  return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);
5711
5711
  }
5712
5712
  function getThemeName(el) {
5713
- return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? "dark" : "light";
5713
+ const closestElWithTheme = closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}, .${CSS_UTILITY.lightTheme}`);
5714
+ return (closestElWithTheme === null || closestElWithTheme === void 0 ? void 0 : closestElWithTheme.classList.contains("calcite-theme-dark")) ? "dark" : "light";
5714
5715
  }
5715
5716
  function getElementDir(el) {
5716
5717
  const prop = "dir";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.345",
3
+ "version": "1.0.0-next.346",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,5 +0,0 @@
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
- */
5
- import{c as n}from"./p-52cc870b.js";import{h as t}from"./p-2e29554c.js";function e(n){return"checked"in n}const o=new WeakMap,i=new WeakSet;function r(t){const{el:o,value:r}=t,s=n(o,"form");if(!s||function(n,t){const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>i.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(s,o))return;t.formEl=s,t.defaultValue=r,e(t)&&(t.defaultChecked=t.checked);const u=(t.onFormReset||c).bind(t);s.addEventListener("reset",u),i.add(o)}function c(){e(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function s(n){const{el:t,formEl:e}=n;if(!e)return;const r=o.get(t);e.removeEventListener("reset",r),o.delete(t),n.formEl=null,i.delete(t)}function u(n,t){n.defaultValue=t}function l(n,t,o){var i;const{defaultValue:r,disabled:c,name:s,required:u}=n;t.defaultValue=r,t.disabled=c,t.name=s,t.required=u,t.tabIndex=-1,e(n)?(t.defaultChecked=n.defaultChecked,t.value=n.checked?o||"on":"",c||n.checked||(t.disabled=!0)):t.value=o||"",null===(i=n.syncHiddenFormInput)||void 0===i||i.call(n,t)}const a=({component:n})=>(function(n){const{el:t,formEl:e,name:o,value:i}=n,{ownerDocument:r}=t,c=t.querySelectorAll('input[slot="hidden-form-input"]');if(!e||!o)return void c.forEach((n=>n.remove()));const s=Array.isArray(i)?i:[i],u=[],a=new Set;let f;c.forEach((t=>{const e=s.find((n=>n==t.value));null!=e?(a.add(e),l(n,t,e)):u.push(t)})),s.forEach((t=>{if(a.has(t))return;let e=u.pop();e||(e=r.createElement("input"),e.slot="hidden-form-input"),f||(f=r.createDocumentFragment()),f.append(e),l(n,e,t)})),f&&t.append(f),u.forEach((n=>n.remove()))}(n),t("slot",{name:"hidden-form-input"}));export{a as H,u as a,r as c,s as d}
@@ -1,5 +0,0 @@
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
- */
5
- import{r as t,c as a,h as i,g as e,H as n}from"./p-2e29554c.js";import{S as s}from"./p-c5ec8d74.js";import{m as o,d as r,s as c,h as l,g as m,k as d,i as h,a as w,c as f,r as p,b,e as u,f as g,j as v,L as k,I as x,C as y,S as D}from"./p-3e646c9b.js";import{g as _}from"./p-accdb0ce.js";import{c as z}from"./p-e4acb5a8.js";import{g as I}from"./p-8a63221d.js";import{g as j}from"./p-52cc870b.js";import"./p-b06207bb.js";var C;!function(t){t.grip="grip"}(C||(C={}));let L=class{constructor(i){t(this,i),this.calciteListChange=a(this,"calciteListChange",7),this.calciteListOrderChange=a(this,"calciteListOrderChange",7),this.disabled=!1,this.dragEnabled=!1,this.filterEnabled=!1,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[],this.lastSelectedItem=null,this.mutationObserver=z("mutation",o.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.deselectSiblingItems=r.bind(this),this.selectSiblings=c.bind(this),this.handleFilter=l.bind(this),this.getItemData=m.bind(this),this.keyDownHandler=t=>{const a=t.composedPath().find((t=>{var a;return void 0!==(null===(a=t.dataset)||void 0===a?void 0:a.jsHandle)})),i=t.composedPath().find((t=>{var a;return"calcite-value-list-item"===(null===(a=t.tagName)||void 0===a?void 0:a.toLowerCase())}));if(!a||!i.handleActivated)return void d.call(this,t);if("ArrowUp"!==t.key&&"ArrowDown"!==t.key)return;t.preventDefault();const{el:e,items:n}=this,s="ArrowDown"===t.key?1:-1,o=n.indexOf(i),r=_(o+s,n.length);if(r===n.length-1)e.appendChild(i);else{const t=e.children[r];e.insertBefore(i,t===i.nextElementSibling?t.nextElementSibling:t)}requestAnimationFrame((()=>a.focus())),i.handleActivated=!0}}connectedCallback(){h.call(this),w.call(this)}componentDidLoad(){this.setUpDragAndDrop()}disconnectedCallback(){f.call(this),this.cleanUpDragAndDrop()}calciteListItemRemoveHandler(t){p.call(this,t)}calciteListItemChangeHandler(t){b.call(this,t)}calciteListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteListItemValueChangeHandler(t){u.call(this,t)}setUpItems(){g.call(this,"calcite-value-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpDragAndDrop(){this.cleanUpDragAndDrop(),this.dragEnabled&&(this.sortable=s.create(this.el,{dataIdAttr:"id",handle:".handle",draggable:"calcite-value-list-item",group:this.group,onSort:()=>{this.items=Array.from(this.el.querySelectorAll("calcite-value-list-item"));const t=this.items.map((t=>t.value));this.calciteListOrderChange.emit(t)}}))}cleanUpDragAndDrop(){var t;null===(t=this.sortable)||void 0===t||t.destroy(),this.sortable=null}async getSelectedItems(){return this.selectedValues}async setFocus(t){return v.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t=C.grip),t}render(){return i(k,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};L.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}calcite-value-list-item:last-of-type{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header{margin-bottom:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:-webkit-sticky;position:sticky;top:0px;z-index:10}calcite-filter{margin-bottom:1px}";let A=class{constructor(i){t(this,i),this.calciteListItemRemove=a(this,"calciteListItemRemove",7),this.disabled=!1,this.disableDeselect=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.removable=!1,this.selected=!1,this.pickListItem=null,this.guid=`calcite-value-list-item-${I()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1},this.handleSelectChange=t=>{this.selected=t.detail.selected}}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){var t;null===(t=this.pickListItem)||void 0===t||t.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return j(t,"actions-end")?i("slot",{name:"actions-end",slot:D.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return j(t,"actions-start")?i("slot",{name:"actions-start",slot:D.actionsStart}):null}renderHandle(){const{icon:t}=this;if(t===x.grip)return i("span",{"aria-pressed":this.handleActivated.toString(),class:{[y.handle]:!0,[y.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"button",tabindex:"0"},i("calcite-icon",{icon:"drag",scale:"s"}))}render(){return i(n,{id:this.el.id||this.guid},this.renderHandle(),i("calcite-pick-list-item",{description:this.description,disableDeselect:this.disableDeselect,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,ref:this.getPickListRef,removable:this.removable,selected:this.selected,value:this.value},this.renderActionsStart(),this.renderActionsEnd()))}get el(){return e(this)}};A.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{margin-bottom:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition:background-color 150ms ease-in-out, -webkit-box-shadow 150ms ease-in-out;transition:background-color 150ms ease-in-out, -webkit-box-shadow 150ms ease-in-out;transition:background-color 150ms ease-in-out, box-shadow 150ms ease-in-out;transition:background-color 150ms ease-in-out, box-shadow 150ms ease-in-out, -webkit-box-shadow 150ms ease-in-out}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;-ms-flex-positive:1;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([active]),:host([selected]){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);-webkit-box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.handle{display:-ms-flexbox;display:flex;cursor:move;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:transparent;padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem;color:var(--calcite-ui-border-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}";export{L as calcite_value_list,A as calcite_value_list_item}
@@ -1,5 +0,0 @@
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
- */
5
- import{g as n}from"./p-8a63221d.js";const t={autoTheme:"calcite-theme-auto",darkTheme:"calcite-theme-dark",lightTheme:"calcite-theme-light",rtl:"calcite--rtl"},r={loading:"Loading"};function u(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function o(n){return Array.isArray(n)?n:Array.from(n)}function e(n){return d(n,`.${t.darkTheme}`)?"dark":"light"}function i(n){const t=d(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function c(n,t,r){const u=n.closest(`[${t}]`);return u?u.getAttribute(t):r}function a(n){return n.getRootNode()}function l(n){return n.host||null}function s(n,t){return function n(r,u){if(!r)return u;r.assignedSlot&&(r=r.assignedSlot);const o=a(r),e=Array.from(o.querySelectorAll(t)).filter((n=>!u.includes(n)));u=[...u,...e];const i=l(o);return i?n(i,u):u}(n,[])}function f(n,t){return function n(r){if(!r)return null;r.assignedSlot&&(r=r.assignedSlot);const u=a(r),o=u.querySelector(t),e=l(u);return o||(e?n(e):null)}(n)}function d(n,t){return function n(r){return r?r.closest(t)||n(l(a(r))):null}(n)}function h(n){return"function"==typeof(null==n?void 0:n.setFocus)}async function y(n){if(n)return h(n)?n.setFocus():n.focus()}function g(n,t,r){const u=`[slot="${t}"]`;return(null==r?void 0:r.all)?function(n,t,r){let u=Array.from(n.querySelectorAll(t));u=r&&!1===r.direct?u:u.filter((t=>t.parentElement===n));const o=null==r?void 0:r.selector;return o?u.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):u}(n,u,r):function(n,t,r){let u=n.querySelector(t);u=r&&!1===r.direct||(null==u?void 0:u.parentElement)===n?u:null;const o=null==r?void 0:r.selector;return o?u.querySelector(o):u}(n,u,r)}function m(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function v(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function A(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}export{t as C,r as T,i as a,e as b,d as c,c as d,u as e,y as f,g,s as h,h as i,A as j,m as k,o as n,f as q,v as s}
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(r,t,e,n){function u(r){return r instanceof e?r:new e((function(t){t(r)}))}return new(e||(e=Promise))((function(e,i){function o(r){try{l(n.next(r))}catch(r){i(r)}}function a(r){try{l(n["throw"](r))}catch(r){i(r)}}function l(r){r.done?e(r.value):u(r.value).then(o,a)}l((n=n.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,u,i,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(r){return function(t){return l([r,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(e)try{if(n=1,u&&(i=o[0]&2?u["return"]:o[0]?u["throw"]||((i=u["return"])&&i.call(u),0):u.next)&&!(i=i.call(u,o[1])).done)return i;if(u=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;u=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){e.label=o[1];break}if(o[0]===6&&e.label<i[1]){e.label=i[1];i=o;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(o);break}if(i[2])e.ops.pop();e.trys.pop();continue}o=t.call(r,e)}catch(r){o=[6,r];u=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,t){for(var e=0,n=t.length,u=r.length;e<n;e++,u++)r[u]=t[e];return r};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */System.register(["./p-e020662f.system.js"],(function(r){"use strict";var t;return{setters:[function(r){t=r.g}],execute:function(){r({a:f,b:c,c:p,d:s,e:a,f:m,g:_,h:h,i:g,j:k,k:w,n:l,q:y,s:S});var e="calcite-theme-auto";var n="calcite-theme-dark";var u="calcite-theme-light";var i=r("C",{autoTheme:e,darkTheme:n,lightTheme:u,rtl:"calcite--rtl"});var o=r("T",{loading:"Loading"});function a(r){if(!r){return""}return r.id=r.id||r.tagName.toLowerCase()+"-"+t()}function l(r){return Array.isArray(r)?r:Array.from(r)}function c(r){return p(r,"."+i.darkTheme)?"dark":"light"}function f(r){var t="dir";var e="["+t+"]";var n=p(r,e);return n?n.getAttribute(t):"ltr"}function s(r,t,e){var n="["+t+"]";var u=r.closest(n);return u?u.getAttribute(t):e}function v(r){return r.getRootNode()}function d(r){return r.host||null}function h(r,t){function e(r,n){if(!r){return n}if(r.assignedSlot){r=r.assignedSlot}var u=v(r);var i=Array.from(u.querySelectorAll(t));var o=i.filter((function(r){return!n.includes(r)}));n=__spreadArray(__spreadArray([],n),o);var a=d(u);return a?e(a,n):n}return e(r,[])}function y(r,t){function e(r){if(!r){return null}if(r.assignedSlot){r=r.assignedSlot}var n=v(r);var u=n.querySelector(t);var i=d(n);return u?u:i?e(i):null}return e(r)}function p(r,t){function e(r){return r?r.closest(t)||e(d(v(r))):null}return e(r)}function g(r){return typeof(r===null||r===void 0?void 0:r.setFocus)==="function"}function m(r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!r){return[2]}return[2,g(r)?r.setFocus():r.focus()]}))}))}function _(r,t,e){var n='[slot="'+t+'"]';if(e===null||e===void 0?void 0:e.all){return b(r,n,e)}return A(r,n,e)}function b(r,t,e){var n=Array.from(r.querySelectorAll(t));n=e&&e.direct===false?n:n.filter((function(t){return t.parentElement===r}));var u=e===null||e===void 0?void 0:e.selector;return u?n.map((function(r){return Array.from(r.querySelectorAll(u))})).reduce((function(r,t){return __spreadArray(__spreadArray([],r),t)}),[]).filter((function(r){return!!r})):n}function A(r,t,e){var n=r.querySelector(t);n=e&&e.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===r?n:null;var u=e===null||e===void 0?void 0:e.selector;return u?n.querySelector(u):n}function w(r,t){return Array.from(r.children).filter((function(r){return r.matches(t)}))}function S(r,t,e){if(typeof t==="string"&&t!==""){return t}else if(t===""){return r[e]}}function k(r,t){return!(t.left>r.right||t.right<r.left||t.top>r.bottom||t.bottom<r.top)}}}}));
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function u(e){try{l(n.next(e))}catch(e){i(e)}}function a(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):o(e.value).then(u,a)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(e){return function(t){return l([e,t])}}function l(u){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;o=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1];i=u;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(u);break}if(i[2])r.ops.pop();r.trys.pop();continue}u=t.call(e,r)}catch(e){u=[6,e];o=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */import{g as guid}from"./guid-196bd5ea.js";var autoTheme="calcite-theme-auto";var darkTheme="calcite-theme-dark";var lightTheme="calcite-theme-light";var CSS_UTILITY={autoTheme:autoTheme,darkTheme:darkTheme,lightTheme:lightTheme,rtl:"calcite--rtl"};var TEXT={loading:"Loading"};function ensureId(e){if(!e){return""}return e.id=e.id||e.tagName.toLowerCase()+"-"+guid()}function nodeListToArray(e){return Array.isArray(e)?e:Array.from(e)}function getThemeName(e){return closestElementCrossShadowBoundary(e,"."+CSS_UTILITY.darkTheme)?"dark":"light"}function getElementDir(e){var t="dir";var r="["+t+"]";var n=closestElementCrossShadowBoundary(e,r);return n?n.getAttribute(t):"ltr"}function getElementProp(e,t,r){var n="["+t+"]";var o=e.closest(n);return o?o.getAttribute(t):r}function getRootNode(e){return e.getRootNode()}function getHost(e){return e.host||null}function queryElementsRoots(e,t){function r(e,n){if(!e){return n}if(e.assignedSlot){e=e.assignedSlot}var o=getRootNode(e);var i=Array.from(o.querySelectorAll(t));var u=i.filter((function(e){return!n.includes(e)}));n=__spreadArray(__spreadArray([],n),u);var a=getHost(o);return a?r(a,n):n}return r(e,[])}function queryElementRoots(e,t){function r(e){if(!e){return null}if(e.assignedSlot){e=e.assignedSlot}var n=getRootNode(e);var o=n.querySelector(t);var i=getHost(n);return o?o:i?r(i):null}return r(e)}function closestElementCrossShadowBoundary(e,t){function r(e){return e?e.closest(t)||r(getHost(getRootNode(e))):null}return r(e)}function isCalciteFocusable(e){return typeof(e===null||e===void 0?void 0:e.setFocus)==="function"}function focusElement(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!e){return[2]}return[2,isCalciteFocusable(e)?e.setFocus():e.focus()]}))}))}function getSlotted(e,t,r){var n='[slot="'+t+'"]';if(r===null||r===void 0?void 0:r.all){return queryMultiple(e,n,r)}return querySingle(e,n,r)}function queryMultiple(e,t,r){var n=Array.from(e.querySelectorAll(t));n=r&&r.direct===false?n:n.filter((function(t){return t.parentElement===e}));var o=r===null||r===void 0?void 0:r.selector;return o?n.map((function(e){return Array.from(e.querySelectorAll(o))})).reduce((function(e,t){return __spreadArray(__spreadArray([],e),t)}),[]).filter((function(e){return!!e})):n}function querySingle(e,t,r){var n=e.querySelector(t);n=r&&r.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===e?n:null;var o=r===null||r===void 0?void 0:r.selector;return o?n.querySelector(o):n}function filterDirectChildren(e,t){return Array.from(e.children).filter((function(e){return e.matches(t)}))}function setRequestedIcon(e,t,r){if(typeof t==="string"&&t!==""){return t}else if(t===""){return e[r]}}function intersects(e,t){return!(t.left>e.right||t.right<e.left||t.top>e.bottom||t.bottom<e.top)}export{CSS_UTILITY as C,TEXT as T,getElementDir as a,getThemeName as b,closestElementCrossShadowBoundary as c,getElementProp as d,ensureId as e,focusElement as f,getSlotted as g,queryElementsRoots as h,isCalciteFocusable as i,intersects as j,filterDirectChildren as k,nodeListToArray as n,queryElementRoots as q,setRequestedIcon as s};