@esri/calcite-components 1.0.0-next.460 → 1.0.0-next.463

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 (855) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-18873966.system.entry.js → p-012bac2f.system.entry.js} +2 -2
  5. package/dist/calcite/p-03763324.entry.js +6 -0
  6. package/dist/calcite/p-04937667.system.entry.js +6 -0
  7. package/dist/calcite/p-0522f64b.system.entry.js +6 -0
  8. package/dist/calcite/{p-8e6d12b8.system.js → p-05b658c3.system.js} +1 -1
  9. package/dist/calcite/{p-30ff5207.system.js → p-05ff73fa.system.js} +1 -1
  10. package/dist/calcite/p-067ec802.entry.js +6 -0
  11. package/dist/calcite/p-072c5078.entry.js +6 -0
  12. package/dist/calcite/{p-99066459.system.js → p-073fd396.system.js} +1 -1
  13. package/dist/calcite/p-08a0e5e7.system.entry.js +6 -0
  14. package/dist/calcite/{p-3e21be06.entry.js → p-0b234a4e.entry.js} +2 -2
  15. package/dist/calcite/{p-de803e0e.system.js → p-137de7a9.system.js} +2 -2
  16. package/dist/calcite/{p-d2d4f39e.system.entry.js → p-13e51a75.system.entry.js} +2 -2
  17. package/dist/calcite/{p-837910ca.system.entry.js → p-17cfb9c1.system.entry.js} +2 -2
  18. package/dist/calcite/{p-6dc32060.js → p-18214d4e.js} +1 -1
  19. package/dist/calcite/{p-88fa0aa1.system.js → p-185f9c9b.system.js} +1 -1
  20. package/dist/calcite/p-1db9909c.system.entry.js +6 -0
  21. package/dist/calcite/{p-4738ca8f.js → p-1e972f14.js} +1 -1
  22. package/dist/calcite/{p-dcd120aa.entry.js → p-21e2f111.entry.js} +2 -2
  23. package/dist/calcite/{p-1531ca90.system.js → p-225e070b.system.js} +1 -1
  24. package/dist/calcite/p-24639718.system.entry.js +6 -0
  25. package/dist/calcite/{p-7febaf2b.entry.js → p-26bfa2c8.entry.js} +2 -2
  26. package/dist/calcite/p-27420098.entry.js +6 -0
  27. package/dist/calcite/p-278c6aa7.system.entry.js +6 -0
  28. package/dist/calcite/p-27a45f19.entry.js +6 -0
  29. package/dist/calcite/{p-cf07e076.system.entry.js → p-29ed09b3.system.entry.js} +3 -3
  30. package/dist/calcite/p-2a615182.system.entry.js +6 -0
  31. package/dist/calcite/{p-bb0c44b0.system.entry.js → p-2afda726.system.entry.js} +2 -2
  32. package/dist/calcite/{p-5d4ff560.system.entry.js → p-2e89b88a.system.entry.js} +2 -2
  33. package/dist/calcite/{p-3f025198.js → p-2eb0e6b1.js} +2 -2
  34. package/dist/calcite/p-30b68104.system.entry.js +6 -0
  35. package/dist/calcite/p-30dffd65.system.entry.js +6 -0
  36. package/dist/calcite/p-317352ba.entry.js +6 -0
  37. package/dist/calcite/{p-d59c594f.js → p-35bd5b33.js} +1 -1
  38. package/dist/calcite/{p-503903b8.entry.js → p-360efa27.entry.js} +2 -2
  39. package/dist/calcite/{p-d46a5053.system.js → p-36a10379.system.js} +1 -1
  40. package/dist/calcite/p-39ab2b28.entry.js +6 -0
  41. package/dist/calcite/{p-a33322b5.entry.js → p-3a4c9534.entry.js} +2 -2
  42. package/dist/calcite/p-3b0435eb.entry.js +6 -0
  43. package/dist/calcite/{p-b7dfb289.entry.js → p-3b663fe3.entry.js} +2 -2
  44. package/dist/calcite/{p-898bbc37.js → p-3c53fae2.js} +2 -2
  45. package/dist/calcite/p-3cd9efd8.entry.js +6 -0
  46. package/dist/calcite/{p-2ec4474b.entry.js → p-3ecd932e.entry.js} +2 -2
  47. package/dist/calcite/p-3fc798b0.js +6 -0
  48. package/dist/calcite/p-4190c2db.js +6 -0
  49. package/dist/calcite/{p-a1da11d4.system.entry.js → p-41de1929.system.entry.js} +2 -2
  50. package/dist/calcite/{p-75f77bad.js → p-41edf365.js} +2 -2
  51. package/dist/calcite/{p-65c7a71b.system.js → p-42ca4516.system.js} +2 -2
  52. package/dist/calcite/{p-fb6d978e.system.js → p-430e291b.system.js} +1 -1
  53. package/dist/calcite/{p-f8b04802.system.js → p-44002bba.system.js} +2 -2
  54. package/dist/calcite/{p-17135b9a.system.entry.js → p-44d3686d.system.entry.js} +2 -2
  55. package/dist/calcite/p-45721bc0.system.entry.js +6 -0
  56. package/dist/calcite/p-489d6ea3.entry.js +6 -0
  57. package/dist/calcite/{p-d43c578e.entry.js → p-493cf5fc.entry.js} +2 -2
  58. package/dist/calcite/{p-4ff298fe.js → p-499ed95d.js} +2 -2
  59. package/dist/calcite/{p-e64ad06b.system.entry.js → p-4b8c54ff.system.entry.js} +2 -2
  60. package/dist/calcite/p-4baae866.entry.js +6 -0
  61. package/dist/calcite/{p-1ba33b3b.system.js → p-54921a0f.system.js} +1 -1
  62. package/dist/calcite/{p-fae07bff.system.entry.js → p-55e8aae7.system.entry.js} +2 -2
  63. package/dist/calcite/{p-9d562aa6.js → p-586668c1.js} +1 -1
  64. package/dist/calcite/p-5d3ce50b.system.entry.js +6 -0
  65. package/dist/calcite/{p-426220ba.entry.js → p-5d71b7da.entry.js} +2 -2
  66. package/dist/calcite/p-5f2ab479.system.js +6 -0
  67. package/dist/calcite/p-5f44791e.system.entry.js +6 -0
  68. package/dist/calcite/p-6071b8bf.entry.js +6 -0
  69. package/dist/calcite/{p-9b790cd6.system.js → p-63e00123.system.js} +2 -2
  70. package/dist/calcite/{p-132c4fbc.entry.js → p-640889b4.entry.js} +2 -2
  71. package/dist/calcite/{p-1b3cd523.entry.js → p-67114561.entry.js} +2 -2
  72. package/dist/calcite/{p-7cb5488d.entry.js → p-6720f642.entry.js} +2 -2
  73. package/dist/calcite/{p-7c252d22.system.js → p-676a9d2a.system.js} +2 -2
  74. package/dist/calcite/{p-bbc23e1d.system.js → p-676ea8f3.system.js} +1 -1
  75. package/dist/calcite/{p-d6e4ed4b.system.entry.js → p-689daf2f.system.entry.js} +2 -2
  76. package/dist/calcite/{p-8256e10b.system.entry.js → p-68d9e58f.system.entry.js} +2 -2
  77. package/dist/calcite/p-698a69e3.entry.js +6 -0
  78. package/dist/calcite/p-69ed1a6a.system.entry.js +6 -0
  79. package/dist/calcite/{p-f2d72a02.system.js → p-6ad06ac7.system.js} +1 -1
  80. package/dist/calcite/{p-7093828d.entry.js → p-6b82d37a.entry.js} +2 -2
  81. package/dist/calcite/p-6f876aa0.system.js +6 -0
  82. package/dist/calcite/{p-c06f1557.js → p-70b93d65.js} +1 -1
  83. package/dist/calcite/{p-1c002fcb.entry.js → p-71236fc9.entry.js} +2 -2
  84. package/dist/calcite/{p-002a5b22.system.entry.js → p-723e6a58.system.entry.js} +2 -2
  85. package/dist/calcite/p-7247130b.system.entry.js +6 -0
  86. package/dist/calcite/p-7475a9e7.system.entry.js +6 -0
  87. package/dist/calcite/{p-ec562709.js → p-74bf1ba2.js} +1 -1
  88. package/dist/calcite/p-76e38da9.system.entry.js +6 -0
  89. package/dist/calcite/{p-8440e79f.js → p-77d89707.js} +1 -1
  90. package/dist/calcite/p-77e0f1ba.system.js +6 -0
  91. package/dist/calcite/{p-2278a71e.system.entry.js → p-79a24ed8.system.entry.js} +2 -2
  92. package/dist/calcite/{p-afdfd261.system.js → p-7b4eb54d.system.js} +3 -3
  93. package/dist/calcite/p-7be626d2.entry.js +6 -0
  94. package/dist/calcite/p-7bf6b07a.system.entry.js +6 -0
  95. package/dist/calcite/{p-3473ca95.entry.js → p-807c0746.entry.js} +2 -2
  96. package/dist/calcite/{p-7acb41e5.js → p-80c66ef6.js} +1 -1
  97. package/dist/calcite/{p-6e96b12f.system.entry.js → p-85b200b1.system.entry.js} +2 -2
  98. package/dist/calcite/p-88812e35.entry.js +6 -0
  99. package/dist/calcite/p-895fa8d6.js +6 -0
  100. package/dist/calcite/{p-03bf13ce.js → p-8a331a16.js} +1 -1
  101. package/dist/calcite/{p-2ecde02d.entry.js → p-8a835fa9.entry.js} +2 -2
  102. package/dist/calcite/{p-d79d3502.system.entry.js → p-8b7d78b5.system.entry.js} +2 -2
  103. package/dist/calcite/p-8f0f191f.entry.js +6 -0
  104. package/dist/calcite/p-920eeb64.entry.js +6 -0
  105. package/dist/calcite/{p-cc9c446b.entry.js → p-9325521b.entry.js} +2 -2
  106. package/dist/calcite/{p-4cd5391e.entry.js → p-935d3d34.entry.js} +2 -2
  107. package/dist/calcite/p-946dfbbe.entry.js +6 -0
  108. package/dist/calcite/{p-6386a010.js → p-966eacae.js} +2 -2
  109. package/dist/calcite/{p-79ee3046.system.entry.js → p-977e2f2b.system.entry.js} +2 -2
  110. package/dist/calcite/p-995a2abe.system.js +6 -0
  111. package/dist/calcite/{p-e7088de0.system.entry.js → p-9a39f2ad.system.entry.js} +2 -2
  112. package/dist/calcite/p-9f34e6ed.system.entry.js +6 -0
  113. package/dist/calcite/{p-031256e6.system.entry.js → p-a10a7033.system.entry.js} +2 -2
  114. package/dist/calcite/{p-635134ee.system.entry.js → p-a116f984.system.entry.js} +2 -2
  115. package/dist/calcite/{p-0d3ee826.system.entry.js → p-a32c02b2.system.entry.js} +2 -2
  116. package/dist/calcite/{p-cc00c1e0.system.js → p-a36c3433.system.js} +2 -2
  117. package/dist/calcite/p-a46f9a15.entry.js +6 -0
  118. package/dist/calcite/p-a576cc5c.entry.js +6 -0
  119. package/dist/calcite/{p-7d751138.system.entry.js → p-a6715157.system.entry.js} +2 -2
  120. package/dist/calcite/{p-46067095.js → p-a8c3f4e4.js} +1 -1
  121. package/dist/calcite/{p-a6bf61eb.js → p-a9b775b2.js} +1 -1
  122. package/dist/calcite/{p-4abfedbe.entry.js → p-aa7868b7.entry.js} +2 -2
  123. package/dist/calcite/{p-985b0ca1.js → p-b04542ff.js} +1 -1
  124. package/dist/calcite/p-b21561ed.system.entry.js +6 -0
  125. package/dist/calcite/{p-de6cf59a.js → p-b5f633a5.js} +1 -1
  126. package/dist/calcite/{p-8cd6f314.system.entry.js → p-b9447f9d.system.entry.js} +2 -2
  127. package/dist/calcite/{p-da30d63c.system.entry.js → p-bb2d0079.system.entry.js} +2 -2
  128. package/dist/calcite/p-bcf85a09.system.entry.js +6 -0
  129. package/dist/calcite/{p-b866654a.system.js → p-bfd25463.system.js} +1 -1
  130. package/dist/calcite/p-c4d7b59e.entry.js +6 -0
  131. package/dist/calcite/{p-4870e446.system.entry.js → p-c58e1477.system.entry.js} +2 -2
  132. package/dist/calcite/p-c5d15f7c.system.entry.js +6 -0
  133. package/dist/calcite/p-c5fbab16.entry.js +6 -0
  134. package/dist/calcite/p-c6bd1de7.system.entry.js +6 -0
  135. package/dist/calcite/{p-e709a866.system.entry.js → p-c706af28.system.entry.js} +2 -2
  136. package/dist/calcite/{p-f48de06f.system.entry.js → p-cbdaab9c.system.entry.js} +2 -2
  137. package/dist/calcite/p-cd25fd53.entry.js +6 -0
  138. package/dist/calcite/{p-4c06be13.js → p-cdb71230.js} +2 -2
  139. package/dist/calcite/{p-06e5a9ca.system.entry.js → p-d159bdc7.system.entry.js} +2 -2
  140. package/dist/calcite/{p-df4a0b4a.entry.js → p-d1a695ef.entry.js} +2 -2
  141. package/dist/calcite/p-d2bd3e50.system.js +6 -0
  142. package/dist/calcite/{p-09b5cdce.system.entry.js → p-d36cbfc9.system.entry.js} +2 -2
  143. package/dist/calcite/{p-277153f9.entry.js → p-d3ed373e.entry.js} +2 -2
  144. package/dist/calcite/p-d3fff0e6.system.entry.js +6 -0
  145. package/dist/calcite/{p-b950de85.entry.js → p-d604f84d.entry.js} +2 -2
  146. package/dist/calcite/p-d64a7840.js +6 -0
  147. package/dist/calcite/{p-b47ca820.system.entry.js → p-dad38a9d.system.entry.js} +2 -2
  148. package/dist/calcite/{p-3d03d240.entry.js → p-db491eaa.entry.js} +2 -2
  149. package/dist/calcite/p-db524aef.entry.js +6 -0
  150. package/dist/calcite/p-dee24ce2.system.entry.js +6 -0
  151. package/dist/calcite/p-e18b1b95.system.entry.js +6 -0
  152. package/dist/calcite/{p-171df6d5.system.js → p-e7ad40f8.system.js} +1 -1
  153. package/dist/calcite/{p-ce3e0ceb.entry.js → p-eba1098d.entry.js} +2 -2
  154. package/dist/calcite/p-ecf5a2bd.js +6 -0
  155. package/dist/calcite/{p-cec41051.system.js → p-ee130cac.system.js} +1 -1
  156. package/dist/calcite/{p-e05ca959.entry.js → p-f452a7ef.entry.js} +2 -2
  157. package/dist/calcite/p-f468edcd.entry.js +6 -0
  158. package/dist/calcite/p-f54d8728.entry.js +6 -0
  159. package/dist/calcite/{p-0f147bc7.entry.js → p-f72f050b.entry.js} +2 -2
  160. package/dist/calcite/{p-005bb727.system.js → p-f7435fc9.system.js} +1 -1
  161. package/dist/calcite/p-f7850dc8.entry.js +6 -0
  162. package/dist/calcite/{p-164f2d13.entry.js → p-f903ded8.entry.js} +2 -2
  163. package/dist/calcite/{p-e5d15c01.entry.js → p-f937bc8c.entry.js} +2 -2
  164. package/dist/calcite/{p-43dcff1c.entry.js → p-f94ef41e.entry.js} +2 -2
  165. package/dist/calcite/{p-2ce8bc86.system.entry.js → p-f991d05a.system.entry.js} +2 -2
  166. package/dist/calcite/p-fbc26740.entry.js +6 -0
  167. package/dist/calcite/{p-a0356871.system.entry.js → p-feb710e4.system.entry.js} +2 -2
  168. package/dist/cjs/{ExpandToggle-29ae1a57.js → ExpandToggle-eec03d68.js} +5 -5
  169. package/dist/cjs/{Heading-5ac9dde8.js → Heading-3dca469a.js} +2 -2
  170. package/dist/cjs/{array-7c34ba51.js → array-c55dfade.js} +1 -1
  171. package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
  172. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  173. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  174. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  175. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  176. package/dist/cjs/calcite-action.cjs.entry.js +7 -5
  177. package/dist/cjs/calcite-alert.cjs.entry.js +6 -6
  178. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  179. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  180. package/dist/cjs/calcite-button.cjs.entry.js +11 -10
  181. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  182. package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -8
  183. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  184. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +21 -11
  185. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -15
  186. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  187. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +9 -9
  188. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  189. package/dist/cjs/calcite-filter.cjs.entry.js +12 -9
  190. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  191. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-handle.cjs.entry.js +5 -3
  193. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  194. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +17 -12
  196. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  197. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +19 -14
  198. package/dist/cjs/calcite-input.cjs.entry.js +53 -32
  199. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  202. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  205. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
  207. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  208. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  209. package/dist/cjs/calcite-popover_2.cjs.entry.js +9 -9
  210. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  211. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  212. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  214. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  216. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
  220. package/dist/cjs/calcite-switch.cjs.entry.js +8 -8
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +8 -8
  222. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  223. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  225. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
  226. package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
  227. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
  228. package/dist/cjs/calcite.cjs.js +2 -2
  229. package/dist/cjs/{conditionalSlot-06d76ae7.js → conditionalSlot-a75bd651.js} +3 -3
  230. package/dist/cjs/{debounce-4cf96666.js → debounce-81dd86f2.js} +1 -1
  231. package/dist/cjs/{dom-abb07de0.js → dom-638a3591.js} +13 -2
  232. package/dist/cjs/{forIn-3c860503.js → forIn-f55313be.js} +2 -2
  233. package/dist/cjs/{form-ba671b5b.js → form-3294e196.js} +19 -3
  234. package/dist/cjs/{guid-932a13e8.js → guid-d5bb6094.js} +1 -1
  235. package/dist/cjs/{index-15183423.js → index-92a35a7d.js} +1 -1
  236. package/dist/cjs/index.cjs.js +1 -1
  237. package/dist/cjs/{interactive-b8f67cd2.js → interactive-5cbde708.js} +1 -1
  238. package/dist/cjs/{interfaces-424466b0.js → interfaces-7b17a4dd.js} +1 -1
  239. package/dist/cjs/{label-a92f86c2.js → label-c132e6a6.js} +2 -2
  240. package/dist/cjs/loader.cjs.js +2 -2
  241. package/dist/cjs/{locale-da69ea9a.js → locale-6602a5f7.js} +2 -2
  242. package/dist/cjs/{math-4b5ed92f.js → math-99f530cf.js} +1 -1
  243. package/dist/cjs/{number-a09f456c.js → number-501f63b2.js} +1 -1
  244. package/dist/cjs/{observers-775a55de.js → observers-bfab8337.js} +1 -1
  245. package/dist/cjs/{popper-dd03f435.js → popper-7f7e9026.js} +2 -2
  246. package/dist/cjs/{resources-37c81e6d.js → resources-2b6a1a83.js} +3 -3
  247. package/dist/cjs/{resources-1bc3b371.js → resources-73235792.js} +6 -6
  248. package/dist/cjs/{resources-b3893e4c.js → resources-9c8d43de.js} +1 -1
  249. package/dist/cjs/{resources-abb78051.js → resources-ac912490.js} +1 -1
  250. package/dist/cjs/{sortable.esm-e51b7bf6.js → sortable.esm-91bcdc48.js} +1 -1
  251. package/dist/cjs/{utils-40514965.js → utils-e6fb1a55.js} +1 -1
  252. package/dist/collection/components/accordion/accordion.js +1 -1
  253. package/dist/collection/components/accordion/interfaces.js +1 -1
  254. package/dist/collection/components/accordion-item/accordion-item.js +3 -3
  255. package/dist/collection/components/action/action.js +3 -2
  256. package/dist/collection/components/action/resources.js +1 -1
  257. package/dist/collection/components/action-bar/action-bar.js +1 -1
  258. package/dist/collection/components/action-bar/resources.js +1 -1
  259. package/dist/collection/components/action-bar/utils.js +1 -1
  260. package/dist/collection/components/action-group/action-group.js +1 -1
  261. package/dist/collection/components/action-group/resources.js +1 -1
  262. package/dist/collection/components/action-menu/action-menu.js +3 -3
  263. package/dist/collection/components/action-menu/resources.js +1 -1
  264. package/dist/collection/components/action-pad/action-pad.js +1 -1
  265. package/dist/collection/components/action-pad/resources.js +1 -1
  266. package/dist/collection/components/alert/alert.js +3 -3
  267. package/dist/collection/components/alert/interfaces.js +1 -1
  268. package/dist/collection/components/alert/resources.js +1 -1
  269. package/dist/collection/components/avatar/avatar.js +1 -1
  270. package/dist/collection/components/avatar/utils.js +1 -1
  271. package/dist/collection/components/block/block.js +5 -5
  272. package/dist/collection/components/block/resources.js +1 -1
  273. package/dist/collection/components/block-section/block-section.js +3 -3
  274. package/dist/collection/components/block-section/interfaces.js +1 -1
  275. package/dist/collection/components/block-section/resources.js +1 -1
  276. package/dist/collection/components/button/button.js +5 -4
  277. package/dist/collection/components/button/interfaces.js +1 -1
  278. package/dist/collection/components/button/resources.js +1 -1
  279. package/dist/collection/components/card/card.js +3 -3
  280. package/dist/collection/components/card/resources.js +1 -1
  281. package/dist/collection/components/checkbox/checkbox.js +3 -2
  282. package/dist/collection/components/chip/chip.js +1 -1
  283. package/dist/collection/components/chip/interfaces.js +1 -1
  284. package/dist/collection/components/chip/resources.js +1 -1
  285. package/dist/collection/components/color-picker/color-picker.css +2 -9
  286. package/dist/collection/components/color-picker/color-picker.js +7 -2
  287. package/dist/collection/components/color-picker/interfaces.js +1 -1
  288. package/dist/collection/components/color-picker/resources.js +1 -1
  289. package/dist/collection/components/color-picker/utils.js +1 -1
  290. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +7 -2
  291. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  292. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  293. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  294. package/dist/collection/components/combobox/combobox.js +9 -5
  295. package/dist/collection/components/combobox/interfaces.js +1 -1
  296. package/dist/collection/components/combobox/resources.js +1 -1
  297. package/dist/collection/components/combobox/utils.js +1 -1
  298. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  299. package/dist/collection/components/combobox-item/resources.js +1 -1
  300. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  301. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  302. package/dist/collection/components/date-picker/date-picker.js +1 -1
  303. package/dist/collection/components/date-picker/interfaces.js +1 -1
  304. package/dist/collection/components/date-picker/resources.js +1 -1
  305. package/dist/collection/components/date-picker/utils.js +1 -1
  306. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  307. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  308. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  309. package/dist/collection/components/dropdown/dropdown.js +4 -4
  310. package/dist/collection/components/dropdown/interfaces.js +1 -1
  311. package/dist/collection/components/dropdown/resources.js +1 -1
  312. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  313. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  314. package/dist/collection/components/dropdown-group/resources.js +1 -1
  315. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
  316. package/dist/collection/components/dropdown-item/resources.js +1 -1
  317. package/dist/collection/components/fab/fab.js +1 -1
  318. package/dist/collection/components/fab/resources.js +1 -1
  319. package/dist/collection/components/filter/filter.js +6 -3
  320. package/dist/collection/components/filter/resources.js +1 -1
  321. package/dist/collection/components/flow/flow.js +1 -1
  322. package/dist/collection/components/flow/interfaces.js +1 -1
  323. package/dist/collection/components/flow/resources.js +1 -1
  324. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  325. package/dist/collection/components/functional/Heading.js +1 -1
  326. package/dist/collection/components/graph/graph.js +1 -1
  327. package/dist/collection/components/graph/interfaces.js +1 -1
  328. package/dist/collection/components/graph/util.js +1 -1
  329. package/dist/collection/components/handle/handle.js +3 -2
  330. package/dist/collection/components/handle/resources.js +1 -1
  331. package/dist/collection/components/icon/icon.js +3 -3
  332. package/dist/collection/components/icon/resources.js +1 -1
  333. package/dist/collection/components/icon/utils.js +1 -1
  334. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  335. package/dist/collection/components/inline-editable/resources.js +1 -1
  336. package/dist/collection/components/input/input.js +44 -23
  337. package/dist/collection/components/input/interfaces.js +1 -1
  338. package/dist/collection/components/input/resources.js +1 -1
  339. package/dist/collection/components/input-date-picker/input-date-picker.js +11 -5
  340. package/dist/collection/components/input-message/input-message.js +1 -1
  341. package/dist/collection/components/input-message/interfaces.js +1 -1
  342. package/dist/collection/components/input-time-picker/input-time-picker.js +13 -8
  343. package/dist/collection/components/interfaces.js +1 -1
  344. package/dist/collection/components/label/label.js +1 -1
  345. package/dist/collection/components/label/resources.js +1 -1
  346. package/dist/collection/components/link/link.js +1 -1
  347. package/dist/collection/components/list/list.js +1 -1
  348. package/dist/collection/components/list/resources.js +1 -1
  349. package/dist/collection/components/list-item/list-item.js +1 -1
  350. package/dist/collection/components/list-item/resources.js +1 -1
  351. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  352. package/dist/collection/components/list-item-group/resources.js +1 -1
  353. package/dist/collection/components/loader/loader.js +1 -1
  354. package/dist/collection/components/modal/interfaces.js +1 -1
  355. package/dist/collection/components/modal/modal.js +1 -1
  356. package/dist/collection/components/modal/resources.js +1 -1
  357. package/dist/collection/components/notice/notice.js +1 -1
  358. package/dist/collection/components/notice/resources.js +1 -1
  359. package/dist/collection/components/option/option.js +1 -1
  360. package/dist/collection/components/option-group/option-group.js +1 -1
  361. package/dist/collection/components/pagination/pagination.js +1 -1
  362. package/dist/collection/components/pagination/resources.js +1 -1
  363. package/dist/collection/components/panel/panel.js +3 -3
  364. package/dist/collection/components/panel/resources.js +1 -1
  365. package/dist/collection/components/pick-list/pick-list.js +1 -1
  366. package/dist/collection/components/pick-list/resources.js +1 -1
  367. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  368. package/dist/collection/components/pick-list/shared-list-render.js +3 -2
  369. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  370. package/dist/collection/components/pick-list-group/resources.js +1 -1
  371. package/dist/collection/components/pick-list-item/pick-list-item.js +3 -3
  372. package/dist/collection/components/pick-list-item/resources.js +1 -1
  373. package/dist/collection/components/popover/PopoverManager.js +1 -1
  374. package/dist/collection/components/popover/popover.js +4 -4
  375. package/dist/collection/components/popover/resources.js +1 -1
  376. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  377. package/dist/collection/components/progress/progress.js +1 -1
  378. package/dist/collection/components/radio-button/radio-button.js +3 -3
  379. package/dist/collection/components/radio-button/resources.js +1 -1
  380. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  381. package/dist/collection/components/radio-group/interfaces.js +1 -1
  382. package/dist/collection/components/radio-group/radio-group.js +1 -1
  383. package/dist/collection/components/radio-group-item/radio-group-item.js +3 -3
  384. package/dist/collection/components/radio-group-item/resources.js +1 -1
  385. package/dist/collection/components/rating/rating.js +1 -1
  386. package/dist/collection/components/rating/resources.js +1 -1
  387. package/dist/collection/components/scrim/resources.js +1 -1
  388. package/dist/collection/components/scrim/scrim.js +1 -1
  389. package/dist/collection/components/select/resources.js +1 -1
  390. package/dist/collection/components/select/select.js +1 -1
  391. package/dist/collection/components/shell/resources.js +1 -1
  392. package/dist/collection/components/shell/shell.js +1 -1
  393. package/dist/collection/components/shell-center-row/resources.js +1 -1
  394. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  395. package/dist/collection/components/shell-panel/resources.js +1 -1
  396. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  397. package/dist/collection/components/slider/slider.js +1 -1
  398. package/dist/collection/components/sortable-list/resources.js +1 -1
  399. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  400. package/dist/collection/components/split-button/resources.js +1 -1
  401. package/dist/collection/components/split-button/split-button.js +1 -1
  402. package/dist/collection/components/stepper/stepper.js +1 -1
  403. package/dist/collection/components/stepper-item/stepper-item.js +3 -3
  404. package/dist/collection/components/switch/switch.js +3 -3
  405. package/dist/collection/components/tab/interfaces.js +1 -1
  406. package/dist/collection/components/tab/tab.js +3 -3
  407. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  408. package/dist/collection/components/tab-title/tab-title.js +3 -3
  409. package/dist/collection/components/tabs/interfaces.js +1 -1
  410. package/dist/collection/components/tabs/resources.js +1 -1
  411. package/dist/collection/components/tabs/tabs.js +1 -1
  412. package/dist/collection/components/tile/resources.js +1 -1
  413. package/dist/collection/components/tile/tile.js +1 -1
  414. package/dist/collection/components/tile-select/interfaces.js +1 -1
  415. package/dist/collection/components/tile-select/resources.js +1 -1
  416. package/dist/collection/components/tile-select/tile-select.js +1 -1
  417. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  418. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  419. package/dist/collection/components/time-picker/resources.js +1 -1
  420. package/dist/collection/components/time-picker/time-picker.js +1 -1
  421. package/dist/collection/components/tip/resources.js +1 -1
  422. package/dist/collection/components/tip/tip.js +1 -1
  423. package/dist/collection/components/tip-group/tip-group.js +1 -1
  424. package/dist/collection/components/tip-manager/resources.js +1 -1
  425. package/dist/collection/components/tip-manager/tip-manager.js +3 -3
  426. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  427. package/dist/collection/components/tooltip/resources.js +1 -1
  428. package/dist/collection/components/tooltip/tooltip.js +3 -3
  429. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  430. package/dist/collection/components/tree/interfaces.js +1 -1
  431. package/dist/collection/components/tree/tree.js +1 -1
  432. package/dist/collection/components/tree-item/interfaces.js +1 -1
  433. package/dist/collection/components/tree-item/resources.js +1 -1
  434. package/dist/collection/components/tree-item/tree-item.js +3 -3
  435. package/dist/collection/components/value-list/resources.js +1 -1
  436. package/dist/collection/components/value-list/value-list.js +1 -1
  437. package/dist/collection/components/value-list-item/resources.js +1 -1
  438. package/dist/collection/components/value-list-item/value-list-item.js +3 -3
  439. package/dist/collection/utils/array.js +1 -1
  440. package/dist/collection/utils/conditionalSlot.js +1 -1
  441. package/dist/collection/utils/date.js +1 -1
  442. package/dist/collection/utils/dom.js +11 -1
  443. package/dist/collection/utils/filter.js +1 -1
  444. package/dist/collection/utils/form.js +15 -1
  445. package/dist/collection/utils/globalAttributes.js +1 -1
  446. package/dist/collection/utils/guid.js +1 -1
  447. package/dist/collection/utils/interactive.js +1 -1
  448. package/dist/collection/utils/key.js +1 -1
  449. package/dist/collection/utils/label.js +1 -1
  450. package/dist/collection/utils/locale.js +1 -1
  451. package/dist/collection/utils/math.js +1 -1
  452. package/dist/collection/utils/number.js +1 -1
  453. package/dist/collection/utils/observers.js +1 -1
  454. package/dist/collection/utils/popper.js +1 -1
  455. package/dist/collection/utils/resources.js +1 -1
  456. package/dist/collection/utils/time.js +1 -1
  457. package/dist/components/ExpandToggle.js +1 -1
  458. package/dist/components/Heading.js +1 -1
  459. package/dist/components/action-group.js +1 -1
  460. package/dist/components/action-menu.js +3 -3
  461. package/dist/components/action.js +3 -2
  462. package/dist/components/array.js +1 -1
  463. package/dist/components/button.js +5 -4
  464. package/dist/components/calcite-accordion-item.js +3 -3
  465. package/dist/components/calcite-accordion.js +1 -1
  466. package/dist/components/calcite-action-bar.js +1 -1
  467. package/dist/components/calcite-action-group.js +1 -1
  468. package/dist/components/calcite-action-menu.js +1 -1
  469. package/dist/components/calcite-action-pad.js +1 -1
  470. package/dist/components/calcite-action.js +1 -1
  471. package/dist/components/calcite-alert.js +3 -3
  472. package/dist/components/calcite-avatar.js +1 -1
  473. package/dist/components/calcite-block-section.js +3 -3
  474. package/dist/components/calcite-block.js +5 -5
  475. package/dist/components/calcite-button.js +1 -1
  476. package/dist/components/calcite-card.js +3 -3
  477. package/dist/components/calcite-checkbox.js +1 -1
  478. package/dist/components/calcite-chip.js +1 -1
  479. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  480. package/dist/components/calcite-color-picker-swatch.js +1 -1
  481. package/dist/components/calcite-color-picker.js +8 -3
  482. package/dist/components/calcite-combobox-item-group.js +1 -1
  483. package/dist/components/calcite-combobox-item.js +1 -1
  484. package/dist/components/calcite-combobox.js +9 -5
  485. package/dist/components/calcite-date-picker-day.js +1 -1
  486. package/dist/components/calcite-date-picker-month-header.js +1 -1
  487. package/dist/components/calcite-date-picker-month.js +1 -1
  488. package/dist/components/calcite-date-picker.js +1 -1
  489. package/dist/components/calcite-dropdown-group.js +1 -1
  490. package/dist/components/calcite-dropdown-item.js +3 -3
  491. package/dist/components/calcite-dropdown.js +1 -1
  492. package/dist/components/calcite-fab.js +1 -1
  493. package/dist/components/calcite-filter.js +1 -1
  494. package/dist/components/calcite-flow.js +1 -1
  495. package/dist/components/calcite-graph.js +1 -1
  496. package/dist/components/calcite-handle.js +1 -1
  497. package/dist/components/calcite-icon.js +1 -1
  498. package/dist/components/calcite-inline-editable.js +1 -1
  499. package/dist/components/calcite-input-date-picker.js +9 -3
  500. package/dist/components/calcite-input-message.js +1 -1
  501. package/dist/components/calcite-input-time-picker.js +13 -8
  502. package/dist/components/calcite-input.js +1 -1
  503. package/dist/components/calcite-label.js +1 -1
  504. package/dist/components/calcite-link.js +1 -1
  505. package/dist/components/calcite-list-item-group.js +1 -1
  506. package/dist/components/calcite-list-item.js +1 -1
  507. package/dist/components/calcite-list.js +1 -1
  508. package/dist/components/calcite-loader.js +1 -1
  509. package/dist/components/calcite-modal.js +1 -1
  510. package/dist/components/calcite-notice.js +1 -1
  511. package/dist/components/calcite-option-group.js +1 -1
  512. package/dist/components/calcite-option.js +1 -1
  513. package/dist/components/calcite-pagination.js +1 -1
  514. package/dist/components/calcite-panel.js +3 -3
  515. package/dist/components/calcite-pick-list-group.js +1 -1
  516. package/dist/components/calcite-pick-list-item.js +1 -1
  517. package/dist/components/calcite-pick-list.js +1 -1
  518. package/dist/components/calcite-popover-manager.js +1 -1
  519. package/dist/components/calcite-popover.js +1 -1
  520. package/dist/components/calcite-progress.js +1 -1
  521. package/dist/components/calcite-radio-button-group.js +1 -1
  522. package/dist/components/calcite-radio-button.js +3 -3
  523. package/dist/components/calcite-radio-group-item.js +3 -3
  524. package/dist/components/calcite-radio-group.js +1 -1
  525. package/dist/components/calcite-rating.js +1 -1
  526. package/dist/components/calcite-scrim.js +1 -1
  527. package/dist/components/calcite-select.js +1 -1
  528. package/dist/components/calcite-shell-center-row.js +1 -1
  529. package/dist/components/calcite-shell-panel.js +1 -1
  530. package/dist/components/calcite-shell.js +1 -1
  531. package/dist/components/calcite-slider.js +1 -1
  532. package/dist/components/calcite-sortable-list.js +1 -1
  533. package/dist/components/calcite-split-button.js +1 -1
  534. package/dist/components/calcite-stepper-item.js +3 -3
  535. package/dist/components/calcite-stepper.js +1 -1
  536. package/dist/components/calcite-switch.js +1 -1
  537. package/dist/components/calcite-tab-nav.js +1 -1
  538. package/dist/components/calcite-tab-title.js +1 -1
  539. package/dist/components/calcite-tab.js +1 -1
  540. package/dist/components/calcite-tabs.js +1 -1
  541. package/dist/components/calcite-tile-select-group.js +1 -1
  542. package/dist/components/calcite-tile-select.js +1 -1
  543. package/dist/components/calcite-tile.js +1 -1
  544. package/dist/components/calcite-time-picker.js +1 -1
  545. package/dist/components/calcite-tip-group.js +1 -1
  546. package/dist/components/calcite-tip-manager.js +3 -3
  547. package/dist/components/calcite-tip.js +1 -1
  548. package/dist/components/calcite-tooltip-manager.js +1 -1
  549. package/dist/components/calcite-tooltip.js +3 -3
  550. package/dist/components/calcite-tree-item.js +3 -3
  551. package/dist/components/calcite-tree.js +1 -1
  552. package/dist/components/calcite-value-list-item.js +3 -3
  553. package/dist/components/calcite-value-list.js +1 -1
  554. package/dist/components/checkbox.js +3 -2
  555. package/dist/components/chip.js +1 -1
  556. package/dist/components/color-picker-hex-input.js +7 -2
  557. package/dist/components/color-picker-swatch.js +1 -1
  558. package/dist/components/conditionalSlot.js +1 -1
  559. package/dist/components/date-picker-day.js +1 -1
  560. package/dist/components/date-picker-month-header.js +1 -1
  561. package/dist/components/date-picker-month.js +1 -1
  562. package/dist/components/date-picker.js +1 -1
  563. package/dist/components/date.js +1 -1
  564. package/dist/components/debounce.js +1 -1
  565. package/dist/components/dom.js +12 -2
  566. package/dist/components/dropdown.js +3 -3
  567. package/dist/components/filter.js +6 -3
  568. package/dist/components/forIn.js +1 -1
  569. package/dist/components/form.js +16 -2
  570. package/dist/components/graph.js +1 -1
  571. package/dist/components/guid.js +1 -1
  572. package/dist/components/handle.js +3 -2
  573. package/dist/components/icon.js +3 -3
  574. package/dist/components/index.js +1 -1
  575. package/dist/components/input.js +44 -23
  576. package/dist/components/interactive.js +1 -1
  577. package/dist/components/interfaces.js +1 -1
  578. package/dist/components/interfaces2.js +1 -1
  579. package/dist/components/label.js +1 -1
  580. package/dist/components/label2.js +1 -1
  581. package/dist/components/link.js +1 -1
  582. package/dist/components/loader.js +1 -1
  583. package/dist/components/locale.js +1 -1
  584. package/dist/components/math.js +1 -1
  585. package/dist/components/number.js +1 -1
  586. package/dist/components/observers.js +1 -1
  587. package/dist/components/pick-list-item.js +3 -3
  588. package/dist/components/popover.js +4 -4
  589. package/dist/components/popper.js +1 -1
  590. package/dist/components/progress.js +1 -1
  591. package/dist/components/resources.js +1 -1
  592. package/dist/components/resources2.js +1 -1
  593. package/dist/components/resources3.js +1 -1
  594. package/dist/components/scrim.js +1 -1
  595. package/dist/components/shared-list-render.js +3 -3
  596. package/dist/components/sortable.esm.js +1 -1
  597. package/dist/components/switch.js +3 -3
  598. package/dist/components/tab-nav.js +1 -1
  599. package/dist/components/tab-title.js +3 -3
  600. package/dist/components/tab.js +3 -3
  601. package/dist/components/tabs.js +1 -1
  602. package/dist/components/tile.js +1 -1
  603. package/dist/components/time-picker.js +1 -1
  604. package/dist/components/utils.js +1 -1
  605. package/dist/components/utils2.js +1 -1
  606. package/dist/custom-elements/index.js +307 -236
  607. package/dist/esm/{ExpandToggle-094da9ae.js → ExpandToggle-fdd1d5e0.js} +5 -5
  608. package/dist/esm/{Heading-03c506f1.js → Heading-d9ebdbbf.js} +2 -2
  609. package/dist/esm/{array-6754b500.js → array-2b4c1f87.js} +1 -1
  610. package/dist/esm/calcite-accordion_2.entry.js +5 -5
  611. package/dist/esm/calcite-action-bar.entry.js +10 -10
  612. package/dist/esm/calcite-action-group.entry.js +8 -8
  613. package/dist/esm/calcite-action-menu.entry.js +9 -9
  614. package/dist/esm/calcite-action-pad.entry.js +9 -9
  615. package/dist/esm/calcite-action.entry.js +7 -5
  616. package/dist/esm/calcite-alert.entry.js +6 -6
  617. package/dist/esm/calcite-avatar.entry.js +5 -5
  618. package/dist/esm/calcite-block_2.entry.js +12 -12
  619. package/dist/esm/calcite-button.entry.js +11 -10
  620. package/dist/esm/calcite-card.entry.js +7 -7
  621. package/dist/esm/calcite-checkbox.entry.js +8 -8
  622. package/dist/esm/calcite-chip.entry.js +6 -6
  623. package/dist/esm/calcite-color-picker_3.entry.js +21 -11
  624. package/dist/esm/calcite-combobox_3.entry.js +18 -15
  625. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  626. package/dist/esm/calcite-dropdown_3.entry.js +9 -9
  627. package/dist/esm/calcite-fab.entry.js +5 -5
  628. package/dist/esm/calcite-filter.entry.js +12 -9
  629. package/dist/esm/calcite-flow.entry.js +3 -3
  630. package/dist/esm/calcite-graph_2.entry.js +9 -9
  631. package/dist/esm/calcite-handle.entry.js +5 -3
  632. package/dist/esm/calcite-icon.entry.js +6 -6
  633. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  634. package/dist/esm/calcite-input-date-picker.entry.js +17 -12
  635. package/dist/esm/calcite-input-message.entry.js +4 -4
  636. package/dist/esm/calcite-input-time-picker_2.entry.js +19 -14
  637. package/dist/esm/calcite-input.entry.js +53 -32
  638. package/dist/esm/calcite-label.entry.js +5 -5
  639. package/dist/esm/calcite-link.entry.js +5 -5
  640. package/dist/esm/calcite-list_3.entry.js +8 -8
  641. package/dist/esm/calcite-loader.entry.js +3 -3
  642. package/dist/esm/calcite-modal.entry.js +6 -6
  643. package/dist/esm/calcite-notice.entry.js +7 -7
  644. package/dist/esm/calcite-option_3.entry.js +8 -8
  645. package/dist/esm/calcite-pagination.entry.js +2 -2
  646. package/dist/esm/calcite-panel.entry.js +10 -10
  647. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  648. package/dist/esm/calcite-popover_2.entry.js +9 -9
  649. package/dist/esm/calcite-progress.entry.js +2 -2
  650. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  651. package/dist/esm/calcite-radio-button.entry.js +9 -9
  652. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  653. package/dist/esm/calcite-rating.entry.js +7 -7
  654. package/dist/esm/calcite-scrim.entry.js +2 -2
  655. package/dist/esm/calcite-shell_3.entry.js +7 -7
  656. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  657. package/dist/esm/calcite-split-button.entry.js +3 -3
  658. package/dist/esm/calcite-stepper_2.entry.js +6 -6
  659. package/dist/esm/calcite-switch.entry.js +8 -8
  660. package/dist/esm/calcite-tab_4.entry.js +8 -8
  661. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  662. package/dist/esm/calcite-tile.entry.js +7 -7
  663. package/dist/esm/calcite-tip_3.entry.js +8 -8
  664. package/dist/esm/calcite-tooltip_2.entry.js +6 -6
  665. package/dist/esm/calcite-tree_2.entry.js +7 -7
  666. package/dist/esm/calcite-value-list_2.entry.js +12 -12
  667. package/dist/esm/calcite.js +2 -2
  668. package/dist/esm/{conditionalSlot-43e1cf73.js → conditionalSlot-89778d70.js} +3 -3
  669. package/dist/esm/{debounce-110f54b4.js → debounce-ba30afcb.js} +1 -1
  670. package/dist/esm/{dom-88db3eb6.js → dom-214e75a1.js} +13 -3
  671. package/dist/esm/{forIn-9da70b7d.js → forIn-31833178.js} +2 -2
  672. package/dist/esm/{form-dcab88cf.js → form-d34ea9da.js} +18 -4
  673. package/dist/esm/{guid-33cefddf.js → guid-8f74d44f.js} +1 -1
  674. package/dist/esm/{index-beb6bcc7.js → index-1caffe24.js} +1 -1
  675. package/dist/esm/index.js +1 -1
  676. package/dist/esm/{interactive-5bd99416.js → interactive-fd6bb7b4.js} +1 -1
  677. package/dist/esm/{interfaces-3902fbb4.js → interfaces-de98f02e.js} +1 -1
  678. package/dist/esm/{label-0dbdffd7.js → label-837acdbb.js} +2 -2
  679. package/dist/esm/loader.js +2 -2
  680. package/dist/esm/{locale-39a250fd.js → locale-8b4a419a.js} +2 -2
  681. package/dist/esm/{math-06091d4c.js → math-f0a6db03.js} +1 -1
  682. package/dist/esm/{number-7002c994.js → number-9105c8e0.js} +1 -1
  683. package/dist/esm/{observers-1cacecaa.js → observers-29febf6c.js} +1 -1
  684. package/dist/esm/{popper-48bbd4f4.js → popper-2e46e645.js} +2 -2
  685. package/dist/esm/{resources-ba5f3249.js → resources-2ac98c80.js} +1 -1
  686. package/dist/esm/{resources-76531691.js → resources-75a96a0b.js} +6 -6
  687. package/dist/esm/{resources-d77dd261.js → resources-e24b29c2.js} +1 -1
  688. package/dist/esm/{resources-bfefa000.js → resources-e42a37cb.js} +3 -3
  689. package/dist/esm/{sortable.esm-984301c7.js → sortable.esm-a459ad18.js} +1 -1
  690. package/dist/esm/{utils-dd48d28f.js → utils-70278bc4.js} +1 -1
  691. package/dist/esm-es5/{ExpandToggle-094da9ae.js → ExpandToggle-fdd1d5e0.js} +2 -2
  692. package/dist/esm-es5/{Heading-03c506f1.js → Heading-d9ebdbbf.js} +2 -2
  693. package/dist/esm-es5/{array-6754b500.js → array-2b4c1f87.js} +1 -1
  694. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  695. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  696. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  697. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  698. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  699. package/dist/esm-es5/calcite-action.entry.js +2 -2
  700. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  701. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  702. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  703. package/dist/esm-es5/calcite-button.entry.js +2 -2
  704. package/dist/esm-es5/calcite-card.entry.js +2 -2
  705. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  706. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  707. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  708. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  709. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  710. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  711. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  712. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  713. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  714. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  715. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  716. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  717. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  718. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  719. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  720. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  721. package/dist/esm-es5/calcite-input.entry.js +2 -2
  722. package/dist/esm-es5/calcite-label.entry.js +2 -2
  723. package/dist/esm-es5/calcite-link.entry.js +3 -3
  724. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  725. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  726. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  727. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  728. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  729. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  730. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  731. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  732. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  733. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  734. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  735. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  736. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  737. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  738. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  739. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  740. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  741. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  742. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  743. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  744. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  745. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  746. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  747. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  748. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  749. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  750. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  751. package/dist/esm-es5/calcite.js +2 -2
  752. package/dist/esm-es5/{conditionalSlot-43e1cf73.js → conditionalSlot-89778d70.js} +2 -2
  753. package/dist/esm-es5/{debounce-110f54b4.js → debounce-ba30afcb.js} +1 -1
  754. package/dist/esm-es5/{dom-88db3eb6.js → dom-214e75a1.js} +2 -2
  755. package/dist/esm-es5/{forIn-9da70b7d.js → forIn-31833178.js} +2 -2
  756. package/dist/esm-es5/form-d34ea9da.js +6 -0
  757. package/dist/esm-es5/{guid-33cefddf.js → guid-8f74d44f.js} +1 -1
  758. package/dist/esm-es5/{index-beb6bcc7.js → index-1caffe24.js} +1 -1
  759. package/dist/esm-es5/index.js +1 -1
  760. package/dist/esm-es5/{interactive-5bd99416.js → interactive-fd6bb7b4.js} +1 -1
  761. package/dist/esm-es5/{interfaces-3902fbb4.js → interfaces-de98f02e.js} +1 -1
  762. package/dist/esm-es5/{label-0dbdffd7.js → label-837acdbb.js} +2 -2
  763. package/dist/esm-es5/loader.js +2 -2
  764. package/dist/esm-es5/{locale-39a250fd.js → locale-8b4a419a.js} +2 -2
  765. package/dist/esm-es5/{math-06091d4c.js → math-f0a6db03.js} +1 -1
  766. package/dist/esm-es5/{number-7002c994.js → number-9105c8e0.js} +1 -1
  767. package/dist/esm-es5/{observers-1cacecaa.js → observers-29febf6c.js} +1 -1
  768. package/dist/esm-es5/{popper-48bbd4f4.js → popper-2e46e645.js} +2 -2
  769. package/dist/esm-es5/{resources-ba5f3249.js → resources-2ac98c80.js} +1 -1
  770. package/dist/esm-es5/resources-75a96a0b.js +6 -0
  771. package/dist/esm-es5/{resources-d77dd261.js → resources-e24b29c2.js} +1 -1
  772. package/dist/esm-es5/{resources-bfefa000.js → resources-e42a37cb.js} +2 -2
  773. package/dist/esm-es5/{sortable.esm-984301c7.js → sortable.esm-a459ad18.js} +1 -1
  774. package/dist/esm-es5/{utils-dd48d28f.js → utils-70278bc4.js} +1 -1
  775. package/dist/extras/docs-json.json +1 -1
  776. package/dist/loader/cdn.js +1 -1
  777. package/dist/loader/index.cjs.js +1 -1
  778. package/dist/loader/index.es2017.js +1 -1
  779. package/dist/loader/index.js +1 -1
  780. package/dist/types/components/button/button.d.ts +2 -1
  781. package/dist/types/components/color-picker/color-picker.d.ts +1 -0
  782. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -0
  783. package/dist/types/components/filter/filter.d.ts +1 -1
  784. package/dist/types/components/input/input.d.ts +6 -4
  785. package/dist/types/components/input-date-picker/input-date-picker.d.ts +1 -0
  786. package/dist/types/components/input-time-picker/input-time-picker.d.ts +1 -0
  787. package/dist/types/utils/dom.d.ts +8 -0
  788. package/dist/types/utils/form.d.ts +20 -5
  789. package/hydrate/index.js +307 -236
  790. package/package.json +1 -1
  791. package/dist/calcite/p-01b0c871.system.js +0 -6
  792. package/dist/calcite/p-04299a51.system.entry.js +0 -6
  793. package/dist/calcite/p-055a310a.entry.js +0 -6
  794. package/dist/calcite/p-085c76ff.system.entry.js +0 -6
  795. package/dist/calcite/p-0cdaa4f8.system.entry.js +0 -6
  796. package/dist/calcite/p-0e4972d4.entry.js +0 -6
  797. package/dist/calcite/p-0fe88df3.system.entry.js +0 -6
  798. package/dist/calcite/p-102b4832.entry.js +0 -6
  799. package/dist/calcite/p-12cbdc16.entry.js +0 -6
  800. package/dist/calcite/p-161eb9c3.entry.js +0 -6
  801. package/dist/calcite/p-17d9f806.entry.js +0 -6
  802. package/dist/calcite/p-298f168e.entry.js +0 -6
  803. package/dist/calcite/p-2a88ba04.system.js +0 -6
  804. package/dist/calcite/p-2bfb28ad.system.entry.js +0 -6
  805. package/dist/calcite/p-320aba58.system.entry.js +0 -6
  806. package/dist/calcite/p-366bc2f0.system.entry.js +0 -6
  807. package/dist/calcite/p-3849a4a0.entry.js +0 -6
  808. package/dist/calcite/p-392ff169.system.entry.js +0 -6
  809. package/dist/calcite/p-3ed4170a.entry.js +0 -6
  810. package/dist/calcite/p-3eebe544.entry.js +0 -6
  811. package/dist/calcite/p-4009d73a.js +0 -6
  812. package/dist/calcite/p-44d14c83.system.entry.js +0 -6
  813. package/dist/calcite/p-5120c543.system.js +0 -6
  814. package/dist/calcite/p-529118bb.entry.js +0 -6
  815. package/dist/calcite/p-5a91233b.entry.js +0 -6
  816. package/dist/calcite/p-5f11f4bf.system.entry.js +0 -6
  817. package/dist/calcite/p-73b26bc5.system.entry.js +0 -6
  818. package/dist/calcite/p-76106c73.entry.js +0 -6
  819. package/dist/calcite/p-7fc9d0b9.system.entry.js +0 -6
  820. package/dist/calcite/p-83136cd0.system.entry.js +0 -6
  821. package/dist/calcite/p-86b46c97.system.entry.js +0 -6
  822. package/dist/calcite/p-8980b208.entry.js +0 -6
  823. package/dist/calcite/p-8f2c41a4.system.entry.js +0 -6
  824. package/dist/calcite/p-9315bda8.entry.js +0 -6
  825. package/dist/calcite/p-958639c7.system.entry.js +0 -6
  826. package/dist/calcite/p-9c2cd29f.entry.js +0 -6
  827. package/dist/calcite/p-9fdc5349.system.entry.js +0 -6
  828. package/dist/calcite/p-a01e5fe9.system.entry.js +0 -6
  829. package/dist/calcite/p-a24a238b.entry.js +0 -6
  830. package/dist/calcite/p-a49895f7.system.entry.js +0 -6
  831. package/dist/calcite/p-ae5eddbb.entry.js +0 -6
  832. package/dist/calcite/p-b1402cde.entry.js +0 -6
  833. package/dist/calcite/p-b1fde550.system.entry.js +0 -6
  834. package/dist/calcite/p-b3eff92b.entry.js +0 -6
  835. package/dist/calcite/p-bbb68909.js +0 -6
  836. package/dist/calcite/p-c3546b8a.entry.js +0 -6
  837. package/dist/calcite/p-c5cb2ebd.js +0 -6
  838. package/dist/calcite/p-c6a1f570.entry.js +0 -6
  839. package/dist/calcite/p-ca8f22df.entry.js +0 -6
  840. package/dist/calcite/p-cacc3837.entry.js +0 -6
  841. package/dist/calcite/p-cc3eb33f.entry.js +0 -6
  842. package/dist/calcite/p-d724d06b.system.js +0 -6
  843. package/dist/calcite/p-de664d3f.system.entry.js +0 -6
  844. package/dist/calcite/p-df206edd.entry.js +0 -6
  845. package/dist/calcite/p-df91106d.entry.js +0 -6
  846. package/dist/calcite/p-e2dfa7b3.system.entry.js +0 -6
  847. package/dist/calcite/p-e367747f.js +0 -6
  848. package/dist/calcite/p-e5fae2b3.js +0 -6
  849. package/dist/calcite/p-e78835b0.system.entry.js +0 -6
  850. package/dist/calcite/p-eec4db78.system.entry.js +0 -6
  851. package/dist/calcite/p-f6370e81.entry.js +0 -6
  852. package/dist/calcite/p-fa29b3f0.system.entry.js +0 -6
  853. package/dist/calcite/p-fa62ceff.system.js +0 -6
  854. package/dist/esm-es5/form-dcab88cf.js +0 -6
  855. package/dist/esm-es5/resources-76531691.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.460
