@esri/calcite-components 1.0.0-next.538 → 1.0.0-next.539

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 (1068) 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-bfe7f03d.system.entry.js → p-010ca392.system.entry.js} +2 -2
  6. package/dist/calcite/{p-24f307a7.system.js → p-012bf861.system.js} +2 -2
  7. package/dist/calcite/p-018af814.entry.js +6 -0
  8. package/dist/calcite/{p-96e6cb9f.js → p-01fecf3e.js} +2 -2
  9. package/dist/calcite/{p-cb3b19e3.entry.js → p-099aa070.entry.js} +2 -2
  10. package/dist/calcite/p-0d3a5b32.system.entry.js +6 -0
  11. package/dist/calcite/p-0dd61e54.entry.js +6 -0
  12. package/dist/calcite/p-108c8632.entry.js +6 -0
  13. package/dist/calcite/p-1332ce74.entry.js +6 -0
  14. package/dist/calcite/p-14c70e2c.entry.js +6 -0
  15. package/dist/calcite/{p-51931359.system.js → p-156b4808.system.js} +1 -1
  16. package/dist/calcite/{p-9d6b8700.js → p-15a504a4.js} +2 -2
  17. package/dist/calcite/p-16cfa3a4.system.entry.js +6 -0
  18. package/dist/calcite/p-17499c73.entry.js +6 -0
  19. package/dist/calcite/{p-2172a3de.js → p-18f118ff.js} +1 -1
  20. package/dist/calcite/p-19a254dd.entry.js +6 -0
  21. package/dist/calcite/p-1b061524.system.entry.js +6 -0
  22. package/dist/calcite/p-1b87ecae.system.entry.js +6 -0
  23. package/dist/calcite/p-1d3cad49.system.entry.js +6 -0
  24. package/dist/calcite/p-1ecf6279.entry.js +6 -0
  25. package/dist/calcite/p-20921a25.entry.js +6 -0
  26. package/dist/calcite/p-231c6c15.system.entry.js +6 -0
  27. package/dist/calcite/{p-3f95180e.system.js → p-24821106.system.js} +1 -1
  28. package/dist/calcite/p-261f99f9.system.entry.js +6 -0
  29. package/dist/calcite/p-2805f9ee.system.entry.js +6 -0
  30. package/dist/calcite/{p-8446ac4b.system.js → p-294036fa.system.js} +1 -1
  31. package/dist/calcite/p-2b30ee55.system.js +6 -0
  32. package/dist/calcite/p-2e47156e.system.entry.js +6 -0
  33. package/dist/calcite/p-318a3b39.entry.js +6 -0
  34. package/dist/calcite/p-32f3a548.system.entry.js +6 -0
  35. package/dist/calcite/p-345a2464.entry.js +6 -0
  36. package/dist/calcite/p-351dfb75.entry.js +6 -0
  37. package/dist/calcite/{p-e52f0838.system.entry.js → p-38d384a0.system.entry.js} +2 -2
  38. package/dist/calcite/p-3a695eb8.system.entry.js +6 -0
  39. package/dist/calcite/{p-e2bd21c2.system.entry.js → p-3b1677fa.system.entry.js} +2 -2
  40. package/dist/calcite/p-3c710391.entry.js +6 -0
  41. package/dist/calcite/p-3cda948e.system.entry.js +6 -0
  42. package/dist/calcite/p-3dbe5071.entry.js +6 -0
  43. package/dist/calcite/{p-cabd5c31.system.js → p-3e639178.system.js} +1 -1
  44. package/dist/calcite/p-402acb9a.entry.js +6 -0
  45. package/dist/calcite/{p-9c49c923.js → p-43589ce1.js} +2 -2
  46. package/dist/calcite/{p-e3be9d3c.system.js → p-45e8c080.system.js} +2 -2
  47. package/dist/calcite/p-472dca52.entry.js +6 -0
  48. package/dist/calcite/p-477586f9.system.entry.js +6 -0
  49. package/dist/calcite/{p-4c9864cb.entry.js → p-485d8214.entry.js} +2 -2
  50. package/dist/calcite/p-48c529c4.system.js +6 -0
  51. package/dist/calcite/{p-cf882849.entry.js → p-48e4874f.entry.js} +2 -2
  52. package/dist/calcite/{p-1811d661.system.js → p-4d0d1577.system.js} +1 -1
  53. package/dist/calcite/p-54f979ec.entry.js +6 -0
  54. package/dist/calcite/p-59953936.system.entry.js +6 -0
  55. package/dist/calcite/{p-8c7f39aa.system.js → p-5ad902d8.system.js} +1 -1
  56. package/dist/calcite/{p-d93a866d.js → p-5b04f8df.js} +1 -1
  57. package/dist/calcite/{p-cb5440dc.js → p-5f6507f5.js} +1 -1
  58. package/dist/calcite/p-628c6e09.system.entry.js +6 -0
  59. package/dist/calcite/p-63b61846.js +6 -0
  60. package/dist/calcite/{p-b6cc37ba.system.js → p-6615d5c6.system.js} +1 -1
  61. package/dist/calcite/p-66d9da12.system.entry.js +6 -0
  62. package/dist/calcite/p-67e454bb.entry.js +6 -0
  63. package/dist/calcite/p-6c2f72c4.entry.js +6 -0
  64. package/dist/calcite/{p-a5ac3d72.system.js → p-6d3ee7ab.system.js} +1 -1
  65. package/dist/calcite/p-6f6c2bab.system.entry.js +6 -0
  66. package/dist/calcite/p-701873b1.system.entry.js +6 -0
  67. package/dist/calcite/{p-c4ce88cf.system.js → p-747df2df.system.js} +1 -1
  68. package/dist/calcite/{p-d43d1927.system.entry.js → p-768cef7e.system.entry.js} +2 -2
  69. package/dist/calcite/p-77a16f58.system.entry.js +6 -0
  70. package/dist/calcite/{p-aac2e032.system.js → p-7ab08e37.system.js} +1 -1
  71. package/dist/calcite/p-7ae49ca5.entry.js +6 -0
  72. package/dist/calcite/{p-2161d411.system.js → p-7cea61d9.system.js} +3 -3
  73. package/dist/calcite/p-7cfeca7e.system.entry.js +6 -0
  74. package/dist/calcite/p-7d4634fd.entry.js +6 -0
  75. package/dist/calcite/p-80a5dbbf.system.entry.js +6 -0
  76. package/dist/calcite/p-819b41d8.system.entry.js +6 -0
  77. package/dist/calcite/p-823d9e06.entry.js +6 -0
  78. package/dist/calcite/p-8485e1e8.entry.js +6 -0
  79. package/dist/calcite/p-86113d0d.entry.js +6 -0
  80. package/dist/calcite/p-891f854b.entry.js +6 -0
  81. package/dist/calcite/p-8927a590.system.entry.js +6 -0
  82. package/dist/calcite/{p-8c0cc61c.system.entry.js → p-899c0507.system.entry.js} +2 -2
  83. package/dist/calcite/{p-19f6d5b6.entry.js → p-8a7e391a.entry.js} +2 -2
  84. package/dist/calcite/p-8c2004de.system.entry.js +6 -0
  85. package/dist/calcite/{p-a9c55318.js → p-8ec1fd5b.js} +1 -1
  86. package/dist/calcite/p-8f9695f1.system.js +6 -0
  87. package/dist/calcite/p-917af856.entry.js +6 -0
  88. package/dist/calcite/{p-523c49d4.entry.js → p-9180a3c4.entry.js} +2 -2
  89. package/dist/calcite/p-9358181a.system.entry.js +6 -0
  90. package/dist/calcite/{p-c900ee44.js → p-93ec3941.js} +1 -1
  91. package/dist/calcite/p-98fa4f87.system.entry.js +6 -0
  92. package/dist/calcite/p-992f7aad.system.entry.js +6 -0
  93. package/dist/calcite/p-9bd6c652.system.entry.js +6 -0
  94. package/dist/calcite/p-9bf97b0b.entry.js +6 -0
  95. package/dist/calcite/p-9c02a7e1.entry.js +6 -0
  96. package/dist/calcite/{p-7f80bda1.entry.js → p-9c0de472.entry.js} +2 -2
  97. package/dist/calcite/p-9ceabe42.entry.js +6 -0
  98. package/dist/calcite/p-9e8acd1c.system.entry.js +6 -0
  99. package/dist/calcite/p-9f124061.system.entry.js +6 -0
  100. package/dist/calcite/{p-a2416623.js → p-a03e482d.js} +1 -1
  101. package/dist/calcite/{p-16f92f48.js → p-a0d8d06c.js} +1 -1
  102. package/dist/calcite/p-a35fe014.system.entry.js +6 -0
  103. package/dist/calcite/{p-bcb2c9e0.entry.js → p-a447be70.entry.js} +2 -2
  104. package/dist/calcite/{p-151ae28a.js → p-a507b8e3.js} +1 -1
  105. package/dist/calcite/{p-bc3ee499.system.js → p-a648789b.system.js} +2 -2
  106. package/dist/calcite/{p-2d02604e.js → p-a6dc2cb3.js} +2 -2
  107. package/dist/calcite/{p-43d0a2ea.entry.js → p-a828a74b.entry.js} +2 -2
  108. package/dist/calcite/{p-41ef632e.system.js → p-a88108c9.system.js} +2 -2
  109. package/dist/calcite/p-aa4b37b5.system.entry.js +6 -0
  110. package/dist/calcite/{p-3c573baf.system.entry.js → p-aba9d9a4.system.entry.js} +2 -2
  111. package/dist/calcite/{p-fa53a8e2.js → p-ac98cd1b.js} +1 -1
  112. package/dist/calcite/p-b07e7acc.entry.js +6 -0
  113. package/dist/calcite/{p-bb89888a.system.entry.js → p-b0890eb8.system.entry.js} +2 -2
  114. package/dist/calcite/p-b0d2374d.entry.js +6 -0
  115. package/dist/calcite/{p-9e2976bb.entry.js → p-b0faecfa.entry.js} +2 -2
  116. package/dist/calcite/{p-3a94a968.entry.js → p-b1e81f37.entry.js} +2 -2
  117. package/dist/calcite/p-b27d71b6.entry.js +6 -0
  118. package/dist/calcite/p-b316fe0c.entry.js +6 -0
  119. package/dist/calcite/p-b47a6c4f.system.entry.js +6 -0
  120. package/dist/calcite/p-b569eceb.entry.js +6 -0
  121. package/dist/calcite/p-b76eb534.system.entry.js +6 -0
  122. package/dist/calcite/{p-7727684d.entry.js → p-b9aa776b.entry.js} +2 -2
  123. package/dist/calcite/p-bbbe463c.system.entry.js +6 -0
  124. package/dist/calcite/{p-05a335f3.js → p-bc6efcde.js} +1 -1
  125. package/dist/calcite/{p-72a2b8f1.entry.js → p-bf02541b.entry.js} +2 -2
  126. package/dist/calcite/{p-4058eea9.system.js → p-c09c137d.system.js} +1 -1
  127. package/dist/calcite/p-c2c9360b.system.js +6 -0
  128. package/dist/calcite/p-c4766b6e.entry.js +6 -0
  129. package/dist/calcite/p-c6be0405.entry.js +6 -0
  130. package/dist/calcite/p-c6c3ae27.entry.js +6 -0
  131. package/dist/calcite/p-c7374a41.system.entry.js +6 -0
  132. package/dist/calcite/p-c76ba615.js +6 -0
  133. package/dist/calcite/p-c8d3c372.js +6 -0
  134. package/dist/calcite/{p-d67f88a3.entry.js → p-c8eea886.entry.js} +2 -2
  135. package/dist/calcite/{p-d9eaabfd.system.js → p-c9217124.system.js} +1 -1
  136. package/dist/calcite/{p-6b05b992.js → p-cc991091.js} +2 -2
  137. package/dist/calcite/p-ce817bac.js +6 -0
  138. package/dist/calcite/p-cf983e97.system.js +6 -0
  139. package/dist/calcite/p-d122fe5c.system.entry.js +6 -0
  140. package/dist/calcite/p-d12c4c12.entry.js +6 -0
  141. package/dist/calcite/{p-e784bb2a.entry.js → p-d2e2dc45.entry.js} +2 -2
  142. package/dist/calcite/{p-b7eae87f.js → p-d43e428e.js} +1 -1
  143. package/dist/calcite/{p-f8bb7d4b.entry.js → p-d43ff279.entry.js} +2 -2
  144. package/dist/calcite/p-d7f426f1.system.entry.js +6 -0
  145. package/dist/calcite/p-dae4be8b.system.entry.js +6 -0
  146. package/dist/calcite/{p-2a588234.system.js → p-db21c91b.system.js} +1 -1
  147. package/dist/calcite/p-dc301185.system.entry.js +6 -0
  148. package/dist/calcite/p-dde21ea1.system.entry.js +6 -0
  149. package/dist/calcite/p-ddef13d5.system.entry.js +6 -0
  150. package/dist/calcite/{p-281def31.system.entry.js → p-df427249.system.entry.js} +2 -2
  151. package/dist/calcite/p-dff2addb.system.entry.js +6 -0
  152. package/dist/calcite/{p-7ffd1aa7.js → p-e0d384ef.js} +1 -1
  153. package/dist/calcite/p-e371cfd8.entry.js +6 -0
  154. package/dist/calcite/p-e3eda33c.entry.js +6 -0
  155. package/dist/calcite/p-e44cf7be.system.entry.js +6 -0
  156. package/dist/calcite/{p-ba6bf0a1.system.js → p-e66e14f2.system.js} +1 -1
  157. package/dist/calcite/{p-247caee8.js → p-e6de41ec.js} +2 -2
  158. package/dist/calcite/{p-8252992a.entry.js → p-e7dff4ec.entry.js} +2 -2
  159. package/dist/calcite/{p-487b4486.system.js → p-e9e747b1.system.js} +2 -2
  160. package/dist/calcite/p-ea1b8f69.system.entry.js +6 -0
  161. package/dist/calcite/p-ece0cf5a.system.entry.js +6 -0
  162. package/dist/calcite/p-edb2fa23.system.entry.js +6 -0
  163. package/dist/calcite/p-ef4ea4a4.js +6 -0
  164. package/dist/calcite/p-efd89ceb.system.js +6 -0
  165. package/dist/calcite/{p-41a19785.entry.js → p-f1c749c9.entry.js} +2 -2
  166. package/dist/calcite/{p-24c1ceb9.entry.js → p-f87d8a42.entry.js} +2 -2
  167. package/dist/calcite/{p-7e972d93.system.entry.js → p-faa21960.system.entry.js} +2 -2
  168. package/dist/calcite/{p-a2c203e6.js → p-fb9ba4c2.js} +1 -1
  169. package/dist/calcite/p-fd35acb7.system.entry.js +6 -0
  170. package/dist/calcite/p-ff522381.system.entry.js +6 -0
  171. package/dist/cjs/{ExpandToggle-221dbc56.js → ExpandToggle-e0dc0b9d.js} +21 -10
  172. package/dist/cjs/{Heading-0ad47b99.js → Heading-5c02db4f.js} +2 -2
  173. package/dist/cjs/{array-cec9ed79.js → array-ee8a5fb6.js} +1 -1
  174. package/dist/cjs/calcite-accordion_2.cjs.entry.js +83 -35
  175. package/dist/cjs/calcite-action-bar.cjs.entry.js +29 -21
  176. package/dist/cjs/calcite-action-group.cjs.entry.js +11 -11
  177. package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -32
  178. package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -12
  179. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  180. package/dist/cjs/calcite-alert.cjs.entry.js +8 -8
  181. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-block_2.cjs.entry.js +15 -11
  183. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  184. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  185. package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -8
  186. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  187. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
  188. package/dist/cjs/calcite-combobox_3.cjs.entry.js +52 -210
  189. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +65 -67
  190. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +90 -118
  191. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  192. package/dist/cjs/calcite-filter.cjs.entry.js +9 -36
  193. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  194. package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
  195. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  196. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  197. package/dist/cjs/calcite-inline-editable.cjs.entry.js +24 -24
  198. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +48 -80
  199. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -20
  201. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +18 -20
  202. package/dist/cjs/calcite-input.cjs.entry.js +14 -20
  203. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  205. package/dist/cjs/calcite-list_3.cjs.entry.js +11 -11
  206. package/dist/cjs/calcite-loader.cjs.entry.js +9 -5
  207. package/dist/cjs/calcite-modal.cjs.entry.js +14 -10
  208. package/dist/cjs/calcite-notice.cjs.entry.js +29 -10
  209. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
  210. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  211. package/dist/cjs/calcite-panel.cjs.entry.js +44 -23
  212. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +14 -14
  213. package/dist/cjs/calcite-popover_2.cjs.entry.js +40 -79
  214. package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
  215. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  216. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  217. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
  218. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  219. package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
  220. package/dist/cjs/calcite-shell_3.cjs.entry.js +13 -11
  221. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  222. package/dist/cjs/calcite-split-button.cjs.entry.js +7 -7
  223. package/dist/cjs/calcite-stepper_2.cjs.entry.js +31 -32
  224. package/dist/cjs/calcite-switch.cjs.entry.js +11 -13
  225. package/dist/cjs/calcite-tab_4.cjs.entry.js +68 -64
  226. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  228. package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -12
  229. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +31 -64
  230. package/dist/cjs/calcite-tree_2.cjs.entry.js +28 -28
  231. package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
  232. package/dist/cjs/calcite.cjs.js +3 -3
  233. package/dist/cjs/{conditionalSlot-bf0731c3.js → conditionalSlot-ea574797.js} +3 -3
  234. package/dist/cjs/{debounce-2154eb33.js → debounce-d7305615.js} +1 -1
  235. package/dist/cjs/{dom-85cf0d4e.js → dom-2d11e423.js} +2 -2
  236. package/dist/cjs/{forIn-17dde738.js → filter-8b8af70a.js} +142 -4
  237. package/dist/cjs/floating-ui-4ed639be.js +1620 -0
  238. package/dist/cjs/{form-968e9e10.js → form-fae52f14.js} +3 -3
  239. package/dist/cjs/{guid-4d3bf501.js → guid-c985502b.js} +1 -1
  240. package/dist/cjs/{index-8e7e96e9.js → index-12ba1331.js} +1 -1
  241. package/dist/cjs/index.cjs.js +1 -1
  242. package/dist/cjs/{interactive-3d0ee93d.js → interactive-2e682246.js} +1 -1
  243. package/dist/cjs/{interfaces-a88e203c.js → interfaces-82388cb4.js} +1 -1
  244. package/dist/cjs/{key-e2a88763.js → key-f7de0ea8.js} +1 -1
  245. package/dist/cjs/{label-80377fcc.js → label-e5b9b8a1.js} +2 -2
  246. package/dist/cjs/loader.cjs.js +3 -3
  247. package/dist/cjs/{locale-418588ca.js → locale-7e364054.js} +2 -2
  248. package/dist/cjs/{math-4f3032ae.js → math-8f0b5e81.js} +1 -1
  249. package/dist/cjs/{observers-a292a697.js → observers-11d0a5b1.js} +1 -1
  250. package/dist/cjs/{resources-79f1af7d.js → resources-01aed824.js} +3 -3
  251. package/dist/cjs/{resources-7fdef0e5.js → resources-154c6c86.js} +1 -1
  252. package/dist/cjs/{resources-9c60ea66.js → resources-9cc88b23.js} +5 -5
  253. package/dist/cjs/{resources-f3fe7b3e.js → resources-d32c2cd2.js} +1 -1
  254. package/dist/cjs/{sortable.esm-c2452bc3.js → sortable.esm-984d10cc.js} +1 -1
  255. package/dist/cjs/{utils-d93fffda.js → utils-91478a95.js} +1 -1
  256. package/dist/collection/components/accordion/accordion.css +1 -1
  257. package/dist/collection/components/accordion/accordion.js +25 -20
  258. package/dist/collection/components/accordion/interfaces.js +1 -1
  259. package/dist/collection/components/accordion-item/accordion-item.css +61 -56
  260. package/dist/collection/components/accordion-item/accordion-item.js +93 -39
  261. package/dist/collection/components/accordion-item/interfaces.js +6 -0
  262. package/dist/collection/components/accordion-item/resources.js +21 -0
  263. package/dist/collection/components/action/action.css +1 -1
  264. package/dist/collection/components/action/action.js +3 -3
  265. package/dist/collection/components/action/resources.js +1 -1
  266. package/dist/collection/components/action-bar/action-bar.css +32 -6
  267. package/dist/collection/components/action-bar/action-bar.js +48 -14
  268. package/dist/collection/components/action-bar/resources.js +1 -1
  269. package/dist/collection/components/action-bar/utils.js +16 -6
  270. package/dist/collection/components/action-group/action-group.css +1 -1
  271. package/dist/collection/components/action-group/action-group.js +5 -5
  272. package/dist/collection/components/action-group/resources.js +1 -1
  273. package/dist/collection/components/action-menu/action-menu.css +1 -1
  274. package/dist/collection/components/action-menu/action-menu.js +25 -37
  275. package/dist/collection/components/action-menu/resources.js +1 -1
  276. package/dist/collection/components/action-pad/action-pad.css +12 -8
  277. package/dist/collection/components/action-pad/action-pad.js +5 -5
  278. package/dist/collection/components/action-pad/resources.js +1 -1
  279. package/dist/collection/components/alert/alert.css +1 -1
  280. package/dist/collection/components/alert/alert.js +17 -12
  281. package/dist/collection/components/alert/interfaces.js +1 -1
  282. package/dist/collection/components/alert/resources.js +1 -1
  283. package/dist/collection/components/avatar/avatar.css +1 -1
  284. package/dist/collection/components/avatar/avatar.js +1 -1
  285. package/dist/collection/components/avatar/utils.js +1 -1
  286. package/dist/collection/components/block/block.css +3 -3
  287. package/dist/collection/components/block/block.js +12 -5
  288. package/dist/collection/components/block/resources.js +1 -1
  289. package/dist/collection/components/block-section/block-section.css +1 -1
  290. package/dist/collection/components/block-section/block-section.js +3 -3
  291. package/dist/collection/components/block-section/interfaces.js +1 -1
  292. package/dist/collection/components/block-section/resources.js +1 -1
  293. package/dist/collection/components/button/button.css +1 -1
  294. package/dist/collection/components/button/button.js +1 -1
  295. package/dist/collection/components/button/interfaces.js +1 -1
  296. package/dist/collection/components/button/resources.js +1 -1
  297. package/dist/collection/components/card/card.css +1 -1
  298. package/dist/collection/components/card/card.js +6 -6
  299. package/dist/collection/components/card/resources.js +1 -1
  300. package/dist/collection/components/checkbox/checkbox.css +1 -1
  301. package/dist/collection/components/checkbox/checkbox.js +7 -7
  302. package/dist/collection/components/chip/chip.css +1 -1
  303. package/dist/collection/components/chip/chip.js +9 -4
  304. package/dist/collection/components/chip/interfaces.js +1 -1
  305. package/dist/collection/components/chip/resources.js +1 -1
  306. package/dist/collection/components/color-picker/color-picker.css +1 -1
  307. package/dist/collection/components/color-picker/color-picker.js +5 -5
  308. package/dist/collection/components/color-picker/interfaces.js +1 -1
  309. package/dist/collection/components/color-picker/resources.js +1 -1
  310. package/dist/collection/components/color-picker/utils.js +1 -1
  311. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +1 -1
  312. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +3 -3
  313. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  314. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +1 -1
  315. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  316. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  317. package/dist/collection/components/combobox/combobox.css +11 -11
  318. package/dist/collection/components/combobox/combobox.js +58 -70
  319. package/dist/collection/components/combobox/interfaces.js +1 -1
  320. package/dist/collection/components/combobox/resources.js +1 -1
  321. package/dist/collection/components/combobox/utils.js +1 -1
  322. package/dist/collection/components/combobox-item/combobox-item.css +1 -1
  323. package/dist/collection/components/combobox-item/combobox-item.js +9 -4
  324. package/dist/collection/components/combobox-item/resources.js +1 -1
  325. package/dist/collection/components/combobox-item-group/combobox-item-group.css +1 -1
  326. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  327. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  328. package/dist/collection/components/date-picker/date-picker.css +1 -1
  329. package/dist/collection/components/date-picker/date-picker.js +14 -14
  330. package/dist/collection/components/date-picker/interfaces.js +1 -1
  331. package/dist/collection/components/date-picker/resources.js +1 -1
  332. package/dist/collection/components/date-picker/utils.js +1 -1
  333. package/dist/collection/components/date-picker-day/date-picker-day.css +1 -1
  334. package/dist/collection/components/date-picker-day/date-picker-day.js +8 -10
  335. package/dist/collection/components/date-picker-month/date-picker-month.css +1 -1
  336. package/dist/collection/components/date-picker-month/date-picker-month.js +41 -29
  337. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -1
  338. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +20 -20
  339. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  340. package/dist/collection/components/dropdown/dropdown.css +8 -8
  341. package/dist/collection/components/dropdown/dropdown.js +91 -116
  342. package/dist/collection/components/dropdown/interfaces.js +1 -1
  343. package/dist/collection/components/dropdown/resources.js +1 -1
  344. package/dist/collection/components/dropdown-group/dropdown-group.css +1 -1
  345. package/dist/collection/components/dropdown-group/dropdown-group.js +10 -5
  346. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  347. package/dist/collection/components/dropdown-group/resources.js +1 -1
  348. package/dist/collection/components/dropdown-item/dropdown-item.css +1 -1
  349. package/dist/collection/components/dropdown-item/dropdown-item.js +18 -13
  350. package/dist/collection/components/dropdown-item/resources.js +1 -1
  351. package/dist/collection/components/fab/fab.css +1 -1
  352. package/dist/collection/components/fab/fab.js +1 -1
  353. package/dist/collection/components/fab/resources.js +1 -1
  354. package/dist/collection/components/filter/filter.css +1 -1
  355. package/dist/collection/components/filter/filter.js +6 -32
  356. package/dist/collection/components/filter/resources.js +1 -1
  357. package/dist/collection/components/flow/flow.css +1 -1
  358. package/dist/collection/components/flow/flow.js +1 -1
  359. package/dist/collection/components/flow/interfaces.js +1 -1
  360. package/dist/collection/components/flow/resources.js +1 -1
  361. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  362. package/dist/collection/components/functional/Heading.js +1 -1
  363. package/dist/collection/components/graph/graph.css +1 -1
  364. package/dist/collection/components/graph/graph.js +1 -1
  365. package/dist/collection/components/graph/interfaces.js +1 -1
  366. package/dist/collection/components/graph/util.js +1 -1
  367. package/dist/collection/components/handle/handle.css +1 -1
  368. package/dist/collection/components/handle/handle.js +9 -4
  369. package/dist/collection/components/handle/resources.js +1 -1
  370. package/dist/collection/components/icon/icon.css +1 -1
  371. package/dist/collection/components/icon/icon.js +1 -1
  372. package/dist/collection/components/icon/resources.js +1 -1
  373. package/dist/collection/components/icon/utils.js +1 -1
  374. package/dist/collection/components/inline-editable/inline-editable.css +1 -1
  375. package/dist/collection/components/inline-editable/inline-editable.js +19 -19
  376. package/dist/collection/components/inline-editable/resources.js +1 -1
  377. package/dist/collection/components/input/input.css +1 -1
  378. package/dist/collection/components/input/input.js +15 -16
  379. package/dist/collection/components/input/interfaces.js +1 -1
  380. package/dist/collection/components/input/resources.js +1 -1
  381. package/dist/collection/components/input-date-picker/input-date-picker.css +38 -34
  382. package/dist/collection/components/input-date-picker/input-date-picker.js +50 -80
  383. package/dist/collection/components/input-date-picker/resources.js +1 -1
  384. package/dist/collection/components/input-message/input-message.css +1 -1
  385. package/dist/collection/components/input-message/input-message.js +1 -1
  386. package/dist/collection/components/input-message/interfaces.js +1 -1
  387. package/dist/collection/components/input-number/input-number.css +1 -1
  388. package/dist/collection/components/input-number/input-number.js +15 -16
  389. package/dist/collection/components/input-number/interfaces.js +1 -1
  390. package/dist/collection/components/input-number/resources.js +1 -1
  391. package/dist/collection/components/input-time-picker/input-time-picker.css +1 -1
  392. package/dist/collection/components/input-time-picker/input-time-picker.js +12 -20
  393. package/dist/collection/components/interfaces.js +1 -1
  394. package/dist/collection/components/label/label.css +1 -1
  395. package/dist/collection/components/label/label.js +1 -1
  396. package/dist/collection/components/label/resources.js +1 -1
  397. package/dist/collection/components/link/link.css +1 -1
  398. package/dist/collection/components/link/link.js +1 -1
  399. package/dist/collection/components/list/list.css +1 -1
  400. package/dist/collection/components/list/list.js +1 -1
  401. package/dist/collection/components/list/resources.js +1 -1
  402. package/dist/collection/components/list-item/list-item.css +1 -1
  403. package/dist/collection/components/list-item/list-item.js +1 -1
  404. package/dist/collection/components/list-item/resources.js +1 -1
  405. package/dist/collection/components/list-item-group/list-item-group.css +1 -1
  406. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  407. package/dist/collection/components/list-item-group/resources.js +1 -1
  408. package/dist/collection/components/loader/loader.css +2 -2
  409. package/dist/collection/components/loader/loader.js +10 -3
  410. package/dist/collection/components/modal/interfaces.js +1 -1
  411. package/dist/collection/components/modal/modal.css +26 -15
  412. package/dist/collection/components/modal/modal.js +17 -10
  413. package/dist/collection/components/modal/resources.js +1 -1
  414. package/dist/collection/components/notice/notice.css +2 -2
  415. package/dist/collection/components/notice/notice.js +52 -8
  416. package/dist/collection/components/notice/resources.js +1 -1
  417. package/dist/collection/components/option/option.css +1 -1
  418. package/dist/collection/components/option/option.js +3 -3
  419. package/dist/collection/components/option-group/option-group.css +1 -1
  420. package/dist/collection/components/option-group/option-group.js +3 -3
  421. package/dist/collection/components/pagination/pagination.css +1 -1
  422. package/dist/collection/components/pagination/pagination.js +1 -1
  423. package/dist/collection/components/pagination/resources.js +1 -1
  424. package/dist/collection/components/panel/panel.css +1 -1
  425. package/dist/collection/components/panel/panel.js +51 -26
  426. package/dist/collection/components/panel/resources.js +1 -1
  427. package/dist/collection/components/pick-list/pick-list.css +1 -1
  428. package/dist/collection/components/pick-list/pick-list.js +1 -1
  429. package/dist/collection/components/pick-list/resources.js +1 -1
  430. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  431. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  432. package/dist/collection/components/pick-list-group/pick-list-group.css +1 -1
  433. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  434. package/dist/collection/components/pick-list-group/resources.js +1 -1
  435. package/dist/collection/components/pick-list-item/pick-list-item.css +1 -1
  436. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  437. package/dist/collection/components/pick-list-item/resources.js +1 -1
  438. package/dist/collection/components/popover/PopoverManager.js +1 -1
  439. package/dist/collection/components/popover/popover.css +13 -18
  440. package/dist/collection/components/popover/popover.js +49 -86
  441. package/dist/collection/components/popover/resources.js +1 -1
  442. package/dist/collection/components/popover-manager/popover-manager.css +1 -1
  443. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  444. package/dist/collection/components/progress/progress.css +1 -1
  445. package/dist/collection/components/progress/progress.js +1 -1
  446. package/dist/collection/components/radio-button/radio-button.css +1 -1
  447. package/dist/collection/components/radio-button/radio-button.js +10 -10
  448. package/dist/collection/components/radio-button/resources.js +1 -1
  449. package/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
  450. package/dist/collection/components/radio-button-group/radio-button-group.js +3 -3
  451. package/dist/collection/components/radio-group/interfaces.js +1 -1
  452. package/dist/collection/components/radio-group/radio-group.css +1 -1
  453. package/dist/collection/components/radio-group/radio-group.js +1 -1
  454. package/dist/collection/components/radio-group-item/radio-group-item.css +1 -1
  455. package/dist/collection/components/radio-group-item/radio-group-item.js +3 -3
  456. package/dist/collection/components/radio-group-item/resources.js +1 -1
  457. package/dist/collection/components/rating/rating.css +1 -1
  458. package/dist/collection/components/rating/rating.js +1 -1
  459. package/dist/collection/components/rating/resources.js +1 -1
  460. package/dist/collection/components/scrim/resources.js +1 -1
  461. package/dist/collection/components/scrim/scrim.css +1 -1
  462. package/dist/collection/components/scrim/scrim.js +1 -1
  463. package/dist/collection/components/select/resources.js +1 -1
  464. package/dist/collection/components/select/select.css +1 -1
  465. package/dist/collection/components/select/select.js +1 -1
  466. package/dist/collection/components/shell/resources.js +3 -1
  467. package/dist/collection/components/shell/shell.css +5 -1
  468. package/dist/collection/components/shell/shell.js +7 -3
  469. package/dist/collection/components/shell-center-row/resources.js +1 -1
  470. package/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
  471. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  472. package/dist/collection/components/shell-panel/resources.js +1 -1
  473. package/dist/collection/components/shell-panel/shell-panel.css +1 -1
  474. package/dist/collection/components/shell-panel/shell-panel.js +3 -3
  475. package/dist/collection/components/slider/slider.css +1 -1
  476. package/dist/collection/components/slider/slider.js +7 -7
  477. package/dist/collection/components/sortable-list/resources.js +1 -1
  478. package/dist/collection/components/sortable-list/sortable-list.css +1 -1
  479. package/dist/collection/components/sortable-list/sortable-list.js +3 -3
  480. package/dist/collection/components/split-button/resources.js +1 -1
  481. package/dist/collection/components/split-button/split-button.css +1 -1
  482. package/dist/collection/components/split-button/split-button.js +21 -11
  483. package/dist/collection/components/stepper/interfaces.js +1 -1
  484. package/dist/collection/components/stepper/stepper.css +1 -1
  485. package/dist/collection/components/stepper/stepper.js +11 -11
  486. package/dist/collection/components/stepper-item/stepper-item.css +1 -1
  487. package/dist/collection/components/stepper-item/stepper-item.js +18 -19
  488. package/dist/collection/components/switch/switch.css +1 -1
  489. package/dist/collection/components/switch/switch.js +12 -9
  490. package/dist/collection/components/tab/interfaces.js +1 -1
  491. package/dist/collection/components/tab/tab.css +1 -1
  492. package/dist/collection/components/tab/tab.js +6 -6
  493. package/dist/collection/components/tab-nav/tab-nav.css +1 -1
  494. package/dist/collection/components/tab-nav/tab-nav.js +29 -29
  495. package/dist/collection/components/tab-title/tab-title.css +29 -41
  496. package/dist/collection/components/tab-title/tab-title.js +15 -11
  497. package/dist/collection/components/tabs/interfaces.js +1 -1
  498. package/dist/collection/components/tabs/resources.js +1 -1
  499. package/dist/collection/components/tabs/tabs.css +1 -1
  500. package/dist/collection/components/tabs/tabs.js +20 -20
  501. package/dist/collection/components/tile/resources.js +1 -1
  502. package/dist/collection/components/tile/tile.css +1 -1
  503. package/dist/collection/components/tile/tile.js +1 -1
  504. package/dist/collection/components/tile-select/interfaces.js +1 -1
  505. package/dist/collection/components/tile-select/resources.js +1 -1
  506. package/dist/collection/components/tile-select/tile-select.css +1 -1
  507. package/dist/collection/components/tile-select/tile-select.js +3 -3
  508. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  509. package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
  510. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  511. package/dist/collection/components/time-picker/resources.js +1 -1
  512. package/dist/collection/components/time-picker/time-picker.css +1 -1
  513. package/dist/collection/components/time-picker/time-picker.js +1 -1
  514. package/dist/collection/components/tip/resources.js +1 -1
  515. package/dist/collection/components/tip/tip.css +1 -1
  516. package/dist/collection/components/tip/tip.js +3 -3
  517. package/dist/collection/components/tip-group/tip-group.css +1 -1
  518. package/dist/collection/components/tip-group/tip-group.js +1 -1
  519. package/dist/collection/components/tip-manager/resources.js +1 -1
  520. package/dist/collection/components/tip-manager/tip-manager.css +1 -1
  521. package/dist/collection/components/tip-manager/tip-manager.js +7 -7
  522. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  523. package/dist/collection/components/tooltip/resources.js +1 -1
  524. package/dist/collection/components/tooltip/tooltip.css +13 -18
  525. package/dist/collection/components/tooltip/tooltip.js +35 -66
  526. package/dist/collection/components/tooltip-manager/tooltip-manager.css +1 -1
  527. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  528. package/dist/collection/components/tree/interfaces.js +1 -1
  529. package/dist/collection/components/tree/tree.css +1 -1
  530. package/dist/collection/components/tree/tree.js +12 -12
  531. package/dist/collection/components/tree-item/interfaces.js +1 -1
  532. package/dist/collection/components/tree-item/resources.js +1 -1
  533. package/dist/collection/components/tree-item/tree-item.css +1 -1
  534. package/dist/collection/components/tree-item/tree-item.js +10 -10
  535. package/dist/collection/components/value-list/interfaces.js +1 -1
  536. package/dist/collection/components/value-list/resources.js +1 -1
  537. package/dist/collection/components/value-list/utils.js +1 -1
  538. package/dist/collection/components/value-list/value-list.css +1 -1
  539. package/dist/collection/components/value-list/value-list.js +1 -1
  540. package/dist/collection/components/value-list-item/resources.js +1 -1
  541. package/dist/collection/components/value-list-item/value-list-item.css +1 -1
  542. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  543. package/dist/collection/utils/array.js +1 -1
  544. package/dist/collection/utils/conditionalSlot.js +1 -1
  545. package/dist/collection/utils/date.js +1 -1
  546. package/dist/collection/utils/dom.js +1 -1
  547. package/dist/collection/utils/filter.js +1 -1
  548. package/dist/collection/utils/floating-ui.js +229 -0
  549. package/dist/collection/utils/form.js +1 -1
  550. package/dist/collection/utils/globalAttributes.js +1 -1
  551. package/dist/collection/utils/guid.js +1 -1
  552. package/dist/collection/utils/interactive.js +1 -1
  553. package/dist/collection/utils/key.js +1 -1
  554. package/dist/collection/utils/label.js +1 -1
  555. package/dist/collection/utils/locale.js +1 -1
  556. package/dist/collection/utils/math.js +1 -1
  557. package/dist/collection/utils/number.js +1 -1
  558. package/dist/collection/utils/observers.js +1 -1
  559. package/dist/collection/utils/openCloseComponent.js +1 -1
  560. package/dist/collection/utils/resources.js +1 -1
  561. package/dist/collection/utils/time.js +2 -2
  562. package/dist/components/ExpandToggle.js +18 -8
  563. package/dist/components/Heading.js +1 -1
  564. package/dist/components/action-group.js +5 -5
  565. package/dist/components/action-menu.js +9 -26
  566. package/dist/components/action.js +2 -2
  567. package/dist/components/array.js +1 -1
  568. package/dist/components/button.js +2 -2
  569. package/dist/components/calcite-accordion-item.js +63 -16
  570. package/dist/components/calcite-accordion.js +18 -18
  571. package/dist/components/calcite-action-bar.js +23 -14
  572. package/dist/components/calcite-action-group.js +1 -1
  573. package/dist/components/calcite-action-menu.js +1 -1
  574. package/dist/components/calcite-action-pad.js +5 -5
  575. package/dist/components/calcite-action.js +1 -1
  576. package/dist/components/calcite-alert.js +5 -5
  577. package/dist/components/calcite-avatar.js +2 -2
  578. package/dist/components/calcite-block-section.js +3 -3
  579. package/dist/components/calcite-block.js +8 -4
  580. package/dist/components/calcite-button.js +1 -1
  581. package/dist/components/calcite-card.js +6 -6
  582. package/dist/components/calcite-checkbox.js +1 -1
  583. package/dist/components/calcite-chip.js +1 -1
  584. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  585. package/dist/components/calcite-color-picker-swatch.js +1 -1
  586. package/dist/components/calcite-color-picker.js +3 -3
  587. package/dist/components/calcite-combobox-item-group.js +2 -2
  588. package/dist/components/calcite-combobox-item.js +3 -3
  589. package/dist/components/calcite-combobox.js +40 -198
  590. package/dist/components/calcite-date-picker-day.js +1 -1
  591. package/dist/components/calcite-date-picker-month-header.js +1 -1
  592. package/dist/components/calcite-date-picker-month.js +1 -1
  593. package/dist/components/calcite-date-picker.js +1 -1
  594. package/dist/components/calcite-dropdown-group.js +3 -3
  595. package/dist/components/calcite-dropdown-item.js +9 -9
  596. package/dist/components/calcite-dropdown.js +1 -1
  597. package/dist/components/calcite-fab.js +2 -2
  598. package/dist/components/calcite-filter.js +2 -2
  599. package/dist/components/calcite-flow.js +2 -2
  600. package/dist/components/calcite-graph.js +1 -1
  601. package/dist/components/calcite-handle.js +1 -1
  602. package/dist/components/calcite-icon.js +1 -1
  603. package/dist/components/calcite-inline-editable.js +19 -19
  604. package/dist/components/calcite-input-date-picker.js +37 -69
  605. package/dist/components/calcite-input-message.js +2 -2
  606. package/dist/components/calcite-input-number.js +5 -11
  607. package/dist/components/calcite-input-time-picker.js +9 -11
  608. package/dist/components/calcite-input.js +1 -1
  609. package/dist/components/calcite-label.js +1 -1
  610. package/dist/components/calcite-link.js +1 -1
  611. package/dist/components/calcite-list-item-group.js +2 -2
  612. package/dist/components/calcite-list-item.js +3 -3
  613. package/dist/components/calcite-list.js +2 -2
  614. package/dist/components/calcite-loader.js +1 -1
  615. package/dist/components/calcite-modal.js +11 -7
  616. package/dist/components/calcite-notice.js +25 -5
  617. package/dist/components/calcite-option-group.js +2 -2
  618. package/dist/components/calcite-option.js +2 -2
  619. package/dist/components/calcite-pagination.js +2 -2
  620. package/dist/components/calcite-panel.js +39 -18
  621. package/dist/components/calcite-pick-list-group.js +3 -3
  622. package/dist/components/calcite-pick-list-item.js +1 -1
  623. package/dist/components/calcite-pick-list.js +3 -3
  624. package/dist/components/calcite-popover-manager.js +2 -2
  625. package/dist/components/calcite-popover.js +1 -1
  626. package/dist/components/calcite-progress.js +1 -1
  627. package/dist/components/calcite-radio-button-group.js +2 -2
  628. package/dist/components/calcite-radio-button.js +4 -4
  629. package/dist/components/calcite-radio-group-item.js +2 -2
  630. package/dist/components/calcite-radio-group.js +3 -3
  631. package/dist/components/calcite-rating.js +2 -2
  632. package/dist/components/calcite-scrim.js +1 -1
  633. package/dist/components/calcite-select.js +2 -2
  634. package/dist/components/calcite-shell-center-row.js +3 -3
  635. package/dist/components/calcite-shell-panel.js +3 -3
  636. package/dist/components/calcite-shell.js +6 -4
  637. package/dist/components/calcite-slider.js +2 -2
  638. package/dist/components/calcite-sortable-list.js +2 -2
  639. package/dist/components/calcite-split-button.js +5 -5
  640. package/dist/components/calcite-stepper-item.js +16 -17
  641. package/dist/components/calcite-stepper.js +12 -12
  642. package/dist/components/calcite-switch.js +1 -1
  643. package/dist/components/calcite-tab-nav.js +1 -1
  644. package/dist/components/calcite-tab-title.js +1 -1
  645. package/dist/components/calcite-tab.js +1 -1
  646. package/dist/components/calcite-tabs.js +1 -1
  647. package/dist/components/calcite-tile-select-group.js +2 -2
  648. package/dist/components/calcite-tile-select.js +2 -2
  649. package/dist/components/calcite-tile.js +1 -1
  650. package/dist/components/calcite-time-picker.js +1 -1
  651. package/dist/components/calcite-tip-group.js +2 -2
  652. package/dist/components/calcite-tip-manager.js +5 -5
  653. package/dist/components/calcite-tip.js +3 -3
  654. package/dist/components/calcite-tooltip-manager.js +2 -2
  655. package/dist/components/calcite-tooltip.js +26 -59
  656. package/dist/components/calcite-tree-item.js +12 -12
  657. package/dist/components/calcite-tree.js +13 -13
  658. package/dist/components/calcite-value-list-item.js +3 -3
  659. package/dist/components/calcite-value-list.js +3 -3
  660. package/dist/components/checkbox.js +2 -2
  661. package/dist/components/chip.js +3 -3
  662. package/dist/components/color-picker-hex-input.js +2 -2
  663. package/dist/components/color-picker-swatch.js +2 -2
  664. package/dist/components/conditionalSlot.js +1 -1
  665. package/dist/components/date-picker-day.js +6 -8
  666. package/dist/components/date-picker-month-header.js +21 -21
  667. package/dist/components/date-picker-month.js +19 -19
  668. package/dist/components/date-picker.js +15 -15
  669. package/dist/components/date.js +1 -1
  670. package/dist/components/debounce.js +1 -1
  671. package/dist/components/dom.js +2 -2
  672. package/dist/components/dropdown.js +74 -101
  673. package/dist/components/filter.js +741 -195
  674. package/dist/components/filter2.js +186 -0
  675. package/dist/components/floating-ui.js +1612 -0
  676. package/dist/components/form.js +1 -1
  677. package/dist/components/graph.js +2 -2
  678. package/dist/components/guid.js +1 -1
  679. package/dist/components/handle.js +2 -2
  680. package/dist/components/icon.js +3 -3
  681. package/dist/components/index.js +1 -1
  682. package/dist/components/input.js +5 -11
  683. package/dist/components/interactive.js +1 -1
  684. package/dist/components/interfaces.js +1 -1
  685. package/dist/components/interfaces2.js +1 -1
  686. package/dist/components/key.js +1 -1
  687. package/dist/components/label.js +1 -1
  688. package/dist/components/label2.js +2 -2
  689. package/dist/components/link.js +3 -3
  690. package/dist/components/loader.js +7 -3
  691. package/dist/components/locale.js +1 -1
  692. package/dist/components/math.js +1 -1
  693. package/dist/components/observers.js +1 -1
  694. package/dist/components/pick-list-item.js +3 -3
  695. package/dist/components/popover.js +32 -71
  696. package/dist/components/progress.js +2 -2
  697. package/dist/components/resources.js +1 -1
  698. package/dist/components/resources2.js +1 -1
  699. package/dist/components/resources3.js +1 -1
  700. package/dist/components/scrim.js +2 -2
  701. package/dist/components/shared-list-render.js +2 -2
  702. package/dist/components/sortable.esm.js +1 -1
  703. package/dist/components/switch.js +5 -7
  704. package/dist/components/tab-nav.js +31 -31
  705. package/dist/components/tab-title.js +12 -8
  706. package/dist/components/tab.js +5 -5
  707. package/dist/components/tabs.js +21 -21
  708. package/dist/components/tile.js +3 -3
  709. package/dist/components/time-picker.js +3 -3
  710. package/dist/components/utils.js +1 -1
  711. package/dist/components/utils2.js +1 -1
  712. package/dist/custom-elements/index.js +2134 -2482
  713. package/dist/esm/{ExpandToggle-bf789e2a.js → ExpandToggle-aa4da2bb.js} +21 -11
  714. package/dist/esm/{Heading-9b4aeafa.js → Heading-f27b06ed.js} +2 -2
  715. package/dist/esm/{array-35495927.js → array-8f09eb7f.js} +1 -1
  716. package/dist/esm/calcite-accordion_2.entry.js +83 -35
  717. package/dist/esm/calcite-action-bar.entry.js +29 -21
  718. package/dist/esm/calcite-action-group.entry.js +11 -11
  719. package/dist/esm/calcite-action-menu.entry.js +15 -32
  720. package/dist/esm/calcite-action-pad.entry.js +12 -12
  721. package/dist/esm/calcite-action.entry.js +7 -7
  722. package/dist/esm/calcite-alert.entry.js +8 -8
  723. package/dist/esm/calcite-avatar.entry.js +6 -6
  724. package/dist/esm/calcite-block_2.entry.js +15 -11
  725. package/dist/esm/calcite-button.entry.js +9 -9
  726. package/dist/esm/calcite-card.entry.js +10 -10
  727. package/dist/esm/calcite-checkbox.entry.js +8 -8
  728. package/dist/esm/calcite-chip.entry.js +7 -7
  729. package/dist/esm/calcite-color-picker_3.entry.js +11 -11
  730. package/dist/esm/calcite-combobox_3.entry.js +50 -208
  731. package/dist/esm/calcite-date-picker_4.entry.js +65 -67
  732. package/dist/esm/calcite-dropdown_3.entry.js +88 -116
  733. package/dist/esm/calcite-fab.entry.js +6 -6
  734. package/dist/esm/calcite-filter.entry.js +9 -36
  735. package/dist/esm/calcite-flow.entry.js +4 -4
  736. package/dist/esm/calcite-graph_2.entry.js +11 -11
  737. package/dist/esm/calcite-handle.entry.js +5 -5
  738. package/dist/esm/calcite-icon.entry.js +6 -6
  739. package/dist/esm/calcite-inline-editable.entry.js +24 -24
  740. package/dist/esm/calcite-input-date-picker.entry.js +46 -78
  741. package/dist/esm/calcite-input-message.entry.js +5 -5
  742. package/dist/esm/calcite-input-number.entry.js +14 -20
  743. package/dist/esm/calcite-input-time-picker_2.entry.js +18 -20
  744. package/dist/esm/calcite-input.entry.js +14 -20
  745. package/dist/esm/calcite-label.entry.js +6 -6
  746. package/dist/esm/calcite-link.entry.js +6 -6
  747. package/dist/esm/calcite-list_3.entry.js +11 -11
  748. package/dist/esm/calcite-loader.entry.js +9 -5
  749. package/dist/esm/calcite-modal.entry.js +14 -10
  750. package/dist/esm/calcite-notice.entry.js +29 -10
  751. package/dist/esm/calcite-option_3.entry.js +11 -11
  752. package/dist/esm/calcite-pagination.entry.js +6 -6
  753. package/dist/esm/calcite-panel.entry.js +44 -23
  754. package/dist/esm/calcite-pick-list_3.entry.js +14 -14
  755. package/dist/esm/calcite-popover_2.entry.js +38 -77
  756. package/dist/esm/calcite-progress.entry.js +3 -3
  757. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  758. package/dist/esm/calcite-radio-button.entry.js +10 -10
  759. package/dist/esm/calcite-radio-group_2.entry.js +9 -9
  760. package/dist/esm/calcite-rating.entry.js +9 -9
  761. package/dist/esm/calcite-scrim.entry.js +3 -3
  762. package/dist/esm/calcite-shell_3.entry.js +13 -11
  763. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  764. package/dist/esm/calcite-split-button.entry.js +7 -7
  765. package/dist/esm/calcite-stepper_2.entry.js +31 -32
  766. package/dist/esm/calcite-switch.entry.js +11 -13
  767. package/dist/esm/calcite-tab_4.entry.js +68 -64
  768. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  769. package/dist/esm/calcite-tile.entry.js +8 -8
  770. package/dist/esm/calcite-tip_3.entry.js +12 -12
  771. package/dist/esm/calcite-tooltip_2.entry.js +30 -63
  772. package/dist/esm/calcite-tree_2.entry.js +28 -28
  773. package/dist/esm/calcite-value-list_2.entry.js +13 -13
  774. package/dist/esm/calcite.js +3 -3
  775. package/dist/esm/{conditionalSlot-3554d058.js → conditionalSlot-04a7e3de.js} +3 -3
  776. package/dist/esm/{debounce-bc7d9e08.js → debounce-195b8c2d.js} +1 -1
  777. package/dist/esm/{dom-5c924726.js → dom-7f08036a.js} +2 -2
  778. package/dist/{components/forIn.js → esm/filter-c7c95a53.js} +142 -3
  779. package/dist/esm/floating-ui-5e9eb6b0.js +1612 -0
  780. package/dist/esm/{form-b253fcef.js → form-9e7c301e.js} +3 -3
  781. package/dist/esm/{guid-5b71c5bb.js → guid-be14ab18.js} +1 -1
  782. package/dist/esm/{index-4ee90b2f.js → index-18bb01af.js} +1 -1
  783. package/dist/esm/index.js +1 -1
  784. package/dist/esm/{interactive-ba7a8195.js → interactive-9a664c76.js} +1 -1
  785. package/dist/esm/{interfaces-0a7a9838.js → interfaces-ec3910f7.js} +1 -1
  786. package/dist/esm/{key-3a7cc1f5.js → key-6a5912e5.js} +1 -1
  787. package/dist/esm/{label-77867611.js → label-ee237e74.js} +2 -2
  788. package/dist/esm/loader.js +3 -3
  789. package/dist/esm/{locale-3b17b61b.js → locale-27982616.js} +2 -2
  790. package/dist/esm/{math-b261d416.js → math-5eee2eab.js} +1 -1
  791. package/dist/esm/{observers-c74f9822.js → observers-25c8cd25.js} +1 -1
  792. package/dist/esm/{resources-500836c8.js → resources-099cae0c.js} +1 -1
  793. package/dist/esm/{resources-4e3db058.js → resources-6a758e2f.js} +1 -1
  794. package/dist/esm/{resources-cabe9167.js → resources-87a24501.js} +3 -3
  795. package/dist/esm/{resources-db2d90a5.js → resources-8fb5cd5e.js} +5 -5
  796. package/dist/esm/{sortable.esm-ff94a06d.js → sortable.esm-d626cfd9.js} +1 -1
  797. package/dist/esm/{utils-93947f46.js → utils-90133a32.js} +1 -1
  798. package/dist/esm-es5/ExpandToggle-aa4da2bb.js +6 -0
  799. package/dist/esm-es5/Heading-f27b06ed.js +6 -0
  800. package/dist/esm-es5/{array-35495927.js → array-8f09eb7f.js} +1 -1
  801. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  802. package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
  803. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  804. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  805. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  806. package/dist/esm-es5/calcite-action.entry.js +2 -2
  807. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  808. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  809. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  810. package/dist/esm-es5/calcite-button.entry.js +2 -2
  811. package/dist/esm-es5/calcite-card.entry.js +2 -2
  812. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  813. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  814. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  815. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  816. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  817. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
  818. package/dist/esm-es5/calcite-fab.entry.js +3 -3
  819. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  820. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  821. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  822. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  823. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  824. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  825. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  826. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  827. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  828. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  829. package/dist/esm-es5/calcite-input.entry.js +2 -2
  830. package/dist/esm-es5/calcite-label.entry.js +2 -2
  831. package/dist/esm-es5/calcite-link.entry.js +3 -3
  832. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  833. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  834. package/dist/esm-es5/calcite-modal.entry.js +3 -3
  835. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  836. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  837. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  838. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  839. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  840. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  841. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  842. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  843. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  844. package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
  845. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  846. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  847. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  848. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  849. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  850. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  851. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  852. package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
  853. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  854. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  855. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  856. package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
  857. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  858. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  859. package/dist/esm-es5/calcite.js +2 -2
  860. package/dist/esm-es5/{conditionalSlot-3554d058.js → conditionalSlot-04a7e3de.js} +2 -2
  861. package/dist/esm-es5/{debounce-bc7d9e08.js → debounce-195b8c2d.js} +1 -1
  862. package/dist/esm-es5/{dom-5c924726.js → dom-7f08036a.js} +2 -2
  863. package/dist/esm-es5/filter-c7c95a53.js +6 -0
  864. package/dist/esm-es5/floating-ui-5e9eb6b0.js +6 -0
  865. package/dist/esm-es5/{form-b253fcef.js → form-9e7c301e.js} +2 -2
  866. package/dist/esm-es5/{guid-5b71c5bb.js → guid-be14ab18.js} +1 -1
  867. package/dist/esm-es5/{index-4ee90b2f.js → index-18bb01af.js} +1 -1
  868. package/dist/esm-es5/index.js +1 -1
  869. package/dist/esm-es5/{interactive-ba7a8195.js → interactive-9a664c76.js} +1 -1
  870. package/dist/esm-es5/{interfaces-0a7a9838.js → interfaces-ec3910f7.js} +1 -1
  871. package/dist/esm-es5/{key-3a7cc1f5.js → key-6a5912e5.js} +1 -1
  872. package/dist/esm-es5/{label-77867611.js → label-ee237e74.js} +2 -2
  873. package/dist/esm-es5/loader.js +2 -2
  874. package/dist/esm-es5/{locale-3b17b61b.js → locale-27982616.js} +2 -2
  875. package/dist/esm-es5/{math-b261d416.js → math-5eee2eab.js} +1 -1
  876. package/dist/esm-es5/{observers-c74f9822.js → observers-25c8cd25.js} +1 -1
  877. package/dist/esm-es5/{resources-500836c8.js → resources-099cae0c.js} +1 -1
  878. package/dist/esm-es5/{resources-4e3db058.js → resources-6a758e2f.js} +1 -1
  879. package/dist/esm-es5/{resources-cabe9167.js → resources-87a24501.js} +2 -2
  880. package/dist/esm-es5/{resources-db2d90a5.js → resources-8fb5cd5e.js} +2 -2
  881. package/dist/esm-es5/{sortable.esm-ff94a06d.js → sortable.esm-d626cfd9.js} +1 -1
  882. package/dist/esm-es5/{utils-93947f46.js → utils-90133a32.js} +1 -1
  883. package/dist/extras/docs-json.json +227 -167
  884. package/dist/loader/cdn.js +1 -1
  885. package/dist/loader/index.cjs.js +1 -1
  886. package/dist/loader/index.es2017.js +1 -1
  887. package/dist/loader/index.js +1 -1
  888. package/dist/types/components/accordion/accordion.d.ts +4 -4
  889. package/dist/types/components/accordion/interfaces.d.ts +3 -0
  890. package/dist/types/components/accordion-item/accordion-item.d.ts +13 -6
  891. package/dist/types/components/accordion-item/interfaces.d.ts +11 -0
  892. package/dist/types/components/accordion-item/resources.d.ts +16 -0
  893. package/dist/types/components/action/action.d.ts +1 -1
  894. package/dist/types/components/action-bar/action-bar.d.ts +10 -3
  895. package/dist/types/components/action-bar/utils.d.ts +9 -1
  896. package/dist/types/components/action-group/action-group.d.ts +2 -1
  897. package/dist/types/components/action-menu/action-menu.d.ts +8 -8
  898. package/dist/types/components/action-pad/action-pad.d.ts +1 -1
  899. package/dist/types/components/alert/alert.d.ts +7 -3
  900. package/dist/types/components/alert/interfaces.d.ts +3 -0
  901. package/dist/types/components/block/block.d.ts +6 -2
  902. package/dist/types/components/block-section/block-section.d.ts +1 -1
  903. package/dist/types/components/card/card.d.ts +1 -1
  904. package/dist/types/components/checkbox/checkbox.d.ts +3 -3
  905. package/dist/types/components/chip/chip.d.ts +7 -3
  906. package/dist/types/components/color-picker/color-picker.d.ts +2 -2
  907. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -1
  908. package/dist/types/components/combobox/combobox.d.ts +20 -15
  909. package/dist/types/components/combobox-item/combobox-item.d.ts +4 -2
  910. package/dist/types/components/date-picker/date-picker.d.ts +5 -5
  911. package/dist/types/components/date-picker-day/date-picker-day.d.ts +3 -3
  912. package/dist/types/components/date-picker-month/date-picker-month.d.ts +7 -7
  913. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +1 -1
  914. package/dist/types/components/dropdown/dropdown.d.ts +20 -19
  915. package/dist/types/components/dropdown-group/dropdown-group.d.ts +2 -2
  916. package/dist/types/components/dropdown-group/interfaces.d.ts +4 -0
  917. package/dist/types/components/dropdown-item/dropdown-item.d.ts +4 -3
  918. package/dist/types/components/handle/handle.d.ts +4 -1
  919. package/dist/types/components/inline-editable/inline-editable.d.ts +1 -1
  920. package/dist/types/components/input/input.d.ts +6 -4
  921. package/dist/types/components/input-date-picker/input-date-picker.d.ts +16 -16
  922. package/dist/types/components/input-number/input-number.d.ts +6 -4
  923. package/dist/types/components/input-time-picker/input-time-picker.d.ts +4 -5
  924. package/dist/types/components/interfaces.d.ts +1 -0
  925. package/dist/types/components/loader/loader.d.ts +5 -1
  926. package/dist/types/components/modal/modal.d.ts +10 -2
  927. package/dist/types/components/notice/notice.d.ts +11 -3
  928. package/dist/types/components/panel/panel.d.ts +12 -9
  929. package/dist/types/components/popover/PopoverManager.d.ts +1 -1
  930. package/dist/types/components/popover/popover.d.ts +12 -11
  931. package/dist/types/components/radio-button/radio-button.d.ts +4 -4
  932. package/dist/types/components/radio-button-group/radio-button-group.d.ts +1 -1
  933. package/dist/types/components/radio-group-item/radio-group-item.d.ts +1 -1
  934. package/dist/types/components/shell/resources.d.ts +2 -0
  935. package/dist/types/components/shell/shell.d.ts +4 -2
  936. package/dist/types/components/shell-panel/shell-panel.d.ts +1 -1
  937. package/dist/types/components/slider/slider.d.ts +3 -3
  938. package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
  939. package/dist/types/components/split-button/split-button.d.ts +14 -6
  940. package/dist/types/components/stepper/stepper.d.ts +1 -1
  941. package/dist/types/components/stepper-item/stepper-item.d.ts +0 -1
  942. package/dist/types/components/switch/switch.d.ts +5 -3
  943. package/dist/types/components/tab/tab.d.ts +1 -1
  944. package/dist/types/components/tab-nav/tab-nav.d.ts +7 -7
  945. package/dist/types/components/tab-title/tab-title.d.ts +3 -3
  946. package/dist/types/components/tabs/tabs.d.ts +8 -8
  947. package/dist/types/components/tile-select/tile-select.d.ts +1 -1
  948. package/dist/types/components/tip/tip.d.ts +1 -1
  949. package/dist/types/components/tip-manager/tip-manager.d.ts +3 -3
  950. package/dist/types/components/tooltip/TooltipManager.d.ts +1 -1
  951. package/dist/types/components/tooltip/tooltip.d.ts +6 -9
  952. package/dist/types/components/tree/tree.d.ts +2 -2
  953. package/dist/types/components/tree-item/tree-item.d.ts +2 -2
  954. package/dist/types/components.d.ts +183 -86
  955. package/dist/types/utils/floating-ui.d.ts +109 -0
  956. package/hydrate/index.js +2141 -2485
  957. package/package.json +27 -23
  958. package/readme.md +2 -2
  959. package/dist/calcite/p-002dd77e.system.entry.js +0 -6
  960. package/dist/calcite/p-0075a34c.system.entry.js +0 -6
  961. package/dist/calcite/p-05a54c43.system.entry.js +0 -6
  962. package/dist/calcite/p-062c4add.system.entry.js +0 -6
  963. package/dist/calcite/p-0c3c9c1c.entry.js +0 -6
  964. package/dist/calcite/p-12476461.entry.js +0 -6
  965. package/dist/calcite/p-1377d236.entry.js +0 -6
  966. package/dist/calcite/p-158b4176.entry.js +0 -6
  967. package/dist/calcite/p-15ba8704.system.entry.js +0 -6
  968. package/dist/calcite/p-17453c3c.system.entry.js +0 -6
  969. package/dist/calcite/p-1d934973.system.entry.js +0 -6
  970. package/dist/calcite/p-26463d67.system.entry.js +0 -6
  971. package/dist/calcite/p-2a66d2b4.entry.js +0 -6
  972. package/dist/calcite/p-2cb5cb00.system.entry.js +0 -6
  973. package/dist/calcite/p-2dcc538d.system.entry.js +0 -6
  974. package/dist/calcite/p-33642765.entry.js +0 -6
  975. package/dist/calcite/p-33ab7002.entry.js +0 -6
  976. package/dist/calcite/p-371b3a84.system.entry.js +0 -6
  977. package/dist/calcite/p-3ad28c80.system.entry.js +0 -6
  978. package/dist/calcite/p-3ad8cc5f.js +0 -6
  979. package/dist/calcite/p-3d66a00d.system.js +0 -6
  980. package/dist/calcite/p-3f22976b.entry.js +0 -6
  981. package/dist/calcite/p-428e4e81.system.entry.js +0 -6
  982. package/dist/calcite/p-444b84cb.system.entry.js +0 -6
  983. package/dist/calcite/p-4ad83adf.entry.js +0 -6
  984. package/dist/calcite/p-4c173f65.entry.js +0 -6
  985. package/dist/calcite/p-4c31b5bd.system.entry.js +0 -6
  986. package/dist/calcite/p-4d8d1a0f.entry.js +0 -6
  987. package/dist/calcite/p-4e4cc01c.system.entry.js +0 -6
  988. package/dist/calcite/p-4edd8e21.js +0 -6
  989. package/dist/calcite/p-5682b110.system.entry.js +0 -6
  990. package/dist/calcite/p-583dfc23.entry.js +0 -6
  991. package/dist/calcite/p-58a90a7a.system.entry.js +0 -6
  992. package/dist/calcite/p-5956bdeb.entry.js +0 -6
  993. package/dist/calcite/p-5d4cb588.entry.js +0 -6
  994. package/dist/calcite/p-66bbb044.system.entry.js +0 -6
  995. package/dist/calcite/p-67dd2018.system.entry.js +0 -6
  996. package/dist/calcite/p-689228d1.system.entry.js +0 -6
  997. package/dist/calcite/p-6b27da07.entry.js +0 -6
  998. package/dist/calcite/p-6d0320c5.system.entry.js +0 -6
  999. package/dist/calcite/p-6e16e0fe.system.entry.js +0 -6
  1000. package/dist/calcite/p-6e64c993.system.entry.js +0 -6
  1001. package/dist/calcite/p-724ea7c9.system.entry.js +0 -6
  1002. package/dist/calcite/p-752fa0d9.entry.js +0 -6
  1003. package/dist/calcite/p-7c9d5bb9.entry.js +0 -6
  1004. package/dist/calcite/p-7cb42d06.entry.js +0 -6
  1005. package/dist/calcite/p-7ed00b1b.entry.js +0 -6
  1006. package/dist/calcite/p-828b2bad.js +0 -6
  1007. package/dist/calcite/p-82bb3cf7.system.js +0 -6
  1008. package/dist/calcite/p-83429698.entry.js +0 -6
  1009. package/dist/calcite/p-88d30d4f.entry.js +0 -6
  1010. package/dist/calcite/p-8a45a58d.system.entry.js +0 -6
  1011. package/dist/calcite/p-8d2b5f7c.js +0 -6
  1012. package/dist/calcite/p-8e7f13cf.entry.js +0 -6
  1013. package/dist/calcite/p-909ffc82.entry.js +0 -6
  1014. package/dist/calcite/p-90a7cfa3.entry.js +0 -6
  1015. package/dist/calcite/p-92216120.entry.js +0 -6
  1016. package/dist/calcite/p-92918a46.system.entry.js +0 -6
  1017. package/dist/calcite/p-92b8fb06.system.entry.js +0 -6
  1018. package/dist/calcite/p-9519e9b8.js +0 -6
  1019. package/dist/calcite/p-971cea04.entry.js +0 -6
  1020. package/dist/calcite/p-97f26b9b.system.js +0 -6
  1021. package/dist/calcite/p-9ba97023.entry.js +0 -6
  1022. package/dist/calcite/p-9c840d0a.system.entry.js +0 -6
  1023. package/dist/calcite/p-9cf66d0f.system.entry.js +0 -6
  1024. package/dist/calcite/p-9ff2af27.entry.js +0 -6
  1025. package/dist/calcite/p-a33b68e5.system.entry.js +0 -6
  1026. package/dist/calcite/p-a8238b76.system.entry.js +0 -6
  1027. package/dist/calcite/p-a8fb0a8b.entry.js +0 -6
  1028. package/dist/calcite/p-a9ed242d.entry.js +0 -6
  1029. package/dist/calcite/p-adf54310.system.entry.js +0 -6
  1030. package/dist/calcite/p-af281ab4.entry.js +0 -6
  1031. package/dist/calcite/p-b26c9ca6.system.js +0 -6
  1032. package/dist/calcite/p-b47b54c6.system.entry.js +0 -6
  1033. package/dist/calcite/p-bc43bfdd.system.entry.js +0 -6
  1034. package/dist/calcite/p-c0b5be94.system.entry.js +0 -6
  1035. package/dist/calcite/p-c3e6fc43.system.entry.js +0 -6
  1036. package/dist/calcite/p-c4f468be.system.entry.js +0 -6
  1037. package/dist/calcite/p-c7800ce2.entry.js +0 -6
  1038. package/dist/calcite/p-caaa9fd9.entry.js +0 -6
  1039. package/dist/calcite/p-cb076baf.system.entry.js +0 -6
  1040. package/dist/calcite/p-cd9f1347.system.entry.js +0 -6
  1041. package/dist/calcite/p-ce8e3339.entry.js +0 -6
  1042. package/dist/calcite/p-cee487e9.system.entry.js +0 -6
  1043. package/dist/calcite/p-d21defa0.system.js +0 -6
  1044. package/dist/calcite/p-da0995ea.system.entry.js +0 -6
  1045. package/dist/calcite/p-da766f0c.system.js +0 -6
  1046. package/dist/calcite/p-da89da49.system.entry.js +0 -6
  1047. package/dist/calcite/p-db396a0a.entry.js +0 -6
  1048. package/dist/calcite/p-deab46f5.system.entry.js +0 -6
  1049. package/dist/calcite/p-e60e56e0.entry.js +0 -6
  1050. package/dist/calcite/p-e651688a.system.entry.js +0 -6
  1051. package/dist/calcite/p-e84f00db.system.entry.js +0 -6
  1052. package/dist/calcite/p-e8acda4d.system.entry.js +0 -6
  1053. package/dist/calcite/p-f2f76f0f.entry.js +0 -6
  1054. package/dist/calcite/p-f3c7bebb.entry.js +0 -6
  1055. package/dist/calcite/p-f57302c8.entry.js +0 -6
  1056. package/dist/calcite/p-f5856bcd.system.entry.js +0 -6
  1057. package/dist/calcite/p-f636d4c6.system.entry.js +0 -6
  1058. package/dist/calcite/p-f83199e1.entry.js +0 -6
  1059. package/dist/cjs/popper-10879f45.js +0 -1876
  1060. package/dist/collection/utils/popper.js +0 -126
  1061. package/dist/components/popper.js +0 -1868
  1062. package/dist/esm/forIn-edd2858e.js +0 -620
  1063. package/dist/esm/popper-d9efd007.js +0 -1868
  1064. package/dist/esm-es5/ExpandToggle-bf789e2a.js +0 -6
  1065. package/dist/esm-es5/Heading-9b4aeafa.js +0 -6
  1066. package/dist/esm-es5/forIn-edd2858e.js +0 -6
  1067. package/dist/esm-es5/popper-d9efd007.js +0 -6
  1068. package/dist/types/utils/popper.d.ts +0 -35
