@esri/calcite-components 1.0.0-beta.74 → 1.0.0-beta.75

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 (501) hide show
  1. package/dist/calcite/calcite.esm.js +1 -1
  2. package/dist/calcite/p-0164361f.system.entry.js +5 -0
  3. package/dist/calcite/{p-e1944963.js → p-01b7adb5.js} +1 -1
  4. package/dist/calcite/{p-f95fb85f.entry.js → p-04bf684c.entry.js} +1 -1
  5. package/dist/calcite/p-06dbe76a.system.entry.js +5 -0
  6. package/dist/calcite/p-06fbc0f2.system.entry.js +5 -0
  7. package/dist/calcite/p-08be120f.entry.js +5 -0
  8. package/dist/calcite/p-0a5d059d.js +5 -0
  9. package/dist/calcite/p-0a85cd8c.system.entry.js +5 -0
  10. package/dist/calcite/{p-8b145872.system.entry.js → p-0b552c00.system.entry.js} +1 -1
  11. package/dist/calcite/{p-e690993e.system.entry.js → p-0cb38659.system.entry.js} +1 -1
  12. package/dist/calcite/{p-a348ffb1.system.entry.js → p-10b1b39a.system.entry.js} +1 -1
  13. package/dist/calcite/{p-99d29b5c.system.entry.js → p-12142a2c.system.entry.js} +1 -1
  14. package/dist/calcite/p-146d8510.entry.js +5 -0
  15. package/dist/calcite/{p-d5d91f34.system.entry.js → p-14ca5cdf.system.entry.js} +1 -1
  16. package/dist/calcite/{p-3d4c34e5.js → p-14e47d1b.js} +1 -1
  17. package/dist/calcite/{p-21f26f77.entry.js → p-1668089f.entry.js} +1 -1
  18. package/dist/calcite/{p-8ebed170.system.entry.js → p-1804c868.system.entry.js} +1 -1
  19. package/dist/calcite/{p-fbcaa23c.system.js → p-1a3a366d.system.js} +1 -1
  20. package/dist/calcite/{p-6515e0a5.entry.js → p-20e3fc50.entry.js} +1 -1
  21. package/dist/calcite/{p-46b63d75.entry.js → p-2218fef5.entry.js} +1 -1
  22. package/dist/calcite/{p-38e64c6b.entry.js → p-2297db38.entry.js} +1 -1
  23. package/dist/calcite/p-243985d8.system.entry.js +5 -0
  24. package/dist/calcite/p-2e324a56.system.entry.js +5 -0
  25. package/dist/calcite/{p-e2094dff.system.entry.js → p-2e351904.system.entry.js} +1 -1
  26. package/dist/calcite/{p-1894562d.system.entry.js → p-32d61433.system.entry.js} +1 -1
  27. package/dist/calcite/p-39d4d1b1.system.entry.js +5 -0
  28. package/dist/calcite/p-3cdf0ad5.system.entry.js +5 -0
  29. package/dist/calcite/{p-897fc280.system.entry.js → p-40c3d7a6.system.entry.js} +1 -1
  30. package/dist/calcite/{p-52871e84.system.js → p-44aa1db4.system.js} +1 -1
  31. package/dist/calcite/{p-16cfe8e8.entry.js → p-49782820.entry.js} +1 -1
  32. package/dist/calcite/p-500300b5.entry.js +5 -0
  33. package/dist/calcite/{p-e0fa3b13.system.entry.js → p-54bb21f5.system.entry.js} +1 -1
  34. package/dist/calcite/{p-4d22b788.entry.js → p-54edaa0d.entry.js} +1 -1
  35. package/dist/calcite/{p-51a85436.entry.js → p-58eb8460.entry.js} +1 -1
  36. package/dist/calcite/p-5a77fd17.entry.js +5 -0
  37. package/dist/calcite/{p-b80ab9ba.entry.js → p-5b8404de.entry.js} +1 -1
  38. package/dist/calcite/{p-f09810e7.entry.js → p-5d12a140.entry.js} +1 -1
  39. package/dist/calcite/{p-f5469b62.system.entry.js → p-5d7da300.system.entry.js} +1 -1
  40. package/dist/calcite/p-5f5bfaa5.entry.js +5 -0
  41. package/dist/calcite/p-617c3f30.system.entry.js +5 -0
  42. package/dist/calcite/p-63f8783a.entry.js +5 -0
  43. package/dist/calcite/p-647d22ef.js +5 -0
  44. package/dist/calcite/p-64a5e88c.entry.js +5 -0
  45. package/dist/calcite/{p-f90b2e7f.entry.js → p-6969dabb.entry.js} +1 -1
  46. package/dist/calcite/p-6afd69dc.system.entry.js +5 -0
  47. package/dist/calcite/p-6fb9fef5.entry.js +5 -0
  48. package/dist/calcite/{p-14ff4cbd.system.js → p-70dd483b.system.js} +1 -1
  49. package/dist/calcite/p-7165e37e.entry.js +5 -0
  50. package/dist/calcite/p-754809de.entry.js +5 -0
  51. package/dist/calcite/{p-02589ad3.system.entry.js → p-7743a8d0.system.entry.js} +1 -1
  52. package/dist/calcite/{p-799f0655.entry.js → p-786b8250.entry.js} +1 -1
  53. package/dist/calcite/p-78725919.entry.js +5 -0
  54. package/dist/calcite/p-7a6c932d.system.entry.js +5 -0
  55. package/dist/calcite/p-7bdeb3ba.system.entry.js +5 -0
  56. package/dist/calcite/{p-e6d14bc5.system.entry.js → p-7d4316a1.system.entry.js} +1 -1
  57. package/dist/calcite/{p-d1794edd.entry.js → p-82491929.entry.js} +1 -1
  58. package/dist/calcite/p-8604c625.system.entry.js +5 -0
  59. package/dist/calcite/{p-436d9f0e.system.entry.js → p-86b63ebb.system.entry.js} +1 -1
  60. package/dist/calcite/{p-10f1a096.system.entry.js → p-8709d314.system.entry.js} +1 -1
  61. package/dist/calcite/p-8ba8a357.system.js +5 -0
  62. package/dist/calcite/{p-bda51610.entry.js → p-8e4aa7f7.entry.js} +1 -1
  63. package/dist/calcite/p-8f2c68f4.system.entry.js +5 -0
  64. package/dist/calcite/p-8f3a3e4e.js +5 -0
  65. package/dist/calcite/{p-7f5bd070.system.entry.js → p-900e18a5.system.entry.js} +1 -1
  66. package/dist/calcite/{p-e606e9ae.system.entry.js → p-92d9b81d.system.entry.js} +1 -1
  67. package/dist/calcite/p-9716c57c.entry.js +5 -0
  68. package/dist/calcite/p-97375cc0.entry.js +5 -0
  69. package/dist/calcite/p-99422223.system.entry.js +5 -0
  70. package/dist/calcite/p-99d32fc3.system.js +1 -1
  71. package/dist/calcite/p-9a7c4812.js +5 -0
  72. package/dist/calcite/{p-45bfe5bf.system.entry.js → p-9ca6c750.system.entry.js} +1 -1
  73. package/dist/calcite/p-9d7102c0.entry.js +5 -0
  74. package/dist/calcite/p-9e2c9752.entry.js +5 -0
  75. package/dist/calcite/p-9f49c4fe.system.entry.js +5 -0
  76. package/dist/calcite/p-a50e52f1.entry.js +5 -0
  77. package/dist/calcite/{p-28dea60a.system.js → p-a99c8ebf.system.js} +1 -1
  78. package/dist/calcite/p-ab14b0a2.system.js +5 -0
  79. package/dist/calcite/p-abe7730b.entry.js +5 -0
  80. package/dist/calcite/{p-db10485b.system.js → p-ac4aec20.system.js} +1 -1
  81. package/dist/calcite/{p-132d55c2.entry.js → p-af669f43.entry.js} +1 -1
  82. package/dist/calcite/{p-8f4ea148.system.entry.js → p-af84fa29.system.entry.js} +1 -1
  83. package/dist/calcite/p-b002b038.entry.js +5 -0
  84. package/dist/calcite/p-b86f0930.system.entry.js +5 -0
  85. package/dist/calcite/p-b9a47a94.system.entry.js +5 -0
  86. package/dist/calcite/p-b9adf89d.system.entry.js +5 -0
  87. package/dist/calcite/{p-eea18662.entry.js → p-baca86e3.entry.js} +1 -1
  88. package/dist/calcite/p-bd576ae0.system.entry.js +5 -0
  89. package/dist/calcite/{p-209f2049.entry.js → p-bde80af8.entry.js} +1 -1
  90. package/dist/calcite/p-be231b84.entry.js +5 -0
  91. package/dist/calcite/{p-51550014.entry.js → p-c1c37da9.entry.js} +1 -1
  92. package/dist/calcite/p-c5463268.system.entry.js +5 -0
  93. package/dist/calcite/p-c5b3d90c.entry.js +5 -0
  94. package/dist/calcite/p-c6cb0aa2.entry.js +5 -0
  95. package/dist/calcite/{p-0b0ce9b2.system.entry.js → p-cd9d106b.system.entry.js} +1 -1
  96. package/dist/calcite/{p-3e9e4992.entry.js → p-d14265f3.entry.js} +1 -1
  97. package/dist/calcite/p-da470de7.entry.js +5 -0
  98. package/dist/calcite/{p-7f32a681.system.entry.js → p-e1491358.system.entry.js} +1 -1
  99. package/dist/calcite/{p-781ebed0.system.js → p-e2047621.system.js} +1 -1
  100. package/dist/calcite/p-e4862fff.entry.js +5 -0
  101. package/dist/calcite/{p-05dc6806.entry.js → p-e5420c67.entry.js} +1 -1
  102. package/dist/calcite/p-e5526c34.entry.js +5 -0
  103. package/dist/calcite/p-e5c2a6eb.entry.js +5 -0
  104. package/dist/calcite/{p-bb9fb183.system.entry.js → p-e83a5fe4.system.entry.js} +1 -1
  105. package/dist/calcite/{p-fcd62e97.js → p-e8e0f3b7.js} +1 -1
  106. package/dist/calcite/p-ea510477.js +5 -0
  107. package/dist/calcite/{p-3a20f93d.system.js → p-ec9bab33.system.js} +1 -1
  108. package/dist/calcite/{p-32f6f7df.entry.js → p-ee14736a.entry.js} +1 -1
  109. package/dist/calcite/{p-41894582.js → p-eeb91710.js} +1 -1
  110. package/dist/calcite/p-f12c35de.system.entry.js +5 -0
  111. package/dist/calcite/p-f1dc4798.entry.js +5 -0
  112. package/dist/calcite/{p-5c256f31.system.entry.js → p-f24ddc56.system.entry.js} +1 -1
  113. package/dist/calcite/{p-088a096d.system.entry.js → p-f4d9c369.system.entry.js} +1 -1
  114. package/dist/calcite/{p-59133b9b.entry.js → p-f7572da7.entry.js} +1 -1
  115. package/dist/calcite/{p-8468ddb0.system.entry.js → p-fbd68dbf.system.entry.js} +1 -1
  116. package/dist/calcite/p-ff04cfb1.system.entry.js +5 -0
  117. package/dist/cjs/{CalciteExpandToggle-65468585.js → CalciteExpandToggle-d24fed0e.js} +1 -1
  118. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  119. package/dist/cjs/calcite-action-bar.cjs.entry.js +6 -27
  120. package/dist/cjs/calcite-action-group.cjs.entry.js +14 -1
  121. package/dist/cjs/calcite-action-menu.cjs.entry.js +5 -2
  122. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -2
  123. package/dist/cjs/calcite-action.cjs.entry.js +2 -2
  124. package/dist/cjs/calcite-alert.cjs.entry.js +16 -10
  125. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  126. package/dist/cjs/calcite-block_2.cjs.entry.js +15 -2
  127. package/dist/cjs/calcite-button.cjs.entry.js +3 -3
  128. package/dist/cjs/calcite-card.cjs.entry.js +17 -6
  129. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  130. package/dist/cjs/calcite-chip.cjs.entry.js +15 -2
  131. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -1
  132. package/dist/cjs/calcite-combobox_3.cjs.entry.js +35 -21
  133. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +2 -2
  134. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -11
  135. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  136. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  137. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  138. package/dist/cjs/calcite-graph_2.cjs.entry.js +20 -13
  139. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  140. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  141. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +5 -5
  142. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  143. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
  144. package/dist/cjs/calcite-input.cjs.entry.js +99 -39
  145. package/dist/cjs/calcite-link.cjs.entry.js +14 -3
  146. package/dist/cjs/calcite-list_3.cjs.entry.js +14 -1
  147. package/dist/cjs/calcite-modal.cjs.entry.js +7 -4
  148. package/dist/cjs/calcite-notice.cjs.entry.js +9 -1
  149. package/dist/cjs/calcite-option_3.cjs.entry.js +4 -4
  150. package/dist/cjs/calcite-panel.cjs.entry.js +19 -13
  151. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +26 -3
  152. package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
  153. package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
  154. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +3 -3
  155. package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
  156. package/dist/cjs/calcite-shell_3.cjs.entry.js +36 -8
  157. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  158. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  159. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  160. package/dist/cjs/calcite-tab_4.cjs.entry.js +2 -2
  161. package/dist/cjs/calcite-tile.cjs.entry.js +14 -1
  162. package/dist/cjs/calcite-tip_3.cjs.entry.js +15 -3
  163. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
  164. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -2
  165. package/dist/cjs/calcite-value-list_2.cjs.entry.js +15 -3
  166. package/dist/cjs/calcite.cjs.js +1 -1
  167. package/dist/cjs/conditionalSlot-92505fba.js +43 -0
  168. package/dist/cjs/{dom-0de9fb18.js → dom-f3df220d.js} +13 -10
  169. package/dist/cjs/{form-4b7c317e.js → form-237cf392.js} +1 -1
  170. package/dist/cjs/{label-1bca211b.js → label-6b18ca08.js} +1 -1
  171. package/dist/cjs/loader.cjs.js +1 -1
  172. package/dist/cjs/{observers-41837607.js → observers-79bfb8bc.js} +5 -1
  173. package/dist/cjs/{popper-09105f6f.js → popper-13a2bb46.js} +1 -1
  174. package/dist/cjs/{resources-9f0994fb.js → resources-11763017.js} +4 -3
  175. package/dist/cjs/{resources-405cc2c4.js → resources-95073e41.js} +1 -1
  176. package/dist/collection/components/calcite-action/calcite-action.css +1 -0
  177. package/dist/collection/components/calcite-action-group/calcite-action-group.js +12 -0
  178. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +3 -0
  179. package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +7 -0
  180. package/dist/collection/components/calcite-alert/calcite-alert.js +15 -9
  181. package/dist/collection/components/calcite-block/calcite-block.js +13 -1
  182. package/dist/collection/components/calcite-card/calcite-card.js +15 -6
  183. package/dist/collection/components/calcite-chip/calcite-chip.js +13 -1
  184. package/dist/collection/components/calcite-combobox/calcite-combobox.js +43 -13
  185. package/dist/collection/components/calcite-combobox/resources.js +3 -0
  186. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +9 -7
  187. package/dist/collection/components/calcite-date-picker/utils.js +4 -3
  188. package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +1 -1
  189. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +12 -7
  190. package/dist/collection/components/calcite-graph/calcite-graph.css +3 -5
  191. package/dist/collection/components/calcite-graph/calcite-graph.js +13 -42
  192. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +15 -21
  193. package/dist/collection/components/calcite-input/calcite-input.js +96 -36
  194. package/dist/collection/components/calcite-link/calcite-link.js +31 -2
  195. package/dist/collection/components/calcite-list-item/calcite-list-item.js +12 -0
  196. package/dist/collection/components/calcite-modal/calcite-modal.js +5 -2
  197. package/dist/collection/components/calcite-notice/calcite-notice.js +7 -0
  198. package/dist/collection/components/calcite-panel/calcite-panel.js +19 -14
  199. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +12 -0
  200. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +12 -0
  201. package/dist/collection/components/calcite-shell/calcite-shell.js +14 -2
  202. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +13 -1
  203. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +9 -4
  204. package/dist/collection/components/calcite-slider/calcite-slider.css +4 -0
  205. package/dist/collection/components/calcite-slider/calcite-slider.js +3 -4
  206. package/dist/collection/components/calcite-tile/calcite-tile.js +12 -0
  207. package/dist/collection/components/calcite-tip/calcite-tip.js +13 -1
  208. package/dist/collection/components/calcite-tree/calcite-tree.js +2 -1
  209. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +5 -0
  210. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +12 -0
  211. package/dist/collection/utils/conditionalSlot.js +22 -11
  212. package/dist/collection/utils/dom.js +13 -10
  213. package/dist/collection/utils/globalAttributes.js +59 -0
  214. package/dist/collection/utils/observers.js +5 -1
  215. package/dist/components/calcite-action-bar.js +2 -23
  216. package/dist/components/calcite-action-group2.js +12 -0
  217. package/dist/components/calcite-action-menu2.js +3 -0
  218. package/dist/components/calcite-action-pad.js +7 -0
  219. package/dist/components/calcite-action2.js +1 -1
  220. package/dist/components/calcite-alert.js +15 -9
  221. package/dist/components/calcite-block.js +13 -1
  222. package/dist/components/calcite-card.js +15 -6
  223. package/dist/components/calcite-chip2.js +13 -1
  224. package/dist/components/calcite-color-picker-swatch2.js +15 -0
  225. package/dist/components/calcite-combobox-item.js +8 -6
  226. package/dist/components/calcite-combobox.js +22 -12
  227. package/dist/components/calcite-date-picker2.js +4 -3
  228. package/dist/components/calcite-dropdown2.js +12 -8
  229. package/dist/components/calcite-graph2.js +14 -9
  230. package/dist/components/calcite-inline-editable.js +5 -5
  231. package/dist/components/calcite-input2.js +96 -36
  232. package/dist/components/calcite-link2.js +14 -2
  233. package/dist/components/calcite-list-item.js +12 -0
  234. package/dist/components/calcite-modal.js +5 -2
  235. package/dist/components/calcite-notice.js +7 -0
  236. package/dist/components/calcite-panel.js +17 -12
  237. package/dist/components/calcite-pick-list-group.js +12 -0
  238. package/dist/components/calcite-pick-list-item2.js +12 -0
  239. package/dist/components/calcite-shell-center-row.js +13 -1
  240. package/dist/components/calcite-shell-panel.js +9 -4
  241. package/dist/components/calcite-shell.js +14 -2
  242. package/dist/components/calcite-slider.js +4 -4
  243. package/dist/components/calcite-tile2.js +12 -0
  244. package/dist/components/calcite-tip.js +13 -1
  245. package/dist/components/calcite-tree-item.js +5 -0
  246. package/dist/components/calcite-tree.js +2 -1
  247. package/dist/components/calcite-value-list-item.js +12 -0
  248. package/dist/components/conditionalSlot.js +40 -0
  249. package/dist/components/dom.js +13 -10
  250. package/dist/components/observers.js +5 -1
  251. package/dist/components/utils2.js +4 -1
  252. package/dist/custom-elements/index.js +488 -198
  253. package/dist/esm/{CalciteExpandToggle-48b6e955.js → CalciteExpandToggle-cff030be.js} +1 -1
  254. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  255. package/dist/esm/calcite-action-bar.entry.js +5 -26
  256. package/dist/esm/calcite-action-group.entry.js +14 -1
  257. package/dist/esm/calcite-action-menu.entry.js +5 -2
  258. package/dist/esm/calcite-action-pad.entry.js +10 -2
  259. package/dist/esm/calcite-action.entry.js +2 -2
  260. package/dist/esm/calcite-alert.entry.js +16 -10
  261. package/dist/esm/calcite-avatar.entry.js +1 -1
  262. package/dist/esm/calcite-block_2.entry.js +15 -2
  263. package/dist/esm/calcite-button.entry.js +3 -3
  264. package/dist/esm/calcite-card.entry.js +17 -6
  265. package/dist/esm/calcite-checkbox.entry.js +3 -3
  266. package/dist/esm/calcite-chip.entry.js +15 -2
  267. package/dist/esm/calcite-color-picker_3.entry.js +16 -1
  268. package/dist/esm/calcite-combobox_3.entry.js +35 -21
  269. package/dist/esm/calcite-date-picker_4.entry.js +2 -2
  270. package/dist/esm/calcite-dropdown_3.entry.js +15 -11
  271. package/dist/esm/calcite-fab.entry.js +1 -1
  272. package/dist/esm/calcite-filter.entry.js +1 -1
  273. package/dist/esm/calcite-flow.entry.js +1 -1
  274. package/dist/esm/calcite-graph_2.entry.js +21 -14
  275. package/dist/esm/calcite-icon.entry.js +2 -2
  276. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  277. package/dist/esm/calcite-input-date-picker.entry.js +5 -5
  278. package/dist/esm/calcite-input-message.entry.js +1 -1
  279. package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
  280. package/dist/esm/calcite-input.entry.js +99 -39
  281. package/dist/esm/calcite-link.entry.js +14 -3
  282. package/dist/esm/calcite-list_3.entry.js +14 -1
  283. package/dist/esm/calcite-modal.entry.js +7 -4
  284. package/dist/esm/calcite-notice.entry.js +9 -1
  285. package/dist/esm/calcite-option_3.entry.js +4 -4
  286. package/dist/esm/calcite-panel.entry.js +19 -13
  287. package/dist/esm/calcite-pick-list_3.entry.js +26 -3
  288. package/dist/esm/calcite-popover_2.entry.js +2 -2
  289. package/dist/esm/calcite-radio-button.entry.js +3 -3
  290. package/dist/esm/calcite-radio-group_2.entry.js +3 -3
  291. package/dist/esm/calcite-rating.entry.js +3 -3
  292. package/dist/esm/calcite-shell_3.entry.js +36 -8
  293. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  294. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  295. package/dist/esm/calcite-switch.entry.js +3 -3
  296. package/dist/esm/calcite-tab_4.entry.js +2 -2
  297. package/dist/esm/calcite-tile.entry.js +14 -1
  298. package/dist/esm/calcite-tip_3.entry.js +15 -3
  299. package/dist/esm/calcite-tooltip_2.entry.js +2 -2
  300. package/dist/esm/calcite-tree_2.entry.js +9 -2
  301. package/dist/esm/calcite-value-list_2.entry.js +15 -3
  302. package/dist/esm/calcite.js +1 -1
  303. package/dist/esm/conditionalSlot-9e7d8609.js +40 -0
  304. package/dist/esm/{dom-037dc374.js → dom-e7fa77b9.js} +13 -10
  305. package/dist/esm/{form-72369b73.js → form-f90706b4.js} +1 -1
  306. package/dist/esm/{label-712646d2.js → label-2bffc9f4.js} +1 -1
  307. package/dist/esm/loader.js +1 -1
  308. package/dist/esm/{observers-8f0bc419.js → observers-46118290.js} +5 -1
  309. package/dist/esm/{popper-7a7fd3b5.js → popper-ae231554.js} +1 -1
  310. package/dist/esm/{resources-03c0a433.js → resources-95c5e8a6.js} +1 -1
  311. package/dist/esm/{resources-90193940.js → resources-c768953c.js} +4 -3
  312. package/dist/esm-es5/{CalciteExpandToggle-48b6e955.js → CalciteExpandToggle-cff030be.js} +1 -1
  313. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  314. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  315. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  316. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  317. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  318. package/dist/esm-es5/calcite-action.entry.js +1 -1
  319. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  320. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  321. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  322. package/dist/esm-es5/calcite-button.entry.js +1 -1
  323. package/dist/esm-es5/calcite-card.entry.js +1 -1
  324. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  325. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  326. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  327. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  328. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  329. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  330. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  331. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  332. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  333. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  334. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  335. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  336. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  337. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  338. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  339. package/dist/esm-es5/calcite-input.entry.js +1 -1
  340. package/dist/esm-es5/calcite-link.entry.js +2 -2
  341. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  342. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  343. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  344. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  345. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  346. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  347. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  348. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  349. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  350. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  351. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  352. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  353. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  354. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  355. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  356. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  357. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  358. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  359. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  360. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  361. package/dist/esm-es5/calcite.js +1 -1
  362. package/dist/esm-es5/conditionalSlot-9e7d8609.js +5 -0
  363. package/dist/esm-es5/dom-e7fa77b9.js +5 -0
  364. package/dist/esm-es5/{form-72369b73.js → form-f90706b4.js} +1 -1
  365. package/dist/esm-es5/{label-712646d2.js → label-2bffc9f4.js} +1 -1
  366. package/dist/esm-es5/loader.js +1 -1
  367. package/dist/esm-es5/{observers-8f0bc419.js → observers-46118290.js} +1 -1
  368. package/dist/esm-es5/{popper-7a7fd3b5.js → popper-ae231554.js} +1 -1
  369. package/dist/esm-es5/{resources-03c0a433.js → resources-95c5e8a6.js} +1 -1
  370. package/dist/esm-es5/resources-c768953c.js +5 -0
  371. package/dist/extras/docs-json.json +63 -36
  372. package/dist/types/components/calcite-action-group/calcite-action-group.d.ts +4 -1
  373. package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +2 -1
  374. package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +4 -1
  375. package/dist/types/components/calcite-alert/calcite-alert.d.ts +2 -0
  376. package/dist/types/components/calcite-block/calcite-block.d.ts +4 -1
  377. package/dist/types/components/calcite-card/calcite-card.d.ts +4 -1
  378. package/dist/types/components/calcite-chip/calcite-chip.d.ts +4 -1
  379. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +4 -0
  380. package/dist/types/components/calcite-combobox/resources.d.ts +3 -0
  381. package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +3 -3
  382. package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +1 -0
  383. package/dist/types/components/calcite-graph/calcite-graph.d.ts +3 -4
  384. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -5
  385. package/dist/types/components/calcite-input/calcite-input.d.ts +6 -1
  386. package/dist/types/components/calcite-link/calcite-link.d.ts +5 -0
  387. package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +4 -1
  388. package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -1
  389. package/dist/types/components/calcite-notice/calcite-notice.d.ts +4 -1
  390. package/dist/types/components/calcite-panel/calcite-panel.d.ts +5 -6
  391. package/dist/types/components/calcite-pick-list-group/calcite-pick-list-group.d.ts +4 -1
  392. package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +4 -1
  393. package/dist/types/components/calcite-shell/calcite-shell.d.ts +4 -1
  394. package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +4 -1
  395. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +3 -1
  396. package/dist/types/components/calcite-tile/calcite-tile.d.ts +4 -1
  397. package/dist/types/components/calcite-tip/calcite-tip.d.ts +4 -1
  398. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +3 -1
  399. package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +4 -1
  400. package/dist/types/components.d.ts +26 -16
  401. package/dist/types/preact.d.ts +3 -3
  402. package/dist/types/utils/dom.d.ts +1 -0
  403. package/dist/types/utils/globalAttributes.d.ts +35 -0
  404. package/hydrate/index.js +479 -194
  405. package/package.json +12 -13
  406. package/readme.md +2 -32
  407. package/dist/calcite/assets/calcite-icon/checkSquareF16.json +0 -1
  408. package/dist/calcite/assets/calcite-icon/checkSquareF24.json +0 -1
  409. package/dist/calcite/assets/calcite-icon/checkSquareF32.json +0 -1
  410. package/dist/calcite/assets/calcite-icon/lineSolid4.json +0 -1
  411. package/dist/calcite/assets/calcite-icon/squareF16.json +0 -1
  412. package/dist/calcite/assets/calcite-icon/squareF24.json +0 -1
  413. package/dist/calcite/assets/calcite-icon/squareF32.json +0 -1
  414. package/dist/calcite/assets/calcite-icon/xHexagon16.json +0 -1
  415. package/dist/calcite/assets/calcite-icon/xHexagon24.json +0 -1
  416. package/dist/calcite/assets/calcite-icon/xHexagon32.json +0 -1
  417. package/dist/calcite/assets/calcite-icon/xHexagonF16.json +0 -1
  418. package/dist/calcite/assets/calcite-icon/xHexagonF24.json +0 -1
  419. package/dist/calcite/assets/calcite-icon/xHexagonF32.json +0 -1
  420. package/dist/calcite/assets/calcite-icon/xOctagonF16.json +0 -1
  421. package/dist/calcite/assets/calcite-icon/xOctagonF24.json +0 -1
  422. package/dist/calcite/assets/calcite-icon/xOctagonF32.json +0 -1
  423. package/dist/calcite/p-02856c5a.system.entry.js +0 -5
  424. package/dist/calcite/p-0af820bf.entry.js +0 -5
  425. package/dist/calcite/p-0cf878ed.system.entry.js +0 -5
  426. package/dist/calcite/p-1a5dae4a.entry.js +0 -5
  427. package/dist/calcite/p-1b3a66ec.system.entry.js +0 -5
  428. package/dist/calcite/p-1d7a9909.system.entry.js +0 -5
  429. package/dist/calcite/p-20d2db84.entry.js +0 -5
  430. package/dist/calcite/p-244e0b95.entry.js +0 -5
  431. package/dist/calcite/p-253efee4.entry.js +0 -5
  432. package/dist/calcite/p-2618de8a.entry.js +0 -5
  433. package/dist/calcite/p-273cd5ab.entry.js +0 -5
  434. package/dist/calcite/p-28adfebc.entry.js +0 -5
  435. package/dist/calcite/p-2a8938c7.system.entry.js +0 -5
  436. package/dist/calcite/p-2c954eaa.system.entry.js +0 -5
  437. package/dist/calcite/p-325fcd0d.entry.js +0 -5
  438. package/dist/calcite/p-32f7eb32.js +0 -5
  439. package/dist/calcite/p-37bddb73.system.entry.js +0 -5
  440. package/dist/calcite/p-3ab992ff.system.entry.js +0 -5
  441. package/dist/calcite/p-3b73b785.system.entry.js +0 -5
  442. package/dist/calcite/p-3b8f5ab8.system.entry.js +0 -5
  443. package/dist/calcite/p-41e2198b.js +0 -5
  444. package/dist/calcite/p-4659df78.entry.js +0 -5
  445. package/dist/calcite/p-54e271c9.system.entry.js +0 -5
  446. package/dist/calcite/p-57558d4b.entry.js +0 -5
  447. package/dist/calcite/p-5c3b9524.system.entry.js +0 -5
  448. package/dist/calcite/p-5df1936f.entry.js +0 -5
  449. package/dist/calcite/p-698167ac.entry.js +0 -5
  450. package/dist/calcite/p-7a28e833.system.entry.js +0 -5
  451. package/dist/calcite/p-7d355abe.system.entry.js +0 -5
  452. package/dist/calcite/p-85fb7bc0.entry.js +0 -5
  453. package/dist/calcite/p-8d36bc7c.entry.js +0 -5
  454. package/dist/calcite/p-8eafaf3f.entry.js +0 -5
  455. package/dist/calcite/p-9b05c3fd.js +0 -5
  456. package/dist/calcite/p-9d81d229.entry.js +0 -5
  457. package/dist/calcite/p-a0043c61.entry.js +0 -5
  458. package/dist/calcite/p-a1f65f6e.entry.js +0 -5
  459. package/dist/calcite/p-a4dec1f6.system.entry.js +0 -5
  460. package/dist/calcite/p-a9c50960.system.entry.js +0 -5
  461. package/dist/calcite/p-aaed1677.entry.js +0 -5
  462. package/dist/calcite/p-ac778725.system.entry.js +0 -5
  463. package/dist/calcite/p-ac8cf248.entry.js +0 -5
  464. package/dist/calcite/p-b4990fa4.system.entry.js +0 -5
  465. package/dist/calcite/p-b4d3f1c1.entry.js +0 -5
  466. package/dist/calcite/p-c0ed9eff.entry.js +0 -5
  467. package/dist/calcite/p-c56f495f.system.js +0 -5
  468. package/dist/calcite/p-c7b8a068.entry.js +0 -5
  469. package/dist/calcite/p-cb9cd28c.system.entry.js +0 -5
  470. package/dist/calcite/p-d578e568.system.entry.js +0 -5
  471. package/dist/calcite/p-e2ebc089.system.entry.js +0 -5
  472. package/dist/calcite/p-e4acb5a8.js +0 -5
  473. package/dist/calcite/p-e564004a.system.entry.js +0 -5
  474. package/dist/calcite/p-e87980ac.entry.js +0 -5
  475. package/dist/calcite/p-f6fc151d.system.entry.js +0 -5
  476. package/dist/calcite/p-f73124d0.entry.js +0 -5
  477. package/dist/collection/components/calcite-combobox/interfaces.d.js +0 -1
  478. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +0 -1
  479. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +0 -1
  480. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +0 -1
  481. package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +0 -1
  482. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +0 -1
  483. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +0 -1
  484. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +0 -1
  485. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +0 -1
  486. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +0 -1
  487. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +0 -1
  488. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +0 -1
  489. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +0 -1
  490. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +0 -1
  491. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +0 -1
  492. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +0 -1
  493. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +0 -1
  494. package/dist/collection/components/calcite-label/interfaces.js +0 -1
  495. package/dist/collection/demos/_assets/demo-form.js +0 -23
  496. package/dist/collection/demos/_assets/demo-template.js +0 -13
  497. package/dist/collection/demos/_assets/head.js +0 -45
  498. package/dist/collection/demos/_assets/locales.js +0 -223
  499. package/dist/collection/utils/interactive.js +0 -20
  500. package/dist/esm-es5/dom-037dc374.js +0 -5
  501. package/dist/esm-es5/resources-90193940.js +0 -5