4
+ * v1.0.0-next.463
5
5
  */
6
- import{a as t}from"./p-4c06be13.js";var n="top",e="bottom",r="right",o="left",i=[n,e,r,o],a=i.reduce((function(t,n){return t.concat([n+"-start",n+"-end"])}),[]),u=[].concat(i,["auto"]).reduce((function(t,n){return t.concat([n,n+"-start",n+"-end"])}),[]),f=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function c(t){return t?(t.nodeName||"").toLowerCase():null}function s(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function p(t){return t instanceof s(t).Element||t instanceof Element}function l(t){return t instanceof s(t).HTMLElement||t instanceof HTMLElement}function d(t){return"undefined"!=typeof ShadowRoot&&(t instanceof s(t).ShadowRoot||t instanceof ShadowRoot)}function v(t){return t.split("-")[0]}var b=Math.max,m=Math.min,h=Math.round;function y(t,n){void 0===n&&(n=!1);var e=t.getBoundingClientRect(),r=1,o=1;if(l(t)&&n){var i=t.offsetHeight,a=t.offsetWidth;a>0&&(r=h(e.width)/a||1),i>0&&(o=h(e.height)/i||1)}return{width:e.width/r,height:e.height/o,top:e.top/o,right:e.right/r,bottom:e.bottom/o,left:e.left/r,x:e.left/r,y:e.top/o}}function g(t){var n=y(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function x(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&d(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function w(t){return s(t).getComputedStyle(t)}function O(t){return["table","td","th"].indexOf(c(t))>=0}function j(t){return((p(t)?t.ownerDocument:t.document)||window.document).documentElement}function M(t){return"html"===c(t)?t:t.assignedSlot||t.parentNode||(d(t)?t.host:null)||j(t)}function k(t){return l(t)&&"fixed"!==w(t).position?t.offsetParent:null}function E(t){for(var n=s(t),e=k(t);e&&O(e)&&"static"===w(e).position;)e=k(e);return e&&("html"===c(e)||"body"===c(e)&&"static"===w(e).position)?n:e||function(t){var n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&l(t)&&"fixed"===w(t).position)return null;var e=M(t);for(d(e)&&(e=e.host);l(e)&&["html","body"].indexOf(c(e))<0;){var r=w(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function P(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function A(t,n,e){return b(t,m(n,e))}function q(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function B(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function R(t){return t.split("-")[1]}var S={top:"auto",right:"auto",bottom:"auto",left:"auto"};function T(t){var i,a=t.popper,u=t.popperRect,f=t.placement,c=t.variation,p=t.offsets,l=t.position,d=t.gpuAcceleration,v=t.adaptive,b=t.roundOffsets,m=t.isFixed,y=p.x,g=void 0===y?0:y,x=p.y,O=void 0===x?0:x,M="function"==typeof b?b({x:g,y:O}):{x:g,y:O};g=M.x,O=M.y;var k=p.hasOwnProperty("x"),P=p.hasOwnProperty("y"),A=o,q=n,B=window;if(v){var R=E(a),T="clientHeight",W="clientWidth";R===s(a)&&"static"!==w(R=j(a)).position&&"absolute"===l&&(T="scrollHeight",W="scrollWidth"),R=R,(f===n||(f===o||f===r)&&"end"===c)&&(q=e,O-=(m&&R===B&&B.visualViewport?B.visualViewport.height:R[T])-u.height,O*=d?1:-1),f!==o&&(f!==n&&f!==e||"end"!==c)||(A=r,g-=(m&&R===B&&B.visualViewport?B.visualViewport.width:R[W])-u.width,g*=d?1:-1)}var I,L=Object.assign({position:l},v&&S),$=!0===b?function(t){var n=t.y,e=window.devicePixelRatio||1;return{x:h(t.x*e)/e||0,y:h(n*e)/e||0}}({x:g,y:O}):{x:g,y:O};return g=$.x,O=$.y,Object.assign({},L,d?((I={})[q]=P?"0":"",I[A]=k?"0":"",I.transform=(B.devicePixelRatio||1)<=1?"translate("+g+"px, "+O+"px)":"translate3d("+g+"px, "+O+"px, 0)",I):((i={})[q]=P?O+"px":"",i[A]=k?g+"px":"",i.transform="",i))}var W={passive:!0},I={left:"right",right:"left",bottom:"top",top:"bottom"};function L(t){return t.replace(/left|right|bottom|top/g,(function(t){return I[t]}))}var $={start:"end",end:"start"};function H(t){return t.replace(/start|end/g,(function(t){return $[t]}))}function C(t){var n=s(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function z(t){return y(j(t)).left+C(t).scrollLeft}function D(t){var n=w(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function F(t){return["html","body","#document"].indexOf(c(t))>=0?t.ownerDocument.body:l(t)&&D(t)?t:F(M(t))}function U(t,n){var e;void 0===n&&(n=[]);var r=F(t),o=r===(null==(e=t.ownerDocument)?void 0:e.body),i=s(r),a=o?[i].concat(i.visualViewport||[],D(r)?r:[]):r,u=n.concat(a);return o?u:u.concat(U(M(a)))}function V(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function _(t,n){return"viewport"===n?V(function(t){var n=s(t),e=j(t),r=n.visualViewport,o=e.clientWidth,i=e.clientHeight,a=0,u=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,u=r.offsetTop)),{width:o,height:i,x:a+z(t),y:u}}(t)):p(n)?function(t){var n=y(t);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(n):V(function(t){var n,e=j(t),r=C(t),o=null==(n=t.ownerDocument)?void 0:n.body,i=b(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=b(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+z(t),f=-r.scrollTop;return"rtl"===w(o||e).direction&&(u+=b(e.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:f}}(j(t)))}function G(t){var i,a=t.reference,u=t.element,f=t.placement,c=f?v(f):null,s=f?R(f):null,p=a.x+a.width/2-u.width/2,l=a.y+a.height/2-u.height/2;switch(c){case n:i={x:p,y:a.y-u.height};break;case e:i={x:p,y:a.y+a.height};break;case r:i={x:a.x+a.width,y:l};break;case o:i={x:a.x-u.width,y:l};break;default:i={x:a.x,y:a.y}}var d=c?P(c):null;if(null!=d){var b="y"===d?"height":"width";switch(s){case"start":i[d]=i[d]-(a[b]/2-u[b]/2);break;case"end":i[d]=i[d]+(a[b]/2-u[b]/2)}}return i}function J(t,o){void 0===o&&(o={});var a=o.placement,u=void 0===a?t.placement:a,f=o.boundary,s=void 0===f?"clippingParents":f,d=o.rootBoundary,v=void 0===d?"viewport":d,h=o.elementContext,g=void 0===h?"popper":h,O=o.altBoundary,k=void 0!==O&&O,P=o.padding,A=void 0===P?0:P,R=q("number"!=typeof A?A:B(A,i)),S=t.rects.popper,T=t.elements[k?"popper"===g?"reference":"popper":g],W=function(t,n,e){var r="clippingParents"===n?function(t){var n=U(M(t)),e=["absolute","fixed"].indexOf(w(t).position)>=0&&l(t)?E(t):t;return p(e)?n.filter((function(t){return p(t)&&x(t,e)&&"body"!==c(t)})):[]}(t):[].concat(n),o=[].concat(r,[e]),i=o.reduce((function(n,e){var r=_(t,e);return n.top=b(r.top,n.top),n.right=m(r.right,n.right),n.bottom=m(r.bottom,n.bottom),n.left=b(r.left,n.left),n}),_(t,o[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(p(T)?T:T.contextElement||j(t.elements.popper),s,v),I=y(t.elements.reference),L=G({reference:I,element:S,strategy:"absolute",placement:u}),$=V(Object.assign({},S,L)),H="popper"===g?$:I,C={top:W.top-H.top+R.top,bottom:H.bottom-W.bottom+R.bottom,left:W.left-H.left+R.left,right:H.right-W.right+R.right},z=t.modifiersData.offset;if("popper"===g&&z){var D=z[u];Object.keys(C).forEach((function(t){var o=[r,e].indexOf(t)>=0?1:-1,i=[n,e].indexOf(t)>=0?"y":"x";C[t]+=D[i]*o}))}return C}function K(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,o=n.padding,f=n.flipVariations,c=n.allowedAutoPlacements,s=void 0===c?u:c,p=R(n.placement),l=p?f?a:a.filter((function(t){return R(t)===p})):i,d=l.filter((function(t){return s.indexOf(t)>=0}));0===d.length&&(d=l);var b=d.reduce((function(n,i){return n[i]=J(t,{placement:i,boundary:e,rootBoundary:r,padding:o})[v(i)],n}),{});return Object.keys(b).sort((function(t,n){return b[t]-b[n]}))}function N(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function Q(t){return[n,r,e,o].some((function(n){return t[n]>=0}))}function X(t,n,e){void 0===e&&(e=!1);var r,o,i=l(n),a=l(n)&&function(t){var n=t.getBoundingClientRect(),e=h(n.width)/t.offsetWidth||1,r=h(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),u=j(n),f=y(t,a),p={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!e)&&(("body"!==c(n)||D(u))&&(p=(r=n)!==s(r)&&l(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:C(r)),l(n)?((d=y(n,!0)).x+=n.clientLeft,d.y+=n.clientTop):u&&(d.x=z(u))),{x:f.left+p.scrollLeft-d.x,y:f.top+p.scrollTop-d.y,width:f.width,height:f.height}}function Y(t){var n=new Map,e=new Set,r=[];function o(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&o(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||o(t)})),r}var Z={placement:"bottom",modifiers:[],strategy:"absolute"};function tt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function nt(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?Z:r;return function(t,n,r){void 0===r&&(r=o);var i,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Z,o),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},c=[],s=!1,l={state:u,setOptions:function(r){var i="function"==typeof r?r(u.options):r;d(),u.options=Object.assign({},o,u.options,i),u.scrollParents={reference:p(t)?U(t):t.contextElement?U(t.contextElement):[],popper:U(n)};var a,s,v=function(t){var n=Y(t);return f.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((a=[].concat(e,u.options.modifiers),s=a.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return u.orderedModifiers=v.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:l,options:void 0===n?{}:n});c.push(r||function(){})}})),l.update()},forceUpdate:function(){if(!s){var t=u.elements,n=t.reference,e=t.popper;if(tt(n,e)){u.rects={reference:X(n,E(e),"fixed"===u.options.strategy),popper:g(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var o=u.orderedModifiers[r],i=o.fn,a=o.options;"function"==typeof i&&(u=i({state:u,options:void 0===a?{}:a,name:o.name,instance:l})||u)}else u.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){l.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){d(),s=!0}};if(!tt(t,n))return l;function d(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(r).then((function(t){!s&&r.onFirstUpdate&&r.onFirstUpdate(t)})),l}}var et=nt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,f=s(n.elements.popper),c=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",e.update,W)})),u&&f.addEventListener("resize",e.update,W),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",e.update,W)})),u&&f.removeEventListener("resize",e.update,W)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=G({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,o=void 0===r||r,i=e.adaptive,a=void 0===i||i,u=e.roundOffsets,f=void 0===u||u,c={placement:v(n.placement),variation:R(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,T(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,T(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},o=n.elements[t];l(o)&&c(o)&&(Object.assign(o.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?o.removeAttribute(t):o.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],o=n.attributes[t]||{},i=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});l(r)&&c(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.name,a=t.options.offset,f=void 0===a?[0,0]:a,c=u.reduce((function(t,i){return t[i]=function(t,e,i){var a=v(t),u=[o,n].indexOf(a)>=0?-1:1,f="function"==typeof i?i(Object.assign({},e,{placement:t})):i,c=f[0],s=f[1];return c=c||0,s=(s||0)*u,[o,r].indexOf(a)>=0?{x:s,y:c}:{x:c,y:s}}(i,e.rects,f),t}),{}),s=c[e.placement],p=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=s.x,e.modifiersData.popperOffsets.y+=p),e.modifiersData[i]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name;if(!i.modifiersData[u]._skip){for(var f=a.mainAxis,c=void 0===f||f,s=a.altAxis,p=void 0===s||s,l=a.fallbackPlacements,d=a.padding,b=a.boundary,m=a.rootBoundary,h=a.altBoundary,y=a.flipVariations,g=void 0===y||y,x=a.allowedAutoPlacements,w=i.options.placement,O=v(w),j=l||(O!==w&&g?function(t){if("auto"===v(t))return[];var n=L(t);return[H(t),n,H(n)]}(w):[L(w)]),M=[w].concat(j).reduce((function(t,n){return t.concat("auto"===v(n)?K(i,{placement:n,boundary:b,rootBoundary:m,padding:d,flipVariations:g,allowedAutoPlacements:x}):n)}),[]),k=i.rects.reference,E=i.rects.popper,P=new Map,A=!0,q=M[0],B=0;B<M.length;B++){var S=M[B],T=v(S),W="start"===R(S),I=[n,e].indexOf(T)>=0,$=I?"width":"height",C=J(i,{placement:S,boundary:b,rootBoundary:m,altBoundary:h,padding:d}),z=I?W?r:o:W?e:n;k[$]>E[$]&&(z=L(z));var D=L(z),F=[];if(c&&F.push(C[T]<=0),p&&F.push(C[z]<=0,C[D]<=0),F.every((function(t){return t}))){q=S,A=!1;break}P.set(S,F)}if(A)for(var U=function(t){var n=M.find((function(n){var e=P.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return q=n,"break"},V=g?3:1;V>0&&"break"!==U(V);V--);i.placement!==q&&(i.modifiersData[u]._skip=!0,i.placement=q,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name,f=a.mainAxis,c=void 0===f||f,s=a.altAxis,p=void 0!==s&&s,l=a.tether,d=void 0===l||l,h=a.tetherOffset,y=void 0===h?0:h,x=J(i,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),w=v(i.placement),O=R(i.placement),j=!O,M=P(w),k="x"===M?"y":"x",q=i.modifiersData.popperOffsets,B=i.rects.reference,S=i.rects.popper,T="function"==typeof y?y(Object.assign({},i.rects,{placement:i.placement})):y,W="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),I=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,L={x:0,y:0};if(q){if(c){var $,H="y"===M?n:o,C="y"===M?e:r,z="y"===M?"height":"width",D=q[M],F=D+x[H],U=D-x[C],V=d?-S[z]/2:0,_="start"===O?B[z]:S[z],G="start"===O?-S[z]:-B[z],K=i.elements.arrow,N=d&&K?g(K):{width:0,height:0},Q=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Q[H],Y=Q[C],Z=A(0,B[z],N[z]),tt=j?B[z]/2-V-Z-X-W.mainAxis:_-Z-X-W.mainAxis,nt=j?-B[z]/2+V+Z+Y+W.mainAxis:G+Z+Y+W.mainAxis,et=i.elements.arrow&&E(i.elements.arrow),rt=null!=($=null==I?void 0:I[M])?$:0,ot=D+nt-rt,it=A(d?m(F,D+tt-rt-(et?"y"===M?et.clientTop||0:et.clientLeft||0:0)):F,D,d?b(U,ot):U);q[M]=it,L[M]=it-D}if(p){var at,ut=q[k],ft="y"===k?"height":"width",ct=ut+x["x"===M?n:o],st=ut-x["x"===M?e:r],pt=-1!==[n,o].indexOf(w),lt=null!=(at=null==I?void 0:I[k])?at:0,dt=pt?ct:ut-B[ft]-S[ft]-lt+W.altAxis,vt=pt?ut+B[ft]+S[ft]-lt-W.altAxis:st,bt=d&&pt?function(t,n,e){var r=A(t,n,e);return r>e?e:r}(dt,ut,vt):A(d?dt:ct,ut,d?vt:st);q[k]=bt,L[k]=bt-ut}i.modifiersData[u]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var a,u=t.state,f=t.name,c=t.options,s=u.elements.arrow,p=u.modifiersData.popperOffsets,l=v(u.placement),d=P(l),b=[o,r].indexOf(l)>=0?"height":"width";if(s&&p){var m=function(t,n){return q("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:B(t,i))}(c.padding,u),h=g(s),y="y"===d?n:o,x="y"===d?e:r,w=u.rects.reference[b]+u.rects.reference[d]-p[d]-u.rects.popper[b],O=p[d]-u.rects.reference[d],j=E(s),M=j?"y"===d?j.clientHeight||0:j.clientWidth||0:0,k=M/2-h[b]/2+(w/2-O/2),R=A(m[y],k,M-h[b]-m[x]);u.modifiersData[f]=((a={})[d]=R,a.centerOffset=R-k,a)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&x(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,o=n.rects.popper,i=n.modifiersData.preventOverflow,a=J(n,{elementContext:"reference"}),u=J(n,{altBoundary:!0}),f=N(a,r),c=N(u,o,i),s=Q(f),p=Q(c);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:s,hasPopperEscaped:p},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":s,"data-popper-escaped":p})}}]});const rt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],ot="bottom-leading",it=["top-start","top","top-end","bottom-start","bottom","bottom-end"],at={animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"};function ut(t,n){const e=t.filter((t=>rt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${rt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ft(n,e){const r=["left","right"],o=["start","end"];return"rtl"===t(n)&&(r.reverse(),o.reverse()),e.replace(/-leading/gi,`-${o[0]}`).replace(/-trailing/gi,`-${o[1]}`).replace(/leading/gi,r[0]).replace(/trailing/gi,r[1])}function ct({referenceEl:t,el:n,placement:e,overlayPositioning:r="absolute",modifiers:o}){return t?et(t,n,{strategy:r,placement:ft(n,e),modifiers:o}):null}async function st({el:t,modifiers:n,placement:e,popper:r}){const o=ft(t,e);await r.setOptions({modifiers:n,placement:o})}const pt=Math.ceil((4,Math.sqrt(Math.pow(4,2)+Math.pow(4,2))));export{at as C,pt as a,ct as c,ot as d,ut as f,it as p,st as u}
6
+ import{a as t}from"./p-cdb71230.js";var n="top",e="bottom",r="right",o="left",i=[n,e,r,o],a=i.reduce((function(t,n){return t.concat([n+"-start",n+"-end"])}),[]),u=[].concat(i,["auto"]).reduce((function(t,n){return t.concat([n,n+"-start",n+"-end"])}),[]),f=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function c(t){return t?(t.nodeName||"").toLowerCase():null}function s(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function p(t){return t instanceof s(t).Element||t instanceof Element}function l(t){return t instanceof s(t).HTMLElement||t instanceof HTMLElement}function d(t){return"undefined"!=typeof ShadowRoot&&(t instanceof s(t).ShadowRoot||t instanceof ShadowRoot)}function v(t){return t.split("-")[0]}var b=Math.max,m=Math.min,h=Math.round;function y(t,n){void 0===n&&(n=!1);var e=t.getBoundingClientRect(),r=1,o=1;if(l(t)&&n){var i=t.offsetHeight,a=t.offsetWidth;a>0&&(r=h(e.width)/a||1),i>0&&(o=h(e.height)/i||1)}return{width:e.width/r,height:e.height/o,top:e.top/o,right:e.right/r,bottom:e.bottom/o,left:e.left/r,x:e.left/r,y:e.top/o}}function g(t){var n=y(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function x(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&d(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function w(t){return s(t).getComputedStyle(t)}function O(t){return["table","td","th"].indexOf(c(t))>=0}function j(t){return((p(t)?t.ownerDocument:t.document)||window.document).documentElement}function M(t){return"html"===c(t)?t:t.assignedSlot||t.parentNode||(d(t)?t.host:null)||j(t)}function k(t){return l(t)&&"fixed"!==w(t).position?t.offsetParent:null}function E(t){for(var n=s(t),e=k(t);e&&O(e)&&"static"===w(e).position;)e=k(e);return e&&("html"===c(e)||"body"===c(e)&&"static"===w(e).position)?n:e||function(t){var n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&l(t)&&"fixed"===w(t).position)return null;var e=M(t);for(d(e)&&(e=e.host);l(e)&&["html","body"].indexOf(c(e))<0;){var r=w(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function P(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function A(t,n,e){return b(t,m(n,e))}function q(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function B(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function R(t){return t.split("-")[1]}var S={top:"auto",right:"auto",bottom:"auto",left:"auto"};function T(t){var i,a=t.popper,u=t.popperRect,f=t.placement,c=t.variation,p=t.offsets,l=t.position,d=t.gpuAcceleration,v=t.adaptive,b=t.roundOffsets,m=t.isFixed,y=p.x,g=void 0===y?0:y,x=p.y,O=void 0===x?0:x,M="function"==typeof b?b({x:g,y:O}):{x:g,y:O};g=M.x,O=M.y;var k=p.hasOwnProperty("x"),P=p.hasOwnProperty("y"),A=o,q=n,B=window;if(v){var R=E(a),T="clientHeight",W="clientWidth";R===s(a)&&"static"!==w(R=j(a)).position&&"absolute"===l&&(T="scrollHeight",W="scrollWidth"),R=R,(f===n||(f===o||f===r)&&"end"===c)&&(q=e,O-=(m&&R===B&&B.visualViewport?B.visualViewport.height:R[T])-u.height,O*=d?1:-1),f!==o&&(f!==n&&f!==e||"end"!==c)||(A=r,g-=(m&&R===B&&B.visualViewport?B.visualViewport.width:R[W])-u.width,g*=d?1:-1)}var I,L=Object.assign({position:l},v&&S),$=!0===b?function(t){var n=t.y,e=window.devicePixelRatio||1;return{x:h(t.x*e)/e||0,y:h(n*e)/e||0}}({x:g,y:O}):{x:g,y:O};return g=$.x,O=$.y,Object.assign({},L,d?((I={})[q]=P?"0":"",I[A]=k?"0":"",I.transform=(B.devicePixelRatio||1)<=1?"translate("+g+"px, "+O+"px)":"translate3d("+g+"px, "+O+"px, 0)",I):((i={})[q]=P?O+"px":"",i[A]=k?g+"px":"",i.transform="",i))}var W={passive:!0},I={left:"right",right:"left",bottom:"top",top:"bottom"};function L(t){return t.replace(/left|right|bottom|top/g,(function(t){return I[t]}))}var $={start:"end",end:"start"};function H(t){return t.replace(/start|end/g,(function(t){return $[t]}))}function C(t){var n=s(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function z(t){return y(j(t)).left+C(t).scrollLeft}function D(t){var n=w(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function F(t){return["html","body","#document"].indexOf(c(t))>=0?t.ownerDocument.body:l(t)&&D(t)?t:F(M(t))}function U(t,n){var e;void 0===n&&(n=[]);var r=F(t),o=r===(null==(e=t.ownerDocument)?void 0:e.body),i=s(r),a=o?[i].concat(i.visualViewport||[],D(r)?r:[]):r,u=n.concat(a);return o?u:u.concat(U(M(a)))}function V(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function _(t,n){return"viewport"===n?V(function(t){var n=s(t),e=j(t),r=n.visualViewport,o=e.clientWidth,i=e.clientHeight,a=0,u=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,u=r.offsetTop)),{width:o,height:i,x:a+z(t),y:u}}(t)):p(n)?function(t){var n=y(t);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(n):V(function(t){var n,e=j(t),r=C(t),o=null==(n=t.ownerDocument)?void 0:n.body,i=b(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=b(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+z(t),f=-r.scrollTop;return"rtl"===w(o||e).direction&&(u+=b(e.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:f}}(j(t)))}function G(t){var i,a=t.reference,u=t.element,f=t.placement,c=f?v(f):null,s=f?R(f):null,p=a.x+a.width/2-u.width/2,l=a.y+a.height/2-u.height/2;switch(c){case n:i={x:p,y:a.y-u.height};break;case e:i={x:p,y:a.y+a.height};break;case r:i={x:a.x+a.width,y:l};break;case o:i={x:a.x-u.width,y:l};break;default:i={x:a.x,y:a.y}}var d=c?P(c):null;if(null!=d){var b="y"===d?"height":"width";switch(s){case"start":i[d]=i[d]-(a[b]/2-u[b]/2);break;case"end":i[d]=i[d]+(a[b]/2-u[b]/2)}}return i}function J(t,o){void 0===o&&(o={});var a=o.placement,u=void 0===a?t.placement:a,f=o.boundary,s=void 0===f?"clippingParents":f,d=o.rootBoundary,v=void 0===d?"viewport":d,h=o.elementContext,g=void 0===h?"popper":h,O=o.altBoundary,k=void 0!==O&&O,P=o.padding,A=void 0===P?0:P,R=q("number"!=typeof A?A:B(A,i)),S=t.rects.popper,T=t.elements[k?"popper"===g?"reference":"popper":g],W=function(t,n,e){var r="clippingParents"===n?function(t){var n=U(M(t)),e=["absolute","fixed"].indexOf(w(t).position)>=0&&l(t)?E(t):t;return p(e)?n.filter((function(t){return p(t)&&x(t,e)&&"body"!==c(t)})):[]}(t):[].concat(n),o=[].concat(r,[e]),i=o.reduce((function(n,e){var r=_(t,e);return n.top=b(r.top,n.top),n.right=m(r.right,n.right),n.bottom=m(r.bottom,n.bottom),n.left=b(r.left,n.left),n}),_(t,o[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(p(T)?T:T.contextElement||j(t.elements.popper),s,v),I=y(t.elements.reference),L=G({reference:I,element:S,strategy:"absolute",placement:u}),$=V(Object.assign({},S,L)),H="popper"===g?$:I,C={top:W.top-H.top+R.top,bottom:H.bottom-W.bottom+R.bottom,left:W.left-H.left+R.left,right:H.right-W.right+R.right},z=t.modifiersData.offset;if("popper"===g&&z){var D=z[u];Object.keys(C).forEach((function(t){var o=[r,e].indexOf(t)>=0?1:-1,i=[n,e].indexOf(t)>=0?"y":"x";C[t]+=D[i]*o}))}return C}function K(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,o=n.padding,f=n.flipVariations,c=n.allowedAutoPlacements,s=void 0===c?u:c,p=R(n.placement),l=p?f?a:a.filter((function(t){return R(t)===p})):i,d=l.filter((function(t){return s.indexOf(t)>=0}));0===d.length&&(d=l);var b=d.reduce((function(n,i){return n[i]=J(t,{placement:i,boundary:e,rootBoundary:r,padding:o})[v(i)],n}),{});return Object.keys(b).sort((function(t,n){return b[t]-b[n]}))}function N(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function Q(t){return[n,r,e,o].some((function(n){return t[n]>=0}))}function X(t,n,e){void 0===e&&(e=!1);var r,o,i=l(n),a=l(n)&&function(t){var n=t.getBoundingClientRect(),e=h(n.width)/t.offsetWidth||1,r=h(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),u=j(n),f=y(t,a),p={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!e)&&(("body"!==c(n)||D(u))&&(p=(r=n)!==s(r)&&l(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:C(r)),l(n)?((d=y(n,!0)).x+=n.clientLeft,d.y+=n.clientTop):u&&(d.x=z(u))),{x:f.left+p.scrollLeft-d.x,y:f.top+p.scrollTop-d.y,width:f.width,height:f.height}}function Y(t){var n=new Map,e=new Set,r=[];function o(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&o(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||o(t)})),r}var Z={placement:"bottom",modifiers:[],strategy:"absolute"};function tt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function nt(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?Z:r;return function(t,n,r){void 0===r&&(r=o);var i,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Z,o),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},c=[],s=!1,l={state:u,setOptions:function(r){var i="function"==typeof r?r(u.options):r;d(),u.options=Object.assign({},o,u.options,i),u.scrollParents={reference:p(t)?U(t):t.contextElement?U(t.contextElement):[],popper:U(n)};var a,s,v=function(t){var n=Y(t);return f.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((a=[].concat(e,u.options.modifiers),s=a.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return u.orderedModifiers=v.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:l,options:void 0===n?{}:n});c.push(r||function(){})}})),l.update()},forceUpdate:function(){if(!s){var t=u.elements,n=t.reference,e=t.popper;if(tt(n,e)){u.rects={reference:X(n,E(e),"fixed"===u.options.strategy),popper:g(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var o=u.orderedModifiers[r],i=o.fn,a=o.options;"function"==typeof i&&(u=i({state:u,options:void 0===a?{}:a,name:o.name,instance:l})||u)}else u.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){l.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){d(),s=!0}};if(!tt(t,n))return l;function d(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(r).then((function(t){!s&&r.onFirstUpdate&&r.onFirstUpdate(t)})),l}}var et=nt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,f=s(n.elements.popper),c=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",e.update,W)})),u&&f.addEventListener("resize",e.update,W),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",e.update,W)})),u&&f.removeEventListener("resize",e.update,W)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=G({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,o=void 0===r||r,i=e.adaptive,a=void 0===i||i,u=e.roundOffsets,f=void 0===u||u,c={placement:v(n.placement),variation:R(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,T(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,T(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},o=n.elements[t];l(o)&&c(o)&&(Object.assign(o.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?o.removeAttribute(t):o.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],o=n.attributes[t]||{},i=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});l(r)&&c(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.name,a=t.options.offset,f=void 0===a?[0,0]:a,c=u.reduce((function(t,i){return t[i]=function(t,e,i){var a=v(t),u=[o,n].indexOf(a)>=0?-1:1,f="function"==typeof i?i(Object.assign({},e,{placement:t})):i,c=f[0],s=f[1];return c=c||0,s=(s||0)*u,[o,r].indexOf(a)>=0?{x:s,y:c}:{x:c,y:s}}(i,e.rects,f),t}),{}),s=c[e.placement],p=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=s.x,e.modifiersData.popperOffsets.y+=p),e.modifiersData[i]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name;if(!i.modifiersData[u]._skip){for(var f=a.mainAxis,c=void 0===f||f,s=a.altAxis,p=void 0===s||s,l=a.fallbackPlacements,d=a.padding,b=a.boundary,m=a.rootBoundary,h=a.altBoundary,y=a.flipVariations,g=void 0===y||y,x=a.allowedAutoPlacements,w=i.options.placement,O=v(w),j=l||(O!==w&&g?function(t){if("auto"===v(t))return[];var n=L(t);return[H(t),n,H(n)]}(w):[L(w)]),M=[w].concat(j).reduce((function(t,n){return t.concat("auto"===v(n)?K(i,{placement:n,boundary:b,rootBoundary:m,padding:d,flipVariations:g,allowedAutoPlacements:x}):n)}),[]),k=i.rects.reference,E=i.rects.popper,P=new Map,A=!0,q=M[0],B=0;B<M.length;B++){var S=M[B],T=v(S),W="start"===R(S),I=[n,e].indexOf(T)>=0,$=I?"width":"height",C=J(i,{placement:S,boundary:b,rootBoundary:m,altBoundary:h,padding:d}),z=I?W?r:o:W?e:n;k[$]>E[$]&&(z=L(z));var D=L(z),F=[];if(c&&F.push(C[T]<=0),p&&F.push(C[z]<=0,C[D]<=0),F.every((function(t){return t}))){q=S,A=!1;break}P.set(S,F)}if(A)for(var U=function(t){var n=M.find((function(n){var e=P.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return q=n,"break"},V=g?3:1;V>0&&"break"!==U(V);V--);i.placement!==q&&(i.modifiersData[u]._skip=!0,i.placement=q,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var i=t.state,a=t.options,u=t.name,f=a.mainAxis,c=void 0===f||f,s=a.altAxis,p=void 0!==s&&s,l=a.tether,d=void 0===l||l,h=a.tetherOffset,y=void 0===h?0:h,x=J(i,{boundary:a.boundary,rootBoundary:a.rootBoundary,padding:a.padding,altBoundary:a.altBoundary}),w=v(i.placement),O=R(i.placement),j=!O,M=P(w),k="x"===M?"y":"x",q=i.modifiersData.popperOffsets,B=i.rects.reference,S=i.rects.popper,T="function"==typeof y?y(Object.assign({},i.rects,{placement:i.placement})):y,W="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),I=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,L={x:0,y:0};if(q){if(c){var $,H="y"===M?n:o,C="y"===M?e:r,z="y"===M?"height":"width",D=q[M],F=D+x[H],U=D-x[C],V=d?-S[z]/2:0,_="start"===O?B[z]:S[z],G="start"===O?-S[z]:-B[z],K=i.elements.arrow,N=d&&K?g(K):{width:0,height:0},Q=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Q[H],Y=Q[C],Z=A(0,B[z],N[z]),tt=j?B[z]/2-V-Z-X-W.mainAxis:_-Z-X-W.mainAxis,nt=j?-B[z]/2+V+Z+Y+W.mainAxis:G+Z+Y+W.mainAxis,et=i.elements.arrow&&E(i.elements.arrow),rt=null!=($=null==I?void 0:I[M])?$:0,ot=D+nt-rt,it=A(d?m(F,D+tt-rt-(et?"y"===M?et.clientTop||0:et.clientLeft||0:0)):F,D,d?b(U,ot):U);q[M]=it,L[M]=it-D}if(p){var at,ut=q[k],ft="y"===k?"height":"width",ct=ut+x["x"===M?n:o],st=ut-x["x"===M?e:r],pt=-1!==[n,o].indexOf(w),lt=null!=(at=null==I?void 0:I[k])?at:0,dt=pt?ct:ut-B[ft]-S[ft]-lt+W.altAxis,vt=pt?ut+B[ft]+S[ft]-lt-W.altAxis:st,bt=d&&pt?function(t,n,e){var r=A(t,n,e);return r>e?e:r}(dt,ut,vt):A(d?dt:ct,ut,d?vt:st);q[k]=bt,L[k]=bt-ut}i.modifiersData[u]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var a,u=t.state,f=t.name,c=t.options,s=u.elements.arrow,p=u.modifiersData.popperOffsets,l=v(u.placement),d=P(l),b=[o,r].indexOf(l)>=0?"height":"width";if(s&&p){var m=function(t,n){return q("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:B(t,i))}(c.padding,u),h=g(s),y="y"===d?n:o,x="y"===d?e:r,w=u.rects.reference[b]+u.rects.reference[d]-p[d]-u.rects.popper[b],O=p[d]-u.rects.reference[d],j=E(s),M=j?"y"===d?j.clientHeight||0:j.clientWidth||0:0,k=M/2-h[b]/2+(w/2-O/2),R=A(m[y],k,M-h[b]-m[x]);u.modifiersData[f]=((a={})[d]=R,a.centerOffset=R-k,a)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&x(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,o=n.rects.popper,i=n.modifiersData.preventOverflow,a=J(n,{elementContext:"reference"}),u=J(n,{altBoundary:!0}),f=N(a,r),c=N(u,o,i),s=Q(f),p=Q(c);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:s,hasPopperEscaped:p},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":s,"data-popper-escaped":p})}}]});const rt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],ot="bottom-leading",it=["top-start","top","top-end","bottom-start","bottom","bottom-end"],at={animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"};function ut(t,n){const e=t.filter((t=>rt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${rt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ft(n,e){const r=["left","right"],o=["start","end"];return"rtl"===t(n)&&(r.reverse(),o.reverse()),e.replace(/-leading/gi,`-${o[0]}`).replace(/-trailing/gi,`-${o[1]}`).replace(/leading/gi,r[0]).replace(/trailing/gi,r[1])}function ct({referenceEl:t,el:n,placement:e,overlayPositioning:r="absolute",modifiers:o}){return t?et(t,n,{strategy:r,placement:ft(n,e),modifiers:o}):null}async function st({el:t,modifiers:n,placement:e,popper:r}){const o=ft(t,e);await r.setOptions({modifiers:n,placement:o})}const pt=Math.ceil((4,Math.sqrt(Math.pow(4,2)+Math.pow(4,2))));export{at as C,pt as a,ct as c,ot as d,ut as f,it as p,st 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.463
5
+ */
6
+ import{r as t,c as i,h as e,H as a,g as n}from"./p-8a331a16.js";import{a as s,S as o,d as r}from"./p-a8c3f4e4.js";import{i as c,f as l}from"./p-966eacae.js";import{f as m,u as h,c as p,d,p as b,C as u}from"./p-3c53fae2.js";import{g as f}from"./p-77d89707.js";import{n as x,t as w,d as g,g as v}from"./p-cdb71230.js";import{c as y,d as k,g as D}from"./p-2eb0e6b1.js";import{s as C,c as I,a as z,d as _,H as E}from"./p-d64a7840.js";import{c as O}from"./p-80c66ef6.js";import{u as H}from"./p-74bf1ba2.js";import{c as A,d as M}from"./p-ecf5a2bd.js";var T=o?o.prototype:void 0,L=T?T.toString:void 0;function $(t){if("string"==typeof t)return t;if(c(t))return function(t,i){for(var e=-1,a=null==t?0:t.length,n=Array(a);++e<a;)n[e]=i(t[e],e,t);return n}(t,$)+"";if(s(t))return L?L.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i}var B=/[\\^$.*+?()[\]{}|]/g,P=RegExp(B.source);const j="CALCITE-COMBOBOX-ITEM, CALCITE-COMBOBOX-ITEM-GROUP";function X(t){var i,e;const a=null===(i=t.parentElement)||void 0===i?void 0:i.closest(j);return[a,null===(e=null==a?void 0:a.parentElement)||void 0===e?void 0:e.closest(j)].filter((t=>t))}function R(t){var i;return(null===(i=t.ancestors)||void 0===i?void 0:i.filter((t=>"CALCITE-COMBOBOX-ITEM"===t.nodeName)))||[]}function S(t){return x(t.querySelectorAll("calcite-combobox-item")).filter((t=>t.selected)).length>0}function F(t){return document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}const U=class{constructor(e){t(this,e),this.calciteLookupChange=i(this,"calciteLookupChange",7),this.calciteComboboxChange=i(this,"calciteComboboxChange",7),this.calciteComboboxFilterChange=i(this,"calciteComboboxFilterChange",7),this.calciteComboboxChipDismiss=i(this,"calciteComboboxChipDismiss",7),this.calciteComboboxOpen=i(this,"calciteComboboxOpen",7),this.calciteComboboxClose=i(this,"calciteComboboxClose",7),this.active=!1,this.disabled=!1,this.maxItems=0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multi",this.scale="m",this.value=null,this.intlRemoveTag="Remove tag",this.internalValueChangeFlag=!1,this.items=[],this.groupItems=[],this.selectedItems=[],this.visibleItems=[],this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.text="",this.textInput=null,this.mutationObserver=O("mutation",(()=>this.updateItems())),this.resizeObserver=O("resize",(()=>this.setMaxScrollerHeight())),this.guid=f(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.activeTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?m(i,t):null},this.getValue=()=>{const t=this.selectedItems.map((t=>{var i;return null===(i=null==t?void 0:t.value)||void 0===i?void 0:i.toString()}));return(null==t?void 0:t.length)?t.length>1?t:t[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keydownHandler=t=>{const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):this.active&&(this.active=!1,t.preventDefault());break;case"ArrowLeft":this.previousChip();break;case"ArrowRight":this.nextChip();break;case"ArrowUp":this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":this.active||(t.preventDefault(),this.active=!0),this.shiftActiveItemIndex(1),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(t.preventDefault(),this.active=!0,this.shiftActiveItemIndex(1));break;case"Home":this.active&&t.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":this.active&&t.preventDefault(),this.updateActiveItemIndex(this.visibleItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.active=!1;break;case"Enter":this.activeItemIndex>-1?this.toggleSelection(this.visibleItems[this.activeItemIndex]):this.activeChipIndex>-1?this.removeActiveChip():this.allowCustomValues&&this.text?this.addCustomChip(this.text,!0):t.defaultPrevented||C(this);break;case"Delete":case"Backspace":this.activeChipIndex>-1?this.removeActiveChip():!this.text&&this.isMulti()&&this.removeLastChip()}},this.toggleCloseEnd=()=>{this.active=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.active=!0,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.active?this.calciteComboboxOpen.emit():this.calciteComboboxClose.emit())},this.setMaxScrollerHeight=()=>{const{active:t,listContainerEl:i}=this;if(!i||!t)return;this.reposition();const e=this.getMaxScrollerHeight();i.style.maxHeight=e>0?`${e}px`:"",this.reposition()},this.calciteChipDismissHandler=(t,i)=>{this.active=!1;const e=this.items.find((t=>t===i));e&&this.toggleSelection(e,!1),this.calciteComboboxChipDismiss.emit(t.detail)},this.clickHandler=t=>{t.composedPath().some((t=>"CALCITE-CHIP"===t.tagName))||(this.active=!this.active,this.updateActiveItemIndex(0),this.setFocus())},this.setInactiveIfNotContained=t=>{const i=t.composedPath();!this.active||i.includes(this.el)||i.includes(this.referenceEl)||(this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),"single"===this.selectionMode&&(this.textInput&&(this.textInput.value=""),this.text="",this.filterItems(""),this.updateActiveItemIndex(-1)),this.active=!1)},this.setMenuEl=t=>{this.menuEl=t},this.setListContainerEl=t=>{this.resizeObserver.observe(t),this.listContainerEl=t},this.setReferenceEl=t=>{this.referenceEl=t},this.inputHandler=t=>{const i=t.target.value;this.text=i,this.filterItems(i),i&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>"CALCITE-COMBOBOX-ITEM-GROUP"===t.tagName?e===t.label:e===t.textLabel||e===t.value||i===t.textLabel||i===t.value));return r((i=>{const e=((t,i)=>{const e=function(t){var i;return(t=null==(i=t)?"":$(i))&&P.test(t)?t.replace(B,"\\$&"):t}(i),a=new RegExp(e,"i");0===t.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const n=(t,i)=>{var e;if(null===(e=t)||void 0===e?void 0:e.constant)return!0;let a=!1;return l(t,(t=>{"function"!=typeof t&&null!=t&&(Array.isArray(t)||"object"==typeof t&&null!==t?n(t,i)&&(a=!0):i.test(t)&&(a=!0))})),a};return t.filter((t=>n(t,a)))})(this.data,i);this.getCombinedItems().forEach((i=>{const a=!t(i,e);i.hidden=a;const[n,s]=i.ancestors;(t(n,e)||t(s,e))&&(i.hidden=!1),a||i.ancestors.forEach((t=>t.hidden=!1))})),this.visibleItems=this.getVisibleItems(),this.calciteComboboxFilterChange.emit({visibleItems:[...this.visibleItems],text:i})}),100)})(),this.internalCalciteLookupChangeEvent=()=>{this.calciteLookupChange.emit(this.selectedItems)},this.emitCalciteLookupChange=r(this.internalCalciteLookupChangeEvent,0),this.internalComboboxChangeEvent=()=>{const{selectedItems:t}=this;this.calciteComboboxChange.emit({selectedItems:t})},this.emitComboboxChange=r(this.internalComboboxChangeEvent,0),this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.visibleItems=this.getVisibleItems(),this.needsIcon=this.getNeedsIcon(),this.allowCustomValues||this.setMaxScrollerHeight()},this.scrollToActiveItem=()=>{const t=this.visibleItems[this.activeItemIndex],i=this.calculateSingleItemHeight(t),{offsetHeight:e,scrollTop:a}=this.listContainerEl;e+a<t.offsetTop+i?this.listContainerEl.scrollTop=t.offsetTop-e+i:t.offsetTop<a&&(this.listContainerEl.scrollTop=t.offsetTop)},this.comboboxFocusHandler=()=>{var t;null===(t=this.textInput)||void 0===t||t.focus()},this.comboboxBlurHandler=t=>{this.setInactiveIfNotContained(t)}}activeHandler(){this.disabled?this.active=!1:this.reposition()}handleDisabledChange(t){t||(this.active=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();Array.isArray(t)?i.forEach((i=>i.selected=t.includes(i.value))):i.forEach(t?i=>i.selected=t===i.value:t=>t.selected=!1),this.updateItems()}}flipPlacementsHandler(){this.setFilteredPlacements()}documentClickHandler(t){this.setInactiveIfNotContained(t)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target,e=this.visibleItems.indexOf(i);this.updateActiveItemIndex(e),this.toggleSelection(i,i.selected)}async reposition(){const{popper:t,menuEl:i}=this,e=this.getModifiers();t?await h({el:i,modifiers:e,placement:d,popper:t}):this.createPopper()}async setFocus(){var t;null===(t=this.textInput)||void 0===t||t.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var t;this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.createPopper(),y(this),I(this),this.setFilteredPlacements()}componentWillLoad(){this.updateItems()}componentDidLoad(){z(this,this.getValue())}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(),this.inputHeight=this.el.offsetHeight),H(this)}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),this.destroyPopper(),k(this),_(this)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}textHandler(){this.updateActiveItemIndex(-1)}comboboxInViewport(){const t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)}getModifiers(){const t={name:"flip",enabled:!0};return t.options={fallbackPlacements:this.filteredFlipPlacements||b},[t,{name:"eventListeners",enabled:this.active}]}createPopper(){this.destroyPopper();const{menuEl:t,referenceEl:i,overlayPositioning:e}=this,a=this.getModifiers();this.popper=p({el:t,modifiers:a,overlayPositioning:e,placement:d,referenceEl:i})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}getMaxScrollerHeight(){const t=this.getCombinedItems().filter((t=>!t.hidden)),{maxItems:i}=this;let e=0,a=0;return t.length>i&&t.forEach((t=>{if(e<i&&i>0){const i=this.calculateSingleItemHeight(t);i>0&&(a+=i,e++)}})),a}calculateSingleItemHeight(t){let i=t.offsetHeight;return Array.from(t.querySelectorAll(j)).map((t=>null==t?void 0:t.offsetHeight)).forEach((t=>{i-=t})),i}getCombinedItems(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){t&&(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitCalciteLookupChange(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===t&&i)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=t.textLabel),this.active=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=R(t),e=function(t){return x(t.querySelectorAll("calcite-combobox-item"))}(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{S(t)||(t.selected=!1)})))}getVisibleItems(){return this.items.filter((t=>!t.hidden))}getSelectedItems(){if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!S(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),a=this.selectedItems.indexOf(i);return e>-1&&a>-1?e-a:a-e}))}getData(){return this.items.map((t=>({constant:t.constant,value:t.value,label:t.textLabel})))}getNeedsIcon(){return"single"===this.selectionMode&&this.items.some((t=>t.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll("CALCITE-COMBOBOX-ITEM")).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll("CALCITE-COMBOBOX-ITEM-GROUP"))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement("CALCITE-COMBOBOX-ITEM");e.value=t,e.textLabel=t,e.selected=!0,this.el.appendChild(e),this.resetText(),i&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitCalciteLookupChange(),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var t;const i=null===(t=this.selectedItems[this.activeChipIndex])||void 0===t?void 0:t.guid,e=i?this.referenceEl.querySelector(`#combobox-chip-${i}`):null;null==e||e.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.visibleItems;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i),this.scrollToActiveItem()}updateActiveItemIndex(t){var i;this.activeItemIndex=t;let e=null;this.visibleItems.forEach(((i,a)=>{a===t?(i.active=!0,e=i.guid):i.active=!1})),this.activeDescendant=e,this.activeItemIndex>-1&&(this.activeChipIndex=-1,null===(i=this.textInput)||void 0===i||i.focus())}isMulti(){return"single"!==this.selectionMode}renderChips(){const{activeChipIndex:t,scale:i,selectionMode:a,intlRemoveTag:n}=this;return this.selectedItems.map(((s,o)=>{const r={chip:!0,"chip--active":t===o},c=[...[...R(s)].reverse(),s].map((t=>t.textLabel)),l="ancestors"!==a?s.textLabel:c.join(" / ");return e("calcite-chip",{class:r,dismissLabel:n,dismissible:!0,icon:s.icon,id:s.guid?`combobox-chip-${s.guid}`:null,key:s.textLabel,onCalciteChipDismiss:t=>this.calciteChipDismissHandler(t,s),scale:i,title:l,value:s.value},l)}))}renderInput(){const{guid:t,active:i,disabled:a,placeholder:n,selectionMode:s,needsIcon:o,selectedItems:r}=this,c="single"===s,l=r[0],m=!i&&c&&!!l;return e("span",{class:{"input-wrap":!0,"input-wrap--single":c}},m&&e("span",{class:{label:!0,"label--spaced":o},key:"label"},l.textLabel),e("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`combobox-listbox-${t}`,"aria-label":D(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":m,"input--icon":c&&o},disabled:a,id:`combobox-input-${t}`,key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:n,ref:t=>this.textInput=t,type:"text"}))}renderListBoxOptions(){return this.visibleItems.map((t=>e("li",{"aria-selected":w(t.selected),id:t.guid?`combobox-item-${t.guid}`:null,role:"option",tabindex:"-1"},t.textLabel)))}renderPopperContainer(){const{active:t,setMenuEl:i,setListContainerEl:a}=this;return e("div",{"aria-hidden":"true",class:{"popper-container":!0,"popper-container--active":t},ref:i},e("div",{class:{"list-container":!0,[u.animation]:!0,[u.animationActive]:t},onTransitionEnd:this.transitionEnd,ref:a},e("ul",{class:{list:!0,"list--hide":!t}},e("slot",null))))}renderIconStart(){const{selectionMode:t,needsIcon:i,selectedItems:a}=this,n=a[0];return"single"===t&&i&&e("span",{class:"icon-start"},(null==n?void 0:n.icon)&&e("calcite-icon",{class:"selected-icon",icon:n.icon,scale:"s"}))}renderIconEnd(){const{active:t}=this;return e("span",{class:"icon-end"},e("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}render(){const{active:t,guid:i,label:n}=this,s="single"===this.selectionMode;return e(a,{onKeyDown:this.keydownHandler},e("div",{"aria-autocomplete":"list","aria-expanded":w(t),"aria-haspopup":"listbox","aria-labelledby":`combobox-label-${i}`,"aria-owns":`combobox-listbox-${i}`,class:{wrapper:!0,"wrapper--single":s||!this.selectedItems.length,"wrapper--active":t},onClick:this.clickHandler,ref:this.setReferenceEl,role:"combobox"},e("div",{class:"grid-input"},this.renderIconStart(),!s&&this.renderChips(),e("label",{class:"screen-readers-only",htmlFor:`combobox-input-${i}`,id:`combobox-label-${i}`},n),this.renderInput()),this.renderIconEnd()),e("ul",{"aria-labelledby":`combobox-label-${i}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`combobox-listbox-${i}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderPopperContainer(),e(E,{component:this}))}get el(){return n(this)}static get watchers(){return{active:["activeHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"]}}};U.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-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;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:calc(var(--calcite-combobox-item-spacing-unit-s) / 4) var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0px;margin-top:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;width:0px;min-width:0px;opacity:0}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 0%;flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:-ms-flexbox;display:flex;max-width:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0px;padding-bottom:0px;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:-ms-flexbox;display:flex;width:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-height:100vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{height:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";const G=class{constructor(e){t(this,e),this.calciteComboboxItemChange=i(this,"calciteComboboxItemChange",7),this.disabled=!1,this.selected=!1,this.active=!1,this.guid=f(),this.scale="m",this.itemClickHandler=t=>{t.preventDefault(),this.disabled||(this.selected=!this.selected)}}selectedWatchHandler(){this.calciteComboboxItemChange.emit(this.el)}connectedCallback(){this.ancestors=X(this.el),this.scale=g(this.el,"scale",this.scale),A(this)}disconnectedCallback(){M(this)}componentDidRender(){H(this)}async toggleSelected(t){this.disabled||(this.selected="boolean"==typeof t?t:!this.selected)}renderIcon(t){const{icon:i,disabled:a,selected:n}=this,s="icon--indent";return!t||i||a?e("calcite-icon",{class:{icon:!i,"icon--custom":!!i,"icon--active":i&&n,[s]:!0},icon:i||(a?"circle-disallowed":t?"dot":"check"),scale:"s"}):e("span",{class:{icon:!0,"icon--dot":!0,[s]:!0}})}renderChildren(){return v(this.el)?e("ul",{key:"default-slot-container"},e("slot",null)):null}render(){const t="single"===g(this.el,"selection-mode","multi"),i={label:!0,"label--selected":this.selected,"label--active":this.active,"label--single":t},n=F(this.el);return e(a,{"aria-hidden":"true"},e("div",{class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${n}`}},e("li",{class:i,id:this.guid,onClick:this.itemClickHandler},this.renderIcon(t),e("span",{class:"title"},this.textLabel)),this.renderChildren()))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};G.style='@charset "UTF-8";@-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:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--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([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}.label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:100%;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 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;padding:var(--calcite-combobox-item-spacing-unit-s) var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--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)}.title{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.icon{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-top:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;min-width:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}';const Y=class{constructor(i){t(this,i),this.guid=f(),this.scale="m"}connectedCallback(){this.ancestors=X(this.el),this.scale=g(this.el,"scale",this.scale)}render(){const{el:t,scale:i}=this,a=`label--indent-${F(t)}`;return e("ul",{"aria-labelledby":this.guid,class:{list:!0,[`scale--${i}`]:!0},role:"group"},e("li",{class:{label:!0,[a]:!0},id:this.guid,role:"presentation"},e("span",{class:"title"},this.label)),e("slot",null))}get el(){return n(this)}};Y.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:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent-1:0.5rem;--calcite-combobox-item-spacing-indent-2:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent-1:0.75rem;--calcite-combobox-item-spacing-indent-2:1.5rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent-1:1rem;--calcite-combobox-item-spacing-indent-2:2rem}:host,.list{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}.label{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:0px;max-width:100%;color:var(--calcite-ui-text-3)}.label--indent-1{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-1);padding-inline-start:var(--calcite-combobox-item-spacing-indent-1)}.label--indent-2{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-2);padding-inline-start:var(--calcite-combobox-item-spacing-indent-2)}.title{border:0 solid;display:block;-ms-flex:1 1 0%;flex:1 1 0%;border-bottom-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-bottom-color:var(--calcite-ui-border-3);padding:var(--calcite-combobox-item-spacing-unit-l) 0;margin-left:var(--calcite-combobox-item-spacing-unit-s);margin-right:var(--calcite-combobox-item-spacing-unit-s)}";export{U as calcite_combobox,G as calcite_combobox_item,Y as calcite_combobox_item_group}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.460
4
+ * v1.0.0-next.463
5
5
  */
6
- import{r as a,h as t,g as i}from"./p-03bf13ce.js";const n=class{constructor(t){a(this,t),this.intlLoading="Loading",this.loading=!1}render(){const{el:a,loading:i,intlLoading:n}=this,e=a.innerHTML.trim().length>0,r=i?t("calcite-loader",{active:!0,label:n}):null,o=e?t("div",{class:"content"},t("slot",null)):null;return t("div",{class:"scrim"},r,o)}get el(){return i(this)}};n.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:50;display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}@-webkit-keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";export{n as calcite_scrim}
6
+ import{r as a,h as t,g as i}from"./p-8a331a16.js";const n=class{constructor(t){a(this,t),this.intlLoading="Loading",this.loading=!1}render(){const{el:a,loading:i,intlLoading:n}=this,e=a.innerHTML.trim().length>0,r=i?t("calcite-loader",{active:!0,label:n}):null,o=e?t("div",{class:"content"},t("slot",null)):null;return t("div",{class:"scrim"},r,o)}get el(){return i(this)}};n.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:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:50;display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}@-webkit-keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";export{n as calcite_scrim}
@@ -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.463
5
+ */
6
+ import{f as t,g as i,t as s}from"./p-cdb71230.js";import{g as n}from"./p-a9b775b2.js";import{d as e}from"./p-a8c3f4e4.js";import{h as o,H as a}from"./p-8a331a16.js";const c={heading:"heading",container:"container",indented:"container--indented"},r={parentItem:"parent-item"},l=3;function h(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const u=["ArrowUp","ArrowDown"];function f(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=e(F.bind(this),0)}function d(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}function m(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}function p(i){const{selectedValues:s}=this,{item:n,value:e,selected:o,shiftPressed:a}=i.detail;o?(this.multiple&&a&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),s.set(e,n)):(s.delete(e),this.multiple&&a&&this.selectSiblings(n,!0)),this.multiple||(A(n,o),o&&t(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function v(t){t.stopPropagation();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)}}function b(t){const{el:i,items:s,multiple:n,selectedValues:e}=this;n||i.contains(t.relatedTarget)||w(s).forEach((i=>{A(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!!u.find((i=>i===t))}(s))return;const{items:e,multiple:o,selectionFollowsFocus:a}=this,{length:c}=e,r=e.indexOf(n);if(!c||-1===r)return;i.preventDefault();const l=e[j(this,n,"ArrowUp"===s?"up":"down")];e.forEach((t=>A(t,t===l))),!o&&a&&(l.selected=!0),t(l)}function j(t,i,s){const{items:e}=t,{length:o}=e,a=e.indexOf(i),c="up"===s?-1:1;let r=1,l=n(a+c*r++,o);const h=l;for(;e[l].disabled&&(l=n(a+c*r++,o),l!==h););return l}function w(t){return t.filter((t=>!t.disabled))}function F(){this.calciteListChange.emit(this.selectedValues)}function y(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 A(t,i){t.disabled||(i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function C(i){var s;if(this.filterEnabled&&"filter"===i)return void await t(this.filterEl);const{items:n,multiple:e,selectionFollowsFocus:o}=this;if(0===n.length)return;if(e)return null===(s=w(n)[0])||void 0===s?void 0:s.setFocus();const a=w(n),c=a.find((t=>t.selected))||a[0];return o&&c&&(c.selected=!0),c.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,A(t,!1)),t.selected&&(i=!0,A(t,!0),this.selectedValues.set(t.value,t))}));const[n]=s;i||!n||n.disabled||A(n,!0)}function x(){const t=this.selectedValues,i=this.items.map((({value:t})=>t));t.forEach((t=>{i.includes(t.value)||this.selectedValues.delete(t.value)}))}function I(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function O(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 E;function S(t){const{filteredItems:s}=t.currentTarget,n=s.map((t=>t.value));let e=!1;E||(E=new Set);const o=this.items.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&E.add(i);const s=n.includes(t.value);return t.hidden=!s,e||(e=s&&t.selected),s}));E.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)))})),E.clear(),o.length>0&&!e&&!this.multiple&&A(o[0],!0)}function L(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var P;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(P||(P={}));const T=t=>{var{props:{disabled:i,loading:n,filterEnabled:e,dataForFilter:c,handleFilter:r,filterPlaceholder:l,setFilterEl:h}}=t,u=function(t,i){var s={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&i.indexOf(n)<0&&(s[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var e=0;for(n=Object.getOwnPropertySymbols(t);e<n.length;e++)i.indexOf(n[e])<0&&Object.prototype.propertyIsEnumerable.call(t,n[e])&&(s[n[e]]=t[n[e]])}return s}(t,["props"]);const f=o("slot",null);return o(a,Object.assign({"aria-busy":s(n),role:"menu"},u),o("section",null,o("header",{class:{"sticky-pos":!0}},e?o("calcite-filter",{"aria-label":l,disabled:n||i,items:c,onCalciteFilterChange:r,placeholder:l,ref:h}):null,o("slot",{name:"menu-actions"})),n?o("calcite-scrim",{loading:n}):null,f))},U={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"},q={checked:"check",remove:"x"},D={actionsEnd:"actions-end",actionsStart:"actions-start"},H={remove:"Remove"};export{U as C,l as H,P as I,T as L,D as S,H as T,I as a,j as b,d as c,x as d,m as e,b as f,L as g,S as h,f as i,p as j,g as k,v as l,h as m,k as n,C as o,r as p,c as q,y as r,O as s,q as t}
@@ -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.463
5
+ */
6
+ import{f as t,h as e}from"./p-8a331a16.js";import{a as o}from"./p-cdb71230.js";import{S as n}from"./p-35bd5b33.js";import{S as a}from"./p-18214d4e.js";const i=150,c=({actionCount:t,actionHeight:e,height:o,groupCount:n})=>Math.max(t-(({height:t,actionHeight:e,groupCount:o})=>Math.floor((t-2*o)/e))({height:o,actionHeight:e,groupCount:n}),0),r=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),l=({actionGroups:e,expanded:o,overflowCount:n})=>{let i=n;e.reverse().forEach((e=>{let n=0;const c=r(e).reverse();c.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&i--),i<1))),t(e)}))};function s({parent:t,expanded:e}){r(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group").forEach((t=>t.expanded=e))}const p=({expanded:t,intlExpand:n,intlCollapse:a,toggle:i,el:c,position:r,tooltip:l,ref:s,scale:p})=>{const d="rtl"===o(c),u=t?a:n,f=["chevrons-left","chevrons-right"];d&&f.reverse();const h="end"===function(t,e){var o;return t||(null===(o=e.closest("calcite-shell-panel"))||void 0===o?void 0:o.position)||"start"}(r,c);return e("calcite-action",{icon:t?h?f[1]:f[0]:h?f[0]:f[1],onClick:i,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:n})=>(t&&(t.referenceElement=!o&&e?e:null),n&&n(e),e))({tooltip:l,referenceElement:e,expanded:t,ref:s}),scale:p,text:u,textEnabled:t})};export{p as E,l as a,c as g,i as o,r as q,s as t}