@@ -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 o(t){try{s(a.next(t))}catch(t){r(t)}}function c(t){try{s(a["throw"](t))}catch(t){r(t)}}function s(t){t.done?i(t.value):n(t.value).then(o,c)}s((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,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(t){return function(e){return s([t,e])}}function s(o){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=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:i.label++;return{value:o[1],done:false};case 5:i.label++;n=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=e.call(t,i)}catch(t){o=[6,t];n=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.539
6
+ */System.register(["./p-24821106.system.js","./p-7cea61d9.system.js","./p-c09c137d.system.js","./p-156b4808.system.js","./p-45e8c080.system.js","./p-e9e747b1.system.js","./p-48c529c4.system.js","./p-747df2df.system.js","./p-294036fa.system.js","./p-4d0d1577.system.js"],(function(t){"use strict";var e,i,a,n,r,o,c,s,l,m,d,f,p,u,h,b,y,w,g,k,v,x,D,_,I,z,C,L,H,j,P,F,S,E,R,W,V,A;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.g;r=t.F},function(t){o=t.m;c=t.d;s=t.a;l=t.s;m=t.h;d=t.b;f=t.k;p=t.i;u=t.e;h=t.f;b=t.r;y=t.l;w=t.n;g=t.j;k=t.o;v=t.p;x=t.I;D=t.L;_=t.q;I=t.t;z=t.H;C=t.T;L=t.u;H=t.C;j=t.S},function(t){P=t.c},function(t){F=t.u},function(t){S=t.g;E=t.t},function(t){R=t.H;W=t.c},function(t){V=t.c;A=t.d},function(){},function(){},function(){}],execute:function(){var O="@-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:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;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}:host([filter-enabled]) header{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-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:1}calcite-filter{-webkit-margin-after:0px;margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}";var K=t("calcite_pick_list",function(){function t(t){var a=this;e(this,t);this.calciteListChange=i(this,"calciteListChange",7);this.disabled=false;this.filterEnabled=false;this.loading=false;this.multiple=false;this.selectionFollowsFocus=false;this.selectedValues=new Map;this.dataForFilter=[];this.lastSelectedItem=null;this.mutationObserver=P("mutation",o.bind(this));this.setFilterEl=function(t){a.filterEl=t};this.deselectRemovedItems=c.bind(this);this.deselectSiblingItems=s.bind(this);this.selectSiblings=l.bind(this);this.handleFilter=m.bind(this);this.getItemData=d.bind(this);this.keyDownHandler=f.bind(this)}t.prototype.connectedCallback=function(){p.call(this);u.call(this)};t.prototype.disconnectedCallback=function(){h.call(this)};t.prototype.componentDidRender=function(){F(this)};t.prototype.calciteListItemRemoveHandler=function(t){b.call(this,t)};t.prototype.calciteListItemChangeHandler=function(t){y.call(this,t)};t.prototype.calciteInternalListItemPropsChangeHandler=function(t){t.stopPropagation();this.setUpFilter()};t.prototype.calciteInternalListItemValueChangeHandler=function(t){w.call(this,t);t.stopPropagation()};t.prototype.calciteListFocusOutHandler=function(t){g.call(this,t)};t.prototype.setUpItems=function(){k.call(this,"calcite-pick-list-item")};t.prototype.setUpFilter=function(){if(this.filterEnabled){this.dataForFilter=this.getItemData()}};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,v.call(this,t)]}))}))};t.prototype.getIconType=function(){return this.multiple?x.square:x.circle};t.prototype.render=function(){return a(D,{onKeyDown:this.keyDownHandler,props:this})};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());K.style=O;var T="@-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{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;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(:last-child){-webkit-margin-after:0px;margin-block-end:0px}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}h3.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{-webkit-margin-start:1.5rem;margin-inline-start:1.5rem}";var U=t("calcite_pick_list_group",function(){function t(t){e(this,t)}t.prototype.connectedCallback=function(){V(this)};t.prototype.disconnectedCallback=function(){A(this)};t.prototype.render=function(){var t;var e;var i=this,n=i.el,o=i.groupTitle,c=i.headingLevel;var s=S(n,_.parentItem)!==null;var l=(t={},t[I.container]=true,t[I.indented]=s,t);var m=o;var d=(e=n.closest("calcite-pick-list"))===null||e===void 0?void 0:e.headingLevel;var f=d?W(d+1):null;var p=c||f||z;return a(r,null,m?a(R,{class:I.heading,level:p},m):null,a("slot",{name:_.parentItem}),a("section",{class:l},a("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());U.style=T;var q='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-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{margin:0px;-webkit-margin-after:1px;margin-block-end:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-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);-webkit-transition:background-color var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing);-webkit-animation:calcite-fade-in var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}.label{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;cursor:pointer;-ms-flex-align:center;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);-ms-flex:0 0 auto;flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:-ms-flexbox;display:flex;inline-size:1.5rem;-ms-flex-align:center;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:end;justify-content:flex-end}.actions--start~.label{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}';var G=t("calcite_pick_list_item",function(){function t(t){var a=this;e(this,t);this.calciteListItemChange=i(this,"calciteListItemChange",7);this.calciteListItemRemove=i(this,"calciteListItemRemove",7);this.calciteInternalListItemPropsChange=i(this,"calciteInternalListItemPropsChange",7);this.calciteInternalListItemValueChange=i(this,"calciteInternalListItemValueChange",7);this.disabled=false;this.disableDeselect=false;this.nonInteractive=false;this.icon=null;this.removable=false;this.selected=false;this.intlRemove=C.remove;this.pickListClickHandler=function(t){if(a.disabled||a.disableDeselect&&a.selected||a.nonInteractive){return}a.shiftPressed=t.shiftKey;a.selected=!a.selected};this.pickListKeyDownHandler=function(t){if(t.key===" "){t.preventDefault();if(a.disableDeselect&&a.selected||a.nonInteractive){return}a.selected=!a.selected}};this.removeClickHandler=function(){a.calciteListItemRemove.emit()}}t.prototype.descriptionWatchHandler=function(){this.calciteInternalListItemPropsChange.emit()};t.prototype.labelWatchHandler=function(){this.calciteInternalListItemPropsChange.emit()};t.prototype.metadataWatchHandler=function(){this.calciteInternalListItemPropsChange.emit()};t.prototype.selectedWatchHandler=function(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed});this.shiftPressed=false};t.prototype.valueWatchHandler=function(t,e){this.calciteInternalListItemValueChange.emit({oldValue:e,newValue:t})};t.prototype.connectedCallback=function(){V(this)};t.prototype.disconnectedCallback=function(){A(this)};t.prototype.componentDidRender=function(){F(this,this.el.closest("calcite-pick-list")?"managed":false)};t.prototype.toggleSelected=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.selected=typeof t==="boolean"?t:!this.selected;return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.focusEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.renderIcon=function(){var t;var e=this.icon;if(!e){return null}return a("span",{class:(t={},t[H.icon]=true,t[H.iconDot]=e===x.circle,t),onClick:this.pickListClickHandler},e===x.square?a("calcite-icon",{icon:L.checked,scale:"s"}):null)};t.prototype.renderRemoveAction=function(){return this.removable?a("calcite-action",{class:H.remove,icon:L.remove,onCalciteActionClick:this.removeClickHandler,slot:j.actionsEnd,text:this.intlRemove}):null};t.prototype.renderActionsStart=function(){var t;var e=this.el;var i=S(e,j.actionsStart);return i?a("div",{class:(t={},t[H.actions]=true,t[H.actionsStart]=true,t)},a("slot",{name:j.actionsStart})):null};t.prototype.renderActionsEnd=function(){var t;var e=this,i=e.el,n=e.removable;var r=S(i,j.actionsEnd);return r||n?a("div",{class:(t={},t[H.actions]=true,t[H.actionsEnd]=true,t)},a("slot",{name:j.actionsEnd}),this.renderRemoveAction()):null};t.prototype.render=function(){var t=this;var e=this,i=e.description,n=e.label;return a(r,null,this.renderIcon(),this.renderActionsStart(),a("label",{"aria-label":n,class:H.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,ref:function(e){return t.focusEl=e},tabIndex:0},a("div",{"aria-checked":E(this.selected),class:H.textContainer,role:"menuitemcheckbox"},a("span",{class:H.title},n),i?a("span",{class:H.description},i):null)),this.renderActionsEnd())};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"]}},enumerable:false,configurable:true});return t}());G.style=q}}}));
@@ -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.539
5
+ */
6
+ import{f as t,h as o}from"./p-18f118ff.js";import{a as e}from"./p-cc991091.js";import{S as n}from"./p-ac98cd1b.js";import{S as a}from"./p-8ec1fd5b.js";const i=150,c=t=>t.reduce(((t,o)=>t+o),0)/t.length,l=t=>{const o=null==t?void 0:t.length;return{actionWidth:o?c(t.map((t=>t.clientWidth||0))):0,actionHeight:o?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:o,actionWidth:e,width:n,actionHeight:a,height:i,groupCount:c})=>Math.max(o-(({width:t,actionWidth:o,layout:e,height:n,actionHeight:a,groupCount:i})=>Math.floor((("horizontal"===e?t:n)-2*i)/("horizontal"===e?o:a)))({width:n,actionWidth:e,layout:t,height:i,actionHeight:a,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),p=({actionGroups:o,expanded:e,overflowCount:n})=>{let i=n;o.reverse().forEach((o=>{let n=0;const c=s(o).reverse();c.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=e)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&i--),i<1))),t(o)}))};function d({parent:t,expanded:o}){s(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=o)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=o))}const h=({expanded:t,intlExpand:n,intlCollapse:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const d="rtl"===e(c),h=t?a:n,u=["chevrons-left","chevrons-right"];d&&u.reverse();const f="end"===function(t,o){var e;return t||(null===(e=o.closest("calcite-shell-panel"))||void 0===e?void 0:e.position)||"start"}(l,c);return o("calcite-action",{icon:t?f?u[1]:u[0]:f?u[0]:u[1],onClick:i,ref:o=>(({tooltip:t,referenceElement:o,expanded:e,ref:n})=>(t&&(t.referenceElement=!e&&o?o:null),n&&n(o),o))({tooltip:r,referenceElement:o,expanded:t,ref:s}),scale:p,text:h,textEnabled:t})};export{h as E,p as a,r as b,l as g,i as o,s as q,d as t}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.0.0-next.539
5
+ */
6
+ import{a as t}from"./p-cc991091.js";function n(t){return t.split("-")[0]}function e(t){return t.split("-")[1]}function o(t){return["top","bottom"].includes(n(t))?"x":"y"}function r(t){return"y"===t?"height":"width"}function i(t,i,a){let{reference:l,floating:s}=t;const c=l.x+l.width/2-s.width/2,u=l.y+l.height/2-s.height/2,f=o(i),d=r(f),m=l[d]/2-s[d]/2,p="x"===f;let y;switch(n(i)){case"top":y={x:c,y:l.y-s.height};break;case"bottom":y={x:c,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:u};break;case"left":y={x:l.x-s.width,y:u};break;default:y={x:l.x,y:l.y}}switch(e(i)){case"start":y[f]-=m*(a&&p?-1:1);break;case"end":y[f]+=m*(a&&p?-1:1)}return y}function a(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function l(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function s(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:u}=t,{boundary:f="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:p=!1,padding:y=0}=n,g=a(y),v=c[p?"floating"===m?"reference":"floating":m],x=l(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(v)))||e?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:f,rootBoundary:d,strategy:u})),h=l(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===m?{...s.floating,x:o,y:r}:s.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),strategy:u}):s[m]);return{top:x.top-h.top+g.top,bottom:h.bottom-x.bottom+g.bottom,left:x.left-h.left+g.left,right:h.right-x.right+g.right}}const c=Math.min,u=Math.max;function f(t,n,e){return u(t,c(n,e))}const d={left:"right",right:"left",bottom:"top",top:"bottom"};function m(t){return t.replace(/left|right|bottom|top/g,(t=>d[t]))}function p(t,n,i){void 0===i&&(i=!1);const a=e(t),l=o(t),s=r(l);let c="x"===l?a===(i?"end":"start")?"right":"left":"start"===a?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=m(c)),{main:c,cross:m(c)}}const y={start:"end",end:"start"};function g(t){return t.replace(/start|end/g,(t=>y[t]))}const v=["top","right","bottom","left"],x=v.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),h=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o;const{placement:r,middlewareData:i,rects:a,initialPlacement:l,platform:c,elements:u}=e,{mainAxis:f=!0,crossAxis:d=!0,fallbackPlacements:y,fallbackStrategy:v="bestFit",flipAlignment:x=!0,...h}=t,w=n(r),b=[l,...y||(w!==l&&x?function(t){const n=m(t);return[g(t),n,g(n)]}(l):[m(l)])],A=await s(e,h),P=[];let k=(null==(o=i.flip)?void 0:o.overflows)||[];if(f&&P.push(A[w]),d){const{main:t,cross:n}=p(r,a,await(null==c.isRTL?void 0:c.isRTL(u.floating)));P.push(A[t],A[n])}if(k=[...k,{placement:r,overflows:P}],!P.every((t=>t<=0))){var R,D;const t=(null!=(R=null==(D=i.flip)?void 0:D.index)?R:0)+1,n=b[t];if(n)return{data:{index:t,overflows:k},reset:{placement:n}};let e="bottom";switch(v){case"bestFit":{var M;const t=null==(M=k.map((t=>[t,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:M[0].placement;t&&(e=t);break}case"initialPlacement":e=l}if(r!==e)return{reset:{placement:e}}}return{}}}};function w(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function b(t){return v.some((n=>t[n]>=0))}const A=function(t){let{strategy:n="referenceHidden",...e}=void 0===t?{}:t;return{name:"hide",async fn(t){const{rects:o}=t;switch(n){case"referenceHidden":{const n=w(await s(t,{...e,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:b(n)}}}case"escaped":{const n=w(await s(t,{...e,altBoundary:!0}),o.floating);return{data:{escapedOffsets:n,escaped:b(n)}}}default:return{}}}}};function P(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function k(t){if(null==t)return window;if(!P(t)){const n=t.ownerDocument;return n&&n.defaultView||window}return t}function R(t){return k(t).getComputedStyle(t)}function D(t){return P(t)?"":t?(t.nodeName||"").toLowerCase():""}function M(){const t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map((t=>t.brand+"/"+t.version)).join(" "):navigator.userAgent}function S(t){return t instanceof k(t).HTMLElement}function E(t){return t instanceof k(t).Element}function F(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}function O(t){const{overflow:n,overflowX:e,overflowY:o}=R(t);return/auto|scroll|overlay|hidden/.test(n+o+e)}function C(t){return["table","td","th"].includes(D(t))}function T(t){const n=/firefox/i.test(M()),e=R(t);return"none"!==e.transform||"none"!==e.perspective||"paint"===e.contain||["transform","perspective"].includes(e.willChange)||n&&"filter"===e.willChange||n&&!!e.filter&&"none"!==e.filter}function $(){return!/^((?!chrome|android).)*safari/i.test(M())}const z=Math.min,B=Math.max,L=Math.round;function j(t,n,e){var o,r,i,a;void 0===n&&(n=!1),void 0===e&&(e=!1);const l=t.getBoundingClientRect();let s=1,c=1;n&&S(t)&&(s=t.offsetWidth>0&&L(l.width)/t.offsetWidth||1,c=t.offsetHeight>0&&L(l.height)/t.offsetHeight||1);const u=E(t)?k(t):window,f=!$()&&e,d=(l.left+(f&&null!=(o=null==(r=u.visualViewport)?void 0:r.offsetLeft)?o:0))/s,m=(l.top+(f&&null!=(i=null==(a=u.visualViewport)?void 0:a.offsetTop)?i:0))/c,p=l.width/s,y=l.height/c;return{width:p,height:y,top:m,right:d+p,bottom:m+y,left:d,x:d,y:m}}function H(t){return(n=t,(n instanceof k(n).Node?t.ownerDocument:t.document)||window.document).documentElement;var n}function q(t){return E(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function I(t){return j(H(t)).left+q(t).scrollLeft}function V(t,n,e){const o=S(n),r=H(n),i=j(t,o&&function(t){const n=j(t);return L(n.width)!==t.offsetWidth||L(n.height)!==t.offsetHeight}(n),"fixed"===e);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==D(n)||O(r))&&(a=q(n)),S(n)){const t=j(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}else r&&(l.x=I(r));return{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function W(t){return"html"===D(t)?t:t.assignedSlot||t.parentNode||(F(t)?t.host:null)||H(t)}function X(t){return S(t)&&"fixed"!==getComputedStyle(t).position?t.offsetParent:null}function Y(t){const n=k(t);let e=X(t);for(;e&&C(e)&&"static"===getComputedStyle(e).position;)e=X(e);return e&&("html"===D(e)||"body"===D(e)&&"static"===getComputedStyle(e).position&&!T(e))?n:e||function(t){let n=W(t);for(F(n)&&(n=n.host);S(n)&&!["html","body"].includes(D(n));){if(T(n))return n;n=n.parentNode}return null}(t)||n}function G(t){if(S(t))return{width:t.offsetWidth,height:t.offsetHeight};const n=j(t);return{width:n.width,height:n.height}}function J(t){const n=W(t);return["html","body","#document"].includes(D(n))?t.ownerDocument.body:S(n)&&O(n)?n:J(n)}function K(t,n){var e;void 0===n&&(n=[]);const o=J(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=k(o),a=r?[i].concat(i.visualViewport||[],O(o)?o:[]):o,l=n.concat(a);return r?l:l.concat(K(a))}function N(t,n,e){return"viewport"===n?l(function(t,n){const e=k(t),o=H(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=$();(t||!t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e)):E(n)?function(t,n){const e=j(t,!1,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft;return{top:o,left:r,x:r,y:o,right:r+t.clientWidth,bottom:o+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}(n,e):l(function(t){var n;const e=H(t),o=q(t),r=null==(n=t.ownerDocument)?void 0:n.body,i=B(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=B(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let l=-o.scrollLeft+I(t);const s=-o.scrollTop;return"rtl"===R(r||e).direction&&(l+=B(e.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(H(t)))}function Q(t){const n=K(t),e=["absolute","fixed"].includes(R(t).position)&&S(t)?Y(t):t;return E(e)?n.filter((t=>E(t)&&function(t,n){const e=null==n.getRootNode?void 0:n.getRootNode();if(t.contains(n))return!0;if(e&&F(e)){let e=n;do{if(e&&t===e)return!0;e=e.parentNode||e.host}while(e)}return!1}(t,e)&&"body"!==D(t))):[]}const U={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?Q(n):[].concat(e),o],a=i.reduce(((t,e)=>{const o=N(n,e,r);return t.top=B(o.top,t.top),t.right=z(o.right,t.right),t.bottom=z(o.bottom,t.bottom),t.left=B(o.left,t.left),t}),N(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=S(e),i=H(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==D(e)||O(i))&&(a=q(e)),S(e))){const t=j(e,!0);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{...n,x:n.x-a.scrollLeft+l.x,y:n.y-a.scrollTop+l.y}},isElement:E,getDimensions:G,getOffsetParent:Y,getDocumentElement:H,getElementRects:t=>{let{reference:n,floating:e,strategy:o}=t;return{reference:V(n,Y(e),o),floating:{...G(e),x:0,y:0}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===R(t).direction},Z=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],_="bottom-start",tt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function nt({placement:t,disableFlip:i,flipPlacements:l,offsetDistance:c,offsetSkidding:u,arrowEl:d,type:m}){const y=[(void 0===v&&(v={}),{name:"shift",options:v,async fn(t){const{x:e,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...u}=v,d={x:e,y:r},m=await s(t,u),p=o(n(i)),y="x"===p?"y":"x";let g=d[p],x=d[y];a&&(g=f(g+m["y"===p?"top":"left"],g,g-m["y"===p?"bottom":"right"])),l&&(x=f(x+m["y"===y?"top":"left"],x,x-m["y"===y?"bottom":"right"]));const h=c.fn({...t,[p]:g,[y]:x});return{...h,data:{x:h.x-e,y:h.y-r}}}}),A()];var v,w;if("menu"===m)return[...y,h({fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===m||"tooltip"===m){const m=[...y,(w={mainAxis:"number"==typeof c?c:0,crossAxis:"number"==typeof u?u:0},void 0===w&&(w=0),{name:"offset",options:w,async fn(t){const{x:r,y:i}=t,a=await async function(t,r){const{placement:i,platform:a,elements:l}=t,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),c=n(i),u=e(i),f="x"===o(i),d=["left","top"].includes(c)?-1:1,m=s&&f?-1:1,p="function"==typeof r?r(t):r;let{mainAxis:y,crossAxis:g,alignmentAxis:v}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return u&&"number"==typeof v&&(g="end"===u?-1*v:v),f?{x:g*m,y:y*d}:{x:y*d,y:g*m}}(t,w);return{x:r+a.x,y:i+a.y,data:a}}})];return"auto"===t||"auto-start"===t||"auto-end"===t?m.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var r,i,a,l,c;const{x:u,y:f,rects:d,middlewareData:m,placement:y,platform:v,elements:h}=o,{alignment:w=null,allowedPlacements:b=x,autoAlignment:A=!0,...P}=t,k=function(t,o,r){return(t?[...r.filter((n=>e(n)===t)),...r.filter((n=>e(n)!==t))]:r.filter((t=>n(t)===t))).filter((n=>!t||e(n)===t||!!o&&g(n)!==n))}(w,A,b),R=await s(o,P),D=null!=(r=null==(i=m.autoPlacement)?void 0:i.index)?r:0,M=k[D];if(null==M)return{};const{main:S,cross:E}=p(M,d,await(null==v.isRTL?void 0:v.isRTL(h.floating)));if(y!==M)return{x:u,y:f,reset:{placement:k[0]}};const F=[R[n(M)],R[S],R[E]],O=[...null!=(a=null==(l=m.autoPlacement)?void 0:l.overflows)?a:[],{placement:M,overflows:F}],C=k[D+1];if(C)return{data:{index:D+1,overflows:O},reset:{placement:C}};const T=O.slice().sort(((t,n)=>t.overflows[0]-n.overflows[0])),$=null==(c=T.find((t=>{let{overflows:n}=t;return n.every((t=>t<=0))})))?void 0:c.placement,z=null!=$?$:T[0].placement;return z!==y?{data:{index:D+1,overflows:O},reset:{placement:z}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):i||m.push(h(l?{fallbackPlacements:l}:{})),d&&m.push((t=>({name:"arrow",options:t,async fn(n){const{element:i,padding:l=0}=null!=t?t:{},{x:s,y:c,placement:u,rects:d,platform:m}=n;if(null==i)return{};const p=a(l),y={x:s,y:c},g=o(u),v=e(u),x=r(g),h=await m.getDimensions(i),w="y"===g?"top":"left",b="y"===g?"bottom":"right",A=d.reference[x]+d.reference[g]-y[g]-d.floating[x],P=y[g]-d.reference[g],k=await(null==m.getOffsetParent?void 0:m.getOffsetParent(i));let R=k?"y"===g?k.clientHeight||0:k.clientWidth||0:0;0===R&&(R=d.floating[x]);const D=p[w],M=R-h[x]-p[b],S=R/2-h[x]/2+(A/2-P/2),E=f(D,S,M);return{[g]:y[g]-(("start"===v?p[w]:p[b])>0&&S!==E&&d.reference[x]<=d.floating[x]?S<D?D-S:M-S:0),data:{[g]:E,centerOffset:S-E}}}}))({element:d})),m}return[]}function et(t,n){const e=t.filter((t=>Z.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${Z.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function ot(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/-leading/gi,"-start").replace(/-trailing/gi,"-end").replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function rt({referenceEl:t,floatingEl:n,overlayPositioning:e="absolute",placement:o,disableFlip:r,flipPlacements:a,offsetDistance:l,offsetSkidding:s,arrowEl:c,type:u}){var f;if(!t||!n)return null;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await(v=t,x=n,h={strategy:e,placement:"auto"===o||"auto-start"===o||"auto-end"===o?void 0:ot(n,o),middleware:nt({placement:o,disableFlip:r,flipPlacements:a,offsetDistance:l,offsetSkidding:s,arrowEl:c,type:u})},(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:a=[],platform:l}=e,s=await(null==l.isRTL?void 0:l.isRTL(n));let c=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=i(c,o,s),d=o,m={},p=0;for(let e=0;e<a.length;e++){const{name:y,fn:g}=a[e],{x:v,y:x,data:h,reset:w}=await g({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:c,platform:l,elements:{reference:t,floating:n}});u=null!=v?v:u,f=null!=x?x:f,m={...m,[y]:{...m[y],...h}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(c=!0===w.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):w.rects),({x:u,y:f}=i(c,d,s))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:m}})(v,x,{platform:U,...h}));var v,x,h;if(null==g?void 0:g.arrow){const{x:t,y:n}=g.arrow;Object.assign(c.style,{left:null!=t?`${t}px`:"",top:null!=n?`${n}px`:""})}const w=(null===(f=null==g?void 0:g.hide)||void 0===f?void 0:f.referenceHidden)?"hidden":null,b=w?"none":null;n.setAttribute("data-placement",p);const A=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(n.style,{visibility:w,pointerEvents:b,position:y,top:"0",left:"0",transform:A})}const it=new WeakMap;function at(t,n,e){e&&n&&(lt(t,n,e),it.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:l=!1}=o,s=r&&!l,c=i&&!l,u=s||c?[...E(t)?K(t):[],...K(n)]:[];u.forEach((t=>{s&&t.addEventListener("scroll",e,{passive:!0}),c&&t.addEventListener("resize",e)}));let f,d=null;if(a){let o=!0;d=new ResizeObserver((()=>{o||e(),o=!1})),E(t)&&!l&&d.observe(t),d.observe(n)}let m=l?j(t):null;return l&&function n(){const o=j(t);!m||o.x===m.x&&o.y===m.y&&o.width===m.width&&o.height===m.height||e(),m=o,f=requestAnimationFrame(n)}(),e(),()=>{var t;u.forEach((t=>{s&&t.removeEventListener("scroll",e),c&&t.removeEventListener("resize",e)})),null==(t=d)||t.disconnect(),d=null,l&&cancelAnimationFrame(f)}}(n,e,(()=>{t.open&&t.reposition()}))))}function lt(t,n,e){if(!e||!n)return;const o=it.get(t);o&&o(),it.delete(t)}const st=Math.ceil(Math.hypot(4,4));export{tt as F,lt as a,st as b,at as c,_ as d,et as f,rt as p}
@@ -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.538
4
+ * v1.0.0-next.539
5
5
  */
6
- import{r as t,c as i,h as a,g as e}from"./p-2172a3de.js";import{d as s,g as n}from"./p-6b05b992.js";import{c as r,d as o,g as l}from"./p-96e6cb9f.js";import{c}from"./p-cb5440dc.js";import{u as h}from"./p-a2416623.js";import"./p-7ffd1aa7.js";const d=class{constructor(a){t(this,a),this.calciteInlineEditableEditCancel=i(this,"calciteInlineEditableEditCancel",7),this.calciteInlineEditableEditConfirm=i(this,"calciteInlineEditableEditConfirm",7),this.calciteInternalInlineEditableEnableEditingChange=i(this,"calciteInternalInlineEditableEnableEditingChange",7),this.disabled=!1,this.editingEnabled=!1,this.loading=!1,this.controls=!1,this.intlEnableEditing="Click to edit",this.intlCancelEditing="Cancel",this.intlConfirmChanges="Save",this.mutationObserver=c("mutation",(()=>this.mutationObserverCallback())),this.enableEditing=()=>{var t,i;this.valuePriorToEditing=null===(t=this.inputElement)||void 0===t?void 0:t.value,this.editingEnabled=!0,null===(i=this.inputElement)||void 0===i||i.setFocus(),this.calciteInternalInlineEditableEnableEditingChange.emit()},this.disableEditing=()=>{this.editingEnabled=!1},this.cancelEditing=()=>{this.inputElement&&(this.inputElement.value=this.valuePriorToEditing),this.disableEditing(),this.enableEditingButton.setFocus(),!this.editingEnabled&&this.shouldEmitCancel&&this.calciteInlineEditableEditCancel.emit()},this.escapeKeyHandler=async t=>{var i;"Escape"===t.key?this.cancelEditing():"Tab"===t.key&&this.shouldShowControls&&(t.shiftKey||t.target!==this.inputElement||(t.preventDefault(),this.cancelEditingButton.setFocus()),t.shiftKey&&t.target===this.cancelEditingButton&&(t.preventDefault(),null===(i=this.inputElement)||void 0===i||i.setFocus()))},this.cancelEditingHandler=async t=>{t.preventDefault(),this.cancelEditing()},this.enableEditingHandler=async t=>{this.disabled||t.target===this.cancelEditingButton||t.target===this.confirmEditingButton||(t.preventDefault(),this.editingEnabled||this.enableEditing())},this.confirmChangesHandler=async t=>{t.preventDefault(),this.calciteInlineEditableEditConfirm.emit();try{this.afterConfirm&&(this.loading=!0,await this.afterConfirm(),this.disableEditing(),this.enableEditingButton.setFocus())}catch(t){}finally{this.loading=!1}}}disabledWatcher(t){this.inputElement&&(this.inputElement.disabled=t)}editingEnabledWatcher(t,i){this.inputElement&&(this.inputElement.editingEnabled=t),!t&&i&&(this.shouldEmitCancel=!0)}connectedCallback(){var t;r(this),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0}),this.mutationObserverCallback()}disconnectedCallback(){var t;o(this),null===(t=this.mutationObserver)||void 0===t||t.disconnect()}componentDidRender(){h(this)}render(){return a("div",{class:"wrapper",onClick:this.enableEditingHandler,onKeyDown:this.escapeKeyHandler},a("div",{class:"input-wrapper"},a("slot",null)),a("div",{class:"controls-wrapper"},a("calcite-button",{appearance:"transparent",class:"enable-editing-button",color:"neutral",disabled:this.disabled,iconStart:"pencil",label:this.intlEnableEditing,onClick:this.enableEditingHandler,ref:t=>this.enableEditingButton=t,scale:this.scale,style:{opacity:this.editingEnabled?"0":"1",width:this.editingEnabled?"0":"inherit"},type:"button"}),this.shouldShowControls&&[a("div",{class:"cancel-editing-button-wrapper"},a("calcite-button",{appearance:"transparent",class:"cancel-editing-button",color:"neutral",disabled:this.disabled,iconStart:"x",label:this.intlCancelEditing,onClick:this.cancelEditingHandler,ref:t=>this.cancelEditingButton=t,scale:this.scale,type:"button"})),a("calcite-button",{appearance:"solid",class:"confirm-changes-button",color:"blue",disabled:this.disabled,iconStart:"check",label:this.intlConfirmChanges,loading:this.loading,onClick:this.confirmChangesHandler,ref:t=>this.confirmEditingButton=t,scale:this.scale,type:"button"})]))}blurHandler(){this.controls||this.disableEditing()}async setFocus(){var t,i;this.editingEnabled?null===(t=this.inputElement)||void 0===t||t.setFocus():null===(i=this.enableEditingButton)||void 0===i||i.setFocus()}mutationObserverCallback(){var t;this.updateSlottedInput(),this.scale=this.scale||(null===(t=this.inputElement)||void 0===t?void 0:t.scale)||s(this.el,"scale",void 0)}onLabelClick(){this.setFocus()}updateSlottedInput(){const t=n(this.el,{matches:"calcite-input"});this.inputElement=t,t&&(this.inputElement.disabled=this.disabled,this.inputElement.label=this.inputElement.label||l(this))}get shouldShowControls(){return this.editingEnabled&&this.controls}get el(){return e(this)}static get watchers(){return{disabled:["disabledWatcher"],editingEnabled:["editingEnabledWatcher"]}}};d.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([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:block}:host([scale=s]) .controls-wrapper{block-size:1.5rem}:host([scale=m]) .controls-wrapper{block-size:2rem}:host([scale=l]) .controls-wrapper{block-size:2.75rem}:host(:not([editing-enabled]):not([disabled])) .wrapper:hover{background-color:var(--calcite-ui-foreground-2)}.wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;background-color:var(--calcite-ui-foreground-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}.wrapper .input-wrapper{-ms-flex:1 1 0%;flex:1 1 0%}.controls-wrapper{display:-ms-flexbox;display:flex}:host([disabled]) .cancel-editing-button-wrapper{border-color:var(--calcite-ui-border-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{d as calcite_inline_editable}
6
+ import{r as t,c as i,h as a,g as e}from"./p-18f118ff.js";import{d as s,g as n}from"./p-cc991091.js";import{c as r,d as o,g as l}from"./p-01fecf3e.js";import{c}from"./p-5f6507f5.js";import{u as h}from"./p-a03e482d.js";import"./p-e0d384ef.js";const d=class{constructor(a){t(this,a),this.calciteInlineEditableEditCancel=i(this,"calciteInlineEditableEditCancel",7),this.calciteInlineEditableEditConfirm=i(this,"calciteInlineEditableEditConfirm",7),this.calciteInternalInlineEditableEnableEditingChange=i(this,"calciteInternalInlineEditableEnableEditingChange",7),this.disabled=!1,this.editingEnabled=!1,this.loading=!1,this.controls=!1,this.intlEnableEditing="Click to edit",this.intlCancelEditing="Cancel",this.intlConfirmChanges="Save",this.mutationObserver=c("mutation",(()=>this.mutationObserverCallback())),this.enableEditing=()=>{var t,i;this.valuePriorToEditing=null===(t=this.inputElement)||void 0===t?void 0:t.value,this.editingEnabled=!0,null===(i=this.inputElement)||void 0===i||i.setFocus(),this.calciteInternalInlineEditableEnableEditingChange.emit()},this.disableEditing=()=>{this.editingEnabled=!1},this.cancelEditing=()=>{this.inputElement&&(this.inputElement.value=this.valuePriorToEditing),this.disableEditing(),this.enableEditingButton.setFocus(),!this.editingEnabled&&this.shouldEmitCancel&&this.calciteInlineEditableEditCancel.emit()},this.escapeKeyHandler=async t=>{var i;"Escape"===t.key?this.cancelEditing():"Tab"===t.key&&this.shouldShowControls&&(t.shiftKey||t.target!==this.inputElement||(t.preventDefault(),this.cancelEditingButton.setFocus()),t.shiftKey&&t.target===this.cancelEditingButton&&(t.preventDefault(),null===(i=this.inputElement)||void 0===i||i.setFocus()))},this.cancelEditingHandler=async t=>{t.preventDefault(),this.cancelEditing()},this.enableEditingHandler=async t=>{this.disabled||t.target===this.cancelEditingButton||t.target===this.confirmEditingButton||(t.preventDefault(),this.editingEnabled||this.enableEditing())},this.confirmChangesHandler=async t=>{t.preventDefault(),this.calciteInlineEditableEditConfirm.emit();try{this.afterConfirm&&(this.loading=!0,await this.afterConfirm(),this.disableEditing(),this.enableEditingButton.setFocus())}catch(t){}finally{this.loading=!1}}}disabledWatcher(t){this.inputElement&&(this.inputElement.disabled=t)}editingEnabledWatcher(t,i){this.inputElement&&(this.inputElement.editingEnabled=t),!t&&i&&(this.shouldEmitCancel=!0)}connectedCallback(){var t;r(this),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0}),this.mutationObserverCallback()}disconnectedCallback(){var t;o(this),null===(t=this.mutationObserver)||void 0===t||t.disconnect()}componentDidRender(){h(this)}render(){return a("div",{class:"wrapper",onClick:this.enableEditingHandler,onKeyDown:this.escapeKeyHandler},a("div",{class:"input-wrapper"},a("slot",null)),a("div",{class:"controls-wrapper"},a("calcite-button",{appearance:"transparent",class:"enable-editing-button",color:"neutral",disabled:this.disabled,iconStart:"pencil",label:this.intlEnableEditing,onClick:this.enableEditingHandler,ref:t=>this.enableEditingButton=t,scale:this.scale,style:{opacity:this.editingEnabled?"0":"1",width:this.editingEnabled?"0":"inherit"},type:"button"}),this.shouldShowControls&&[a("div",{class:"cancel-editing-button-wrapper"},a("calcite-button",{appearance:"transparent",class:"cancel-editing-button",color:"neutral",disabled:this.disabled,iconStart:"x",label:this.intlCancelEditing,onClick:this.cancelEditingHandler,ref:t=>this.cancelEditingButton=t,scale:this.scale,type:"button"})),a("calcite-button",{appearance:"solid",class:"confirm-changes-button",color:"blue",disabled:this.disabled,iconStart:"check",label:this.intlConfirmChanges,loading:this.loading,onClick:this.confirmChangesHandler,ref:t=>this.confirmEditingButton=t,scale:this.scale,type:"button"})]))}blurHandler(){this.controls||this.disableEditing()}async setFocus(){var t,i;this.editingEnabled?null===(t=this.inputElement)||void 0===t||t.setFocus():null===(i=this.enableEditingButton)||void 0===i||i.setFocus()}mutationObserverCallback(){var t;this.updateSlottedInput(),this.scale=this.scale||(null===(t=this.inputElement)||void 0===t?void 0:t.scale)||s(this.el,"scale",void 0)}onLabelClick(){this.setFocus()}updateSlottedInput(){const t=n(this.el,{matches:"calcite-input"});this.inputElement=t,t&&(this.inputElement.disabled=this.disabled,this.inputElement.label=this.inputElement.label||l(this))}get shouldShowControls(){return this.editingEnabled&&this.controls}get el(){return e(this)}static get watchers(){return{disabled:["disabledWatcher"],editingEnabled:["editingEnabledWatcher"]}}};d.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:block}:host([scale=s]) .controls-wrapper{block-size:1.5rem}:host([scale=m]) .controls-wrapper{block-size:2rem}:host([scale=l]) .controls-wrapper{block-size:2.75rem}:host(:not([editing-enabled]):not([disabled])) .wrapper:hover{background-color:var(--calcite-ui-foreground-2)}.wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;background-color:var(--calcite-ui-foreground-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}.wrapper .input-wrapper{-ms-flex:1 1 0%;flex:1 1 0%}.controls-wrapper{display:-ms-flexbox;display:flex}:host([disabled]) .cancel-editing-button-wrapper{border-color:var(--calcite-ui-border-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{d as calcite_inline_editable}
@@ -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.538
4
+ * v1.0.0-next.539
5
5
  */
6
6
  System.register([],(function(e){"use strict";return{execute:function(){var t=e("C",{menu:"menu",defaultTrigger:"default-trigger"});var r=e("S",{tooltip:"tooltip",trigger:"trigger"});var i=e("I",{menu:"ellipsis"})}}}));
@@ -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.538
4
+ * v1.0.0-next.539
5
5
  */
6
- import{g as n}from"./p-7ffd1aa7.js";const t={autoTheme:"calcite-theme-auto",darkTheme:"calcite-theme-dark",lightTheme:"calcite-theme-light",rtl:"calcite--rtl"},r={loading:"Loading"};function l(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function o(n){return Array.isArray(n)?n:Array.from(n)}function u(n){const r=f(n,`.${t.darkTheme}, .${t.lightTheme}`);return(null==r?void 0:r.classList.contains("calcite-theme-dark"))?"dark":"light"}function i(n){const t=f(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function e(n,t,r){const l=n.closest(`[${t}]`);return l?l.getAttribute(t):r}function a(n){return n.getRootNode()}function c(n){return n.host||null}function s(n,{selector:t,id:r}){return function n(l){if(!l)return null;l.assignedSlot&&(l=l.assignedSlot);const o=a(l),u=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=c(o);return u||(i?n(i):null)}(n)}function f(n,t){return function n(r){return r?r.closest(t)||n(c(a(r))):null}(n)}function d(n){return"function"==typeof(null==n?void 0:n.setFocus)}async function v(n){if(n)return d(n)?n.setFocus():n.focus()}function y(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const l=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:":not([slot])";return(null==r?void 0:r.all)?function(n,t,r){let l=":not([slot])"===t?h(n,":not([slot])"):Array.from(n.querySelectorAll(t));l=r&&!1===r.direct?l:l.filter((t=>t.parentElement===n)),l=(null==r?void 0:r.matches)?l.filter((n=>null==n?void 0:n.matches(r.matches))):l;const o=null==r?void 0:r.selector;return o?l.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):l}(n,l,r):function(n,t,r){let l=":not([slot])"===t?h(n,":not([slot])")[0]||null:n.querySelector(t);l=r&&!1===r.direct||(null==l?void 0:l.parentElement)===n?l:null,l=(null==r?void 0:r.matches)?(null==l?void 0:l.matches(r.matches))?l:null:l;const o=null==r?void 0:r.selector;return o?null==l?void 0:l.querySelector(o):l}(n,l,r)}function h(n,t){return n?Array.from(n.children||[]).filter((n=>null==n?void 0:n.matches(t))):[]}function g(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function m(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function A(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function $(n){return Boolean(n).toString()}export{t as C,r as T,i as a,u as b,f as c,e as d,l as e,v as f,y as g,A as h,d as i,g as j,o as n,s as q,m as s,$ as t}
6
+ import{g as n}from"./p-e0d384ef.js";const t={autoTheme:"calcite-theme-auto",darkTheme:"calcite-theme-dark",lightTheme:"calcite-theme-light",rtl:"calcite--rtl"},r={loading:"Loading"};function l(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function o(n){return Array.isArray(n)?n:Array.from(n)}function u(n){const r=f(n,`.${t.darkTheme}, .${t.lightTheme}`);return(null==r?void 0:r.classList.contains("calcite-theme-dark"))?"dark":"light"}function e(n){const t=f(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function i(n,t,r){const l=n.closest(`[${t}]`);return l?l.getAttribute(t):r}function c(n){return n.getRootNode()}function a(n){return n.host||null}function s(n,{selector:t,id:r}){return function n(l){if(!l)return null;l.assignedSlot&&(l=l.assignedSlot);const o=c(l),u=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,e=a(o);return u||(e?n(e):null)}(n)}function f(n,t){return function n(r){return r?r.closest(t)||n(a(c(r))):null}(n)}function d(n){return"function"==typeof(null==n?void 0:n.setFocus)}async function v(n){if(n)return d(n)?n.setFocus():n.focus()}function y(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const l=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:":not([slot])";return(null==r?void 0:r.all)?function(n,t,r){let l=":not([slot])"===t?h(n,":not([slot])"):Array.from(n.querySelectorAll(t));l=r&&!1===r.direct?l:l.filter((t=>t.parentElement===n)),l=(null==r?void 0:r.matches)?l.filter((n=>null==n?void 0:n.matches(r.matches))):l;const o=null==r?void 0:r.selector;return o?l.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):l}(n,l,r):function(n,t,r){let l=":not([slot])"===t?h(n,":not([slot])")[0]||null:n.querySelector(t);l=r&&!1===r.direct||(null==l?void 0:l.parentElement)===n?l:null,l=(null==r?void 0:r.matches)?(null==l?void 0:l.matches(r.matches))?l:null:l;const o=null==r?void 0:r.selector;return o?null==l?void 0:l.querySelector(o):l}(n,l,r)}function h(n,t){return n?Array.from(n.children||[]).filter((n=>null==n?void 0:n.matches(t))):[]}function g(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function m(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function A(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function $(n){return Boolean(n).toString()}export{t as C,r as T,e as a,u as b,f as c,i as d,l as e,v as f,y as g,A as h,d as i,g as j,o as n,s as q,m as s,$ as t}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.0.0-next.539
5
+ */
6
+ import{a as r,S as t,i as n,b as e,c as o,r as u,f}from"./p-d43e428e.js";var c=Array.isArray,i=t?t.prototype:void 0,a=i?i.toString:void 0;function l(t){if("string"==typeof t)return t;if(c(t))return function(r,t){for(var n=-1,e=null==r?0:r.length,o=Array(e);++n<e;)o[n]=t(r[n],n,r);return o}(t,l)+"";if(r(t))return a?a.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function s(r){return r}var v=/^(?:0|[1-9]\d*)$/;function b(r,t){var n=typeof r;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&v.test(r))&&r>-1&&r%1==0&&r<t}function p(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}var d=Object.prototype;function y(r){return o(r)&&"[object Arguments]"==e(r)}var j=Object.prototype,m=j.hasOwnProperty,x=j.propertyIsEnumerable,g=y(function(){return arguments}())?y:function(r){return o(r)&&m.call(r,"callee")&&!x.call(r,"callee")},O="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=O&&"object"==typeof module&&module&&!module.nodeType&&module,A=h&&h.exports===O?u.Buffer:void 0,F=(A?A.isBuffer:void 0)||function(){return!1},$={};$["[object Float32Array]"]=$["[object Float64Array]"]=$["[object Int8Array]"]=$["[object Int16Array]"]=$["[object Int32Array]"]=$["[object Uint8Array]"]=$["[object Uint8ClampedArray]"]=$["[object Uint16Array]"]=$["[object Uint32Array]"]=!0,$["[object Arguments]"]=$["[object Array]"]=$["[object ArrayBuffer]"]=$["[object Boolean]"]=$["[object DataView]"]=$["[object Date]"]=$["[object Error]"]=$["[object Function]"]=$["[object Map]"]=$["[object Number]"]=$["[object Object]"]=$["[object RegExp]"]=$["[object Set]"]=$["[object String]"]=$["[object WeakMap]"]=!1;var w,E="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=E&&"object"==typeof module&&module&&!module.nodeType&&module,S=R&&R.exports===E&&f.process,k=function(){try{return R&&R.require&&R.require("util").types||S&&S.binding&&S.binding("util")}catch(r){}}(),G=k&&k.isTypedArray,L=G?(w=G,function(r){return w(r)}):function(r){return o(r)&&p(r.length)&&!!$[e(r)]},N=Object.prototype.hasOwnProperty;var P=Object.prototype.hasOwnProperty;function T(r){return null!=(t=r)&&p(t.length)&&!function(r){if(!n(r))return!1;var t=e(r);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(t)?function(r,t){var n=c(r),e=!n&&g(r),o=!n&&!e&&F(r),u=!n&&!e&&!o&&L(r),f=n||e||o||u,i=f?function(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}(r.length,String):[],a=i.length;for(var l in r)!t&&!N.call(r,l)||f&&("length"==l||o&&("offset"==l||"parent"==l)||u&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||b(l,a))||i.push(l);return i}(r,!0):function(r){if(!n(r))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(r);var t,e,o=(t=r)===("function"==typeof(e=t&&t.constructor)&&e.prototype||d),u=[];for(var f in r)("constructor"!=f||!o&&P.call(r,f))&&u.push(f);return u}(r);var t}var q=/[\\^$.*+?()[\]{}|]/g,z=RegExp(q.source);function B(r,t){return null==r?r:function(r,t,n){for(var e=-1,o=Object(r),u=n(r),f=u.length;f--;){var c=u[++e];if(!1===t(o[c],c,o))break}return r}(r,"function"==typeof(n=t)?n:s,T);var n}const C=(r,t)=>{const n=function(r){var t;return(r=null==(t=r)?"":l(t))&&z.test(r)?r.replace(q,"\\$&"):r}(t),e=new RegExp(n,"i");0===r.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const o=(r,t)=>{var n,e;if((null===(n=r)||void 0===n?void 0:n.constant)||(null===(e=r)||void 0===e?void 0:e.filterDisabled))return!0;let u=!1;return B(r,(r=>{"function"!=typeof r&&null!=r&&(Array.isArray(r)||"object"==typeof r&&null!==r?o(r,t)&&(u=!0):t.test(r)&&(u=!0))})),u};return r.filter((r=>o(r,e)))};export{C as f}
@@ -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.539
5
+ */
6
+ System.register(["./p-294036fa.system.js"],(function(r){"use strict";var t,e,n,o,u,a,c;return{setters:[function(r){t=r.a;e=r.S;n=r.i;o=r.b;u=r.c;a=r.r;c=r.f}],execute:function(){function i(r,t){var e=-1,n=r==null?0:r.length,o=Array(n);while(++e<n){o[e]=t(r[e],e,r)}return o}var f=Array.isArray;var l=1/0;var v=e?e.prototype:undefined,b=v?v.toString:undefined;function y(r){if(typeof r=="string"){return r}if(f(r)){return i(r,y)+""}if(t(r)){return b?b.call(r):""}var e=r+"";return e=="0"&&1/r==-l?"-0":e}function s(r){return r}var p="[object AsyncFunction]",j="[object Function]",d="[object GeneratorFunction]",g="[object Proxy]";function h(r){if(!n(r)){return false}var t=o(r);return t==j||t==d||t==p||t==g}var A=9007199254740991;var m=/^(?:0|[1-9]\d*)$/;function O(r,t){var e=typeof r;t=t==null?A:t;return!!t&&(e=="number"||e!="symbol"&&m.test(r))&&(r>-1&&r%1==0&&r<t)}var w=9007199254740991;function x(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=w}function F(r){return r!=null&&x(r.length)&&!h(r)}var S=Object.prototype;function T(r){var t=r&&r.constructor,e=typeof t=="function"&&t.prototype||S;return r===e}function E(r,t){var e=-1,n=Array(r);while(++e<r){n[e]=t(e)}return n}var B="[object Arguments]";function I(r){return u(r)&&o(r)==B}var P=Object.prototype;var U=P.hasOwnProperty;var D=P.propertyIsEnumerable;var R=I(function(){return arguments}())?I:function(r){return u(r)&&U.call(r,"callee")&&!D.call(r,"callee")};function $(){return false}var k=typeof r=="object"&&r&&!r.nodeType&&r;var q=k&&typeof module=="object"&&module&&!module.nodeType&&module;var M=q&&q.exports===k;var N=M?a.Buffer:undefined;var C=N?N.isBuffer:undefined;var G=C||$;var L="[object Arguments]",V="[object Array]",W="[object Boolean]",z="[object Date]",H="[object Error]",J="[object Function]",K="[object Map]",Q="[object Number]",X="[object Object]",Y="[object RegExp]",Z="[object Set]",_="[object String]",rr="[object WeakMap]";var tr="[object ArrayBuffer]",er="[object DataView]",nr="[object Float32Array]",or="[object Float64Array]",ur="[object Int8Array]",ar="[object Int16Array]",cr="[object Int32Array]",ir="[object Uint8Array]",fr="[object Uint8ClampedArray]",lr="[object Uint16Array]",vr="[object Uint32Array]";var br={};br[nr]=br[or]=br[ur]=br[ar]=br[cr]=br[ir]=br[fr]=br[lr]=br[vr]=true;br[L]=br[V]=br[tr]=br[W]=br[er]=br[z]=br[H]=br[J]=br[K]=br[Q]=br[X]=br[Y]=br[Z]=br[_]=br[rr]=false;function yr(r){return u(r)&&x(r.length)&&!!br[o(r)]}function sr(r){return function(t){return r(t)}}var pr=typeof r=="object"&&r&&!r.nodeType&&r;var jr=pr&&typeof module=="object"&&module&&!module.nodeType&&module;var dr=jr&&jr.exports===pr;var gr=dr&&c.process;var hr=function(){try{var r=jr&&jr.require&&jr.require("util").types;if(r){return r}return gr&&gr.binding&&gr.binding("util")}catch(r){}}();var Ar=hr&&hr.isTypedArray;var mr=Ar?sr(Ar):yr;var Or=Object.prototype;var wr=Or.hasOwnProperty;function xr(r,t){var e=f(r),n=!e&&R(r),o=!e&&!n&&G(r),u=!e&&!n&&!o&&mr(r),a=e||n||o||u,c=a?E(r.length,String):[],i=c.length;for(var l in r){if((t||wr.call(r,l))&&!(a&&(l=="length"||o&&(l=="offset"||l=="parent")||u&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||O(l,i)))){c.push(l)}}return c}function Fr(r){var t=[];if(r!=null){for(var e in Object(r)){t.push(e)}}return t}var Sr=Object.prototype;var Tr=Sr.hasOwnProperty;function Er(r){if(!n(r)){return Fr(r)}var t=T(r),e=[];for(var o in r){if(!(o=="constructor"&&(t||!Tr.call(r,o)))){e.push(o)}}return e}function Br(r){return F(r)?xr(r,true):Er(r)}function Ir(r){return r==null?"":y(r)}function Pr(r){return function(t,e,n){var o=-1,u=Object(t),a=n(t),c=a.length;while(c--){var i=a[r?c:++o];if(e(u[i],i,u)===false){break}}return t}}var Ur=Pr();function Dr(r){return typeof r=="function"?r:s}var Rr=/[\\^$.*+?()[\]{}|]/g,$r=RegExp(Rr.source);function kr(r){r=Ir(r);return r&&$r.test(r)?r.replace(Rr,"\\$&"):r}function qr(r,t){return r==null?r:Ur(r,Dr(t),Br)}var Mr=r("f",(function(r,t){var e=kr(t);var n=new RegExp(e,"i");if(r.length===0){console.warn("No data was passed to the filter function.\n The data argument should be an array of objects")}var o=function(r,t){var e,n;if(((e=r)===null||e===void 0?void 0:e.constant)||((n=r)===null||n===void 0?void 0:n.filterDisabled)){return true}var u=false;qr(r,(function(r){if(typeof r==="function"||r==null){return}if(Array.isArray(r)||typeof r==="object"&&r!==null){if(o(r,t)){u=true}}else if(t.test(r)){u=true}}));return u};var u=r.filter((function(r){return o(r,n)}));return u}))}}}));
@@ -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 l(t){try{c(a["throw"](t))}catch(t){r(t)}}function c(t){t.done?n(t.value):i(t.value).then(o,l)}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:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(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.539
6
+ */System.register(["./p-24821106.system.js","./p-c09c137d.system.js","./p-45e8c080.system.js","./p-012bf861.system.js","./p-a88108c9.system.js","./p-156b4808.system.js","./p-4d0d1577.system.js"],(function(t){"use strict";var e,n,a,i,r,o,l,c,s,m,p,u,f,d;return{setters:[function(t){e=t.r;n=t.c;a=t.h;i=t.g;r=t.F},function(t){o=t.c},function(t){l=t.f},function(t){c=t.c;s=t.d},function(t){m=t.c;p=t.d;u=t.a;f=t.H},function(t){d=t.u},function(){}],execute:function(){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{display:block}";var b=t("calcite_option",function(){function t(t){var a=this;e(this,t);this.calciteInternalOptionChange=n(this,"calciteInternalOptionChange",7);this.disabled=false;this.mutationObserver=o("mutation",(function(){a.ensureTextContentDependentProps();a.calciteInternalOptionChange.emit()}))}t.prototype.handlePropChange=function(t,e,n){if(n==="label"||n==="value"){this.ensureTextContentDependentProps()}this.calciteInternalOptionChange.emit()};t.prototype.ensureTextContentDependentProps=function(){var t=this.el.textContent;if(!this.label||this.label===this.internallySetLabel){this.label=t;this.internallySetLabel=t}if(!this.value||this.value===this.internallySetValue){this.value=t;this.internallySetValue=t}};t.prototype.connectedCallback=function(){var t;this.ensureTextContentDependentProps();(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{attributeFilter:["label","value"],characterData:true,childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.render=function(){return a("slot",null,this.label)};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}},enumerable:false,configurable:true});return t}());b.style=h;var y="@-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}";var v=t("calcite_option_group",function(){function t(t){e(this,t);this.calciteInternalOptionGroupChange=n(this,"calciteInternalOptionGroupChange",7);this.disabled=false}t.prototype.handlePropChange=function(){this.calciteInternalOptionGroupChange.emit()};t.prototype.render=function(){return a(r,null,a("div",null,this.label),a("slot",null))};Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handlePropChange"],label:["handlePropChange"]}},enumerable:false,configurable:true});return t}());v.style=y;var w={icon:"icon",iconContainer:"icon-container",select:"select"};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}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}: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:stretch;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){block-size:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){block-size:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";function g(t){return t.tagName==="CALCITE-OPTION"}function D(t){return t.tagName==="CALCITE-OPTION-GROUP"}var x=t("calcite_select",function(){function t(t){var a=this;e(this,t);this.calciteSelectChange=n(this,"calciteSelectChange",7);this.disabled=false;this.required=false;this.scale="m";this.value=null;this.width="auto";this.componentToNativeEl=new Map;this.mutationObserver=o("mutation",(function(){return a.populateInternalSelect()}));this.handleInternalSelectChange=function(){var t=a.selectEl.selectedOptions[0];a.selectFromNativeOption(t);requestAnimationFrame((function(){return a.emitChangeEvent()}))};this.populateInternalSelect=function(){var t=Array.from(a.el.children).filter((function(t){return t.tagName==="CALCITE-OPTION"||t.tagName==="CALCITE-OPTION-GROUP"}));a.clearInternalSelect();t.forEach((function(t){var e;return(e=a.selectEl)===null||e===void 0?void 0:e.append(a.toNativeElement(t))}))};this.storeSelectRef=function(t){a.selectEl=t;a.populateInternalSelect();var e=a.selectEl.selectedOptions[0];a.selectFromNativeOption(e)};this.emitChangeEvent=function(){a.calciteSelectChange.emit()}}t.prototype.valueHandler=function(t){var e=this.el.querySelectorAll("calcite-option");e.forEach((function(e){return e.selected=e.value===t}))};t.prototype.selectedOptionHandler=function(t){this.value=t===null||t===void 0?void 0:t.value};t.prototype.connectedCallback=function(){var t;var e=this.el;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(e,{subtree:true,childList:true});c(this);m(this)};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();s(this);p(this)};t.prototype.componentDidLoad=function(){var t,e;u(this,(e=(t=this.selectedOption)===null||t===void 0?void 0:t.value)!==null&&e!==void 0?e:"")};t.prototype.componentDidRender=function(){d(this)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){l(this.selectEl);return[2]}))}))};t.prototype.handleOptionOrGroupChange=function(t){t.stopPropagation();var e=t.target;var n=this.componentToNativeEl.get(e);if(!n){return}this.updateNativeElement(e,n);if(g(e)&&e.selected){this.deselectAllExcept(e);this.selectedOption=e}};t.prototype.onLabelClick=function(){this.setFocus()};t.prototype.updateNativeElement=function(t,e){e.disabled=t.disabled;e.label=t.label;if(g(t)){var n=e;n.selected=t.selected;n.value=t.value;n.innerText=t.label}};t.prototype.clearInternalSelect=function(){this.componentToNativeEl.forEach((function(t){return t.remove()}));this.componentToNativeEl.clear()};t.prototype.selectFromNativeOption=function(t){var e=this;if(!t){return}var n;this.componentToNativeEl.forEach((function(a,i){if(g(i)&&a===t){i.selected=true;n=i;e.deselectAllExcept(i)}}));if(n){this.selectedOption=n}};t.prototype.toNativeElement=function(t){var e=this;if(g(t)){var n=document.createElement("option");this.updateNativeElement(t,n);this.componentToNativeEl.set(t,n);return n}if(D(t)){var a=document.createElement("optgroup");this.updateNativeElement(t,a);Array.from(t.children).forEach((function(n){var i=e.toNativeElement(n);a.append(i);e.componentToNativeEl.set(t,i)}));this.componentToNativeEl.set(t,a);return a}throw new Error("unsupported element child provided")};t.prototype.deselectAllExcept=function(t){this.el.querySelectorAll("calcite-option").forEach((function(e){if(e===t){return}e.selected=false}))};t.prototype.renderChevron=function(){return a("div",{class:w.iconContainer},a("calcite-icon",{class:w.icon,icon:"chevron-down",scale:"s"}))};t.prototype.render=function(){return a(r,null,a("select",{"aria-label":this.label,class:w.select,disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},a("slot",null)),this.renderChevron(),a(f,{component:this}))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}},enumerable:false,configurable:true});return t}());x.style=k}}}));
@@ -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.539
5
+ */
6
+ import{r as t,c as e,h as a,H as i,g as r,F as o}from"./p-18f118ff.js";import{T as n,c as s,d as c,a as l,b as h,g as d,H as u,s as p,i as f,e as m,n as g,f as w,l as v,h as b}from"./p-43589ce1.js";import{a as x,C as y}from"./p-cc991091.js";import{u as k}from"./p-a03e482d.js";import{H as D}from"./p-ef4ea4a4.js";import"./p-a6dc2cb3.js";import"./p-bc6efcde.js";import"./p-e0d384ef.js";const z=class{constructor(a){t(this,a),this.calciteDatePickerChange=e(this,"calciteDatePickerChange",7),this.calciteDatePickerRangeChange=e(this,"calciteDatePickerRangeChange",7),this.intlPrevMonth=n.prevMonth,this.intlNextMonth=n.nextMonth,this.intlYear=n.year,this.locale=document.documentElement.lang||"en",this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.keyDownHandler=t=>{"Escape"===t.key&&this.reset()},this.monthHeaderSelectChange=t=>{const e=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=e:this.activeStartDate=e,this.mostRecentRangeValue=e):this.activeDate=e},this.monthActiveDateChange=t=>{const e=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=e:this.activeStartDate=e,this.mostRecentRangeValue=e):this.activeDate=e},this.monthHoverChange=t=>{if(!this.startAsDate)return void(this.hoverRange=void 0);const e=new Date(t.detail);if(this.hoverRange={focused:this.activeRange||"start",start:this.startAsDate,end:this.endAsDate},this.proximitySelectionDisabled)this.endAsDate?this.hoverRange=void 0:e<this.startAsDate?this.hoverRange={focused:"start",start:e,end:this.startAsDate}:(this.hoverRange.end=e,this.hoverRange.focused="end");else if(this.endAsDate){const t=s(e,this.startAsDate),a=s(e,this.endAsDate);a>0?(this.hoverRange.end=e,this.hoverRange.focused="end"):t<0||t>a?(this.hoverRange.start=e,this.hoverRange.focused="start"):(this.hoverRange.end=e,this.hoverRange.focused="end")}else e<this.startAsDate?this.hoverRange={focused:"start",start:e,end:this.startAsDate}:(this.hoverRange.end=e,this.hoverRange.focused="end");t.stopPropagation()},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.reset=()=>{var t,e,a,i,r,o;!Array.isArray(this.valueAsDate)&&this.valueAsDate&&(null===(t=this.valueAsDate)||void 0===t?void 0:t.getTime())!==(null===(e=this.activeDate)||void 0===e?void 0:e.getTime())&&(this.activeDate=new Date(this.valueAsDate)),this.startAsDate&&(null===(a=this.startAsDate)||void 0===a?void 0:a.getTime())!==(null===(i=this.activeStartDate)||void 0===i?void 0:i.getTime())&&(this.activeStartDate=new Date(this.startAsDate)),this.endAsDate&&(null===(r=this.endAsDate)||void 0===r?void 0:r.getTime())!==(null===(o=this.activeEndDate)||void 0===o?void 0:o.getTime())&&(this.activeEndDate=new Date(this.endAsDate))},this.monthDateChange=t=>{const e=new Date(t.detail);if(!this.range)return this.value=e?c(e):"",this.valueAsDate=e||null,this.activeDate=e||null,void this.calciteDatePickerChange.emit(e);if(!this.startAsDate||!this.endAsDate&&e<this.startAsDate)this.startAsDate&&this.setEndDate(new Date(this.startAsDate)),"end"==this.activeRange?this.setEndDate(e):this.setStartDate(e);else if(this.endAsDate)if(this.proximitySelectionDisabled)this.setStartDate(e),this.endAsDate=this.activeEndDate=this.end=void 0;else if(this.activeRange)"end"==this.activeRange?this.setEndDate(e):this.setStartDate(e);else{const t=s(e,this.startAsDate),a=s(e,this.endAsDate);0===a||t<0?this.setStartDate(e):0===t||a<0?this.setEndDate(e):t<a?this.setStartDate(e):this.setEndDate(e)}else this.setEndDate(e);this.calciteDatePickerChange.emit(e)}}handleValueAsDate(t){!Array.isArray(t)&&t&&t!==this.activeDate&&(this.activeDate=t)}handleRangeChange(){const{startAsDate:t,endAsDate:e}=this;this.activeEndDate=e,this.activeStartDate=t}onMinChanged(t){t&&(this.minAsDate=l(t))}onMaxChanged(t){t&&(this.maxAsDate=l(t))}connectedCallback(){Array.isArray(this.value)?(this.valueAsDate=this.value.map((t=>l(t))),this.start=this.value[0],this.end=this.value[1]):this.value&&(this.valueAsDate=l(this.value)),this.start&&this.setStartAsDate(l(this.start)),this.end&&this.setEndAsDate(l(this.end)),this.min&&(this.minAsDate=l(this.min)),this.max&&(this.maxAsDate=l(this.max))}async componentWillLoad(){await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max)}render(){var t;const e=h(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);let r=this.range?this.getActiveStartDate(e,this.minAsDate,this.maxAsDate):this.getActiveDate(e,this.minAsDate,this.maxAsDate);const o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null,n=this.getActiveEndDate(o,this.minAsDate,this.maxAsDate);return"end"!==this.activeRange&&("end"!==(null===(t=this.hoverRange)||void 0===t?void 0:t.focused)||this.proximitySelectionDisabled&&!o)||!n||(r=n),this.range&&this.mostRecentRangeValue&&(r=this.mostRecentRangeValue),a(i,{onBlur:this.reset,onKeyDown:this.keyDownHandler,role:"application"},this.renderCalendar(r,this.range&&this.activeRange&&"start"===this.activeRange&&o||this.maxAsDate,this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:e||this.minAsDate:this.minAsDate,e,o))}valueHandler(t){Array.isArray(t)?(this.valueAsDate=t.map((t=>l(t))),this.start=t[0],this.end=t[1]):t&&(this.valueAsDate=l(t),this.start="",this.end="")}startWatcher(t){this.setStartAsDate(l(t))}endWatcher(t){this.setEndAsDate(l(t))}async loadLocaleData(){const{locale:t}=this;this.localeData=await d(t)}renderCalendar(t,e,i,r,o){return this.localeData&&[a("calcite-date-picker-month-header",{activeDate:t,headingLevel:this.headingLevel||u,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,localeData:this.localeData,max:e,min:i,onCalciteDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?o:r||new Date}),a("calcite-date-picker-month",{activeDate:t,endDate:this.range?o:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:e,min:i,onCalciteDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteDatePickerSelect:this.monthDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,scale:this.scale,selectedDate:"end"===this.activeRange?o:r,startDate:this.range?r:void 0})]}setStartAsDate(t,e){this.startAsDate=t,this.mostRecentRangeValue=this.startAsDate,e&&this.calciteDatePickerRangeChange.emit({startDate:t,endDate:this.endAsDate})}setEndAsDate(t,e){this.endAsDate=t,this.mostRecentRangeValue=this.endAsDate,e&&this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:t})}setEndDate(t){this.end=t?c(t):"",this.setEndAsDate(t,!0),this.activeEndDate=t||null}setStartDate(t){this.start=t?c(t):"",this.setStartAsDate(t,!0),this.activeStartDate=t||null}getActiveDate(t,e,a){return h(this.activeDate,e,a)||t||h(new Date,e,a)}getActiveStartDate(t,e,a){return h(this.activeStartDate,e,a)||t||h(new Date,e,a)}getActiveEndDate(t,e,a){return h(this.activeEndDate,e,a)||t||h(new Date,e,a)}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{valueAsDate:["handleValueAsDate"],startAsDate:["handleRangeChange"],endAsDate:["handleRangeChange"],min:["onMinChanged"],max:["onMaxChanged"],value:["valueHandler"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}}};z.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:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}";const _=class{constructor(a){t(this,a),this.calciteDaySelect=e(this,"calciteDaySelect",7),this.calciteInternalDayHover=e(this,"calciteInternalDayHover",7),this.disabled=!1,this.currentMonth=!1,this.selected=!1,this.highlighted=!1,this.range=!1,this.startOfRange=!1,this.endOfRange=!1,this.rangeHover=!1,this.active=!1,this.onClick=()=>{!this.disabled&&this.calciteDaySelect.emit()},this.keyDownHandler=t=>{const e=t.key;" "!==e&&"Enter"!==e||!this.disabled&&this.calciteDaySelect.emit()}}mouseoverHandler(){this.calciteInternalDayHover.emit()}render(){const t=String(this.day).split("").map((t=>this.localeData.numerals[t])).join(""),e=x(this.el);return a(i,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},a("div",{class:{"day-v-wrapper":!0,[y.rtl]:"rtl"===e}},a("div",{class:"day-wrapper"},a("span",{class:"day"},a("span",{class:"text"},t)))))}componentDidRender(){k(this,this.isTabbable)}isTabbable(){return this.active}get el(){return r(this)}};_.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;min-inline-size:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);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;background:none;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;-webkit-margin-start:0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px;z-index:1}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--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([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--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(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--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(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--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(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText;z-index:1}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";const C=class{constructor(a){t(this,a),this.calciteDatePickerSelect=e(this,"calciteDatePickerSelect",7),this.calciteInternalDatePickerHover=e(this,"calciteInternalDatePickerHover",7),this.calciteDatePickerActiveDateChange=e(this,"calciteDatePickerActiveDateChange",7),this.calciteInternalDatePickerMouseOut=e(this,"calciteInternalDatePickerMouseOut",7),this.activeDate=new Date,this.keyDownHandler=t=>{const e="rtl"===this.el.dir;switch(t.key){case"ArrowUp":t.preventDefault(),this.addDays(-7);break;case"ArrowRight":t.preventDefault(),this.addDays(e?-1:1);break;case"ArrowDown":t.preventDefault(),this.addDays(7);break;case"ArrowLeft":t.preventDefault(),this.addDays(e?1:-1);break;case"PageUp":t.preventDefault(),this.addMonths(-1);break;case"PageDown":t.preventDefault(),this.addMonths(1);break;case"Home":t.preventDefault(),this.activeDate.setDate(1),this.addDays();break;case"End":t.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays();break;case"Enter":case" ":t.preventDefault();break;case"Tab":this.activeFocus=!1}},this.disableActiveFocus=()=>{this.activeFocus=!1},this.dayHover=t=>{const e=t.target;e.disabled?this.calciteInternalDatePickerMouseOut.emit():this.calciteInternalDatePickerHover.emit(e.value),t.stopPropagation()},this.daySelect=t=>{this.calciteDatePickerSelect.emit(t.target.value)}}mouseoutHandler(){this.calciteInternalDatePickerMouseOut.emit()}render(){const t=this.activeDate.getMonth(),e=this.activeDate.getFullYear(),r=this.localeData.weekStart%7,{abbreviated:o,short:n,narrow:s}=this.localeData.days,c="s"===this.scale?s||n||o:n||o||s,l=[...c.slice(r,7),...c.slice(0,r)],h=this.getCurrentMonthDays(t,e),d=this.getPrevMonthdays(t,e,r),u=this.getNextMonthDays(t,e,r),f=[...d.map((a=>{const i=new Date(e,t-1,a);return this.renderDateDay(!1,a,i)})),...h.map((a=>{const i=new Date(e,t,a),r=p(i,this.activeDate);return this.renderDateDay(r,a,i,!0,!0)})),...u.map((a=>{const i=new Date(e,t+1,a);return this.renderDateDay(!1,a,i)}))],m=[];for(let t=0;t<f.length;t+=7)m.push(f.slice(t,t+7));return a(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},a("div",{class:"calender",role:"grid"},a("div",{class:"week-headers",role:"row"},l.map((t=>a("span",{class:"week-header",role:"columnheader"},t)))),m.map((t=>a("div",{class:"week-days",role:"row"},t)))))}addMonths(t){const e=new Date(this.activeDate);e.setMonth(this.activeDate.getMonth()+t),this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max)),this.activeFocus=!0}addDays(t=0){const e=new Date(this.activeDate);e.setDate(this.activeDate.getDate()+t),this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max)),this.activeFocus=!0}getPrevMonthdays(t,e,a){const i=new Date(e,t,0),r=i.getDate(),o=[];if(i.getDay()-6===a)return o;for(let t=Math.abs(i.getDay()-a);t>=0;t--)o.push(r-t);return o}getCurrentMonthDays(t,e){const a=new Date(e,t+1,0).getDate(),i=[];for(let t=0;t<a;t++)i.push(t+1);return i}getNextMonthDays(t,e,a){const i=new Date(e,t+1,0).getDay(),r=[];if(i===(a+6)%7)return r;for(let t=0;t<(6-(i-a))%7;t++)r.push(t+1);return r}betweenSelectedRange(t){return!(!(this.startDate&&this.endDate&&t>this.startDate&&t<this.endDate)||this.isRangeHover(t))}isSelected(t){return!!(p(t,this.selectedDate)||this.startDate&&p(t,this.startDate)||this.endDate&&p(t,this.endDate))}isStartOfRange(t){return!(!this.startDate||p(this.startDate,this.endDate)||!p(this.startDate,t)||this.isEndOfRange(t))}isEndOfRange(t){return!!(this.endDate&&!p(this.startDate,this.endDate)&&p(this.endDate,t)||!this.endDate&&this.hoverRange&&p(this.startDate,this.hoverRange.end)&&p(t,this.hoverRange.end))}renderDateDay(t,e,i,r,o){var n;const s=this.isFocusedOnStart(),c=this.isHoverInRange()||!this.endDate&&this.hoverRange&&p(null===(n=this.hoverRange)||void 0===n?void 0:n.end,this.startDate);return a("calcite-date-picker-day",{active:t,class:{"hover--inside-range":this.startDate&&c,"hover--outside-range":this.startDate&&!c,"focused--start":s,"focused--end":!s},currentMonth:r,day:e,disabled:!f(i,this.min,this.max),endOfRange:this.isEndOfRange(i),highlighted:this.betweenSelectedRange(i),key:i.toDateString(),localeData:this.localeData,onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!p(this.startDate,this.endDate),rangeHover:this.isRangeHover(i),ref:e=>{o&&t&&this.activeFocus&&(null==e||e.focus())},scale:this.scale,selected:this.isSelected(i),startOfRange:this.isStartOfRange(i),value:i})}isFocusedOnStart(){var t;return"start"===(null===(t=this.hoverRange)||void 0===t?void 0:t.focused)}isHoverInRange(){if(!this.hoverRange)return!1;const{start:t,end:e}=this.hoverRange;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||e<this.endDate)||this.isFocusedOnStart()&&this.startDate&&t>this.startDate)}isRangeHover(t){if(!this.hoverRange)return!1;const{start:e,end:a}=this.hoverRange,i=this.isFocusedOnStart(),r=this.isHoverInRange(),o=r&&(!i&&t>this.startDate&&(t<a||p(t,a))||i&&t<this.endDate&&(t>e||p(t,e))),n=!r&&(!i&&t>=this.endDate&&(t<a||p(t,a))||i&&(t<this.startDate||this.endDate&&p(t,this.startDate))&&(t>e||p(t,e)));return o||n}get el(){return r(this)}};C.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}.calender{-webkit-margin-after:0.25rem;margin-block-end:0.25rem}.week-headers{display:-ms-flexbox;display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding-block:0px;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";const A=class{constructor(a){t(this,a),this.calciteDatePickerSelect=e(this,"calciteDatePickerSelect",7),this.onYearKey=t=>{const e=this.parseCalendarYear(t.target.value);switch(t.key){case"ArrowDown":t.preventDefault(),this.setYear({localizedYear:e,offset:-1});break;case"ArrowUp":t.preventDefault(),this.setYear({localizedYear:e,offset:1})}},this.onYearChange=t=>{this.setYear({localizedYear:this.parseCalendarYear(t.target.value)})},this.onYearInput=t=>{this.setYear({localizedYear:this.parseCalendarYear(t.target.value),commit:!1})},this.prevMonthClick=t=>{this.handleArrowClick(t,this.prevMonthDate)},this.prevMonthKeydown=t=>{const e=t.key;" "!==e&&"Enter"!==e||this.prevMonthClick(t)},this.nextMonthClick=t=>{this.handleArrowClick(t,this.nextMonthDate)},this.nextMonthKeydown=t=>{const e=t.key;" "!==e&&"Enter"!==e||this.nextMonthClick(t)},this.handleArrowClick=(t,e)=>{null==t||t.preventDefault(),t.stopPropagation(),this.calciteDatePickerSelect.emit(e)}}connectedCallback(){this.setNextPrevMonthDates()}render(){return a("div",{class:"header"},this.renderContent())}renderContent(){var t;if(!this.activeDate||!this.localeData)return null;const e=this.activeDate.getMonth(),{months:i,unitOrder:r}=this.localeData,n=(i.wide||i.narrow||i.abbreviated)[e],s=this.formatCalendarYear(this.activeDate.getFullYear().toString()),c="l"===this.scale?"m":"s",l=m(r),h=l.indexOf("y")<l.indexOf("m"),d=null===(t=this.localeData.year)||void 0===t?void 0:t.suffix;return a(o,null,a("a",{"aria-disabled":(this.prevMonthDate.getMonth()===e).toString(),"aria-label":this.intlPrevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===e?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-left",scale:c})),a("div",{class:{text:!0,"text--reverse":h}},a(D,{class:"month",level:this.headingLevel},n),a("span",{class:"year-wrap"},a("input",{"aria-label":this.intlYear,class:{year:!0,"year--suffix":!!d},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:t=>this.yearInput=t,type:"text",value:s}),d&&a("span",{class:"suffix"},a("span",{"aria-hidden":"true",class:"suffix__invisible"},s)," "+d))),a("a",{"aria-disabled":(this.nextMonthDate.getMonth()===e).toString(),"aria-label":this.intlNextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===e?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-right",scale:c})))}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=h(g(this.activeDate),this.min,this.max),this.prevMonthDate=h(w(this.activeDate),this.min,this.max))}formatCalendarYear(t){const{localeData:e}=this,a="buddhist"===e["default-calendar"]?543:0;return v(b(t,e)+a,e)}parseCalendarYear(t){const{localeData:e}=this,a="buddhist"===e["default-calendar"]?543:0;return v(b(t,e)-a,e)}getInRangeDate({localizedYear:t,offset:e=0}){const{min:a,max:i,activeDate:r,localeData:o}=this,n=b(t,o),s=n.toString().length,c=!isNaN(n)&&n+e,l=c&&(!a||a.getFullYear()<=c)&&(!i||i.getFullYear()>=c);if(c&&l&&s===t.length){const t=new Date(r);return t.setFullYear(c),h(t,a,i)}}setYear({localizedYear:t,commit:e=!0,offset:a=0}){const{yearInput:i,activeDate:r}=this,o=this.getInRangeDate({localizedYear:t,offset:a});o&&this.calciteDatePickerSelect.emit(o),e&&(i.value=this.formatCalendarYear((o||r).getFullYear().toString()))}get el(){return r(this)}static get watchers(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}}};A.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;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;inline-size:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;line-height:1}.text-nreverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;inline-size:3rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;z-index:2}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{inline-size:4rem;text-align:start}.year-wrap{position:relative}.suffix{position:absolute;inset-block-start:0px;inset-inline-start:0px;inline-size:4rem;white-space:nowrap;text-align:start}.suffix__invisible{visibility:hidden}";export{z as calcite_date_picker,_ as calcite_date_picker_day,C as calcite_date_picker_month,A as calcite_date_picker_month_header}
@@ -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.538
4
+ * v1.0.0-next.539
5
5
  */
6
- import{r as t,c as i,h as a,F as n,g as e}from"./p-2172a3de.js";import{g as s}from"./p-7ffd1aa7.js";import{c as o,d as r}from"./p-96e6cb9f.js";import{c as l,d as c,H as m}from"./p-247caee8.js";import{u as p}from"./p-a2416623.js";import{i as d}from"./p-05a335f3.js";import"./p-6b05b992.js";const h=class{constructor(a){t(this,a),this.calciteRatingChange=i(this,"calciteRatingChange",7),this.scale="m",this.value=0,this.readOnly=!1,this.disabled=!1,this.showChip=!1,this.intlRating="Rating",this.intlStars="Stars: ${num}",this.required=!1,this.onKeyboardPressed=t=>{!this.required&&d(t.key)&&(t.preventDefault(),this.updateValue(0))},this.onFocusChange=t=>{this.hasFocus=!0,this.required||this.focusValue!==t?this.focusValue=t:this.updateValue(0)},this.guid=`calcite-ratings-${s()}`}connectedCallback(){o(this),l(this)}disconnectedCallback(){r(this),c(this)}componentDidRender(){p(this)}blurHandler(){this.hasFocus=!1}renderStars(){return[1,2,3,4,5].map((t=>{const i=this.value>=t,n=this.average&&!this.value&&t<=this.average,e=t<=this.hoverValue,s=this.average&&this.average+1-t,o=!this.value&&!e&&s>0&&s<1;return a("span",{class:{wrapper:!0}},a("label",{class:{star:!0,focused:this.hasFocus&&this.focusValue===t,selected:i,average:n,hovered:e,partial:o},htmlFor:`${this.guid}-${t}`,onMouseOver:()=>{this.hoverValue=t}},a("calcite-icon",{"aria-hidden":"true",class:"icon",icon:i||n||this.readOnly?"star-f":"star",scale:this.scale}),o&&a("div",{class:"fraction",style:{width:100*s+"%"}},a("calcite-icon",{icon:"star-f",scale:this.scale})),a("span",{class:"visually-hidden"},this.intlStars.replace("${num}",`${t}`))),a("input",{checked:t===this.value,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:`${this.guid}-${t}`,name:this.guid,onChange:()=>this.updateValue(t),onClick:t=>t.stopPropagation(),onFocus:()=>this.onFocusChange(t),onKeyDown:this.onKeyboardPressed,ref:i=>(1===t||t===this.value)&&(this.inputFocusRef=i),type:"radio",value:t}))}))}render(){const{disabled:t,intlRating:i,showChip:e,scale:s,count:o,average:r}=this;return a(n,null,a("fieldset",{class:"fieldset",disabled:t,onBlur:()=>this.hoverValue=null,onMouseLeave:()=>this.hoverValue=null,onTouchEnd:()=>this.hoverValue=null},a("legend",{class:"visually-hidden"},i),this.renderStars()),(o||r)&&e?a("calcite-chip",{scale:s,value:null==o?void 0:o.toString()},!!r&&a("span",{class:"number--average"},r.toString()),!!o&&a("span",{class:"number--count"},"(",null==o?void 0:o.toString(),")")):null,a(m,{component:this}))}onLabelClick(){this.setFocus()}updateValue(t){this.value=t,this.calciteRatingChange.emit({value:t})}async setFocus(){var t;null===(t=this.inputFocusRef)||void 0===t||t.focus()}get el(){return e(this)}};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-popper-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}";export{h as calcite_rating}
6
+ import{r as t,c as i,h as a,F as n,g as e}from"./p-18f118ff.js";import{g as s}from"./p-e0d384ef.js";import{c as o,d as r}from"./p-01fecf3e.js";import{c as l,d as c,H as m}from"./p-e6de41ec.js";import{u as d}from"./p-a03e482d.js";import{i as p}from"./p-bc6efcde.js";import"./p-cc991091.js";const h=class{constructor(a){t(this,a),this.calciteRatingChange=i(this,"calciteRatingChange",7),this.scale="m",this.value=0,this.readOnly=!1,this.disabled=!1,this.showChip=!1,this.intlRating="Rating",this.intlStars="Stars: ${num}",this.required=!1,this.onKeyboardPressed=t=>{!this.required&&p(t.key)&&(t.preventDefault(),this.updateValue(0))},this.onFocusChange=t=>{this.hasFocus=!0,this.required||this.focusValue!==t?this.focusValue=t:this.updateValue(0)},this.guid=`calcite-ratings-${s()}`}connectedCallback(){o(this),l(this)}disconnectedCallback(){r(this),c(this)}componentDidRender(){d(this)}blurHandler(){this.hasFocus=!1}renderStars(){return[1,2,3,4,5].map((t=>{const i=this.value>=t,n=this.average&&!this.value&&t<=this.average,e=t<=this.hoverValue,s=this.average&&this.average+1-t,o=!this.value&&!e&&s>0&&s<1;return a("span",{class:{wrapper:!0}},a("label",{class:{star:!0,focused:this.hasFocus&&this.focusValue===t,selected:i,average:n,hovered:e,partial:o},htmlFor:`${this.guid}-${t}`,onMouseOver:()=>{this.hoverValue=t}},a("calcite-icon",{"aria-hidden":"true",class:"icon",icon:i||n||this.readOnly?"star-f":"star",scale:this.scale}),o&&a("div",{class:"fraction",style:{width:100*s+"%"}},a("calcite-icon",{icon:"star-f",scale:this.scale})),a("span",{class:"visually-hidden"},this.intlStars.replace("${num}",`${t}`))),a("input",{checked:t===this.value,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:`${this.guid}-${t}`,name:this.guid,onChange:()=>this.updateValue(t),onClick:t=>t.stopPropagation(),onFocus:()=>this.onFocusChange(t),onKeyDown:this.onKeyboardPressed,ref:i=>(1===t||t===this.value)&&(this.inputFocusRef=i),type:"radio",value:t}))}))}render(){const{disabled:t,intlRating:i,showChip:e,scale:s,count:o,average:r}=this;return a(n,null,a("fieldset",{class:"fieldset",disabled:t,onBlur:()=>this.hoverValue=null,onMouseLeave:()=>this.hoverValue=null,onTouchEnd:()=>this.hoverValue=null},a("legend",{class:"visually-hidden"},i),this.renderStars()),(o||r)&&e?a("calcite-chip",{scale:s,value:null==o?void 0:o.toString()},!!r&&a("span",{class:"number--average"},r.toString()),!!o&&a("span",{class:"number--count"},"(",null==o?void 0:o.toString(),")")):null,a(m,{component:this}))}onLabelClick(){this.setFocus()}updateValue(t){this.value=t,this.calciteRatingChange.emit({value:t})}async setFocus(){var t;null===(t=this.inputFocusRef)||void 0===t||t.focus()}get el(){return e(this)}};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([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}";export{h as calcite_rating}
@@ -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.538
4
+ * v1.0.0-next.539
5
5
  */
6
6
  var t="object"==typeof global&&global&&global.Object===Object&&global,n="object"==typeof self&&self&&self.Object===Object&&self,r=t||n||Function("return this")(),e=r.Symbol,o=Object.prototype,i=o.hasOwnProperty,u=o.toString,f=e?e.toStringTag:void 0,a=Object.prototype.toString,c=e?e.toStringTag:void 0;function v(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?function(t){var n=i.call(t,f),r=t[f];try{t[f]=void 0;var e=!0}catch(t){}var o=u.call(t);return e&&(n?t[f]=r:delete t[f]),o}(t):function(t){return a.call(t)}(t)}function l(t){return null!=t&&"object"==typeof t}function s(t){return"symbol"==typeof t||l(t)&&"[object Symbol]"==v(t)}var b=/\s/,d=/^\s+/;function p(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var y=/^[-+]0x[0-9a-f]+$/i,j=/^0b[01]+$/i,m=/^0o[0-7]+$/i,T=parseInt;function g(t){if("number"==typeof t)return t;if(s(t))return NaN;if(p(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=p(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;var r;t=(r=t)?r.slice(0,function(t){for(var n=t.length;n--&&b.test(t.charAt(n)););return n}(r)+1).replace(d,""):r;var e=j.test(t);return e||m.test(t)?T(t.slice(2),e?2:8):y.test(t)?NaN:+t}var h=function(){return r.Date.now()},N=Math.max,O=Math.min;function x(t,n,r){var e,o,i,u,f,a,c=0,v=!1,l=!1,s=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function b(n){var r=e,i=o;return e=o=void 0,c=n,u=t.apply(i,r)}function d(t){return c=t,f=setTimeout(j,n),v?b(t):u}function y(t){var r=t-a;return void 0===a||r>=n||r<0||l&&t-c>=i}function j(){var t=h();if(y(t))return m(t);f=setTimeout(j,function(t){var r=n-(t-a);return l?O(r,i-(t-c)):r}(t))}function m(t){return f=void 0,s&&e?b(t):(e=o=void 0,u)}function T(){var t=h(),r=y(t);if(e=arguments,o=this,a=t,r){if(void 0===f)return d(a);if(l)return clearTimeout(f),f=setTimeout(j,n),b(a)}return void 0===f&&(f=setTimeout(j,n)),u}return n=g(n)||0,p(r)&&(v=!!r.leading,i=(l="maxWait"in r)?N(g(r.maxWait)||0,n):i,s="trailing"in r?!!r.trailing:s),T.cancel=function(){void 0!==f&&clearTimeout(f),c=0,e=a=o=f=void 0},T.flush=function(){return void 0===f?u:m(h())},T}export{e as S,s as a,v as b,l as c,x as d,t as f,p as i,r}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.538
4
+ * v1.0.0-next.539
5
5
  */
6
- import{r as t,h as i,H as a,g as n}from"./p-2172a3de.js";import{a as e,C as o,f as s}from"./p-6b05b992.js";import{u as r}from"./p-a2416623.js";import"./p-7ffd1aa7.js";const l=class{constructor(i){t(this,i),this.disabled=!1,this.download=!1,this.storeTagRef=t=>{this.childEl=t}}componentDidRender(){r(this)}render(){const{download:t,el:n}=this,s=e(n),r=this.href?"a":"span",l=i("calcite-icon",{class:"calcite-link--icon icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),c=i("calcite-icon",{class:"calcite-link--icon icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"});return i(a,{role:"presentation"},i(r,{class:{[o.rtl]:"rtl"===s},download:"a"!==r||""!==t&&!t?null:t,href:"a"===r&&this.href,ref:this.storeTagRef,rel:"a"===r&&this.rel,role:"span"===r?"link":null,tabIndex:"span"===r?0:null,target:"a"===r&&this.target},this.iconStart?l:null,i("slot",null),this.iconEnd?c:null))}async setFocus(){s(this.childEl)}get el(){return n(this)}};l.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition: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}:host a,:host span{position:relative;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0px;border-style:none;font-family:inherit;-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;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:text-top;-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;-webkit-margin-before:0.125rem;margin-block-start:0.125rem}:host .calcite-link--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host .calcite-link--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0px;color:var(--calcite-ui-text-link);-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;line-height:inherit;white-space:initial;background-image:-webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor)), -webkit-gradient(linear, left top, left bottom, from(var(--calcite-link-blue-underline)), to(var(--calcite-link-blue-underline)));background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-link-blue-underline), var(--calcite-link-blue-underline));background-position:0% 100%, 100% 100%;background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%, 100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{l as calcite_link}
6
+ import{r as t,h as i,H as a,g as n}from"./p-18f118ff.js";import{a as e,C as o,f as s}from"./p-cc991091.js";import{u as r}from"./p-a03e482d.js";import"./p-e0d384ef.js";const l=class{constructor(i){t(this,i),this.disabled=!1,this.download=!1,this.storeTagRef=t=>{this.childEl=t}}componentDidRender(){r(this)}render(){const{download:t,el:n}=this,s=e(n),r=this.href?"a":"span",l=i("calcite-icon",{class:"calcite-link--icon icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),c=i("calcite-icon",{class:"calcite-link--icon icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"});return i(a,{role:"presentation"},i(r,{class:{[o.rtl]:"rtl"===s},download:"a"!==r||""!==t&&!t?null:t,href:"a"===r&&this.href,ref:this.storeTagRef,rel:"a"===r&&this.rel,role:"span"===r?"link":null,tabIndex:"span"===r?0:null,target:"a"===r&&this.target},this.iconStart?l:null,i("slot",null),this.iconEnd?c:null))}async setFocus(){s(this.childEl)}get el(){return n(this)}};l.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-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}:host a,:host span{position:relative;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0px;border-style:none;font-family:inherit;-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;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:text-top;-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;-webkit-margin-before:0.125rem;margin-block-start:0.125rem}:host .calcite-link--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host .calcite-link--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0px;color:var(--calcite-ui-text-link);-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;line-height:inherit;white-space:initial;background-image:-webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor)), -webkit-gradient(linear, left top, left bottom, from(var(--calcite-link-blue-underline)), to(var(--calcite-link-blue-underline)));background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-link-blue-underline), var(--calcite-link-blue-underline));background-position:0% 100%, 100% 100%;background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%, 100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{l as calcite_link}
@@ -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.539
5
+ */
6
+ System.register(["./p-24821106.system.js","./p-012bf861.system.js","./p-45e8c080.system.js","./p-4d0d1577.system.js"],(function(t){"use strict";var a,e,i,n,o,r,l;return{setters:[function(t){a=t.r;e=t.c;i=t.h;n=t.H;o=t.g},function(t){r=t.l;l=t.a},function(){},function(){}],execute:function(){var s={container:"container"};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([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}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host(:not([disable-spacing])[scale=s]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 0.5rem);margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host(:not([disable-spacing])[scale=m]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 0.75rem);margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:not([disable-spacing])[scale=l]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 1rem);margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([disable-spacing]) .container{margin:0px;gap:0px}";var m=t("calcite_label",function(){function t(t){var i=this;a(this,t);this.calciteInternalLabelClick=e(this,"calciteInternalLabelClick",3);this.alignment="start";this.status="idle";this.scale="m";this.layout="default";this.disabled=false;this.disableSpacing=false;this.labelClickHandler=function(t){i.calciteInternalLabelClick.emit({sourceEvent:t})}}t.prototype.connectedCallback=function(){document.dispatchEvent(new CustomEvent(r))};t.prototype.disconnectedCallback=function(){document.dispatchEvent(new CustomEvent(l))};t.prototype.render=function(){return i(n,{onClick:this.labelClickHandler},i("div",{class:s.container},i("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());m.style=c}}}));