@@ -2,4 +2,4 @@ var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */import{a as getElementDir}from"./dom-037dc374.js";var top="top";var bottom="bottom";var right="right";var left="left";var auto="auto";var basePlacements=[top,bottom,right,left];var start="start";var end="end";var clippingParents="clippingParents";var viewport="viewport";var popper="popper";var reference="reference";var variationPlacements=basePlacements.reduce((function(e,t){return e.concat([t+"-"+start,t+"-"+end])}),[]);var placements=[].concat(basePlacements,[auto]).reduce((function(e,t){return e.concat([t,t+"-"+start,t+"-"+end])}),[]);var beforeRead="beforeRead";var read="read";var afterRead="afterRead";var beforeMain="beforeMain";var main="main";var afterMain="afterMain";var beforeWrite="beforeWrite";var write="write";var afterWrite="afterWrite";var modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function getNodeName(e){return e?(e.nodeName||"").toLowerCase():null}function getWindow(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function isElement(e){var t=getWindow(e).Element;return e instanceof t||e instanceof Element}function isHTMLElement(e){var t=getWindow(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function isShadowRoot(e){if(typeof ShadowRoot==="undefined"){return false}var t=getWindow(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function applyStyles(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{};var n=t.attributes[e]||{};var a=t.elements[e];if(!isHTMLElement(a)||!getNodeName(a)){return}Object.assign(a.style,r);Object.keys(n).forEach((function(e){var t=n[e];if(t===false){a.removeAttribute(e)}else{a.setAttribute(e,t===true?"":t)}}))}))}function effect$2(e){var t=e.state;var r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper);t.styles=r;if(t.elements.arrow){Object.assign(t.elements.arrow.style,r.arrow)}return function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e];var a=t.attributes[e]||{};var i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var o=i.reduce((function(e,t){e[t]="";return e}),{});if(!isHTMLElement(n)||!getNodeName(n)){return}Object.assign(n.style,o);Object.keys(a).forEach((function(e){n.removeAttribute(e)}))}))}}var applyStyles$1={name:"applyStyles",enabled:true,phase:"write",fn:applyStyles,effect:effect$2,requires:["computeStyles"]};function getBasePlacement(e){return e.split("-")[0]}var max=Math.max;var min=Math.min;var round=Math.round;function getBoundingClientRect(e,t){if(t===void 0){t=false}var r=e.getBoundingClientRect();var n=1;var a=1;if(isHTMLElement(e)&&t){var i=e.offsetHeight;var o=e.offsetWidth;if(o>0){n=round(r.width)/o||1}if(i>0){a=round(r.height)/i||1}}return{width:r.width/n,height:r.height/a,top:r.top/a,right:r.right/n,bottom:r.bottom/a,left:r.left/n,x:r.left/n,y:r.top/a}}function getLayoutRect(e){var t=getBoundingClientRect(e);var r=e.offsetWidth;var n=e.offsetHeight;if(Math.abs(t.width-r)<=1){r=t.width}if(Math.abs(t.height-n)<=1){n=t.height}return{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function contains(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&isShadowRoot(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function getComputedStyle(e){return getWindow(e).getComputedStyle(e)}function isTableElement(e){return["table","td","th"].indexOf(getNodeName(e))>=0}function getDocumentElement(e){return((isElement(e)?e.ownerDocument:e.document)||window.document).documentElement}function getParentNode(e){if(getNodeName(e)==="html"){return e}return e.assignedSlot||e.parentNode||(isShadowRoot(e)?e.host:null)||getDocumentElement(e)}function getTrueOffsetParent(e){if(!isHTMLElement(e)||getComputedStyle(e).position==="fixed"){return null}return e.offsetParent}function getContainingBlock(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&isHTMLElement(e)){var n=getComputedStyle(e);if(n.position==="fixed"){return null}}var a=getParentNode(e);while(isHTMLElement(a)&&["html","body"].indexOf(getNodeName(a))<0){var i=getComputedStyle(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none"){return a}else{a=a.parentNode}}return null}function getOffsetParent(e){var t=getWindow(e);var r=getTrueOffsetParent(e);while(r&&isTableElement(r)&&getComputedStyle(r).position==="static"){r=getTrueOffsetParent(r)}if(r&&(getNodeName(r)==="html"||getNodeName(r)==="body"&&getComputedStyle(r).position==="static")){return t}return r||getContainingBlock(e)||t}function getMainAxisFromPlacement(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function within(e,t,r){return max(e,min(t,r))}function withinMaxClamp(e,t,r){var n=within(e,t,r);return n>r?r:n}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(e){return Object.assign({},getFreshSideObject(),e)}function expandToHashMap(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var toPaddingObject=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return mergePaddingObject(typeof t!=="number"?t:expandToHashMap(t,basePlacements))};function arrow(e){var t;var r=e.state,n=e.name,a=e.options;var i=r.elements.arrow;var o=r.modifiersData.popperOffsets;var s=getBasePlacement(r.placement);var f=getMainAxisFromPlacement(s);var l=[left,right].indexOf(s)>=0;var c=l?"height":"width";if(!i||!o){return}var p=toPaddingObject(a.padding,r);var u=getLayoutRect(i);var d=f==="y"?top:left;var v=f==="y"?bottom:right;var m=r.rects.reference[c]+r.rects.reference[f]-o[f]-r.rects.popper[c];var g=o[f]-r.rects.reference[f];var h=getOffsetParent(i);var y=h?f==="y"?h.clientHeight||0:h.clientWidth||0:0;var b=m/2-g/2;var w=p[d];var O=y-u[c]-p[v];var x=y/2-u[c]/2+b;var P=within(w,x,O);var S=f;r.modifiersData[n]=(t={},t[S]=P,t.centerOffset=P-x,t)}function effect$1(e){var t=e.state,r=e.options;var n=r.element,a=n===void 0?"[data-popper-arrow]":n;if(a==null){return}if(typeof a==="string"){a=t.elements.popper.querySelector(a);if(!a){return}}if(!contains(t.elements.popper,a)){return}t.elements.arrow=a}var arrow$1={name:"arrow",enabled:true,phase:"main",fn:arrow,effect:effect$1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getVariation(e){return e.split("-")[1]}var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(e){var t=e.x,r=e.y;var n=window;var a=n.devicePixelRatio||1;return{x:round(t*a)/a||0,y:round(r*a)/a||0}}function mapToStyles(e){var t;var r=e.popper,n=e.popperRect,a=e.placement,i=e.variation,o=e.offsets,s=e.position,f=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,p=e.isFixed;var u=o.x,d=u===void 0?0:u,v=o.y,m=v===void 0?0:v;var g=typeof c==="function"?c({x:d,y:m}):{x:d,y:m};d=g.x;m=g.y;var h=o.hasOwnProperty("x");var y=o.hasOwnProperty("y");var b=left;var w=top;var O=window;if(l){var x=getOffsetParent(r);var P="clientHeight";var S="clientWidth";if(x===getWindow(r)){x=getDocumentElement(r);if(getComputedStyle(x).position!=="static"&&s==="absolute"){P="scrollHeight";S="scrollWidth"}}x=x;if(a===top||(a===left||a===right)&&i===end){w=bottom;var E=p&&O.visualViewport?O.visualViewport.height:x[P];m-=E-n.height;m*=f?1:-1}if(a===left||(a===top||a===bottom)&&i===end){b=right;var M=p&&O.visualViewport?O.visualViewport.width:x[S];d-=M-n.width;d*=f?1:-1}}var T=Object.assign({position:s},l&&unsetSides);var C=c===true?roundOffsetsByDPR({x:d,y:m}):{x:d,y:m};d=C.x;m=C.y;if(f){var R;return Object.assign({},T,(R={},R[w]=y?"0":"",R[b]=h?"0":"",R.transform=(O.devicePixelRatio||1)<=1?"translate("+d+"px, "+m+"px)":"translate3d("+d+"px, "+m+"px, 0)",R))}return Object.assign({},T,(t={},t[w]=y?m+"px":"",t[b]=h?d+"px":"",t.transform="",t))}function computeStyles(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,a=n===void 0?true:n,i=r.adaptive,o=i===void 0?true:i,s=r.roundOffsets,f=s===void 0?true:s;var l={placement:getBasePlacement(t.placement),variation:getVariation(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,mapToStyles(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:f})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,mapToStyles(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:f})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var computeStyles$1={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:computeStyles,data:{}};var passive={passive:true};function effect(e){var t=e.state,r=e.instance,n=e.options;var a=n.scroll,i=a===void 0?true:a,o=n.resize,s=o===void 0?true:o;var f=getWindow(t.elements.popper);var l=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(i){l.forEach((function(e){e.addEventListener("scroll",r.update,passive)}))}if(s){f.addEventListener("resize",r.update,passive)}return function(){if(i){l.forEach((function(e){e.removeEventListener("scroll",r.update,passive)}))}if(s){f.removeEventListener("resize",r.update,passive)}}}var eventListeners={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:effect,data:{}};var hash$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(e){return e.replace(/left|right|bottom|top/g,(function(e){return hash$1[e]}))}var hash={start:"end",end:"start"};function getOppositeVariationPlacement(e){return e.replace(/start|end/g,(function(e){return hash[e]}))}function getWindowScroll(e){var t=getWindow(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function getWindowScrollBarX(e){return getBoundingClientRect(getDocumentElement(e)).left+getWindowScroll(e).scrollLeft}function getViewportRect(e){var t=getWindow(e);var r=getDocumentElement(e);var n=t.visualViewport;var a=r.clientWidth;var i=r.clientHeight;var o=0;var s=0;if(n){a=n.width;i=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){o=n.offsetLeft;s=n.offsetTop}}return{width:a,height:i,x:o+getWindowScrollBarX(e),y:s}}function getDocumentRect(e){var t;var r=getDocumentElement(e);var n=getWindowScroll(e);var a=(t=e.ownerDocument)==null?void 0:t.body;var i=max(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0);var o=max(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);var s=-n.scrollLeft+getWindowScrollBarX(e);var f=-n.scrollTop;if(getComputedStyle(a||r).direction==="rtl"){s+=max(r.clientWidth,a?a.clientWidth:0)-i}return{width:i,height:o,x:s,y:f}}function isScrollParent(e){var t=getComputedStyle(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function getScrollParent(e){if(["html","body","#document"].indexOf(getNodeName(e))>=0){return e.ownerDocument.body}if(isHTMLElement(e)&&isScrollParent(e)){return e}return getScrollParent(getParentNode(e))}function listScrollParents(e,t){var r;if(t===void 0){t=[]}var n=getScrollParent(e);var a=n===((r=e.ownerDocument)==null?void 0:r.body);var i=getWindow(n);var o=a?[i].concat(i.visualViewport||[],isScrollParent(n)?n:[]):n;var s=t.concat(o);return a?s:s.concat(listScrollParents(getParentNode(o)))}function rectToClientRect(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function getInnerBoundingClientRect(e){var t=getBoundingClientRect(e);t.top=t.top+e.clientTop;t.left=t.left+e.clientLeft;t.bottom=t.top+e.clientHeight;t.right=t.left+e.clientWidth;t.width=e.clientWidth;t.height=e.clientHeight;t.x=t.left;t.y=t.top;return t}function getClientRectFromMixedType(e,t){return t===viewport?rectToClientRect(getViewportRect(e)):isElement(t)?getInnerBoundingClientRect(t):rectToClientRect(getDocumentRect(getDocumentElement(e)))}function getClippingParents(e){var t=listScrollParents(getParentNode(e));var r=["absolute","fixed"].indexOf(getComputedStyle(e).position)>=0;var n=r&&isHTMLElement(e)?getOffsetParent(e):e;if(!isElement(n)){return[]}return t.filter((function(e){return isElement(e)&&contains(e,n)&&getNodeName(e)!=="body"}))}function getClippingRect(e,t,r){var n=t==="clippingParents"?getClippingParents(e):[].concat(t);var a=[].concat(n,[r]);var i=a[0];var o=a.reduce((function(t,r){var n=getClientRectFromMixedType(e,r);t.top=max(n.top,t.top);t.right=min(n.right,t.right);t.bottom=min(n.bottom,t.bottom);t.left=max(n.left,t.left);return t}),getClientRectFromMixedType(e,i));o.width=o.right-o.left;o.height=o.bottom-o.top;o.x=o.left;o.y=o.top;return o}function computeOffsets(e){var t=e.reference,r=e.element,n=e.placement;var a=n?getBasePlacement(n):null;var i=n?getVariation(n):null;var o=t.x+t.width/2-r.width/2;var s=t.y+t.height/2-r.height/2;var f;switch(a){case top:f={x:o,y:t.y-r.height};break;case bottom:f={x:o,y:t.y+t.height};break;case right:f={x:t.x+t.width,y:s};break;case left:f={x:t.x-r.width,y:s};break;default:f={x:t.x,y:t.y}}var l=a?getMainAxisFromPlacement(a):null;if(l!=null){var c=l==="y"?"height":"width";switch(i){case start:f[l]=f[l]-(t[c]/2-r[c]/2);break;case end:f[l]=f[l]+(t[c]/2-r[c]/2);break}}return f}function detectOverflow(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=n===void 0?e.placement:n,i=r.boundary,o=i===void 0?clippingParents:i,s=r.rootBoundary,f=s===void 0?viewport:s,l=r.elementContext,c=l===void 0?popper:l,p=r.altBoundary,u=p===void 0?false:p,d=r.padding,v=d===void 0?0:d;var m=mergePaddingObject(typeof v!=="number"?v:expandToHashMap(v,basePlacements));var g=c===popper?reference:popper;var h=e.rects.popper;var y=e.elements[u?g:c];var b=getClippingRect(isElement(y)?y:y.contextElement||getDocumentElement(e.elements.popper),o,f);var w=getBoundingClientRect(e.elements.reference);var O=computeOffsets({reference:w,element:h,strategy:"absolute",placement:a});var x=rectToClientRect(Object.assign({},h,O));var P=c===popper?x:w;var S={top:b.top-P.top+m.top,bottom:P.bottom-b.bottom+m.bottom,left:b.left-P.left+m.left,right:P.right-b.right+m.right};var E=e.modifiersData.offset;if(c===popper&&E){var M=E[a];Object.keys(S).forEach((function(e){var t=[right,bottom].indexOf(e)>=0?1:-1;var r=[top,bottom].indexOf(e)>=0?"y":"x";S[e]+=M[r]*t}))}return S}function computeAutoPlacement(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,o=r.padding,s=r.flipVariations,f=r.allowedAutoPlacements,l=f===void 0?placements:f;var c=getVariation(n);var p=c?s?variationPlacements:variationPlacements.filter((function(e){return getVariation(e)===c})):basePlacements;var u=p.filter((function(e){return l.indexOf(e)>=0}));if(u.length===0){u=p}var d=u.reduce((function(t,r){t[r]=detectOverflow(e,{placement:r,boundary:a,rootBoundary:i,padding:o})[getBasePlacement(r)];return t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}function getExpandedFallbackPlacements(e){if(getBasePlacement(e)===auto){return[]}var t=getOppositePlacement(e);return[getOppositeVariationPlacement(e),t,getOppositeVariationPlacement(t)]}function flip(e){var t=e.state,r=e.options,n=e.name;if(t.modifiersData[n]._skip){return}var a=r.mainAxis,i=a===void 0?true:a,o=r.altAxis,s=o===void 0?true:o,f=r.fallbackPlacements,l=r.padding,c=r.boundary,p=r.rootBoundary,u=r.altBoundary,d=r.flipVariations,v=d===void 0?true:d,m=r.allowedAutoPlacements;var g=t.options.placement;var h=getBasePlacement(g);var y=h===g;var b=f||(y||!v?[getOppositePlacement(g)]:getExpandedFallbackPlacements(g));var w=[g].concat(b).reduce((function(e,r){return e.concat(getBasePlacement(r)===auto?computeAutoPlacement(t,{placement:r,boundary:c,rootBoundary:p,padding:l,flipVariations:v,allowedAutoPlacements:m}):r)}),[]);var O=t.rects.reference;var x=t.rects.popper;var P=new Map;var S=true;var E=w[0];for(var M=0;M<w.length;M++){var T=w[M];var C=getBasePlacement(T);var R=getVariation(T)===start;var D=[top,bottom].indexOf(C)>=0;var B=D?"width":"height";var A=detectOverflow(t,{placement:T,boundary:c,rootBoundary:p,altBoundary:u,padding:l});var L=D?R?right:left:R?bottom:top;if(O[B]>x[B]){L=getOppositePlacement(L)}var j=getOppositePlacement(L);var W=[];if(i){W.push(A[C]<=0)}if(s){W.push(A[L]<=0,A[j]<=0)}if(W.every((function(e){return e}))){E=T;S=false;break}P.set(T,W)}if(S){var N=v?3:1;var H=function e(t){var r=w.find((function(e){var r=P.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){E=r;return"break"}};for(var k=N;k>0;k--){var V=H(k);if(V==="break")break}}if(t.placement!==E){t.modifiersData[n]._skip=true;t.placement=E;t.reset=true}}var flip$1={name:"flip",enabled:true,phase:"main",fn:flip,requiresIfExists:["offset"],data:{_skip:false}};function getSideOffsets(e,t,r){if(r===void 0){r={x:0,y:0}}return{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function isAnySideFullyClipped(e){return[top,right,bottom,left].some((function(t){return e[t]>=0}))}function hide(e){var t=e.state,r=e.name;var n=t.rects.reference;var a=t.rects.popper;var i=t.modifiersData.preventOverflow;var o=detectOverflow(t,{elementContext:"reference"});var s=detectOverflow(t,{altBoundary:true});var f=getSideOffsets(o,n);var l=getSideOffsets(s,a,i);var c=isAnySideFullyClipped(f);var p=isAnySideFullyClipped(l);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:p};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}var hide$1={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:hide};function distanceAndSkiddingToXY(e,t,r){var n=getBasePlacement(e);var a=[left,top].indexOf(n)>=0?-1:1;var i=typeof r==="function"?r(Object.assign({},t,{placement:e})):r,o=i[0],s=i[1];o=o||0;s=(s||0)*a;return[left,right].indexOf(n)>=0?{x:s,y:o}:{x:o,y:s}}function offset(e){var t=e.state,r=e.options,n=e.name;var a=r.offset,i=a===void 0?[0,0]:a;var o=placements.reduce((function(e,r){e[r]=distanceAndSkiddingToXY(r,t.rects,i);return e}),{});var s=o[t.placement],f=s.x,l=s.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=f;t.modifiersData.popperOffsets.y+=l}t.modifiersData[n]=o}var offset$1={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:offset};function popperOffsets(e){var t=e.state,r=e.name;t.modifiersData[r]=computeOffsets({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var popperOffsets$1={name:"popperOffsets",enabled:true,phase:"read",fn:popperOffsets,data:{}};function getAltAxis(e){return e==="x"?"y":"x"}function preventOverflow(e){var t=e.state,r=e.options,n=e.name;var a=r.mainAxis,i=a===void 0?true:a,o=r.altAxis,s=o===void 0?false:o,f=r.boundary,l=r.rootBoundary,c=r.altBoundary,p=r.padding,u=r.tether,d=u===void 0?true:u,v=r.tetherOffset,m=v===void 0?0:v;var g=detectOverflow(t,{boundary:f,rootBoundary:l,padding:p,altBoundary:c});var h=getBasePlacement(t.placement);var y=getVariation(t.placement);var b=!y;var w=getMainAxisFromPlacement(h);var O=getAltAxis(w);var x=t.modifiersData.popperOffsets;var P=t.rects.reference;var S=t.rects.popper;var E=typeof m==="function"?m(Object.assign({},t.rects,{placement:t.placement})):m;var M=typeof E==="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E);var T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null;var C={x:0,y:0};if(!x){return}if(i){var R;var D=w==="y"?top:left;var B=w==="y"?bottom:right;var A=w==="y"?"height":"width";var L=x[w];var j=L+g[D];var W=L-g[B];var N=d?-S[A]/2:0;var H=y===start?P[A]:S[A];var k=y===start?-S[A]:-P[A];var V=t.elements.arrow;var $=d&&V?getLayoutRect(V):{width:0,height:0};var F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:getFreshSideObject();var _=F[D];var q=F[B];var I=within(0,P[A],$[A]);var X=b?P[A]/2-N-I-_-M.mainAxis:H-I-_-M.mainAxis;var U=b?-P[A]/2+N+I+q+M.mainAxis:k+I+q+M.mainAxis;var z=t.elements.arrow&&getOffsetParent(t.elements.arrow);var Y=z?w==="y"?z.clientTop||0:z.clientLeft||0:0;var G=(R=T==null?void 0:T[w])!=null?R:0;var J=L+X-G-Y;var K=L+U-G;var Q=within(d?min(j,J):j,L,d?max(W,K):W);x[w]=Q;C[w]=Q-L}if(s){var Z;var ee=w==="x"?top:left;var te=w==="x"?bottom:right;var re=x[O];var ne=O==="y"?"height":"width";var ae=re+g[ee];var ie=re-g[te];var oe=[top,left].indexOf(h)!==-1;var se=(Z=T==null?void 0:T[O])!=null?Z:0;var fe=oe?ae:re-P[ne]-S[ne]-se+M.altAxis;var le=oe?re+P[ne]+S[ne]-se-M.altAxis:ie;var ce=d&&oe?withinMaxClamp(fe,re,le):within(d?fe:ae,re,d?le:ie);x[O]=ce;C[O]=ce-re}t.modifiersData[n]=C}var preventOverflow$1={name:"preventOverflow",enabled:true,phase:"main",fn:preventOverflow,requiresIfExists:["offset"]};function getHTMLElementScroll(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function getNodeScroll(e){if(e===getWindow(e)||!isHTMLElement(e)){return getWindowScroll(e)}else{return getHTMLElementScroll(e)}}function isElementScaled(e){var t=e.getBoundingClientRect();var r=round(t.width)/e.offsetWidth||1;var n=round(t.height)/e.offsetHeight||1;return r!==1||n!==1}function getCompositeRect(e,t,r){if(r===void 0){r=false}var n=isHTMLElement(t);var a=isHTMLElement(t)&&isElementScaled(t);var i=getDocumentElement(t);var o=getBoundingClientRect(e,a);var s={scrollLeft:0,scrollTop:0};var f={x:0,y:0};if(n||!n&&!r){if(getNodeName(t)!=="body"||isScrollParent(i)){s=getNodeScroll(t)}if(isHTMLElement(t)){f=getBoundingClientRect(t,true);f.x+=t.clientLeft;f.y+=t.clientTop}else if(i){f.x=getWindowScrollBarX(i)}}return{x:o.left+s.scrollLeft-f.x,y:o.top+s.scrollTop-f.y,width:o.width,height:o.height}}function order(e){var t=new Map;var r=new Set;var n=[];e.forEach((function(e){t.set(e.name,e)}));function a(e){r.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach((function(e){if(!r.has(e)){var n=t.get(e);if(n){a(n)}}}));n.push(e)}e.forEach((function(e){if(!r.has(e.name)){a(e)}}));return n}function orderModifiers(e){var t=order(e);return modifierPhases.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function debounce(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function mergeByName(e){var t=e.reduce((function(e,t){var r=e[t.name];e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t;return e}),{});return Object.keys(t).map((function(e){return t[e]}))}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return!t.some((function(e){return!(e&&typeof e.getBoundingClientRect==="function")}))}function popperGenerator(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?DEFAULT_OPTIONS:a;return function e(t,r,a){if(a===void 0){a=i}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,i),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var s=[];var f=false;var l={state:o,setOptions:function e(a){var s=typeof a==="function"?a(o.options):a;p();o.options=Object.assign({},i,o.options,s);o.scrollParents={reference:isElement(t)?listScrollParents(t):t.contextElement?listScrollParents(t.contextElement):[],popper:listScrollParents(r)};var f=orderModifiers(mergeByName([].concat(n,o.options.modifiers)));o.orderedModifiers=f.filter((function(e){return e.enabled}));c();return l.update()},forceUpdate:function e(){if(f){return}var t=o.elements,r=t.reference,n=t.popper;if(!areValidElements(r,n)){return}o.rects={reference:getCompositeRect(r,getOffsetParent(n),o.options.strategy==="fixed"),popper:getLayoutRect(n)};o.reset=false;o.placement=o.options.placement;o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<o.orderedModifiers.length;a++){if(o.reset===true){o.reset=false;a=-1;continue}var i=o.orderedModifiers[a],s=i.fn,c=i.options,p=c===void 0?{}:c,u=i.name;if(typeof s==="function"){o=s({state:o,options:p,name:u,instance:l})||o}}},update:debounce((function(){return new Promise((function(e){l.forceUpdate();e(o)}))})),destroy:function e(){p();f=true}};if(!areValidElements(t,r)){return l}l.setOptions(a).then((function(e){if(!f&&a.onFirstUpdate){a.onFirstUpdate(e)}}));function c(){o.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,a=e.effect;if(typeof a==="function"){var i=a({state:o,name:t,instance:l,options:n});var f=function e(){};s.push(i||f)}}))}function p(){s.forEach((function(e){return e()}));s=[]}return l}}var defaultModifiers=[eventListeners,popperOffsets$1,computeStyles$1,applyStyles$1,offset$1,flip$1,preventOverflow$1,arrow$1,hide$1];var createPopper$1=popperGenerator({defaultModifiers:defaultModifiers});var CSS={animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"};function getPlacement(e,t){var r=["left","right"];var n=["start","end"];if(getElementDir(e)==="rtl"){r.reverse();n.reverse()}return t.replace(/-leading/gi,"-"+n[0]).replace(/-trailing/gi,"-"+n[1]).replace(/leading/gi,r[0]).replace(/trailing/gi,r[1])}function createPopper(e){var t=e.referenceEl,r=e.el,n=e.placement,a=e.overlayPositioning,i=a===void 0?"absolute":a,o=e.modifiers;if(!t){return null}return createPopper$1(t,r,{strategy:i,placement:getPlacement(r,n),modifiers:o})}function updatePopper(e){var t=e.el,r=e.modifiers,n=e.placement,a=e.popper;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){switch(i.label){case 0:e=getPlacement(t,n);return[4,a.setOptions({modifiers:r,placement:e})];case 1:i.sent();return[2]}}))}))}function hypotenuse(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}var visiblePointerSize=4;var defaultOffsetDistance=Math.ceil(hypotenuse(visiblePointerSize,visiblePointerSize));export{CSS as C,createPopper as c,defaultOffsetDistance as d,updatePopper as u};
5
+ */import{a as getElementDir}from"./dom-e7fa77b9.js";var top="top";var bottom="bottom";var right="right";var left="left";var auto="auto";var basePlacements=[top,bottom,right,left];var start="start";var end="end";var clippingParents="clippingParents";var viewport="viewport";var popper="popper";var reference="reference";var variationPlacements=basePlacements.reduce((function(e,t){return e.concat([t+"-"+start,t+"-"+end])}),[]);var placements=[].concat(basePlacements,[auto]).reduce((function(e,t){return e.concat([t,t+"-"+start,t+"-"+end])}),[]);var beforeRead="beforeRead";var read="read";var afterRead="afterRead";var beforeMain="beforeMain";var main="main";var afterMain="afterMain";var beforeWrite="beforeWrite";var write="write";var afterWrite="afterWrite";var modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function getNodeName(e){return e?(e.nodeName||"").toLowerCase():null}function getWindow(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function isElement(e){var t=getWindow(e).Element;return e instanceof t||e instanceof Element}function isHTMLElement(e){var t=getWindow(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function isShadowRoot(e){if(typeof ShadowRoot==="undefined"){return false}var t=getWindow(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function applyStyles(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{};var n=t.attributes[e]||{};var a=t.elements[e];if(!isHTMLElement(a)||!getNodeName(a)){return}Object.assign(a.style,r);Object.keys(n).forEach((function(e){var t=n[e];if(t===false){a.removeAttribute(e)}else{a.setAttribute(e,t===true?"":t)}}))}))}function effect$2(e){var t=e.state;var r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper);t.styles=r;if(t.elements.arrow){Object.assign(t.elements.arrow.style,r.arrow)}return function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e];var a=t.attributes[e]||{};var i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var o=i.reduce((function(e,t){e[t]="";return e}),{});if(!isHTMLElement(n)||!getNodeName(n)){return}Object.assign(n.style,o);Object.keys(a).forEach((function(e){n.removeAttribute(e)}))}))}}var applyStyles$1={name:"applyStyles",enabled:true,phase:"write",fn:applyStyles,effect:effect$2,requires:["computeStyles"]};function getBasePlacement(e){return e.split("-")[0]}var max=Math.max;var min=Math.min;var round=Math.round;function getBoundingClientRect(e,t){if(t===void 0){t=false}var r=e.getBoundingClientRect();var n=1;var a=1;if(isHTMLElement(e)&&t){var i=e.offsetHeight;var o=e.offsetWidth;if(o>0){n=round(r.width)/o||1}if(i>0){a=round(r.height)/i||1}}return{width:r.width/n,height:r.height/a,top:r.top/a,right:r.right/n,bottom:r.bottom/a,left:r.left/n,x:r.left/n,y:r.top/a}}function getLayoutRect(e){var t=getBoundingClientRect(e);var r=e.offsetWidth;var n=e.offsetHeight;if(Math.abs(t.width-r)<=1){r=t.width}if(Math.abs(t.height-n)<=1){n=t.height}return{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function contains(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&isShadowRoot(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function getComputedStyle(e){return getWindow(e).getComputedStyle(e)}function isTableElement(e){return["table","td","th"].indexOf(getNodeName(e))>=0}function getDocumentElement(e){return((isElement(e)?e.ownerDocument:e.document)||window.document).documentElement}function getParentNode(e){if(getNodeName(e)==="html"){return e}return e.assignedSlot||e.parentNode||(isShadowRoot(e)?e.host:null)||getDocumentElement(e)}function getTrueOffsetParent(e){if(!isHTMLElement(e)||getComputedStyle(e).position==="fixed"){return null}return e.offsetParent}function getContainingBlock(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&isHTMLElement(e)){var n=getComputedStyle(e);if(n.position==="fixed"){return null}}var a=getParentNode(e);while(isHTMLElement(a)&&["html","body"].indexOf(getNodeName(a))<0){var i=getComputedStyle(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none"){return a}else{a=a.parentNode}}return null}function getOffsetParent(e){var t=getWindow(e);var r=getTrueOffsetParent(e);while(r&&isTableElement(r)&&getComputedStyle(r).position==="static"){r=getTrueOffsetParent(r)}if(r&&(getNodeName(r)==="html"||getNodeName(r)==="body"&&getComputedStyle(r).position==="static")){return t}return r||getContainingBlock(e)||t}function getMainAxisFromPlacement(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function within(e,t,r){return max(e,min(t,r))}function withinMaxClamp(e,t,r){var n=within(e,t,r);return n>r?r:n}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(e){return Object.assign({},getFreshSideObject(),e)}function expandToHashMap(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var toPaddingObject=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return mergePaddingObject(typeof t!=="number"?t:expandToHashMap(t,basePlacements))};function arrow(e){var t;var r=e.state,n=e.name,a=e.options;var i=r.elements.arrow;var o=r.modifiersData.popperOffsets;var s=getBasePlacement(r.placement);var f=getMainAxisFromPlacement(s);var l=[left,right].indexOf(s)>=0;var c=l?"height":"width";if(!i||!o){return}var p=toPaddingObject(a.padding,r);var u=getLayoutRect(i);var d=f==="y"?top:left;var v=f==="y"?bottom:right;var m=r.rects.reference[c]+r.rects.reference[f]-o[f]-r.rects.popper[c];var g=o[f]-r.rects.reference[f];var h=getOffsetParent(i);var y=h?f==="y"?h.clientHeight||0:h.clientWidth||0:0;var b=m/2-g/2;var w=p[d];var O=y-u[c]-p[v];var x=y/2-u[c]/2+b;var P=within(w,x,O);var S=f;r.modifiersData[n]=(t={},t[S]=P,t.centerOffset=P-x,t)}function effect$1(e){var t=e.state,r=e.options;var n=r.element,a=n===void 0?"[data-popper-arrow]":n;if(a==null){return}if(typeof a==="string"){a=t.elements.popper.querySelector(a);if(!a){return}}if(!contains(t.elements.popper,a)){return}t.elements.arrow=a}var arrow$1={name:"arrow",enabled:true,phase:"main",fn:arrow,effect:effect$1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getVariation(e){return e.split("-")[1]}var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(e){var t=e.x,r=e.y;var n=window;var a=n.devicePixelRatio||1;return{x:round(t*a)/a||0,y:round(r*a)/a||0}}function mapToStyles(e){var t;var r=e.popper,n=e.popperRect,a=e.placement,i=e.variation,o=e.offsets,s=e.position,f=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,p=e.isFixed;var u=o.x,d=u===void 0?0:u,v=o.y,m=v===void 0?0:v;var g=typeof c==="function"?c({x:d,y:m}):{x:d,y:m};d=g.x;m=g.y;var h=o.hasOwnProperty("x");var y=o.hasOwnProperty("y");var b=left;var w=top;var O=window;if(l){var x=getOffsetParent(r);var P="clientHeight";var S="clientWidth";if(x===getWindow(r)){x=getDocumentElement(r);if(getComputedStyle(x).position!=="static"&&s==="absolute"){P="scrollHeight";S="scrollWidth"}}x=x;if(a===top||(a===left||a===right)&&i===end){w=bottom;var E=p&&O.visualViewport?O.visualViewport.height:x[P];m-=E-n.height;m*=f?1:-1}if(a===left||(a===top||a===bottom)&&i===end){b=right;var M=p&&O.visualViewport?O.visualViewport.width:x[S];d-=M-n.width;d*=f?1:-1}}var T=Object.assign({position:s},l&&unsetSides);var C=c===true?roundOffsetsByDPR({x:d,y:m}):{x:d,y:m};d=C.x;m=C.y;if(f){var R;return Object.assign({},T,(R={},R[w]=y?"0":"",R[b]=h?"0":"",R.transform=(O.devicePixelRatio||1)<=1?"translate("+d+"px, "+m+"px)":"translate3d("+d+"px, "+m+"px, 0)",R))}return Object.assign({},T,(t={},t[w]=y?m+"px":"",t[b]=h?d+"px":"",t.transform="",t))}function computeStyles(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,a=n===void 0?true:n,i=r.adaptive,o=i===void 0?true:i,s=r.roundOffsets,f=s===void 0?true:s;var l={placement:getBasePlacement(t.placement),variation:getVariation(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,mapToStyles(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:f})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,mapToStyles(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:f})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var computeStyles$1={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:computeStyles,data:{}};var passive={passive:true};function effect(e){var t=e.state,r=e.instance,n=e.options;var a=n.scroll,i=a===void 0?true:a,o=n.resize,s=o===void 0?true:o;var f=getWindow(t.elements.popper);var l=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(i){l.forEach((function(e){e.addEventListener("scroll",r.update,passive)}))}if(s){f.addEventListener("resize",r.update,passive)}return function(){if(i){l.forEach((function(e){e.removeEventListener("scroll",r.update,passive)}))}if(s){f.removeEventListener("resize",r.update,passive)}}}var eventListeners={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:effect,data:{}};var hash$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(e){return e.replace(/left|right|bottom|top/g,(function(e){return hash$1[e]}))}var hash={start:"end",end:"start"};function getOppositeVariationPlacement(e){return e.replace(/start|end/g,(function(e){return hash[e]}))}function getWindowScroll(e){var t=getWindow(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function getWindowScrollBarX(e){return getBoundingClientRect(getDocumentElement(e)).left+getWindowScroll(e).scrollLeft}function getViewportRect(e){var t=getWindow(e);var r=getDocumentElement(e);var n=t.visualViewport;var a=r.clientWidth;var i=r.clientHeight;var o=0;var s=0;if(n){a=n.width;i=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){o=n.offsetLeft;s=n.offsetTop}}return{width:a,height:i,x:o+getWindowScrollBarX(e),y:s}}function getDocumentRect(e){var t;var r=getDocumentElement(e);var n=getWindowScroll(e);var a=(t=e.ownerDocument)==null?void 0:t.body;var i=max(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0);var o=max(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0);var s=-n.scrollLeft+getWindowScrollBarX(e);var f=-n.scrollTop;if(getComputedStyle(a||r).direction==="rtl"){s+=max(r.clientWidth,a?a.clientWidth:0)-i}return{width:i,height:o,x:s,y:f}}function isScrollParent(e){var t=getComputedStyle(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function getScrollParent(e){if(["html","body","#document"].indexOf(getNodeName(e))>=0){return e.ownerDocument.body}if(isHTMLElement(e)&&isScrollParent(e)){return e}return getScrollParent(getParentNode(e))}function listScrollParents(e,t){var r;if(t===void 0){t=[]}var n=getScrollParent(e);var a=n===((r=e.ownerDocument)==null?void 0:r.body);var i=getWindow(n);var o=a?[i].concat(i.visualViewport||[],isScrollParent(n)?n:[]):n;var s=t.concat(o);return a?s:s.concat(listScrollParents(getParentNode(o)))}function rectToClientRect(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function getInnerBoundingClientRect(e){var t=getBoundingClientRect(e);t.top=t.top+e.clientTop;t.left=t.left+e.clientLeft;t.bottom=t.top+e.clientHeight;t.right=t.left+e.clientWidth;t.width=e.clientWidth;t.height=e.clientHeight;t.x=t.left;t.y=t.top;return t}function getClientRectFromMixedType(e,t){return t===viewport?rectToClientRect(getViewportRect(e)):isElement(t)?getInnerBoundingClientRect(t):rectToClientRect(getDocumentRect(getDocumentElement(e)))}function getClippingParents(e){var t=listScrollParents(getParentNode(e));var r=["absolute","fixed"].indexOf(getComputedStyle(e).position)>=0;var n=r&&isHTMLElement(e)?getOffsetParent(e):e;if(!isElement(n)){return[]}return t.filter((function(e){return isElement(e)&&contains(e,n)&&getNodeName(e)!=="body"}))}function getClippingRect(e,t,r){var n=t==="clippingParents"?getClippingParents(e):[].concat(t);var a=[].concat(n,[r]);var i=a[0];var o=a.reduce((function(t,r){var n=getClientRectFromMixedType(e,r);t.top=max(n.top,t.top);t.right=min(n.right,t.right);t.bottom=min(n.bottom,t.bottom);t.left=max(n.left,t.left);return t}),getClientRectFromMixedType(e,i));o.width=o.right-o.left;o.height=o.bottom-o.top;o.x=o.left;o.y=o.top;return o}function computeOffsets(e){var t=e.reference,r=e.element,n=e.placement;var a=n?getBasePlacement(n):null;var i=n?getVariation(n):null;var o=t.x+t.width/2-r.width/2;var s=t.y+t.height/2-r.height/2;var f;switch(a){case top:f={x:o,y:t.y-r.height};break;case bottom:f={x:o,y:t.y+t.height};break;case right:f={x:t.x+t.width,y:s};break;case left:f={x:t.x-r.width,y:s};break;default:f={x:t.x,y:t.y}}var l=a?getMainAxisFromPlacement(a):null;if(l!=null){var c=l==="y"?"height":"width";switch(i){case start:f[l]=f[l]-(t[c]/2-r[c]/2);break;case end:f[l]=f[l]+(t[c]/2-r[c]/2);break}}return f}function detectOverflow(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=n===void 0?e.placement:n,i=r.boundary,o=i===void 0?clippingParents:i,s=r.rootBoundary,f=s===void 0?viewport:s,l=r.elementContext,c=l===void 0?popper:l,p=r.altBoundary,u=p===void 0?false:p,d=r.padding,v=d===void 0?0:d;var m=mergePaddingObject(typeof v!=="number"?v:expandToHashMap(v,basePlacements));var g=c===popper?reference:popper;var h=e.rects.popper;var y=e.elements[u?g:c];var b=getClippingRect(isElement(y)?y:y.contextElement||getDocumentElement(e.elements.popper),o,f);var w=getBoundingClientRect(e.elements.reference);var O=computeOffsets({reference:w,element:h,strategy:"absolute",placement:a});var x=rectToClientRect(Object.assign({},h,O));var P=c===popper?x:w;var S={top:b.top-P.top+m.top,bottom:P.bottom-b.bottom+m.bottom,left:b.left-P.left+m.left,right:P.right-b.right+m.right};var E=e.modifiersData.offset;if(c===popper&&E){var M=E[a];Object.keys(S).forEach((function(e){var t=[right,bottom].indexOf(e)>=0?1:-1;var r=[top,bottom].indexOf(e)>=0?"y":"x";S[e]+=M[r]*t}))}return S}function computeAutoPlacement(e,t){if(t===void 0){t={}}var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,o=r.padding,s=r.flipVariations,f=r.allowedAutoPlacements,l=f===void 0?placements:f;var c=getVariation(n);var p=c?s?variationPlacements:variationPlacements.filter((function(e){return getVariation(e)===c})):basePlacements;var u=p.filter((function(e){return l.indexOf(e)>=0}));if(u.length===0){u=p}var d=u.reduce((function(t,r){t[r]=detectOverflow(e,{placement:r,boundary:a,rootBoundary:i,padding:o})[getBasePlacement(r)];return t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}function getExpandedFallbackPlacements(e){if(getBasePlacement(e)===auto){return[]}var t=getOppositePlacement(e);return[getOppositeVariationPlacement(e),t,getOppositeVariationPlacement(t)]}function flip(e){var t=e.state,r=e.options,n=e.name;if(t.modifiersData[n]._skip){return}var a=r.mainAxis,i=a===void 0?true:a,o=r.altAxis,s=o===void 0?true:o,f=r.fallbackPlacements,l=r.padding,c=r.boundary,p=r.rootBoundary,u=r.altBoundary,d=r.flipVariations,v=d===void 0?true:d,m=r.allowedAutoPlacements;var g=t.options.placement;var h=getBasePlacement(g);var y=h===g;var b=f||(y||!v?[getOppositePlacement(g)]:getExpandedFallbackPlacements(g));var w=[g].concat(b).reduce((function(e,r){return e.concat(getBasePlacement(r)===auto?computeAutoPlacement(t,{placement:r,boundary:c,rootBoundary:p,padding:l,flipVariations:v,allowedAutoPlacements:m}):r)}),[]);var O=t.rects.reference;var x=t.rects.popper;var P=new Map;var S=true;var E=w[0];for(var M=0;M<w.length;M++){var T=w[M];var C=getBasePlacement(T);var R=getVariation(T)===start;var D=[top,bottom].indexOf(C)>=0;var B=D?"width":"height";var A=detectOverflow(t,{placement:T,boundary:c,rootBoundary:p,altBoundary:u,padding:l});var L=D?R?right:left:R?bottom:top;if(O[B]>x[B]){L=getOppositePlacement(L)}var j=getOppositePlacement(L);var W=[];if(i){W.push(A[C]<=0)}if(s){W.push(A[L]<=0,A[j]<=0)}if(W.every((function(e){return e}))){E=T;S=false;break}P.set(T,W)}if(S){var N=v?3:1;var H=function e(t){var r=w.find((function(e){var r=P.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){E=r;return"break"}};for(var k=N;k>0;k--){var V=H(k);if(V==="break")break}}if(t.placement!==E){t.modifiersData[n]._skip=true;t.placement=E;t.reset=true}}var flip$1={name:"flip",enabled:true,phase:"main",fn:flip,requiresIfExists:["offset"],data:{_skip:false}};function getSideOffsets(e,t,r){if(r===void 0){r={x:0,y:0}}return{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function isAnySideFullyClipped(e){return[top,right,bottom,left].some((function(t){return e[t]>=0}))}function hide(e){var t=e.state,r=e.name;var n=t.rects.reference;var a=t.rects.popper;var i=t.modifiersData.preventOverflow;var o=detectOverflow(t,{elementContext:"reference"});var s=detectOverflow(t,{altBoundary:true});var f=getSideOffsets(o,n);var l=getSideOffsets(s,a,i);var c=isAnySideFullyClipped(f);var p=isAnySideFullyClipped(l);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:p};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}var hide$1={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:hide};function distanceAndSkiddingToXY(e,t,r){var n=getBasePlacement(e);var a=[left,top].indexOf(n)>=0?-1:1;var i=typeof r==="function"?r(Object.assign({},t,{placement:e})):r,o=i[0],s=i[1];o=o||0;s=(s||0)*a;return[left,right].indexOf(n)>=0?{x:s,y:o}:{x:o,y:s}}function offset(e){var t=e.state,r=e.options,n=e.name;var a=r.offset,i=a===void 0?[0,0]:a;var o=placements.reduce((function(e,r){e[r]=distanceAndSkiddingToXY(r,t.rects,i);return e}),{});var s=o[t.placement],f=s.x,l=s.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=f;t.modifiersData.popperOffsets.y+=l}t.modifiersData[n]=o}var offset$1={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:offset};function popperOffsets(e){var t=e.state,r=e.name;t.modifiersData[r]=computeOffsets({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var popperOffsets$1={name:"popperOffsets",enabled:true,phase:"read",fn:popperOffsets,data:{}};function getAltAxis(e){return e==="x"?"y":"x"}function preventOverflow(e){var t=e.state,r=e.options,n=e.name;var a=r.mainAxis,i=a===void 0?true:a,o=r.altAxis,s=o===void 0?false:o,f=r.boundary,l=r.rootBoundary,c=r.altBoundary,p=r.padding,u=r.tether,d=u===void 0?true:u,v=r.tetherOffset,m=v===void 0?0:v;var g=detectOverflow(t,{boundary:f,rootBoundary:l,padding:p,altBoundary:c});var h=getBasePlacement(t.placement);var y=getVariation(t.placement);var b=!y;var w=getMainAxisFromPlacement(h);var O=getAltAxis(w);var x=t.modifiersData.popperOffsets;var P=t.rects.reference;var S=t.rects.popper;var E=typeof m==="function"?m(Object.assign({},t.rects,{placement:t.placement})):m;var M=typeof E==="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E);var T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null;var C={x:0,y:0};if(!x){return}if(i){var R;var D=w==="y"?top:left;var B=w==="y"?bottom:right;var A=w==="y"?"height":"width";var L=x[w];var j=L+g[D];var W=L-g[B];var N=d?-S[A]/2:0;var H=y===start?P[A]:S[A];var k=y===start?-S[A]:-P[A];var V=t.elements.arrow;var $=d&&V?getLayoutRect(V):{width:0,height:0};var F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:getFreshSideObject();var _=F[D];var q=F[B];var I=within(0,P[A],$[A]);var X=b?P[A]/2-N-I-_-M.mainAxis:H-I-_-M.mainAxis;var U=b?-P[A]/2+N+I+q+M.mainAxis:k+I+q+M.mainAxis;var z=t.elements.arrow&&getOffsetParent(t.elements.arrow);var Y=z?w==="y"?z.clientTop||0:z.clientLeft||0:0;var G=(R=T==null?void 0:T[w])!=null?R:0;var J=L+X-G-Y;var K=L+U-G;var Q=within(d?min(j,J):j,L,d?max(W,K):W);x[w]=Q;C[w]=Q-L}if(s){var Z;var ee=w==="x"?top:left;var te=w==="x"?bottom:right;var re=x[O];var ne=O==="y"?"height":"width";var ae=re+g[ee];var ie=re-g[te];var oe=[top,left].indexOf(h)!==-1;var se=(Z=T==null?void 0:T[O])!=null?Z:0;var fe=oe?ae:re-P[ne]-S[ne]-se+M.altAxis;var le=oe?re+P[ne]+S[ne]-se-M.altAxis:ie;var ce=d&&oe?withinMaxClamp(fe,re,le):within(d?fe:ae,re,d?le:ie);x[O]=ce;C[O]=ce-re}t.modifiersData[n]=C}var preventOverflow$1={name:"preventOverflow",enabled:true,phase:"main",fn:preventOverflow,requiresIfExists:["offset"]};function getHTMLElementScroll(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function getNodeScroll(e){if(e===getWindow(e)||!isHTMLElement(e)){return getWindowScroll(e)}else{return getHTMLElementScroll(e)}}function isElementScaled(e){var t=e.getBoundingClientRect();var r=round(t.width)/e.offsetWidth||1;var n=round(t.height)/e.offsetHeight||1;return r!==1||n!==1}function getCompositeRect(e,t,r){if(r===void 0){r=false}var n=isHTMLElement(t);var a=isHTMLElement(t)&&isElementScaled(t);var i=getDocumentElement(t);var o=getBoundingClientRect(e,a);var s={scrollLeft:0,scrollTop:0};var f={x:0,y:0};if(n||!n&&!r){if(getNodeName(t)!=="body"||isScrollParent(i)){s=getNodeScroll(t)}if(isHTMLElement(t)){f=getBoundingClientRect(t,true);f.x+=t.clientLeft;f.y+=t.clientTop}else if(i){f.x=getWindowScrollBarX(i)}}return{x:o.left+s.scrollLeft-f.x,y:o.top+s.scrollTop-f.y,width:o.width,height:o.height}}function order(e){var t=new Map;var r=new Set;var n=[];e.forEach((function(e){t.set(e.name,e)}));function a(e){r.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach((function(e){if(!r.has(e)){var n=t.get(e);if(n){a(n)}}}));n.push(e)}e.forEach((function(e){if(!r.has(e.name)){a(e)}}));return n}function orderModifiers(e){var t=order(e);return modifierPhases.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function debounce(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function mergeByName(e){var t=e.reduce((function(e,t){var r=e[t.name];e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t;return e}),{});return Object.keys(t).map((function(e){return t[e]}))}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return!t.some((function(e){return!(e&&typeof e.getBoundingClientRect==="function")}))}function popperGenerator(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?DEFAULT_OPTIONS:a;return function e(t,r,a){if(a===void 0){a=i}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,i),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var s=[];var f=false;var l={state:o,setOptions:function e(a){var s=typeof a==="function"?a(o.options):a;p();o.options=Object.assign({},i,o.options,s);o.scrollParents={reference:isElement(t)?listScrollParents(t):t.contextElement?listScrollParents(t.contextElement):[],popper:listScrollParents(r)};var f=orderModifiers(mergeByName([].concat(n,o.options.modifiers)));o.orderedModifiers=f.filter((function(e){return e.enabled}));c();return l.update()},forceUpdate:function e(){if(f){return}var t=o.elements,r=t.reference,n=t.popper;if(!areValidElements(r,n)){return}o.rects={reference:getCompositeRect(r,getOffsetParent(n),o.options.strategy==="fixed"),popper:getLayoutRect(n)};o.reset=false;o.placement=o.options.placement;o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<o.orderedModifiers.length;a++){if(o.reset===true){o.reset=false;a=-1;continue}var i=o.orderedModifiers[a],s=i.fn,c=i.options,p=c===void 0?{}:c,u=i.name;if(typeof s==="function"){o=s({state:o,options:p,name:u,instance:l})||o}}},update:debounce((function(){return new Promise((function(e){l.forceUpdate();e(o)}))})),destroy:function e(){p();f=true}};if(!areValidElements(t,r)){return l}l.setOptions(a).then((function(e){if(!f&&a.onFirstUpdate){a.onFirstUpdate(e)}}));function c(){o.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,a=e.effect;if(typeof a==="function"){var i=a({state:o,name:t,instance:l,options:n});var f=function e(){};s.push(i||f)}}))}function p(){s.forEach((function(e){return e()}));s=[]}return l}}var defaultModifiers=[eventListeners,popperOffsets$1,computeStyles$1,applyStyles$1,offset$1,flip$1,preventOverflow$1,arrow$1,hide$1];var createPopper$1=popperGenerator({defaultModifiers:defaultModifiers});var CSS={animation:"calcite-popper-anim",animationActive:"calcite-popper-anim--active"};function getPlacement(e,t){var r=["left","right"];var n=["start","end"];if(getElementDir(e)==="rtl"){r.reverse();n.reverse()}return t.replace(/-leading/gi,"-"+n[0]).replace(/-trailing/gi,"-"+n[1]).replace(/leading/gi,r[0]).replace(/trailing/gi,r[1])}function createPopper(e){var t=e.referenceEl,r=e.el,n=e.placement,a=e.overlayPositioning,i=a===void 0?"absolute":a,o=e.modifiers;if(!t){return null}return createPopper$1(t,r,{strategy:i,placement:getPlacement(r,n),modifiers:o})}function updatePopper(e){var t=e.el,r=e.modifiers,n=e.placement,a=e.popper;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){switch(i.label){case 0:e=getPlacement(t,n);return[4,a.setOptions({modifiers:r,placement:e})];case 1:i.sent();return[2]}}))}))}function hypotenuse(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}var visiblePointerSize=4;var defaultOffsetDistance=Math.ceil(hypotenuse(visiblePointerSize,visiblePointerSize));export{CSS as C,createPopper as c,defaultOffsetDistance as d,updatePopper as u};
@@ -2,4 +2,4 @@ var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- */import{f as focusElement,g as getSlotted}from"./dom-037dc374.js";import{g as getRoundRobinIndex}from"./array-91a648e2.js";import{d as debounce}from"./debounce-79648d42.js";import{h,H as Host}from"./index-9de00868.js";function mutationObserverCallback(){this.setUpItems();this.setUpFilter();this.deselectRemovedItems()}var SUPPORTED_ARROW_KEYS=["ArrowUp","ArrowDown"];function initialize(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=debounce(internalCalciteListChangeEvent.bind(this),0)}function initializeObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function cleanUpObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function calciteListItemChangeHandler(e){var t=this.selectedValues;var i=e.detail,n=i.item,a=i.value,r=i.selected,l=i.shiftPressed;if(r){if(this.multiple&&l){this.selectSiblings(n)}if(!this.multiple){this.deselectSiblingItems(n)}t.set(a,n)}else{t.delete(a);if(this.multiple&&l){this.selectSiblings(n,true)}}if(!this.multiple){toggleSingleSelectItemTabbing(n,r);if(r){focusElement(n)}}this.lastSelectedItem=n;this.emitCalciteListChange()}function calciteListItemValueChangeHandler(e){e.stopPropagation();var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}}function isValidNavigationKey(e){return!!SUPPORTED_ARROW_KEYS.find((function(t){return t===e}))}function calciteListFocusOutHandler(e){var t=this,i=t.el,n=t.items,a=t.multiple,r=t.selectedValues;if(a){return}var l=!!i.contains(e.relatedTarget);if(l){toggleSingleSelectItemTabbing(e.target,false);return}n.forEach((function(t){return toggleSingleSelectItemTabbing(t,r.size===0?e.target===t:t.selected)}))}function keyDownHandler(e){var t=e.key,i=e.target;if(!isValidNavigationKey(t)){return}var n=this,a=n.items,r=n.multiple,l=n.selectionFollowsFocus;var s=a.length;var o=a.indexOf(i);if(!s||o===-1){return}e.preventDefault();var c=getRoundRobinIndex(o+(t==="ArrowUp"?-1:1),s);var u=a[c];a.forEach((function(e){return toggleSingleSelectItemTabbing(e,e===u)}));if(!r&&l){u.selected=true}focusElement(u)}function internalCalciteListChangeEvent(){this.calciteListChange.emit(this.selectedValues)}function removeItem(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function toggleSingleSelectItemTabbing(e,t){if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function setFocus(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,a,r;return __generator(this,(function(l){switch(l.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,focusElement(this.filterEl)];case 1:l.sent();return[2];case 2:t=this,i=t.items,n=t.multiple,a=t.selectionFollowsFocus;if(i.length===0){return[2]}if(n){return[2,i[0].setFocus()]}r=i.find((function(e){return e.selected}))||i[0];if(a){r.selected=true}return[2,r.setFocus()]}}))}))}function setUpItems(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;toggleSingleSelectItemTabbing(e,false)}if(e.selected){i=true;toggleSingleSelectItemTabbing(e,true);t.selectedValues.set(e.value,e)}}));var a=n[0];if(!i&&a){toggleSingleSelectItemTabbing(a,true)}}function deselectRemovedItems(){var e=this;var t=this.selectedValues;var i=this.items.map((function(e){var t=e.value;return t}));t.forEach((function(t){if(!i.includes(t.value)){e.selectedValues.delete(t.value)}}))}function deselectSiblingItems(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function selectSiblings(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var a=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var r=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(a,r),Math.max(a,r)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var groups;function handleFilter(e){var t=e.currentTarget.filteredItems;var i=t.map((function(e){return e.value}));var n=false;if(!groups){groups=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var a=t.matches("calcite-pick-list-group");if(a){groups.add(t)}var r=i.includes(e.value);e.hidden=!r;if(!n){n=r&&e.selected}return r}));groups.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var i=getSlotted(e,"parent-item");if(i){i.hidden=false;if(a.includes(i)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));groups.clear();if(a.length>0&&!n&&!this.multiple){toggleSingleSelectItemTabbing(a[0],true)}}function getItemData(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var CSS$1={sticky:"sticky-pos"};var ICON_TYPES;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(ICON_TYPES||(ICON_TYPES={}));var SLOTS$1={menuActions:"menu-actions"};var __rest=undefined&&undefined.__rest||function(e,t){var i={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)i[n]=e[n];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++){if(t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a]))i[n[a]]=e[n[a]]}return i};var List=function(e){var t;var i=e.props,n=i.disabled,a=i.loading,r=i.filterEnabled,l=i.dataForFilter,s=i.handleFilter,o=i.filterPlaceholder,c=i.setFilterEl,u=__rest(e,["props"]);var f=h("slot",null);return h(Host,Object.assign({"aria-busy":a.toString(),"aria-disabled":n.toString(),role:"menu"},u),h("section",null,h("header",{class:(t={},t[CSS$1.sticky]=true,t)},r?h("calcite-filter",{"aria-label":o,disabled:a||n,items:l,onCalciteFilterChange:s,placeholder:o,ref:c}):null,h("slot",{name:SLOTS$1.menuActions})),a||n?h("calcite-scrim",{loading:a}):null,f))};var CSS={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"};var ICONS={checked:"check",remove:"x"};var SLOTS={actionsEnd:"actions-end",actionsStart:"actions-start"};var TEXT={remove:"Remove"};export{CSS as C,ICON_TYPES as I,List as L,SLOTS as S,TEXT as T,deselectSiblingItems as a,initializeObserver as b,cleanUpObserver as c,deselectRemovedItems as d,calciteListItemChangeHandler as e,calciteListItemValueChangeHandler as f,getItemData as g,handleFilter as h,initialize as i,setUpItems as j,keyDownHandler as k,setFocus as l,mutationObserverCallback as m,calciteListFocusOutHandler as n,ICONS as o,removeItem as r,selectSiblings as s};
5
+ */import{f as focusElement,g as getSlotted}from"./dom-e7fa77b9.js";import{g as getRoundRobinIndex}from"./array-91a648e2.js";import{d as debounce}from"./debounce-79648d42.js";import{h,H as Host}from"./index-9de00868.js";function mutationObserverCallback(){this.setUpItems();this.setUpFilter();this.deselectRemovedItems()}var SUPPORTED_ARROW_KEYS=["ArrowUp","ArrowDown"];function initialize(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=debounce(internalCalciteListChangeEvent.bind(this),0)}function initializeObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function cleanUpObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function calciteListItemChangeHandler(e){var t=this.selectedValues;var i=e.detail,n=i.item,a=i.value,r=i.selected,l=i.shiftPressed;if(r){if(this.multiple&&l){this.selectSiblings(n)}if(!this.multiple){this.deselectSiblingItems(n)}t.set(a,n)}else{t.delete(a);if(this.multiple&&l){this.selectSiblings(n,true)}}if(!this.multiple){toggleSingleSelectItemTabbing(n,r);if(r){focusElement(n)}}this.lastSelectedItem=n;this.emitCalciteListChange()}function calciteListItemValueChangeHandler(e){e.stopPropagation();var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}}function isValidNavigationKey(e){return!!SUPPORTED_ARROW_KEYS.find((function(t){return t===e}))}function calciteListFocusOutHandler(e){var t=this,i=t.el,n=t.items,a=t.multiple,r=t.selectedValues;if(a){return}var l=!!i.contains(e.relatedTarget);if(l){toggleSingleSelectItemTabbing(e.target,false);return}n.forEach((function(t){return toggleSingleSelectItemTabbing(t,r.size===0?e.target===t:t.selected)}))}function keyDownHandler(e){var t=e.key,i=e.target;if(!isValidNavigationKey(t)){return}var n=this,a=n.items,r=n.multiple,l=n.selectionFollowsFocus;var s=a.length;var o=a.indexOf(i);if(!s||o===-1){return}e.preventDefault();var c=getRoundRobinIndex(o+(t==="ArrowUp"?-1:1),s);var u=a[c];a.forEach((function(e){return toggleSingleSelectItemTabbing(e,e===u)}));if(!r&&l){u.selected=true}focusElement(u)}function internalCalciteListChangeEvent(){this.calciteListChange.emit(this.selectedValues)}function removeItem(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function toggleSingleSelectItemTabbing(e,t){if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function setFocus(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,a,r;return __generator(this,(function(l){switch(l.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,focusElement(this.filterEl)];case 1:l.sent();return[2];case 2:t=this,i=t.items,n=t.multiple,a=t.selectionFollowsFocus;if(i.length===0){return[2]}if(n){return[2,i[0].setFocus()]}r=i.find((function(e){return e.selected}))||i[0];if(a){r.selected=true}return[2,r.setFocus()]}}))}))}function setUpItems(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;toggleSingleSelectItemTabbing(e,false)}if(e.selected){i=true;toggleSingleSelectItemTabbing(e,true);t.selectedValues.set(e.value,e)}}));var a=n[0];if(!i&&a){toggleSingleSelectItemTabbing(a,true)}}function deselectRemovedItems(){var e=this;var t=this.selectedValues;var i=this.items.map((function(e){var t=e.value;return t}));t.forEach((function(t){if(!i.includes(t.value)){e.selectedValues.delete(t.value)}}))}function deselectSiblingItems(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function selectSiblings(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var a=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var r=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(a,r),Math.max(a,r)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var groups;function handleFilter(e){var t=e.currentTarget.filteredItems;var i=t.map((function(e){return e.value}));var n=false;if(!groups){groups=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var a=t.matches("calcite-pick-list-group");if(a){groups.add(t)}var r=i.includes(e.value);e.hidden=!r;if(!n){n=r&&e.selected}return r}));groups.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var i=getSlotted(e,"parent-item");if(i){i.hidden=false;if(a.includes(i)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));groups.clear();if(a.length>0&&!n&&!this.multiple){toggleSingleSelectItemTabbing(a[0],true)}}function getItemData(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var CSS$1={sticky:"sticky-pos"};var ICON_TYPES;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(ICON_TYPES||(ICON_TYPES={}));var SLOTS$1={menuActions:"menu-actions"};var __rest=undefined&&undefined.__rest||function(e,t){var i={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)i[n]=e[n];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++){if(t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a]))i[n[a]]=e[n[a]]}return i};var List=function(e){var t;var i=e.props,n=i.disabled,a=i.loading,r=i.filterEnabled,l=i.dataForFilter,s=i.handleFilter,o=i.filterPlaceholder,c=i.setFilterEl,u=__rest(e,["props"]);var f=h("slot",null);return h(Host,Object.assign({"aria-busy":a.toString(),"aria-disabled":n.toString(),role:"menu"},u),h("section",null,h("header",{class:(t={},t[CSS$1.sticky]=true,t)},r?h("calcite-filter",{"aria-label":o,disabled:a||n,items:l,onCalciteFilterChange:s,placeholder:o,ref:c}):null,h("slot",{name:SLOTS$1.menuActions})),a||n?h("calcite-scrim",{loading:a}):null,f))};var CSS={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"};var ICONS={checked:"check",remove:"x"};var SLOTS={actionsEnd:"actions-end",actionsStart:"actions-start"};var TEXT={remove:"Remove"};export{CSS as C,ICON_TYPES as I,List as L,SLOTS as S,TEXT as T,deselectSiblingItems as a,initializeObserver as b,cleanUpObserver as c,deselectRemovedItems as d,calciteListItemChangeHandler as e,calciteListItemValueChangeHandler as f,getItemData as g,handleFilter as h,initialize as i,setUpItems as j,keyDownHandler as k,setFocus as l,mutationObserverCallback as m,calciteListFocusOutHandler as n,ICONS as o,removeItem as r,selectSiblings as s};
@@ -0,0 +1,5 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r["throw"](e))}catch(e){i(e)}}function s(e){e.done?n(e.value):a(e.value).then(o,u)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return s([e,t])}}function s(o){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;a=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){n.label=o[1];break}if(o[0]===6&&n.label<i[1]){n.label=i[1];i=o;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(o);break}if(i[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];a=0}finally{r=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ */import{a as getAssetPath}from"./index-9de00868.js";import{a as locales}from"./locale-fc850b7c.js";function getSupportedLocale(e){if(e===void 0){e=""}if(locales.indexOf(e)>-1){return e}e=e.toLowerCase();if(e.includes("-")){e=e.replace(/(\w+)-(\w+)/,(function(e,t,n){return t+"-"+n.toUpperCase()}))}return locales.includes(e)?e:"en"}var translationCache={};var requestCache={};function getLocaleData(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(r){switch(r.label){case 0:t=getSupportedLocale(e);if(translationCache[t]){return[2,translationCache[t]]}if(!requestCache[t]){requestCache[t]=fetch(getAssetPath("./assets/calcite-date-picker/nls/"+t+".json")).then((function(e){return e.json()})).catch((function(){console.error('Translations for "'+t+'" not found or invalid, falling back to english');return getLocaleData("en")}))}return[4,requestCache[t]];case 1:n=r.sent();translationCache[t]=n;return[2,n]}}))}))}function inRange(e,t,n){var r=e.getTime();var a=!(t instanceof Date)||r>=t.getTime();var i=!(n instanceof Date)||r<=n.getTime();return a&&i}function dateFromRange(e,t,n){if(!(e instanceof Date)){return null}var r=e.getTime();var a=t instanceof Date&&r<t.getTime();var i=n instanceof Date&&r>n.getTime();if(a){return t}if(i){return n}return e}function dateFromISO(e){if(e instanceof Date){return e}if(!e||typeof e!=="string"){return null}var t=e.split(/[: T-]/).map(parseFloat);var n=new Date(t[0],(t[1]||1)-1,t[2]||1);n.setFullYear(t[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'+e+'"')}return n}function dateToISO(e){if(typeof e==="string"){return e}if(e instanceof Date){return new Date(e.getTime()-e.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function sameDate(e,t){return e instanceof Date&&t instanceof Date&&e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function prevMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t-1);if(t===n.getMonth()){return new Date(e.getFullYear(),t,0)}return n}function nextMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t+1);if((t+2)%7===n.getMonth()%7){return new Date(e.getFullYear(),t+2,0)}return n}function localizeNumber(e,t){return String(e).split("").map((function(e){return t.numerals[e]})).join("")}function parseNumber(e,t){var n="0123456789";return parseInt(e.split("").map((function(e){return n[t.numerals.indexOf(e)]})).filter((function(e){return e})).join(""))}function parseDateString(e,t){var n=t.separator,r=t.unitOrder;var a=getOrder(r);var i=replaceArabicNumerals(e).split(n);return{day:parseInt(i[a.indexOf("d")]),month:parseInt(i[a.indexOf("m")])-1,year:parseInt(i[a.indexOf("y")])}}function replaceArabicNumerals(e){if(e===void 0){e=""}return e.replace(/[\u0660-\u0669]/g,(function(e){return e.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(e){return e.charCodeAt(0)-1776}))}function getOrder(e){var t=["d","m","y"];var n=e.toLowerCase();return t.sort((function(e,t){return n.indexOf(e)-n.indexOf(t)}))}function getDaysDiff(e,t){var n=e.getTime();var r=t.getTime();return(n-r)/(1e3*3600*24)}var HEADING_LEVEL=2;var TEXT={nextMonth:"Next month",prevMonth:"Previous month",year:"Year"};export{HEADING_LEVEL as H,TEXT as T,dateFromISO as a,dateFromRange as b,getDaysDiff as c,dateToISO as d,getOrder as e,prevMonth as f,getLocaleData as g,parseNumber as h,inRange as i,localizeNumber as l,nextMonth as n,parseDateString as p,sameDate as s};
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2022-01-11T02:11:37",
2
+ "timestamp": "2022-01-20T03:32:29",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "2.12.1",
@@ -4766,6 +4766,28 @@
4766
4766
  "optional": false,
4767
4767
  "required": false
4768
4768
  },
4769
+ {
4770
+ "name": "intlRemoveTag",
4771
+ "type": "string",
4772
+ "mutable": false,
4773
+ "attr": "intl-remove-tag",
4774
+ "reflectToAttr": false,
4775
+ "docs": "string to override the English \"Remove tag\" text for when an item is selected.",
4776
+ "docsTags": [
4777
+ {
4778
+ "name": "default",
4779
+ "text": "\"Remove tag\""
4780
+ }
4781
+ ],
4782
+ "default": "TEXT.removeTag",
4783
+ "values": [
4784
+ {
4785
+ "type": "string"
4786
+ }
4787
+ ],
4788
+ "optional": false,
4789
+ "required": false
4790
+ },
4769
4791
  {
4770
4792
  "name": "label",
4771
4793
  "type": "string",
@@ -7633,23 +7655,6 @@
7633
7655
  "optional": false,
7634
7656
  "required": false
7635
7657
  },
7636
- {
7637
- "name": "height",
7638
- "type": "number",
7639
- "mutable": false,
7640
- "attr": "height",
7641
- "reflectToAttr": false,
7642
- "docs": "Width of graph in pixels",
7643
- "docsTags": [],
7644
- "default": "100",
7645
- "values": [
7646
- {
7647
- "type": "number"
7648
- }
7649
- ],
7650
- "optional": false,
7651
- "required": false
7652
- },
7653
7658
  {
7654
7659
  "name": "highlightMax",
7655
7660
  "type": "number",
@@ -7713,23 +7718,6 @@
7713
7718
  ],
7714
7719
  "optional": false,
7715
7720
  "required": true
7716
- },
7717
- {
7718
- "name": "width",
7719
- "type": "number",
7720
- "mutable": false,
7721
- "attr": "width",
7722
- "reflectToAttr": false,
7723
- "docs": "Width of graph in pixels",
7724
- "docsTags": [],
7725
- "default": "300",
7726
- "values": [
7727
- {
7728
- "type": "number"
7729
- }
7730
- ],
7731
- "optional": false,
7732
- "required": false
7733
7721
  }
7734
7722
  ],
