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

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 (897) hide show
  1. package/dist/calcite/assets/icon/changeDetection16.json +1 -1
  2. package/dist/calcite/assets/icon/changeDetection24.json +1 -1
  3. package/dist/calcite/assets/icon/changeDetection32.json +1 -1
  4. package/dist/calcite/assets/icon/chartMagnifyingGlass16.json +1 -0
  5. package/dist/calcite/assets/icon/chartMagnifyingGlass24.json +1 -0
  6. package/dist/calcite/assets/icon/chartMagnifyingGlass32.json +1 -0
  7. package/dist/calcite/assets/icon/collaboration16.json +1 -0
  8. package/dist/calcite/assets/icon/collaboration24.json +1 -0
  9. package/dist/calcite/assets/icon/collaboration32.json +1 -0
  10. package/dist/calcite/assets/icon/collaborationDistributed16.json +1 -0
  11. package/dist/calcite/assets/icon/collaborationDistributed24.json +1 -0
  12. package/dist/calcite/assets/icon/collaborationDistributed32.json +1 -0
  13. package/dist/calcite/assets/icon/flip16.json +1 -0
  14. package/dist/calcite/assets/icon/flip24.json +1 -0
  15. package/dist/calcite/assets/icon/flip32.json +1 -0
  16. package/dist/calcite/assets/icon/security16.json +1 -1
  17. package/dist/calcite/assets/icon/security24.json +1 -1
  18. package/dist/calcite/assets/icon/security32.json +1 -1
  19. package/dist/calcite/assets/icon/sheildCoin16.json +1 -0
  20. package/dist/calcite/assets/icon/sheildCoin24.json +1 -0
  21. package/dist/calcite/assets/icon/sheildCoin32.json +1 -0
  22. package/dist/calcite/assets/icon/shieldCoin16.json +1 -0
  23. package/dist/calcite/assets/icon/shieldCoin24.json +1 -0
  24. package/dist/calcite/assets/icon/shieldCoin32.json +1 -0
  25. package/dist/calcite/assets/icon/unpin16.json +1 -0
  26. package/dist/calcite/assets/icon/unpin24.json +1 -0
  27. package/dist/calcite/assets/icon/unpin32.json +1 -0
  28. package/dist/calcite/calcite.esm.js +2 -2
  29. package/dist/calcite/calcite.js +1 -1
  30. package/dist/calcite/index.esm.js +1 -1
  31. package/dist/calcite/{p-8535b51b.system.js → p-013547ec.system.js} +1 -1
  32. package/dist/calcite/{p-f82e65cf.entry.js → p-02c1df1f.entry.js} +2 -2
  33. package/dist/calcite/{p-0a142c9f.system.entry.js → p-03627f9c.system.entry.js} +2 -2
  34. package/dist/calcite/{p-ae5e5f89.entry.js → p-04733be1.entry.js} +2 -2
  35. package/dist/calcite/{p-e584b45b.system.entry.js → p-07acdbd5.system.entry.js} +2 -2
  36. package/dist/calcite/{p-736d89b3.js → p-083a9c56.js} +1 -1
  37. package/dist/calcite/{p-b47e90fd.entry.js → p-08daa33f.entry.js} +2 -2
  38. package/dist/calcite/{p-871d2cc9.system.js → p-095da29e.system.js} +2 -2
  39. package/dist/calcite/{p-dbdf3eab.entry.js → p-0c304ff2.entry.js} +2 -2
  40. package/dist/calcite/{p-85d42b67.system.js → p-0d5b8d1c.system.js} +1 -1
  41. package/dist/calcite/{p-d2b222d5.entry.js → p-0e18add5.entry.js} +2 -2
  42. package/dist/calcite/{p-659d9316.system.entry.js → p-12ea5f87.system.entry.js} +2 -2
  43. package/dist/calcite/{p-9bd54a1e.system.entry.js → p-14b8b5e0.system.entry.js} +2 -2
  44. package/dist/calcite/{p-6685bd10.entry.js → p-16861b96.entry.js} +2 -2
  45. package/dist/calcite/{p-a83165bc.js → p-16b3cd64.js} +2 -2
  46. package/dist/calcite/{p-bc9654a4.js → p-1884bccd.js} +2 -2
  47. package/dist/calcite/{p-9e648d59.entry.js → p-19f59269.entry.js} +2 -2
  48. package/dist/calcite/p-1bed7d7b.js +6 -0
  49. package/dist/calcite/{p-8165f797.js → p-1cb8250d.js} +2 -2
  50. package/dist/calcite/{p-84c3ca68.js → p-214d31d0.js} +2 -2
  51. package/dist/calcite/{p-b090e196.js → p-219e247d.js} +1 -1
  52. package/dist/calcite/{p-9d0255b5.system.entry.js → p-2539059d.system.entry.js} +2 -2
  53. package/dist/calcite/{p-d0cd79c1.entry.js → p-25864e29.entry.js} +2 -2
  54. package/dist/calcite/{p-842836cc.js → p-2733a829.js} +1 -1
  55. package/dist/calcite/{p-5bff05d6.entry.js → p-2aa0e29e.entry.js} +2 -2
  56. package/dist/calcite/p-2b91e7a1.system.entry.js +6 -0
  57. package/dist/calcite/{p-b4ecb282.system.js → p-2ca0584d.system.js} +2 -2
  58. package/dist/calcite/{p-1770bafb.system.entry.js → p-2cf621ba.system.entry.js} +2 -2
  59. package/dist/calcite/{p-f03665c6.js → p-2dc8e225.js} +1 -1
  60. package/dist/calcite/{p-529cc43f.entry.js → p-2de5ba58.entry.js} +2 -2
  61. package/dist/calcite/{p-b0b255c8.system.entry.js → p-2e0addc8.system.entry.js} +2 -2
  62. package/dist/calcite/{p-97c8f816.system.entry.js → p-2e8245f8.system.entry.js} +2 -2
  63. package/dist/calcite/{p-1a5ab91e.system.entry.js → p-2eb5e040.system.entry.js} +2 -2
  64. package/dist/calcite/{p-8b6a8fad.entry.js → p-2ec11399.entry.js} +2 -2
  65. package/dist/calcite/{p-2f6621f0.system.entry.js → p-32866f95.system.entry.js} +2 -2
  66. package/dist/calcite/p-329d7370.entry.js +6 -0
  67. package/dist/calcite/{p-fd4c2b18.entry.js → p-335664b7.entry.js} +2 -2
  68. package/dist/calcite/{p-ac810862.system.js → p-33e924b8.system.js} +1 -1
  69. package/dist/calcite/{p-c653f31b.entry.js → p-34477b59.entry.js} +2 -2
  70. package/dist/calcite/{p-8b5337f1.entry.js → p-34db6fa6.entry.js} +2 -2
  71. package/dist/calcite/{p-af053f2b.js → p-37efb2c8.js} +1 -1
  72. package/dist/calcite/{p-e433e8b6.entry.js → p-39ff4364.entry.js} +2 -2
  73. package/dist/calcite/{p-752bf4d3.entry.js → p-3a648353.entry.js} +2 -2
  74. package/dist/calcite/{p-cc8347fe.system.js → p-3ccef86d.system.js} +1 -1
  75. package/dist/calcite/p-3d85c594.system.js +6 -0
  76. package/dist/calcite/{p-b108d692.system.js → p-3f24ebfc.system.js} +1 -1
  77. package/dist/calcite/{p-f89c75b5.system.js → p-3fe63f18.system.js} +1 -1
  78. package/dist/calcite/{p-e7f19712.system.js → p-3ff4b78b.system.js} +2 -2
  79. package/dist/calcite/{p-19bd9276.system.entry.js → p-42c6373f.system.entry.js} +3 -3
  80. package/dist/calcite/p-44919521.entry.js +6 -0
  81. package/dist/calcite/{p-237b7e54.js → p-46a5526d.js} +1 -1
  82. package/dist/calcite/{p-8d3324e6.entry.js → p-46ea5769.entry.js} +2 -2
  83. package/dist/calcite/{p-f8371ee8.system.entry.js → p-4a6154ef.system.entry.js} +3 -3
  84. package/dist/calcite/{p-42377107.system.js → p-4c09f36d.system.js} +2 -2
  85. package/dist/calcite/{p-dd5ba6b9.entry.js → p-4d2c6877.entry.js} +2 -2
  86. package/dist/calcite/{p-0e17c672.entry.js → p-4df41ed9.entry.js} +2 -2
  87. package/dist/calcite/{p-e7811f71.system.entry.js → p-50592f10.system.entry.js} +2 -2
  88. package/dist/calcite/{p-dc94db00.entry.js → p-52ba7ff7.entry.js} +2 -2
  89. package/dist/calcite/{p-07c095a5.js → p-52dfcd0e.js} +1 -1
  90. package/dist/calcite/{p-86900430.system.js → p-531c56c8.system.js} +1 -1
  91. package/dist/calcite/{p-f016228c.system.js → p-532ba13d.system.js} +2 -2
  92. package/dist/calcite/{p-21bd836e.system.entry.js → p-54ece3a2.system.entry.js} +2 -2
  93. package/dist/calcite/{p-caf144dc.system.entry.js → p-54fad552.system.entry.js} +2 -2
  94. package/dist/calcite/p-55b42ed9.entry.js +6 -0
  95. package/dist/calcite/{p-ba6132dd.entry.js → p-55d079bb.entry.js} +2 -2
  96. package/dist/calcite/{p-bd2aaecc.system.js → p-586e7597.system.js} +2 -2
  97. package/dist/calcite/{p-05d474d1.system.js → p-598e046d.system.js} +2 -2
  98. package/dist/calcite/{p-5bb3c4c7.system.entry.js → p-5ee04bf1.system.entry.js} +2 -2
  99. package/dist/calcite/{p-11bf7b0d.system.js → p-5f6b5ec9.system.js} +2 -2
  100. package/dist/calcite/{p-0ea3762a.entry.js → p-60388abf.entry.js} +2 -2
  101. package/dist/calcite/p-659ba7cb.system.entry.js +6 -0
  102. package/dist/calcite/{p-cdcce5bc.entry.js → p-65e91422.entry.js} +2 -2
  103. package/dist/calcite/p-66072067.entry.js +6 -0
  104. package/dist/calcite/{p-4fc24484.js → p-691f551b.js} +1 -1
  105. package/dist/calcite/{p-9d62eab1.entry.js → p-69ddce2a.entry.js} +2 -2
  106. package/dist/calcite/{p-91255e0c.system.entry.js → p-6ba2d95e.system.entry.js} +2 -2
  107. package/dist/calcite/{p-b0c4f038.system.js → p-6bca5e1f.system.js} +1 -1
  108. package/dist/calcite/{p-a8975549.entry.js → p-6d2b53a8.entry.js} +2 -2
  109. package/dist/calcite/{p-9f53d9da.system.entry.js → p-6fd1c444.system.entry.js} +2 -2
  110. package/dist/calcite/{p-24eb2fa3.entry.js → p-71550be0.entry.js} +2 -2
  111. package/dist/calcite/{p-7c16c334.system.js → p-72a07661.system.js} +1 -1
  112. package/dist/calcite/{p-2eca0d15.system.entry.js → p-72b40e33.system.entry.js} +2 -2
  113. package/dist/calcite/{p-518b17e4.entry.js → p-7318d337.entry.js} +2 -2
  114. package/dist/calcite/{p-b28fccc8.entry.js → p-7431ea46.entry.js} +2 -2
  115. package/dist/calcite/{p-d9f02c5d.js → p-7636c46c.js} +1 -1
  116. package/dist/calcite/{p-58224a17.system.entry.js → p-78e9414a.system.entry.js} +2 -2
  117. package/dist/calcite/{p-a9387458.system.entry.js → p-7ac09fce.system.entry.js} +2 -2
  118. package/dist/calcite/{p-dc478f1b.system.entry.js → p-7be09442.system.entry.js} +2 -2
  119. package/dist/calcite/{p-020236e2.system.entry.js → p-7cb9b8c7.system.entry.js} +2 -2
  120. package/dist/calcite/{p-311586ca.entry.js → p-7dc61681.entry.js} +2 -2
  121. package/dist/calcite/{p-de6cb94d.system.entry.js → p-7eccad40.system.entry.js} +3 -3
  122. package/dist/calcite/{p-976a3d01.system.entry.js → p-8250b24e.system.entry.js} +3 -3
  123. package/dist/calcite/{p-7c2b6a39.js → p-830f1cca.js} +2 -2
  124. package/dist/calcite/{p-bcf908d8.system.entry.js → p-83aaa8c0.system.entry.js} +2 -2
  125. package/dist/calcite/{p-889847b7.system.entry.js → p-86a499ce.system.entry.js} +2 -2
  126. package/dist/calcite/{p-b340ae38.system.entry.js → p-8aefc4df.system.entry.js} +2 -2
  127. package/dist/calcite/{p-b9a4ade4.entry.js → p-8fd4dafd.entry.js} +2 -2
  128. package/dist/calcite/{p-b63fae1d.js → p-9140a85e.js} +1 -1
  129. package/dist/calcite/{p-4b29c3a2.system.entry.js → p-933f1dd0.system.entry.js} +2 -2
  130. package/dist/calcite/{p-98c1e5aa.system.js → p-93813663.system.js} +1 -1
  131. package/dist/calcite/p-956c1040.entry.js +6 -0
  132. package/dist/calcite/{p-a98e7f90.system.entry.js → p-95833fd6.system.entry.js} +2 -2
  133. package/dist/calcite/{p-3ed286d3.js → p-96d5815c.js} +2 -2
  134. package/dist/calcite/{p-5fb6cba5.system.entry.js → p-97246feb.system.entry.js} +2 -2
  135. package/dist/calcite/{p-bc06e3cc.entry.js → p-9bae7cc5.entry.js} +2 -2
  136. package/dist/calcite/{p-62d043a9.entry.js → p-9ccc2568.entry.js} +2 -2
  137. package/dist/calcite/{p-4db8d03d.system.entry.js → p-9d0efb25.system.entry.js} +2 -2
  138. package/dist/calcite/{p-0f45aa13.entry.js → p-9d441e14.entry.js} +2 -2
  139. package/dist/calcite/{p-e595781f.system.entry.js → p-9ec8965c.system.entry.js} +2 -2
  140. package/dist/calcite/{p-59b05ad1.entry.js → p-a38c1777.entry.js} +2 -2
  141. package/dist/calcite/{p-a6f48424.js → p-aac7a9ac.js} +2 -2
  142. package/dist/calcite/{p-c5cd76b3.entry.js → p-ab50afa0.entry.js} +2 -2
  143. package/dist/calcite/{p-3cc097df.entry.js → p-af64a957.entry.js} +2 -2
  144. package/dist/calcite/{p-af281225.entry.js → p-afd37614.entry.js} +2 -2
  145. package/dist/calcite/{p-2dccc5ea.system.entry.js → p-b0274ddb.system.entry.js} +2 -2
  146. package/dist/calcite/{p-47df642b.js → p-b0527d22.js} +1 -1
  147. package/dist/calcite/{p-e4963a2d.js → p-b1edb73a.js} +1 -1
  148. package/dist/calcite/{p-aac82cb6.js → p-b2aacc22.js} +2 -2
  149. package/dist/calcite/{p-7787ee50.system.js → p-b41868a7.system.js} +1 -1
  150. package/dist/calcite/{p-8f155658.system.entry.js → p-b6401bd8.system.entry.js} +2 -2
  151. package/dist/calcite/{p-c63e9d39.system.js → p-b8b42749.system.js} +1 -1
  152. package/dist/calcite/{p-9513d18c.entry.js → p-ba6ddbec.entry.js} +2 -2
  153. package/dist/calcite/{p-e348e973.system.entry.js → p-bdb6ff14.system.entry.js} +2 -2
  154. package/dist/calcite/{p-3d9e0fd4.system.entry.js → p-be462901.system.entry.js} +2 -2
  155. package/dist/calcite/{p-e6f4932f.system.entry.js → p-c09108a9.system.entry.js} +2 -2
  156. package/dist/calcite/{p-55fc315d.js → p-c3a29d0b.js} +1 -1
  157. package/dist/calcite/{p-094e2086.entry.js → p-c55c94c8.entry.js} +2 -2
  158. package/dist/calcite/{p-e60c5fb3.entry.js → p-c60d526d.entry.js} +2 -2
  159. package/dist/calcite/p-c61850af.entry.js +6 -0
  160. package/dist/calcite/{p-ba8999a1.system.entry.js → p-c6bcaac4.system.entry.js} +2 -2
  161. package/dist/calcite/{p-6a089e4d.system.entry.js → p-c7026336.system.entry.js} +2 -2
  162. package/dist/calcite/{p-8f3155ab.system.entry.js → p-c8e6fa7c.system.entry.js} +2 -2
  163. package/dist/calcite/{p-6fff1ced.js → p-ca3be02c.js} +2 -2
  164. package/dist/calcite/{p-84374369.system.entry.js → p-caa0d88e.system.entry.js} +2 -2
  165. package/dist/calcite/{p-ba3a8fff.system.entry.js → p-cadcfc0c.system.entry.js} +2 -2
  166. package/dist/calcite/{p-50def930.entry.js → p-cae07863.entry.js} +2 -2
  167. package/dist/calcite/{p-3c323d3f.system.js → p-cbacd14a.system.js} +1 -1
  168. package/dist/calcite/p-cc932075.js +6 -0
  169. package/dist/calcite/{p-5733790e.js → p-cdf69602.js} +2 -2
  170. package/dist/calcite/{p-3db2100a.system.entry.js → p-cdfcbc54.system.entry.js} +2 -2
  171. package/dist/calcite/{p-574f3adc.entry.js → p-cf5e4765.entry.js} +2 -2
  172. package/dist/calcite/{p-4326057f.system.entry.js → p-cfa77570.system.entry.js} +2 -2
  173. package/dist/calcite/{p-4cd222e0.system.entry.js → p-d17702cf.system.entry.js} +3 -3
  174. package/dist/calcite/p-d215ee70.system.js +6 -0
  175. package/dist/calcite/{p-a2bfdf09.entry.js → p-d2f3d291.entry.js} +2 -2
  176. package/dist/calcite/{p-d079b2bc.entry.js → p-d40c92da.entry.js} +2 -2
  177. package/dist/calcite/{p-1952f048.entry.js → p-d5ee9f52.entry.js} +2 -2
  178. package/dist/calcite/{p-f035bc15.system.js → p-d6408057.system.js} +1 -1
  179. package/dist/calcite/{p-0be4968d.entry.js → p-d7d89539.entry.js} +2 -2
  180. package/dist/calcite/{p-68b10ce2.system.entry.js → p-d8b02f9a.system.entry.js} +2 -2
  181. package/dist/calcite/{p-0bf841ac.entry.js → p-d8bb44a1.entry.js} +2 -2
  182. package/dist/calcite/{p-b58cee75.system.entry.js → p-dd7eed31.system.entry.js} +2 -2
  183. package/dist/calcite/{p-ab4f331d.system.entry.js → p-e0ba81f9.system.entry.js} +2 -2
  184. package/dist/calcite/p-e1135305.system.js +6 -0
  185. package/dist/calcite/{p-a808a951.system.entry.js → p-e508820d.system.entry.js} +2 -2
  186. package/dist/calcite/{p-3c335653.entry.js → p-e60a59c1.entry.js} +2 -2
  187. package/dist/calcite/{p-2cafd7de.entry.js → p-e804aa07.entry.js} +2 -2
  188. package/dist/calcite/{p-7c95ce74.js → p-ee6e5a08.js} +1 -1
  189. package/dist/calcite/{p-f36e5829.system.entry.js → p-ef578b85.system.entry.js} +3 -3
  190. package/dist/calcite/{p-0b190f9e.js → p-efa1ad71.js} +1 -1
  191. package/dist/calcite/p-f0d8c8bf.system.entry.js +6 -0
  192. package/dist/calcite/{p-8d51b690.system.js → p-f2b391e7.system.js} +2 -2
  193. package/dist/calcite/{p-4164accb.entry.js → p-f3c7840b.entry.js} +2 -2
  194. package/dist/calcite/{p-5d8eff06.entry.js → p-f3e969d4.entry.js} +2 -2
  195. package/dist/calcite/{p-cfeb6766.system.entry.js → p-f4f07b80.system.entry.js} +3 -3
  196. package/dist/calcite/{p-a01890a3.system.js → p-f5413bd0.system.js} +1 -1
  197. package/dist/calcite/{p-04badf2b.system.entry.js → p-f83178b9.system.entry.js} +2 -2
  198. package/dist/calcite/{p-b2432912.system.entry.js → p-f92796b1.system.entry.js} +2 -2
  199. package/dist/calcite/{p-00896eb1.system.entry.js → p-fa3b6ec4.system.entry.js} +2 -2
  200. package/dist/calcite/{p-264d6e82.system.entry.js → p-fcdf3be8.system.entry.js} +2 -2
  201. package/dist/calcite/{p-1304349e.system.js → p-fce31076.system.js} +1 -1
  202. package/dist/calcite/{p-e7d0b968.system.js → p-fcebbd3e.system.js} +2 -2
  203. package/dist/calcite/{p-8109aa3d.entry.js → p-fdc6689d.entry.js} +2 -2
  204. package/dist/calcite/{p-102ec2a1.entry.js → p-fe7f6d76.entry.js} +2 -2
  205. package/dist/cjs/{ExpandToggle-8b40ae99.js → ExpandToggle-1b7dc448.js} +5 -5
  206. package/dist/cjs/{Heading-3b0ce74b.js → Heading-94ac3fdc.js} +2 -2
  207. package/dist/cjs/{app-globals-0a136b9d.js → app-globals-88cf8c51.js} +2 -2
  208. package/dist/cjs/{array-5b4a3595.js → array-156fa145.js} +1 -1
  209. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  210. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  211. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  212. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  214. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
  216. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  217. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
  218. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  219. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  220. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
  221. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  222. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
  223. package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -14
  224. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
  225. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +41 -20
  226. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  228. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  229. package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
  230. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  231. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  232. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  233. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -13
  234. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  235. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  236. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  237. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +10 -11
  238. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  239. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  240. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  241. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  242. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  243. package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
  244. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  245. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  246. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  247. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  248. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  249. package/dist/cjs/calcite-popover_2.cjs.entry.js +10 -10
  250. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  251. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  252. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  253. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  254. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  255. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  256. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  257. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  258. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  259. package/dist/cjs/calcite-stepper_2.cjs.entry.js +44 -22
  260. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  261. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -8
  262. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  263. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  264. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  265. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
  266. package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
  267. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
  268. package/dist/cjs/calcite.cjs.js +5 -5
  269. package/dist/cjs/{conditionalSlot-9a32b3b5.js → conditionalSlot-5c522d04.js} +3 -3
  270. package/dist/cjs/{debounce-98bd10fa.js → debounce-d37d3494.js} +1 -1
  271. package/dist/cjs/{dom-0d23805a.js → dom-b4591705.js} +3 -3
  272. package/dist/cjs/{filter-05f17a9b.js → filter-d943f405.js} +2 -2
  273. package/dist/cjs/{floating-ui-f2fd9e79.js → floating-ui-304a6a0b.js} +2 -2
  274. package/dist/cjs/{form-a421283d.js → form-fd7db81c.js} +3 -3
  275. package/dist/cjs/{guid-4da2011b.js → guid-8b8c8cea.js} +1 -1
  276. package/dist/cjs/{index-2c0e443f.js → index-0a2829b7.js} +1 -1
  277. package/dist/cjs/index.cjs.js +1 -1
  278. package/dist/cjs/{interactive-b1a2f720.js → interactive-76d67681.js} +1 -1
  279. package/dist/cjs/{interfaces-23875bb7.js → interfaces-dcba5f63.js} +1 -1
  280. package/dist/cjs/{key-5aea3830.js → key-035a09ea.js} +1 -1
  281. package/dist/cjs/{label-d1d508b6.js → label-0e931ffc.js} +2 -2
  282. package/dist/cjs/loader.cjs.js +5 -5
  283. package/dist/cjs/{locale-fb5a2c68.js → locale-aa623453.js} +2 -2
  284. package/dist/cjs/{math-17d13fb4.js → math-a358fcd4.js} +1 -1
  285. package/dist/cjs/{observers-41cf8428.js → observers-a63ca8f9.js} +1 -1
  286. package/dist/cjs/{openCloseComponent-58583eda.js → openCloseComponent-132c22a5.js} +1 -1
  287. package/dist/cjs/{resources-1b370cd7.js → resources-572775e9.js} +1 -1
  288. package/dist/cjs/{resources-e5477b9a.js → resources-a29150dc.js} +3 -3
  289. package/dist/cjs/{resources-f9889a60.js → resources-a324e9d5.js} +1 -1
  290. package/dist/cjs/{resources-293b0d60.js → resources-e2d25182.js} +5 -5
  291. package/dist/cjs/{resources-c51871b7.js → resources-e8da31b1.js} +1 -1
  292. package/dist/cjs/{sortable.esm-37906a1a.js → sortable.esm-68d2564c.js} +1 -1
  293. package/dist/cjs/{utils-36a681df.js → utils-ad7c17ee.js} +1 -1
  294. package/dist/collection/components/accordion/accordion.js +1 -1
  295. package/dist/collection/components/accordion/interfaces.js +1 -1
  296. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  297. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  298. package/dist/collection/components/accordion-item/resources.js +1 -1
  299. package/dist/collection/components/action/action.js +1 -1
  300. package/dist/collection/components/action/resources.js +1 -1
  301. package/dist/collection/components/action-bar/action-bar.js +1 -1
  302. package/dist/collection/components/action-bar/resources.js +1 -1
  303. package/dist/collection/components/action-bar/utils.js +1 -1
  304. package/dist/collection/components/action-group/action-group.js +1 -1
  305. package/dist/collection/components/action-group/resources.js +1 -1
  306. package/dist/collection/components/action-menu/action-menu.js +1 -1
  307. package/dist/collection/components/action-menu/resources.js +1 -1
  308. package/dist/collection/components/action-pad/action-pad.js +1 -1
  309. package/dist/collection/components/action-pad/resources.js +1 -1
  310. package/dist/collection/components/alert/alert.js +1 -1
  311. package/dist/collection/components/alert/interfaces.js +1 -1
  312. package/dist/collection/components/alert/resources.js +1 -1
  313. package/dist/collection/components/avatar/avatar.js +1 -1
  314. package/dist/collection/components/avatar/utils.js +1 -1
  315. package/dist/collection/components/block/block.js +1 -1
  316. package/dist/collection/components/block/resources.js +1 -1
  317. package/dist/collection/components/block-section/block-section.js +1 -1
  318. package/dist/collection/components/block-section/interfaces.js +1 -1
  319. package/dist/collection/components/block-section/resources.js +1 -1
  320. package/dist/collection/components/button/button.js +1 -1
  321. package/dist/collection/components/button/interfaces.js +1 -1
  322. package/dist/collection/components/button/resources.js +1 -1
  323. package/dist/collection/components/card/card.js +1 -1
  324. package/dist/collection/components/card/resources.js +1 -1
  325. package/dist/collection/components/checkbox/checkbox.js +1 -1
  326. package/dist/collection/components/chip/chip.js +1 -1
  327. package/dist/collection/components/chip/interfaces.js +1 -1
  328. package/dist/collection/components/chip/resources.js +1 -1
  329. package/dist/collection/components/color-picker/color-picker.js +1 -1
  330. package/dist/collection/components/color-picker/interfaces.js +1 -1
  331. package/dist/collection/components/color-picker/resources.js +1 -1
  332. package/dist/collection/components/color-picker/utils.js +1 -1
  333. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  334. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  335. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  336. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  337. package/dist/collection/components/combobox/combobox.js +1 -1
  338. package/dist/collection/components/combobox/interfaces.js +1 -1
  339. package/dist/collection/components/combobox/resources.js +1 -1
  340. package/dist/collection/components/combobox/utils.js +1 -1
  341. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  342. package/dist/collection/components/combobox-item/resources.js +1 -1
  343. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  344. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  345. package/dist/collection/components/date-picker/date-picker.js +1 -1
  346. package/dist/collection/components/date-picker/interfaces.js +1 -1
  347. package/dist/collection/components/date-picker/resources.js +1 -1
  348. package/dist/collection/components/date-picker/utils.js +1 -1
  349. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  350. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  351. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  352. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  353. package/dist/collection/components/dropdown/dropdown.js +3 -3
  354. package/dist/collection/components/dropdown/interfaces.js +1 -1
  355. package/dist/collection/components/dropdown/resources.js +1 -1
  356. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  357. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  358. package/dist/collection/components/dropdown-group/resources.js +1 -1
  359. package/dist/collection/components/dropdown-item/dropdown-item.css +6 -6
  360. package/dist/collection/components/dropdown-item/dropdown-item.js +55 -10
  361. package/dist/collection/components/dropdown-item/resources.js +1 -1
  362. package/dist/collection/components/fab/fab.js +1 -1
  363. package/dist/collection/components/fab/resources.js +1 -1
  364. package/dist/collection/components/filter/filter.js +1 -1
  365. package/dist/collection/components/filter/resources.js +1 -1
  366. package/dist/collection/components/flow/flow.js +1 -1
  367. package/dist/collection/components/flow/interfaces.js +1 -1
  368. package/dist/collection/components/flow/resources.js +1 -1
  369. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  370. package/dist/collection/components/functional/Heading.js +1 -1
  371. package/dist/collection/components/graph/graph.js +1 -1
  372. package/dist/collection/components/graph/interfaces.js +1 -1
  373. package/dist/collection/components/graph/util.js +1 -1
  374. package/dist/collection/components/handle/handle.js +1 -1
  375. package/dist/collection/components/handle/resources.js +1 -1
  376. package/dist/collection/components/icon/assets/icon/changeDetection16.json +1 -1
  377. package/dist/collection/components/icon/assets/icon/changeDetection24.json +1 -1
  378. package/dist/collection/components/icon/assets/icon/changeDetection32.json +1 -1
  379. package/dist/collection/components/icon/assets/icon/chartMagnifyingGlass16.json +1 -0
  380. package/dist/collection/components/icon/assets/icon/chartMagnifyingGlass24.json +1 -0
  381. package/dist/collection/components/icon/assets/icon/chartMagnifyingGlass32.json +1 -0
  382. package/dist/collection/components/icon/assets/icon/collaboration16.json +1 -0
  383. package/dist/collection/components/icon/assets/icon/collaboration24.json +1 -0
  384. package/dist/collection/components/icon/assets/icon/collaboration32.json +1 -0
  385. package/dist/collection/components/icon/assets/icon/collaborationDistributed16.json +1 -0
  386. package/dist/collection/components/icon/assets/icon/collaborationDistributed24.json +1 -0
  387. package/dist/collection/components/icon/assets/icon/collaborationDistributed32.json +1 -0
  388. package/dist/collection/components/icon/assets/icon/flip16.json +1 -0
  389. package/dist/collection/components/icon/assets/icon/flip24.json +1 -0
  390. package/dist/collection/components/icon/assets/icon/flip32.json +1 -0
  391. package/dist/collection/components/icon/assets/icon/security16.json +1 -1
  392. package/dist/collection/components/icon/assets/icon/security24.json +1 -1
  393. package/dist/collection/components/icon/assets/icon/security32.json +1 -1
  394. package/dist/collection/components/icon/assets/icon/sheildCoin16.json +1 -0
  395. package/dist/collection/components/icon/assets/icon/sheildCoin24.json +1 -0
  396. package/dist/collection/components/icon/assets/icon/sheildCoin32.json +1 -0
  397. package/dist/collection/components/icon/assets/icon/shieldCoin16.json +1 -0
  398. package/dist/collection/components/icon/assets/icon/shieldCoin24.json +1 -0
  399. package/dist/collection/components/icon/assets/icon/shieldCoin32.json +1 -0
  400. package/dist/collection/components/icon/assets/icon/unpin16.json +1 -0
  401. package/dist/collection/components/icon/assets/icon/unpin24.json +1 -0
  402. package/dist/collection/components/icon/assets/icon/unpin32.json +1 -0
  403. package/dist/collection/components/icon/icon.js +1 -1
  404. package/dist/collection/components/icon/resources.js +1 -1
  405. package/dist/collection/components/icon/utils.js +1 -1
  406. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  407. package/dist/collection/components/inline-editable/resources.js +1 -1
  408. package/dist/collection/components/input/input.js +1 -1
  409. package/dist/collection/components/input/interfaces.js +1 -1
  410. package/dist/collection/components/input/resources.js +1 -1
  411. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  412. package/dist/collection/components/input-date-picker/resources.js +1 -1
  413. package/dist/collection/components/input-message/input-message.js +1 -1
  414. package/dist/collection/components/input-message/interfaces.js +1 -1
  415. package/dist/collection/components/input-number/input-number.js +1 -1
  416. package/dist/collection/components/input-number/interfaces.js +1 -1
  417. package/dist/collection/components/input-number/resources.js +1 -1
  418. package/dist/collection/components/input-text/input-text.js +1 -1
  419. package/dist/collection/components/input-text/resources.js +1 -1
  420. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -4
  421. package/dist/collection/components/interfaces.js +1 -1
  422. package/dist/collection/components/label/label.js +1 -1
  423. package/dist/collection/components/label/resources.js +1 -1
  424. package/dist/collection/components/link/link.js +1 -1
  425. package/dist/collection/components/list/list.js +1 -1
  426. package/dist/collection/components/list/resources.js +1 -1
  427. package/dist/collection/components/list-item/list-item.js +1 -1
  428. package/dist/collection/components/list-item/resources.js +1 -1
  429. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  430. package/dist/collection/components/list-item-group/resources.js +1 -1
  431. package/dist/collection/components/loader/loader.js +1 -1
  432. package/dist/collection/components/modal/interfaces.js +1 -1
  433. package/dist/collection/components/modal/modal.js +1 -1
  434. package/dist/collection/components/modal/resources.js +1 -1
  435. package/dist/collection/components/notice/notice.js +1 -1
  436. package/dist/collection/components/notice/resources.js +1 -1
  437. package/dist/collection/components/option/option.js +1 -1
  438. package/dist/collection/components/option-group/option-group.js +1 -1
  439. package/dist/collection/components/pagination/pagination.js +1 -1
  440. package/dist/collection/components/pagination/resources.js +1 -1
  441. package/dist/collection/components/panel/panel.js +1 -1
  442. package/dist/collection/components/panel/resources.js +1 -1
  443. package/dist/collection/components/pick-list/pick-list.js +1 -1
  444. package/dist/collection/components/pick-list/resources.js +1 -1
  445. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  446. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  447. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  448. package/dist/collection/components/pick-list-group/resources.js +1 -1
  449. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  450. package/dist/collection/components/pick-list-item/resources.js +1 -1
  451. package/dist/collection/components/popover/PopoverManager.js +1 -1
  452. package/dist/collection/components/popover/popover.js +1 -1
  453. package/dist/collection/components/popover/resources.js +1 -1
  454. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  455. package/dist/collection/components/progress/progress.js +1 -1
  456. package/dist/collection/components/radio-button/radio-button.js +1 -1
  457. package/dist/collection/components/radio-button/resources.js +1 -1
  458. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  459. package/dist/collection/components/radio-group/interfaces.js +1 -1
  460. package/dist/collection/components/radio-group/radio-group.js +1 -1
  461. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  462. package/dist/collection/components/radio-group-item/resources.js +1 -1
  463. package/dist/collection/components/rating/rating.js +1 -1
  464. package/dist/collection/components/rating/resources.js +1 -1
  465. package/dist/collection/components/scrim/resources.js +1 -1
  466. package/dist/collection/components/scrim/scrim.js +1 -1
  467. package/dist/collection/components/select/resources.js +1 -1
  468. package/dist/collection/components/select/select.js +1 -1
  469. package/dist/collection/components/shell/resources.js +1 -1
  470. package/dist/collection/components/shell/shell.js +1 -1
  471. package/dist/collection/components/shell-center-row/resources.js +1 -1
  472. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  473. package/dist/collection/components/shell-panel/resources.js +1 -1
  474. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  475. package/dist/collection/components/slider/slider.js +1 -1
  476. package/dist/collection/components/sortable-list/resources.js +1 -1
  477. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  478. package/dist/collection/components/split-button/resources.js +1 -1
  479. package/dist/collection/components/split-button/split-button.js +1 -1
  480. package/dist/collection/components/stepper/interfaces.js +1 -1
  481. package/dist/collection/components/stepper/stepper.js +1 -1
  482. package/dist/collection/components/stepper-item/stepper-item.css +34 -34
  483. package/dist/collection/components/stepper-item/stepper-item.js +65 -20
  484. package/dist/collection/components/switch/switch.js +1 -1
  485. package/dist/collection/components/tab/interfaces.js +1 -1
  486. package/dist/collection/components/tab/tab.js +1 -1
  487. package/dist/collection/components/tab-nav/tab-nav.js +1 -2
  488. package/dist/collection/components/tab-title/tab-title.js +1 -1
  489. package/dist/collection/components/tabs/interfaces.js +1 -1
  490. package/dist/collection/components/tabs/resources.js +1 -1
  491. package/dist/collection/components/tabs/tabs.js +1 -1
  492. package/dist/collection/components/tile/resources.js +1 -1
  493. package/dist/collection/components/tile/tile.js +1 -1
  494. package/dist/collection/components/tile-select/interfaces.js +1 -1
  495. package/dist/collection/components/tile-select/resources.js +1 -1
  496. package/dist/collection/components/tile-select/tile-select.js +1 -1
  497. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  498. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  499. package/dist/collection/components/time-picker/resources.js +1 -1
  500. package/dist/collection/components/time-picker/time-picker.js +1 -1
  501. package/dist/collection/components/tip/resources.js +1 -1
  502. package/dist/collection/components/tip/tip.js +1 -1
  503. package/dist/collection/components/tip-group/tip-group.js +1 -1
  504. package/dist/collection/components/tip-manager/resources.js +1 -1
  505. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  506. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  507. package/dist/collection/components/tooltip/resources.js +1 -1
  508. package/dist/collection/components/tooltip/tooltip.js +1 -1
  509. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  510. package/dist/collection/components/tree/interfaces.js +1 -1
  511. package/dist/collection/components/tree/tree.js +1 -1
  512. package/dist/collection/components/tree-item/interfaces.js +1 -1
  513. package/dist/collection/components/tree-item/resources.js +1 -1
  514. package/dist/collection/components/tree-item/tree-item.js +1 -1
  515. package/dist/collection/components/value-list/interfaces.js +1 -1
  516. package/dist/collection/components/value-list/resources.js +1 -1
  517. package/dist/collection/components/value-list/utils.js +1 -1
  518. package/dist/collection/components/value-list/value-list.js +1 -1
  519. package/dist/collection/components/value-list-item/resources.js +1 -1
  520. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  521. package/dist/collection/utils/array.js +1 -1
  522. package/dist/collection/utils/conditionalSlot.js +1 -1
  523. package/dist/collection/utils/date.js +1 -1
  524. package/dist/collection/utils/dom.js +1 -1
  525. package/dist/collection/utils/filter.js +1 -1
  526. package/dist/collection/utils/floating-ui.js +1 -1
  527. package/dist/collection/utils/form.js +1 -1
  528. package/dist/collection/utils/globalAttributes.js +1 -1
  529. package/dist/collection/utils/globalScript.js +1 -1
  530. package/dist/collection/utils/guid.js +1 -1
  531. package/dist/collection/utils/interactive.js +1 -1
  532. package/dist/collection/utils/key.js +1 -1
  533. package/dist/collection/utils/label.js +1 -1
  534. package/dist/collection/utils/locale.js +1 -1
  535. package/dist/collection/utils/math.js +1 -1
  536. package/dist/collection/utils/number.js +1 -1
  537. package/dist/collection/utils/observers.js +1 -1
  538. package/dist/collection/utils/openCloseComponent.js +1 -1
  539. package/dist/collection/utils/resources.js +1 -1
  540. package/dist/collection/utils/theme.js +1 -1
  541. package/dist/collection/utils/time.js +1 -1
  542. package/dist/components/ExpandToggle.js +1 -1
  543. package/dist/components/Heading.js +1 -1
  544. package/dist/components/action-group.js +1 -1
  545. package/dist/components/action-menu.js +1 -1
  546. package/dist/components/action.js +1 -1
  547. package/dist/components/array.js +1 -1
  548. package/dist/components/button.js +1 -1
  549. package/dist/components/calcite-accordion-item.js +1 -1
  550. package/dist/components/calcite-accordion.js +1 -1
  551. package/dist/components/calcite-action-bar.js +1 -1
  552. package/dist/components/calcite-action-group.js +1 -1
  553. package/dist/components/calcite-action-menu.js +1 -1
  554. package/dist/components/calcite-action-pad.js +1 -1
  555. package/dist/components/calcite-action.js +1 -1
  556. package/dist/components/calcite-alert.js +1 -1
  557. package/dist/components/calcite-avatar.js +1 -1
  558. package/dist/components/calcite-block-section.js +1 -1
  559. package/dist/components/calcite-block.js +1 -1
  560. package/dist/components/calcite-button.js +1 -1
  561. package/dist/components/calcite-card.js +1 -1
  562. package/dist/components/calcite-checkbox.js +1 -1
  563. package/dist/components/calcite-chip.js +1 -1
  564. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  565. package/dist/components/calcite-color-picker-swatch.js +1 -1
  566. package/dist/components/calcite-color-picker.js +1 -1
  567. package/dist/components/calcite-combobox-item-group.js +1 -1
  568. package/dist/components/calcite-combobox-item.js +1 -1
  569. package/dist/components/calcite-combobox.js +1 -1
  570. package/dist/components/calcite-date-picker-day.js +1 -1
  571. package/dist/components/calcite-date-picker-month-header.js +1 -1
  572. package/dist/components/calcite-date-picker-month.js +1 -1
  573. package/dist/components/calcite-date-picker.js +1 -1
  574. package/dist/components/calcite-dropdown-group.js +1 -1
  575. package/dist/components/calcite-dropdown-item.js +31 -9
  576. package/dist/components/calcite-dropdown.js +1 -1
  577. package/dist/components/calcite-fab.js +1 -1
  578. package/dist/components/calcite-filter.js +1 -1
  579. package/dist/components/calcite-flow.js +1 -1
  580. package/dist/components/calcite-graph.js +1 -1
  581. package/dist/components/calcite-handle.js +1 -1
  582. package/dist/components/calcite-icon.js +1 -1
  583. package/dist/components/calcite-inline-editable.js +1 -1
  584. package/dist/components/calcite-input-date-picker.js +1 -1
  585. package/dist/components/calcite-input-message.js +1 -1
  586. package/dist/components/calcite-input-number.js +1 -1
  587. package/dist/components/calcite-input-text.js +1 -1
  588. package/dist/components/calcite-input-time-picker.js +1 -2
  589. package/dist/components/calcite-input.js +1 -1
  590. package/dist/components/calcite-label.js +1 -1
  591. package/dist/components/calcite-link.js +1 -1
  592. package/dist/components/calcite-list-item-group.js +1 -1
  593. package/dist/components/calcite-list-item.js +1 -1
  594. package/dist/components/calcite-list.js +1 -1
  595. package/dist/components/calcite-loader.js +1 -1
  596. package/dist/components/calcite-modal.js +1 -1
  597. package/dist/components/calcite-notice.js +1 -1
  598. package/dist/components/calcite-option-group.js +1 -1
  599. package/dist/components/calcite-option.js +1 -1
  600. package/dist/components/calcite-pagination.js +1 -1
  601. package/dist/components/calcite-panel.js +1 -1
  602. package/dist/components/calcite-pick-list-group.js +1 -1
  603. package/dist/components/calcite-pick-list-item.js +1 -1
  604. package/dist/components/calcite-pick-list.js +1 -1
  605. package/dist/components/calcite-popover-manager.js +1 -1
  606. package/dist/components/calcite-popover.js +1 -1
  607. package/dist/components/calcite-progress.js +1 -1
  608. package/dist/components/calcite-radio-button-group.js +1 -1
  609. package/dist/components/calcite-radio-button.js +1 -1
  610. package/dist/components/calcite-radio-group-item.js +1 -1
  611. package/dist/components/calcite-radio-group.js +1 -1
  612. package/dist/components/calcite-rating.js +1 -1
  613. package/dist/components/calcite-scrim.js +1 -1
  614. package/dist/components/calcite-select.js +1 -1
  615. package/dist/components/calcite-shell-center-row.js +1 -1
  616. package/dist/components/calcite-shell-panel.js +1 -1
  617. package/dist/components/calcite-shell.js +1 -1
  618. package/dist/components/calcite-slider.js +1 -1
  619. package/dist/components/calcite-sortable-list.js +1 -1
  620. package/dist/components/calcite-split-button.js +1 -1
  621. package/dist/components/calcite-stepper-item.js +40 -17
  622. package/dist/components/calcite-stepper.js +1 -1
  623. package/dist/components/calcite-switch.js +1 -1
  624. package/dist/components/calcite-tab-nav.js +1 -1
  625. package/dist/components/calcite-tab-title.js +1 -1
  626. package/dist/components/calcite-tab.js +1 -1
  627. package/dist/components/calcite-tabs.js +1 -1
  628. package/dist/components/calcite-tile-select-group.js +1 -1
  629. package/dist/components/calcite-tile-select.js +1 -1
  630. package/dist/components/calcite-tile.js +1 -1
  631. package/dist/components/calcite-time-picker.js +1 -1
  632. package/dist/components/calcite-tip-group.js +1 -1
  633. package/dist/components/calcite-tip-manager.js +1 -1
  634. package/dist/components/calcite-tip.js +1 -1
  635. package/dist/components/calcite-tooltip-manager.js +1 -1
  636. package/dist/components/calcite-tooltip.js +1 -1
  637. package/dist/components/calcite-tree-item.js +1 -1
  638. package/dist/components/calcite-tree.js +1 -1
  639. package/dist/components/calcite-value-list-item.js +1 -1
  640. package/dist/components/calcite-value-list.js +1 -1
  641. package/dist/components/checkbox.js +1 -1
  642. package/dist/components/chip.js +1 -1
  643. package/dist/components/color-picker-hex-input.js +1 -1
  644. package/dist/components/color-picker-swatch.js +1 -1
  645. package/dist/components/conditionalSlot.js +1 -1
  646. package/dist/components/date-picker-day.js +1 -1
  647. package/dist/components/date-picker-month-header.js +1 -1
  648. package/dist/components/date-picker-month.js +1 -1
  649. package/dist/components/date-picker.js +1 -1
  650. package/dist/components/date.js +1 -1
  651. package/dist/components/debounce.js +1 -1
  652. package/dist/components/dom.js +1 -1
  653. package/dist/components/dropdown.js +3 -3
  654. package/dist/components/filter.js +1 -1
  655. package/dist/components/filter2.js +1 -1
  656. package/dist/components/floating-ui.js +1 -1
  657. package/dist/components/form.js +1 -1
  658. package/dist/components/graph.js +1 -1
  659. package/dist/components/guid.js +1 -1
  660. package/dist/components/handle.js +1 -1
  661. package/dist/components/icon.js +1 -1
  662. package/dist/components/index.js +1 -1
  663. package/dist/components/input.js +1 -1
  664. package/dist/components/interactive.js +1 -1
  665. package/dist/components/interfaces.js +1 -1
  666. package/dist/components/interfaces2.js +1 -1
  667. package/dist/components/key.js +1 -1
  668. package/dist/components/label.js +1 -1
  669. package/dist/components/label2.js +1 -1
  670. package/dist/components/link.js +1 -1
  671. package/dist/components/loader.js +1 -1
  672. package/dist/components/locale.js +1 -1
  673. package/dist/components/math.js +1 -1
  674. package/dist/components/observers.js +1 -1
  675. package/dist/components/openCloseComponent.js +1 -1
  676. package/dist/components/pick-list-item.js +1 -1
  677. package/dist/components/popover.js +1 -1
  678. package/dist/components/progress.js +1 -1
  679. package/dist/components/resources.js +1 -1
  680. package/dist/components/resources2.js +1 -1
  681. package/dist/components/resources3.js +1 -1
  682. package/dist/components/resources4.js +1 -1
  683. package/dist/components/scrim.js +1 -1
  684. package/dist/components/shared-list-render.js +1 -1
  685. package/dist/components/sortable.esm.js +1 -1
  686. package/dist/components/switch.js +1 -1
  687. package/dist/components/tab-nav.js +1 -2
  688. package/dist/components/tab-title.js +1 -1
  689. package/dist/components/tab.js +1 -1
  690. package/dist/components/tabs.js +1 -1
  691. package/dist/components/tile.js +1 -1
  692. package/dist/components/time-picker.js +1 -1
  693. package/dist/components/utils.js +1 -1
  694. package/dist/components/utils2.js +1 -1
  695. package/dist/custom-elements/index.js +72 -31
  696. package/dist/esm/{ExpandToggle-e8801149.js → ExpandToggle-8e05fb87.js} +5 -5
  697. package/dist/esm/{Heading-5b8678b0.js → Heading-a8adcdb2.js} +2 -2
  698. package/dist/esm/{app-globals-75089f59.js → app-globals-2d2645ad.js} +2 -2
  699. package/dist/esm/{array-a867e468.js → array-dac57ab9.js} +1 -1
  700. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  701. package/dist/esm/calcite-action-bar.entry.js +11 -11
  702. package/dist/esm/calcite-action-group.entry.js +9 -9
  703. package/dist/esm/calcite-action-menu.entry.js +8 -8
  704. package/dist/esm/calcite-action-pad.entry.js +10 -10
  705. package/dist/esm/calcite-action.entry.js +7 -7
  706. package/dist/esm/calcite-alert.entry.js +7 -7
  707. package/dist/esm/calcite-avatar.entry.js +6 -6
  708. package/dist/esm/calcite-block_2.entry.js +10 -10
  709. package/dist/esm/calcite-button.entry.js +9 -9
  710. package/dist/esm/calcite-card.entry.js +7 -7
  711. package/dist/esm/calcite-checkbox.entry.js +9 -9
  712. package/dist/esm/calcite-chip.entry.js +7 -7
  713. package/dist/esm/calcite-color-picker_3.entry.js +10 -10
  714. package/dist/esm/calcite-combobox_3.entry.js +14 -14
  715. package/dist/esm/calcite-date-picker_4.entry.js +10 -10
  716. package/dist/esm/calcite-dropdown_3.entry.js +41 -20
  717. package/dist/esm/calcite-fab.entry.js +6 -6
  718. package/dist/esm/calcite-filter.entry.js +8 -8
  719. package/dist/esm/calcite-flow.entry.js +3 -3
  720. package/dist/esm/calcite-graph_2.entry.js +11 -11
  721. package/dist/esm/calcite-handle.entry.js +5 -5
  722. package/dist/esm/calcite-icon.entry.js +6 -6
  723. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  724. package/dist/esm/calcite-input-date-picker.entry.js +13 -13
  725. package/dist/esm/calcite-input-message.entry.js +5 -5
  726. package/dist/esm/calcite-input-number.entry.js +12 -12
  727. package/dist/esm/calcite-input-text.entry.js +9 -9
  728. package/dist/esm/calcite-input-time-picker_2.entry.js +10 -11
  729. package/dist/esm/calcite-input.entry.js +12 -12
  730. package/dist/esm/calcite-label.entry.js +6 -6
  731. package/dist/esm/calcite-link.entry.js +6 -6
  732. package/dist/esm/calcite-list_3.entry.js +9 -9
  733. package/dist/esm/calcite-loader.entry.js +3 -3
  734. package/dist/esm/calcite-modal.entry.js +8 -8
  735. package/dist/esm/calcite-notice.entry.js +8 -8
  736. package/dist/esm/calcite-option_3.entry.js +9 -9
  737. package/dist/esm/calcite-pagination.entry.js +5 -5
  738. package/dist/esm/calcite-panel.entry.js +10 -10
  739. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  740. package/dist/esm/calcite-popover_2.entry.js +10 -10
  741. package/dist/esm/calcite-progress.entry.js +2 -2
  742. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  743. package/dist/esm/calcite-radio-button.entry.js +9 -9
  744. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  745. package/dist/esm/calcite-rating.entry.js +9 -9
  746. package/dist/esm/calcite-scrim.entry.js +2 -2
  747. package/dist/esm/calcite-shell_3.entry.js +8 -8
  748. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  749. package/dist/esm/calcite-split-button.entry.js +3 -3
  750. package/dist/esm/calcite-stepper_2.entry.js +44 -22
  751. package/dist/esm/calcite-switch.entry.js +9 -9
  752. package/dist/esm/calcite-tab_4.entry.js +7 -8
  753. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  754. package/dist/esm/calcite-tile.entry.js +8 -8
  755. package/dist/esm/calcite-tip_3.entry.js +8 -8
  756. package/dist/esm/calcite-tooltip_2.entry.js +6 -6
  757. package/dist/esm/calcite-tree_2.entry.js +7 -7
  758. package/dist/esm/calcite-value-list_2.entry.js +12 -12
  759. package/dist/esm/calcite.js +5 -5
  760. package/dist/esm/{conditionalSlot-fef41fd6.js → conditionalSlot-5266c16f.js} +3 -3
  761. package/dist/esm/{debounce-a14daaaf.js → debounce-e4b39d1e.js} +1 -1
  762. package/dist/esm/{dom-1646ef7c.js → dom-942728de.js} +3 -3
  763. package/dist/esm/{filter-30980e8a.js → filter-8232d7a7.js} +2 -2
  764. package/dist/esm/{floating-ui-11c14148.js → floating-ui-7aac14f4.js} +2 -2
  765. package/dist/esm/{form-c1edf43f.js → form-fc9e0390.js} +3 -3
  766. package/dist/esm/{guid-5cfdc287.js → guid-8024ea73.js} +1 -1
  767. package/dist/esm/{index-bba23176.js → index-df524d81.js} +1 -1
  768. package/dist/esm/index.js +1 -1
  769. package/dist/esm/{interactive-1337e441.js → interactive-752abe05.js} +1 -1
  770. package/dist/esm/{interfaces-f519225e.js → interfaces-1d5fef2d.js} +1 -1
  771. package/dist/esm/{key-15cd4c9e.js → key-80ea5518.js} +1 -1
  772. package/dist/esm/{label-640d8242.js → label-e993cc3a.js} +2 -2
  773. package/dist/esm/loader.js +5 -5
  774. package/dist/esm/{locale-3cc644b4.js → locale-cf79b9e9.js} +2 -2
  775. package/dist/esm/{math-54111f2b.js → math-d58dcaa9.js} +1 -1
  776. package/dist/esm/{observers-03047594.js → observers-9aa6c361.js} +1 -1
  777. package/dist/esm/{openCloseComponent-83ac29bd.js → openCloseComponent-57cb7b69.js} +1 -1
  778. package/dist/esm/{resources-0a71dd70.js → resources-0c8d9635.js} +1 -1
  779. package/dist/esm/{resources-7ff81a8c.js → resources-7eb8d74e.js} +3 -3
  780. package/dist/esm/{resources-5c123d61.js → resources-ad52eea7.js} +1 -1
  781. package/dist/esm/{resources-43d91ddb.js → resources-bb272078.js} +1 -1
  782. package/dist/esm/{resources-80c9612e.js → resources-c2a46c29.js} +5 -5
  783. package/dist/esm/{sortable.esm-40a51314.js → sortable.esm-3b9c08a7.js} +1 -1
  784. package/dist/esm/{utils-edeb1c5e.js → utils-f463b9bf.js} +1 -1
  785. package/dist/esm-es5/{ExpandToggle-e8801149.js → ExpandToggle-8e05fb87.js} +2 -2
  786. package/dist/esm-es5/{Heading-5b8678b0.js → Heading-a8adcdb2.js} +2 -2
  787. package/dist/esm-es5/{app-globals-75089f59.js → app-globals-2d2645ad.js} +2 -2
  788. package/dist/esm-es5/{array-a867e468.js → array-dac57ab9.js} +1 -1
  789. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  790. package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
  791. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  792. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  793. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  794. package/dist/esm-es5/calcite-action.entry.js +2 -2
  795. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  796. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  797. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  798. package/dist/esm-es5/calcite-button.entry.js +2 -2
  799. package/dist/esm-es5/calcite-card.entry.js +2 -2
  800. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  801. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  802. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  803. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  804. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  805. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
  806. package/dist/esm-es5/calcite-fab.entry.js +3 -3
  807. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  808. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  809. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  810. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  811. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  812. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  813. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  814. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  815. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  816. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  817. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  818. package/dist/esm-es5/calcite-input.entry.js +2 -2
  819. package/dist/esm-es5/calcite-label.entry.js +2 -2
  820. package/dist/esm-es5/calcite-link.entry.js +2 -2
  821. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  822. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  823. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  824. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  825. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  826. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  827. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  828. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  829. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  830. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  831. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  832. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  833. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  834. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  835. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  836. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  837. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  838. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  839. package/dist/esm-es5/calcite-stepper_2.entry.js +3 -3
  840. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  841. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  842. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  843. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  844. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  845. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  846. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  847. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  848. package/dist/esm-es5/calcite.js +2 -2
  849. package/dist/esm-es5/{conditionalSlot-fef41fd6.js → conditionalSlot-5266c16f.js} +2 -2
  850. package/dist/esm-es5/{debounce-a14daaaf.js → debounce-e4b39d1e.js} +1 -1
  851. package/dist/esm-es5/{dom-1646ef7c.js → dom-942728de.js} +2 -2
  852. package/dist/esm-es5/{filter-30980e8a.js → filter-8232d7a7.js} +2 -2
  853. package/dist/esm-es5/{floating-ui-11c14148.js → floating-ui-7aac14f4.js} +2 -2
  854. package/dist/esm-es5/{form-c1edf43f.js → form-fc9e0390.js} +2 -2
  855. package/dist/esm-es5/{guid-5cfdc287.js → guid-8024ea73.js} +1 -1
  856. package/dist/esm-es5/{index-bba23176.js → index-df524d81.js} +1 -1
  857. package/dist/esm-es5/index.js +1 -1
  858. package/dist/esm-es5/{interactive-1337e441.js → interactive-752abe05.js} +1 -1
  859. package/dist/esm-es5/{interfaces-f519225e.js → interfaces-1d5fef2d.js} +1 -1
  860. package/dist/esm-es5/{key-15cd4c9e.js → key-80ea5518.js} +1 -1
  861. package/dist/esm-es5/{label-640d8242.js → label-e993cc3a.js} +2 -2
  862. package/dist/esm-es5/loader.js +2 -2
  863. package/dist/esm-es5/{locale-3cc644b4.js → locale-cf79b9e9.js} +2 -2
  864. package/dist/esm-es5/{math-54111f2b.js → math-d58dcaa9.js} +1 -1
  865. package/dist/esm-es5/{observers-03047594.js → observers-9aa6c361.js} +1 -1
  866. package/dist/esm-es5/{openCloseComponent-83ac29bd.js → openCloseComponent-57cb7b69.js} +1 -1
  867. package/dist/esm-es5/{resources-0a71dd70.js → resources-0c8d9635.js} +1 -1
  868. package/dist/esm-es5/{resources-7ff81a8c.js → resources-7eb8d74e.js} +2 -2
  869. package/dist/esm-es5/{resources-5c123d61.js → resources-ad52eea7.js} +1 -1
  870. package/dist/esm-es5/{resources-43d91ddb.js → resources-bb272078.js} +1 -1
  871. package/dist/esm-es5/{resources-80c9612e.js → resources-c2a46c29.js} +2 -2
  872. package/dist/esm-es5/{sortable.esm-40a51314.js → sortable.esm-3b9c08a7.js} +1 -1
  873. package/dist/esm-es5/{utils-edeb1c5e.js → utils-f463b9bf.js} +1 -1
  874. package/dist/extras/docs-json.json +51 -5
  875. package/dist/loader/cdn.js +1 -1
  876. package/dist/loader/index.cjs.js +1 -1
  877. package/dist/loader/index.es2017.js +1 -1
  878. package/dist/loader/index.js +1 -1
  879. package/dist/types/components/dropdown-item/dropdown-item.d.ts +9 -1
  880. package/dist/types/components/stepper-item/stepper-item.d.ts +16 -6
  881. package/dist/types/components.d.ts +24 -4
  882. package/hydrate/index.js +74 -31
  883. package/package.json +5 -5
  884. package/dist/calcite/p-0493f44e.system.entry.js +0 -6
  885. package/dist/calcite/p-19bdf228.js +0 -6
  886. package/dist/calcite/p-2ea33e45.entry.js +0 -6
  887. package/dist/calcite/p-328f48ce.entry.js +0 -6
  888. package/dist/calcite/p-3308fd17.system.entry.js +0 -6
  889. package/dist/calcite/p-3ab14c10.entry.js +0 -6
  890. package/dist/calcite/p-42d5a9a4.entry.js +0 -6
  891. package/dist/calcite/p-4cef4b27.system.entry.js +0 -6
  892. package/dist/calcite/p-5a75e4ba.system.js +0 -6
  893. package/dist/calcite/p-98fedfad.entry.js +0 -6
  894. package/dist/calcite/p-9d64d781.system.js +0 -6
  895. package/dist/calcite/p-c70e1866.js +0 -6
  896. package/dist/calcite/p-cff45e13.entry.js +0 -6
  897. package/dist/calcite/p-fd627ead.system.js +0 -6
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(e,t,a,r){function i(e){return e ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.562
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement,F as Fragment}from"./index-bba23176.js";import{T as TEXT,c as getDaysDiff,d as dateToISO,a as dateFromISO,b as dateFromRange,g as getLocaleData,H as HEADING_LEVEL,s as sameDate,i as inRange,e as getOrder,n as nextMonth,f as prevMonth,l as localizeNumber,h as parseNumber}from"./resources-7ff81a8c.js";import{a as getElementDir}from"./dom-1646ef7c.js";import{C as CSS_UTILITY}from"./resources-43d91ddb.js";import{u as updateHostInteraction}from"./interactive-1337e441.js";import{i as isActivationKey}from"./key-15cd4c9e.js";import{H as Heading}from"./Heading-5b8678b0.js";import"./locale-3cc644b4.js";import"./guid-5cfdc287.js";var datePickerCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:relative;display: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}";var DatePicker=function(){function e(e){var t=this;registerInstance(this,e);this.calciteDatePickerChange=createEvent(this,"calciteDatePickerChange",6);this.calciteDatePickerRangeChange=createEvent(this,"calciteDatePickerRangeChange",6);this.intlPrevMonth=TEXT.prevMonth;this.intlNextMonth=TEXT.nextMonth;this.intlYear=TEXT.year;this.locale=document.documentElement.lang||"en";this.scale="m";this.range=false;this.proximitySelectionDisabled=false;this.keyDownHandler=function(e){if(e.key==="Escape"){t.reset()}};this.monthHeaderSelectChange=function(e){var a=new Date(e.detail);if(!t.range){t.activeDate=a}else{if(t.activeRange==="end"){t.activeEndDate=a}else{t.activeStartDate=a}t.mostRecentRangeValue=a}};this.monthActiveDateChange=function(e){var a=new Date(e.detail);if(!t.range){t.activeDate=a}else{if(t.activeRange==="end"){t.activeEndDate=a}else{t.activeStartDate=a}t.mostRecentRangeValue=a}};this.monthHoverChange=function(e){if(!t.startAsDate){t.hoverRange=undefined;return}var a=new Date(e.detail);t.hoverRange={focused:t.activeRange||"start",start:t.startAsDate,end:t.endAsDate};if(!t.proximitySelectionDisabled){if(t.endAsDate){var r=getDaysDiff(a,t.startAsDate);var i=getDaysDiff(a,t.endAsDate);if(i>0){t.hoverRange.end=a;t.hoverRange.focused="end"}else if(r<0){t.hoverRange.start=a;t.hoverRange.focused="start"}else if(r>i){t.hoverRange.start=a;t.hoverRange.focused="start"}else{t.hoverRange.end=a;t.hoverRange.focused="end"}}else{if(a<t.startAsDate){t.hoverRange={focused:"start",start:a,end:t.startAsDate}}else{t.hoverRange.end=a;t.hoverRange.focused="end"}}}else{if(!t.endAsDate){if(a<t.startAsDate){t.hoverRange={focused:"start",start:a,end:t.startAsDate}}else{t.hoverRange.end=a;t.hoverRange.focused="end"}}else{t.hoverRange=undefined}}e.stopPropagation()};this.monthMouseOutChange=function(){if(t.hoverRange){t.hoverRange=undefined}};this.reset=function(){var e,a,r,i,n,o;if(!Array.isArray(t.valueAsDate)&&t.valueAsDate&&((e=t.valueAsDate)===null||e===void 0?void 0:e.getTime())!==((a=t.activeDate)===null||a===void 0?void 0:a.getTime())){t.activeDate=new Date(t.valueAsDate)}if(t.startAsDate&&((r=t.startAsDate)===null||r===void 0?void 0:r.getTime())!==((i=t.activeStartDate)===null||i===void 0?void 0:i.getTime())){t.activeStartDate=new Date(t.startAsDate)}if(t.endAsDate&&((n=t.endAsDate)===null||n===void 0?void 0:n.getTime())!==((o=t.activeEndDate)===null||o===void 0?void 0:o.getTime())){t.activeEndDate=new Date(t.endAsDate)}};this.monthDateChange=function(e){var a=new Date(e.detail);if(!t.range){t.value=a?dateToISO(a):"";t.valueAsDate=a||null;t.activeDate=a||null;t.calciteDatePickerChange.emit(a);return}if(!t.startAsDate||!t.endAsDate&&a<t.startAsDate){if(t.startAsDate){t.setEndDate(new Date(t.startAsDate))}if(t.activeRange=="end"){t.setEndDate(a)}else{t.setStartDate(a)}}else if(!t.endAsDate){t.setEndDate(a)}else{if(!t.proximitySelectionDisabled){if(t.activeRange){if(t.activeRange=="end"){t.setEndDate(a)}else{t.setStartDate(a)}}else{var r=getDaysDiff(a,t.startAsDate);var i=getDaysDiff(a,t.endAsDate);if(i===0||r<0){t.setStartDate(a)}else if(r===0||i<0){t.setEndDate(a)}else if(r<i){t.setStartDate(a)}else{t.setEndDate(a)}}}else{t.setStartDate(a);t.endAsDate=t.activeEndDate=t.end=undefined}}t.calciteDatePickerChange.emit(a)}}e.prototype.handleValueAsDate=function(e){if(!Array.isArray(e)&&e&&e!==this.activeDate){this.activeDate=e}};e.prototype.handleRangeChange=function(){var e=this,t=e.startAsDate,a=e.endAsDate;this.activeEndDate=a;this.activeStartDate=t};e.prototype.onMinChanged=function(e){if(e){this.minAsDate=dateFromISO(e)}};e.prototype.onMaxChanged=function(e){if(e){this.maxAsDate=dateFromISO(e)}};e.prototype.connectedCallback=function(){if(Array.isArray(this.value)){this.valueAsDate=this.value.map((function(e){return dateFromISO(e)}));this.start=this.value[0];this.end=this.value[1]}else if(this.value){this.valueAsDate=dateFromISO(this.value)}if(this.start){this.setStartAsDate(dateFromISO(this.start))}if(this.end){this.setEndAsDate(dateFromISO(this.end))}if(this.min){this.minAsDate=dateFromISO(this.min)}if(this.max){this.maxAsDate=dateFromISO(this.max)}};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.loadLocaleData()];case 1:e.sent();this.onMinChanged(this.min);this.onMaxChanged(this.max);return[2]}}))}))};e.prototype.render=function(){var e;var t=dateFromRange(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);var a=this.range?this.getActiveStartDate(t,this.minAsDate,this.maxAsDate):this.getActiveDate(t,this.minAsDate,this.maxAsDate);var r=a;var i=this.range?dateFromRange(this.endAsDate,this.minAsDate,this.maxAsDate):null;var n=this.getActiveEndDate(i,this.minAsDate,this.maxAsDate);if((this.activeRange==="end"||((e=this.hoverRange)===null||e===void 0?void 0:e.focused)==="end"&&(!this.proximitySelectionDisabled||i))&&n){r=n}if(this.range&&this.mostRecentRangeValue){r=this.mostRecentRangeValue}var o=this.range&&this.activeRange?this.activeRange==="start"?this.minAsDate:t||this.minAsDate:this.minAsDate;var s=this.range&&this.activeRange?this.activeRange==="start"?i||this.maxAsDate:this.maxAsDate:this.maxAsDate;return h(Host,{onBlur:this.reset,onKeyDown:this.keyDownHandler,role:"application"},this.renderCalendar(r,s,o,t,i))};e.prototype.valueHandler=function(e){if(Array.isArray(e)){this.valueAsDate=e.map((function(e){return dateFromISO(e)}));this.start=e[0];this.end=e[1]}else if(e){this.valueAsDate=dateFromISO(e);this.start="";this.end=""}};e.prototype.startWatcher=function(e){this.setStartAsDate(dateFromISO(e))};e.prototype.endWatcher=function(e){this.setEndAsDate(dateFromISO(e))};e.prototype.loadLocaleData=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(a){switch(a.label){case 0:e=this.locale;t=this;return[4,getLocaleData(e)];case 1:t.localeData=a.sent();return[2]}}))}))};e.prototype.renderCalendar=function(e,t,a,r,i){return this.localeData&&[h("calcite-date-picker-month-header",{activeDate:e,headingLevel:this.headingLevel||HEADING_LEVEL,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,localeData:this.localeData,max:t,min:a,onCalciteDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:this.activeRange==="end"?i:r||new Date}),h("calcite-date-picker-month",{activeDate:e,endDate:this.range?i:undefined,hoverRange:this.hoverRange,localeData:this.localeData,max:t,min:a,onCalciteDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteDatePickerSelect:this.monthDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,scale:this.scale,selectedDate:this.activeRange==="end"?i:r,startDate:this.range?r:undefined})]};e.prototype.setStartAsDate=function(e,t){this.startAsDate=e;this.mostRecentRangeValue=this.startAsDate;if(t){this.calciteDatePickerRangeChange.emit({startDate:e,endDate:this.endAsDate})}};e.prototype.setEndAsDate=function(e,t){this.endAsDate=e;this.mostRecentRangeValue=this.endAsDate;if(t){this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:e})}};e.prototype.setEndDate=function(e){this.end=e?dateToISO(e):"";this.setEndAsDate(e,true);this.activeEndDate=e||null};e.prototype.setStartDate=function(e){this.start=e?dateToISO(e):"";this.setStartAsDate(e,true);this.activeStartDate=e||null};e.prototype.getActiveDate=function(e,t,a){return dateFromRange(this.activeDate,t,a)||e||dateFromRange(new Date,t,a)};e.prototype.getActiveStartDate=function(e,t,a){return dateFromRange(this.activeStartDate,t,a)||e||dateFromRange(new Date,t,a)};e.prototype.getActiveEndDate=function(e,t,a){return dateFromRange(this.activeEndDate,t,a)||e||dateFromRange(new Date,t,a)};Object.defineProperty(e,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{valueAsDate:["handleValueAsDate"],startAsDate:["handleRangeChange"],endAsDate:["handleRangeChange"],min:["onMinChanged"],max:["onMaxChanged"],value:["valueHandler"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}},enumerable:false,configurable:true});return e}();DatePicker.style=datePickerCss;var datePickerDayCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;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}: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}: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}: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}}";var DatePickerDay=function(){function e(e){var t=this;registerInstance(this,e);this.calciteDaySelect=createEvent(this,"calciteDaySelect",6);this.calciteInternalDayHover=createEvent(this,"calciteInternalDayHover",6);this.disabled=false;this.currentMonth=false;this.selected=false;this.highlighted=false;this.range=false;this.startOfRange=false;this.endOfRange=false;this.rangeHover=false;this.active=false;this.onClick=function(){!t.disabled&&t.calciteDaySelect.emit()};this.keyDownHandler=function(e){if(isActivationKey(e.key)){!t.disabled&&t.calciteDaySelect.emit();e.preventDefault()}}}e.prototype.mouseoverHandler=function(){this.calciteInternalDayHover.emit()};e.prototype.render=function(){var e;var t=this;var a=String(this.day).split("").map((function(e){return t.localeData.numerals[e]})).join("");var r=getElementDir(this.el);return h(Host,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},h("div",{class:(e={"day-v-wrapper":true},e[CSS_UTILITY.rtl]=r==="rtl",e)},h("div",{class:"day-wrapper"},h("span",{class:"day"},h("span",{class:"text"},a)))))};e.prototype.componentDidRender=function(){updateHostInteraction(this,this.isTabbable)};e.prototype.isTabbable=function(){return this.active};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DatePickerDay.style=datePickerDayCss;var datePickerMonthCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}.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}";var DatePickerMonth=function(){function e(e){var t=this;registerInstance(this,e);this.calciteDatePickerSelect=createEvent(this,"calciteDatePickerSelect",6);this.calciteInternalDatePickerHover=createEvent(this,"calciteInternalDatePickerHover",6);this.calciteDatePickerActiveDateChange=createEvent(this,"calciteDatePickerActiveDateChange",6);this.calciteInternalDatePickerMouseOut=createEvent(this,"calciteInternalDatePickerMouseOut",6);this.activeDate=new Date;this.keyDownHandler=function(e){if(e.defaultPrevented){return}var a=t.el.dir==="rtl";switch(e.key){case"ArrowUp":e.preventDefault();t.addDays(-7);break;case"ArrowRight":e.preventDefault();t.addDays(a?-1:1);break;case"ArrowDown":e.preventDefault();t.addDays(7);break;case"ArrowLeft":e.preventDefault();t.addDays(a?1:-1);break;case"PageUp":e.preventDefault();t.addMonths(-1);break;case"PageDown":e.preventDefault();t.addMonths(1);break;case"Home":e.preventDefault();t.activeDate.setDate(1);t.addDays();break;case"End":e.preventDefault();t.activeDate.setDate(new Date(t.activeDate.getFullYear(),t.activeDate.getMonth()+1,0).getDate());t.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":t.activeFocus=false}};this.disableActiveFocus=function(){t.activeFocus=false};this.dayHover=function(e){var a=e.target;if(a.disabled){t.calciteInternalDatePickerMouseOut.emit()}else{t.calciteInternalDatePickerHover.emit(a.value)}e.stopPropagation()};this.daySelect=function(e){var a=e.target;t.calciteDatePickerSelect.emit(a.value)}}e.prototype.mouseoutHandler=function(){this.calciteInternalDatePickerMouseOut.emit()};e.prototype.render=function(){var e=this;var t=this.activeDate.getMonth();var a=this.activeDate.getFullYear();var r=this.localeData.weekStart%7;var i=this.localeData.days,n=i.abbreviated,o=i.short,s=i.narrow;var c=this.scale==="s"?s||o||n:o||n||s;var l=__spreadArray(__spreadArray([],c.slice(r,7),true),c.slice(0,r),true);var d=this.getCurrentMonthDays(t,a);var u=this.getPrevMonthdays(t,a,r);var f=this.getNextMonthDays(t,a,r);var p=__spreadArray(__spreadArray(__spreadArray([],u.map((function(r){var i=new Date(a,t-1,r);return e.renderDateDay(false,r,i)})),true),d.map((function(r){var i=new Date(a,t,r);var n=sameDate(i,e.activeDate);return e.renderDateDay(n,r,i,true,true)})),true),f.map((function(r){var i=new Date(a,t+1,r);return e.renderDateDay(false,r,i)})),true);var g=[];for(var v=0;v<p.length;v+=7){g.push(p.slice(v,v+7))}return h(Host,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},h("div",{class:"calender",role:"grid"},h("div",{class:"week-headers",role:"row"},l.map((function(e){return h("span",{class:"week-header",role:"columnheader"},e)}))),g.map((function(e){return h("div",{class:"week-days",role:"row"},e)}))))};e.prototype.addMonths=function(e){var t=new Date(this.activeDate);t.setMonth(this.activeDate.getMonth()+e);this.calciteDatePickerActiveDateChange.emit(dateFromRange(t,this.min,this.max));this.activeFocus=true};e.prototype.addDays=function(e){if(e===void 0){e=0}var t=new Date(this.activeDate);t.setDate(this.activeDate.getDate()+e);this.calciteDatePickerActiveDateChange.emit(dateFromRange(t,this.min,this.max));this.activeFocus=true};e.prototype.getPrevMonthdays=function(e,t,a){var r=new Date(t,e,0);var i=r.getDate();var n=r.getDay();var o=[];if(n-6===a){return o}for(var s=Math.abs(r.getDay()-a);s>=0;s--){o.push(i-s)}return o};e.prototype.getCurrentMonthDays=function(e,t){var a=new Date(t,e+1,0).getDate();var r=[];for(var i=0;i<a;i++){r.push(i+1)}return r};e.prototype.getNextMonthDays=function(e,t,a){var r=new Date(t,e+1,0).getDay();var i=[];if(r===(a+6)%7){return i}for(var n=0;n<(6-(r-a))%7;n++){i.push(n+1)}return i};e.prototype.betweenSelectedRange=function(e){return!!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate&&!this.isRangeHover(e))};e.prototype.isSelected=function(e){return!!(sameDate(e,this.selectedDate)||this.startDate&&sameDate(e,this.startDate)||this.endDate&&sameDate(e,this.endDate))};e.prototype.isStartOfRange=function(e){return!!(this.startDate&&!sameDate(this.startDate,this.endDate)&&sameDate(this.startDate,e)&&!this.isEndOfRange(e))};e.prototype.isEndOfRange=function(e){return!!(this.endDate&&!sameDate(this.startDate,this.endDate)&&sameDate(this.endDate,e)||!this.endDate&&this.hoverRange&&sameDate(this.startDate,this.hoverRange.end)&&sameDate(e,this.hoverRange.end))};e.prototype.renderDateDay=function(e,t,a,r,i){var n=this;var o;var s=this.isFocusedOnStart();var c=this.isHoverInRange()||!this.endDate&&this.hoverRange&&sameDate((o=this.hoverRange)===null||o===void 0?void 0:o.end,this.startDate);return h("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&c,"hover--outside-range":this.startDate&&!c,"focused--start":s,"focused--end":!s},currentMonth:r,day:t,disabled:!inRange(a,this.min,this.max),endOfRange:this.isEndOfRange(a),highlighted:this.betweenSelectedRange(a),key:a.toDateString(),localeData:this.localeData,onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!sameDate(this.startDate,this.endDate),rangeHover:this.isRangeHover(a),ref:function(t){if(i&&e&&n.activeFocus){t===null||t===void 0?void 0:t.focus()}},scale:this.scale,selected:this.isSelected(a),startOfRange:this.isStartOfRange(a),value:a})};e.prototype.isFocusedOnStart=function(){var e;return((e=this.hoverRange)===null||e===void 0?void 0:e.focused)==="start"};e.prototype.isHoverInRange=function(){if(!this.hoverRange){return false}var e=this.hoverRange,t=e.start,a=e.end;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||a<this.endDate)||this.isFocusedOnStart()&&this.startDate&&t>this.startDate)};e.prototype.isRangeHover=function(e){if(!this.hoverRange){return false}var t=this.hoverRange,a=t.start,r=t.end;var i=this.isFocusedOnStart();var n=this.isHoverInRange();var o=n&&(!i&&e>this.startDate&&(e<r||sameDate(e,r))||i&&e<this.endDate&&(e>a||sameDate(e,a)));var s=!n&&(!i&&e>=this.endDate&&(e<r||sameDate(e,r))||i&&(e<this.startDate||this.endDate&&sameDate(e,this.startDate))&&(e>a||sameDate(e,a)));return o||s};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DatePickerMonth.style=datePickerMonthCss;var BUDDHIST_CALENDAR_YEAR_OFFSET=543;var datePickerMonthHeaderCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:block}.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}.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}";var DatePickerMonthHeader=function(){function e(e){var t=this;registerInstance(this,e);this.calciteDatePickerSelect=createEvent(this,"calciteDatePickerSelect",6);this.onYearKey=function(e){var a=t.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault();t.setYear({localizedYear:a,offset:-1});break;case"ArrowUp":e.preventDefault();t.setYear({localizedYear:a,offset:1});break}};this.onYearChange=function(e){t.setYear({localizedYear:t.parseCalendarYear(e.target.value)})};this.onYearInput=function(e){t.setYear({localizedYear:t.parseCalendarYear(e.target.value),commit:false})};this.prevMonthClick=function(e){t.handleArrowClick(e,t.prevMonthDate)};this.prevMonthKeydown=function(e){if(isActivationKey(e.key)){t.prevMonthClick(e)}};this.nextMonthClick=function(e){t.handleArrowClick(e,t.nextMonthDate)};this.nextMonthKeydown=function(e){if(isActivationKey(e.key)){t.nextMonthClick(e)}};this.handleArrowClick=function(e,a){e.preventDefault();t.calciteDatePickerSelect.emit(a)}}e.prototype.connectedCallback=function(){this.setNextPrevMonthDates()};e.prototype.render=function(){return h("div",{class:"header"},this.renderContent())};e.prototype.renderContent=function(){var e=this;var t;if(!this.activeDate||!this.localeData){return null}var a=this.activeDate.getMonth();var r=this.localeData,i=r.months,n=r.unitOrder;var o=(i.wide||i.narrow||i.abbreviated)[a];var s=this.formatCalendarYear(this.activeDate.getFullYear().toString());var c=this.scale==="l"?"m":"s";var l=getOrder(n);var d=l.indexOf("y")<l.indexOf("m");var u=(t=this.localeData.year)===null||t===void 0?void 0:t.suffix;return h(Fragment,null,h("a",{"aria-disabled":(this.prevMonthDate.getMonth()===a).toString(),"aria-label":this.intlPrevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===a?-1:0},h("calcite-icon",{"flip-rtl":true,icon:"chevron-left",scale:c})),h("div",{class:{text:true,"text--reverse":d}},h(Heading,{class:"month",level:this.headingLevel},o),h("span",{class:"year-wrap"},h("input",{"aria-label":this.intlYear,class:{year:true,"year--suffix":!!u},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:function(t){return e.yearInput=t},type:"text",value:s}),u&&h("span",{class:"suffix"},h("span",{"aria-hidden":"true",class:"suffix__invisible"},s)," "+u))),h("a",{"aria-disabled":(this.nextMonthDate.getMonth()===a).toString(),"aria-label":this.intlNextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===a?-1:0},h("calcite-icon",{"flip-rtl":true,icon:"chevron-right",scale:c})))};e.prototype.setNextPrevMonthDates=function(){if(!this.activeDate){return}this.nextMonthDate=dateFromRange(nextMonth(this.activeDate),this.min,this.max);this.prevMonthDate=dateFromRange(prevMonth(this.activeDate),this.min,this.max)};e.prototype.formatCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?BUDDHIST_CALENDAR_YEAR_OFFSET:0;return localizeNumber(parseNumber(e,t)+r,t)};e.prototype.parseCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?BUDDHIST_CALENDAR_YEAR_OFFSET:0;return localizeNumber(parseNumber(e,t)-r,t)};e.prototype.getInRangeDate=function(e){var t=e.localizedYear,a=e.offset,r=a===void 0?0:a;var i=this,n=i.min,o=i.max,s=i.activeDate,c=i.localeData;var l=parseNumber(t,c);var d=l.toString().length;var h=isNaN(l)?false:l+r;var u=h&&(!n||n.getFullYear()<=h)&&(!o||o.getFullYear()>=h);if(h&&u&&d===t.length){var f=new Date(s);f.setFullYear(h);return dateFromRange(f,n,o)}};e.prototype.setYear=function(e){var t=e.localizedYear,a=e.commit,r=a===void 0?true:a,i=e.offset,n=i===void 0?0:i;var o=this,s=o.yearInput,c=o.activeDate;var l=this.getInRangeDate({localizedYear:t,offset:n});if(l){this.calciteDatePickerSelect.emit(l)}if(r){s.value=this.formatCalendarYear((l||c).getFullYear().toString())}};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}},enumerable:false,configurable:true});return e}();DatePickerMonthHeader.style=datePickerMonthHeaderCss;export{DatePicker as calcite_date_picker,DatePickerDay as calcite_date_picker_day,DatePickerMonth as calcite_date_picker_month,DatePickerMonthHeader as calcite_date_picker_month_header};
5
+ * v1.0.0-next.563
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement,F as Fragment}from"./index-df524d81.js";import{T as TEXT,c as getDaysDiff,d as dateToISO,a as dateFromISO,b as dateFromRange,g as getLocaleData,H as HEADING_LEVEL,s as sameDate,i as inRange,e as getOrder,n as nextMonth,f as prevMonth,l as localizeNumber,h as parseNumber}from"./resources-7eb8d74e.js";import{a as getElementDir}from"./dom-942728de.js";import{C as CSS_UTILITY}from"./resources-bb272078.js";import{u as updateHostInteraction}from"./interactive-752abe05.js";import{i as isActivationKey}from"./key-80ea5518.js";import{H as Heading}from"./Heading-a8adcdb2.js";import"./locale-cf79b9e9.js";import"./guid-8024ea73.js";var datePickerCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:relative;display: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}";var DatePicker=function(){function e(e){var t=this;registerInstance(this,e);this.calciteDatePickerChange=createEvent(this,"calciteDatePickerChange",6);this.calciteDatePickerRangeChange=createEvent(this,"calciteDatePickerRangeChange",6);this.intlPrevMonth=TEXT.prevMonth;this.intlNextMonth=TEXT.nextMonth;this.intlYear=TEXT.year;this.locale=document.documentElement.lang||"en";this.scale="m";this.range=false;this.proximitySelectionDisabled=false;this.keyDownHandler=function(e){if(e.key==="Escape"){t.reset()}};this.monthHeaderSelectChange=function(e){var a=new Date(e.detail);if(!t.range){t.activeDate=a}else{if(t.activeRange==="end"){t.activeEndDate=a}else{t.activeStartDate=a}t.mostRecentRangeValue=a}};this.monthActiveDateChange=function(e){var a=new Date(e.detail);if(!t.range){t.activeDate=a}else{if(t.activeRange==="end"){t.activeEndDate=a}else{t.activeStartDate=a}t.mostRecentRangeValue=a}};this.monthHoverChange=function(e){if(!t.startAsDate){t.hoverRange=undefined;return}var a=new Date(e.detail);t.hoverRange={focused:t.activeRange||"start",start:t.startAsDate,end:t.endAsDate};if(!t.proximitySelectionDisabled){if(t.endAsDate){var r=getDaysDiff(a,t.startAsDate);var i=getDaysDiff(a,t.endAsDate);if(i>0){t.hoverRange.end=a;t.hoverRange.focused="end"}else if(r<0){t.hoverRange.start=a;t.hoverRange.focused="start"}else if(r>i){t.hoverRange.start=a;t.hoverRange.focused="start"}else{t.hoverRange.end=a;t.hoverRange.focused="end"}}else{if(a<t.startAsDate){t.hoverRange={focused:"start",start:a,end:t.startAsDate}}else{t.hoverRange.end=a;t.hoverRange.focused="end"}}}else{if(!t.endAsDate){if(a<t.startAsDate){t.hoverRange={focused:"start",start:a,end:t.startAsDate}}else{t.hoverRange.end=a;t.hoverRange.focused="end"}}else{t.hoverRange=undefined}}e.stopPropagation()};this.monthMouseOutChange=function(){if(t.hoverRange){t.hoverRange=undefined}};this.reset=function(){var e,a,r,i,n,o;if(!Array.isArray(t.valueAsDate)&&t.valueAsDate&&((e=t.valueAsDate)===null||e===void 0?void 0:e.getTime())!==((a=t.activeDate)===null||a===void 0?void 0:a.getTime())){t.activeDate=new Date(t.valueAsDate)}if(t.startAsDate&&((r=t.startAsDate)===null||r===void 0?void 0:r.getTime())!==((i=t.activeStartDate)===null||i===void 0?void 0:i.getTime())){t.activeStartDate=new Date(t.startAsDate)}if(t.endAsDate&&((n=t.endAsDate)===null||n===void 0?void 0:n.getTime())!==((o=t.activeEndDate)===null||o===void 0?void 0:o.getTime())){t.activeEndDate=new Date(t.endAsDate)}};this.monthDateChange=function(e){var a=new Date(e.detail);if(!t.range){t.value=a?dateToISO(a):"";t.valueAsDate=a||null;t.activeDate=a||null;t.calciteDatePickerChange.emit(a);return}if(!t.startAsDate||!t.endAsDate&&a<t.startAsDate){if(t.startAsDate){t.setEndDate(new Date(t.startAsDate))}if(t.activeRange=="end"){t.setEndDate(a)}else{t.setStartDate(a)}}else if(!t.endAsDate){t.setEndDate(a)}else{if(!t.proximitySelectionDisabled){if(t.activeRange){if(t.activeRange=="end"){t.setEndDate(a)}else{t.setStartDate(a)}}else{var r=getDaysDiff(a,t.startAsDate);var i=getDaysDiff(a,t.endAsDate);if(i===0||r<0){t.setStartDate(a)}else if(r===0||i<0){t.setEndDate(a)}else if(r<i){t.setStartDate(a)}else{t.setEndDate(a)}}}else{t.setStartDate(a);t.endAsDate=t.activeEndDate=t.end=undefined}}t.calciteDatePickerChange.emit(a)}}e.prototype.handleValueAsDate=function(e){if(!Array.isArray(e)&&e&&e!==this.activeDate){this.activeDate=e}};e.prototype.handleRangeChange=function(){var e=this,t=e.startAsDate,a=e.endAsDate;this.activeEndDate=a;this.activeStartDate=t};e.prototype.onMinChanged=function(e){if(e){this.minAsDate=dateFromISO(e)}};e.prototype.onMaxChanged=function(e){if(e){this.maxAsDate=dateFromISO(e)}};e.prototype.connectedCallback=function(){if(Array.isArray(this.value)){this.valueAsDate=this.value.map((function(e){return dateFromISO(e)}));this.start=this.value[0];this.end=this.value[1]}else if(this.value){this.valueAsDate=dateFromISO(this.value)}if(this.start){this.setStartAsDate(dateFromISO(this.start))}if(this.end){this.setEndAsDate(dateFromISO(this.end))}if(this.min){this.minAsDate=dateFromISO(this.min)}if(this.max){this.maxAsDate=dateFromISO(this.max)}};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.loadLocaleData()];case 1:e.sent();this.onMinChanged(this.min);this.onMaxChanged(this.max);return[2]}}))}))};e.prototype.render=function(){var e;var t=dateFromRange(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);var a=this.range?this.getActiveStartDate(t,this.minAsDate,this.maxAsDate):this.getActiveDate(t,this.minAsDate,this.maxAsDate);var r=a;var i=this.range?dateFromRange(this.endAsDate,this.minAsDate,this.maxAsDate):null;var n=this.getActiveEndDate(i,this.minAsDate,this.maxAsDate);if((this.activeRange==="end"||((e=this.hoverRange)===null||e===void 0?void 0:e.focused)==="end"&&(!this.proximitySelectionDisabled||i))&&n){r=n}if(this.range&&this.mostRecentRangeValue){r=this.mostRecentRangeValue}var o=this.range&&this.activeRange?this.activeRange==="start"?this.minAsDate:t||this.minAsDate:this.minAsDate;var s=this.range&&this.activeRange?this.activeRange==="start"?i||this.maxAsDate:this.maxAsDate:this.maxAsDate;return h(Host,{onBlur:this.reset,onKeyDown:this.keyDownHandler,role:"application"},this.renderCalendar(r,s,o,t,i))};e.prototype.valueHandler=function(e){if(Array.isArray(e)){this.valueAsDate=e.map((function(e){return dateFromISO(e)}));this.start=e[0];this.end=e[1]}else if(e){this.valueAsDate=dateFromISO(e);this.start="";this.end=""}};e.prototype.startWatcher=function(e){this.setStartAsDate(dateFromISO(e))};e.prototype.endWatcher=function(e){this.setEndAsDate(dateFromISO(e))};e.prototype.loadLocaleData=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(a){switch(a.label){case 0:e=this.locale;t=this;return[4,getLocaleData(e)];case 1:t.localeData=a.sent();return[2]}}))}))};e.prototype.renderCalendar=function(e,t,a,r,i){return this.localeData&&[h("calcite-date-picker-month-header",{activeDate:e,headingLevel:this.headingLevel||HEADING_LEVEL,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,localeData:this.localeData,max:t,min:a,onCalciteDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:this.activeRange==="end"?i:r||new Date}),h("calcite-date-picker-month",{activeDate:e,endDate:this.range?i:undefined,hoverRange:this.hoverRange,localeData:this.localeData,max:t,min:a,onCalciteDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteDatePickerSelect:this.monthDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,scale:this.scale,selectedDate:this.activeRange==="end"?i:r,startDate:this.range?r:undefined})]};e.prototype.setStartAsDate=function(e,t){this.startAsDate=e;this.mostRecentRangeValue=this.startAsDate;if(t){this.calciteDatePickerRangeChange.emit({startDate:e,endDate:this.endAsDate})}};e.prototype.setEndAsDate=function(e,t){this.endAsDate=e;this.mostRecentRangeValue=this.endAsDate;if(t){this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:e})}};e.prototype.setEndDate=function(e){this.end=e?dateToISO(e):"";this.setEndAsDate(e,true);this.activeEndDate=e||null};e.prototype.setStartDate=function(e){this.start=e?dateToISO(e):"";this.setStartAsDate(e,true);this.activeStartDate=e||null};e.prototype.getActiveDate=function(e,t,a){return dateFromRange(this.activeDate,t,a)||e||dateFromRange(new Date,t,a)};e.prototype.getActiveStartDate=function(e,t,a){return dateFromRange(this.activeStartDate,t,a)||e||dateFromRange(new Date,t,a)};e.prototype.getActiveEndDate=function(e,t,a){return dateFromRange(this.activeEndDate,t,a)||e||dateFromRange(new Date,t,a)};Object.defineProperty(e,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{valueAsDate:["handleValueAsDate"],startAsDate:["handleRangeChange"],endAsDate:["handleRangeChange"],min:["onMinChanged"],max:["onMaxChanged"],value:["valueHandler"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}},enumerable:false,configurable:true});return e}();DatePicker.style=datePickerCss;var datePickerDayCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;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}: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}: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}: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}}";var DatePickerDay=function(){function e(e){var t=this;registerInstance(this,e);this.calciteDaySelect=createEvent(this,"calciteDaySelect",6);this.calciteInternalDayHover=createEvent(this,"calciteInternalDayHover",6);this.disabled=false;this.currentMonth=false;this.selected=false;this.highlighted=false;this.range=false;this.startOfRange=false;this.endOfRange=false;this.rangeHover=false;this.active=false;this.onClick=function(){!t.disabled&&t.calciteDaySelect.emit()};this.keyDownHandler=function(e){if(isActivationKey(e.key)){!t.disabled&&t.calciteDaySelect.emit();e.preventDefault()}}}e.prototype.mouseoverHandler=function(){this.calciteInternalDayHover.emit()};e.prototype.render=function(){var e;var t=this;var a=String(this.day).split("").map((function(e){return t.localeData.numerals[e]})).join("");var r=getElementDir(this.el);return h(Host,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},h("div",{class:(e={"day-v-wrapper":true},e[CSS_UTILITY.rtl]=r==="rtl",e)},h("div",{class:"day-wrapper"},h("span",{class:"day"},h("span",{class:"text"},a)))))};e.prototype.componentDidRender=function(){updateHostInteraction(this,this.isTabbable)};e.prototype.isTabbable=function(){return this.active};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DatePickerDay.style=datePickerDayCss;var datePickerMonthCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}.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}";var DatePickerMonth=function(){function e(e){var t=this;registerInstance(this,e);this.calciteDatePickerSelect=createEvent(this,"calciteDatePickerSelect",6);this.calciteInternalDatePickerHover=createEvent(this,"calciteInternalDatePickerHover",6);this.calciteDatePickerActiveDateChange=createEvent(this,"calciteDatePickerActiveDateChange",6);this.calciteInternalDatePickerMouseOut=createEvent(this,"calciteInternalDatePickerMouseOut",6);this.activeDate=new Date;this.keyDownHandler=function(e){if(e.defaultPrevented){return}var a=t.el.dir==="rtl";switch(e.key){case"ArrowUp":e.preventDefault();t.addDays(-7);break;case"ArrowRight":e.preventDefault();t.addDays(a?-1:1);break;case"ArrowDown":e.preventDefault();t.addDays(7);break;case"ArrowLeft":e.preventDefault();t.addDays(a?1:-1);break;case"PageUp":e.preventDefault();t.addMonths(-1);break;case"PageDown":e.preventDefault();t.addMonths(1);break;case"Home":e.preventDefault();t.activeDate.setDate(1);t.addDays();break;case"End":e.preventDefault();t.activeDate.setDate(new Date(t.activeDate.getFullYear(),t.activeDate.getMonth()+1,0).getDate());t.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":t.activeFocus=false}};this.disableActiveFocus=function(){t.activeFocus=false};this.dayHover=function(e){var a=e.target;if(a.disabled){t.calciteInternalDatePickerMouseOut.emit()}else{t.calciteInternalDatePickerHover.emit(a.value)}e.stopPropagation()};this.daySelect=function(e){var a=e.target;t.calciteDatePickerSelect.emit(a.value)}}e.prototype.mouseoutHandler=function(){this.calciteInternalDatePickerMouseOut.emit()};e.prototype.render=function(){var e=this;var t=this.activeDate.getMonth();var a=this.activeDate.getFullYear();var r=this.localeData.weekStart%7;var i=this.localeData.days,n=i.abbreviated,o=i.short,s=i.narrow;var c=this.scale==="s"?s||o||n:o||n||s;var l=__spreadArray(__spreadArray([],c.slice(r,7),true),c.slice(0,r),true);var d=this.getCurrentMonthDays(t,a);var u=this.getPrevMonthdays(t,a,r);var f=this.getNextMonthDays(t,a,r);var p=__spreadArray(__spreadArray(__spreadArray([],u.map((function(r){var i=new Date(a,t-1,r);return e.renderDateDay(false,r,i)})),true),d.map((function(r){var i=new Date(a,t,r);var n=sameDate(i,e.activeDate);return e.renderDateDay(n,r,i,true,true)})),true),f.map((function(r){var i=new Date(a,t+1,r);return e.renderDateDay(false,r,i)})),true);var g=[];for(var v=0;v<p.length;v+=7){g.push(p.slice(v,v+7))}return h(Host,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},h("div",{class:"calender",role:"grid"},h("div",{class:"week-headers",role:"row"},l.map((function(e){return h("span",{class:"week-header",role:"columnheader"},e)}))),g.map((function(e){return h("div",{class:"week-days",role:"row"},e)}))))};e.prototype.addMonths=function(e){var t=new Date(this.activeDate);t.setMonth(this.activeDate.getMonth()+e);this.calciteDatePickerActiveDateChange.emit(dateFromRange(t,this.min,this.max));this.activeFocus=true};e.prototype.addDays=function(e){if(e===void 0){e=0}var t=new Date(this.activeDate);t.setDate(this.activeDate.getDate()+e);this.calciteDatePickerActiveDateChange.emit(dateFromRange(t,this.min,this.max));this.activeFocus=true};e.prototype.getPrevMonthdays=function(e,t,a){var r=new Date(t,e,0);var i=r.getDate();var n=r.getDay();var o=[];if(n-6===a){return o}for(var s=Math.abs(r.getDay()-a);s>=0;s--){o.push(i-s)}return o};e.prototype.getCurrentMonthDays=function(e,t){var a=new Date(t,e+1,0).getDate();var r=[];for(var i=0;i<a;i++){r.push(i+1)}return r};e.prototype.getNextMonthDays=function(e,t,a){var r=new Date(t,e+1,0).getDay();var i=[];if(r===(a+6)%7){return i}for(var n=0;n<(6-(r-a))%7;n++){i.push(n+1)}return i};e.prototype.betweenSelectedRange=function(e){return!!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate&&!this.isRangeHover(e))};e.prototype.isSelected=function(e){return!!(sameDate(e,this.selectedDate)||this.startDate&&sameDate(e,this.startDate)||this.endDate&&sameDate(e,this.endDate))};e.prototype.isStartOfRange=function(e){return!!(this.startDate&&!sameDate(this.startDate,this.endDate)&&sameDate(this.startDate,e)&&!this.isEndOfRange(e))};e.prototype.isEndOfRange=function(e){return!!(this.endDate&&!sameDate(this.startDate,this.endDate)&&sameDate(this.endDate,e)||!this.endDate&&this.hoverRange&&sameDate(this.startDate,this.hoverRange.end)&&sameDate(e,this.hoverRange.end))};e.prototype.renderDateDay=function(e,t,a,r,i){var n=this;var o;var s=this.isFocusedOnStart();var c=this.isHoverInRange()||!this.endDate&&this.hoverRange&&sameDate((o=this.hoverRange)===null||o===void 0?void 0:o.end,this.startDate);return h("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&c,"hover--outside-range":this.startDate&&!c,"focused--start":s,"focused--end":!s},currentMonth:r,day:t,disabled:!inRange(a,this.min,this.max),endOfRange:this.isEndOfRange(a),highlighted:this.betweenSelectedRange(a),key:a.toDateString(),localeData:this.localeData,onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!sameDate(this.startDate,this.endDate),rangeHover:this.isRangeHover(a),ref:function(t){if(i&&e&&n.activeFocus){t===null||t===void 0?void 0:t.focus()}},scale:this.scale,selected:this.isSelected(a),startOfRange:this.isStartOfRange(a),value:a})};e.prototype.isFocusedOnStart=function(){var e;return((e=this.hoverRange)===null||e===void 0?void 0:e.focused)==="start"};e.prototype.isHoverInRange=function(){if(!this.hoverRange){return false}var e=this.hoverRange,t=e.start,a=e.end;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||a<this.endDate)||this.isFocusedOnStart()&&this.startDate&&t>this.startDate)};e.prototype.isRangeHover=function(e){if(!this.hoverRange){return false}var t=this.hoverRange,a=t.start,r=t.end;var i=this.isFocusedOnStart();var n=this.isHoverInRange();var o=n&&(!i&&e>this.startDate&&(e<r||sameDate(e,r))||i&&e<this.endDate&&(e>a||sameDate(e,a)));var s=!n&&(!i&&e>=this.endDate&&(e<r||sameDate(e,r))||i&&(e<this.startDate||this.endDate&&sameDate(e,this.startDate))&&(e>a||sameDate(e,a)));return o||s};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DatePickerMonth.style=datePickerMonthCss;var BUDDHIST_CALENDAR_YEAR_OFFSET=543;var datePickerMonthHeaderCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:block}.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}.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}";var DatePickerMonthHeader=function(){function e(e){var t=this;registerInstance(this,e);this.calciteDatePickerSelect=createEvent(this,"calciteDatePickerSelect",6);this.onYearKey=function(e){var a=t.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault();t.setYear({localizedYear:a,offset:-1});break;case"ArrowUp":e.preventDefault();t.setYear({localizedYear:a,offset:1});break}};this.onYearChange=function(e){t.setYear({localizedYear:t.parseCalendarYear(e.target.value)})};this.onYearInput=function(e){t.setYear({localizedYear:t.parseCalendarYear(e.target.value),commit:false})};this.prevMonthClick=function(e){t.handleArrowClick(e,t.prevMonthDate)};this.prevMonthKeydown=function(e){if(isActivationKey(e.key)){t.prevMonthClick(e)}};this.nextMonthClick=function(e){t.handleArrowClick(e,t.nextMonthDate)};this.nextMonthKeydown=function(e){if(isActivationKey(e.key)){t.nextMonthClick(e)}};this.handleArrowClick=function(e,a){e.preventDefault();t.calciteDatePickerSelect.emit(a)}}e.prototype.connectedCallback=function(){this.setNextPrevMonthDates()};e.prototype.render=function(){return h("div",{class:"header"},this.renderContent())};e.prototype.renderContent=function(){var e=this;var t;if(!this.activeDate||!this.localeData){return null}var a=this.activeDate.getMonth();var r=this.localeData,i=r.months,n=r.unitOrder;var o=(i.wide||i.narrow||i.abbreviated)[a];var s=this.formatCalendarYear(this.activeDate.getFullYear().toString());var c=this.scale==="l"?"m":"s";var l=getOrder(n);var d=l.indexOf("y")<l.indexOf("m");var u=(t=this.localeData.year)===null||t===void 0?void 0:t.suffix;return h(Fragment,null,h("a",{"aria-disabled":(this.prevMonthDate.getMonth()===a).toString(),"aria-label":this.intlPrevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===a?-1:0},h("calcite-icon",{"flip-rtl":true,icon:"chevron-left",scale:c})),h("div",{class:{text:true,"text--reverse":d}},h(Heading,{class:"month",level:this.headingLevel},o),h("span",{class:"year-wrap"},h("input",{"aria-label":this.intlYear,class:{year:true,"year--suffix":!!u},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:function(t){return e.yearInput=t},type:"text",value:s}),u&&h("span",{class:"suffix"},h("span",{"aria-hidden":"true",class:"suffix__invisible"},s)," "+u))),h("a",{"aria-disabled":(this.nextMonthDate.getMonth()===a).toString(),"aria-label":this.intlNextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===a?-1:0},h("calcite-icon",{"flip-rtl":true,icon:"chevron-right",scale:c})))};e.prototype.setNextPrevMonthDates=function(){if(!this.activeDate){return}this.nextMonthDate=dateFromRange(nextMonth(this.activeDate),this.min,this.max);this.prevMonthDate=dateFromRange(prevMonth(this.activeDate),this.min,this.max)};e.prototype.formatCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?BUDDHIST_CALENDAR_YEAR_OFFSET:0;return localizeNumber(parseNumber(e,t)+r,t)};e.prototype.parseCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?BUDDHIST_CALENDAR_YEAR_OFFSET:0;return localizeNumber(parseNumber(e,t)-r,t)};e.prototype.getInRangeDate=function(e){var t=e.localizedYear,a=e.offset,r=a===void 0?0:a;var i=this,n=i.min,o=i.max,s=i.activeDate,c=i.localeData;var l=parseNumber(t,c);var d=l.toString().length;var h=isNaN(l)?false:l+r;var u=h&&(!n||n.getFullYear()<=h)&&(!o||o.getFullYear()>=h);if(h&&u&&d===t.length){var f=new Date(s);f.setFullYear(h);return dateFromRange(f,n,o)}};e.prototype.setYear=function(e){var t=e.localizedYear,a=e.commit,r=a===void 0?true:a,i=e.offset,n=i===void 0?0:i;var o=this,s=o.yearInput,c=o.activeDate;var l=this.getInRangeDate({localizedYear:t,offset:n});if(l){this.calciteDatePickerSelect.emit(l)}if(r){s.value=this.formatCalendarYear((l||c).getFullYear().toString())}};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}},enumerable:false,configurable:true});return e}();DatePickerMonthHeader.style=datePickerMonthHeaderCss;export{DatePicker as calcite_date_picker,DatePickerDay as calcite_date_picker_day,DatePickerMonth as calcite_date_picker_month,DatePickerMonthHeader as calcite_date_picker_month_header};
@@ -1,6 +1,6 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function r(t){try{c(n.next(t))}catch(t){a(t)}}function s(t){try{c(n["throw"](t))}catch(t){a(t)}}function c(t){t.done?i(t.value):o(t.value).then(r,s)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return c([t,e])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,o&&(a=r[0]&2?o["return"]:r[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;if(o=0,a)r=[r[0]&2,a.value];switch(r[0]){case 0:case 1:a=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;o=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]<a[3])){i.label=r[1];break}if(r[0]===6&&i.label<a[1]){i.label=a[1];a=r;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(r);break}if(a[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];o=0}finally{n=a=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(typeof e === "string"){e=Array.prototype.slice.call(e)}if(i||arguments.length===2)for(var n=0,o=e.length,a;n<o;n++){if(a||!(n in e)){if(!a)a=Array.prototype.slice.call(e,0,n);a[n]=e[n]}}return t.concat(a||Array.prototype.slice.call(e))};
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,n){function o(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function r(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n["throw"](e))}catch(e){a(e)}}function c(e){e.done?i(e.value):o(e.value).then(r,s)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return c([e,t])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,o&&(a=r[0]&2?o["return"]:r[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;if(o=0,a)r=[r[0]&2,a.value];switch(r[0]){case 0:case 1:a=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;o=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]<a[3])){i.label=r[1];break}if(r[0]===6&&i.label<a[1]){i.label=a[1];a=r;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(r);break}if(a[2])i.ops.pop();i.trys.pop();continue}r=t.call(e,i)}catch(e){r=[6,e];o=0}finally{n=a=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(typeof t === "string"){t=Array.prototype.slice.call(t)}if(i||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.562
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-bba23176.js";import{t as toAriaBoolean,f as focusElement,d as getElementProp}from"./dom-1646ef7c.js";import{d as defaultMenuPlacement,f as filterComputedPlacements,c as connectFloatingUI,a as disconnectFloatingUI,F as FloatingCSS,p as positionFloatingUI}from"./floating-ui-11c14148.js";import{c as createObserver}from"./observers-03047594.js";import{u as updateHostInteraction}from"./interactive-1337e441.js";import{c as connectOpenCloseComponent,d as disconnectOpenCloseComponent}from"./openCloseComponent-83ac29bd.js";import{g as guid}from"./guid-5cfdc287.js";import{i as isActivationKey}from"./key-15cd4c9e.js";import"./resources-43d91ddb.js";var SLOTS={dropdownTrigger:"dropdown-trigger"};var dropdownCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";var Dropdown=function(){function t(t){var e=this;registerInstance(this,t);this.calciteDropdownSelect=createEvent(this,"calciteDropdownSelect",6);this.calciteDropdownBeforeClose=createEvent(this,"calciteDropdownBeforeClose",6);this.calciteDropdownClose=createEvent(this,"calciteDropdownClose",6);this.calciteDropdownBeforeOpen=createEvent(this,"calciteDropdownBeforeOpen",6);this.calciteDropdownOpen=createEvent(this,"calciteDropdownOpen",6);this.active=false;this.open=false;this.disableCloseOnSelect=false;this.disabled=false;this.maxItems=0;this.overlayPositioning="absolute";this.placement=defaultMenuPlacement;this.scale="m";this.selectedItems=[];this.type="click";this.items=[];this.groups=[];this.mutationObserver=createObserver("mutation",(function(){return e.updateItems()}));this.resizeObserver=createObserver("resize",(function(t){return e.resizeObserverCallback(t)}));this.openTransitionProp="visibility";this.guid="calcite-dropdown-".concat(guid());this.defaultAssignedElements=[];this.slotChangeHandler=function(t){e.defaultAssignedElements=t.target.assignedElements({flatten:true});e.updateItems()};this.setFilteredPlacements=function(){var t=e,i=t.el,n=t.flipPlacements;e.filteredFlipPlacements=n?filterComputedPlacements(n,i):null};this.updateTriggers=function(t){e.triggers=t.target.assignedElements({flatten:true});e.reposition()};this.updateItems=function(){e.items=e.groups.map((function(t){return Array.from(t===null||t===void 0?void 0:t.querySelectorAll("calcite-dropdown-item"))})).reduce((function(t,e){return __spreadArray(__spreadArray([],t,true),e,true)}),[]);e.updateSelectedItems();e.reposition()};this.updateGroups=function(t){var i=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-dropdown-group")}));e.groups=i;e.updateItems()};this.resizeObserverCallback=function(t){t.forEach((function(t){var i=t.target;if(i===e.referenceEl){e.setDropdownWidth()}else if(i===e.scrollerEl){e.setMaxScrollerHeight()}}))};this.setDropdownWidth=function(){var t=e,i=t.referenceEl,n=t.scrollerEl;var o=i===null||i===void 0?void 0:i.clientWidth;if(!o||!n){return}n.style.minWidth="".concat(o,"px")};this.setMaxScrollerHeight=function(){var t=e,i=t.scrollerEl,n=t.open;if(!i||!n){return}e.reposition();var o=e.getMaxScrollerHeight();i.style.maxHeight=o>0?"".concat(o,"px"):"";e.reposition()};this.setScrollerAndTransitionEl=function(t){e.resizeObserver.observe(t);e.scrollerEl=t;e.transitionEl=t;connectOpenCloseComponent(e)};this.setReferenceEl=function(t){e.referenceEl=t;connectFloatingUI(e,e.referenceEl,e.floatingEl);e.resizeObserver.observe(t)};this.setFloatingEl=function(t){e.floatingEl=t;connectFloatingUI(e,e.referenceEl,e.floatingEl)};this.keyDownHandler=function(t){var i=t.target;if(i!==e.referenceEl){return}var n=t.defaultPrevented,o=t.key;if(n){return}if(e.open){if(o==="Escape"){e.closeCalciteDropdown();t.preventDefault();return}else if(t.shiftKey&&o==="Tab"){e.closeCalciteDropdown();t.preventDefault();return}}if(isActivationKey(o)){e.openCalciteDropdown();t.preventDefault()}else if(o==="Escape"){e.closeCalciteDropdown();t.preventDefault()}};this.focusOnFirstActiveOrFirstItem=function(){e.getFocusableElement(e.items.find((function(t){return t.active}))||e.items[0])};this.toggleOpenEnd=function(){e.focusOnFirstActiveOrFirstItem();e.el.removeEventListener("calciteDropdownOpen",e.toggleOpenEnd)};this.openCalciteDropdown=function(){e.open=!e.open;if(e.open){e.el.addEventListener("calciteDropdownOpen",e.toggleOpenEnd)}}}t.prototype.activeHandler=function(t){this.open=t};t.prototype.openHandler=function(t){if(!this.disabled){this.reposition();this.active=t;return}this.open=false};t.prototype.handleDisabledChange=function(t){if(!t){this.open=false}};t.prototype.flipPlacementsHandler=function(){this.setFilteredPlacements()};t.prototype.maxItemsHandler=function(){this.setMaxScrollerHeight()};t.prototype.overlayPositioningHandler=function(){this.reposition()};t.prototype.placementHandler=function(){this.reposition()};t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.setFilteredPlacements();this.reposition();if(this.open){this.openHandler(this.open)}if(this.active){this.activeHandler(this.active)}connectOpenCloseComponent(this)};t.prototype.componentDidLoad=function(){this.reposition()};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();disconnectFloatingUI(this,this.referenceEl,this.floatingEl);(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();disconnectOpenCloseComponent(this)};t.prototype.render=function(){var t;var e=this,i=e.open,n=e.guid;return h(Host,null,h("div",{class:"calcite-dropdown-trigger-container",id:"".concat(n,"-menubutton"),onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},h("slot",{"aria-controls":"".concat(n,"-menu"),"aria-expanded":toAriaBoolean(i),"aria-haspopup":"menu",name:SLOTS.dropdownTrigger,onSlotchange:this.updateTriggers})),h("div",{"aria-hidden":toAriaBoolean(!i),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},h("div",{"aria-labelledby":"".concat(n,"-menubutton"),class:(t={},t["calcite-dropdown-content"]=true,t[FloatingCSS.animation]=true,t[FloatingCSS.animationActive]=i,t),id:"".concat(n,"-menu"),ref:this.setScrollerAndTransitionEl,role:"menu"},h("div",{hidden:!i},h("slot",{onSlotchange:this.updateGroups})))))};t.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,n,o;return __generator(this,(function(a){t=this,e=t.floatingEl,i=t.referenceEl,n=t.placement,o=t.overlayPositioning;return[2,positionFloatingUI({floatingEl:e,referenceEl:i,overlayPositioning:o,placement:n,type:"menu"})]}))}))};t.prototype.closeCalciteDropdownOnClick=function(t){if(!this.open||t.composedPath().includes(this.el)){return}this.closeCalciteDropdown(false)};t.prototype.closeCalciteDropdownOnEvent=function(t){this.closeCalciteDropdown();t.stopPropagation()};t.prototype.closeCalciteDropdownOnOpenEvent=function(t){if(t.composedPath().includes(this.el)){return}this.open=false};t.prototype.mouseEnterHandler=function(){if(this.type==="hover"){this.openCalciteDropdown()}};t.prototype.mouseLeaveHandler=function(){if(this.type==="hover"){this.closeCalciteDropdown()}};t.prototype.calciteInternalDropdownItemKeyEvent=function(t){var e=t.detail.keyboardEvent;var i=e.target;var n=i.nodeName!=="A"?i:i.parentNode;var o=this.itemIndex(n)===0;var a=this.itemIndex(n)===this.items.length-1;switch(e.key){case"Tab":if(a&&!e.shiftKey){this.closeCalciteDropdown()}else if(o&&e.shiftKey){this.closeCalciteDropdown()}else if(e.shiftKey){this.focusPrevItem(n)}else{this.focusNextItem(n)}break;case"ArrowDown":this.focusNextItem(n);break;case"ArrowUp":this.focusPrevItem(n);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}t.stopPropagation()};t.prototype.handleItemSelect=function(t){this.updateSelectedItems();t.stopPropagation();this.calciteDropdownSelect.emit({item:t.detail.requestedDropdownItem});if(!this.disableCloseOnSelect||t.detail.requestedDropdownGroup.selectionMode==="none"){this.closeCalciteDropdown()}t.stopPropagation()};t.prototype.onBeforeOpen=function(){this.calciteDropdownBeforeOpen.emit()};t.prototype.onOpen=function(){this.calciteDropdownOpen.emit()};t.prototype.onBeforeClose=function(){this.calciteDropdownBeforeClose.emit()};t.prototype.onClose=function(){this.calciteDropdownClose.emit()};t.prototype.updateSelectedItems=function(){this.selectedItems=this.items.filter((function(t){return t.active}))};t.prototype.getMaxScrollerHeight=function(){var t=this.maxItems;var e=0;var i=0;var n;this.groups.forEach((function(o){if(t>0&&e<t){Array.from(o.children).forEach((function(o,a){if(a===0){if(isNaN(n)){n=o.offsetTop}i+=n}if(e<t){i+=o.offsetHeight;e+=1}}))}}));return i};t.prototype.closeCalciteDropdown=function(t){if(t===void 0){t=true}this.open=false;if(t){focusElement(this.triggers[0])}};t.prototype.focusFirstItem=function(){var t=this.items[0];this.getFocusableElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.getFocusableElement(t)};t.prototype.focusNextItem=function(t){var e=this.itemIndex(t);var i=this.items[e+1]||this.items[0];this.getFocusableElement(i)};t.prototype.focusPrevItem=function(t){var e=this.itemIndex(t);var i=this.items[e-1]||this.items[this.items.length-1];this.getFocusableElement(i)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.getFocusableElement=function(t){if(!t){return}var e=t.attributes.isLink?t.shadowRoot.querySelector("a"):t;focusElement(e)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"]}},enumerable:false,configurable:true});return t}();Dropdown.style=dropdownCss;var CSS$1={containerSmall:"container--s",containerMedium:"container--m",containerLarge:"container--l"};var dropdownGroupCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{-webkit-margin-after:-1px;margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}";var DropdownGroup=function(){function t(t){registerInstance(this,t);this.calciteInternalDropdownItemChange=createEvent(this,"calciteInternalDropdownItemChange",6);this.selectionMode="single"}t.prototype.componentWillLoad=function(){this.groupPosition=this.getGroupPosition()};t.prototype.render=function(){var t;var e=this.scale||getElementProp(this.el,"scale","m");var i=this.groupTitle?h("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null;var n=this.groupPosition>0?h("div",{class:"dropdown-separator",role:"separator"}):null;return h(Host,{"aria-label":this.groupTitle,role:"group"},h("div",{class:(t={container:true},t[CSS$1.containerSmall]=e==="s",t[CSS$1.containerMedium]=e==="m",t[CSS$1.containerLarge]=e==="l",t),title:this.groupTitle},n,i,h("slot",null)))};t.prototype.updateActiveItemOnChange=function(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})};t.prototype.getGroupPosition=function(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DropdownGroup.style=dropdownGroupCss;var CSS={containerLink:"container--link",containerSmall:"container--s",containerMedium:"container--m",containerLarge:"container--l",containerMulti:"container--multi-selection",containerSingle:"container--single-selection",containerNone:"container--none-selection"};var dropdownItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.container--s.container--none-selection{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--m.container--none-selection{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--l.container--none-selection{-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{-ms-flex:1 1 auto;flex:1 1 auto;-webkit-padding-end:auto;padding-inline-end:auto;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0px}.container--link a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([active]) .container:not(.container--none-selection),:host([active]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([active]) .container:not(.container--none-selection):before,:host([active]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([active]) .container:not(.container--none-selection) calcite-icon,:host([active]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(0.9);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{-webkit-margin-start:1rem;margin-inline-start:1rem}";var DropdownItem=function(){function t(t){registerInstance(this,t);this.calciteInternalDropdownItemSelect=createEvent(this,"calciteInternalDropdownItemSelect",6);this.calciteInternalDropdownItemKeyEvent=createEvent(this,"calciteInternalDropdownItemKeyEvent",6);this.calciteInternalDropdownCloseRequest=createEvent(this,"calciteInternalDropdownCloseRequest",6);this.active=false}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.el)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.componentWillLoad=function(){this.initialize()};t.prototype.connectedCallback=function(){this.initialize()};t.prototype.render=function(){var t;var e=this;var i=getElementProp(this.el,"scale","m");var n=h("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var o=h("span",{class:"dropdown-item-content"},h("slot",null));var a=h("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});var r=this.iconStart&&this.iconEnd?[n,o,a]:this.iconStart?[n,h("slot",null)]:this.iconEnd?[o,a]:o;var s=!this.href?r:h("a",{"aria-label":this.label,class:"dropdown-link",href:this.href,ref:function(t){return e.childLink=t},rel:this.rel,target:this.target},r);var c=this.href?null:this.selectionMode==="single"?"menuitemradio":this.selectionMode==="multi"?"menuitemcheckbox":"menuitem";var l=this.selectionMode!=="none"?toAriaBoolean(this.active):null;return h(Host,{"aria-checked":l,role:c,tabindex:"0"},h("div",{class:(t={container:true},t[CSS.containerLink]=!!this.href,t[CSS.containerSmall]=i==="s",t[CSS.containerMedium]=i==="m",t[CSS.containerLarge]=i==="l",t[CSS.containerMulti]=this.selectionMode==="multi",t[CSS.containerSingle]=this.selectionMode==="single",t[CSS.containerNone]=this.selectionMode==="none",t)},this.selectionMode!=="none"?h("calcite-icon",{class:"dropdown-item-icon",icon:this.selectionMode==="multi"?"check":"bullet-point",scale:"s"}):null,s))};t.prototype.onClick=function(){this.emitRequestedItem()};t.prototype.keyDownHandler=function(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem();if(this.href){this.childLink.click()}t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit();t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault();this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break}};t.prototype.updateActiveItemOnChange=function(t){var e=t.composedPath().includes(this.parentDropdownGroupEl);if(e){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.determineActiveItem()}t.stopPropagation()};t.prototype.initialize=function(){this.selectionMode=getElementProp(this.el,"selection-mode","single");this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group");if(this.selectionMode==="none"){this.active=false}};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedDropdownItem){this.active=!this.active}break;case"single":if(this.el===this.requestedDropdownItem){this.active=true}else if(this.requestedDropdownGroup===this.parentDropdownGroupEl){this.active=false}break;case"none":this.active=false;break}};t.prototype.emitRequestedItem=function(){this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DropdownItem.style=dropdownItemCss;export{Dropdown as calcite_dropdown,DropdownGroup as calcite_dropdown_group,DropdownItem as calcite_dropdown_item};
5
+ * v1.0.0-next.563
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-df524d81.js";import{t as toAriaBoolean,f as focusElement,d as getElementProp}from"./dom-942728de.js";import{d as defaultMenuPlacement,f as filterComputedPlacements,c as connectFloatingUI,a as disconnectFloatingUI,F as FloatingCSS,p as positionFloatingUI}from"./floating-ui-7aac14f4.js";import{c as createObserver}from"./observers-9aa6c361.js";import{u as updateHostInteraction}from"./interactive-752abe05.js";import{c as connectOpenCloseComponent,d as disconnectOpenCloseComponent}from"./openCloseComponent-57cb7b69.js";import{g as guid}from"./guid-8024ea73.js";import{i as isActivationKey}from"./key-80ea5518.js";import"./resources-bb272078.js";var SLOTS={dropdownTrigger:"dropdown-trigger"};var dropdownCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";var Dropdown=function(){function e(e){var t=this;registerInstance(this,e);this.calciteDropdownSelect=createEvent(this,"calciteDropdownSelect",6);this.calciteDropdownBeforeClose=createEvent(this,"calciteDropdownBeforeClose",6);this.calciteDropdownClose=createEvent(this,"calciteDropdownClose",6);this.calciteDropdownBeforeOpen=createEvent(this,"calciteDropdownBeforeOpen",6);this.calciteDropdownOpen=createEvent(this,"calciteDropdownOpen",6);this.active=false;this.open=false;this.disableCloseOnSelect=false;this.disabled=false;this.maxItems=0;this.overlayPositioning="absolute";this.placement=defaultMenuPlacement;this.scale="m";this.selectedItems=[];this.type="click";this.items=[];this.groups=[];this.mutationObserver=createObserver("mutation",(function(){return t.updateItems()}));this.resizeObserver=createObserver("resize",(function(e){return t.resizeObserverCallback(e)}));this.openTransitionProp="visibility";this.guid="calcite-dropdown-".concat(guid());this.defaultAssignedElements=[];this.slotChangeHandler=function(e){t.defaultAssignedElements=e.target.assignedElements({flatten:true});t.updateItems()};this.setFilteredPlacements=function(){var e=t,i=e.el,n=e.flipPlacements;t.filteredFlipPlacements=n?filterComputedPlacements(n,i):null};this.updateTriggers=function(e){t.triggers=e.target.assignedElements({flatten:true});t.reposition()};this.updateItems=function(){t.items=t.groups.map((function(e){return Array.from(e===null||e===void 0?void 0:e.querySelectorAll("calcite-dropdown-item"))})).reduce((function(e,t){return __spreadArray(__spreadArray([],e,true),t,true)}),[]);t.updateSelectedItems();t.reposition()};this.updateGroups=function(e){var i=e.target.assignedElements({flatten:true}).filter((function(e){return e===null||e===void 0?void 0:e.matches("calcite-dropdown-group")}));t.groups=i;t.updateItems()};this.resizeObserverCallback=function(e){e.forEach((function(e){var i=e.target;if(i===t.referenceEl){t.setDropdownWidth()}else if(i===t.scrollerEl){t.setMaxScrollerHeight()}}))};this.setDropdownWidth=function(){var e=t,i=e.referenceEl,n=e.scrollerEl;var o=i===null||i===void 0?void 0:i.clientWidth;if(!o||!n){return}n.style.minWidth="".concat(o,"px")};this.setMaxScrollerHeight=function(){var e=t,i=e.scrollerEl,n=e.open;if(!i||!n){return}t.reposition();var o=t.getMaxScrollerHeight();i.style.maxHeight=o>0?"".concat(o,"px"):"";t.reposition()};this.setScrollerAndTransitionEl=function(e){t.resizeObserver.observe(e);t.scrollerEl=e;t.transitionEl=e;connectOpenCloseComponent(t)};this.setReferenceEl=function(e){t.referenceEl=e;connectFloatingUI(t,t.referenceEl,t.floatingEl);t.resizeObserver.observe(e)};this.setFloatingEl=function(e){t.floatingEl=e;connectFloatingUI(t,t.referenceEl,t.floatingEl)};this.keyDownHandler=function(e){var i=e.target;if(i!==t.referenceEl){return}var n=e.defaultPrevented,o=e.key;if(n){return}if(t.open){if(o==="Escape"){t.closeCalciteDropdown();e.preventDefault();return}else if(e.shiftKey&&o==="Tab"){t.closeCalciteDropdown();e.preventDefault();return}}if(isActivationKey(o)){t.openCalciteDropdown();e.preventDefault()}else if(o==="Escape"){t.closeCalciteDropdown();e.preventDefault()}};this.focusOnFirstActiveOrFirstItem=function(){t.getFocusableElement(t.items.find((function(e){return e.selected}))||t.items[0])};this.toggleOpenEnd=function(){t.focusOnFirstActiveOrFirstItem();t.el.removeEventListener("calciteDropdownOpen",t.toggleOpenEnd)};this.openCalciteDropdown=function(){t.open=!t.open;if(t.open){t.el.addEventListener("calciteDropdownOpen",t.toggleOpenEnd)}}}e.prototype.activeHandler=function(e){this.open=e};e.prototype.openHandler=function(e){if(!this.disabled){this.reposition();this.active=e;return}this.open=false};e.prototype.handleDisabledChange=function(e){if(!e){this.open=false}};e.prototype.flipPlacementsHandler=function(){this.setFilteredPlacements()};e.prototype.maxItemsHandler=function(){this.setMaxScrollerHeight()};e.prototype.overlayPositioningHandler=function(){this.reposition()};e.prototype.placementHandler=function(){this.reposition()};e.prototype.connectedCallback=function(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true});this.setFilteredPlacements();this.reposition();if(this.open){this.openHandler(this.open)}if(this.active){this.activeHandler(this.active)}connectOpenCloseComponent(this)};e.prototype.componentDidLoad=function(){this.reposition()};e.prototype.componentDidRender=function(){updateHostInteraction(this)};e.prototype.disconnectedCallback=function(){var e,t;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect();disconnectFloatingUI(this,this.referenceEl,this.floatingEl);(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect();disconnectOpenCloseComponent(this)};e.prototype.render=function(){var e;var t=this,i=t.open,n=t.guid;return h(Host,null,h("div",{class:"calcite-dropdown-trigger-container",id:"".concat(n,"-menubutton"),onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},h("slot",{"aria-controls":"".concat(n,"-menu"),"aria-expanded":toAriaBoolean(i),"aria-haspopup":"menu",name:SLOTS.dropdownTrigger,onSlotchange:this.updateTriggers})),h("div",{"aria-hidden":toAriaBoolean(!i),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},h("div",{"aria-labelledby":"".concat(n,"-menubutton"),class:(e={},e["calcite-dropdown-content"]=true,e[FloatingCSS.animation]=true,e[FloatingCSS.animationActive]=i,e),id:"".concat(n,"-menu"),ref:this.setScrollerAndTransitionEl,role:"menu"},h("div",{hidden:!i},h("slot",{onSlotchange:this.updateGroups})))))};e.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,n,o;return __generator(this,(function(a){e=this,t=e.floatingEl,i=e.referenceEl,n=e.placement,o=e.overlayPositioning;return[2,positionFloatingUI({floatingEl:t,referenceEl:i,overlayPositioning:o,placement:n,type:"menu"})]}))}))};e.prototype.closeCalciteDropdownOnClick=function(e){if(!this.open||e.composedPath().includes(this.el)){return}this.closeCalciteDropdown(false)};e.prototype.closeCalciteDropdownOnEvent=function(e){this.closeCalciteDropdown();e.stopPropagation()};e.prototype.closeCalciteDropdownOnOpenEvent=function(e){if(e.composedPath().includes(this.el)){return}this.open=false};e.prototype.mouseEnterHandler=function(){if(this.type==="hover"){this.openCalciteDropdown()}};e.prototype.mouseLeaveHandler=function(){if(this.type==="hover"){this.closeCalciteDropdown()}};e.prototype.calciteInternalDropdownItemKeyEvent=function(e){var t=e.detail.keyboardEvent;var i=t.target;var n=i.nodeName!=="A"?i:i.parentNode;var o=this.itemIndex(n)===0;var a=this.itemIndex(n)===this.items.length-1;switch(t.key){case"Tab":if(a&&!t.shiftKey){this.closeCalciteDropdown()}else if(o&&t.shiftKey){this.closeCalciteDropdown()}else if(t.shiftKey){this.focusPrevItem(n)}else{this.focusNextItem(n)}break;case"ArrowDown":this.focusNextItem(n);break;case"ArrowUp":this.focusPrevItem(n);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}e.stopPropagation()};e.prototype.handleItemSelect=function(e){this.updateSelectedItems();e.stopPropagation();this.calciteDropdownSelect.emit({item:e.detail.requestedDropdownItem});if(!this.disableCloseOnSelect||e.detail.requestedDropdownGroup.selectionMode==="none"){this.closeCalciteDropdown()}e.stopPropagation()};e.prototype.onBeforeOpen=function(){this.calciteDropdownBeforeOpen.emit()};e.prototype.onOpen=function(){this.calciteDropdownOpen.emit()};e.prototype.onBeforeClose=function(){this.calciteDropdownBeforeClose.emit()};e.prototype.onClose=function(){this.calciteDropdownClose.emit()};e.prototype.updateSelectedItems=function(){this.selectedItems=this.items.filter((function(e){return e.selected}))};e.prototype.getMaxScrollerHeight=function(){var e=this.maxItems;var t=0;var i=0;var n;this.groups.forEach((function(o){if(e>0&&t<e){Array.from(o.children).forEach((function(o,a){if(a===0){if(isNaN(n)){n=o.offsetTop}i+=n}if(t<e){i+=o.offsetHeight;t+=1}}))}}));return i};e.prototype.closeCalciteDropdown=function(e){if(e===void 0){e=true}this.open=false;if(e){focusElement(this.triggers[0])}};e.prototype.focusFirstItem=function(){var e=this.items[0];this.getFocusableElement(e)};e.prototype.focusLastItem=function(){var e=this.items[this.items.length-1];this.getFocusableElement(e)};e.prototype.focusNextItem=function(e){var t=this.itemIndex(e);var i=this.items[t+1]||this.items[0];this.getFocusableElement(i)};e.prototype.focusPrevItem=function(e){var t=this.itemIndex(e);var i=this.items[t-1]||this.items[this.items.length-1];this.getFocusableElement(i)};e.prototype.itemIndex=function(e){return this.items.indexOf(e)};e.prototype.getFocusableElement=function(e){if(!e){return}var t=e.attributes.isLink?e.shadowRoot.querySelector("a"):e;focusElement(t)};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["activeHandler"],open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"]}},enumerable:false,configurable:true});return e}();Dropdown.style=dropdownCss;var CSS$1={containerSmall:"container--s",containerMedium:"container--m",containerLarge:"container--l"};var dropdownGroupCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{-webkit-margin-after:-1px;margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}";var DropdownGroup=function(){function e(e){registerInstance(this,e);this.calciteInternalDropdownItemChange=createEvent(this,"calciteInternalDropdownItemChange",6);this.selectionMode="single"}e.prototype.componentWillLoad=function(){this.groupPosition=this.getGroupPosition()};e.prototype.render=function(){var e;var t=this.scale||getElementProp(this.el,"scale","m");var i=this.groupTitle?h("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null;var n=this.groupPosition>0?h("div",{class:"dropdown-separator",role:"separator"}):null;return h(Host,{"aria-label":this.groupTitle,role:"group"},h("div",{class:(e={container:true},e[CSS$1.containerSmall]=t==="s",e[CSS$1.containerMedium]=t==="m",e[CSS$1.containerLarge]=t==="l",e),title:this.groupTitle},n,i,h("slot",null)))};e.prototype.updateActiveItemOnChange=function(e){this.requestedDropdownGroup=e.detail.requestedDropdownGroup;this.requestedDropdownItem=e.detail.requestedDropdownItem;this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})};e.prototype.getGroupPosition=function(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DropdownGroup.style=dropdownGroupCss;var CSS={containerLink:"container--link",containerSmall:"container--s",containerMedium:"container--m",containerLarge:"container--l",containerMulti:"container--multi-selection",containerSingle:"container--single-selection",containerNone:"container--none-selection"};var dropdownItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.container--s.container--none-selection{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--m.container--none-selection{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--l.container--none-selection{-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{-ms-flex:1 1 auto;flex:1 1 auto;-webkit-padding-end:auto;padding-inline-end:auto;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0px}.container--link a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(0.9);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{-webkit-margin-start:1rem;margin-inline-start:1rem}";var DropdownItem=function(){function e(e){registerInstance(this,e);this.calciteInternalDropdownItemSelect=createEvent(this,"calciteInternalDropdownItemSelect",6);this.calciteInternalDropdownItemKeyEvent=createEvent(this,"calciteInternalDropdownItemKeyEvent",6);this.calciteInternalDropdownCloseRequest=createEvent(this,"calciteInternalDropdownCloseRequest",6);this.active=false;this.selected=false}e.prototype.activeHandler=function(e){this.selected=e};e.prototype.selectedHandler=function(e){this.active=e};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){(e=this.el)===null||e===void 0?void 0:e.focus();return[2]}))}))};e.prototype.componentWillLoad=function(){this.initialize()};e.prototype.connectedCallback=function(){var e=this.selected||this.active;if(e){this.activeHandler(e);this.selectedHandler(e)}this.initialize()};e.prototype.render=function(){var e;var t=this;var i=getElementProp(this.el,"scale","m");var n=h("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var o=h("span",{class:"dropdown-item-content"},h("slot",null));var a=h("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});var r=this.iconStart&&this.iconEnd?[n,o,a]:this.iconStart?[n,h("slot",null)]:this.iconEnd?[o,a]:o;var s=!this.href?r:h("a",{"aria-label":this.label,class:"dropdown-link",href:this.href,ref:function(e){return t.childLink=e},rel:this.rel,target:this.target},r);var c=this.href?null:this.selectionMode==="single"?"menuitemradio":this.selectionMode==="multi"?"menuitemcheckbox":"menuitem";var l=this.selectionMode!=="none"?toAriaBoolean(this.selected):null;return h(Host,{"aria-checked":l,role:c,tabindex:"0"},h("div",{class:(e={container:true},e[CSS.containerLink]=!!this.href,e[CSS.containerSmall]=i==="s",e[CSS.containerMedium]=i==="m",e[CSS.containerLarge]=i==="l",e[CSS.containerMulti]=this.selectionMode==="multi",e[CSS.containerSingle]=this.selectionMode==="single",e[CSS.containerNone]=this.selectionMode==="none",e)},this.selectionMode!=="none"?h("calcite-icon",{class:"dropdown-item-icon",icon:this.selectionMode==="multi"?"check":"bullet-point",scale:"s"}):null,s))};e.prototype.onClick=function(){this.emitRequestedItem()};e.prototype.keyDownHandler=function(e){switch(e.key){case" ":case"Enter":this.emitRequestedItem();if(this.href){this.childLink.click()}e.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit();e.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:e});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":e.preventDefault();this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:e});break}};e.prototype.updateActiveItemOnChange=function(e){var t=e.composedPath().includes(this.parentDropdownGroupEl);if(t){this.requestedDropdownGroup=e.detail.requestedDropdownGroup;this.requestedDropdownItem=e.detail.requestedDropdownItem;this.determineActiveItem()}e.stopPropagation()};e.prototype.initialize=function(){this.selectionMode=getElementProp(this.el,"selection-mode","single");this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group");if(this.selectionMode==="none"){this.selected=false}};e.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedDropdownItem){this.selected=!this.selected}break;case"single":if(this.el===this.requestedDropdownItem){this.selected=true}else if(this.requestedDropdownGroup===this.parentDropdownGroupEl){this.selected=false}break;case"none":this.selected=false;break}};e.prototype.emitRequestedItem=function(){this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["activeHandler"],selected:["selectedHandler"]}},enumerable:false,configurable:true});return e}();DropdownItem.style=dropdownItemCss;export{Dropdown as calcite_dropdown,DropdownGroup as calcite_dropdown_group,DropdownItem as calcite_dropdown_item};
@@ -1,6 +1,6 @@
1
- var __awaiter=this&&this.__awaiter||function(t,a,e,n){function i(t){return t instanceof e?t:new e((function(a){a(t)}))}return new(e||(e=Promise))((function(e,r){function o(t){try{c(n.next(t))}catch(t){r(t)}}function s(t){try{c(n["throw"](t))}catch(t){r(t)}}function c(t){t.done?e(t.value):i(t.value).then(o,s)}c((n=n.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(a){return c([t,a])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(e)try{if(n=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:e.label++;return{value:o[1],done:false};case 5:e.label++;i=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){e.label=o[1];break}if(o[0]===6&&e.label<r[1]){e.label=r[1];r=o;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(o);break}if(r[2])e.ops.pop();e.trys.pop();continue}o=a.call(t,e)}catch(t){o=[6,t];i=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(t,a,e,n){function i(t){return t instanceof e?t:new e((function(a){a(t)}))}return new(e||(e=Promise))((function(e,r){function o(t){try{l(n.next(t))}catch(t){r(t)}}function s(t){try{l(n["throw"](t))}catch(t){r(t)}}function l(t){t.done?e(t.value):i(t.value).then(o,s)}l((n=n.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(a){return l([t,a])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(e)try{if(n=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:e.label++;return{value:o[1],done:false};case 5:e.label++;i=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){e.label=o[1];break}if(o[0]===6&&e.label<r[1]){e.label=r[1];r=o;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(o);break}if(r[2])e.ops.pop();e.trys.pop();continue}o=a.call(t,e)}catch(t){o=[6,t];i=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.562
6
- */import{r as registerInstance,h,g as getElement}from"./index-bba23176.js";import{f as focusElement}from"./dom-1646ef7c.js";import{u as updateHostInteraction}from"./interactive-1337e441.js";import"./resources-43d91ddb.js";import"./guid-5cfdc287.js";var CSS={button:"button"};var ICONS={plus:"plus"};var fabCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";var Fab=function(){function t(t){registerInstance(this,t);this.appearance="outline";this.color="neutral";this.disabled=false;this.icon=ICONS.plus;this.loading=false;this.scale="m";this.textEnabled=false}t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){focusElement(this.buttonEl);return[2]}))}))};t.prototype.render=function(){var t=this;var a=this,e=a.appearance,n=a.color,i=a.disabled,r=a.loading,o=a.scale,s=a.textEnabled,c=a.icon,l=a.label,p=a.text;var d=!s?l||p||null:null;return h("calcite-button",{appearance:e==="solid"?"solid":"outline",class:CSS.button,color:n,disabled:i,iconStart:c,label:l,loading:r,ref:function(a){t.buttonEl=a},round:true,scale:o,title:d,type:"button",width:"auto"},this.textEnabled?this.text:null)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Fab.style=fabCss;export{Fab as calcite_fab};
5
+ * v1.0.0-next.563
6
+ */import{r as registerInstance,h,g as getElement}from"./index-df524d81.js";import{f as focusElement}from"./dom-942728de.js";import{u as updateHostInteraction}from"./interactive-752abe05.js";import"./resources-bb272078.js";import"./guid-8024ea73.js";var CSS={button:"button"};var ICONS={plus:"plus"};var fabCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";var Fab=function(){function t(t){registerInstance(this,t);this.appearance="outline";this.color="neutral";this.disabled=false;this.icon=ICONS.plus;this.loading=false;this.scale="m";this.textEnabled=false}t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){focusElement(this.buttonEl);return[2]}))}))};t.prototype.render=function(){var t=this;var a=this,e=a.appearance,n=a.color,i=a.disabled,r=a.loading,o=a.scale,s=a.textEnabled,l=a.icon,c=a.label,p=a.text;var d=!s?c||p||null:null;return h("calcite-button",{appearance:e==="solid"?"solid":"outline",class:CSS.button,color:n,disabled:i,iconStart:l,label:c,loading:r,ref:function(a){t.buttonEl=a},round:true,scale:o,title:d,type:"button",width:"auto"},this.textEnabled?this.text:null)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Fab.style=fabCss;export{Fab as calcite_fab};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.562
6
- */import{r as registerInstance,c as createEvent,h,F as Fragment,g as getElement}from"./index-bba23176.js";import{f as focusElement}from"./dom-1646ef7c.js";import{u as updateHostInteraction}from"./interactive-1337e441.js";import{f as filter}from"./filter-30980e8a.js";import{d as debounce}from"./debounce-a14daaaf.js";import"./resources-43d91ddb.js";import"./guid-5cfdc287.js";var CSS={container:"container",searchIcon:"search-icon"};var TEXT={filterLabel:"Filter",clear:"Clear filter"};var ICONS={search:"search",close:"x"};var DEBOUNCE_TIMEOUT=250;var filterCss="@-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{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-padding-end:0.25rem;padding-inline-end:0.25rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem;-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";var Filter=function(){function t(t){var e=this;registerInstance(this,t);this.calciteFilterChange=createEvent(this,"calciteFilterChange",6);this.items=[];this.disabled=false;this.filteredItems=[];this.scale="m";this.value="";this.filter=debounce((function(t,i){if(i===void 0){i=false}return e.updateFiltered(filter(e.items,t),i)}),DEBOUNCE_TIMEOUT);this.inputHandler=function(t){var i=t.target;e.value=i.value;e.filter(i.value,true)};this.keyDownHandler=function(t){if(t.key==="Escape"){e.clear();t.preventDefault()}if(t.key==="Enter"){t.preventDefault()}};this.clear=function(){e.value="";e.filter("",true);e.setFocus()}}t.prototype.watchItemsHandler=function(){this.filter(this.value)};t.prototype.valueHandler=function(t){this.filter(t)};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.componentWillLoad=function(){this.filter(this.value)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){focusElement(this.textInput);return[2]}))}))};t.prototype.updateFiltered=function(t,e){if(e===void 0){e=false}this.filteredItems.length=0;this.filteredItems=this.filteredItems.concat(t);if(e){this.calciteFilterChange.emit()}};t.prototype.render=function(){var t=this;var e=this,i=e.disabled,a=e.scale;return h(Fragment,null,h("div",{class:CSS.container},h("label",null,h("calcite-input",{"aria-label":this.intlLabel||TEXT.filterLabel,clearable:true,disabled:i,icon:ICONS.search,intlClear:this.intlClear||TEXT.clear,onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:function(e){t.textInput=e},scale:a,type:"text",value:this.value}))))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{items:["watchItemsHandler"],value:["valueHandler"]}},enumerable:false,configurable:true});return t}();Filter.style=filterCss;export{Filter as calcite_filter};
5
+ * v1.0.0-next.563
6
+ */import{r as registerInstance,c as createEvent,h,F as Fragment,g as getElement}from"./index-df524d81.js";import{f as focusElement}from"./dom-942728de.js";import{u as updateHostInteraction}from"./interactive-752abe05.js";import{f as filter}from"./filter-8232d7a7.js";import{d as debounce}from"./debounce-e4b39d1e.js";import"./resources-bb272078.js";import"./guid-8024ea73.js";var CSS={container:"container",searchIcon:"search-icon"};var TEXT={filterLabel:"Filter",clear:"Clear filter"};var ICONS={search:"search",close:"x"};var DEBOUNCE_TIMEOUT=250;var filterCss="@-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{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-padding-end:0.25rem;padding-inline-end:0.25rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem;-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";var Filter=function(){function t(t){var e=this;registerInstance(this,t);this.calciteFilterChange=createEvent(this,"calciteFilterChange",6);this.items=[];this.disabled=false;this.filteredItems=[];this.scale="m";this.value="";this.filter=debounce((function(t,i){if(i===void 0){i=false}return e.updateFiltered(filter(e.items,t),i)}),DEBOUNCE_TIMEOUT);this.inputHandler=function(t){var i=t.target;e.value=i.value;e.filter(i.value,true)};this.keyDownHandler=function(t){if(t.key==="Escape"){e.clear();t.preventDefault()}if(t.key==="Enter"){t.preventDefault()}};this.clear=function(){e.value="";e.filter("",true);e.setFocus()}}t.prototype.watchItemsHandler=function(){this.filter(this.value)};t.prototype.valueHandler=function(t){this.filter(t)};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.componentWillLoad=function(){this.filter(this.value)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){focusElement(this.textInput);return[2]}))}))};t.prototype.updateFiltered=function(t,e){if(e===void 0){e=false}this.filteredItems.length=0;this.filteredItems=this.filteredItems.concat(t);if(e){this.calciteFilterChange.emit()}};t.prototype.render=function(){var t=this;var e=this,i=e.disabled,a=e.scale;return h(Fragment,null,h("div",{class:CSS.container},h("label",null,h("calcite-input",{"aria-label":this.intlLabel||TEXT.filterLabel,clearable:true,disabled:i,icon:ICONS.search,intlClear:this.intlClear||TEXT.clear,onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:function(e){t.textInput=e},scale:a,type:"text",value:this.value}))))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{items:["watchItemsHandler"],value:["valueHandler"]}},enumerable:false,configurable:true});return t}();Filter.style=filterCss;export{Filter as calcite_filter};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,a,e,n){function i(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.562
6
- */import{r as registerInstance,h,g as getElement}from"./index-bba23176.js";import{c as createObserver}from"./observers-03047594.js";var CSS={frame:"frame",frameAdvancing:"frame--advancing",frameRetreating:"frame--retreating"};var flowCss="@-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{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;padding:0px}:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}:host .frame--advancing{-webkit-animation:calcite-frame-advance var(--calcite-animation-timing);animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{-webkit-animation:calcite-frame-retreat var(--calcite-animation-timing);animation:calcite-frame-retreat var(--calcite-animation-timing)}@-webkit-keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@-webkit-keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}";var Flow=function(){function t(t){var a=this;registerInstance(this,t);this.panelCount=0;this.flowDirection=null;this.panels=[];this.panelItemMutationObserver=createObserver("mutation",(function(){return a.updateFlowProps()}));this.getFlowDirection=function(t,a){var e=t>1;var n=t&&a>1;if(!n&&!e){return null}return a<t?"retreating":"advancing"};this.updateFlowProps=function(){var t=a,e=t.el,n=t.panels;var i=Array.from(e.querySelectorAll("calcite-panel")).filter((function(t){return!t.matches("calcite-panel calcite-panel")}));var r=n.length;var o=i.length;var l=i[o-1];var c=i[o-2];if(o&&l){i.forEach((function(t){t.showBackButton=t===l&&o>1;t.hidden=t!==l}))}if(c){c.menuOpen=false}a.panels=i;if(r!==o){var s=a.getFlowDirection(r,o);a.panelCount=o;a.flowDirection=s}}}t.prototype.back=function(){return __awaiter(this,void 0,void 0,(function(){var t,a,e;return __generator(this,(function(n){t=this.panels;a=t[t.length-1];if(!a){return[2]}e=a.beforeBack?a.beforeBack:function(){return Promise.resolve()};return[2,e.call(a).then((function(){a.remove();return a}))]}))}))};t.prototype.connectedCallback=function(){var t;(t=this.panelItemMutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.updateFlowProps()};t.prototype.disconnectedCallback=function(){var t;(t=this.panelItemMutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.handleCalcitePanelBackClick=function(){this.back()};t.prototype.render=function(){var t;var a=this.flowDirection;var e=(t={},t[CSS.frame]=true,t[CSS.frameAdvancing]=a==="advancing",t[CSS.frameRetreating]=a==="retreating",t);return h("div",{class:e},h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Flow.style=flowCss;export{Flow as calcite_flow};
5
+ * v1.0.0-next.563
6
+ */import{r as registerInstance,h,g as getElement}from"./index-df524d81.js";import{c as createObserver}from"./observers-9aa6c361.js";var CSS={frame:"frame",frameAdvancing:"frame--advancing",frameRetreating:"frame--retreating"};var flowCss="@-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{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;padding:0px}:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}:host .frame--advancing{-webkit-animation:calcite-frame-advance var(--calcite-animation-timing);animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{-webkit-animation:calcite-frame-retreat var(--calcite-animation-timing);animation:calcite-frame-retreat var(--calcite-animation-timing)}@-webkit-keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@-webkit-keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}";var Flow=function(){function t(t){var a=this;registerInstance(this,t);this.panelCount=0;this.flowDirection=null;this.panels=[];this.panelItemMutationObserver=createObserver("mutation",(function(){return a.updateFlowProps()}));this.getFlowDirection=function(t,a){var e=t>1;var n=t&&a>1;if(!n&&!e){return null}return a<t?"retreating":"advancing"};this.updateFlowProps=function(){var t=a,e=t.el,n=t.panels;var i=Array.from(e.querySelectorAll("calcite-panel")).filter((function(t){return!t.matches("calcite-panel calcite-panel")}));var r=n.length;var o=i.length;var l=i[o-1];var c=i[o-2];if(o&&l){i.forEach((function(t){t.showBackButton=t===l&&o>1;t.hidden=t!==l}))}if(c){c.menuOpen=false}a.panels=i;if(r!==o){var s=a.getFlowDirection(r,o);a.panelCount=o;a.flowDirection=s}}}t.prototype.back=function(){return __awaiter(this,void 0,void 0,(function(){var t,a,e;return __generator(this,(function(n){t=this.panels;a=t[t.length-1];if(!a){return[2]}e=a.beforeBack?a.beforeBack:function(){return Promise.resolve()};return[2,e.call(a).then((function(){a.remove();return a}))]}))}))};t.prototype.connectedCallback=function(){var t;(t=this.panelItemMutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.updateFlowProps()};t.prototype.disconnectedCallback=function(){var t;(t=this.panelItemMutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.handleCalcitePanelBackClick=function(){this.back()};t.prototype.render=function(){var t;var a=this.flowDirection;var e=(t={},t[CSS.frame]=true,t[CSS.frameAdvancing]=a==="advancing",t[CSS.frameRetreating]=a==="retreating",t);return h("div",{class:e},h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Flow.style=flowCss;export{Flow as calcite_flow};