@esri/calcite-components 1.0.0-next.563 → 1.0.0-next.566

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 (1008) hide show
  1. package/dist/calcite/calcite.css +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/calcite.js +1 -1
  4. package/dist/calcite/index.esm.js +1 -1
  5. package/dist/calcite/p-01ad9b2e.entry.js +6 -0
  6. package/dist/calcite/p-045d4558.system.entry.js +6 -0
  7. package/dist/calcite/p-04a637bc.entry.js +6 -0
  8. package/dist/calcite/{p-083a9c56.js → p-0699940b.js} +1 -1
  9. package/dist/calcite/{p-3ccef86d.system.js → p-070a835c.system.js} +1 -1
  10. package/dist/calcite/p-070be6df.entry.js +6 -0
  11. package/dist/calcite/p-0728e19a.system.js +6 -0
  12. package/dist/calcite/p-074a2735.system.entry.js +6 -0
  13. package/dist/calcite/{p-531c56c8.system.js → p-082f6810.system.js} +1 -1
  14. package/dist/calcite/{p-2ca0584d.system.js → p-083ad3f7.system.js} +2 -2
  15. package/dist/calcite/{p-46a5526d.js → p-0861b5c3.js} +1 -1
  16. package/dist/calcite/{p-2dc8e225.js → p-08c5c111.js} +1 -1
  17. package/dist/calcite/p-0c53eaa6.system.entry.js +6 -0
  18. package/dist/calcite/{p-6d2b53a8.entry.js → p-10cf1cee.entry.js} +2 -2
  19. package/dist/calcite/{p-60388abf.entry.js → p-1254580f.entry.js} +2 -2
  20. package/dist/calcite/{p-ba6ddbec.entry.js → p-1784f8f3.entry.js} +2 -2
  21. package/dist/calcite/p-183558a8.entry.js +6 -0
  22. package/dist/calcite/{p-7be09442.system.entry.js → p-18c7a204.system.entry.js} +2 -2
  23. package/dist/calcite/{p-d2f3d291.entry.js → p-193f46ab.entry.js} +2 -2
  24. package/dist/calcite/p-19ac6a2d.system.entry.js +6 -0
  25. package/dist/calcite/{p-d8bb44a1.entry.js → p-19f97579.entry.js} +2 -2
  26. package/dist/calcite/p-1bcf06ec.entry.js +6 -0
  27. package/dist/calcite/{p-71550be0.entry.js → p-1bff0b23.entry.js} +2 -2
  28. package/dist/calcite/{p-3f24ebfc.system.js → p-2233e933.system.js} +1 -1
  29. package/dist/calcite/{p-ee6e5a08.js → p-27cc2e5e.js} +1 -1
  30. package/dist/calcite/{p-d7d89539.entry.js → p-28e4a804.entry.js} +2 -2
  31. package/dist/calcite/p-2a72875b.entry.js +6 -0
  32. package/dist/calcite/p-2a9dc3c2.system.entry.js +6 -0
  33. package/dist/calcite/p-2c26abb9.system.entry.js +6 -0
  34. package/dist/calcite/p-2dfba108.entry.js +6 -0
  35. package/dist/calcite/p-2f20c892.entry.js +6 -0
  36. package/dist/calcite/{p-4d2c6877.entry.js → p-3097fbf7.entry.js} +2 -2
  37. package/dist/calcite/p-33a62d39.entry.js +6 -0
  38. package/dist/calcite/{p-fce31076.system.js → p-34c101f1.system.js} +1 -1
  39. package/dist/calcite/p-36667d63.system.entry.js +6 -0
  40. package/dist/calcite/p-384f9faf.system.entry.js +6 -0
  41. package/dist/calcite/p-3bb06ad5.system.entry.js +6 -0
  42. package/dist/calcite/{p-52ba7ff7.entry.js → p-3fe30132.entry.js} +2 -2
  43. package/dist/calcite/{p-586e7597.system.js → p-40defab7.system.js} +2 -2
  44. package/dist/calcite/p-41dbf74a.system.entry.js +6 -0
  45. package/dist/calcite/{p-d5ee9f52.entry.js → p-4337b1bd.entry.js} +2 -2
  46. package/dist/calcite/{p-83aaa8c0.system.entry.js → p-44f13324.system.entry.js} +2 -2
  47. package/dist/calcite/{p-8fd4dafd.entry.js → p-46cb5c74.entry.js} +2 -2
  48. package/dist/calcite/p-46d17de9.entry.js +6 -0
  49. package/dist/calcite/{p-ab50afa0.entry.js → p-47c7a526.entry.js} +2 -2
  50. package/dist/calcite/p-4ab2233c.entry.js +6 -0
  51. package/dist/calcite/p-4e183916.system.entry.js +6 -0
  52. package/dist/calcite/p-4e3f702d.system.entry.js +6 -0
  53. package/dist/calcite/p-4ffb95fe.system.entry.js +6 -0
  54. package/dist/calcite/{p-3ff4b78b.system.js → p-511543f2.system.js} +2 -2
  55. package/dist/calcite/{p-598e046d.system.js → p-51367d6d.system.js} +2 -2
  56. package/dist/calcite/p-5153c05e.system.entry.js +6 -0
  57. package/dist/calcite/{p-013547ec.system.js → p-51b316ee.system.js} +1 -1
  58. package/dist/calcite/p-52f59c69.entry.js +6 -0
  59. package/dist/calcite/p-539b3ec9.entry.js +6 -0
  60. package/dist/calcite/p-540d028a.system.entry.js +6 -0
  61. package/dist/calcite/p-55736b7c.system.entry.js +6 -0
  62. package/dist/calcite/p-581e1e8d.entry.js +6 -0
  63. package/dist/calcite/p-58eaf78a.system.entry.js +6 -0
  64. package/dist/calcite/{p-214d31d0.js → p-593db55e.js} +2 -2
  65. package/dist/calcite/p-5a5aa354.js +6 -0
  66. package/dist/calcite/p-5be7e323.system.entry.js +6 -0
  67. package/dist/calcite/p-5c20f80b.system.entry.js +6 -0
  68. package/dist/calcite/{p-efa1ad71.js → p-5d28d008.js} +1 -1
  69. package/dist/calcite/p-5fcac07b.entry.js +6 -0
  70. package/dist/calcite/p-5fe20350.entry.js +6 -0
  71. package/dist/calcite/p-61159563.entry.js +6 -0
  72. package/dist/calcite/p-624f9e8f.system.entry.js +6 -0
  73. package/dist/calcite/p-6730141b.system.entry.js +6 -0
  74. package/dist/calcite/{p-f3c7840b.entry.js → p-68b94f27.entry.js} +2 -2
  75. package/dist/calcite/{p-b8b42749.system.js → p-69175e63.system.js} +1 -1
  76. package/dist/calcite/{p-b0274ddb.system.entry.js → p-6a1d1b7a.system.entry.js} +2 -2
  77. package/dist/calcite/{p-830f1cca.js → p-6a91f07f.js} +2 -2
  78. package/dist/calcite/{p-37efb2c8.js → p-6cc8a11e.js} +1 -1
  79. package/dist/calcite/p-6cebf072.system.entry.js +6 -0
  80. package/dist/calcite/p-6fa029dc.system.entry.js +6 -0
  81. package/dist/calcite/p-7325c583.system.entry.js +6 -0
  82. package/dist/calcite/{p-cfa77570.system.entry.js → p-73b38815.system.entry.js} +2 -2
  83. package/dist/calcite/p-744668c0.system.entry.js +6 -0
  84. package/dist/calcite/p-76b68fd0.system.entry.js +6 -0
  85. package/dist/calcite/{p-fcebbd3e.system.js → p-776870a0.system.js} +2 -2
  86. package/dist/calcite/p-78ba27b1.entry.js +6 -0
  87. package/dist/calcite/p-7c350662.entry.js +6 -0
  88. package/dist/calcite/{p-25864e29.entry.js → p-7d94bf13.entry.js} +2 -2
  89. package/dist/calcite/p-7ed279cd.system.entry.js +6 -0
  90. package/dist/calcite/{p-52dfcd0e.js → p-7ee1982a.js} +1 -1
  91. package/dist/calcite/p-80af8db7.system.entry.js +6 -0
  92. package/dist/calcite/p-8383c15c.entry.js +6 -0
  93. package/dist/calcite/{p-3d85c594.system.js → p-84cd74aa.system.js} +2 -2
  94. package/dist/calcite/{p-2ec11399.entry.js → p-8758ae6c.entry.js} +2 -2
  95. package/dist/calcite/p-87a9f432.entry.js +6 -0
  96. package/dist/calcite/p-88854654.entry.js +6 -0
  97. package/dist/calcite/{p-cae07863.entry.js → p-89e5afb9.entry.js} +2 -2
  98. package/dist/calcite/{p-691f551b.js → p-8a08e10f.js} +1 -1
  99. package/dist/calcite/p-8b53ed20.system.entry.js +6 -0
  100. package/dist/calcite/p-8b8b69d7.entry.js +6 -0
  101. package/dist/calcite/{p-e60a59c1.entry.js → p-8c1f1751.entry.js} +2 -2
  102. package/dist/calcite/{p-78e9414a.system.entry.js → p-8cc9cc48.system.entry.js} +2 -2
  103. package/dist/calcite/{p-2539059d.system.entry.js → p-8f22b5af.system.entry.js} +2 -2
  104. package/dist/calcite/{p-d6408057.system.js → p-8ff5c6af.system.js} +1 -1
  105. package/dist/calcite/{p-7dc61681.entry.js → p-92714585.entry.js} +2 -2
  106. package/dist/calcite/p-92f27a0c.js +6 -0
  107. package/dist/calcite/{p-16b3cd64.js → p-93260ff5.js} +2 -2
  108. package/dist/calcite/{p-219e247d.js → p-9442b96c.js} +1 -1
  109. package/dist/calcite/{p-532ba13d.system.js → p-9544382c.system.js} +2 -2
  110. package/dist/calcite/p-962f6573.system.entry.js +6 -0
  111. package/dist/calcite/p-96dea7b5.entry.js +6 -0
  112. package/dist/calcite/{p-0d5b8d1c.system.js → p-98ff2514.system.js} +1 -1
  113. package/dist/calcite/{p-3fe63f18.system.js → p-9acc1d81.system.js} +1 -1
  114. package/dist/calcite/{p-1884bccd.js → p-9b92f04f.js} +2 -2
  115. package/dist/calcite/{p-08daa33f.entry.js → p-9d74a8b4.entry.js} +2 -2
  116. package/dist/calcite/{p-b1edb73a.js → p-9e15dd6e.js} +1 -1
  117. package/dist/calcite/{p-1cb8250d.js → p-9e7b511c.js} +2 -2
  118. package/dist/calcite/p-a029b7e3.entry.js +6 -0
  119. package/dist/calcite/{p-72a07661.system.js → p-a043509b.system.js} +1 -1
  120. package/dist/calcite/{p-2733a829.js → p-a1208bd3.js} +1 -1
  121. package/dist/calcite/p-a20ebebe.entry.js +6 -0
  122. package/dist/calcite/{p-96d5815c.js → p-a223a097.js} +2 -2
  123. package/dist/calcite/p-a257b74c.system.entry.js +6 -0
  124. package/dist/calcite/p-a9185ad5.entry.js +6 -0
  125. package/dist/calcite/{p-d40c92da.entry.js → p-aa3ae149.entry.js} +2 -2
  126. package/dist/calcite/p-abd1e03c.system.js +6 -0
  127. package/dist/calcite/{p-33e924b8.system.js → p-ac1e10c9.system.js} +1 -1
  128. package/dist/calcite/{p-b0527d22.js → p-ace0a7db.js} +1 -1
  129. package/dist/calcite/p-ade632e2.system.entry.js +6 -0
  130. package/dist/calcite/{p-095da29e.system.js → p-aea55c77.system.js} +2 -2
  131. package/dist/calcite/{p-b41868a7.system.js → p-b15af4f1.system.js} +1 -1
  132. package/dist/calcite/p-b272cb27.system.entry.js +6 -0
  133. package/dist/calcite/p-b7a8dc88.system.entry.js +6 -0
  134. package/dist/calcite/p-b8b859fd.system.entry.js +6 -0
  135. package/dist/calcite/{p-2de5ba58.entry.js → p-b8f1bda7.entry.js} +2 -2
  136. package/dist/calcite/p-bbbbcada.system.entry.js +6 -0
  137. package/dist/calcite/p-bd160a5d.system.entry.js +6 -0
  138. package/dist/calcite/{p-6fd1c444.system.entry.js → p-be841870.system.entry.js} +2 -2
  139. package/dist/calcite/{p-9bae7cc5.entry.js → p-bf01cef4.entry.js} +2 -2
  140. package/dist/calcite/{p-93813663.system.js → p-c1e1d528.system.js} +1 -1
  141. package/dist/calcite/{p-7636c46c.js → p-c48abc3a.js} +1 -1
  142. package/dist/calcite/p-c5c5690f.system.entry.js +6 -0
  143. package/dist/calcite/p-c7074656.system.entry.js +6 -0
  144. package/dist/calcite/{p-50592f10.system.entry.js → p-c9661ee7.system.entry.js} +2 -2
  145. package/dist/calcite/p-cb169cd3.system.entry.js +6 -0
  146. package/dist/calcite/{p-f2b391e7.system.js → p-cd478f6a.system.js} +2 -2
  147. package/dist/calcite/p-cddf3666.system.entry.js +6 -0
  148. package/dist/calcite/{p-5ee04bf1.system.entry.js → p-d05a0f21.system.entry.js} +2 -2
  149. package/dist/calcite/{p-69ddce2a.entry.js → p-d3c624d2.entry.js} +2 -2
  150. package/dist/calcite/{p-f5413bd0.system.js → p-d3e0695d.system.js} +1 -1
  151. package/dist/calcite/{p-7cb9b8c7.system.entry.js → p-d64cd253.system.entry.js} +2 -2
  152. package/dist/calcite/{p-ca3be02c.js → p-d71fa37a.js} +2 -2
  153. package/dist/calcite/p-d7e3f7e4.system.entry.js +6 -0
  154. package/dist/calcite/{p-af64a957.entry.js → p-ddbf12da.entry.js} +2 -2
  155. package/dist/calcite/{p-c7026336.system.entry.js → p-dec9897e.system.entry.js} +2 -2
  156. package/dist/calcite/{p-4c09f36d.system.js → p-df28fa14.system.js} +2 -2
  157. package/dist/calcite/p-e19edf65.js +6 -0
  158. package/dist/calcite/{p-c60d526d.entry.js → p-e44abe5f.entry.js} +2 -2
  159. package/dist/calcite/{p-6bca5e1f.system.js → p-e48ec762.system.js} +1 -1
  160. package/dist/calcite/p-e8c3c865.system.entry.js +6 -0
  161. package/dist/calcite/{p-9140a85e.js → p-e8e7c213.js} +1 -1
  162. package/dist/calcite/{p-cbacd14a.system.js → p-e8e915e3.system.js} +1 -1
  163. package/dist/calcite/p-ef5111b5.entry.js +6 -0
  164. package/dist/calcite/p-efec8e76.entry.js +6 -0
  165. package/dist/calcite/{p-e804aa07.entry.js → p-f1b3a236.entry.js} +2 -2
  166. package/dist/calcite/p-f3084c87.entry.js +6 -0
  167. package/dist/calcite/p-f49e45d9.system.entry.js +6 -0
  168. package/dist/calcite/p-f68846c3.entry.js +6 -0
  169. package/dist/calcite/p-f6e191d0.system.entry.js +6 -0
  170. package/dist/calcite/{p-c3a29d0b.js → p-f71d71f4.js} +1 -1
  171. package/dist/calcite/{p-cdf69602.js → p-f74c5299.js} +2 -2
  172. package/dist/calcite/p-f76c2d64.system.entry.js +6 -0
  173. package/dist/calcite/{p-b2aacc22.js → p-f816b662.js} +2 -2
  174. package/dist/calcite/p-fa887965.system.entry.js +6 -0
  175. package/dist/calcite/p-fb80d78d.system.js +6 -0
  176. package/dist/calcite/{p-a38c1777.entry.js → p-fc0969c9.entry.js} +2 -2
  177. package/dist/calcite/p-fd467062.system.entry.js +6 -0
  178. package/dist/calcite/p-ff5a3f71.entry.js +6 -0
  179. package/dist/cjs/{ExpandToggle-1b7dc448.js → ExpandToggle-3c2fdf7b.js} +5 -5
  180. package/dist/cjs/{Heading-94ac3fdc.js → Heading-5a500501.js} +2 -2
  181. package/dist/cjs/{app-globals-88cf8c51.js → app-globals-ab1455e3.js} +2 -2
  182. package/dist/cjs/{array-156fa145.js → array-a5d2fd10.js} +1 -1
  183. package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
  184. package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
  185. package/dist/cjs/calcite-action-group.cjs.entry.js +10 -10
  186. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  187. package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -11
  188. package/dist/cjs/calcite-action.cjs.entry.js +8 -8
  189. package/dist/cjs/calcite-alert.cjs.entry.js +8 -8
  190. package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
  191. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  192. package/dist/cjs/calcite-button.cjs.entry.js +10 -10
  193. package/dist/cjs/calcite-card.cjs.entry.js +8 -8
  194. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  195. package/dist/cjs/calcite-chip.cjs.entry.js +8 -8
  196. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +13 -13
  197. package/dist/cjs/calcite-combobox_3.cjs.entry.js +17 -17
  198. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
  199. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -13
  200. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  201. package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
  202. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  203. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  204. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  205. package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
  206. package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
  207. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +14 -14
  208. package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
  209. package/dist/cjs/calcite-input-number.cjs.entry.js +24 -13
  210. package/dist/cjs/calcite-input-text.cjs.entry.js +21 -10
  211. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +12 -12
  212. package/dist/cjs/calcite-input.cjs.entry.js +30 -13
  213. package/dist/cjs/calcite-label.cjs.entry.js +7 -7
  214. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
  216. package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
  217. package/dist/cjs/calcite-modal.cjs.entry.js +9 -9
  218. package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
  219. package/dist/cjs/calcite-option_3.cjs.entry.js +12 -12
  220. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  221. package/dist/cjs/calcite-panel.cjs.entry.js +11 -11
  222. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +15 -15
  223. package/dist/cjs/calcite-popover_2.cjs.entry.js +12 -12
  224. package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
  225. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  226. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  227. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +10 -10
  228. package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
  229. package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
  230. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  231. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  232. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  233. package/dist/cjs/calcite-stepper_2.cjs.entry.js +8 -8
  234. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  235. package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
  236. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  237. package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
  238. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  239. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +8 -8
  240. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
  241. package/dist/cjs/calcite-value-list_2.cjs.entry.js +14 -14
  242. package/dist/cjs/calcite.cjs.js +4 -4
  243. package/dist/cjs/{conditionalSlot-5c522d04.js → conditionalSlot-2df6595b.js} +3 -3
  244. package/dist/cjs/{debounce-d37d3494.js → debounce-9a87bbcd.js} +1 -1
  245. package/dist/cjs/{dom-b4591705.js → dom-8157bf27.js} +3 -3
  246. package/dist/cjs/{filter-d943f405.js → filter-aac8bdc0.js} +2 -2
  247. package/dist/cjs/{floating-ui-304a6a0b.js → floating-ui-d46e8494.js} +2 -2
  248. package/dist/cjs/{form-fd7db81c.js → form-cc01c7ae.js} +17 -5
  249. package/dist/cjs/{guid-8b8c8cea.js → guid-5f4a77f9.js} +1 -1
  250. package/dist/cjs/{index-0a2829b7.js → index-3fe10e79.js} +1 -1
  251. package/dist/cjs/index.cjs.js +1 -1
  252. package/dist/cjs/{interactive-76d67681.js → interactive-d3e0d2f9.js} +1 -1
  253. package/dist/cjs/{interfaces-dcba5f63.js → interfaces-1dd2c2ad.js} +1 -1
  254. package/dist/cjs/{key-035a09ea.js → key-d04ede30.js} +1 -1
  255. package/dist/cjs/{label-0e931ffc.js → label-3876f696.js} +2 -2
  256. package/dist/cjs/loader.cjs.js +4 -4
  257. package/dist/cjs/{locale-aa623453.js → locale-7b1e22d1.js} +2 -2
  258. package/dist/cjs/{math-a358fcd4.js → math-b2e19601.js} +1 -1
  259. package/dist/cjs/{observers-a63ca8f9.js → observers-0829b77c.js} +1 -1
  260. package/dist/cjs/{openCloseComponent-132c22a5.js → openCloseComponent-66d8ecce.js} +1 -1
  261. package/dist/cjs/{resources-a29150dc.js → resources-15b4a8e5.js} +3 -3
  262. package/dist/cjs/{resources-e8da31b1.js → resources-47114114.js} +1 -1
  263. package/dist/cjs/{resources-572775e9.js → resources-6bea5a4a.js} +1 -1
  264. package/dist/cjs/{resources-a324e9d5.js → resources-98b721a7.js} +1 -1
  265. package/dist/cjs/{resources-e2d25182.js → resources-b628ba3b.js} +5 -5
  266. package/dist/cjs/{sortable.esm-68d2564c.js → sortable.esm-2c4b4194.js} +1 -1
  267. package/dist/cjs/{utils-ad7c17ee.js → utils-6560b28e.js} +1 -1
  268. package/dist/collection/components/accordion/accordion.css +1 -1
  269. package/dist/collection/components/accordion/accordion.js +1 -1
  270. package/dist/collection/components/accordion/interfaces.js +1 -1
  271. package/dist/collection/components/accordion-item/accordion-item.css +1 -1
  272. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  273. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  274. package/dist/collection/components/accordion-item/resources.js +1 -1
  275. package/dist/collection/components/action/action.css +1 -1
  276. package/dist/collection/components/action/action.js +1 -1
  277. package/dist/collection/components/action/resources.js +1 -1
  278. package/dist/collection/components/action-bar/action-bar.css +1 -1
  279. package/dist/collection/components/action-bar/action-bar.js +1 -1
  280. package/dist/collection/components/action-bar/resources.js +1 -1
  281. package/dist/collection/components/action-bar/utils.js +1 -1
  282. package/dist/collection/components/action-group/action-group.css +1 -1
  283. package/dist/collection/components/action-group/action-group.js +1 -1
  284. package/dist/collection/components/action-group/resources.js +1 -1
  285. package/dist/collection/components/action-menu/action-menu.css +1 -1
  286. package/dist/collection/components/action-menu/action-menu.js +1 -1
  287. package/dist/collection/components/action-menu/resources.js +1 -1
  288. package/dist/collection/components/action-pad/action-pad.css +1 -1
  289. package/dist/collection/components/action-pad/action-pad.js +1 -1
  290. package/dist/collection/components/action-pad/resources.js +1 -1
  291. package/dist/collection/components/alert/alert.css +1 -1
  292. package/dist/collection/components/alert/alert.js +1 -1
  293. package/dist/collection/components/alert/interfaces.js +1 -1
  294. package/dist/collection/components/alert/resources.js +1 -1
  295. package/dist/collection/components/avatar/avatar.css +1 -1
  296. package/dist/collection/components/avatar/avatar.js +1 -1
  297. package/dist/collection/components/avatar/utils.js +1 -1
  298. package/dist/collection/components/block/block.css +1 -1
  299. package/dist/collection/components/block/block.js +1 -1
  300. package/dist/collection/components/block/resources.js +1 -1
  301. package/dist/collection/components/block-section/block-section.css +1 -1
  302. package/dist/collection/components/block-section/block-section.js +1 -1
  303. package/dist/collection/components/block-section/interfaces.js +1 -1
  304. package/dist/collection/components/block-section/resources.js +1 -1
  305. package/dist/collection/components/button/button.css +1 -1
  306. package/dist/collection/components/button/button.js +1 -1
  307. package/dist/collection/components/button/interfaces.js +1 -1
  308. package/dist/collection/components/button/resources.js +1 -1
  309. package/dist/collection/components/card/card.css +1 -1
  310. package/dist/collection/components/card/card.js +1 -1
  311. package/dist/collection/components/card/resources.js +1 -1
  312. package/dist/collection/components/checkbox/checkbox.css +1 -1
  313. package/dist/collection/components/checkbox/checkbox.js +1 -1
  314. package/dist/collection/components/chip/chip.css +1 -1
  315. package/dist/collection/components/chip/chip.js +1 -1
  316. package/dist/collection/components/chip/interfaces.js +1 -1
  317. package/dist/collection/components/chip/resources.js +1 -1
  318. package/dist/collection/components/color-picker/color-picker.css +1 -1
  319. package/dist/collection/components/color-picker/color-picker.js +1 -1
  320. package/dist/collection/components/color-picker/interfaces.js +1 -1
  321. package/dist/collection/components/color-picker/resources.js +1 -1
  322. package/dist/collection/components/color-picker/utils.js +1 -1
  323. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +1 -1
  324. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  325. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  326. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +1 -1
  327. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  328. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  329. package/dist/collection/components/combobox/combobox.css +1 -1
  330. package/dist/collection/components/combobox/combobox.js +1 -1
  331. package/dist/collection/components/combobox/interfaces.js +1 -1
  332. package/dist/collection/components/combobox/resources.js +1 -1
  333. package/dist/collection/components/combobox/utils.js +1 -1
  334. package/dist/collection/components/combobox-item/combobox-item.css +1 -1
  335. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  336. package/dist/collection/components/combobox-item/resources.js +1 -1
  337. package/dist/collection/components/combobox-item-group/combobox-item-group.css +1 -1
  338. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  339. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  340. package/dist/collection/components/date-picker/date-picker.css +1 -1
  341. package/dist/collection/components/date-picker/date-picker.js +1 -1
  342. package/dist/collection/components/date-picker/interfaces.js +1 -1
  343. package/dist/collection/components/date-picker/resources.js +1 -1
  344. package/dist/collection/components/date-picker/utils.js +1 -1
  345. package/dist/collection/components/date-picker-day/date-picker-day.css +1 -1
  346. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  347. package/dist/collection/components/date-picker-month/date-picker-month.css +1 -1
  348. package/dist/collection/components/date-picker-month/date-picker-month.js +2 -2
  349. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -1
  350. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  351. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  352. package/dist/collection/components/dropdown/dropdown.css +1 -1
  353. package/dist/collection/components/dropdown/dropdown.js +1 -1
  354. package/dist/collection/components/dropdown/interfaces.js +1 -1
  355. package/dist/collection/components/dropdown/resources.js +1 -1
  356. package/dist/collection/components/dropdown-group/dropdown-group.css +1 -1
  357. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  358. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  359. package/dist/collection/components/dropdown-group/resources.js +1 -1
  360. package/dist/collection/components/dropdown-item/dropdown-item.css +1 -1
  361. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  362. package/dist/collection/components/dropdown-item/resources.js +1 -1
  363. package/dist/collection/components/fab/fab.css +1 -1
  364. package/dist/collection/components/fab/fab.js +1 -1
  365. package/dist/collection/components/fab/resources.js +1 -1
  366. package/dist/collection/components/filter/filter.css +1 -1
  367. package/dist/collection/components/filter/filter.js +1 -1
  368. package/dist/collection/components/filter/resources.js +1 -1
  369. package/dist/collection/components/flow/flow.css +1 -1
  370. package/dist/collection/components/flow/flow.js +1 -1
  371. package/dist/collection/components/flow/interfaces.js +1 -1
  372. package/dist/collection/components/flow/resources.js +1 -1
  373. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  374. package/dist/collection/components/functional/Heading.js +1 -1
  375. package/dist/collection/components/graph/graph.css +1 -1
  376. package/dist/collection/components/graph/graph.js +1 -1
  377. package/dist/collection/components/graph/interfaces.js +1 -1
  378. package/dist/collection/components/graph/util.js +1 -1
  379. package/dist/collection/components/handle/handle.css +1 -1
  380. package/dist/collection/components/handle/handle.js +1 -1
  381. package/dist/collection/components/handle/resources.js +1 -1
  382. package/dist/collection/components/icon/icon.css +1 -1
  383. package/dist/collection/components/icon/icon.js +1 -1
  384. package/dist/collection/components/icon/resources.js +1 -1
  385. package/dist/collection/components/icon/utils.js +1 -1
  386. package/dist/collection/components/inline-editable/inline-editable.css +1 -1
  387. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  388. package/dist/collection/components/inline-editable/resources.js +1 -1
  389. package/dist/collection/components/input/input.css +1 -1
  390. package/dist/collection/components/input/input.js +18 -1
  391. package/dist/collection/components/input/interfaces.js +1 -1
  392. package/dist/collection/components/input/resources.js +1 -1
  393. package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
  394. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  395. package/dist/collection/components/input-date-picker/resources.js +1 -1
  396. package/dist/collection/components/input-message/input-message.css +1 -1
  397. package/dist/collection/components/input-message/input-message.js +1 -1
  398. package/dist/collection/components/input-message/interfaces.js +1 -1
  399. package/dist/collection/components/input-number/input-number.css +1 -1
  400. package/dist/collection/components/input-number/input-number.js +12 -1
  401. package/dist/collection/components/input-number/interfaces.js +1 -1
  402. package/dist/collection/components/input-number/resources.js +1 -1
  403. package/dist/collection/components/input-text/input-text.css +1 -1
  404. package/dist/collection/components/input-text/input-text.js +12 -1
  405. package/dist/collection/components/input-text/resources.js +1 -1
  406. package/dist/collection/components/input-time-picker/input-time-picker.css +1 -1
  407. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  408. package/dist/collection/components/interfaces.js +1 -1
  409. package/dist/collection/components/label/label.css +1 -1
  410. package/dist/collection/components/label/label.js +1 -1
  411. package/dist/collection/components/label/resources.js +1 -1
  412. package/dist/collection/components/link/link.css +1 -1
  413. package/dist/collection/components/link/link.js +1 -1
  414. package/dist/collection/components/list/list.css +1 -1
  415. package/dist/collection/components/list/list.js +1 -1
  416. package/dist/collection/components/list/resources.js +1 -1
  417. package/dist/collection/components/list-item/list-item.css +1 -1
  418. package/dist/collection/components/list-item/list-item.js +1 -1
  419. package/dist/collection/components/list-item/resources.js +1 -1
  420. package/dist/collection/components/list-item-group/list-item-group.css +1 -1
  421. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  422. package/dist/collection/components/list-item-group/resources.js +1 -1
  423. package/dist/collection/components/loader/loader.css +1 -1
  424. package/dist/collection/components/loader/loader.js +1 -1
  425. package/dist/collection/components/modal/interfaces.js +1 -1
  426. package/dist/collection/components/modal/modal.css +1 -1
  427. package/dist/collection/components/modal/modal.js +1 -1
  428. package/dist/collection/components/modal/resources.js +1 -1
  429. package/dist/collection/components/notice/notice.css +1 -1
  430. package/dist/collection/components/notice/notice.js +1 -1
  431. package/dist/collection/components/notice/resources.js +1 -1
  432. package/dist/collection/components/option/option.css +1 -1
  433. package/dist/collection/components/option/option.js +1 -1
  434. package/dist/collection/components/option-group/option-group.css +1 -1
  435. package/dist/collection/components/option-group/option-group.js +1 -1
  436. package/dist/collection/components/pagination/pagination.css +1 -1
  437. package/dist/collection/components/pagination/pagination.js +1 -1
  438. package/dist/collection/components/pagination/resources.js +1 -1
  439. package/dist/collection/components/panel/panel.css +1 -1
  440. package/dist/collection/components/panel/panel.js +1 -1
  441. package/dist/collection/components/panel/resources.js +1 -1
  442. package/dist/collection/components/pick-list/pick-list.css +1 -1
  443. package/dist/collection/components/pick-list/pick-list.js +1 -1
  444. package/dist/collection/components/pick-list/resources.js +1 -1
  445. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  446. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  447. package/dist/collection/components/pick-list-group/pick-list-group.css +1 -1
  448. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  449. package/dist/collection/components/pick-list-group/resources.js +1 -1
  450. package/dist/collection/components/pick-list-item/pick-list-item.css +1 -1
  451. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  452. package/dist/collection/components/pick-list-item/resources.js +1 -1
  453. package/dist/collection/components/popover/PopoverManager.js +1 -1
  454. package/dist/collection/components/popover/popover.css +1 -1
  455. package/dist/collection/components/popover/popover.js +1 -1
  456. package/dist/collection/components/popover/resources.js +1 -1
  457. package/dist/collection/components/popover-manager/popover-manager.css +1 -1
  458. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  459. package/dist/collection/components/progress/progress.css +1 -1
  460. package/dist/collection/components/progress/progress.js +1 -1
  461. package/dist/collection/components/radio-button/radio-button.css +1 -1
  462. package/dist/collection/components/radio-button/radio-button.js +1 -1
  463. package/dist/collection/components/radio-button/resources.js +1 -1
  464. package/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
  465. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  466. package/dist/collection/components/radio-group/interfaces.js +1 -1
  467. package/dist/collection/components/radio-group/radio-group.css +1 -1
  468. package/dist/collection/components/radio-group/radio-group.js +1 -1
  469. package/dist/collection/components/radio-group-item/radio-group-item.css +1 -1
  470. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  471. package/dist/collection/components/radio-group-item/resources.js +1 -1
  472. package/dist/collection/components/rating/rating.css +1 -1
  473. package/dist/collection/components/rating/rating.js +1 -1
  474. package/dist/collection/components/rating/resources.js +1 -1
  475. package/dist/collection/components/scrim/resources.js +1 -1
  476. package/dist/collection/components/scrim/scrim.css +1 -1
  477. package/dist/collection/components/scrim/scrim.js +1 -1
  478. package/dist/collection/components/select/resources.js +1 -1
  479. package/dist/collection/components/select/select.css +1 -1
  480. package/dist/collection/components/select/select.js +1 -1
  481. package/dist/collection/components/shell/resources.js +1 -1
  482. package/dist/collection/components/shell/shell.css +1 -1
  483. package/dist/collection/components/shell/shell.js +1 -1
  484. package/dist/collection/components/shell-center-row/resources.js +1 -1
  485. package/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
  486. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  487. package/dist/collection/components/shell-panel/resources.js +1 -1
  488. package/dist/collection/components/shell-panel/shell-panel.css +1 -1
  489. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  490. package/dist/collection/components/slider/slider.css +1 -1
  491. package/dist/collection/components/slider/slider.js +1 -1
  492. package/dist/collection/components/sortable-list/resources.js +1 -1
  493. package/dist/collection/components/sortable-list/sortable-list.css +1 -1
  494. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  495. package/dist/collection/components/split-button/resources.js +1 -1
  496. package/dist/collection/components/split-button/split-button.css +1 -1
  497. package/dist/collection/components/split-button/split-button.js +1 -1
  498. package/dist/collection/components/stepper/interfaces.js +1 -1
  499. package/dist/collection/components/stepper/stepper.css +1 -1
  500. package/dist/collection/components/stepper/stepper.js +1 -1
  501. package/dist/collection/components/stepper-item/stepper-item.css +1 -1
  502. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  503. package/dist/collection/components/switch/switch.css +1 -1
  504. package/dist/collection/components/switch/switch.js +1 -1
  505. package/dist/collection/components/tab/interfaces.js +1 -1
  506. package/dist/collection/components/tab/tab.css +1 -1
  507. package/dist/collection/components/tab/tab.js +1 -1
  508. package/dist/collection/components/tab-nav/tab-nav.css +1 -1
  509. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  510. package/dist/collection/components/tab-title/tab-title.css +1 -1
  511. package/dist/collection/components/tab-title/tab-title.js +1 -1
  512. package/dist/collection/components/tabs/interfaces.js +1 -1
  513. package/dist/collection/components/tabs/resources.js +1 -1
  514. package/dist/collection/components/tabs/tabs.css +1 -1
  515. package/dist/collection/components/tabs/tabs.js +1 -1
  516. package/dist/collection/components/tile/resources.js +1 -1
  517. package/dist/collection/components/tile/tile.css +1 -1
  518. package/dist/collection/components/tile/tile.js +1 -1
  519. package/dist/collection/components/tile-select/interfaces.js +1 -1
  520. package/dist/collection/components/tile-select/resources.js +1 -1
  521. package/dist/collection/components/tile-select/tile-select.css +1 -1
  522. package/dist/collection/components/tile-select/tile-select.js +1 -1
  523. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  524. package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
  525. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  526. package/dist/collection/components/time-picker/resources.js +1 -1
  527. package/dist/collection/components/time-picker/time-picker.css +1 -1
  528. package/dist/collection/components/time-picker/time-picker.js +1 -1
  529. package/dist/collection/components/tip/resources.js +1 -1
  530. package/dist/collection/components/tip/tip.css +1 -1
  531. package/dist/collection/components/tip/tip.js +1 -1
  532. package/dist/collection/components/tip-group/tip-group.css +1 -1
  533. package/dist/collection/components/tip-group/tip-group.js +1 -1
  534. package/dist/collection/components/tip-manager/resources.js +1 -1
  535. package/dist/collection/components/tip-manager/tip-manager.css +1 -1
  536. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  537. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  538. package/dist/collection/components/tooltip/resources.js +1 -1
  539. package/dist/collection/components/tooltip/tooltip.css +1 -1
  540. package/dist/collection/components/tooltip/tooltip.js +1 -1
  541. package/dist/collection/components/tooltip-manager/tooltip-manager.css +1 -1
  542. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  543. package/dist/collection/components/tree/interfaces.js +1 -1
  544. package/dist/collection/components/tree/tree.css +1 -1
  545. package/dist/collection/components/tree/tree.js +1 -1
  546. package/dist/collection/components/tree-item/interfaces.js +1 -1
  547. package/dist/collection/components/tree-item/resources.js +1 -1
  548. package/dist/collection/components/tree-item/tree-item.css +1 -1
  549. package/dist/collection/components/tree-item/tree-item.js +1 -1
  550. package/dist/collection/components/value-list/interfaces.js +1 -1
  551. package/dist/collection/components/value-list/resources.js +1 -1
  552. package/dist/collection/components/value-list/utils.js +1 -1
  553. package/dist/collection/components/value-list/value-list.css +1 -1
  554. package/dist/collection/components/value-list/value-list.js +1 -1
  555. package/dist/collection/components/value-list-item/resources.js +1 -1
  556. package/dist/collection/components/value-list-item/value-list-item.css +1 -1
  557. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  558. package/dist/collection/utils/array.js +1 -1
  559. package/dist/collection/utils/conditionalSlot.js +1 -1
  560. package/dist/collection/utils/date.js +1 -1
  561. package/dist/collection/utils/dom.js +1 -1
  562. package/dist/collection/utils/filter.js +1 -1
  563. package/dist/collection/utils/floating-ui.js +1 -1
  564. package/dist/collection/utils/form.js +15 -3
  565. package/dist/collection/utils/globalAttributes.js +1 -1
  566. package/dist/collection/utils/globalScript.js +1 -1
  567. package/dist/collection/utils/guid.js +1 -1
  568. package/dist/collection/utils/interactive.js +1 -1
  569. package/dist/collection/utils/key.js +1 -1
  570. package/dist/collection/utils/label.js +1 -1
  571. package/dist/collection/utils/locale.js +1 -1
  572. package/dist/collection/utils/math.js +1 -1
  573. package/dist/collection/utils/number.js +1 -1
  574. package/dist/collection/utils/observers.js +1 -1
  575. package/dist/collection/utils/openCloseComponent.js +1 -1
  576. package/dist/collection/utils/resources.js +1 -1
  577. package/dist/collection/utils/theme.js +1 -1
  578. package/dist/collection/utils/time.js +1 -1
  579. package/dist/components/ExpandToggle.js +1 -1
  580. package/dist/components/Heading.js +1 -1
  581. package/dist/components/action-group.js +2 -2
  582. package/dist/components/action-menu.js +2 -2
  583. package/dist/components/action.js +2 -2
  584. package/dist/components/array.js +1 -1
  585. package/dist/components/button.js +2 -2
  586. package/dist/components/calcite-accordion-item.js +2 -2
  587. package/dist/components/calcite-accordion.js +2 -2
  588. package/dist/components/calcite-action-bar.js +2 -2
  589. package/dist/components/calcite-action-group.js +1 -1
  590. package/dist/components/calcite-action-menu.js +1 -1
  591. package/dist/components/calcite-action-pad.js +2 -2
  592. package/dist/components/calcite-action.js +1 -1
  593. package/dist/components/calcite-alert.js +2 -2
  594. package/dist/components/calcite-avatar.js +2 -2
  595. package/dist/components/calcite-block-section.js +2 -2
  596. package/dist/components/calcite-block.js +2 -2
  597. package/dist/components/calcite-button.js +1 -1
  598. package/dist/components/calcite-card.js +2 -2
  599. package/dist/components/calcite-checkbox.js +1 -1
  600. package/dist/components/calcite-chip.js +1 -1
  601. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  602. package/dist/components/calcite-color-picker-swatch.js +1 -1
  603. package/dist/components/calcite-color-picker.js +2 -2
  604. package/dist/components/calcite-combobox-item-group.js +2 -2
  605. package/dist/components/calcite-combobox-item.js +2 -2
  606. package/dist/components/calcite-combobox.js +2 -2
  607. package/dist/components/calcite-date-picker-day.js +1 -1
  608. package/dist/components/calcite-date-picker-month-header.js +1 -1
  609. package/dist/components/calcite-date-picker-month.js +1 -1
  610. package/dist/components/calcite-date-picker.js +1 -1
  611. package/dist/components/calcite-dropdown-group.js +2 -2
  612. package/dist/components/calcite-dropdown-item.js +2 -2
  613. package/dist/components/calcite-dropdown.js +1 -1
  614. package/dist/components/calcite-fab.js +2 -2
  615. package/dist/components/calcite-filter.js +1 -1
  616. package/dist/components/calcite-flow.js +2 -2
  617. package/dist/components/calcite-graph.js +1 -1
  618. package/dist/components/calcite-handle.js +1 -1
  619. package/dist/components/calcite-icon.js +1 -1
  620. package/dist/components/calcite-inline-editable.js +2 -2
  621. package/dist/components/calcite-input-date-picker.js +2 -2
  622. package/dist/components/calcite-input-message.js +2 -2
  623. package/dist/components/calcite-input-number.js +13 -2
  624. package/dist/components/calcite-input-text.js +13 -2
  625. package/dist/components/calcite-input-time-picker.js +2 -2
  626. package/dist/components/calcite-input.js +1 -1
  627. package/dist/components/calcite-label.js +1 -1
  628. package/dist/components/calcite-link.js +1 -1
  629. package/dist/components/calcite-list-item-group.js +2 -2
  630. package/dist/components/calcite-list-item.js +2 -2
  631. package/dist/components/calcite-list.js +2 -2
  632. package/dist/components/calcite-loader.js +1 -1
  633. package/dist/components/calcite-modal.js +2 -2
  634. package/dist/components/calcite-notice.js +2 -2
  635. package/dist/components/calcite-option-group.js +2 -2
  636. package/dist/components/calcite-option.js +2 -2
  637. package/dist/components/calcite-pagination.js +2 -2
  638. package/dist/components/calcite-panel.js +2 -2
  639. package/dist/components/calcite-pick-list-group.js +2 -2
  640. package/dist/components/calcite-pick-list-item.js +1 -1
  641. package/dist/components/calcite-pick-list.js +2 -2
  642. package/dist/components/calcite-popover-manager.js +2 -2
  643. package/dist/components/calcite-popover.js +1 -1
  644. package/dist/components/calcite-progress.js +1 -1
  645. package/dist/components/calcite-radio-button-group.js +2 -2
  646. package/dist/components/calcite-radio-button.js +2 -2
  647. package/dist/components/calcite-radio-group-item.js +2 -2
  648. package/dist/components/calcite-radio-group.js +2 -2
  649. package/dist/components/calcite-rating.js +2 -2
  650. package/dist/components/calcite-scrim.js +1 -1
  651. package/dist/components/calcite-select.js +2 -2
  652. package/dist/components/calcite-shell-center-row.js +2 -2
  653. package/dist/components/calcite-shell-panel.js +2 -2
  654. package/dist/components/calcite-shell.js +2 -2
  655. package/dist/components/calcite-slider.js +2 -2
  656. package/dist/components/calcite-sortable-list.js +2 -2
  657. package/dist/components/calcite-split-button.js +2 -2
  658. package/dist/components/calcite-stepper-item.js +2 -2
  659. package/dist/components/calcite-stepper.js +2 -2
  660. package/dist/components/calcite-switch.js +1 -1
  661. package/dist/components/calcite-tab-nav.js +1 -1
  662. package/dist/components/calcite-tab-title.js +1 -1
  663. package/dist/components/calcite-tab.js +1 -1
  664. package/dist/components/calcite-tabs.js +1 -1
  665. package/dist/components/calcite-tile-select-group.js +2 -2
  666. package/dist/components/calcite-tile-select.js +2 -2
  667. package/dist/components/calcite-tile.js +1 -1
  668. package/dist/components/calcite-time-picker.js +1 -1
  669. package/dist/components/calcite-tip-group.js +2 -2
  670. package/dist/components/calcite-tip-manager.js +2 -2
  671. package/dist/components/calcite-tip.js +2 -2
  672. package/dist/components/calcite-tooltip-manager.js +2 -2
  673. package/dist/components/calcite-tooltip.js +2 -2
  674. package/dist/components/calcite-tree-item.js +2 -2
  675. package/dist/components/calcite-tree.js +2 -2
  676. package/dist/components/calcite-value-list-item.js +2 -2
  677. package/dist/components/calcite-value-list.js +2 -2
  678. package/dist/components/checkbox.js +2 -2
  679. package/dist/components/chip.js +2 -2
  680. package/dist/components/color-picker-hex-input.js +2 -2
  681. package/dist/components/color-picker-swatch.js +2 -2
  682. package/dist/components/conditionalSlot.js +1 -1
  683. package/dist/components/date-picker-day.js +2 -2
  684. package/dist/components/date-picker-month-header.js +2 -2
  685. package/dist/components/date-picker-month.js +3 -3
  686. package/dist/components/date-picker.js +2 -2
  687. package/dist/components/date.js +1 -1
  688. package/dist/components/debounce.js +1 -1
  689. package/dist/components/dom.js +1 -1
  690. package/dist/components/dropdown.js +2 -2
  691. package/dist/components/filter.js +1 -1
  692. package/dist/components/filter2.js +2 -2
  693. package/dist/components/floating-ui.js +1 -1
  694. package/dist/components/form.js +15 -3
  695. package/dist/components/graph.js +2 -2
  696. package/dist/components/guid.js +1 -1
  697. package/dist/components/handle.js +2 -2
  698. package/dist/components/icon.js +2 -2
  699. package/dist/components/index.js +1 -1
  700. package/dist/components/input.js +19 -2
  701. package/dist/components/interactive.js +1 -1
  702. package/dist/components/interfaces.js +1 -1
  703. package/dist/components/interfaces2.js +1 -1
  704. package/dist/components/key.js +1 -1
  705. package/dist/components/label.js +1 -1
  706. package/dist/components/label2.js +2 -2
  707. package/dist/components/link.js +2 -2
  708. package/dist/components/loader.js +2 -2
  709. package/dist/components/locale.js +1 -1
  710. package/dist/components/math.js +1 -1
  711. package/dist/components/observers.js +1 -1
  712. package/dist/components/openCloseComponent.js +1 -1
  713. package/dist/components/pick-list-item.js +2 -2
  714. package/dist/components/popover.js +2 -2
  715. package/dist/components/progress.js +2 -2
  716. package/dist/components/resources.js +1 -1
  717. package/dist/components/resources2.js +1 -1
  718. package/dist/components/resources3.js +1 -1
  719. package/dist/components/resources4.js +1 -1
  720. package/dist/components/scrim.js +2 -2
  721. package/dist/components/shared-list-render.js +1 -1
  722. package/dist/components/sortable.esm.js +1 -1
  723. package/dist/components/switch.js +2 -2
  724. package/dist/components/tab-nav.js +2 -2
  725. package/dist/components/tab-title.js +2 -2
  726. package/dist/components/tab.js +2 -2
  727. package/dist/components/tabs.js +2 -2
  728. package/dist/components/tile.js +2 -2
  729. package/dist/components/time-picker.js +2 -2
  730. package/dist/components/utils.js +1 -1
  731. package/dist/components/utils2.js +1 -1
  732. package/dist/custom-elements/index.js +147 -96
  733. package/dist/esm/{ExpandToggle-8e05fb87.js → ExpandToggle-89db2a2b.js} +5 -5
  734. package/dist/esm/{Heading-a8adcdb2.js → Heading-1ef3a15b.js} +2 -2
  735. package/dist/esm/{app-globals-2d2645ad.js → app-globals-0e0ef9c1.js} +2 -2
  736. package/dist/esm/{array-dac57ab9.js → array-ba186be3.js} +1 -1
  737. package/dist/esm/calcite-accordion_2.entry.js +9 -9
  738. package/dist/esm/calcite-action-bar.entry.js +12 -12
  739. package/dist/esm/calcite-action-group.entry.js +10 -10
  740. package/dist/esm/calcite-action-menu.entry.js +9 -9
  741. package/dist/esm/calcite-action-pad.entry.js +11 -11
  742. package/dist/esm/calcite-action.entry.js +8 -8
  743. package/dist/esm/calcite-alert.entry.js +8 -8
  744. package/dist/esm/calcite-avatar.entry.js +7 -7
  745. package/dist/esm/calcite-block_2.entry.js +12 -12
  746. package/dist/esm/calcite-button.entry.js +10 -10
  747. package/dist/esm/calcite-card.entry.js +8 -8
  748. package/dist/esm/calcite-checkbox.entry.js +10 -10
  749. package/dist/esm/calcite-chip.entry.js +8 -8
  750. package/dist/esm/calcite-color-picker_3.entry.js +13 -13
  751. package/dist/esm/calcite-combobox_3.entry.js +17 -17
  752. package/dist/esm/calcite-date-picker_4.entry.js +15 -15
  753. package/dist/esm/calcite-dropdown_3.entry.js +13 -13
  754. package/dist/esm/calcite-fab.entry.js +7 -7
  755. package/dist/esm/calcite-filter.entry.js +9 -9
  756. package/dist/esm/calcite-flow.entry.js +4 -4
  757. package/dist/esm/calcite-graph_2.entry.js +13 -13
  758. package/dist/esm/calcite-handle.entry.js +6 -6
  759. package/dist/esm/calcite-icon.entry.js +7 -7
  760. package/dist/esm/calcite-inline-editable.entry.js +9 -9
  761. package/dist/esm/calcite-input-date-picker.entry.js +14 -14
  762. package/dist/esm/calcite-input-message.entry.js +6 -6
  763. package/dist/esm/calcite-input-number.entry.js +24 -13
  764. package/dist/esm/calcite-input-text.entry.js +21 -10
  765. package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
  766. package/dist/esm/calcite-input.entry.js +30 -13
  767. package/dist/esm/calcite-label.entry.js +7 -7
  768. package/dist/esm/calcite-link.entry.js +7 -7
  769. package/dist/esm/calcite-list_3.entry.js +12 -12
  770. package/dist/esm/calcite-loader.entry.js +4 -4
  771. package/dist/esm/calcite-modal.entry.js +9 -9
  772. package/dist/esm/calcite-notice.entry.js +9 -9
  773. package/dist/esm/calcite-option_3.entry.js +12 -12
  774. package/dist/esm/calcite-pagination.entry.js +6 -6
  775. package/dist/esm/calcite-panel.entry.js +11 -11
  776. package/dist/esm/calcite-pick-list_3.entry.js +15 -15
  777. package/dist/esm/calcite-popover_2.entry.js +12 -12
  778. package/dist/esm/calcite-progress.entry.js +3 -3
  779. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  780. package/dist/esm/calcite-radio-button.entry.js +10 -10
  781. package/dist/esm/calcite-radio-group_2.entry.js +10 -10
  782. package/dist/esm/calcite-rating.entry.js +10 -10
  783. package/dist/esm/calcite-scrim.entry.js +3 -3
  784. package/dist/esm/calcite-shell_3.entry.js +11 -11
  785. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  786. package/dist/esm/calcite-split-button.entry.js +4 -4
  787. package/dist/esm/calcite-stepper_2.entry.js +8 -8
  788. package/dist/esm/calcite-switch.entry.js +10 -10
  789. package/dist/esm/calcite-tab_4.entry.js +11 -11
  790. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  791. package/dist/esm/calcite-tile.entry.js +9 -9
  792. package/dist/esm/calcite-tip_3.entry.js +11 -11
  793. package/dist/esm/calcite-tooltip_2.entry.js +8 -8
  794. package/dist/esm/calcite-tree_2.entry.js +9 -9
  795. package/dist/esm/calcite-value-list_2.entry.js +14 -14
  796. package/dist/esm/calcite.js +4 -4
  797. package/dist/esm/{conditionalSlot-5266c16f.js → conditionalSlot-82fed55b.js} +3 -3
  798. package/dist/esm/{debounce-e4b39d1e.js → debounce-4a7290cb.js} +1 -1
  799. package/dist/esm/{dom-942728de.js → dom-99d8b535.js} +3 -3
  800. package/dist/esm/{filter-8232d7a7.js → filter-cd625659.js} +2 -2
  801. package/dist/esm/{floating-ui-7aac14f4.js → floating-ui-17a0f74b.js} +2 -2
  802. package/dist/esm/{form-fc9e0390.js → form-07359549.js} +17 -5
  803. package/dist/esm/{guid-8024ea73.js → guid-1197009f.js} +1 -1
  804. package/dist/esm/{index-df524d81.js → index-a213d642.js} +1 -1
  805. package/dist/esm/index.js +1 -1
  806. package/dist/esm/{interactive-752abe05.js → interactive-446972da.js} +1 -1
  807. package/dist/esm/{interfaces-1d5fef2d.js → interfaces-5798781d.js} +1 -1
  808. package/dist/esm/{key-80ea5518.js → key-54141a15.js} +1 -1
  809. package/dist/esm/{label-e993cc3a.js → label-4aafeff8.js} +2 -2
  810. package/dist/esm/loader.js +4 -4
  811. package/dist/esm/{locale-cf79b9e9.js → locale-53122ce2.js} +2 -2
  812. package/dist/esm/{math-d58dcaa9.js → math-0a182878.js} +1 -1
  813. package/dist/esm/{observers-9aa6c361.js → observers-f86c9777.js} +1 -1
  814. package/dist/esm/{openCloseComponent-57cb7b69.js → openCloseComponent-8c8a9fd2.js} +1 -1
  815. package/dist/esm/{resources-0c8d9635.js → resources-1f535c57.js} +1 -1
  816. package/dist/esm/{resources-bb272078.js → resources-29b97f05.js} +1 -1
  817. package/dist/esm/{resources-c2a46c29.js → resources-56aec0fb.js} +5 -5
  818. package/dist/esm/{resources-7eb8d74e.js → resources-6460e85c.js} +3 -3
  819. package/dist/esm/{resources-ad52eea7.js → resources-fa652c04.js} +1 -1
  820. package/dist/esm/{sortable.esm-3b9c08a7.js → sortable.esm-754eda71.js} +1 -1
  821. package/dist/esm/{utils-f463b9bf.js → utils-dd1fac28.js} +1 -1
  822. package/dist/esm-es5/ExpandToggle-89db2a2b.js +6 -0
  823. package/dist/esm-es5/{Heading-a8adcdb2.js → Heading-1ef3a15b.js} +2 -2
  824. package/dist/esm-es5/{app-globals-2d2645ad.js → app-globals-0e0ef9c1.js} +2 -2
  825. package/dist/esm-es5/{array-dac57ab9.js → array-ba186be3.js} +1 -1
  826. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  827. package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
  828. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  829. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  830. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  831. package/dist/esm-es5/calcite-action.entry.js +2 -2
  832. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  833. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  834. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  835. package/dist/esm-es5/calcite-button.entry.js +2 -2
  836. package/dist/esm-es5/calcite-card.entry.js +2 -2
  837. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  838. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  839. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  840. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  841. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  842. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  843. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  844. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  845. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  846. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  847. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  848. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  849. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  850. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  851. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  852. package/dist/esm-es5/calcite-input-number.entry.js +3 -3
  853. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  854. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  855. package/dist/esm-es5/calcite-input.entry.js +2 -2
  856. package/dist/esm-es5/calcite-label.entry.js +2 -2
  857. package/dist/esm-es5/calcite-link.entry.js +2 -2
  858. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  859. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  860. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  861. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  862. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  863. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  864. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  865. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  866. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  867. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  868. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  869. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  870. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  871. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  872. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  873. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  874. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  875. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  876. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  877. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  878. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  879. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  880. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  881. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  882. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  883. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  884. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  885. package/dist/esm-es5/calcite.js +2 -2
  886. package/dist/esm-es5/{conditionalSlot-5266c16f.js → conditionalSlot-82fed55b.js} +2 -2
  887. package/dist/esm-es5/{debounce-e4b39d1e.js → debounce-4a7290cb.js} +1 -1
  888. package/dist/esm-es5/{dom-942728de.js → dom-99d8b535.js} +2 -2
  889. package/dist/esm-es5/{filter-8232d7a7.js → filter-cd625659.js} +2 -2
  890. package/dist/esm-es5/{floating-ui-7aac14f4.js → floating-ui-17a0f74b.js} +2 -2
  891. package/dist/esm-es5/form-07359549.js +6 -0
  892. package/dist/esm-es5/{guid-8024ea73.js → guid-1197009f.js} +1 -1
  893. package/dist/esm-es5/{index-df524d81.js → index-a213d642.js} +1 -1
  894. package/dist/esm-es5/index.js +1 -1
  895. package/dist/esm-es5/{interactive-752abe05.js → interactive-446972da.js} +1 -1
  896. package/dist/esm-es5/{interfaces-1d5fef2d.js → interfaces-5798781d.js} +1 -1
  897. package/dist/esm-es5/{key-80ea5518.js → key-54141a15.js} +1 -1
  898. package/dist/esm-es5/{label-e993cc3a.js → label-4aafeff8.js} +2 -2
  899. package/dist/esm-es5/loader.js +2 -2
  900. package/dist/esm-es5/{locale-cf79b9e9.js → locale-53122ce2.js} +2 -2
  901. package/dist/esm-es5/{math-d58dcaa9.js → math-0a182878.js} +1 -1
  902. package/dist/esm-es5/{observers-9aa6c361.js → observers-f86c9777.js} +1 -1
  903. package/dist/esm-es5/{openCloseComponent-57cb7b69.js → openCloseComponent-8c8a9fd2.js} +1 -1
  904. package/dist/esm-es5/{resources-0c8d9635.js → resources-1f535c57.js} +1 -1
  905. package/dist/esm-es5/{resources-bb272078.js → resources-29b97f05.js} +1 -1
  906. package/dist/esm-es5/{resources-c2a46c29.js → resources-56aec0fb.js} +2 -2
  907. package/dist/esm-es5/{resources-7eb8d74e.js → resources-6460e85c.js} +2 -2
  908. package/dist/esm-es5/{resources-ad52eea7.js → resources-fa652c04.js} +1 -1
  909. package/dist/esm-es5/{sortable.esm-3b9c08a7.js → sortable.esm-754eda71.js} +1 -1
  910. package/dist/esm-es5/{utils-f463b9bf.js → utils-dd1fac28.js} +1 -1
  911. package/dist/extras/docs-json.json +1 -1
  912. package/dist/loader/cdn.js +1 -1
  913. package/dist/loader/index.cjs.js +1 -1
  914. package/dist/loader/index.es2017.js +1 -1
  915. package/dist/loader/index.js +1 -1
  916. package/dist/types/components/input/input.d.ts +2 -1
  917. package/dist/types/components/input-number/input-number.d.ts +2 -1
  918. package/dist/types/components/input-text/input-text.d.ts +2 -1
  919. package/hydrate/index.js +147 -96
  920. package/package.json +1 -1
  921. package/dist/calcite/p-02c1df1f.entry.js +0 -6
  922. package/dist/calcite/p-03627f9c.system.entry.js +0 -6
  923. package/dist/calcite/p-04733be1.entry.js +0 -6
  924. package/dist/calcite/p-07acdbd5.system.entry.js +0 -6
  925. package/dist/calcite/p-0c304ff2.entry.js +0 -6
  926. package/dist/calcite/p-0e18add5.entry.js +0 -6
  927. package/dist/calcite/p-12ea5f87.system.entry.js +0 -6
  928. package/dist/calcite/p-14b8b5e0.system.entry.js +0 -6
  929. package/dist/calcite/p-16861b96.entry.js +0 -6
  930. package/dist/calcite/p-19f59269.entry.js +0 -6
  931. package/dist/calcite/p-1bed7d7b.js +0 -6
  932. package/dist/calcite/p-2aa0e29e.entry.js +0 -6
  933. package/dist/calcite/p-2b91e7a1.system.entry.js +0 -6
  934. package/dist/calcite/p-2cf621ba.system.entry.js +0 -6
  935. package/dist/calcite/p-2e0addc8.system.entry.js +0 -6
  936. package/dist/calcite/p-2e8245f8.system.entry.js +0 -6
  937. package/dist/calcite/p-2eb5e040.system.entry.js +0 -6
  938. package/dist/calcite/p-32866f95.system.entry.js +0 -6
  939. package/dist/calcite/p-329d7370.entry.js +0 -6
  940. package/dist/calcite/p-335664b7.entry.js +0 -6
  941. package/dist/calcite/p-34477b59.entry.js +0 -6
  942. package/dist/calcite/p-34db6fa6.entry.js +0 -6
  943. package/dist/calcite/p-39ff4364.entry.js +0 -6
  944. package/dist/calcite/p-3a648353.entry.js +0 -6
  945. package/dist/calcite/p-42c6373f.system.entry.js +0 -6
  946. package/dist/calcite/p-44919521.entry.js +0 -6
  947. package/dist/calcite/p-46ea5769.entry.js +0 -6
  948. package/dist/calcite/p-4a6154ef.system.entry.js +0 -6
  949. package/dist/calcite/p-4df41ed9.entry.js +0 -6
  950. package/dist/calcite/p-54ece3a2.system.entry.js +0 -6
  951. package/dist/calcite/p-54fad552.system.entry.js +0 -6
  952. package/dist/calcite/p-55b42ed9.entry.js +0 -6
  953. package/dist/calcite/p-55d079bb.entry.js +0 -6
  954. package/dist/calcite/p-5f6b5ec9.system.js +0 -6
  955. package/dist/calcite/p-659ba7cb.system.entry.js +0 -6
  956. package/dist/calcite/p-65e91422.entry.js +0 -6
  957. package/dist/calcite/p-66072067.entry.js +0 -6
  958. package/dist/calcite/p-6ba2d95e.system.entry.js +0 -6
  959. package/dist/calcite/p-72b40e33.system.entry.js +0 -6
  960. package/dist/calcite/p-7318d337.entry.js +0 -6
  961. package/dist/calcite/p-7431ea46.entry.js +0 -6
  962. package/dist/calcite/p-7ac09fce.system.entry.js +0 -6
  963. package/dist/calcite/p-7eccad40.system.entry.js +0 -6
  964. package/dist/calcite/p-8250b24e.system.entry.js +0 -6
  965. package/dist/calcite/p-86a499ce.system.entry.js +0 -6
  966. package/dist/calcite/p-8aefc4df.system.entry.js +0 -6
  967. package/dist/calcite/p-933f1dd0.system.entry.js +0 -6
  968. package/dist/calcite/p-956c1040.entry.js +0 -6
  969. package/dist/calcite/p-95833fd6.system.entry.js +0 -6
  970. package/dist/calcite/p-97246feb.system.entry.js +0 -6
  971. package/dist/calcite/p-9ccc2568.entry.js +0 -6
  972. package/dist/calcite/p-9d0efb25.system.entry.js +0 -6
  973. package/dist/calcite/p-9d441e14.entry.js +0 -6
  974. package/dist/calcite/p-9ec8965c.system.entry.js +0 -6
  975. package/dist/calcite/p-aac7a9ac.js +0 -6
  976. package/dist/calcite/p-afd37614.entry.js +0 -6
  977. package/dist/calcite/p-b6401bd8.system.entry.js +0 -6
  978. package/dist/calcite/p-bdb6ff14.system.entry.js +0 -6
  979. package/dist/calcite/p-be462901.system.entry.js +0 -6
  980. package/dist/calcite/p-c09108a9.system.entry.js +0 -6
  981. package/dist/calcite/p-c55c94c8.entry.js +0 -6
  982. package/dist/calcite/p-c61850af.entry.js +0 -6
  983. package/dist/calcite/p-c6bcaac4.system.entry.js +0 -6
  984. package/dist/calcite/p-c8e6fa7c.system.entry.js +0 -6
  985. package/dist/calcite/p-caa0d88e.system.entry.js +0 -6
  986. package/dist/calcite/p-cadcfc0c.system.entry.js +0 -6
  987. package/dist/calcite/p-cc932075.js +0 -6
  988. package/dist/calcite/p-cdfcbc54.system.entry.js +0 -6
  989. package/dist/calcite/p-cf5e4765.entry.js +0 -6
  990. package/dist/calcite/p-d17702cf.system.entry.js +0 -6
  991. package/dist/calcite/p-d215ee70.system.js +0 -6
  992. package/dist/calcite/p-d8b02f9a.system.entry.js +0 -6
  993. package/dist/calcite/p-dd7eed31.system.entry.js +0 -6
  994. package/dist/calcite/p-e0ba81f9.system.entry.js +0 -6
  995. package/dist/calcite/p-e1135305.system.js +0 -6
  996. package/dist/calcite/p-e508820d.system.entry.js +0 -6
  997. package/dist/calcite/p-ef578b85.system.entry.js +0 -6
  998. package/dist/calcite/p-f0d8c8bf.system.entry.js +0 -6
  999. package/dist/calcite/p-f3e969d4.entry.js +0 -6
  1000. package/dist/calcite/p-f4f07b80.system.entry.js +0 -6
  1001. package/dist/calcite/p-f83178b9.system.entry.js +0 -6
  1002. package/dist/calcite/p-f92796b1.system.entry.js +0 -6
  1003. package/dist/calcite/p-fa3b6ec4.system.entry.js +0 -6
  1004. package/dist/calcite/p-fcdf3be8.system.entry.js +0 -6
  1005. package/dist/calcite/p-fdc6689d.entry.js +0 -6
  1006. package/dist/calcite/p-fe7f6d76.entry.js +0 -6
  1007. package/dist/esm-es5/ExpandToggle-8e05fb87.js +0 -6
  1008. package/dist/esm-es5/form-fc9e0390.js +0 -6
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,n,a){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function o(t){try{c(a.next(t))}catch(t){r(t)}}function s(t){try{c(a["throw"](t))}catch(t){r(t)}}function c(t){t.done?n(t.value):i(t.value).then(o,s)}c((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(o){if(a)throw new TypeError("Generator is already executing.");while(n)try{if(a=1,i&&(r=o[0]&2?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;if(i=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){n.label=o[1];break}if(o[0]===6&&n.label<r[1]){n.label=r[1];r=o;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(o);break}if(r[2])n.ops.pop();n.trys.pop();continue}o=e.call(t,n)}catch(t){o=[6,t];i=0}finally{a=r=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
+ * v1.0.0-next.566
6
+ */System.register(["./p-9acc1d81.system.js","./p-a043509b.system.js","./p-aea55c77.system.js","./p-fb80d78d.system.js","./p-ac1e10c9.system.js","./p-34c101f1.system.js","./p-9544382c.system.js","./p-c1e1d528.system.js"],(function(t){"use strict";var e,n,a,i,r,o,s,c,l,u,f,p,d;return{setters:[function(t){e=t.r;n=t.c;a=t.h;i=t.F;r=t.g},function(t){o=t.g},function(t){s=t.c;c=t.d},function(t){l=t.c;u=t.d;f=t.H},function(t){p=t.u},function(t){d=t.i},function(){},function(){}],execute:function(){var m={rating:"Rating",stars:"Stars: ${num}"};var h="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;inline-size:-moz-fit-content;inline-size:-webkit-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}:host([read-only]){pointer-events:none}.fieldset{margin:0px;display:-ms-flexbox;display:flex;border-width:0px;padding:0px}.wrapper{display:inline-block;-webkit-margin-end:var(--calcite-rating-spacing-unit);margin-inline-end:var(--calcite-rating-spacing-unit)}.star{position:relative;display:-ms-flexbox;display:flex;cursor:pointer;outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-input)}.focused{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected,:host([read-only]) .average,:host([read-only]) .fraction{color:var(--calcite-ui-brand)}:host .fraction{pointer-events:none;position:absolute;inset-block-start:0px;overflow:hidden;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:var(--calcite-font-weight-bold)}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){-webkit-margin-start:var(--calcite-rating-spacing-unit);margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var v=t("calcite_rating",function(){function t(t){var a=this;e(this,t);this.calciteRatingChange=n(this,"calciteRatingChange",6);this.scale="m";this.value=0;this.readOnly=false;this.disabled=false;this.showChip=false;this.intlRating=m.rating;this.intlStars=m.stars;this.required=false;this.onKeyboardPressed=function(t){if(!a.required&&d(t.key)){t.preventDefault();a.updateValue(0)}};this.onFocusChange=function(t){a.hasFocus=true;if(!a.required&&a.focusValue===t){a.updateValue(0)}else{a.focusValue=t}};this.guid="calcite-ratings-".concat(o())}t.prototype.connectedCallback=function(){s(this);l(this)};t.prototype.disconnectedCallback=function(){c(this);u(this)};t.prototype.componentDidRender=function(){p(this)};t.prototype.blurHandler=function(){this.hasFocus=false};t.prototype.renderStars=function(){var t=this;return[1,2,3,4,5].map((function(e){var n=t.value>=e;var i=t.average&&!t.value&&e<=t.average;var r=e<=t.hoverValue;var o=t.average&&t.average+1-e;var s=!t.value&&!r&&o>0&&o<1;var c=t.hasFocus&&t.focusValue===e;return a("span",{class:{wrapper:true}},a("label",{class:{star:true,focused:c,selected:n,average:i,hovered:r,partial:s},htmlFor:"".concat(t.guid,"-").concat(e),onMouseOver:function(){t.hoverValue=e}},a("calcite-icon",{"aria-hidden":"true",class:"icon",icon:n||i||t.readOnly?"star-f":"star",scale:t.scale}),s&&a("div",{class:"fraction",style:{width:"".concat(o*100,"%")}},a("calcite-icon",{icon:"star-f",scale:t.scale})),a("span",{class:"visually-hidden"},t.intlStars.replace("${num}","".concat(e)))),a("input",{checked:e===t.value,class:"visually-hidden",disabled:t.disabled||t.readOnly,id:"".concat(t.guid,"-").concat(e),name:t.guid,onChange:function(){return t.updateValue(e)},onClick:function(t){return t.stopPropagation()},onFocus:function(){return t.onFocusChange(e)},onKeyDown:t.onKeyboardPressed,ref:function(n){return(e===1||e===t.value)&&(t.inputFocusRef=n)},type:"radio",value:e}))}))};t.prototype.render=function(){var t=this;var e=this,n=e.disabled,r=e.intlRating,o=e.showChip,s=e.scale,c=e.count,l=e.average;return a(i,null,a("fieldset",{class:"fieldset",disabled:n,onBlur:function(){return t.hoverValue=null},onMouseLeave:function(){return t.hoverValue=null},onTouchEnd:function(){return t.hoverValue=null}},a("legend",{class:"visually-hidden"},r),this.renderStars()),(c||l)&&o?a("calcite-chip",{scale:s,value:c===null||c===void 0?void 0:c.toString()},!!l&&a("span",{class:"number--average"},l.toString()),!!c&&a("span",{class:"number--count"},"(",c===null||c===void 0?void 0:c.toString(),")")):null,a(f,{component:this}))};t.prototype.onLabelClick=function(){this.setFocus()};t.prototype.updateValue=function(t){this.value=t;this.calciteRatingChange.emit({value:t})};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.inputFocusRef)===null||t===void 0?void 0:t.focus();return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());v.style=h}}}));
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,a,i){function n(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,r){function o(t){try{l(i.next(t))}catch(t){r(t)}}function s(t){try{l(i["throw"](t))}catch(t){r(t)}}function l(t){t.done?a(t.value):n(t.value).then(o,s)}l((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,n,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return l([t,e])}}function l(o){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;n=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(o[0]===6&&a.label<r[1]){a.label=r[1];r=o;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(o);break}if(r[2])a.ops.pop();a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t];n=0}finally{i=r=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
+ * v1.0.0-next.566
6
+ */System.register(["./p-9acc1d81.system.js","./p-070a835c.system.js","./p-083ad3f7.system.js","./p-e48ec762.system.js","./p-ac1e10c9.system.js","./p-a043509b.system.js","./p-9544382c.system.js","./p-51367d6d.system.js","./p-b15af4f1.system.js","./p-082f6810.system.js","./p-c1e1d528.system.js"],(function(t){"use strict";var e,a,i,n,r,o,s,l,c,d,u,f,m,h,p,b,w,v,g,y,k,x,D,_,A,I,S,L,C,E,H,j,F,z;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.g;r=t.H},function(t){o=t.S},function(t){s=t.g;l=t.m;c=t.d;d=t.a;u=t.s;f=t.h;m=t.b;h=t.k;p=t.c;b=t.i;w=t.e;v=t.f;g=t.j;y=t.r;k=t.l;x=t.n;D=t.o;_=t.p;A=t.L;I=t.I;S=t.C;L=t.S},function(t){C=t.c},function(t){E=t.u},function(t){H=t.g},function(t){j=t.g},function(t){F=t.c;z=t.d},function(){},function(){},function(){}],execute:function(){var R={container:"container",handle:"handle"};var P;(function(t){t["grip"]="grip"})(P||(P={}));function U(t,e,a){var i=a.items,n=a.intlDragHandleIdle,r=a.intlDragHandleActive,o=a.intlDragHandleChange,l=a.intlDragHandleCommit;var c=i.length;var d=s(a,t)+1;if(e==="idle"){var u=n?T(n,t.label,d,c):"".concat(t.label,", press space and use arrow keys to reorder content. Current position ").concat(d," of ").concat(c,".");return u}else if(e==="active"){var f=r?T(r,t.label,d,c):"Reordering ".concat(t.label,", current position ").concat(d," of ").concat(c,".");return f}else if(e==="change"){var m=o?T(o,t.label,d,c):"".concat(t.label,", new position ").concat(d," of ").concat(c,". Press space to confirm.");return m}else{var h=l?T(l,t.label,d,c):"".concat(t.label,", current position ").concat(d," of ").concat(c,".");return h}}function O(t){var e=t.composedPath().find((function(t){var e;return((e=t.dataset)===null||e===void 0?void 0:e.jsHandle)!==undefined}));var a=t.composedPath().find((function(t){var e;return((e=t.tagName)===null||e===void 0?void 0:e.toLowerCase())==="calcite-value-list-item"}));return{handle:e,item:a}}function T(t,e,a,i){var n=t.replace("${position}",a.toString());var r=n.replace("${item.label}",e);return r.replace("${total}",i.toString())}var B="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-value-list-item:last-of-type{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:-webkit-sticky;position:sticky;inset-block-start:0px;z-index:300}calcite-filter{-webkit-margin-after:1px;margin-block-end:1px}";var K=t("calcite_value_list",function(){function t(t){var i=this;e(this,t);this.calciteListChange=a(this,"calciteListChange",6);this.calciteListOrderChange=a(this,"calciteListOrderChange",6);this.disabled=false;this.dragEnabled=false;this.filterEnabled=false;this.loading=false;this.multiple=false;this.selectionFollowsFocus=false;this.selectedValues=new Map;this.dataForFilter=[];this.lastSelectedItem=null;this.mutationObserver=C("mutation",l.bind(this));this.setFilterEl=function(t){i.filterEl=t};this.deselectRemovedItems=c.bind(this);this.deselectSiblingItems=d.bind(this);this.selectSiblings=u.bind(this);this.handleFilter=f.bind(this);this.getItemData=m.bind(this);this.keyDownHandler=function(t){if(t.defaultPrevented){return}var e=O(t),a=e.handle,n=e.item;if(a&&!n.handleActivated&&t.key===" "){i.updateScreenReaderText(U(n,"commit",i))}if(!a||!n.handleActivated){h.call(i,t);return}var r=i.items;if(t.key===" "){i.updateScreenReaderText(U(n,"active",i))}if(t.key!=="ArrowUp"&&t.key!=="ArrowDown"||r.length<=1){return}t.preventDefault();var o=i.el;var s=p(i,n,t.key==="ArrowUp"?"up":"down");if(s===r.length-1){o.appendChild(n)}else{var l=o.children[s];var c=l===n.nextElementSibling?l.nextElementSibling:l;o.insertBefore(n,c)}i.items=i.getItems();i.calciteListOrderChange.emit(i.items.map((function(t){var e=t.value;return e})));requestAnimationFrame((function(){return a===null||a===void 0?void 0:a.focus()}));n.handleActivated=true;i.updateHandleAriaLabel(a,U(n,"change",i))};this.storeAssistiveEl=function(t){i.assistiveTextEl=t};this.handleFocusIn=function(t){var e=O(t),a=e.handle,n=e.item;if(!(n===null||n===void 0?void 0:n.handleActivated)&&n&&a){i.updateHandleAriaLabel(a,U(n,"idle",i))}}}t.prototype.connectedCallback=function(){b.call(this);w.call(this)};t.prototype.componentDidLoad=function(){this.setUpDragAndDrop()};t.prototype.componentDidRender=function(){E(this)};t.prototype.disconnectedCallback=function(){v.call(this);this.cleanUpDragAndDrop()};t.prototype.calciteListFocusOutHandler=function(t){g.call(this,t)};t.prototype.calciteListItemRemoveHandler=function(t){y.call(this,t)};t.prototype.calciteListItemChangeHandler=function(t){k.call(this,t)};t.prototype.calciteInternalListItemPropsChangeHandler=function(t){t.stopPropagation();this.setUpFilter()};t.prototype.calciteInternalListItemValueChangeHandler=function(t){x.call(this,t);t.stopPropagation()};t.prototype.getItems=function(){return Array.from(this.el.querySelectorAll("calcite-value-list-item"))};t.prototype.setUpItems=function(){D.call(this,"calcite-value-list-item")};t.prototype.setUpFilter=function(){if(this.filterEnabled){this.dataForFilter=this.getItemData()}};t.prototype.setUpDragAndDrop=function(){var t=this;this.cleanUpDragAndDrop();if(!this.dragEnabled){return}this.sortable=o.create(this.el,{dataIdAttr:"id",handle:".".concat(R.handle),draggable:"calcite-value-list-item",group:this.group,onSort:function(){t.items=Array.from(t.el.querySelectorAll("calcite-value-list-item"));var e=t.items.map((function(t){return t.value}));t.calciteListOrderChange.emit(e)}})};t.prototype.cleanUpDragAndDrop=function(){var t;(t=this.sortable)===null||t===void 0?void 0:t.destroy();this.sortable=null};t.prototype.handleBlur=function(){if(this.dragEnabled){this.updateScreenReaderText("")}};t.prototype.getSelectedItems=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.selectedValues]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,_.call(this,t)]}))}))};t.prototype.getIconType=function(){var t=null;if(this.dragEnabled){t=P.grip}return t};t.prototype.updateScreenReaderText=function(t){this.assistiveTextEl.textContent=t};t.prototype.updateHandleAriaLabel=function(t,e){t.ariaLabel=e};t.prototype.render=function(){return i(A,{onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,props:this})};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());K.style=B;var q={drag:"drag"};var V={actionsEnd:"actions-end",actionsStart:"actions-start"};var $="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{-webkit-margin-after:1px;margin-block-end:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition:background-color var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;-ms-flex-positive:1;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:-ms-flexbox;display:flex;cursor:move;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-ui-text-1);color:var(--calcite-ui-border-1);outline-color:transparent}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";var G=t("calcite_value_list_item",function(){function t(t){var i=this;e(this,t);this.calciteListItemRemove=a(this,"calciteListItemRemove",7);this.disabled=false;this.disableDeselect=false;this.nonInteractive=false;this.handleActivated=false;this.icon=null;this.removable=false;this.selected=false;this.pickListItem=null;this.guid="calcite-value-list-item-".concat(H());this.getPickListRef=function(t){return i.pickListItem=t};this.handleKeyDown=function(t){if(t.key===" "){i.handleActivated=!i.handleActivated}};this.handleBlur=function(){i.handleActivated=false};this.handleSelectChange=function(t){i.selected=t.detail.selected}}t.prototype.connectedCallback=function(){F(this)};t.prototype.disconnectedCallback=function(){z(this)};t.prototype.componentDidRender=function(){E(this,this.el.closest("calcite-value-list")?"managed":false)};t.prototype.toggleSelected=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.pickListItem.toggleSelected(t);return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.pickListItem)===null||t===void 0?void 0:t.setFocus();return[2]}))}))};t.prototype.calciteListItemChangeHandler=function(t){t.detail.item=this.el};t.prototype.renderActionsEnd=function(){var t=this.el;var e=j(t,V.actionsEnd);return e?i("slot",{name:V.actionsEnd,slot:L.actionsEnd}):null};t.prototype.renderActionsStart=function(){var t=this.el;var e=j(t,V.actionsStart);return e?i("slot",{name:V.actionsStart,slot:L.actionsStart}):null};t.prototype.renderHandle=function(){var t;var e=this.icon;if(e===I.grip){return i("span",{class:(t={},t[S.handle]=true,t[S.handleActivated]=this.handleActivated,t),"data-js-handle":true,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"button",tabindex:"0"},i("calcite-icon",{icon:q.drag,scale:"s"}))}};t.prototype.render=function(){return i(r,{id:this.el.id||this.guid},this.renderHandle(),i("calcite-pick-list-item",{description:this.description,disableDeselect:this.disableDeselect,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,ref:this.getPickListRef,removable:this.removable,selected:this.selected,value:this.value},this.renderActionsStart(),this.renderActionsEnd()))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());G.style=$}}}));
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{l(a.next(t))}catch(t){r(t)}}function o(t){try{l(a["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):n(t.value).then(s,o)}l((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(e){return l([t,e])}}function l(s){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(r=s[0]&2?n["return"]:s[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;if(n=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t];n=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[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
+ * v1.0.0-next.566
6
+ */System.register(["./p-9acc1d81.system.js","./p-e48ec762.system.js","./p-cd478f6a.system.js","./p-34c101f1.system.js"],(function(t){"use strict";var e,i,a,n,r,s,o;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.F;r=t.g},function(t){s=t.c},function(t){o=t.l},function(){}],execute:function(){var l=["lang"];var c=new Map;var u;function p(t,e){var i=t.el;var a={};e.filter((function(t){return!!l.includes(t)&&!!i.hasAttribute(t)})).forEach((function(t){var e=i.getAttribute(t);if(e!==null){a[t]=e}}));t.globalAttributes=a}function h(t){t.forEach((function(t){var e=t.target;var i=c.get(e),a=i[0],n=i[1];p(a,n.attributeFilter)}))}function m(t,e){var i=t.el;var a={attributeFilter:e};c.set(i,[t,a]);p(t,e);if(!u){u=s("mutation",h)}u.observe(i,a)}function f(t){c.delete(t.el);h(u.takeRecords());u.disconnect();for(var e=0,i=c.entries();e<i.length;e++){var a=i[e],n=a[0],r=a[1],s=r[1];u.observe(n,s)}}var d={page:"page",selected:"is-selected",previous:"previous",next:"next",disabled:"is-disabled",ellipsis:"ellipsis",ellipsisStart:"ellipsis--start",ellipsisEnd:"ellipsis--end"};var b={nextLabel:"Next",previousLabel:"Previous"};var v="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-inline:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-inline:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-inline:1rem}:host{display:-ms-flexbox;display:flex;-webkit-writing-mode:horizontal-tb;-ms-writing-mode:lr-tb;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-block:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-block-end-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-end-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{-webkit-margin-end:0px;margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing)}.ellipsis{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;color:var(--calcite-ui-text-3)}";var g=5;var y=t("calcite_pagination",function(){function t(t){var a=this;e(this,t);this.calcitePaginationUpdate=i(this,"calcitePaginationUpdate",6);this.calcitePaginationChange=i(this,"calcitePaginationChange",6);this.num=20;this.start=1;this.total=0;this.textLabelNext=b.nextLabel;this.textLabelPrevious=b.previousLabel;this.scale="m";this.globalAttributes={};this.previousClicked=function(){a.previousPage().then();a.emitUpdate()};this.nextClicked=function(){a.nextPage();a.emitUpdate()}}t.prototype.connectedCallback=function(){m(this,["lang"])};t.prototype.disconnectedCallback=function(){f(this)};t.prototype.nextPage=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.start=Math.min(this.getLastStart(),this.start+this.num);return[2]}))}))};t.prototype.previousPage=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.start=Math.max(1,this.start-this.num);return[2]}))}))};t.prototype.getLastStart=function(){var t=this,e=t.total,i=t.num;var a=e%i===0?e-i:Math.floor(e/i)*i;return a+1};t.prototype.showLeftEllipsis=function(){return Math.floor(this.start/this.num)>3};t.prototype.showRightEllipsis=function(){return(this.total-this.start)/this.num>3};t.prototype.emitUpdate=function(){var t={start:this.start,total:this.total,num:this.num};this.calcitePaginationChange.emit(t);this.calcitePaginationUpdate.emit(t)};t.prototype.renderPages=function(){var t=this;var e=this.getLastStart();var i;var a;if(this.total/this.num<=g){a=1+this.num;i=e-this.num}else{if(this.start/this.num<g-1){a=1+this.num;i=1+4*this.num}else{if(this.start+3*this.num>=this.total){a=e-4*this.num;i=e-this.num}else{a=this.start-this.num;i=this.start+this.num}}}var n=[];while(a<=i){n.push(a);a=a+this.num}return n.map((function(e){return t.renderPage(e)}))};t.prototype.renderPage=function(t){var e;var i=this;var n=this.globalAttributes["lang"]||document.documentElement.lang||"en";var r=Math.floor(t/this.num)+(this.num===1?0:1);return a("button",{class:(e={},e[d.page]=true,e[d.selected]=t===this.start,e),onClick:function(){i.start=t;i.emitUpdate()}},o(r.toString(),n,true))};t.prototype.renderLeftEllipsis=function(){if(this.total/this.num>g&&this.showLeftEllipsis()){return a("span",{class:"".concat(d.ellipsis," ").concat(d.ellipsisStart)},"…")}};t.prototype.renderRightEllipsis=function(){if(this.total/this.num>g&&this.showRightEllipsis()){return a("span",{class:"".concat(d.ellipsis," ").concat(d.ellipsisEnd)},"…")}};t.prototype.render=function(){var t,e;var i=this,r=i.total,s=i.num,o=i.start;var l=s===1?o<=s:o<s;var c=s===1?o+s>r:o+s>r;return a(n,null,a("button",{"aria-label":this.textLabelPrevious,class:(t={},t[d.previous]=true,t[d.disabled]=l,t),disabled:l,onClick:this.previousClicked},a("calcite-icon",{flipRtl:true,icon:"chevronLeft",scale:"s"})),r>s?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),a("button",{"aria-label":this.textLabelNext,class:(e={},e[d.next]=true,e[d.disabled]=c,e),disabled:c,onClick:this.nextClicked},a("calcite-icon",{flipRtl:true,icon:"chevronRight",scale:"s"})))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());y.style=v}}}));
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.563
4
+ * v1.0.0-next.566
5
5
  */