7735
7723
  "methods": [],
@@ -8262,7 +8250,26 @@
8262
8250
  "docsTags": []
8263
8251
  }
8264
8252
  ],
8265
- "events": [],
8253
+ "events": [
8254
+ {
8255
+ "event": "calciteInlineEditableEditCancel",
8256
+ "detail": "void",
8257
+ "bubbles": true,
8258
+ "cancelable": true,
8259
+ "composed": true,
8260
+ "docs": "Emitted when the cancel button gets clicked.",
8261
+ "docsTags": []
8262
+ },
8263
+ {
8264
+ "event": "calciteInlineEditableEditConfirm",
8265
+ "detail": "void",
8266
+ "bubbles": true,
8267
+ "cancelable": true,
8268
+ "composed": true,
8269
+ "docs": "Emitted when the check button gets clicked.",
8270
+ "docsTags": []
8271
+ }
8272
+ ],
8266
8273
  "listeners": [
8267
8274
  {
8268
8275
  "event": "calciteInputBlur",
@@ -10342,6 +10349,26 @@
10342
10349
  "optional": false,
10343
10350
  "required": false
10344
10351
  },
10352
+ {
10353
+ "name": "download",
10354
+ "type": "boolean | string",
10355
+ "mutable": false,
10356
+ "attr": "download",
10357
+ "reflectToAttr": true,
10358
+ "docs": "Prompts the user to save the linked URL instead of navigating to it. Can be used with or without a value:\nWithout a value, the browser will suggest a filename/extension\nSee: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download",
10359
+ "docsTags": [],
10360
+ "default": "false",
10361
+ "values": [
10362
+ {
10363
+ "type": "boolean"
10364
+ },
10365
+ {
10366
+ "type": "string"
10367
+ }
10368
+ ],
10369
+ "optional": false,
10370
+ "required": false
10371
+ },
10345
10372
  {
10346
10373
  "name": "href",
10347
10374
  "type": "string",
@@ -1,11 +1,12 @@
1
1
  import { VNode } from "../../stencil-public-runtime";
2
2
  import { Columns, Layout, Scale } from "../interfaces";
3
+ import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
3
4
  /**
4
5
  * @slot - A slot for adding a group of `calcite-action`s.
5
6
  * @slot menu-actions - a slot for adding an overflow menu with actions inside a dropdown.
6
7
  * @slot menu-tooltip - a slot for adding an tooltip for the menu.
7
8
  */
8
- export declare class CalciteActionGroup {
9
+ export declare class CalciteActionGroup implements ConditionalSlotComponent {
9
10
  /**
10
11
  * Indicates whether widget is expanded.
11
12
  */
@@ -32,6 +33,8 @@ export declare class CalciteActionGroup {
32
33
  */
33
34
  scale: Scale;
34
35
  el: HTMLCalciteActionGroupElement;
36
+ connectedCallback(): void;
37
+ disconnectedCallback(): void;
35
38
  renderTooltip(): VNode;
36
39
  renderMenu(): VNode;
37
40
  render(): VNode;
@@ -3,12 +3,13 @@ import { VNode } from "../../stencil-public-runtime";
3
3
  import { PopperPlacement, OverlayPositioning } from "../../utils/popper";
4
4
  import { Placement } from "@popperjs/core";
5
5
  import { Scale } from "../interfaces";
6
+ import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
6
7
  /**
7
8
  * @slot - A slot for adding `calcite-action`s.
8
9
  * @slot trigger - A slot for adding a `calcite-action` to trigger opening the menu.
9
10
  * @slot tooltip - A slot for adding an tooltip for the menu.
10
11
  */
11
- export declare class CalciteActionMenu {
12
+ export declare class CalciteActionMenu implements ConditionalSlotComponent {
12
13
  connectedCallback(): void;
13
14
  disconnectedCallback(): void;
14
15
  /**
@@ -1,10 +1,11 @@
1
1
  import { EventEmitter, VNode } from "../../stencil-public-runtime";
2
2
  import { Layout, Position, Scale } from "../interfaces";
3
+ import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
3
4
  /**
4
5
  * @slot - A slot for adding `calcite-action`s to the action pad.
5
6
  * @slot expand-tooltip - Used to set the tooltip for the expand toggle.
6
7
  */
7
- export declare class CalciteActionPad {
8
+ export declare class CalciteActionPad implements ConditionalSlotComponent {
8
9
  /**
9
10
  * When set to true, the expand-toggling behavior will be disabled.
10
11
  */
@@ -41,6 +42,8 @@ export declare class CalciteActionPad {
41
42
  calciteActionPadToggle: EventEmitter;
42
43
  el: HTMLCalciteActionPadElement;
43
44
  expandToggleEl: HTMLCalciteActionElement;
45
+ connectedCallback(): void;
46
+ disconnectedCallback(): void;
44
47
  componentWillLoad(): void;
45
48
  /** Sets focus on the component. */
46
49
  setFocus(focusId?: "expand-toggle"): Promise<void>;
@@ -75,10 +75,12 @@ export declare class CalciteAlert {
75
75
  private trackTimer;
76
76
  /** the computed icon to render */
77
77
  requestedIcon?: string;
78
+ private activeTransitionProp;
78
79
  /** determine which alert is active */
79
80
  private determineActiveAlert;
80
81
  /** close and emit the closed alert and the queue */
81
82
  private closeAlert;
83
+ transitionEnd: (event: TransitionEvent) => void;
82
84
  /** emit the opened alert and the queue */
83
85
  private openAlert;
84
86
  }
@@ -1,13 +1,14 @@
1
1
  import { EventEmitter, VNode } from "../../stencil-public-runtime";
2
2
  import { HeadingLevel } from "../functional/CalciteHeading";
3
3
  import { Status } from "../interfaces";
4
+ import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
4
5
  /**
5
6
  * @slot - A slot for adding content to the block.
6
7
  * @slot icon - A slot for adding a leading header icon.
7
8
  * @slot control - A slot for adding a single HTML input element in a header.
8
9
  * @slot header-menu-actions - a slot for adding an overflow menu with actions inside a dropdown.
9
10
  */
10
- export declare class CalciteBlock {
11
+ export declare class CalciteBlock implements ConditionalSlotComponent {
11
12
  /**
12
13
  * When true, this block will be collapsible.
13
14
  */
@@ -61,6 +62,8 @@ export declare class CalciteBlock {
61
62
  */
62
63
  summary: string;
63
64
  el: HTMLCalciteBlockElement;
65
+ connectedCallback(): void;
66
+ disconnectedCallback(): void;
64
67
  /**
65
68
  * Emitted when the header has been clicked.
66
69
  */
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter, VNode } from "../../stencil-public-runtime";
2
+ import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
2
3
  /** Cards do not include a grid or bounding container
3
4
  * - cards will expand to fit the width of their container
4
5
  */
@@ -10,7 +11,7 @@ import { EventEmitter, VNode } from "../../stencil-public-runtime";
10
11
  * @slot footer-leading - A slot for adding a leading footer.
11
12
  * @slot footer-trailing - A slot for adding a trailing footer.
12
13
  */
13
- export declare class CalciteCard {
14
+ export declare class CalciteCard implements ConditionalSlotComponent {
14
15
  el: HTMLCalciteCardElement;
15
16
  /** When true, the cards content is waiting to be loaded. This state shows a busy indicator.*/
16
17
  loading: boolean;
@@ -32,6 +33,8 @@ export declare class CalciteCard {
32
33
  intlDeselect: string;
33
34
  /** Fired when a selectable card is selected */
34
35
  calciteCardSelect: EventEmitter;
36
+ connectedCallback(): void;
37
+ disonnectedCallback(): void;
35
38
  render(): VNode;
36
39
  private cardSelectClick;
37
40
  private cardSelectKeyDown;
@@ -1,11 +1,12 @@
1
1
  import { EventEmitter, VNode } from "../../stencil-public-runtime";
2
2
  import { ChipColor } from "./interfaces";
3
3
  import { Appearance, Scale } from "../interfaces";
4
+ import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
4
5
  /**
5
6
  * @slot - A slot for adding text.
6
7
  * @slot image - A slot for adding an image.
7
8
  */
8
- export declare class CalciteChip {
9
+ export declare class CalciteChip implements ConditionalSlotComponent {
9
10
  /** specify the appearance style of the button, defaults to solid. */
10
11
  appearance: Extract<"solid" | "clear", Appearance>;
11
12
  /** specify the color of the button, defaults to blue */
@@ -25,6 +26,8 @@ export declare class CalciteChip {
25
26
  /** The assigned value for the chip */
26
27
  value: any;
27
28
  el: HTMLCalciteChipElement;
29
+ connectedCallback(): void;
30
+ disconnectedCallback(): void;
28
31
  /** Sets focus on the component. */
29
32
  setFocus(): Promise<void>;
30
33
  /** Emitted when the dismiss button is clicked */
@@ -50,6 +50,10 @@ export declare class CalciteCombobox implements LabelableComponent, FormComponen
50
50
  /** The value(s) of the selectedItem(s) */
51
51
  value: string | string[];
52
52
  valueHandler(value: string | string[]): void;
53
+ /** string to override the English "Remove tag" text for when an item is selected.
54
+ * @default "Remove tag"
55
+ */
56
+ intlRemoveTag: string;
53
57
  documentClickHandler(event: Event): void;
54
58
  calciteComboboxItemChangeHandler(event: CustomEvent<HTMLCalciteComboboxItemElement>): void;
55
59
  /** Updates the position of the component. */
@@ -2,3 +2,6 @@ export declare const ComboboxItem = "CALCITE-COMBOBOX-ITEM";
2
2
  export declare const ComboboxItemGroup = "CALCITE-COMBOBOX-ITEM-GROUP";
3
3
  export declare const ComboboxChildSelector: string;
4
4
  export declare const ComboboxDefaultPlacement = "bottom-leading";
5
+ export declare const TEXT: {
6
+ removeTag: string;
7
+ };
@@ -1,10 +1,11 @@
1
1
  import { EventEmitter, VNode } from "../../stencil-public-runtime";
2
2
  import { ComboboxChildElement } from "../calcite-combobox/interfaces";
3
3
  import { Scale } from "../interfaces";
4
+ import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
4
5
  /**
5
6
  * @slot - A slot for adding nested `calcite-combobox-item`s.
6
7
  */
7
- export declare class CalciteComboboxItem {
8
+ export declare class CalciteComboboxItem implements ConditionalSlotComponent {
8
9
  /** When true, the item cannot be clicked and is visually muted. */
9
10
  disabled: boolean;
10
11
  /** Set this to true to pre-select an item. Toggles when an item is checked/unchecked. */
@@ -26,10 +27,9 @@ export declare class CalciteComboboxItem {
26
27
  constant: boolean;
27
28
  el: HTMLCalciteComboboxItemElement;
28
29
  isNested: boolean;
29
- hasDefaultSlot: boolean;
30
30
  scale: Scale;
31
31
  connectedCallback(): void;
32
- componentWillLoad(): void;
32
+ disconnectedCallback(): void;
33
33
  /**
34
34
  * Emitted whenever the item is selected or unselected.
35
35
  */
@@ -73,6 +73,7 @@ export declare class CalciteDropdown {
73
73
  private activeTransitionProp;
74
74
  private scrollerEl;
75
75
  mutationObserver: MutationObserver;
76
+ resizeObserver: ResizeObserver;
76
77
  updateItems: () => void;
77
78
  setMaxScrollerHeight: () => void;
78
79
  setScrollerEl: (scrollerEl: HTMLDivElement) => void;
@@ -12,10 +12,6 @@ export declare class CalciteGraph {
12
12
  * These color stops should be sorted by offset value
13
13
  */
14
14
  colorStops: ColorStop[];
15
- /** Width of graph in pixels*/
16
- width: number;
17
- /** Width of graph in pixels*/
18
- height: number;
19
15
  /** Start of highlight color if highlighting range */
20
16
  highlightMin: number;
21
17
  /** End of highlight color if highlighting range */
@@ -24,6 +20,9 @@ export declare class CalciteGraph {
24
20
  min: number;
25
21
  /** Highest point of the range */
26
22
  max: number;
23
+ connectedCallback(): void;
24
+ disconnectedCallback(): void;
27
25
  render(): VNode;
28
26
  private graphId;
27
+ private resizeObserver;
29
28
  }
@@ -37,13 +37,13 @@ export declare class CalciteInlineEditable implements LabelableComponent {
37
37
  componentWillLoad(): void;
38
38
  render(): VNode;
39
39
  /**
40
- * @internal
40
+ * Emitted when the cancel button gets clicked.
41
41
  */
42
- calciteInlineEditableEditingCancel: EventEmitter;
42
+ calciteInlineEditableEditCancel: EventEmitter<void>;
43
43
  /**
44
- * @internal
44
+ * Emitted when the check button gets clicked.
45
45
  */
46
- calciteInlineEditableChangesConfirm: EventEmitter;
46
+ calciteInlineEditableEditConfirm: EventEmitter<void>;
47
47
  /**
48
48
  * @internal
49
49
  */
@@ -57,7 +57,7 @@ export declare class CalciteInlineEditable implements LabelableComponent {
57
57
  labelEl: HTMLCalciteLabelElement;
58
58
  setFocus(): Promise<void>;
59
59
  onLabelClick(): void;
60
- transitionEnd: (event: TransitionEvent) => void;
60
+ transitionEnd: () => void;
61
61
  private get shouldShowControls();
62
62
  private enableEditing;
63
63
  private disableEditing;
@@ -106,11 +106,14 @@ export declare class CalciteInput implements LabelableComponent, FormComponent {
106
106
  private childElType?;
107
107
  /** number text input element for locale */
108
108
  private childNumberEl?;
109
+ /** whether the value of the input was changed as a result of user typing or not */
110
+ private internalValueChange;
109
111
  get isClearable(): boolean;
110
112
  get isTextarea(): boolean;
111
113
  private minString?;
112
114
  private maxString?;
113
115
  private preFocusValue;
116
+ private previousValue;
114
117
  /** the computed icon to render */
115
118
  private requestedIcon?;
116
119
  /** determine if there is a slotted action for styling purposes */
@@ -158,9 +161,11 @@ export declare class CalciteInput implements LabelableComponent, FormComponent {
158
161
  private setChildElRef;
159
162
  private setChildNumberElRef;
160
163
  private setDisabledAction;
161
- private setLocalizedValue;
164
+ private setInputValue;
165
+ private setPreviousValue;
162
166
  private setValue;
163
167
  private inputKeyUpHandler;
168
+ private warnAboutInvalidNumberValue;
164
169
  render(): VNode;
165
170
  }
166
171
  export {};
@@ -8,6 +8,11 @@ export declare class CalciteLink {
8
8
  el: HTMLCalciteLinkElement;
9
9
  /** is the link disabled */
10
10
  disabled: boolean;
11
+ /** Prompts the user to save the linked URL instead of navigating to it. Can be used with or without a value:
12
+ * Without a value, the browser will suggest a filename/extension
13
+ * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download
14
+ */
15
+ download: string | boolean;
11
16
  /** optionally pass a href - used to determine if the component should render as a link or an anchor */
12
17
  href?: string;
13
18
  hrefHandler(href: string): void;