6
- import{r as t,c as e,f as i,h as a,H as n,g as r}from"./p-52dfcd0e.js";import{b as o,f as s,c as l,a as c,p as m,F as d}from"./p-ca3be02c.js";import{g as f}from"./p-083a9c56.js";import{t as p,q as h}from"./p-830f1cca.js";import{c as b,d as w}from"./p-46a5526d.js";import{H as u}from"./p-1bed7d7b.js";import{i as k}from"./p-b0527d22.js";import{c as y}from"./p-b1edb73a.js";import"./p-7636c46c.js";const x=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=t=>{const{registeredElements:e}=this,i=t.find((t=>e.has(t)));return e.get(i)},this.togglePopovers=t=>{const e=t.composedPath(),i=this.queryPopover(e);!i||i.triggerDisabled?Array.from(this.registeredElements.values()).filter((t=>t.autoClose&&t.open&&!e.includes(t))).forEach((t=>t.toggle(!1))):i.toggle()},this.keyHandler=t=>{!t.defaultPrevented&&k(t.key)&&this.togglePopovers(t)},this.clickHandler=t=>{this.togglePopovers(t)}}registerElement(t,e){this.registeredElementCount++,this.registeredElements.set(t,e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},v=class{constructor(i){t(this,i),this.calcitePopoverBeforeClose=e(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=e(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=e(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=e(this,"calcitePopoverOpen",6),this.autoClose=!1,this.closeButton=!1,this.dismissible=!1,this.closable=!1,this.disableFlip=!1,this.disablePointer=!1,this.offsetDistance=o,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.triggerDisabled=!1,this.intlClose="Close",this.guid=`calcite-popover-${f()}`,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t,b(this)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?s(e,t):null},this.setUpReferenceElement=()=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),l(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:e,effectiveReferenceElement:i}=this;e&&!i&&console.warn(`${t.tagName}: reference-element id "${e}" was not found.`,{el:t}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:t,open:e}=this;t&&"setAttribute"in t&&t.setAttribute("aria-expanded",p(e))},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const e=this.getId();"setAttribute"in t&&t.setAttribute("aria-controls",e),x.registerElement(t,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&(t.removeAttribute("aria-controls"),t.removeAttribute("aria-expanded")),x.unregisterElement(t))},this.hide=()=>{this.open=!1},this.storeArrowEl=t=>{this.arrowEl=t,this.reposition()}}handleDismissible(t){this.closable=t}handleClosable(t){this.dismissible=t}flipPlacementsHandler(){this.setFilteredPlacements()}offsetDistanceOffsetHandler(){this.reposition()}offsetSkiddingHandler(){this.reposition()}openHandler(){this.reposition(),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition()}placementHandler(){this.reposition()}referenceElementHandler(){this.setUpReferenceElement(),this.reposition()}connectedCallback(){l(this,this.effectiveReferenceElement,this.el),this.setFilteredPlacements(),b(this),this.dismissible&&this.handleDismissible(this.dismissible),this.closable&&this.handleClosable(this.closable)}componentWillLoad(){this.setUpReferenceElement()}componentDidLoad(){this.reposition()}disconnectedCallback(){this.removeReferences(),c(this,this.effectiveReferenceElement,this.el),w(this)}async reposition(){const{el:t,effectiveReferenceElement:e,placement:i,overlayPositioning:a,disableFlip:n,flipPlacements:r,offsetDistance:o,offsetSkidding:s,arrowEl:l}=this;return m({floatingEl:t,referenceEl:e,overlayPositioning:a,placement:i,disableFlip:n,flipPlacements:r,offsetDistance:o,offsetSkidding:s,arrowEl:l,type:"popover"})}async setFocus(t){var e;const{closeButtonEl:a}=this;if("close-button"===t&&a)return i(a),void a.setFocus();null===(e=this.el)||void 0===e||e.focus()}async toggle(t=!this.open){this.open=t}getReferenceElement(){const{referenceElement:t,el:e}=this;return("string"==typeof t?h(e,{id:t}):t)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit()}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit()}renderCloseButton(){const{closeButton:t,intlClose:e,heading:i,closable:n}=this;return n||t?a("div",{class:"close-button-container"},a("calcite-action",{class:"close-button",onClick:this.hide,ref:t=>this.closeButtonEl=t,scale:i?"s":"m",text:e},a("calcite-icon",{icon:"x",scale:i?"s":"m"}))):null}renderHeader(){const{heading:t,headingLevel:e}=this,i=t?a(u,{class:"heading",level:e||2},t):null;return i?a("div",{class:"header"},i,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:t,heading:e,label:i,open:r,disablePointer:o}=this,s=t&&r,l=!s,c=o?null:a("div",{class:"arrow",ref:this.storeArrowEl});return a(n,{"aria-hidden":p(l),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":l,id:this.getId(),role:"dialog"},a("div",{class:{[d.animation]:!0,[d.animationActive]:s},ref:this.setTransitionEl},c,a("div",{class:{"has-header":!!e,container:!0}},this.renderHeader(),a("div",{class:"content"},a("slot",null)),e?null:this.renderCloseButton())))}get el(){return r(this)}static get watchers(){return{dismissible:["handleDismissible"],closable:["handleClosable"],flipPlacements:["flipPlacementsHandler"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};v.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.calcite-floating-ui-anim{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}.arrow::before{content:"";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-placement^=top]) .arrow{inset-block-end:-4px}:host([data-placement^=bottom]) .arrow{inset-block-start:-4px}:host([data-placement^=left]) .arrow{direction:ltr;inset-inline-end:-4px}:host([data-placement^=right]) .arrow{direction:ltr;inset-inline-start:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:center;align-self:center;white-space:normal;padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}.container.has-header{-ms-flex-direction:column;flex-direction:column}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex:0 0 auto;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}';const g=class{constructor(e){t(this,e),this.mutationObserver=y("mutation",(()=>this.setAutoClose())),this.selector="[data-calcite-popover-reference]",this.autoClose=!1}autoCloseHandler(){this.setAutoClose()}connectedCallback(){var t;this.setAutoClose(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){return a("slot",null)}setAutoClose(){const{autoClose:t,el:e}=this;e.querySelectorAll("calcite-popover").forEach((e=>e.autoClose=t))}get el(){return r(this)}static get watchers(){return{autoClose:["autoCloseHandler"]}}};g.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:relative;display:block}";export{v as calcite_popover,g as calcite_popover_manager}
6
+ import{r as t,c as e,f as i,h as a,H as n,g as r}from"./p-7ee1982a.js";import{b as o,f as s,c as l,a as c,p as m,F as d}from"./p-d71fa37a.js";import{g as f}from"./p-0699940b.js";import{t as p,q as h}from"./p-6a91f07f.js";import{c as b,d as w}from"./p-0861b5c3.js";import{H as u}from"./p-92f27a0c.js";import{i as k}from"./p-ace0a7db.js";import{c as y}from"./p-9e15dd6e.js";import"./p-c48abc3a.js";const x=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=t=>{const{registeredElements:e}=this,i=t.find((t=>e.has(t)));return e.get(i)},this.togglePopovers=t=>{const e=t.composedPath(),i=this.queryPopover(e);!i||i.triggerDisabled?Array.from(this.registeredElements.values()).filter((t=>t.autoClose&&t.open&&!e.includes(t))).forEach((t=>t.toggle(!1))):i.toggle()},this.keyHandler=t=>{!t.defaultPrevented&&k(t.key)&&this.togglePopovers(t)},this.clickHandler=t=>{this.togglePopovers(t)}}registerElement(t,e){this.registeredElementCount++,this.registeredElements.set(t,e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},v=class{constructor(i){t(this,i),this.calcitePopoverBeforeClose=e(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=e(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=e(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=e(this,"calcitePopoverOpen",6),this.autoClose=!1,this.closeButton=!1,this.dismissible=!1,this.closable=!1,this.disableFlip=!1,this.disablePointer=!1,this.offsetDistance=o,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.triggerDisabled=!1,this.intlClose="Close",this.guid=`calcite-popover-${f()}`,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t,b(this)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?s(e,t):null},this.setUpReferenceElement=()=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),l(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:e,effectiveReferenceElement:i}=this;e&&!i&&console.warn(`${t.tagName}: reference-element id "${e}" was not found.`,{el:t}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:t,open:e}=this;t&&"setAttribute"in t&&t.setAttribute("aria-expanded",p(e))},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const e=this.getId();"setAttribute"in t&&t.setAttribute("aria-controls",e),x.registerElement(t,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&(t.removeAttribute("aria-controls"),t.removeAttribute("aria-expanded")),x.unregisterElement(t))},this.hide=()=>{this.open=!1},this.storeArrowEl=t=>{this.arrowEl=t,this.reposition()}}handleDismissible(t){this.closable=t}handleClosable(t){this.dismissible=t}flipPlacementsHandler(){this.setFilteredPlacements()}offsetDistanceOffsetHandler(){this.reposition()}offsetSkiddingHandler(){this.reposition()}openHandler(){this.reposition(),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition()}placementHandler(){this.reposition()}referenceElementHandler(){this.setUpReferenceElement(),this.reposition()}connectedCallback(){l(this,this.effectiveReferenceElement,this.el),this.setFilteredPlacements(),b(this),this.dismissible&&this.handleDismissible(this.dismissible),this.closable&&this.handleClosable(this.closable)}componentWillLoad(){this.setUpReferenceElement()}componentDidLoad(){this.reposition()}disconnectedCallback(){this.removeReferences(),c(this,this.effectiveReferenceElement,this.el),w(this)}async reposition(){const{el:t,effectiveReferenceElement:e,placement:i,overlayPositioning:a,disableFlip:n,flipPlacements:r,offsetDistance:o,offsetSkidding:s,arrowEl:l}=this;return m({floatingEl:t,referenceEl:e,overlayPositioning:a,placement:i,disableFlip:n,flipPlacements:r,offsetDistance:o,offsetSkidding:s,arrowEl:l,type:"popover"})}async setFocus(t){var e;const{closeButtonEl:a}=this;if("close-button"===t&&a)return i(a),void a.setFocus();null===(e=this.el)||void 0===e||e.focus()}async toggle(t=!this.open){this.open=t}getReferenceElement(){const{referenceElement:t,el:e}=this;return("string"==typeof t?h(e,{id:t}):t)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit()}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit()}renderCloseButton(){const{closeButton:t,intlClose:e,heading:i,closable:n}=this;return n||t?a("div",{class:"close-button-container"},a("calcite-action",{class:"close-button",onClick:this.hide,ref:t=>this.closeButtonEl=t,scale:i?"s":"m",text:e},a("calcite-icon",{icon:"x",scale:i?"s":"m"}))):null}renderHeader(){const{heading:t,headingLevel:e}=this,i=t?a(u,{class:"heading",level:e||2},t):null;return i?a("div",{class:"header"},i,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:t,heading:e,label:i,open:r,disablePointer:o}=this,s=t&&r,l=!s,c=o?null:a("div",{class:"arrow",ref:this.storeArrowEl});return a(n,{"aria-hidden":p(l),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":l,id:this.getId(),role:"dialog"},a("div",{class:{[d.animation]:!0,[d.animationActive]:s},ref:this.setTransitionEl},c,a("div",{class:{"has-header":!!e,container:!0}},this.renderHeader(),a("div",{class:"content"},a("slot",null)),e?null:this.renderCloseButton())))}get el(){return r(this)}static get watchers(){return{dismissible:["handleDismissible"],closable:["handleClosable"],flipPlacements:["flipPlacementsHandler"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};v.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.calcite-floating-ui-anim{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}.arrow::before{content:"";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-placement^=top]) .arrow{inset-block-end:-4px}:host([data-placement^=bottom]) .arrow{inset-block-start:-4px}:host([data-placement^=left]) .arrow{direction:ltr;inset-inline-end:-4px}:host([data-placement^=right]) .arrow{direction:ltr;inset-inline-start:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:center;align-self:center;white-space:normal;padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}.container.has-header{-ms-flex-direction:column;flex-direction:column}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex:0 0 auto;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}';const g=class{constructor(e){t(this,e),this.mutationObserver=y("mutation",(()=>this.setAutoClose())),this.selector="[data-calcite-popover-reference]",this.autoClose=!1}autoCloseHandler(){this.setAutoClose()}connectedCallback(){var t;this.setAutoClose(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){return a("slot",null)}setAutoClose(){const{autoClose:t,el:e}=this;e.querySelectorAll("calcite-popover").forEach((e=>e.autoClose=t))}get el(){return r(this)}static get watchers(){return{autoClose:["autoCloseHandler"]}}};g.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";export{v as calcite_popover,g as calcite_popover_manager}
@@ -2,5 +2,5 @@ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t)
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
- * v1.0.0-next.563
6
- */System.register(["./p-532ba13d.system.js"],(function(t){"use strict";var e;return{setters:[function(t){e=t.a}],execute:function(){var r=this;t({a:Dt,c:kt,f:Lt,p:Tt});function n(t){return t.split("-")[0]}function i(t){return t.split("-")[1]}function a(t){return["top","bottom"].includes(n(t))?"x":"y"}function o(t){return t==="y"?"height":"width"}function l(t,e,r){var l=t.reference,s=t.floating;var f=l.x+l.width/2-s.width/2;var u=l.y+l.height/2-s.height/2;var c=a(e);var d=o(c);var v=l[d]/2-s[d]/2;var p=n(e);var h=c==="x";var g;switch(p){case"top":g={x:f,y:l.y-s.height};break;case"bottom":g={x:f,y:l.y+l.height};break;case"right":g={x:l.x+l.width,y:u};break;case"left":g={x:l.x-s.width,y:u};break;default:g={x:l.x,y:l.y}}switch(i(e)){case"start":g[c]-=v*(r&&h?-1:1);break;case"end":g[c]+=v*(r&&h?-1:1);break}return g}var s=function(t,e,n){return __awaiter(r,void 0,void 0,(function(){var r,i,a,o,s,f,u,c,d,v,p,h,g,m,y,_,b,w,x,A,R,P,L,O,T;var E,k;return __generator(this,(function(D){switch(D.label){case 0:r=n.placement,i=r===void 0?"bottom":r,a=n.strategy,o=a===void 0?"absolute":a,s=n.middleware,f=s===void 0?[]:s,u=n.platform;return[4,u.isRTL==null?void 0:u.isRTL(e)];case 1:c=D.sent();return[4,u.getElementRects({reference:t,floating:e,strategy:o})];case 2:d=D.sent();v=l(d,i,c),p=v.x,h=v.y;g=i;m={};y=0;_=0;D.label=3;case 3:if(!(_<f.length))return[3,11];b=f[_],w=b.name,x=b.fn;return[4,x({x:p,y:h,initialPlacement:i,placement:g,strategy:o,middlewareData:m,rects:d,platform:u,elements:{reference:t,floating:e}})];case 4:A=D.sent(),R=A.x,P=A.y,L=A.data,O=A.reset;p=R!=null?R:p;h=P!=null?P:h;m=__assign(__assign({},m),(E={},E[w]=__assign(__assign({},m[w]),L),E));if(!(O&&y<=50))return[3,10];y++;if(!(typeof O==="object"))return[3,9];if(O.placement){g=O.placement}if(!O.rects)return[3,8];if(!(O.rects===true))return[3,6];return[4,u.getElementRects({reference:t,floating:e,strategy:o})];case 5:T=D.sent();return[3,7];case 6:T=O.rects;D.label=7;case 7:d=T;D.label=8;case 8:k=l(d,g,c),p=k.x,h=k.y;D.label=9;case 9:_=-1;return[3,10];case 10:_++;return[3,3];case 11:return[2,{x:p,y:h,placement:g,strategy:o,middlewareData:m}]}}))}))};function f(t){return __assign({top:0,right:0,bottom:0,left:0},t)}function u(t){return typeof t!=="number"?f(t):{top:t,right:t,bottom:t,left:t}}function c(t){return __assign(__assign({},t),{top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height})}function d(t,e){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,l,s,f,d,v,p,h,g,m,y,_,b,w,x,A,R,P,L,O,T,E,k,D,H,S,W;var j,C;return __generator(this,(function(M){switch(M.label){case 0:if(e===void 0){e={}}n=t.x,i=t.y,a=t.platform,o=t.rects,l=t.elements,s=t.strategy;f=e.boundary,d=f===void 0?"clippingAncestors":f,v=e.rootBoundary,p=v===void 0?"viewport":v,h=e.elementContext,g=h===void 0?"floating":h,m=e.altBoundary,y=m===void 0?false:m,_=e.padding,b=_===void 0?0:_;w=u(b);x=g==="floating"?"reference":"floating";A=l[y?x:g];P=c;O=(L=a).getClippingRect;j={};return[4,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((r=M.sent())!=null?r:true))return[3,2];T=A;return[3,5];case 2:E=A.contextElement;if(E)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)];case 3:E=M.sent();M.label=4;case 4:T=E;M.label=5;case 5:return[4,O.apply(L,[(j.element=T,j.boundary=d,j.rootBoundary=p,j.strategy=s,j)])];case 6:R=P.apply(void 0,[M.sent()]);D=c;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,9];W=(S=a).convertOffsetParentRelativeRectToViewportRelativeRect;C={rect:g==="floating"?__assign(__assign({},o.floating),{x:n,y:i}):o.reference};return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)];case 7:return[4,W.apply(S,[(C.offsetParent=M.sent(),C.strategy=s,C)])];case 8:H=M.sent();return[3,10];case 9:H=o[g];M.label=10;case 10:k=D.apply(void 0,[H]);return[2,{top:R.top-k.top+w.top,bottom:k.bottom-R.bottom+w.bottom,left:R.left-k.left+w.left,right:k.right-R.right+w.right}]}}))}))}var v=Math.min;var p=Math.max;function h(t,e,r){return p(t,v(e,r))}var g=function(t){return{name:"arrow",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,l,s,f,c,d,v,p,g,m,y,_,b,w,x,A,R,P,L,O,T,E,k,D,H,S,W,j;var C,M;return __generator(this,(function(F){switch(F.label){case 0:r=t!=null?t:{},n=r.element,l=r.padding,s=l===void 0?0:l;f=e.x,c=e.y,d=e.placement,v=e.rects,p=e.platform;if(n==null){return[2,{}]}g=u(s);m={x:f,y:c};y=a(d);_=i(d);b=o(y);return[4,p.getDimensions(n)];case 1:w=F.sent();x=y==="y"?"top":"left";A=y==="y"?"bottom":"right";R=v.reference[b]+v.reference[y]-m[y]-v.floating[b];P=m[y]-v.reference[y];return[4,p.getOffsetParent==null?void 0:p.getOffsetParent(n)];case 2:L=F.sent();O=L?y==="y"?L.clientHeight||0:L.clientWidth||0:0;if(O===0){O=v.floating[b]}T=R/2-P/2;E=g[x];k=O-w[b]-g[A];D=O/2-w[b]/2+T;H=h(E,D,k);S=_==="start"?g[x]:g[A];W=S>0&&D!==H&&v.reference[b]<=v.floating[b];j=W?D<E?E-D:k-D:0;return[2,(C={},C[y]=m[y]-j,C.data=(M={},M[y]=H,M.centerOffset=D-H,M),C)]}}))}))}}};var m={left:"right",right:"left",bottom:"top",top:"bottom"};function y(t){return t.replace(/left|right|bottom|top/g,(function(t){return m[t]}))}function _(t,e,r){if(r===void 0){r=false}var n=i(t);var l=a(t);var s=o(l);var f=l==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";if(e.reference[s]>e.floating[s]){f=y(f)}return{main:f,cross:y(f)}}var b={start:"end",end:"start"};function w(t){return t.replace(/start|end/g,(function(t){return b[t]}))}var x=["top","right","bottom","left"];var A=x.reduce((function(t,e){return t.concat(e,e+"-start",e+"-end")}),[]);function R(t,e,r){var a=t?__spreadArray(__spreadArray([],r.filter((function(e){return i(e)===t})),true),r.filter((function(e){return i(e)!==t})),true):r.filter((function(t){return n(t)===t}));return a.filter((function(r){if(t){return i(r)===t||(e?w(r)!==r:false)}return true}))}var P=function(t){if(t===void 0){t={}}return{name:"autoPlacement",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,s,f,u,c,v,p,h,g,m,y,b,w,x,P,L,O,T,E,k,D,H,S,W,j,C,M,F,N,V;return __generator(this,(function(B){switch(B.label){case 0:s=e.x,f=e.y,u=e.rects,c=e.middlewareData,v=e.placement,p=e.platform,h=e.elements;g=t.alignment,m=g===void 0?null:g,y=t.allowedPlacements,b=y===void 0?A:y,w=t.autoAlignment,x=w===void 0?true:w,P=__rest(t,["alignment","allowedPlacements","autoAlignment"]);L=R(m,x,b);return[4,d(e,P)];case 1:O=B.sent();T=(r=(i=c.autoPlacement)==null?void 0:i.index)!=null?r:0;E=L[T];if(E==null){return[2,{}]}S=_;W=[E,u];return[4,p.isRTL==null?void 0:p.isRTL(h.floating)];case 2:k=S.apply(void 0,W.concat([B.sent()])),D=k.main,H=k.cross;if(v!==E){return[2,{x:s,y:f,reset:{placement:L[0]}}]}j=[O[n(E)],O[D],O[H]];C=__spreadArray(__spreadArray([],(a=(o=c.autoPlacement)==null?void 0:o.overflows)!=null?a:[],true),[{placement:E,overflows:j}],false);M=L[T+1];if(M){return[2,{data:{index:T+1,overflows:C},reset:{placement:M}}]}F=C.slice().sort((function(t,e){return t.overflows[0]-e.overflows[0]}));N=(l=F.find((function(t){var e=t.overflows;return e.every((function(t){return t<=0}))})))==null?void 0:l.placement;V=N!=null?N:F[0].placement;if(V!==v){return[2,{data:{index:T+1,overflows:C},reset:{placement:V}}]}return[2,{}]}}))}))}}};function L(t){var e=y(t);return[w(t),e,w(e)]}var O=function(t){if(t===void 0){t={}}return{name:"flip",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,s,f,u,c,v,p,h,g,m,b,w,x,A,R,P,O,T,E,k,D,H,S,W,j,C,M,F,N,V,B,z;return __generator(this,(function(I){switch(I.label){case 0:i=e.placement,a=e.middlewareData,o=e.rects,l=e.initialPlacement,s=e.platform,f=e.elements;u=t.mainAxis,c=u===void 0?true:u,v=t.crossAxis,p=v===void 0?true:v,h=t.fallbackPlacements,g=t.fallbackStrategy,m=g===void 0?"bestFit":g,b=t.flipAlignment,w=b===void 0?true:b,x=__rest(t,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"]);A=n(i);R=A===l;P=h||(R||!w?[y(l)]:L(l));O=__spreadArray([l],P,true);return[4,d(e,x)];case 1:T=I.sent();E=[];k=((r=a.flip)==null?void 0:r.overflows)||[];if(c){E.push(T[A])}if(!p)return[3,3];W=_;j=[i,o];return[4,s.isRTL==null?void 0:s.isRTL(f.floating)];case 2:D=W.apply(void 0,j.concat([I.sent()])),H=D.main,S=D.cross;E.push(T[H],T[S]);I.label=3;case 3:k=__spreadArray(__spreadArray([],k,true),[{placement:i,overflows:E}],false);if(!E.every((function(t){return t<=0}))){F=((C=(M=a.flip)==null?void 0:M.index)!=null?C:0)+1;N=O[F];if(N){return[2,{data:{index:F,overflows:k},reset:{placement:N}}]}V="bottom";switch(m){case"bestFit":{z=(B=k.map((function(t){return[t,t.overflows.filter((function(t){return t>0})).reduce((function(t,e){return t+e}),0)]})).sort((function(t,e){return t[1]-e[1]}))[0])==null?void 0:B[0].placement;if(z){V=z}break}case"initialPlacement":V=l;break}if(i!==V){return[2,{reset:{placement:V}}]}}return[2,{}]}}))}))}}};function T(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function E(t){return x.some((function(e){return t[e]>=0}))}var k=function(t){var e=t===void 0?{}:t,r=e.strategy,n=r===void 0?"referenceHidden":r,i=__rest(e,["strategy"]);return{name:"hide",fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,a,o,a,o;return __generator(this,(function(l){switch(l.label){case 0:e=t.rects;r=n;switch(r){case"referenceHidden":return[3,1];case"escaped":return[3,3]}return[3,5];case 1:return[4,d(t,__assign(__assign({},i),{elementContext:"reference"}))];case 2:a=l.sent();o=T(a,e.reference);return[2,{data:{referenceHiddenOffsets:o,referenceHidden:E(o)}}];case 3:return[4,d(t,__assign(__assign({},i),{altBoundary:true}))];case 4:a=l.sent();o=T(a,e.floating);return[2,{data:{escapedOffsets:o,escaped:E(o)}}];case 5:{return[2,{}]}l.label=6;case 6:return[2]}}))}))}}};function D(t,e){return __awaiter(this,void 0,void 0,(function(){var r,o,l,s,f,u,c,d,v,p,h,g,m,y;return __generator(this,(function(_){switch(_.label){case 0:r=t.placement,o=t.platform,l=t.elements;return[4,o.isRTL==null?void 0:o.isRTL(l.floating)];case 1:s=_.sent();f=n(r);u=i(r);c=a(r)==="x";d=["left","top"].includes(f)?-1:1;v=s&&c?-1:1;p=typeof e==="function"?e(t):e;h=typeof p==="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:__assign({mainAxis:0,crossAxis:0,alignmentAxis:null},p),g=h.mainAxis,m=h.crossAxis,y=h.alignmentAxis;if(u&&typeof y==="number"){m=u==="end"?y*-1:y}return[2,c?{x:m*v,y:g*d}:{x:g*d,y:m*v}]}}))}))}var H=function(t){if(t===void 0){t=0}return{name:"offset",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,i;return __generator(this,(function(a){switch(a.label){case 0:r=e.x,n=e.y;return[4,D(e,t)];case 1:i=a.sent();return[2,{x:r+i.x,y:n+i.y,data:i}]}}))}))}}};function S(t){return t==="x"?"y":"x"}var W=function(t){if(t===void 0){t={}}return{name:"shift",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,o,l,s,f,u,c,v,p,g,m,y,_,b,w,x,A,R,P,x,A,L,O,T;var E;return __generator(this,(function(k){switch(k.label){case 0:r=e.x,i=e.y,o=e.placement;l=t.mainAxis,s=l===void 0?true:l,f=t.crossAxis,u=f===void 0?false:f,c=t.limiter,v=c===void 0?{fn:function(t){var e=t.x,r=t.y;return{x:e,y:r}}}:c,p=__rest(t,["mainAxis","crossAxis","limiter"]);g={x:r,y:i};return[4,d(e,p)];case 1:m=k.sent();y=a(n(o));_=S(y);b=g[y];w=g[_];if(s){x=y==="y"?"top":"left";A=y==="y"?"bottom":"right";R=b+m[x];P=b-m[A];b=h(R,b,P)}if(u){x=_==="y"?"top":"left";A=_==="y"?"bottom":"right";L=w+m[x];O=w-m[A];w=h(L,w,O)}T=v.fn(__assign(__assign({},e),(E={},E[y]=b,E[_]=w,E)));return[2,__assign(__assign({},T),{data:{x:T.x-r,y:T.y-i}})]}}))}))}}};function j(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function C(t){if(t==null){return window}if(!j(t)){var e=t.ownerDocument;return e?e.defaultView||window:window}return t}function M(t){return C(t).getComputedStyle(t)}function F(t){return j(t)?"":t?(t.nodeName||"").toLowerCase():""}function N(){var t=navigator.userAgentData;if(t!=null&&t.brands){return t.brands.map((function(t){return t.brand+"/"+t.version})).join(" ")}return navigator.userAgent}function V(t){return t instanceof C(t).HTMLElement}function B(t){return t instanceof C(t).Element}function z(t){return t instanceof C(t).Node}function I(t){if(typeof ShadowRoot==="undefined"){return false}var e=C(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function X(t){var e=M(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Y(t){return["table","td","th"].includes(F(t))}function q(t){var e=/firefox/i.test(N());var r=M(t);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||e&&r.willChange==="filter"||e&&(r.filter?r.filter!=="none":false)}function G(){return!/^((?!chrome|android).)*safari/i.test(N())}var J=Math.min;var K=Math.max;var Q=Math.round;function U(t,e,r){var n,i,a,o;if(e===void 0){e=false}if(r===void 0){r=false}var l=t.getBoundingClientRect();var s=1;var f=1;if(e&&V(t)){s=t.offsetWidth>0?Q(l.width)/t.offsetWidth||1:1;f=t.offsetHeight>0?Q(l.height)/t.offsetHeight||1:1}var u=B(t)?C(t):window;var c=!G()&&r;var d=(l.left+(c?(n=(i=u.visualViewport)==null?void 0:i.offsetLeft)!=null?n:0:0))/s;var v=(l.top+(c?(a=(o=u.visualViewport)==null?void 0:o.offsetTop)!=null?a:0:0))/f;var p=l.width/s;var h=l.height/f;return{width:p,height:h,top:v,right:d+p,bottom:v+h,left:d,x:d,y:v}}function Z(t){return((z(t)?t.ownerDocument:t.document)||window.document).documentElement}function $(t){if(B(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tt(t){return U(Z(t)).left+$(t).scrollLeft}function et(t){var e=U(t);return Q(e.width)!==t.offsetWidth||Q(e.height)!==t.offsetHeight}function rt(t,e,r){var n=V(e);var i=Z(e);var a=U(t,n&&et(e),r==="fixed");var o={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(n||!n&&r!=="fixed"){if(F(e)!=="body"||X(i)){o=$(e)}if(V(e)){var s=U(e,true);l.x=s.x+e.clientLeft;l.y=s.y+e.clientTop}else if(i){l.x=tt(i)}}return{x:a.left+o.scrollLeft-l.x,y:a.top+o.scrollTop-l.y,width:a.width,height:a.height}}function nt(t){if(F(t)==="html"){return t}return t.assignedSlot||t.parentNode||(I(t)?t.host:null)||Z(t)}function it(t){if(!V(t)||M(t).position==="fixed"){return null}return at(t)}function at(t){var e=t.offsetParent;var r=t;var n=false;while(r&&r!==e){var i=r.assignedSlot;if(i){var a=i.offsetParent;if(M(i).display==="contents"){var o=i.hasAttribute("style");var l=i.style.display;i.style.display=M(r).display;a=i.offsetParent;i.style.display=l;if(!o){i.removeAttribute("style")}}r=i;if(e!==a){e=a;n=true}}else if(I(r)&&r.host&&n){break}r=I(r)&&r.host||r.parentNode}return e}function ot(t){var e=nt(t);if(I(e)){e=e.host}while(V(e)&&!["html","body"].includes(F(e))){if(q(e)){return e}else{var r=e.parentNode;e=I(r)?r.host:r}}return null}function lt(t){var e=C(t);var r=it(t);while(r&&Y(r)&&M(r).position==="static"){r=it(r)}if(r&&(F(r)==="html"||F(r)==="body"&&M(r).position==="static"&&!q(r))){return e}return r||ot(t)||e}function st(t){if(V(t)){return{width:t.offsetWidth,height:t.offsetHeight}}var e=U(t);return{width:e.width,height:e.height}}function ft(t){var e=t.rect,r=t.offsetParent,n=t.strategy;var i=V(r);var a=Z(r);if(r===a){return e}var o={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(i||!i&&n!=="fixed"){if(F(r)!=="body"||X(a)){o=$(r)}if(V(r)){var s=U(r,true);l.x=s.x+r.clientLeft;l.y=s.y+r.clientTop}}return __assign(__assign({},e),{x:e.x-o.scrollLeft+l.x,y:e.y-o.scrollTop+l.y})}function ut(t,e){var r=C(t);var n=Z(t);var i=r.visualViewport;var a=n.clientWidth;var o=n.clientHeight;var l=0;var s=0;if(i){a=i.width;o=i.height;var f=G();if(f||!f&&e==="fixed"){l=i.offsetLeft;s=i.offsetTop}}return{width:a,height:o,x:l,y:s}}function ct(t){var e;var r=Z(t);var n=$(t);var i=(e=t.ownerDocument)==null?void 0:e.body;var a=K(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0);var o=K(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);var l=-n.scrollLeft+tt(t);var s=-n.scrollTop;if(M(i||r).direction==="rtl"){l+=K(r.clientWidth,i?i.clientWidth:0)-a}return{width:a,height:o,x:l,y:s}}function dt(t){var e=nt(t);if(["html","body","#document"].includes(F(e))){return t.ownerDocument.body}if(V(e)&&X(e)){return e}return dt(e)}function vt(t,e){var r;if(e===void 0){e=[]}var n=dt(t);var i=n===((r=t.ownerDocument)==null?void 0:r.body);var a=C(n);var o=i?[a].concat(a.visualViewport||[],X(n)?n:[]):n;var l=e.concat(o);return i?l:l.concat(vt(o))}function pt(t,e){var r=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e)){return true}else if(r&&I(r)){var n=e;do{if(n&&t===n){return true}n=n.parentNode||n.host}while(n)}return false}function ht(t,e){var r=U(t,false,e==="fixed");var n=r.top+t.clientTop;var i=r.left+t.clientLeft;return{top:n,left:i,x:i,y:n,right:i+t.clientWidth,bottom:n+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function gt(t,e,r){if(e==="viewport"){return c(ut(t,r))}if(B(e)){return ht(e,r)}return c(ct(Z(t)))}function mt(t){var e=vt(t);var r=["absolute","fixed"].includes(M(t).position);var n=r&&V(t)?lt(t):t;if(!B(n)){return[]}return e.filter((function(t){return B(t)&&pt(t,n)&&F(t)!=="body"}))}function yt(t){var e=t.element,r=t.boundary,n=t.rootBoundary,i=t.strategy;var a=r==="clippingAncestors"?mt(e):[].concat(r);var o=__spreadArray(__spreadArray([],a,true),[n],false);var l=o[0];var s=o.reduce((function(t,r){var n=gt(e,r,i);t.top=K(n.top,t.top);t.right=J(n.right,t.right);t.bottom=J(n.bottom,t.bottom);t.left=K(n.left,t.left);return t}),gt(e,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}var _t={getClippingRect:yt,convertOffsetParentRelativeRectToViewportRelativeRect:ft,isElement:B,getDimensions:st,getOffsetParent:lt,getDocumentElement:Z,getElementRects:function(t){var e=t.reference,r=t.floating,n=t.strategy;return{reference:rt(e,lt(r),n),floating:__assign(__assign({},st(r)),{x:0,y:0})}},getClientRects:function(t){return Array.from(t.getClientRects())},isRTL:function(t){return M(t).direction==="rtl"}};function bt(t,e,r,n){if(n===void 0){n={}}var i=n.ancestorScroll,a=i===void 0?true:i,o=n.ancestorResize,l=o===void 0?true:o,s=n.elementResize,f=s===void 0?true:s,u=n.animationFrame,c=u===void 0?false:u;var d=a&&!c;var v=l&&!c;var p=d||v?__spreadArray(__spreadArray([],B(t)?vt(t):[],true),vt(e),true):[];p.forEach((function(t){d&&t.addEventListener("scroll",r,{passive:true});v&&t.addEventListener("resize",r)}));var h=null;if(f){var g=true;h=new ResizeObserver((function(){if(!g){r()}g=false}));B(t)&&!c&&h.observe(t);h.observe(e)}var m;var y=c?U(t):null;if(c){_()}function _(){var e=U(t);if(y&&(e.x!==y.x||e.y!==y.y||e.width!==y.width||e.height!==y.height)){r()}y=e;m=requestAnimationFrame(_)}r();return function(){var t;p.forEach((function(t){d&&t.removeEventListener("scroll",r);v&&t.removeEventListener("resize",r)}));(t=h)==null?void 0:t.disconnect();h=null;if(c){cancelAnimationFrame(m)}}}var wt=function(t,e,r){return s(t,e,__assign({platform:_t},r))};var xt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"];var At=t("d","bottom-start");var Rt=t("F",{animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"});function Pt(t){var e=t.placement,r=t.disableFlip,n=t.flipPlacements,i=t.offsetDistance,a=t.offsetSkidding,o=t.arrowEl,l=t.type;var s=[W(),k()];if(l==="menu"){return __spreadArray(__spreadArray([],s,true),[O({fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]})],false)}if(l==="popover"||l==="tooltip"){var f=__spreadArray(__spreadArray([],s,true),[H({mainAxis:typeof i==="number"?i:0,crossAxis:typeof a==="number"?a:0})],false);if(e==="auto"||e==="auto-start"||e==="auto-end"){f.push(P({alignment:e==="auto-start"?"start":e==="auto-end"?"end":null}))}else if(!r){f.push(O(n?{fallbackPlacements:n}:{}))}if(o){f.push(g({element:o}))}return f}return[]}function Lt(t,e){var r=t.filter((function(t){return xt.includes(t)}));if(r.length!==t.length){console.warn("".concat(e.tagName,": Invalid value found in: flipPlacements. Try any of these: ").concat(xt.map((function(t){return'"'.concat(t,'"')})).join(", ").trim()),{el:e})}return r}function Ot(t,r){var n=["left","right"];if(e(t)==="rtl"){n.reverse()}return r.replace(/-leading/gi,"-start").replace(/-trailing/gi,"-end").replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function Tt(t){var e=t.referenceEl,r=t.floatingEl,n=t.overlayPositioning,i=n===void 0?"absolute":n,a=t.placement,o=t.disableFlip,l=t.flipPlacements,s=t.offsetDistance,f=t.offsetSkidding,u=t.arrowEl,c=t.type;return __awaiter(this,void 0,void 0,(function(){var t,n,d,v,p,h,g,m,y,_,b,w,x,A;return __generator(this,(function(R){switch(R.label){case 0:if(!e||!r){return[2,null]}return[4,wt(e,r,{strategy:i,placement:a==="auto"||a==="auto-start"||a==="auto-end"?undefined:Ot(r,a),middleware:Pt({placement:a,disableFlip:o,flipPlacements:l,offsetDistance:s,offsetSkidding:f,arrowEl:u,type:c})})];case 1:n=R.sent(),d=n.x,v=n.y,p=n.placement,h=n.strategy,g=n.middlewareData;if(g===null||g===void 0?void 0:g.arrow){m=g.arrow,y=m.x,_=m.y;Object.assign(u.style,{left:y!=null?"".concat(y,"px"):"",top:_!=null?"".concat(_,"px"):""})}b=(t=g===null||g===void 0?void 0:g.hide)===null||t===void 0?void 0:t.referenceHidden;w=b?"hidden":null;x=w?"none":null;r.setAttribute("data-placement",p);A="translate(".concat(Math.round(d),"px,").concat(Math.round(v),"px)");Object.assign(r.style,{visibility:w,pointerEvents:x,position:h,top:"0",left:"0",transform:A});return[2]}}))}))}var Et=new WeakMap;function kt(t,e,r){if(!r||!e){return}Dt(t,e,r);Et.set(t,bt(e,r,(function(){if(t.open){t.reposition()}})))}function Dt(t,e,r){if(!r||!e){return}var n=Et.get(t);if(n){n()}Et.delete(t)}var Ht=4;var St=t("b",Math.ceil(Math.hypot(Ht,Ht)))}}}));
5
+ * v1.0.0-next.566
6
+ */System.register(["./p-9544382c.system.js"],(function(t){"use strict";var e;return{setters:[function(t){e=t.a}],execute:function(){var r=this;t({a:Dt,c:kt,f:Lt,p:Tt});function n(t){return t.split("-")[0]}function i(t){return t.split("-")[1]}function a(t){return["top","bottom"].includes(n(t))?"x":"y"}function o(t){return t==="y"?"height":"width"}function l(t,e,r){var l=t.reference,s=t.floating;var f=l.x+l.width/2-s.width/2;var u=l.y+l.height/2-s.height/2;var c=a(e);var d=o(c);var v=l[d]/2-s[d]/2;var p=n(e);var h=c==="x";var g;switch(p){case"top":g={x:f,y:l.y-s.height};break;case"bottom":g={x:f,y:l.y+l.height};break;case"right":g={x:l.x+l.width,y:u};break;case"left":g={x:l.x-s.width,y:u};break;default:g={x:l.x,y:l.y}}switch(i(e)){case"start":g[c]-=v*(r&&h?-1:1);break;case"end":g[c]+=v*(r&&h?-1:1);break}return g}var s=function(t,e,n){return __awaiter(r,void 0,void 0,(function(){var r,i,a,o,s,f,u,c,d,v,p,h,g,m,y,_,w,b,x,A,R,P,L,O,T;var E,k;return __generator(this,(function(D){switch(D.label){case 0:r=n.placement,i=r===void 0?"bottom":r,a=n.strategy,o=a===void 0?"absolute":a,s=n.middleware,f=s===void 0?[]:s,u=n.platform;return[4,u.isRTL==null?void 0:u.isRTL(e)];case 1:c=D.sent();return[4,u.getElementRects({reference:t,floating:e,strategy:o})];case 2:d=D.sent();v=l(d,i,c),p=v.x,h=v.y;g=i;m={};y=0;_=0;D.label=3;case 3:if(!(_<f.length))return[3,11];w=f[_],b=w.name,x=w.fn;return[4,x({x:p,y:h,initialPlacement:i,placement:g,strategy:o,middlewareData:m,rects:d,platform:u,elements:{reference:t,floating:e}})];case 4:A=D.sent(),R=A.x,P=A.y,L=A.data,O=A.reset;p=R!=null?R:p;h=P!=null?P:h;m=__assign(__assign({},m),(E={},E[b]=__assign(__assign({},m[b]),L),E));if(!(O&&y<=50))return[3,10];y++;if(!(typeof O==="object"))return[3,9];if(O.placement){g=O.placement}if(!O.rects)return[3,8];if(!(O.rects===true))return[3,6];return[4,u.getElementRects({reference:t,floating:e,strategy:o})];case 5:T=D.sent();return[3,7];case 6:T=O.rects;D.label=7;case 7:d=T;D.label=8;case 8:k=l(d,g,c),p=k.x,h=k.y;D.label=9;case 9:_=-1;return[3,10];case 10:_++;return[3,3];case 11:return[2,{x:p,y:h,placement:g,strategy:o,middlewareData:m}]}}))}))};function f(t){return __assign({top:0,right:0,bottom:0,left:0},t)}function u(t){return typeof t!=="number"?f(t):{top:t,right:t,bottom:t,left:t}}function c(t){return __assign(__assign({},t),{top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height})}function d(t,e){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,l,s,f,d,v,p,h,g,m,y,_,w,b,x,A,R,P,L,O,T,E,k,D,H,S,W;var j,C;return __generator(this,(function(M){switch(M.label){case 0:if(e===void 0){e={}}n=t.x,i=t.y,a=t.platform,o=t.rects,l=t.elements,s=t.strategy;f=e.boundary,d=f===void 0?"clippingAncestors":f,v=e.rootBoundary,p=v===void 0?"viewport":v,h=e.elementContext,g=h===void 0?"floating":h,m=e.altBoundary,y=m===void 0?false:m,_=e.padding,w=_===void 0?0:_;b=u(w);x=g==="floating"?"reference":"floating";A=l[y?x:g];P=c;O=(L=a).getClippingRect;j={};return[4,a.isElement==null?void 0:a.isElement(A)];case 1:if(!((r=M.sent())!=null?r:true))return[3,2];T=A;return[3,5];case 2:E=A.contextElement;if(E)return[3,4];return[4,a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)];case 3:E=M.sent();M.label=4;case 4:T=E;M.label=5;case 5:return[4,O.apply(L,[(j.element=T,j.boundary=d,j.rootBoundary=p,j.strategy=s,j)])];case 6:R=P.apply(void 0,[M.sent()]);D=c;if(!a.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,9];W=(S=a).convertOffsetParentRelativeRectToViewportRelativeRect;C={rect:g==="floating"?__assign(__assign({},o.floating),{x:n,y:i}):o.reference};return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)];case 7:return[4,W.apply(S,[(C.offsetParent=M.sent(),C.strategy=s,C)])];case 8:H=M.sent();return[3,10];case 9:H=o[g];M.label=10;case 10:k=D.apply(void 0,[H]);return[2,{top:R.top-k.top+b.top,bottom:k.bottom-R.bottom+b.bottom,left:R.left-k.left+b.left,right:k.right-R.right+b.right}]}}))}))}var v=Math.min;var p=Math.max;function h(t,e,r){return p(t,v(e,r))}var g=function(t){return{name:"arrow",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,l,s,f,c,d,v,p,g,m,y,_,w,b,x,A,R,P,L,O,T,E,k,D,H,S,W,j;var C,M;return __generator(this,(function(F){switch(F.label){case 0:r=t!=null?t:{},n=r.element,l=r.padding,s=l===void 0?0:l;f=e.x,c=e.y,d=e.placement,v=e.rects,p=e.platform;if(n==null){return[2,{}]}g=u(s);m={x:f,y:c};y=a(d);_=i(d);w=o(y);return[4,p.getDimensions(n)];case 1:b=F.sent();x=y==="y"?"top":"left";A=y==="y"?"bottom":"right";R=v.reference[w]+v.reference[y]-m[y]-v.floating[w];P=m[y]-v.reference[y];return[4,p.getOffsetParent==null?void 0:p.getOffsetParent(n)];case 2:L=F.sent();O=L?y==="y"?L.clientHeight||0:L.clientWidth||0:0;if(O===0){O=v.floating[w]}T=R/2-P/2;E=g[x];k=O-b[w]-g[A];D=O/2-b[w]/2+T;H=h(E,D,k);S=_==="start"?g[x]:g[A];W=S>0&&D!==H&&v.reference[w]<=v.floating[w];j=W?D<E?E-D:k-D:0;return[2,(C={},C[y]=m[y]-j,C.data=(M={},M[y]=H,M.centerOffset=D-H,M),C)]}}))}))}}};var m={left:"right",right:"left",bottom:"top",top:"bottom"};function y(t){return t.replace(/left|right|bottom|top/g,(function(t){return m[t]}))}function _(t,e,r){if(r===void 0){r=false}var n=i(t);var l=a(t);var s=o(l);var f=l==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";if(e.reference[s]>e.floating[s]){f=y(f)}return{main:f,cross:y(f)}}var w={start:"end",end:"start"};function b(t){return t.replace(/start|end/g,(function(t){return w[t]}))}var x=["top","right","bottom","left"];var A=x.reduce((function(t,e){return t.concat(e,e+"-start",e+"-end")}),[]);function R(t,e,r){var a=t?__spreadArray(__spreadArray([],r.filter((function(e){return i(e)===t})),true),r.filter((function(e){return i(e)!==t})),true):r.filter((function(t){return n(t)===t}));return a.filter((function(r){if(t){return i(r)===t||(e?b(r)!==r:false)}return true}))}var P=function(t){if(t===void 0){t={}}return{name:"autoPlacement",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,s,f,u,c,v,p,h,g,m,y,w,b,x,P,L,O,T,E,k,D,H,S,W,j,C,M,F,N,V;return __generator(this,(function(B){switch(B.label){case 0:s=e.x,f=e.y,u=e.rects,c=e.middlewareData,v=e.placement,p=e.platform,h=e.elements;g=t.alignment,m=g===void 0?null:g,y=t.allowedPlacements,w=y===void 0?A:y,b=t.autoAlignment,x=b===void 0?true:b,P=__rest(t,["alignment","allowedPlacements","autoAlignment"]);L=R(m,x,w);return[4,d(e,P)];case 1:O=B.sent();T=(r=(i=c.autoPlacement)==null?void 0:i.index)!=null?r:0;E=L[T];if(E==null){return[2,{}]}S=_;W=[E,u];return[4,p.isRTL==null?void 0:p.isRTL(h.floating)];case 2:k=S.apply(void 0,W.concat([B.sent()])),D=k.main,H=k.cross;if(v!==E){return[2,{x:s,y:f,reset:{placement:L[0]}}]}j=[O[n(E)],O[D],O[H]];C=__spreadArray(__spreadArray([],(a=(o=c.autoPlacement)==null?void 0:o.overflows)!=null?a:[],true),[{placement:E,overflows:j}],false);M=L[T+1];if(M){return[2,{data:{index:T+1,overflows:C},reset:{placement:M}}]}F=C.slice().sort((function(t,e){return t.overflows[0]-e.overflows[0]}));N=(l=F.find((function(t){var e=t.overflows;return e.every((function(t){return t<=0}))})))==null?void 0:l.placement;V=N!=null?N:F[0].placement;if(V!==v){return[2,{data:{index:T+1,overflows:C},reset:{placement:V}}]}return[2,{}]}}))}))}}};function L(t){var e=y(t);return[b(t),e,b(e)]}var O=function(t){if(t===void 0){t={}}return{name:"flip",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,a,o,l,s,f,u,c,v,p,h,g,m,w,b,x,A,R,P,O,T,E,k,D,H,S,W,j,C,M,F,N,V,B,z;return __generator(this,(function(I){switch(I.label){case 0:i=e.placement,a=e.middlewareData,o=e.rects,l=e.initialPlacement,s=e.platform,f=e.elements;u=t.mainAxis,c=u===void 0?true:u,v=t.crossAxis,p=v===void 0?true:v,h=t.fallbackPlacements,g=t.fallbackStrategy,m=g===void 0?"bestFit":g,w=t.flipAlignment,b=w===void 0?true:w,x=__rest(t,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"]);A=n(i);R=A===l;P=h||(R||!b?[y(l)]:L(l));O=__spreadArray([l],P,true);return[4,d(e,x)];case 1:T=I.sent();E=[];k=((r=a.flip)==null?void 0:r.overflows)||[];if(c){E.push(T[A])}if(!p)return[3,3];W=_;j=[i,o];return[4,s.isRTL==null?void 0:s.isRTL(f.floating)];case 2:D=W.apply(void 0,j.concat([I.sent()])),H=D.main,S=D.cross;E.push(T[H],T[S]);I.label=3;case 3:k=__spreadArray(__spreadArray([],k,true),[{placement:i,overflows:E}],false);if(!E.every((function(t){return t<=0}))){F=((C=(M=a.flip)==null?void 0:M.index)!=null?C:0)+1;N=O[F];if(N){return[2,{data:{index:F,overflows:k},reset:{placement:N}}]}V="bottom";switch(m){case"bestFit":{z=(B=k.map((function(t){return[t,t.overflows.filter((function(t){return t>0})).reduce((function(t,e){return t+e}),0)]})).sort((function(t,e){return t[1]-e[1]}))[0])==null?void 0:B[0].placement;if(z){V=z}break}case"initialPlacement":V=l;break}if(i!==V){return[2,{reset:{placement:V}}]}}return[2,{}]}}))}))}}};function T(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function E(t){return x.some((function(e){return t[e]>=0}))}var k=function(t){var e=t===void 0?{}:t,r=e.strategy,n=r===void 0?"referenceHidden":r,i=__rest(e,["strategy"]);return{name:"hide",fn:function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,a,o,a,o;return __generator(this,(function(l){switch(l.label){case 0:e=t.rects;r=n;switch(r){case"referenceHidden":return[3,1];case"escaped":return[3,3]}return[3,5];case 1:return[4,d(t,__assign(__assign({},i),{elementContext:"reference"}))];case 2:a=l.sent();o=T(a,e.reference);return[2,{data:{referenceHiddenOffsets:o,referenceHidden:E(o)}}];case 3:return[4,d(t,__assign(__assign({},i),{altBoundary:true}))];case 4:a=l.sent();o=T(a,e.floating);return[2,{data:{escapedOffsets:o,escaped:E(o)}}];case 5:{return[2,{}]}l.label=6;case 6:return[2]}}))}))}}};function D(t,e){return __awaiter(this,void 0,void 0,(function(){var r,o,l,s,f,u,c,d,v,p,h,g,m,y;return __generator(this,(function(_){switch(_.label){case 0:r=t.placement,o=t.platform,l=t.elements;return[4,o.isRTL==null?void 0:o.isRTL(l.floating)];case 1:s=_.sent();f=n(r);u=i(r);c=a(r)==="x";d=["left","top"].includes(f)?-1:1;v=s&&c?-1:1;p=typeof e==="function"?e(t):e;h=typeof p==="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:__assign({mainAxis:0,crossAxis:0,alignmentAxis:null},p),g=h.mainAxis,m=h.crossAxis,y=h.alignmentAxis;if(u&&typeof y==="number"){m=u==="end"?y*-1:y}return[2,c?{x:m*v,y:g*d}:{x:g*d,y:m*v}]}}))}))}var H=function(t){if(t===void 0){t=0}return{name:"offset",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,i;return __generator(this,(function(a){switch(a.label){case 0:r=e.x,n=e.y;return[4,D(e,t)];case 1:i=a.sent();return[2,{x:r+i.x,y:n+i.y,data:i}]}}))}))}}};function S(t){return t==="x"?"y":"x"}var W=function(t){if(t===void 0){t={}}return{name:"shift",options:t,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var r,i,o,l,s,f,u,c,v,p,g,m,y,_,w,b,x,A,R,P,x,A,L,O,T;var E;return __generator(this,(function(k){switch(k.label){case 0:r=e.x,i=e.y,o=e.placement;l=t.mainAxis,s=l===void 0?true:l,f=t.crossAxis,u=f===void 0?false:f,c=t.limiter,v=c===void 0?{fn:function(t){var e=t.x,r=t.y;return{x:e,y:r}}}:c,p=__rest(t,["mainAxis","crossAxis","limiter"]);g={x:r,y:i};return[4,d(e,p)];case 1:m=k.sent();y=a(n(o));_=S(y);w=g[y];b=g[_];if(s){x=y==="y"?"top":"left";A=y==="y"?"bottom":"right";R=w+m[x];P=w-m[A];w=h(R,w,P)}if(u){x=_==="y"?"top":"left";A=_==="y"?"bottom":"right";L=b+m[x];O=b-m[A];b=h(L,b,O)}T=v.fn(__assign(__assign({},e),(E={},E[y]=w,E[_]=b,E)));return[2,__assign(__assign({},T),{data:{x:T.x-r,y:T.y-i}})]}}))}))}}};function j(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function C(t){if(t==null){return window}if(!j(t)){var e=t.ownerDocument;return e?e.defaultView||window:window}return t}function M(t){return C(t).getComputedStyle(t)}function F(t){return j(t)?"":t?(t.nodeName||"").toLowerCase():""}function N(){var t=navigator.userAgentData;if(t!=null&&t.brands){return t.brands.map((function(t){return t.brand+"/"+t.version})).join(" ")}return navigator.userAgent}function V(t){return t instanceof C(t).HTMLElement}function B(t){return t instanceof C(t).Element}function z(t){return t instanceof C(t).Node}function I(t){if(typeof ShadowRoot==="undefined"){return false}var e=C(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function X(t){var e=M(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Y(t){return["table","td","th"].includes(F(t))}function q(t){var e=/firefox/i.test(N());var r=M(t);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||e&&r.willChange==="filter"||e&&(r.filter?r.filter!=="none":false)}function G(){return!/^((?!chrome|android).)*safari/i.test(N())}var J=Math.min;var K=Math.max;var Q=Math.round;function U(t,e,r){var n,i,a,o;if(e===void 0){e=false}if(r===void 0){r=false}var l=t.getBoundingClientRect();var s=1;var f=1;if(e&&V(t)){s=t.offsetWidth>0?Q(l.width)/t.offsetWidth||1:1;f=t.offsetHeight>0?Q(l.height)/t.offsetHeight||1:1}var u=B(t)?C(t):window;var c=!G()&&r;var d=(l.left+(c?(n=(i=u.visualViewport)==null?void 0:i.offsetLeft)!=null?n:0:0))/s;var v=(l.top+(c?(a=(o=u.visualViewport)==null?void 0:o.offsetTop)!=null?a:0:0))/f;var p=l.width/s;var h=l.height/f;return{width:p,height:h,top:v,right:d+p,bottom:v+h,left:d,x:d,y:v}}function Z(t){return((z(t)?t.ownerDocument:t.document)||window.document).documentElement}function $(t){if(B(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tt(t){return U(Z(t)).left+$(t).scrollLeft}function et(t){var e=U(t);return Q(e.width)!==t.offsetWidth||Q(e.height)!==t.offsetHeight}function rt(t,e,r){var n=V(e);var i=Z(e);var a=U(t,n&&et(e),r==="fixed");var o={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(n||!n&&r!=="fixed"){if(F(e)!=="body"||X(i)){o=$(e)}if(V(e)){var s=U(e,true);l.x=s.x+e.clientLeft;l.y=s.y+e.clientTop}else if(i){l.x=tt(i)}}return{x:a.left+o.scrollLeft-l.x,y:a.top+o.scrollTop-l.y,width:a.width,height:a.height}}function nt(t){if(F(t)==="html"){return t}return t.assignedSlot||t.parentNode||(I(t)?t.host:null)||Z(t)}function it(t){if(!V(t)||M(t).position==="fixed"){return null}return at(t)}function at(t){var e=t.offsetParent;var r=t;var n=false;while(r&&r!==e){var i=r.assignedSlot;if(i){var a=i.offsetParent;if(M(i).display==="contents"){var o=i.hasAttribute("style");var l=i.style.display;i.style.display=M(r).display;a=i.offsetParent;i.style.display=l;if(!o){i.removeAttribute("style")}}r=i;if(e!==a){e=a;n=true}}else if(I(r)&&r.host&&n){break}r=I(r)&&r.host||r.parentNode}return e}function ot(t){var e=nt(t);if(I(e)){e=e.host}while(V(e)&&!["html","body"].includes(F(e))){if(q(e)){return e}else{var r=e.parentNode;e=I(r)?r.host:r}}return null}function lt(t){var e=C(t);var r=it(t);while(r&&Y(r)&&M(r).position==="static"){r=it(r)}if(r&&(F(r)==="html"||F(r)==="body"&&M(r).position==="static"&&!q(r))){return e}return r||ot(t)||e}function st(t){if(V(t)){return{width:t.offsetWidth,height:t.offsetHeight}}var e=U(t);return{width:e.width,height:e.height}}function ft(t){var e=t.rect,r=t.offsetParent,n=t.strategy;var i=V(r);var a=Z(r);if(r===a){return e}var o={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(i||!i&&n!=="fixed"){if(F(r)!=="body"||X(a)){o=$(r)}if(V(r)){var s=U(r,true);l.x=s.x+r.clientLeft;l.y=s.y+r.clientTop}}return __assign(__assign({},e),{x:e.x-o.scrollLeft+l.x,y:e.y-o.scrollTop+l.y})}function ut(t,e){var r=C(t);var n=Z(t);var i=r.visualViewport;var a=n.clientWidth;var o=n.clientHeight;var l=0;var s=0;if(i){a=i.width;o=i.height;var f=G();if(f||!f&&e==="fixed"){l=i.offsetLeft;s=i.offsetTop}}return{width:a,height:o,x:l,y:s}}function ct(t){var e;var r=Z(t);var n=$(t);var i=(e=t.ownerDocument)==null?void 0:e.body;var a=K(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0);var o=K(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);var l=-n.scrollLeft+tt(t);var s=-n.scrollTop;if(M(i||r).direction==="rtl"){l+=K(r.clientWidth,i?i.clientWidth:0)-a}return{width:a,height:o,x:l,y:s}}function dt(t){var e=nt(t);if(["html","body","#document"].includes(F(e))){return t.ownerDocument.body}if(V(e)&&X(e)){return e}return dt(e)}function vt(t,e){var r;if(e===void 0){e=[]}var n=dt(t);var i=n===((r=t.ownerDocument)==null?void 0:r.body);var a=C(n);var o=i?[a].concat(a.visualViewport||[],X(n)?n:[]):n;var l=e.concat(o);return i?l:l.concat(vt(o))}function pt(t,e){var r=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e)){return true}else if(r&&I(r)){var n=e;do{if(n&&t===n){return true}n=n.parentNode||n.host}while(n)}return false}function ht(t,e){var r=U(t,false,e==="fixed");var n=r.top+t.clientTop;var i=r.left+t.clientLeft;return{top:n,left:i,x:i,y:n,right:i+t.clientWidth,bottom:n+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function gt(t,e,r){if(e==="viewport"){return c(ut(t,r))}if(B(e)){return ht(e,r)}return c(ct(Z(t)))}function mt(t){var e=vt(t);var r=["absolute","fixed"].includes(M(t).position);var n=r&&V(t)?lt(t):t;if(!B(n)){return[]}return e.filter((function(t){return B(t)&&pt(t,n)&&F(t)!=="body"}))}function yt(t){var e=t.element,r=t.boundary,n=t.rootBoundary,i=t.strategy;var a=r==="clippingAncestors"?mt(e):[].concat(r);var o=__spreadArray(__spreadArray([],a,true),[n],false);var l=o[0];var s=o.reduce((function(t,r){var n=gt(e,r,i);t.top=K(n.top,t.top);t.right=J(n.right,t.right);t.bottom=J(n.bottom,t.bottom);t.left=K(n.left,t.left);return t}),gt(e,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}var _t={getClippingRect:yt,convertOffsetParentRelativeRectToViewportRelativeRect:ft,isElement:B,getDimensions:st,getOffsetParent:lt,getDocumentElement:Z,getElementRects:function(t){var e=t.reference,r=t.floating,n=t.strategy;return{reference:rt(e,lt(r),n),floating:__assign(__assign({},st(r)),{x:0,y:0})}},getClientRects:function(t){return Array.from(t.getClientRects())},isRTL:function(t){return M(t).direction==="rtl"}};function wt(t,e,r,n){if(n===void 0){n={}}var i=n.ancestorScroll,a=i===void 0?true:i,o=n.ancestorResize,l=o===void 0?true:o,s=n.elementResize,f=s===void 0?true:s,u=n.animationFrame,c=u===void 0?false:u;var d=a&&!c;var v=l&&!c;var p=d||v?__spreadArray(__spreadArray([],B(t)?vt(t):[],true),vt(e),true):[];p.forEach((function(t){d&&t.addEventListener("scroll",r,{passive:true});v&&t.addEventListener("resize",r)}));var h=null;if(f){var g=true;h=new ResizeObserver((function(){if(!g){r()}g=false}));B(t)&&!c&&h.observe(t);h.observe(e)}var m;var y=c?U(t):null;if(c){_()}function _(){var e=U(t);if(y&&(e.x!==y.x||e.y!==y.y||e.width!==y.width||e.height!==y.height)){r()}y=e;m=requestAnimationFrame(_)}r();return function(){var t;p.forEach((function(t){d&&t.removeEventListener("scroll",r);v&&t.removeEventListener("resize",r)}));(t=h)==null?void 0:t.disconnect();h=null;if(c){cancelAnimationFrame(m)}}}var bt=function(t,e,r){return s(t,e,__assign({platform:_t},r))};var xt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"];var At=t("d","bottom-start");var Rt=t("F",{animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"});function Pt(t){var e=t.placement,r=t.disableFlip,n=t.flipPlacements,i=t.offsetDistance,a=t.offsetSkidding,o=t.arrowEl,l=t.type;var s=[W(),k()];if(l==="menu"){return __spreadArray(__spreadArray([],s,true),[O({fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]})],false)}if(l==="popover"||l==="tooltip"){var f=__spreadArray(__spreadArray([],s,true),[H({mainAxis:typeof i==="number"?i:0,crossAxis:typeof a==="number"?a:0})],false);if(e==="auto"||e==="auto-start"||e==="auto-end"){f.push(P({alignment:e==="auto-start"?"start":e==="auto-end"?"end":null}))}else if(!r){f.push(O(n?{fallbackPlacements:n}:{}))}if(o){f.push(g({element:o}))}return f}return[]}function Lt(t,e){var r=t.filter((function(t){return xt.includes(t)}));if(r.length!==t.length){console.warn("".concat(e.tagName,": Invalid value found in: flipPlacements. Try any of these: ").concat(xt.map((function(t){return'"'.concat(t,'"')})).join(", ").trim()),{el:e})}return r}function Ot(t,r){var n=["left","right"];if(e(t)==="rtl"){n.reverse()}return r.replace(/-leading/gi,"-start").replace(/-trailing/gi,"-end").replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}function Tt(t){var e=t.referenceEl,r=t.floatingEl,n=t.overlayPositioning,i=n===void 0?"absolute":n,a=t.placement,o=t.disableFlip,l=t.flipPlacements,s=t.offsetDistance,f=t.offsetSkidding,u=t.arrowEl,c=t.type;return __awaiter(this,void 0,void 0,(function(){var t,n,d,v,p,h,g,m,y,_,w,b,x,A;return __generator(this,(function(R){switch(R.label){case 0:if(!e||!r){return[2,null]}return[4,bt(e,r,{strategy:i,placement:a==="auto"||a==="auto-start"||a==="auto-end"?undefined:Ot(r,a),middleware:Pt({placement:a,disableFlip:o,flipPlacements:l,offsetDistance:s,offsetSkidding:f,arrowEl:u,type:c})})];case 1:n=R.sent(),d=n.x,v=n.y,p=n.placement,h=n.strategy,g=n.middlewareData;if(g===null||g===void 0?void 0:g.arrow){m=g.arrow,y=m.x,_=m.y;Object.assign(u.style,{left:y!=null?"".concat(y,"px"):"",top:_!=null?"".concat(_,"px"):""})}w=(t=g===null||g===void 0?void 0:g.hide)===null||t===void 0?void 0:t.referenceHidden;b=w?"hidden":null;x=b?"none":null;r.setAttribute("data-placement",p);A="translate(".concat(Math.round(d),"px,").concat(Math.round(v),"px)");Object.assign(r.style,{visibility:b,pointerEvents:x,position:h,top:"0",left:"0",transform:A});return[2]}}))}))}var Et=new WeakMap;function kt(t,e,r){if(!r||!e){return}Dt(t,e,r);Et.set(t,wt(e,r,(function(){if(t.open){t.reposition()}})))}function Dt(t,e,r){if(!r||!e){return}var n=Et.get(t);if(n){n()}Et.delete(t)}var Ht=4;var St=t("b",Math.ceil(Math.hypot(Ht,Ht)))}}}));
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function o(e){try{c(n.next(e))}catch(e){r(e)}}function l(e){try{c(n["throw"](e))}catch(e){r(e)}}function c(e){e.done?i(e.value):a(e.value).then(o,l)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];a=0}finally{n=r=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
+ * v1.0.0-next.566
6
+ */System.register(["./p-9acc1d81.system.js","./p-a043509b.system.js","./p-cd478f6a.system.js","./p-aea55c77.system.js","./p-fb80d78d.system.js","./p-ac1e10c9.system.js","./p-34c101f1.system.js","./p-9544382c.system.js","./p-c1e1d528.system.js"],(function(e){"use strict";var t,i,n,a,r,o,l,c,s,u,d,m,p,f,h,v,b;return{setters:[function(e){t=e.r;i=e.c;n=e.h;a=e.H;r=e.g},function(e){o=e.g},function(e){l=e.i},function(e){c=e.c;s=e.d;u=e.g},function(e){d=e.s;m=e.c;p=e.d;f=e.H},function(e){h=e.u},function(e){v=e.n;b=e.i},function(){},function(){}],execute:function(){var w=5;function k(e,t){if(t===void 0){t=true}try{var i={hour:"2-digit",minute:"2-digit",timeZone:"UTC"};if(t){i.second="2-digit"}return new Intl.DateTimeFormat(e,i)}catch(t){throw new Error("Invalid locale supplied while attempting to create a DateTime formatter: ".concat(e))}}function y(e){var t=e.toString();return e>=0&&e<=9?t.padStart(2,"0"):t}function D(e){if(!I(e)){return null}var t=e.split(":"),i=t[0],n=t[1],a=t[2];var r=y(parseInt(i));var o=y(parseInt(n));if(a){var l=y(parseInt(a));return"".concat(r,":").concat(o,":").concat(l)}return"".concat(r,":").concat(o)}function g(e){var t=k(e);var i=t.formatToParts(new Date(Date.UTC(0,0,0,0,0,0)));return x("meridiem",i)?"12":"24"}function x(e,t){var i,n,a,r;if(!e||!t){return null}if(e==="hourSuffix"){var o=t.indexOf(t.find((function(e){var t=e.type;return t==="hour"})));var l=t.indexOf(t.find((function(e){var t=e.type;return t==="minute"})));var c=t[o+1];return c&&c.type==="literal"&&l-o===2?((i=c.value)===null||i===void 0?void 0:i.trim())||null:null}if(e==="minuteSuffix"){var l=t.indexOf(t.find((function(e){var t=e.type;return t==="minute"})));var s=t.indexOf(t.find((function(e){var t=e.type;return t==="second"})));var u=t[l+1];return u&&u.type==="literal"&&s-l===2?((n=u.value)===null||n===void 0?void 0:n.trim())||null:null}if(e==="secondSuffix"){var s=t.indexOf(t.find((function(e){var t=e.type;return t==="second"})));var d=t[s+1];return d&&d.type==="literal"?((a=d.value)===null||a===void 0?void 0:a.trim())||null:null}return((r=t.find((function(t){var i=t.type;return e=="meridiem"?i==="dayPeriod":i===e})))===null||r===void 0?void 0:r.value)||null}function M(e){if(!l(e)){return null}var t=parseInt(e);return t>=0&&t<=11?"AM":"PM"}function I(e){if(!e||e.startsWith(":")||e.endsWith(":")){return false}var t=e.split(":");var i=t.length>1&&t.length<4;if(!i){return false}var n=t[0],a=t[1],r=t[2];var o=parseInt(t[0]);var c=parseInt(t[1]);var s=parseInt(t[2]);var u=l(n)&&o>=0&&o<24;var d=l(a)&&c>=0&&c<60;var m=l(r)&&s>=0&&s<60;if(u&&d&&!r||u&&d&&m){return true}}function H(e,t){if(t==="meridiem"){return e==="AM"||e==="PM"}if(!l(e)){return false}var i=Number(e);return t==="hour"?i>=0&&i<24:i>=0&&i<60}function S(e,t,i){if(!H(e,t)){return}var n=parseInt(e);var a=new Date(Date.UTC(0,0,0,t==="hour"?n:t==="meridiem"?e==="AM"?0:12:0,t==="minute"?n:0,t==="second"?n:0));if(!a){return}var r=k(i);var o=r.formatToParts(a);return x(t,o)}function P(e,t,i){if(t===void 0){t="en"}if(i===void 0){i=true}if(!I(e)){return null}var n=V(e),a=n.hour,r=n.minute,o=n.second,l=o===void 0?"0":o;var c=new Date(Date.UTC(0,0,0,parseInt(a),parseInt(r),parseInt(l)));var s=k(t,i);return(s===null||s===void 0?void 0:s.format(c))||null}function z(e,t){if(t===void 0){t="en"}if(!I(e)){return null}var i=V(e),n=i.hour,a=i.minute,r=i.second,o=r===void 0?"0":r;var l=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(a),parseInt(o)));if(l){var c=k(t);var s=c.formatToParts(l);return{localizedHour:x("hour",s),localizedHourSuffix:x("hourSuffix",s),localizedMinute:x("minute",s),localizedMinuteSuffix:x("minuteSuffix",s),localizedSecond:x("second",s),localizedSecondSuffix:x("secondSuffix",s),localizedMeridiem:x("meridiem",s)}}return null}function C(e,t){if(t===void 0){t="en"}if(!I(e)){return null}var i=V(e),n=i.hour,a=i.minute,r=i.second,o=r===void 0?"0":r;var l=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(a),parseInt(o)));if(l){var c=k(t);var s=c.formatToParts(l);return s}return null}function V(e){if(I(e)){var t=e.split(":"),i=t[0],n=t[1],a=t[2];return{hour:i,minute:n,second:a}}return{hour:null,minute:null,second:null}}var U="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var E=e("calcite_input_time_picker",function(){function e(e){var n=this;t(this,e);this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7);this.active=false;this.disabled=false;this.readOnly=false;this.locale=document.documentElement.lang||navigator.language||"en";this.required=false;this.scale="m";this.placement="auto";this.step=60;this.value=null;this.internalValueChange=false;this.previousValidValue=null;this.referenceElementId="input-time-picker-".concat(o());this.calciteInternalInputBlurHandler=function(){n.active=false;var e=n.shouldIncludeSeconds();var t=P(n.calciteInputEl.value,n.locale,e);n.setInputValue(t||P(n.value,n.locale,e))};this.calciteInternalInputFocusHandler=function(e){if(!n.readOnly){n.active=true;e.stopPropagation()}};this.calciteInputInputHandler=function(e){var t=e.target;n.setValue({value:t.value})};this.timePickerChangeHandler=function(e){e.stopPropagation();var t=e.target;var i=t.value;n.setValue({value:i,origin:"time-picker"})};this.keyDownHandler=function(e){var t=e.defaultPrevented,i=e.key;if(t){return}if(i==="Enter"){if(d(n)){e.preventDefault()}}if(i==="Escape"&&n.active){n.active=false;e.preventDefault()}};this.setCalcitePopoverEl=function(e){n.popoverEl=e};this.setCalciteInputEl=function(e){n.calciteInputEl=e};this.setCalciteTimePickerEl=function(e){n.calciteTimePickerEl=e};this.setInputValue=function(e){if(!n.calciteInputEl){return}n.calciteInputEl.value=e};this.setValue=function(e){var t=e.value,i=e.origin,a=i===void 0?"input":i;var r=n.value;var o=D(t);var l=P(o,n.locale,n.shouldIncludeSeconds());n.internalValueChange=a!=="external"&&a!=="loading";var c=a!=="loading"&&a!=="external"&&(t!==n.previousValidValue&&!t||!!(!n.previousValidValue&&o)||o!==n.previousValidValue&&o);if(t){if(c){n.previousValidValue=o}if(o&&o!==n.value){n.value=o}n.localizedValue=l}else{n.value=t;n.localizedValue=null}if(a==="time-picker"||a==="external"){n.setInputValue(l)}if(c){var s=n.calciteInputTimePickerChange.emit();if(s.defaultPrevented){n.internalValueChange=false;n.value=r;n.setInputValue(r);n.previousValidValue=r}else{n.previousValidValue=o}}}}e.prototype.activeHandler=function(){if(this.disabled||this.readOnly){this.active=false;return}this.reposition()};e.prototype.handleDisabledAndReadOnlyChange=function(e){if(!e){this.active=false}};e.prototype.localeWatcher=function(e){this.setInputValue(P(this.value,e,this.shouldIncludeSeconds()))};e.prototype.valueWatcher=function(e){if(!this.internalValueChange){this.setValue({value:e,origin:"external"})}this.internalValueChange=false};e.prototype.clickHandler=function(e){if(e.composedPath().includes(this.calciteTimePickerEl)){return}this.setFocus()};e.prototype.timePickerBlurHandler=function(e){e.preventDefault();e.stopPropagation();this.active=false};e.prototype.timePickerFocusHandler=function(e){e.preventDefault();e.stopPropagation();if(!this.readOnly){this.active=true}};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){(e=this.calciteInputEl)===null||e===void 0?void 0:e.setFocus();return[2]}))}))};e.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){(e=this.popoverEl)===null||e===void 0?void 0:e.reposition();return[2]}))}))};e.prototype.onLabelClick=function(){this.setFocus()};e.prototype.shouldIncludeSeconds=function(){return this.step<60};e.prototype.connectedCallback=function(){if(this.value){this.setValue({value:I(this.value)?this.value:undefined,origin:"loading"})}c(this);m(this)};e.prototype.componentDidLoad=function(){this.setInputValue(this.localizedValue)};e.prototype.disconnectedCallback=function(){s(this);p(this)};e.prototype.componentDidRender=function(){h(this)};e.prototype.render=function(){var e="".concat(this.referenceElementId,"-popover");return n(a,{onKeyDown:this.keyDownHandler},n("div",{"aria-controls":e,"aria-haspopup":"dialog","aria-label":this.name,"aria-owns":e,id:this.referenceElementId,role:"combobox"},n("calcite-input",{disabled:this.disabled,icon:"clock",label:u(this),onCalciteInputInput:this.calciteInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.calciteInternalInputFocusHandler,readOnly:this.readOnly,ref:this.setCalciteInputEl,scale:this.scale,step:this.step})),n("calcite-popover",{id:e,label:"Time Picker",open:this.active,placement:this.placement,ref:this.setCalcitePopoverEl,referenceElement:this.referenceElementId,triggerDisabled:true},n("calcite-time-picker",{intlHour:this.intlHour,intlHourDown:this.intlHourDown,intlHourUp:this.intlHourUp,intlMeridiem:this.intlMeridiem,intlMeridiemDown:this.intlMeridiemDown,intlMeridiemUp:this.intlMeridiemUp,intlMinute:this.intlMinute,intlMinuteDown:this.intlMinuteDown,intlMinuteUp:this.intlMinuteUp,intlSecond:this.intlSecond,intlSecondDown:this.intlSecondDown,intlSecondUp:this.intlSecondUp,lang:this.locale,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,ref:this.setCalciteTimePickerEl,scale:this.scale,step:this.step,value:this.value})),n(f,{component:this}))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["activeHandler"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],locale:["localeWatcher"],value:["valueWatcher"]}},enumerable:false,configurable:true});return e}());E.style=U;var _={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",delimiter:"delimiter",hour:"hour",input:"input",meridiem:"meridiem",minute:"minute",second:"second",showMeridiem:"show-meridiem",showSecond:"show-second","scale-s":"scale-s","scale-m":"scale-m","scale-l":"scale-l",timePicker:"time-picker",meridiemStart:"meridiem--start"};var A={hour:"Hour",hourDown:"Decrease hour",hourUp:"Increase hour",meridiem:"AM/PM",meridiemDown:"Decrease AM/PM",meridiemUp:"Increase AM/PM",minute:"Minute",minuteDown:"Decrease minute",minuteUp:"Increase minute",second:"Second",secondDown:"Decrease second",secondUp:"Increase second"};var K="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block}.time-picker{display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius)}.time-picker .column{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.time-picker .meridiem--start{-ms-flex-order:-1;order:-1}.time-picker .button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px}.time-picker .button:active{background-color:var(--calcite-ui-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-ui-text-3)}.time-picker .input{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:0.75rem;padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:1rem;padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:1.25rem;padding-inline-end:1.25rem}";function T(e){return e.charAt(0).toUpperCase()+e.slice(1)}var B=e("calcite_time_picker",function(){function e(e){var n=this;t(this,e);this.calciteInternalTimePickerBlur=i(this,"calciteInternalTimePickerBlur",6);this.calciteInternalTimePickerChange=i(this,"calciteInternalTimePickerChange",6);this.calciteInternalTimePickerFocus=i(this,"calciteInternalTimePickerFocus",6);this.intlHour=A.hour;this.intlHourDown=A.hourDown;this.intlHourUp=A.hourUp;this.intlMeridiem=A.meridiem;this.intlMeridiemDown=A.meridiemDown;this.intlMeridiemUp=A.meridiemUp;this.intlMinute=A.minute;this.intlMinuteDown=A.minuteDown;this.intlMinuteUp=A.minuteUp;this.intlSecond=A.second;this.intlSecondDown=A.secondDown;this.intlSecondUp=A.secondUp;this.locale=document.documentElement.lang||navigator.language||"en";this.scale="m";this.step=60;this.value=null;this.showSecond=this.step<60;this.decrementHour=function(){var e=!n.hour?0:n.hour==="00"?23:parseInt(n.hour)-1;n.setValuePart("hour",e)};this.decrementMeridiem=function(){var e=n.meridiem==="PM"?"AM":"PM";n.setValuePart("meridiem",e)};this.decrementMinuteOrSecond=function(e){var t;if(l(n[e])){var i=parseInt(n[e]);t=i===0?59:i-1}else{t=59}n.setValuePart(e,t)};this.decrementMinute=function(){n.decrementMinuteOrSecond("minute")};this.decrementSecond=function(){n.decrementMinuteOrSecond("second")};this.focusHandler=function(e){n.activeEl=e.currentTarget};this.hourDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementHour()}};this.hourKeyDownHandler=function(e){var t=e.key;if(v.includes(t)){var i=parseInt(t);var a=void 0;if(l(n.hour)){switch(n.hourCycle){case"12":a=n.hour==="01"&&i>=0&&i<=2?"1".concat(i):i;break;case"24":if(n.hour==="01"){a="1".concat(i)}else if(n.hour==="02"&&i>=0&&i<=3){a="2".concat(i)}else{a=i}break}}else{a=i}n.setValuePart("hour",a)}else{switch(t){case"Backspace":case"Delete":n.setValuePart("hour",null);break;case"ArrowDown":e.preventDefault();n.decrementHour();break;case"ArrowUp":e.preventDefault();n.incrementHour();break;case" ":e.preventDefault();break}}};this.hourUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementHour()}};this.incrementMeridiem=function(){var e=n.meridiem==="AM"?"PM":"AM";n.setValuePart("meridiem",e)};this.incrementHour=function(){var e=l(n.hour)?n.hour==="23"?0:parseInt(n.hour)+1:1;n.setValuePart("hour",e)};this.incrementMinuteOrSecond=function(e){var t=l(n[e])?n[e]==="59"?0:parseInt(n[e])+1:0;n.setValuePart(e,t)};this.incrementMinute=function(){n.incrementMinuteOrSecond("minute")};this.incrementSecond=function(){n.incrementMinuteOrSecond("second")};this.meridiemDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementMeridiem()}};this.meridiemKeyDownHandler=function(e){switch(e.key){case"a":n.setValuePart("meridiem","AM");break;case"p":n.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":n.setValuePart("meridiem",null);break;case"ArrowUp":e.preventDefault();n.incrementMeridiem();break;case"ArrowDown":e.preventDefault();n.decrementMeridiem();break;case" ":e.preventDefault();break}};this.meridiemUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementMeridiem()}};this.minuteDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementMinute()}};this.minuteKeyDownHandler=function(e){var t=e.key;if(v.includes(t)){var i=parseInt(t);var a=void 0;if(l(n.minute)&&n.minute.startsWith("0")){var r=parseInt(n.minute);a=r>w?i:"".concat(r).concat(i)}else{a=i}n.setValuePart("minute",a)}else{switch(t){case"Backspace":case"Delete":n.setValuePart("minute",null);break;case"ArrowDown":e.preventDefault();n.decrementMinute();break;case"ArrowUp":e.preventDefault();n.incrementMinute();break;case" ":e.preventDefault();break}}};this.minuteUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementMinute()}};this.secondDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementSecond()}};this.secondKeyDownHandler=function(e){var t=e.key;if(v.includes(t)){var i=parseInt(t);var a=void 0;if(l(n.second)&&n.second.startsWith("0")){var r=parseInt(n.second);a=r>w?i:"".concat(r).concat(i)}else{a=i}n.setValuePart("second",a)}else{switch(t){case"Backspace":case"Delete":n.setValuePart("second",null);break;case"ArrowDown":e.preventDefault();n.decrementSecond();break;case"ArrowUp":e.preventDefault();n.incrementSecond();break;case" ":e.preventDefault();break}}};this.secondUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementSecond()}};this.setHourEl=function(e){return n.hourEl=e};this.setMeridiemEl=function(e){return n.meridiemEl=e};this.setMinuteEl=function(e){return n.minuteEl=e};this.setSecondEl=function(e){return n.secondEl=e};this.setValue=function(e,t){if(t===void 0){t=true}if(I(e)){var i=V(e),a=i.hour,r=i.minute,o=i.second;var l=z(e,n.locale),c=l.localizedHour,s=l.localizedHourSuffix,u=l.localizedMinute,d=l.localizedMinuteSuffix,m=l.localizedSecond,p=l.localizedSecondSuffix,f=l.localizedMeridiem;n.localizedHour=c;n.localizedHourSuffix=s;n.localizedMinute=u;n.localizedMinuteSuffix=d;n.localizedSecond=m;n.localizedSecondSuffix=p;n.hour=a;n.minute=r;n.second=o;if(f){n.localizedMeridiem=f;n.meridiem=M(n.hour);var h=C(e,n.locale);n.meridiemOrder=n.getMeridiemOrder(h)}}else{n.hour=null;n.localizedHour=null;n.localizedHourSuffix=null;n.localizedMeridiem=null;n.localizedMinute=null;n.localizedMinuteSuffix=null;n.localizedSecond=null;n.localizedSecondSuffix=null;n.meridiem=null;n.minute=null;n.second=null;n.value=null}if(t){n.calciteInternalTimePickerChange.emit()}};this.setValuePart=function(e,t,i){if(i===void 0){i=true}var a;if(e==="meridiem"){n.meridiem=t;if(l(n.hour)){var r=parseInt(n.hour);switch(t){case"AM":if(r>=12){n.hour=y(r-12)}break;case"PM":if(r<12){n.hour=y(r+12)}break}n.localizedHour=S(n.hour,"hour",n.locale)}}else{n[e]=typeof t==="number"?y(t):t;n["localized".concat(T(e))]=S(n[e],e,n.locale)}if(n.hour&&n.minute){var o=n.second&&n.showSecond;n.value="".concat(n.hour,":").concat(n.minute,":").concat(o?n.second:"00")}else{n.value=null}n.localizedMeridiem=n.value?((a=z(n.value,n.locale))===null||a===void 0?void 0:a.localizedMeridiem)||null:S(n.meridiem,"meridiem",n.locale);if(i){n.calciteInternalTimePickerChange.emit()}}}e.prototype.localeWatcher=function(e){this.hourCycle=g(e);this.setValue(this.value,false)};e.prototype.valueWatcher=function(e){this.setValue(e,false)};e.prototype.hostBlurHandler=function(){this.calciteInternalTimePickerBlur.emit()};e.prototype.hostFocusHandler=function(){this.calciteInternalTimePickerFocus.emit()};e.prototype.keyDownHandler=function(e){var t=e.defaultPrevented,i=e.key;if(t){return}switch(this.activeEl){case this.hourEl:if(i==="ArrowRight"){this.setFocus("minute");e.preventDefault()}break;case this.minuteEl:switch(i){case"ArrowLeft":this.setFocus("hour");e.preventDefault();break;case"ArrowRight":if(this.step!==60){this.setFocus("second");e.preventDefault()}else if(this.hourCycle==="12"){this.setFocus("meridiem");e.preventDefault()}break}break;case this.secondEl:switch(i){case"ArrowLeft":this.setFocus("minute");e.preventDefault();break;case"ArrowRight":if(this.hourCycle==="12"){this.setFocus("meridiem");e.preventDefault()}break}break;case this.meridiemEl:switch(i){case"ArrowLeft":if(this.step!==60){this.setFocus("second");e.preventDefault()}else{this.setFocus("minute");e.preventDefault()}break}break}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){(t=this["".concat(e||"hour","El")])===null||t===void 0?void 0:t.focus();return[2]}))}))};e.prototype.buttonActivated=function(e){var t=e.key;if(t===" "){e.preventDefault()}return b(t)};e.prototype.getMeridiemOrder=function(e){var t=this;var i=this.locale==="ar"||this.locale==="he";if(e&&!i){var n=e.findIndex((function(e){return e.value===t.localizedMeridiem}));return n}return 0};e.prototype.connectedCallback=function(){this.setValue(this.value,false);this.hourCycle=g(this.locale)};e.prototype.render=function(){var e,t,i,a,r,o,c,s,u,d,m,p,f,h;var v=l(this.hour);var b=this.scale==="s"||this.scale==="m"?"s":"m";var w=l(this.minute);var k=l(this.second);var y=this.hourCycle==="12";return n("div",{class:(e={},e[_.timePicker]=true,e[_.showMeridiem]=y,e[_.showSecond]=this.showSecond,e[_["scale-".concat(this.scale)]]=true,e),dir:"ltr"},n("div",{class:_.column,role:"group"},n("span",{"aria-label":this.intlHourUp,class:(t={},t[_.button]=true,t[_.buttonHourUp]=true,t[_.buttonTopLeft]=true,t),onClick:this.incrementHour,onKeyDown:this.hourUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlHour,"aria-valuemax":"23","aria-valuemin":"1","aria-valuenow":v&&parseInt(this.hour)||"0","aria-valuetext":this.hour,class:(i={},i[_.input]=true,i[_.hour]=true,i),onFocus:this.focusHandler,onKeyDown:this.hourKeyDownHandler,ref:this.setHourEl,role:"spinbutton",tabIndex:0},this.localizedHour||"--"),n("span",{"aria-label":this.intlHourDown,class:(a={},a[_.button]=true,a[_.buttonHourDown]=true,a[_.buttonBottomLeft]=true,a),onClick:this.decrementHour,onKeyDown:this.hourDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))),n("span",{class:_.delimiter},this.localizedHourSuffix),n("div",{class:_.column,role:"group"},n("span",{"aria-label":this.intlMinuteUp,class:(r={},r[_.button]=true,r[_.buttonMinuteUp]=true,r),onClick:this.incrementMinute,onKeyDown:this.minuteUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlMinute,"aria-valuemax":"12","aria-valuemin":"1","aria-valuenow":w&&parseInt(this.minute)||"0","aria-valuetext":this.minute,class:(o={},o[_.input]=true,o[_.minute]=true,o),onFocus:this.focusHandler,onKeyDown:this.minuteKeyDownHandler,ref:this.setMinuteEl,role:"spinbutton",tabIndex:0},this.localizedMinute||"--"),n("span",{"aria-label":this.intlMinuteDown,class:(c={},c[_.button]=true,c[_.buttonMinuteDown]=true,c),onClick:this.decrementMinute,onKeyDown:this.minuteDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))),this.showSecond&&n("span",{class:_.delimiter},this.localizedMinuteSuffix),this.showSecond&&n("div",{class:_.column,role:"group"},n("span",{"aria-label":this.intlSecondUp,class:(s={},s[_.button]=true,s[_.buttonSecondUp]=true,s),onClick:this.incrementSecond,onKeyDown:this.secondUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlSecond,"aria-valuemax":"59","aria-valuemin":"0","aria-valuenow":k&&parseInt(this.second)||"0","aria-valuetext":this.second,class:(u={},u[_.input]=true,u[_.second]=true,u),onFocus:this.focusHandler,onKeyDown:this.secondKeyDownHandler,ref:this.setSecondEl,role:"spinbutton",tabIndex:0},this.localizedSecond||"--"),n("span",{"aria-label":this.intlSecondDown,class:(d={},d[_.button]=true,d[_.buttonSecondDown]=true,d),onClick:this.decrementSecond,onKeyDown:this.secondDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))),this.localizedSecondSuffix&&n("span",{class:_.delimiter},this.localizedSecondSuffix),y&&n("div",{class:(m={},m[_.column]=true,m[_.meridiemStart]=this.meridiemOrder===0,m),role:"group"},n("span",{"aria-label":this.intlMeridiemUp,class:(p={},p[_.button]=true,p[_.buttonMeridiemUp]=true,p[_.buttonTopRight]=true,p),onClick:this.incrementMeridiem,onKeyDown:this.meridiemUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlMeridiem,"aria-valuemax":"2","aria-valuemin":"1","aria-valuenow":this.meridiem==="PM"&&"2"||"1","aria-valuetext":this.meridiem,class:(f={},f[_.input]=true,f[_.meridiem]=true,f),onFocus:this.focusHandler,onKeyDown:this.meridiemKeyDownHandler,ref:this.setMeridiemEl,role:"spinbutton",tabIndex:0},this.localizedMeridiem||"--"),n("span",{"aria-label":this.intlMeridiemDown,class:(h={},h[_.button]=true,h[_.buttonMeridiemDown]=true,h[_.buttonBottomRight]=true,h),onClick:this.decrementMeridiem,onKeyDown:this.meridiemDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{locale:["localeWatcher"],value:["valueWatcher"]}},enumerable:false,configurable:true});return e}());B.style=K}}}));
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.563
4
+ * v1.0.0-next.566
5
5
  */
6
- import{r as a,h as t,g as i}from"./p-52dfcd0e.js";import{f as o}from"./p-830f1cca.js";import{u as n}from"./p-2dc8e225.js";import"./p-7636c46c.js";import"./p-083a9c56.js";const e=class{constructor(t){a(this,t),this.appearance="outline",this.color="neutral",this.disabled=!1,this.icon="plus",this.loading=!1,this.scale="m",this.textEnabled=!1}componentDidRender(){n(this)}async setFocus(){o(this.buttonEl)}render(){const{appearance:a,color:i,disabled:o,loading:n,scale:e,textEnabled:r,icon:s,label:c,text:l}=this;return t("calcite-button",{appearance:"solid"===a?"solid":"outline",class:"button",color:i,disabled:o,iconStart:s,label:c,loading:n,ref:a=>{this.buttonEl=a},round:!0,scale:e,title:r?null:c||l||null,type:"button",width:"auto"},this.textEnabled?this.text:null)}get el(){return i(this)}};e.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";export{e as calcite_fab}
6
+ import{r as a,h as t,g as i}from"./p-7ee1982a.js";import{f as o}from"./p-6a91f07f.js";import{u as n}from"./p-08c5c111.js";import"./p-c48abc3a.js";import"./p-0699940b.js";const e=class{constructor(t){a(this,t),this.appearance="outline",this.color="neutral",this.disabled=!1,this.icon="plus",this.loading=!1,this.scale="m",this.textEnabled=!1}componentDidRender(){n(this)}async setFocus(){o(this.buttonEl)}render(){const{appearance:a,color:i,disabled:o,loading:n,scale:e,textEnabled:r,icon:s,label:c,text:l}=this;return t("calcite-button",{appearance:"solid"===a?"solid":"outline",class:"button",color:i,disabled:o,iconStart:s,label:c,loading:n,ref:a=>{this.buttonEl=a},round:!0,scale:e,title:r?null:c||l||null,type:"button",width:"auto"},this.textEnabled?this.text:null)}get el(){return i(this)}};e.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";export{e as calcite_fab}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.563
4
+ * v1.0.0-next.566
5
5
  */
6
- System.register(["./p-3fe63f18.system.js"],(function(t){"use strict";var a,i,n;return{setters:[function(t){a=t.r;i=t.h;n=t.g}],execute:function(){var e={scrim:"scrim",content:"content"};var r={loading:"Loading"};var c="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:absolute;inset:0px;z-index:700;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}@-webkit-keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";var o=t("calcite_scrim",function(){function t(t){a(this,t);this.intlLoading=r.loading;this.loading=false}t.prototype.render=function(){var t=this,a=t.el,n=t.loading,r=t.intlLoading;var c=a.innerHTML.trim().length>0;var o=n?i("calcite-loader",{active:true,label:r}):null;var l=c?i("div",{class:e.content},i("slot",null)):null;return i("div",{class:e.scrim},o,l)};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());o.style=c}}}));
6
+ System.register(["./p-9acc1d81.system.js"],(function(t){"use strict";var a,i,n;return{setters:[function(t){a=t.r;i=t.h;n=t.g}],execute:function(){var e={scrim:"scrim",content:"content"};var r={loading:"Loading"};var c="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:700;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}@-webkit-keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";var o=t("calcite_scrim",function(){function t(t){a(this,t);this.intlLoading=r.loading;this.loading=false}t.prototype.render=function(){var t=this,a=t.el,n=t.loading,r=t.intlLoading;var c=a.innerHTML.trim().length>0;var o=n?i("calcite-loader",{active:true,label:r}):null;var l=c?i("div",{class:e.content},i("slot",null)):null;return i("div",{class:e.scrim},o,l)};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());o.style=c}}}));
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.563
4
+ * v1.0.0-next.566
5
5
  */
6
- import{r as t,c as i,h as a,g as e}from"./p-52dfcd0e.js";import{u as n}from"./p-2dc8e225.js";const o=class{constructor(a){t(this,a),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6),this.appearance="solid",this.color="blue",this.disabled=!1,this.active=!1,this.dropdownIconType="chevron",this.loading=!1,this.overlayPositioning="absolute",this.scale="m",this.width="auto",this.calciteSplitButtonPrimaryClickHandler=t=>this.calciteSplitButtonPrimaryClick.emit(t),this.calciteSplitButtonSecondaryClickHandler=t=>this.calciteSplitButtonSecondaryClick.emit(t)}handleDisabledChange(t){t||(this.active=!1)}activeHandler(){this.disabled&&(this.active=!1)}componentDidRender(){n(this)}render(){return a("div",{class:{"split-button__container":!0,"width-auto":"auto"===this.width,"width-half":"half"===this.width,"width-full":"full"===this.width}},a("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:"auto"===this.width?"auto":"full"},this.primaryText),a("div",{class:"split-button__divider-container"},a("div",{class:"split-button__divider"})),a("calcite-dropdown",{active:this.active,disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,width:this.scale},a("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-start":this.dropdownIcon,label:this.dropdownLabel,scale:this.scale,slot:"dropdown-trigger",splitChild:"secondary",type:"button"}),a("slot",null)))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}get el(){return e(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};o.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block}:host .split-button__container{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host([appearance=solid]):host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=solid]):host([color=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=clear]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=clear]):host([color=blue]),:host([appearance=outline]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=clear]):host([color=red]),:host([appearance=outline]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=clear]):host([color=neutral]),:host([appearance=outline]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=clear]):host([color=inverse]),:host([appearance=outline]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:-ms-flexbox;display:flex;inline-size:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline]):hover .split-button__divider-container,:host([appearance=clear]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:focus-within):host([color=blue]),:host([appearance=clear]:focus-within):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline]:focus-within):host([color=red]),:host([appearance=clear]:focus-within):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline]:focus-within) .split-button__divider-container,:host([appearance=clear]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{o as calcite_split_button}
6
+ import{r as t,c as i,h as a,g as e}from"./p-7ee1982a.js";import{u as n}from"./p-08c5c111.js";const o=class{constructor(a){t(this,a),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6),this.appearance="solid",this.color="blue",this.disabled=!1,this.active=!1,this.dropdownIconType="chevron",this.loading=!1,this.overlayPositioning="absolute",this.scale="m",this.width="auto",this.calciteSplitButtonPrimaryClickHandler=t=>this.calciteSplitButtonPrimaryClick.emit(t),this.calciteSplitButtonSecondaryClickHandler=t=>this.calciteSplitButtonSecondaryClick.emit(t)}handleDisabledChange(t){t||(this.active=!1)}activeHandler(){this.disabled&&(this.active=!1)}componentDidRender(){n(this)}render(){return a("div",{class:{"split-button__container":!0,"width-auto":"auto"===this.width,"width-half":"half"===this.width,"width-full":"full"===this.width}},a("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:"auto"===this.width?"auto":"full"},this.primaryText),a("div",{class:"split-button__divider-container"},a("div",{class:"split-button__divider"})),a("calcite-dropdown",{active:this.active,disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,width:this.scale},a("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-start":this.dropdownIcon,label:this.dropdownLabel,scale:this.scale,slot:"dropdown-trigger",splitChild:"secondary",type:"button"}),a("slot",null)))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}get el(){return e(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};o.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block}:host .split-button__container{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host([appearance=solid]):host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=solid]):host([color=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=clear]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=clear]):host([color=blue]),:host([appearance=outline]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=clear]):host([color=red]),:host([appearance=outline]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=clear]):host([color=neutral]),:host([appearance=outline]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=clear]):host([color=inverse]),:host([appearance=outline]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:-ms-flexbox;display:flex;inline-size:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline]):hover .split-button__divider-container,:host([appearance=clear]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:focus-within):host([color=blue]),:host([appearance=clear]:focus-within):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline]:focus-within):host([color=red]),:host([appearance=clear]:focus-within):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline]:focus-within) .split-button__divider-container,:host([appearance=clear]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{o as calcite_split_button}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.0.0-next.566
5
+ */
6
+ import{r as t,c as e,h as i,H as a,g as s}from"./p-7ee1982a.js";import{s as n,t as o,g as l}from"./p-6a91f07f.js";import{S as r}from"./p-8a08e10f.js";import{c,d}from"./p-0861b5c3.js";import"./p-c48abc3a.js";import"./p-0699940b.js";const m={slow:14e3,medium:1e4,fast:6e3},h=class{constructor(i){t(this,i),this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=e(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=e(this,"calciteAlertOpen",6),this.calciteInternalAlertSync=e(this,"calciteInternalAlertSync",6),this.calciteInternalAlertRegister=e(this,"calciteInternalAlertRegister",6),this.active=!1,this.open=!1,this.autoDismiss=!1,this.autoDismissDuration=this.autoDismiss?"medium":null,this.color="blue",this.intlClose="Close",this.placement="bottom",this.scale="m",this.queue=[],this.queueLength=0,this.queued=!1,this.autoDismissTimeoutId=null,this.trackTimer=Date.now(),this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t,c(this)},this.closeAlert=()=>{this.autoDismissTimeoutId=null,this.queued=!1,this.open=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteInternalAlertSync.emit({queue:this.queue})}}activeHandler(t){this.open=t}openHandler(t){this.open&&!this.queued&&(this.calciteInternalAlertRegister.emit(),this.active=t),this.open||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.active=!1)}updateRequestedIcon(){this.requestedIcon=n(r,this.icon,this.color)}updateDuration(){this.autoDismiss&&this.autoDismissTimeoutId&&(window.clearTimeout(this.autoDismissTimeoutId),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),m[this.autoDismissDuration]-(Date.now()-this.trackTimer)))}connectedCallback(){const t=this.open||this.active;t&&!this.queued&&(this.activeHandler(t),this.openHandler(t),this.calciteInternalAlertRegister.emit()),c(this)}componentWillLoad(){this.requestedIcon=n(r,this.icon,this.color)}disconnectedCallback(){window.clearTimeout(this.autoDismissTimeoutId),d(this)}render(){const t=i("button",{"aria-label":this.intlClose,class:"alert-close",onClick:this.closeAlert,ref:t=>this.closeButton=t,type:"button"},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),e="+"+(this.queueLength>2?this.queueLength-1:1),s=i("div",{class:(this.queueLength>1?"active ":"")+"alert-queue-count"},i("calcite-chip",{scale:this.scale,value:e},e)),{active:n,autoDismiss:l,label:r,placement:c,queued:d,requestedIcon:m}=this,h=l?"alert":"alertdialog",u=!n;return i(a,{"aria-hidden":o(u),"aria-label":r,"calcite-hydrated-hidden":u,role:h},i("div",{class:{container:!0,queued:d,[c]:!0},ref:this.setTransitionEl},m?i("div",{class:"alert-icon"},i("calcite-icon",{icon:m,scale:"l"===this.scale?"m":"s"})):null,i("div",{class:"alert-content"},i("slot",{name:"title"}),i("slot",{name:"message"}),i("slot",{name:"link"})),s,l?null:t,n&&!d&&l?i("div",{class:"alert-dismiss-progress"}):null))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert(),t.stopPropagation()}alertRegister(){this.open&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}async setFocus(){const t=l(this.el,{selector:"calcite-link"});(this.closeButton||t)&&(t?t.setFocus():this.closeButton&&this.closeButton.focus())}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoDismiss&&!this.autoDismissTimeoutId&&(this.trackTimer=Date.now(),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),m[this.autoDismissDuration])))}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}get el(){return s(this)}static get watchers(){return{active:["activeHandler"],open:["openHandler"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"],autoDismissDuration:["updateDuration"]}}};h.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{--calcite-alert-edge-distance:2rem;display:block}:host .container{pointer-events:none;position:fixed;z-index:500;margin-block:0px;margin-inline:auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);-webkit-border-before:0px solid transparent;border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);-webkit-border-after:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;-webkit-transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}:host .container.bottom,:host .container.top{inset-inline-end:0;inset-inline-start:0}:host .container[class*=bottom]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), 0);transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}:host .container[class*=top]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}:host .container[class*=-start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}:host .container[class*=-end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.container{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.alert-close{outline-color:transparent}.alert-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([open]) .container:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.queued)[class*=bottom]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.queued)[class*=top]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), inherit);transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-link)}.alert-content{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);-ms-flex:1 1 auto;flex:1 1 auto;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-end-start-radius:var(--calcite-border-radius);border-end-end-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-alert-spacing-token-large);padding-inline-start:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.alert-icon{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px}.alert-close{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}.alert-close:hover,.alert-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.alert-close:open{background-color:var(--calcite-ui-foreground-3)}.alert-queue-count{visibility:hidden;display:-ms-flexbox;display:flex;cursor:default;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0px solid transparent;border-start-end-radius:0}.alert-queue-count.active{visibility:visible;opacity:1}:host([auto-dismiss])>.alert-queue-count{-webkit-border-end:0px solid transparent;border-inline-end:0px solid transparent}.alert-dismiss-progress{position:absolute;inset-inline:0px;display:block;inline-size:100%;overflow:hidden;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}:host([color=blue]) .container{border-block-start-color:var(--calcite-ui-info)}:host([color=blue]) .container .alert-icon{color:var(--calcite-ui-info)}:host([color=red]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([color=red]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-block-start-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-block-start-color:var(--calcite-ui-success)}:host([color=green]) .container .alert-icon{color:var(--calcite-ui-success)}:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 6000ms ease-out;animation:dismissProgress 6000ms ease-out}:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 10000ms ease-out;animation:dismissProgress 10000ms ease-out}:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 14000ms ease-out;animation:dismissProgress 14000ms ease-out}@-webkit-keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}';export{h as calcite_alert}