@esri/calcite-components 1.0.0-next.545 → 1.0.0-next.546

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 (813) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-e2ff7289.system.js → p-02216b9f.system.js} +2 -2
  5. package/dist/calcite/{p-6585703d.system.entry.js → p-0295edbe.system.entry.js} +2 -2
  6. package/dist/calcite/{p-382ef597.entry.js → p-0421dd74.entry.js} +2 -2
  7. package/dist/calcite/{p-3ca99921.entry.js → p-057bd0fc.entry.js} +2 -2
  8. package/dist/calcite/{p-8678ac36.system.entry.js → p-06bbffbd.system.entry.js} +2 -2
  9. package/dist/calcite/{p-af8e7771.js → p-0886cbcc.js} +1 -1
  10. package/dist/calcite/{p-6d99324d.js → p-08fa2c80.js} +1 -1
  11. package/dist/calcite/{p-57921e33.system.js → p-0a0d1cb0.system.js} +1 -1
  12. package/dist/calcite/{p-d1a98bc1.system.entry.js → p-0b3ca019.system.entry.js} +2 -2
  13. package/dist/calcite/{p-44aa00e2.js → p-0d03d496.js} +2 -2
  14. package/dist/calcite/{p-92871457.entry.js → p-1098041f.entry.js} +2 -2
  15. package/dist/calcite/{p-7d1f33a7.js → p-10b19ba8.js} +1 -1
  16. package/dist/calcite/{p-783fcd16.system.js → p-136c3cd0.system.js} +2 -2
  17. package/dist/calcite/{p-686faef5.entry.js → p-139eb827.entry.js} +2 -2
  18. package/dist/calcite/{p-55b60020.js → p-151f7beb.js} +1 -1
  19. package/dist/calcite/{p-8bb47f2c.entry.js → p-17107851.entry.js} +2 -2
  20. package/dist/calcite/{p-d687626a.entry.js → p-177a9b81.entry.js} +2 -2
  21. package/dist/calcite/{p-6a8dca5c.js → p-19539ba4.js} +2 -2
  22. package/dist/calcite/{p-fd17bea9.system.entry.js → p-1bc2f26c.system.entry.js} +2 -2
  23. package/dist/calcite/{p-a18a4874.system.js → p-1cac218e.system.js} +2 -2
  24. package/dist/calcite/{p-bb1ffcd5.system.entry.js → p-1e4d523e.system.entry.js} +2 -2
  25. package/dist/calcite/{p-a2f31213.system.entry.js → p-201628e3.system.entry.js} +2 -2
  26. package/dist/calcite/p-205b4e6b.entry.js +6 -0
  27. package/dist/calcite/{p-8b0ed7a6.entry.js → p-21adbea8.entry.js} +2 -2
  28. package/dist/calcite/{p-0933dd38.entry.js → p-22f338eb.entry.js} +2 -2
  29. package/dist/calcite/{p-28c957d6.system.js → p-23f34796.system.js} +1 -1
  30. package/dist/calcite/{p-91a63409.js → p-24c30a27.js} +1 -1
  31. package/dist/calcite/{p-49dc69ef.system.entry.js → p-2677375e.system.entry.js} +2 -2
  32. package/dist/calcite/{p-c1f5e0e3.system.entry.js → p-2790647b.system.entry.js} +2 -2
  33. package/dist/calcite/{p-08017521.system.entry.js → p-2927db6b.system.entry.js} +2 -2
  34. package/dist/calcite/{p-07f1ec4c.system.entry.js → p-2a095a3e.system.entry.js} +2 -2
  35. package/dist/calcite/{p-91cf193c.system.js → p-2a626bdb.system.js} +1 -1
  36. package/dist/calcite/{p-06712b22.js → p-2bcd08bf.js} +2 -2
  37. package/dist/calcite/{p-5d4755cf.js → p-2d3a3d43.js} +1 -1
  38. package/dist/calcite/{p-79fb832a.system.entry.js → p-2ef45707.system.entry.js} +2 -2
  39. package/dist/calcite/{p-f15c2e86.system.entry.js → p-2f414aee.system.entry.js} +2 -2
  40. package/dist/calcite/{p-f381813f.system.js → p-34924a00.system.js} +1 -1
  41. package/dist/calcite/{p-e29707d8.system.js → p-3c6eb650.system.js} +1 -1
  42. package/dist/calcite/{p-48ec1e5b.entry.js → p-3e513223.entry.js} +2 -2
  43. package/dist/calcite/{p-9c2366ae.entry.js → p-40af4aac.entry.js} +2 -2
  44. package/dist/calcite/{p-36bb89b0.entry.js → p-4151bf15.entry.js} +2 -2
  45. package/dist/calcite/{p-82fd4d63.entry.js → p-42207613.entry.js} +2 -2
  46. package/dist/calcite/{p-9bad1791.system.entry.js → p-4259b43c.system.entry.js} +2 -2
  47. package/dist/calcite/{p-2a2ed05c.system.js → p-43646338.system.js} +2 -2
  48. package/dist/calcite/{p-86a3be16.system.js → p-448454b9.system.js} +1 -1
  49. package/dist/calcite/{p-40f4db01.system.js → p-4571f3d7.system.js} +2 -2
  50. package/dist/calcite/{p-10933bb8.system.entry.js → p-4685e0b6.system.entry.js} +2 -2
  51. package/dist/calcite/{p-a8eded9b.entry.js → p-481a71b3.entry.js} +2 -2
  52. package/dist/calcite/{p-f73ac0d1.js → p-48d5e534.js} +1 -1
  53. package/dist/calcite/{p-92e60516.js → p-48f112dd.js} +2 -2
  54. package/dist/calcite/{p-9e5fa3ce.entry.js → p-49154a65.entry.js} +2 -2
  55. package/dist/calcite/{p-a60da399.system.entry.js → p-49379dbf.system.entry.js} +2 -2
  56. package/dist/calcite/{p-d0e461cc.system.entry.js → p-4cce6f97.system.entry.js} +2 -2
  57. package/dist/calcite/{p-4c03898a.system.entry.js → p-4daba25e.system.entry.js} +2 -2
  58. package/dist/calcite/{p-b1ef2c4c.entry.js → p-4e469873.entry.js} +2 -2
  59. package/dist/calcite/{p-bd91b3e2.system.entry.js → p-539f9920.system.entry.js} +2 -2
  60. package/dist/calcite/{p-ebb01425.entry.js → p-53e1d2bf.entry.js} +2 -2
  61. package/dist/calcite/{p-836f2267.entry.js → p-53fe8e63.entry.js} +2 -2
  62. package/dist/calcite/{p-49c3daaa.system.entry.js → p-541b3c61.system.entry.js} +2 -2
  63. package/dist/calcite/{p-ddc68710.system.js → p-547db65f.system.js} +1 -1
  64. package/dist/calcite/{p-366dc49f.entry.js → p-5733bc3b.entry.js} +2 -2
  65. package/dist/calcite/{p-cf15be2d.js → p-5858c82e.js} +1 -1
  66. package/dist/calcite/{p-dec72229.system.entry.js → p-5900acff.system.entry.js} +2 -2
  67. package/dist/calcite/{p-db787990.entry.js → p-5b6cfe27.entry.js} +2 -2
  68. package/dist/calcite/{p-ff369cc9.system.entry.js → p-5e71e002.system.entry.js} +2 -2
  69. package/dist/calcite/{p-865547b6.js → p-5ec29b81.js} +1 -1
  70. package/dist/calcite/{p-fc15b223.system.js → p-5f911ea1.system.js} +1 -1
  71. package/dist/calcite/{p-4b6e7d5f.entry.js → p-693f0bf1.entry.js} +2 -2
  72. package/dist/calcite/{p-8d4b4dca.entry.js → p-69e9a205.entry.js} +2 -2
  73. package/dist/calcite/p-6bc44fc2.system.js +6 -0
  74. package/dist/calcite/{p-45381bd8.system.entry.js → p-6dce7b9f.system.entry.js} +2 -2
  75. package/dist/calcite/{p-f89e2c44.system.entry.js → p-6dd29803.system.entry.js} +2 -2
  76. package/dist/calcite/{p-40fd0812.system.entry.js → p-74557e9a.system.entry.js} +2 -2
  77. package/dist/calcite/{p-af77d6d8.entry.js → p-7cbdea48.entry.js} +2 -2
  78. package/dist/calcite/{p-8fdb3372.system.entry.js → p-7ee0fe62.system.entry.js} +2 -2
  79. package/dist/calcite/{p-77cd5ae7.system.entry.js → p-7f0446ac.system.entry.js} +2 -2
  80. package/dist/calcite/{p-adf03aa5.entry.js → p-8188fd3f.entry.js} +2 -2
  81. package/dist/calcite/{p-b9204866.system.entry.js → p-82945a41.system.entry.js} +2 -2
  82. package/dist/calcite/{p-e0f4fa7a.entry.js → p-8294e599.entry.js} +2 -2
  83. package/dist/calcite/{p-216924b5.system.js → p-82e11600.system.js} +1 -1
  84. package/dist/calcite/{p-33efb339.entry.js → p-865927e4.entry.js} +2 -2
  85. package/dist/calcite/{p-3d0f9058.entry.js → p-894cca00.entry.js} +2 -2
  86. package/dist/calcite/{p-09513558.system.entry.js → p-8aaaed45.system.entry.js} +2 -2
  87. package/dist/calcite/{p-5502ed77.system.entry.js → p-8ad9fd50.system.entry.js} +2 -2
  88. package/dist/calcite/{p-7839585a.system.entry.js → p-8b3841cd.system.entry.js} +2 -2
  89. package/dist/calcite/{p-7835d9c6.entry.js → p-8b5e4f95.entry.js} +2 -2
  90. package/dist/calcite/{p-891bd723.system.entry.js → p-8d641cbd.system.entry.js} +2 -2
  91. package/dist/calcite/{p-97399359.system.entry.js → p-8dcdcd89.system.entry.js} +2 -2
  92. package/dist/calcite/{p-a597179f.system.entry.js → p-8fa28e62.system.entry.js} +2 -2
  93. package/dist/calcite/{p-811c0946.entry.js → p-8fe0f050.entry.js} +2 -2
  94. package/dist/calcite/p-90b7324d.entry.js +6 -0
  95. package/dist/calcite/{p-68b68cb1.entry.js → p-916069f1.entry.js} +2 -2
  96. package/dist/calcite/{p-c9b4869d.js → p-926edbb1.js} +1 -1
  97. package/dist/calcite/{p-66604bf0.entry.js → p-92b90198.entry.js} +2 -2
  98. package/dist/calcite/{p-a7cd6e07.system.entry.js → p-92c6f240.system.entry.js} +2 -2
  99. package/dist/calcite/{p-4f706cb7.js → p-92d22275.js} +2 -2
  100. package/dist/calcite/{p-b2dcf840.system.js → p-92ead0d0.system.js} +1 -1
  101. package/dist/calcite/{p-10b5a7d3.js → p-9458556f.js} +1 -1
  102. package/dist/calcite/{p-1c3d9a00.system.js → p-9613b933.system.js} +2 -2
  103. package/dist/calcite/{p-c87b0281.system.js → p-974a63ce.system.js} +2 -2
  104. package/dist/calcite/{p-4c423666.system.entry.js → p-9a9161ed.system.entry.js} +2 -2
  105. package/dist/calcite/{p-cea09e89.system.entry.js → p-9caadae3.system.entry.js} +2 -2
  106. package/dist/calcite/{p-c3be24b2.entry.js → p-9dc38e13.entry.js} +2 -2
  107. package/dist/calcite/{p-ef00f12b.system.entry.js → p-9f313ef5.system.entry.js} +2 -2
  108. package/dist/calcite/{p-f0828b38.system.entry.js → p-a2e3c2d1.system.entry.js} +2 -2
  109. package/dist/calcite/{p-aa2304a9.system.entry.js → p-a30153d1.system.entry.js} +2 -2
  110. package/dist/calcite/{p-26cef117.system.js → p-a34b8ade.system.js} +2 -2
  111. package/dist/calcite/{p-b080d795.system.entry.js → p-a40d7f62.system.entry.js} +2 -2
  112. package/dist/calcite/{p-9078536b.entry.js → p-a4691d3e.entry.js} +2 -2
  113. package/dist/calcite/{p-fe79b4f5.entry.js → p-a4c67e7d.entry.js} +2 -2
  114. package/dist/calcite/{p-4a508f15.system.entry.js → p-a66fc450.system.entry.js} +2 -2
  115. package/dist/calcite/{p-ff782b2c.system.entry.js → p-abae4444.system.entry.js} +2 -2
  116. package/dist/calcite/{p-cff58306.entry.js → p-ae3c6494.entry.js} +2 -2
  117. package/dist/calcite/{p-165d407f.entry.js → p-b0312aef.entry.js} +2 -2
  118. package/dist/calcite/{p-19acf1aa.entry.js → p-b0cf0495.entry.js} +2 -2
  119. package/dist/calcite/{p-2abc77ed.entry.js → p-b46745fb.entry.js} +2 -2
  120. package/dist/calcite/{p-0b7eff00.entry.js → p-b5c78d34.entry.js} +2 -2
  121. package/dist/calcite/{p-77db2b28.system.js → p-ba2125c9.system.js} +1 -1
  122. package/dist/calcite/p-bd0d43c4.system.entry.js +6 -0
  123. package/dist/calcite/{p-a11cc161.entry.js → p-bd4ed55e.entry.js} +2 -2
  124. package/dist/calcite/{p-c45913f4.entry.js → p-c2edf0cc.entry.js} +2 -2
  125. package/dist/calcite/{p-96887b19.entry.js → p-c4925494.entry.js} +2 -2
  126. package/dist/calcite/{p-867ea31c.js → p-c7408204.js} +1 -1
  127. package/dist/calcite/{p-c9bcd72e.system.entry.js → p-c76c65af.system.entry.js} +2 -2
  128. package/dist/calcite/{p-a84c51e4.entry.js → p-c98dc5ab.entry.js} +2 -2
  129. package/dist/calcite/{p-1ab61780.entry.js → p-cb9ce609.entry.js} +2 -2
  130. package/dist/calcite/{p-2a0cfe91.system.entry.js → p-cbed338d.system.entry.js} +2 -2
  131. package/dist/calcite/{p-50aa2d9a.entry.js → p-cca2121b.entry.js} +2 -2
  132. package/dist/calcite/{p-171f79cd.system.entry.js → p-cf6dc718.system.entry.js} +2 -2
  133. package/dist/calcite/{p-51528f35.js → p-cf792343.js} +2 -2
  134. package/dist/calcite/{p-f5882583.entry.js → p-cfaf4b90.entry.js} +2 -2
  135. package/dist/calcite/{p-4c06220c.entry.js → p-cfb8506a.entry.js} +2 -2
  136. package/dist/calcite/{p-46eb815c.system.entry.js → p-cfdeb347.system.entry.js} +2 -2
  137. package/dist/calcite/{p-d74b6640.system.entry.js → p-d0209238.system.entry.js} +2 -2
  138. package/dist/calcite/{p-ddea9f57.entry.js → p-d0a12bb3.entry.js} +2 -2
  139. package/dist/calcite/{p-cd5d0f01.system.entry.js → p-d0c1af74.system.entry.js} +2 -2
  140. package/dist/calcite/{p-abddf259.js → p-d0c48b94.js} +2 -2
  141. package/dist/calcite/{p-d1474b1a.entry.js → p-d124199e.entry.js} +2 -2
  142. package/dist/calcite/{p-14120933.system.js → p-d23a7bdb.system.js} +1 -1
  143. package/dist/calcite/{p-61a7329d.entry.js → p-d280deb9.entry.js} +2 -2
  144. package/dist/calcite/{p-39572acc.system.entry.js → p-d461d709.system.entry.js} +2 -2
  145. package/dist/calcite/{p-f9ea2e8c.system.entry.js → p-d6e6d4bb.system.entry.js} +2 -2
  146. package/dist/calcite/{p-8109972f.entry.js → p-daaf7328.entry.js} +2 -2
  147. package/dist/calcite/{p-30a83253.js → p-dab190b7.js} +1 -1
  148. package/dist/calcite/{p-3960c1a2.system.entry.js → p-dbb0230a.system.entry.js} +2 -2
  149. package/dist/calcite/{p-ffa9e0fb.entry.js → p-ddd8a08f.entry.js} +2 -2
  150. package/dist/calcite/{p-831bee4b.system.entry.js → p-df1e2315.system.entry.js} +2 -2
  151. package/dist/calcite/p-e03e8870.js +6 -0
  152. package/dist/calcite/{p-d787ef6f.system.entry.js → p-e0f5363a.system.entry.js} +2 -2
  153. package/dist/calcite/{p-fac07d53.js → p-e28b78bd.js} +2 -2
  154. package/dist/calcite/{p-dbe31568.entry.js → p-e4355e90.entry.js} +2 -2
  155. package/dist/calcite/{p-5cc19e1c.system.js → p-e4ea21f3.system.js} +2 -2
  156. package/dist/calcite/{p-fca44ef4.js → p-e624e405.js} +2 -2
  157. package/dist/calcite/{p-a5617c0b.system.js → p-e6503720.system.js} +1 -1
  158. package/dist/calcite/{p-fcc86332.entry.js → p-e893594b.entry.js} +2 -2
  159. package/dist/calcite/{p-34e0d018.entry.js → p-e9bf364b.entry.js} +2 -2
  160. package/dist/calcite/{p-4754fd7f.system.js → p-eb356f21.system.js} +2 -2
  161. package/dist/calcite/{p-d5d6b4f2.system.js → p-ec090ffd.system.js} +2 -2
  162. package/dist/calcite/{p-1d115ed6.system.js → p-ee21648b.system.js} +1 -1
  163. package/dist/calcite/{p-0fed34a3.system.entry.js → p-ef485903.system.entry.js} +2 -2
  164. package/dist/calcite/{p-d26be0a8.entry.js → p-efe14e09.entry.js} +2 -2
  165. package/dist/calcite/{p-fadc93cf.entry.js → p-f2e22772.entry.js} +2 -2
  166. package/dist/calcite/{p-0eed4434.entry.js → p-f4355372.entry.js} +2 -2
  167. package/dist/calcite/{p-cf35f23d.system.entry.js → p-f5985220.system.entry.js} +2 -2
  168. package/dist/calcite/{p-421b1041.system.entry.js → p-f8f8728c.system.entry.js} +2 -2
  169. package/dist/calcite/{p-426a08ee.system.entry.js → p-fbe9eaae.system.entry.js} +2 -2
  170. package/dist/calcite/{p-51c4745a.system.entry.js → p-fcfa3e6e.system.entry.js} +2 -2
  171. package/dist/calcite/{p-0dd3325b.js → p-fdf1da0d.js} +2 -2
  172. package/dist/cjs/{ExpandToggle-bb606091.js → ExpandToggle-2ea58967.js} +5 -5
  173. package/dist/cjs/{Heading-0f2e7118.js → Heading-7ce05c1a.js} +2 -2
  174. package/dist/cjs/{array-e09585d4.js → array-21f36bf2.js} +1 -1
  175. package/dist/cjs/calcite-accordion_2.cjs.entry.js +6 -6
  176. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  177. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  178. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  179. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  180. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  181. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  182. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  183. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  184. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  185. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  186. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  187. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  188. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  189. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  190. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  191. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  192. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  193. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  194. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  195. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  196. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  197. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  198. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  199. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  200. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  201. package/dist/cjs/calcite-input-number.cjs.entry.js +11 -11
  202. package/dist/cjs/calcite-input-text.cjs.entry.js +8 -8
  203. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
  204. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  205. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  206. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  207. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  208. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  209. package/dist/cjs/calcite-modal.cjs.entry.js +18 -10
  210. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  211. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  212. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  213. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  214. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  215. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  216. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  217. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  218. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  219. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  220. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  221. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  222. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  223. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  224. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  225. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  226. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  227. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  228. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  229. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  230. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  231. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  232. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  233. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  234. package/dist/cjs/calcite.cjs.js +2 -2
  235. package/dist/cjs/{conditionalSlot-72d7279a.js → conditionalSlot-3ea0b64b.js} +3 -3
  236. package/dist/cjs/{debounce-d03b3c0d.js → debounce-4fa0803f.js} +1 -1
  237. package/dist/cjs/{dom-7d31f23c.js → dom-e59eb8f3.js} +2 -2
  238. package/dist/cjs/{filter-5d0a59f0.js → filter-a7c2b4cf.js} +2 -2
  239. package/dist/cjs/{floating-ui-2421d0a3.js → floating-ui-7676bd8c.js} +2 -2
  240. package/dist/cjs/{form-f81a1159.js → form-2b53b5c4.js} +3 -3
  241. package/dist/cjs/{guid-c4d68bba.js → guid-7f973472.js} +1 -1
  242. package/dist/cjs/{index-a14d74bf.js → index-172d4982.js} +1 -1
  243. package/dist/cjs/index.cjs.js +1 -1
  244. package/dist/cjs/{interactive-7dd3d0fb.js → interactive-e14504a9.js} +1 -1
  245. package/dist/cjs/{interfaces-a7cfada4.js → interfaces-257d29d9.js} +1 -1
  246. package/dist/cjs/{key-4c570734.js → key-93750c3e.js} +1 -1
  247. package/dist/cjs/{label-db6eed6b.js → label-f15d04b0.js} +2 -2
  248. package/dist/cjs/loader.cjs.js +2 -2
  249. package/dist/cjs/{locale-d072cf3c.js → locale-5107b9fc.js} +2 -2
  250. package/dist/cjs/{math-fbf643c3.js → math-d8ef447b.js} +1 -1
  251. package/dist/cjs/{observers-36d8653e.js → observers-454447f2.js} +1 -1
  252. package/dist/cjs/{resources-0db49bd5.js → resources-164e720f.js} +1 -1
  253. package/dist/cjs/{resources-bb07fd5f.js → resources-714cceb7.js} +1 -1
  254. package/dist/cjs/{resources-71fa072e.js → resources-877c5f0c.js} +5 -5
  255. package/dist/cjs/{resources-02e2cc33.js → resources-e19ef5ae.js} +3 -3
  256. package/dist/cjs/{sortable.esm-9e46a946.js → sortable.esm-f6f672c1.js} +1 -1
  257. package/dist/cjs/{utils-83aa80f3.js → utils-b63186fa.js} +1 -1
  258. package/dist/collection/components/accordion/accordion.js +1 -1
  259. package/dist/collection/components/accordion/interfaces.js +1 -1
  260. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  261. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  262. package/dist/collection/components/accordion-item/resources.js +1 -1
  263. package/dist/collection/components/action/action.js +1 -1
  264. package/dist/collection/components/action/resources.js +1 -1
  265. package/dist/collection/components/action-bar/action-bar.js +1 -1
  266. package/dist/collection/components/action-bar/resources.js +1 -1
  267. package/dist/collection/components/action-bar/utils.js +1 -1
  268. package/dist/collection/components/action-group/action-group.js +1 -1
  269. package/dist/collection/components/action-group/resources.js +1 -1
  270. package/dist/collection/components/action-menu/action-menu.js +1 -1
  271. package/dist/collection/components/action-menu/resources.js +1 -1
  272. package/dist/collection/components/action-pad/action-pad.js +1 -1
  273. package/dist/collection/components/action-pad/resources.js +1 -1
  274. package/dist/collection/components/alert/alert.js +1 -1
  275. package/dist/collection/components/alert/interfaces.js +1 -1
  276. package/dist/collection/components/alert/resources.js +1 -1
  277. package/dist/collection/components/avatar/avatar.js +1 -1
  278. package/dist/collection/components/avatar/utils.js +1 -1
  279. package/dist/collection/components/block/block.js +1 -1
  280. package/dist/collection/components/block/resources.js +1 -1
  281. package/dist/collection/components/block-section/block-section.js +1 -1
  282. package/dist/collection/components/block-section/interfaces.js +1 -1
  283. package/dist/collection/components/block-section/resources.js +1 -1
  284. package/dist/collection/components/button/button.js +1 -1
  285. package/dist/collection/components/button/interfaces.js +1 -1
  286. package/dist/collection/components/button/resources.js +1 -1
  287. package/dist/collection/components/card/card.js +1 -1
  288. package/dist/collection/components/card/resources.js +1 -1
  289. package/dist/collection/components/checkbox/checkbox.js +1 -1
  290. package/dist/collection/components/chip/chip.js +1 -1
  291. package/dist/collection/components/chip/interfaces.js +1 -1
  292. package/dist/collection/components/chip/resources.js +1 -1
  293. package/dist/collection/components/color-picker/color-picker.js +1 -1
  294. package/dist/collection/components/color-picker/interfaces.js +1 -1
  295. package/dist/collection/components/color-picker/resources.js +1 -1
  296. package/dist/collection/components/color-picker/utils.js +1 -1
  297. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  298. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  299. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  300. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  301. package/dist/collection/components/combobox/combobox.js +1 -1
  302. package/dist/collection/components/combobox/interfaces.js +1 -1
  303. package/dist/collection/components/combobox/resources.js +1 -1
  304. package/dist/collection/components/combobox/utils.js +1 -1
  305. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  306. package/dist/collection/components/combobox-item/resources.js +1 -1
  307. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  308. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  309. package/dist/collection/components/date-picker/date-picker.js +1 -1
  310. package/dist/collection/components/date-picker/interfaces.js +1 -1
  311. package/dist/collection/components/date-picker/resources.js +1 -1
  312. package/dist/collection/components/date-picker/utils.js +1 -1
  313. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  314. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  315. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  316. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  317. package/dist/collection/components/dropdown/dropdown.js +1 -1
  318. package/dist/collection/components/dropdown/interfaces.js +1 -1
  319. package/dist/collection/components/dropdown/resources.js +1 -1
  320. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  321. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  322. package/dist/collection/components/dropdown-group/resources.js +1 -1
  323. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  324. package/dist/collection/components/dropdown-item/resources.js +1 -1
  325. package/dist/collection/components/fab/fab.js +1 -1
  326. package/dist/collection/components/fab/resources.js +1 -1
  327. package/dist/collection/components/filter/filter.js +1 -1
  328. package/dist/collection/components/filter/resources.js +1 -1
  329. package/dist/collection/components/flow/flow.js +1 -1
  330. package/dist/collection/components/flow/interfaces.js +1 -1
  331. package/dist/collection/components/flow/resources.js +1 -1
  332. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  333. package/dist/collection/components/functional/Heading.js +1 -1
  334. package/dist/collection/components/graph/graph.js +1 -1
  335. package/dist/collection/components/graph/interfaces.js +1 -1
  336. package/dist/collection/components/graph/util.js +1 -1
  337. package/dist/collection/components/handle/handle.js +1 -1
  338. package/dist/collection/components/handle/resources.js +1 -1
  339. package/dist/collection/components/icon/icon.js +1 -1
  340. package/dist/collection/components/icon/resources.js +1 -1
  341. package/dist/collection/components/icon/utils.js +1 -1
  342. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  343. package/dist/collection/components/inline-editable/resources.js +1 -1
  344. package/dist/collection/components/input/input.js +1 -1
  345. package/dist/collection/components/input/interfaces.js +1 -1
  346. package/dist/collection/components/input/resources.js +1 -1
  347. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  348. package/dist/collection/components/input-date-picker/resources.js +1 -1
  349. package/dist/collection/components/input-message/input-message.js +1 -1
  350. package/dist/collection/components/input-message/interfaces.js +1 -1
  351. package/dist/collection/components/input-number/input-number.js +1 -1
  352. package/dist/collection/components/input-number/interfaces.js +1 -1
  353. package/dist/collection/components/input-number/resources.js +1 -1
  354. package/dist/collection/components/input-text/input-text.js +1 -1
  355. package/dist/collection/components/input-text/resources.js +1 -1
  356. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  357. package/dist/collection/components/interfaces.js +1 -1
  358. package/dist/collection/components/label/label.js +1 -1
  359. package/dist/collection/components/label/resources.js +1 -1
  360. package/dist/collection/components/link/link.js +1 -1
  361. package/dist/collection/components/list/list.js +1 -1
  362. package/dist/collection/components/list/resources.js +1 -1
  363. package/dist/collection/components/list-item/list-item.js +1 -1
  364. package/dist/collection/components/list-item/resources.js +1 -1
  365. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  366. package/dist/collection/components/list-item-group/resources.js +1 -1
  367. package/dist/collection/components/loader/loader.js +1 -1
  368. package/dist/collection/components/modal/interfaces.js +1 -1
  369. package/dist/collection/components/modal/modal.css +0 -5
  370. package/dist/collection/components/modal/modal.js +12 -4
  371. package/dist/collection/components/modal/resources.js +1 -1
  372. package/dist/collection/components/notice/notice.js +1 -1
  373. package/dist/collection/components/notice/resources.js +1 -1
  374. package/dist/collection/components/option/option.js +1 -1
  375. package/dist/collection/components/option-group/option-group.js +1 -1
  376. package/dist/collection/components/pagination/pagination.js +1 -1
  377. package/dist/collection/components/pagination/resources.js +1 -1
  378. package/dist/collection/components/panel/panel.js +1 -1
  379. package/dist/collection/components/panel/resources.js +1 -1
  380. package/dist/collection/components/pick-list/pick-list.js +1 -1
  381. package/dist/collection/components/pick-list/resources.js +1 -1
  382. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  383. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  384. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  385. package/dist/collection/components/pick-list-group/resources.js +1 -1
  386. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  387. package/dist/collection/components/pick-list-item/resources.js +1 -1
  388. package/dist/collection/components/popover/PopoverManager.js +1 -1
  389. package/dist/collection/components/popover/popover.js +1 -1
  390. package/dist/collection/components/popover/resources.js +1 -1
  391. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  392. package/dist/collection/components/progress/progress.js +1 -1
  393. package/dist/collection/components/radio-button/radio-button.js +1 -1
  394. package/dist/collection/components/radio-button/resources.js +1 -1
  395. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  396. package/dist/collection/components/radio-group/interfaces.js +1 -1
  397. package/dist/collection/components/radio-group/radio-group.js +1 -1
  398. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  399. package/dist/collection/components/radio-group-item/resources.js +1 -1
  400. package/dist/collection/components/rating/rating.js +1 -1
  401. package/dist/collection/components/rating/resources.js +1 -1
  402. package/dist/collection/components/scrim/resources.js +1 -1
  403. package/dist/collection/components/scrim/scrim.js +1 -1
  404. package/dist/collection/components/select/resources.js +1 -1
  405. package/dist/collection/components/select/select.js +1 -1
  406. package/dist/collection/components/shell/resources.js +1 -1
  407. package/dist/collection/components/shell/shell.js +1 -1
  408. package/dist/collection/components/shell-center-row/resources.js +1 -1
  409. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  410. package/dist/collection/components/shell-panel/resources.js +1 -1
  411. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  412. package/dist/collection/components/slider/slider.js +1 -1
  413. package/dist/collection/components/sortable-list/resources.js +1 -1
  414. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  415. package/dist/collection/components/split-button/resources.js +1 -1
  416. package/dist/collection/components/split-button/split-button.js +1 -1
  417. package/dist/collection/components/stepper/interfaces.js +1 -1
  418. package/dist/collection/components/stepper/stepper.js +1 -1
  419. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  420. package/dist/collection/components/switch/switch.js +1 -1
  421. package/dist/collection/components/tab/interfaces.js +1 -1
  422. package/dist/collection/components/tab/tab.js +1 -1
  423. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  424. package/dist/collection/components/tab-title/tab-title.js +1 -1
  425. package/dist/collection/components/tabs/interfaces.js +1 -1
  426. package/dist/collection/components/tabs/resources.js +1 -1
  427. package/dist/collection/components/tabs/tabs.js +1 -1
  428. package/dist/collection/components/tile/resources.js +1 -1
  429. package/dist/collection/components/tile/tile.js +1 -1
  430. package/dist/collection/components/tile-select/interfaces.js +1 -1
  431. package/dist/collection/components/tile-select/resources.js +1 -1
  432. package/dist/collection/components/tile-select/tile-select.js +1 -1
  433. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  434. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  435. package/dist/collection/components/time-picker/resources.js +1 -1
  436. package/dist/collection/components/time-picker/time-picker.js +1 -1
  437. package/dist/collection/components/tip/resources.js +1 -1
  438. package/dist/collection/components/tip/tip.js +1 -1
  439. package/dist/collection/components/tip-group/tip-group.js +1 -1
  440. package/dist/collection/components/tip-manager/resources.js +1 -1
  441. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  442. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  443. package/dist/collection/components/tooltip/resources.js +1 -1
  444. package/dist/collection/components/tooltip/tooltip.js +1 -1
  445. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  446. package/dist/collection/components/tree/interfaces.js +1 -1
  447. package/dist/collection/components/tree/tree.js +1 -1
  448. package/dist/collection/components/tree-item/interfaces.js +1 -1
  449. package/dist/collection/components/tree-item/resources.js +1 -1
  450. package/dist/collection/components/tree-item/tree-item.js +1 -1
  451. package/dist/collection/components/value-list/interfaces.js +1 -1
  452. package/dist/collection/components/value-list/resources.js +1 -1
  453. package/dist/collection/components/value-list/utils.js +1 -1
  454. package/dist/collection/components/value-list/value-list.js +1 -1
  455. package/dist/collection/components/value-list-item/resources.js +1 -1
  456. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  457. package/dist/collection/utils/array.js +1 -1
  458. package/dist/collection/utils/conditionalSlot.js +1 -1
  459. package/dist/collection/utils/date.js +1 -1
  460. package/dist/collection/utils/dom.js +1 -1
  461. package/dist/collection/utils/filter.js +1 -1
  462. package/dist/collection/utils/floating-ui.js +1 -1
  463. package/dist/collection/utils/form.js +1 -1
  464. package/dist/collection/utils/globalAttributes.js +1 -1
  465. package/dist/collection/utils/guid.js +1 -1
  466. package/dist/collection/utils/interactive.js +1 -1
  467. package/dist/collection/utils/key.js +1 -1
  468. package/dist/collection/utils/label.js +1 -1
  469. package/dist/collection/utils/locale.js +1 -1
  470. package/dist/collection/utils/math.js +1 -1
  471. package/dist/collection/utils/number.js +1 -1
  472. package/dist/collection/utils/observers.js +1 -1
  473. package/dist/collection/utils/openCloseComponent.js +1 -1
  474. package/dist/collection/utils/resources.js +1 -1
  475. package/dist/collection/utils/time.js +1 -1
  476. package/dist/components/ExpandToggle.js +1 -1
  477. package/dist/components/Heading.js +1 -1
  478. package/dist/components/action-group.js +1 -1
  479. package/dist/components/action-menu.js +1 -1
  480. package/dist/components/action.js +1 -1
  481. package/dist/components/array.js +1 -1
  482. package/dist/components/button.js +1 -1
  483. package/dist/components/calcite-accordion-item.js +1 -1
  484. package/dist/components/calcite-accordion.js +1 -1
  485. package/dist/components/calcite-action-bar.js +1 -1
  486. package/dist/components/calcite-action-group.js +1 -1
  487. package/dist/components/calcite-action-menu.js +1 -1
  488. package/dist/components/calcite-action-pad.js +1 -1
  489. package/dist/components/calcite-action.js +1 -1
  490. package/dist/components/calcite-alert.js +1 -1
  491. package/dist/components/calcite-avatar.js +1 -1
  492. package/dist/components/calcite-block-section.js +1 -1
  493. package/dist/components/calcite-block.js +1 -1
  494. package/dist/components/calcite-button.js +1 -1
  495. package/dist/components/calcite-card.js +1 -1
  496. package/dist/components/calcite-checkbox.js +1 -1
  497. package/dist/components/calcite-chip.js +1 -1
  498. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  499. package/dist/components/calcite-color-picker-swatch.js +1 -1
  500. package/dist/components/calcite-color-picker.js +1 -1
  501. package/dist/components/calcite-combobox-item-group.js +1 -1
  502. package/dist/components/calcite-combobox-item.js +1 -1
  503. package/dist/components/calcite-combobox.js +1 -1
  504. package/dist/components/calcite-date-picker-day.js +1 -1
  505. package/dist/components/calcite-date-picker-month-header.js +1 -1
  506. package/dist/components/calcite-date-picker-month.js +1 -1
  507. package/dist/components/calcite-date-picker.js +1 -1
  508. package/dist/components/calcite-dropdown-group.js +1 -1
  509. package/dist/components/calcite-dropdown-item.js +1 -1
  510. package/dist/components/calcite-dropdown.js +1 -1
  511. package/dist/components/calcite-fab.js +1 -1
  512. package/dist/components/calcite-filter.js +1 -1
  513. package/dist/components/calcite-flow.js +1 -1
  514. package/dist/components/calcite-graph.js +1 -1
  515. package/dist/components/calcite-handle.js +1 -1
  516. package/dist/components/calcite-icon.js +1 -1
  517. package/dist/components/calcite-inline-editable.js +1 -1
  518. package/dist/components/calcite-input-date-picker.js +1 -1
  519. package/dist/components/calcite-input-message.js +1 -1
  520. package/dist/components/calcite-input-number.js +1 -1
  521. package/dist/components/calcite-input-text.js +1 -1
  522. package/dist/components/calcite-input-time-picker.js +1 -1
  523. package/dist/components/calcite-input.js +1 -1
  524. package/dist/components/calcite-label.js +1 -1
  525. package/dist/components/calcite-link.js +1 -1
  526. package/dist/components/calcite-list-item-group.js +1 -1
  527. package/dist/components/calcite-list-item.js +1 -1
  528. package/dist/components/calcite-list.js +1 -1
  529. package/dist/components/calcite-loader.js +1 -1
  530. package/dist/components/calcite-modal.js +13 -5
  531. package/dist/components/calcite-notice.js +1 -1
  532. package/dist/components/calcite-option-group.js +1 -1
  533. package/dist/components/calcite-option.js +1 -1
  534. package/dist/components/calcite-pagination.js +1 -1
  535. package/dist/components/calcite-panel.js +1 -1
  536. package/dist/components/calcite-pick-list-group.js +1 -1
  537. package/dist/components/calcite-pick-list-item.js +1 -1
  538. package/dist/components/calcite-pick-list.js +1 -1
  539. package/dist/components/calcite-popover-manager.js +1 -1
  540. package/dist/components/calcite-popover.js +1 -1
  541. package/dist/components/calcite-progress.js +1 -1
  542. package/dist/components/calcite-radio-button-group.js +1 -1
  543. package/dist/components/calcite-radio-button.js +1 -1
  544. package/dist/components/calcite-radio-group-item.js +1 -1
  545. package/dist/components/calcite-radio-group.js +1 -1
  546. package/dist/components/calcite-rating.js +1 -1
  547. package/dist/components/calcite-scrim.js +1 -1
  548. package/dist/components/calcite-select.js +1 -1
  549. package/dist/components/calcite-shell-center-row.js +1 -1
  550. package/dist/components/calcite-shell-panel.js +1 -1
  551. package/dist/components/calcite-shell.js +1 -1
  552. package/dist/components/calcite-slider.js +1 -1
  553. package/dist/components/calcite-sortable-list.js +1 -1
  554. package/dist/components/calcite-split-button.js +1 -1
  555. package/dist/components/calcite-stepper-item.js +1 -1
  556. package/dist/components/calcite-stepper.js +1 -1
  557. package/dist/components/calcite-switch.js +1 -1
  558. package/dist/components/calcite-tab-nav.js +1 -1
  559. package/dist/components/calcite-tab-title.js +1 -1
  560. package/dist/components/calcite-tab.js +1 -1
  561. package/dist/components/calcite-tabs.js +1 -1
  562. package/dist/components/calcite-tile-select-group.js +1 -1
  563. package/dist/components/calcite-tile-select.js +1 -1
  564. package/dist/components/calcite-tile.js +1 -1
  565. package/dist/components/calcite-time-picker.js +1 -1
  566. package/dist/components/calcite-tip-group.js +1 -1
  567. package/dist/components/calcite-tip-manager.js +1 -1
  568. package/dist/components/calcite-tip.js +1 -1
  569. package/dist/components/calcite-tooltip-manager.js +1 -1
  570. package/dist/components/calcite-tooltip.js +1 -1
  571. package/dist/components/calcite-tree-item.js +1 -1
  572. package/dist/components/calcite-tree.js +1 -1
  573. package/dist/components/calcite-value-list-item.js +1 -1
  574. package/dist/components/calcite-value-list.js +1 -1
  575. package/dist/components/checkbox.js +1 -1
  576. package/dist/components/chip.js +1 -1
  577. package/dist/components/color-picker-hex-input.js +1 -1
  578. package/dist/components/color-picker-swatch.js +1 -1
  579. package/dist/components/conditionalSlot.js +1 -1
  580. package/dist/components/date-picker-day.js +1 -1
  581. package/dist/components/date-picker-month-header.js +1 -1
  582. package/dist/components/date-picker-month.js +1 -1
  583. package/dist/components/date-picker.js +1 -1
  584. package/dist/components/date.js +1 -1
  585. package/dist/components/debounce.js +1 -1
  586. package/dist/components/dom.js +1 -1
  587. package/dist/components/dropdown.js +1 -1
  588. package/dist/components/filter.js +1 -1
  589. package/dist/components/filter2.js +1 -1
  590. package/dist/components/floating-ui.js +1 -1
  591. package/dist/components/form.js +1 -1
  592. package/dist/components/graph.js +1 -1
  593. package/dist/components/guid.js +1 -1
  594. package/dist/components/handle.js +1 -1
  595. package/dist/components/icon.js +1 -1
  596. package/dist/components/index.js +1 -1
  597. package/dist/components/input.js +1 -1
  598. package/dist/components/interactive.js +1 -1
  599. package/dist/components/interfaces.js +1 -1
  600. package/dist/components/interfaces2.js +1 -1
  601. package/dist/components/key.js +1 -1
  602. package/dist/components/label.js +1 -1
  603. package/dist/components/label2.js +1 -1
  604. package/dist/components/link.js +1 -1
  605. package/dist/components/loader.js +1 -1
  606. package/dist/components/locale.js +1 -1
  607. package/dist/components/math.js +1 -1
  608. package/dist/components/observers.js +1 -1
  609. package/dist/components/pick-list-item.js +1 -1
  610. package/dist/components/popover.js +1 -1
  611. package/dist/components/progress.js +1 -1
  612. package/dist/components/resources.js +1 -1
  613. package/dist/components/resources2.js +1 -1
  614. package/dist/components/resources3.js +1 -1
  615. package/dist/components/scrim.js +1 -1
  616. package/dist/components/shared-list-render.js +1 -1
  617. package/dist/components/sortable.esm.js +1 -1
  618. package/dist/components/switch.js +1 -1
  619. package/dist/components/tab-nav.js +1 -1
  620. package/dist/components/tab-title.js +1 -1
  621. package/dist/components/tab.js +1 -1
  622. package/dist/components/tabs.js +1 -1
  623. package/dist/components/tile.js +1 -1
  624. package/dist/components/time-picker.js +1 -1
  625. package/dist/components/utils.js +1 -1
  626. package/dist/components/utils2.js +1 -1
  627. package/dist/custom-elements/index.js +13 -5
  628. package/dist/esm/{ExpandToggle-261700fa.js → ExpandToggle-8fa39268.js} +5 -5
  629. package/dist/esm/{Heading-efa4556c.js → Heading-6d8364a6.js} +2 -2
  630. package/dist/esm/{array-a5a01182.js → array-2315c54f.js} +1 -1
  631. package/dist/esm/calcite-accordion_2.entry.js +6 -6
  632. package/dist/esm/calcite-action-bar.entry.js +10 -10
  633. package/dist/esm/calcite-action-group.entry.js +8 -8
  634. package/dist/esm/calcite-action-menu.entry.js +8 -8
  635. package/dist/esm/calcite-action-pad.entry.js +9 -9
  636. package/dist/esm/calcite-action.entry.js +6 -6
  637. package/dist/esm/calcite-alert.entry.js +5 -5
  638. package/dist/esm/calcite-avatar.entry.js +5 -5
  639. package/dist/esm/calcite-block_2.entry.js +8 -8
  640. package/dist/esm/calcite-button.entry.js +8 -8
  641. package/dist/esm/calcite-card.entry.js +6 -6
  642. package/dist/esm/calcite-checkbox.entry.js +7 -7
  643. package/dist/esm/calcite-chip.entry.js +6 -6
  644. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  645. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  646. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  647. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  648. package/dist/esm/calcite-fab.entry.js +5 -5
  649. package/dist/esm/calcite-filter.entry.js +7 -7
  650. package/dist/esm/calcite-flow.entry.js +3 -3
  651. package/dist/esm/calcite-graph_2.entry.js +9 -9
  652. package/dist/esm/calcite-handle.entry.js +4 -4
  653. package/dist/esm/calcite-icon.entry.js +5 -5
  654. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  655. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  656. package/dist/esm/calcite-input-message.entry.js +4 -4
  657. package/dist/esm/calcite-input-number.entry.js +11 -11
  658. package/dist/esm/calcite-input-text.entry.js +8 -8
  659. package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
  660. package/dist/esm/calcite-input.entry.js +11 -11
  661. package/dist/esm/calcite-label.entry.js +5 -5
  662. package/dist/esm/calcite-link.entry.js +5 -5
  663. package/dist/esm/calcite-list_3.entry.js +8 -8
  664. package/dist/esm/calcite-loader.entry.js +3 -3
  665. package/dist/esm/calcite-modal.entry.js +18 -10
  666. package/dist/esm/calcite-notice.entry.js +7 -7
  667. package/dist/esm/calcite-option_3.entry.js +8 -8
  668. package/dist/esm/calcite-pagination.entry.js +5 -5
  669. package/dist/esm/calcite-panel.entry.js +9 -9
  670. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  671. package/dist/esm/calcite-popover_2.entry.js +7 -7
  672. package/dist/esm/calcite-progress.entry.js +2 -2
  673. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  674. package/dist/esm/calcite-radio-button.entry.js +8 -8
  675. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  676. package/dist/esm/calcite-rating.entry.js +8 -8
  677. package/dist/esm/calcite-scrim.entry.js +2 -2
  678. package/dist/esm/calcite-shell_3.entry.js +7 -7
  679. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  680. package/dist/esm/calcite-split-button.entry.js +3 -3
  681. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  682. package/dist/esm/calcite-switch.entry.js +7 -7
  683. package/dist/esm/calcite-tab_4.entry.js +6 -6
  684. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  685. package/dist/esm/calcite-tile.entry.js +7 -7
  686. package/dist/esm/calcite-tip_3.entry.js +7 -7
  687. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  688. package/dist/esm/calcite-tree_2.entry.js +6 -6
  689. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  690. package/dist/esm/calcite.js +2 -2
  691. package/dist/esm/{conditionalSlot-669e0410.js → conditionalSlot-b1718c29.js} +3 -3
  692. package/dist/esm/{debounce-6de0511c.js → debounce-e11210c8.js} +1 -1
  693. package/dist/esm/{dom-23885dd1.js → dom-31081b06.js} +2 -2
  694. package/dist/esm/{filter-c67483d8.js → filter-44c980ec.js} +2 -2
  695. package/dist/esm/{floating-ui-9c812ea6.js → floating-ui-f9fc25e5.js} +2 -2
  696. package/dist/esm/{form-bd3527b0.js → form-035a0fde.js} +3 -3
  697. package/dist/esm/{guid-da1507c2.js → guid-17fa4ef0.js} +1 -1
  698. package/dist/esm/{index-66416f62.js → index-ed3b4a10.js} +1 -1
  699. package/dist/esm/index.js +1 -1
  700. package/dist/esm/{interactive-44cac9af.js → interactive-e255c5e9.js} +1 -1
  701. package/dist/esm/{interfaces-e5d85d5e.js → interfaces-eeb71117.js} +1 -1
  702. package/dist/esm/{key-e6236d7a.js → key-0b71502b.js} +1 -1
  703. package/dist/esm/{label-237c930c.js → label-07cc2164.js} +2 -2
  704. package/dist/esm/loader.js +2 -2
  705. package/dist/esm/{locale-8ff71bfb.js → locale-0b85e90e.js} +2 -2
  706. package/dist/esm/{math-5ac97cd0.js → math-1f7de1a2.js} +1 -1
  707. package/dist/esm/{observers-8d9b9c5f.js → observers-fa226fef.js} +1 -1
  708. package/dist/esm/{resources-b1fb5bcc.js → resources-5b3f5b5d.js} +5 -5
  709. package/dist/esm/{resources-c818df7b.js → resources-739da0d9.js} +1 -1
  710. package/dist/esm/{resources-1e411380.js → resources-925acbad.js} +3 -3
  711. package/dist/esm/{resources-1f2c04d2.js → resources-effcc4c0.js} +1 -1
  712. package/dist/esm/{sortable.esm-ed006e45.js → sortable.esm-0010d25c.js} +1 -1
  713. package/dist/esm/{utils-9bcb0906.js → utils-e9728146.js} +1 -1
  714. package/dist/esm-es5/ExpandToggle-8fa39268.js +6 -0
  715. package/dist/esm-es5/{Heading-efa4556c.js → Heading-6d8364a6.js} +2 -2
  716. package/dist/esm-es5/{array-a5a01182.js → array-2315c54f.js} +1 -1
  717. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  718. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  719. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  720. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  721. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  722. package/dist/esm-es5/calcite-action.entry.js +2 -2
  723. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  724. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  725. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  726. package/dist/esm-es5/calcite-button.entry.js +2 -2
  727. package/dist/esm-es5/calcite-card.entry.js +2 -2
  728. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  729. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  730. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  731. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  732. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  733. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  734. package/dist/esm-es5/calcite-fab.entry.js +3 -3
  735. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  736. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  737. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  738. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  739. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  740. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  741. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  742. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  743. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  744. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  745. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  746. package/dist/esm-es5/calcite-input.entry.js +2 -2
  747. package/dist/esm-es5/calcite-label.entry.js +2 -2
  748. package/dist/esm-es5/calcite-link.entry.js +2 -2
  749. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  750. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  751. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  752. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  753. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  754. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  755. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  756. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  757. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  758. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  759. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  760. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  761. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  762. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  763. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  764. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  765. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  766. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  767. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  768. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  769. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  770. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  771. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  772. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  773. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  774. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  775. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  776. package/dist/esm-es5/calcite.js +2 -2
  777. package/dist/esm-es5/{conditionalSlot-669e0410.js → conditionalSlot-b1718c29.js} +2 -2
  778. package/dist/esm-es5/{debounce-6de0511c.js → debounce-e11210c8.js} +1 -1
  779. package/dist/esm-es5/{dom-23885dd1.js → dom-31081b06.js} +2 -2
  780. package/dist/esm-es5/{filter-c67483d8.js → filter-44c980ec.js} +2 -2
  781. package/dist/esm-es5/{floating-ui-9c812ea6.js → floating-ui-f9fc25e5.js} +2 -2
  782. package/dist/esm-es5/{form-bd3527b0.js → form-035a0fde.js} +2 -2
  783. package/dist/esm-es5/{guid-da1507c2.js → guid-17fa4ef0.js} +1 -1
  784. package/dist/esm-es5/{index-66416f62.js → index-ed3b4a10.js} +1 -1
  785. package/dist/esm-es5/index.js +1 -1
  786. package/dist/esm-es5/{interactive-44cac9af.js → interactive-e255c5e9.js} +1 -1
  787. package/dist/esm-es5/{interfaces-e5d85d5e.js → interfaces-eeb71117.js} +1 -1
  788. package/dist/esm-es5/{key-e6236d7a.js → key-0b71502b.js} +1 -1
  789. package/dist/esm-es5/{label-237c930c.js → label-07cc2164.js} +2 -2
  790. package/dist/esm-es5/loader.js +2 -2
  791. package/dist/esm-es5/{locale-8ff71bfb.js → locale-0b85e90e.js} +2 -2
  792. package/dist/esm-es5/{math-5ac97cd0.js → math-1f7de1a2.js} +1 -1
  793. package/dist/esm-es5/{observers-8d9b9c5f.js → observers-fa226fef.js} +1 -1
  794. package/dist/esm-es5/{resources-b1fb5bcc.js → resources-5b3f5b5d.js} +2 -2
  795. package/dist/esm-es5/{resources-c818df7b.js → resources-739da0d9.js} +1 -1
  796. package/dist/esm-es5/{resources-1e411380.js → resources-925acbad.js} +2 -2
  797. package/dist/esm-es5/{resources-1f2c04d2.js → resources-effcc4c0.js} +1 -1
  798. package/dist/esm-es5/{sortable.esm-ed006e45.js → sortable.esm-0010d25c.js} +1 -1
  799. package/dist/esm-es5/{utils-9bcb0906.js → utils-e9728146.js} +1 -1
  800. package/dist/extras/docs-json.json +1 -1
  801. package/dist/loader/cdn.js +1 -1
  802. package/dist/loader/index.cjs.js +1 -1
  803. package/dist/loader/index.es2017.js +1 -1
  804. package/dist/loader/index.js +1 -1
  805. package/dist/types/components/modal/modal.d.ts +1 -0
  806. package/hydrate/index.js +13 -5
  807. package/package.json +1 -1
  808. package/dist/calcite/p-059b6315.js +0 -6
  809. package/dist/calcite/p-125968db.system.js +0 -6
  810. package/dist/calcite/p-8e89c5ca.entry.js +0 -6
  811. package/dist/calcite/p-bfa9422b.system.entry.js +0 -6
  812. package/dist/calcite/p-f864e8da.entry.js +0 -6
  813. package/dist/esm-es5/ExpandToggle-261700fa.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.545
4
+ * v1.0.0-next.546
5
5
  */
6
- import{r as t,c as i,f as e,h as a,H as n,g as r}from"./p-cf15be2d.js";import{b as o,f as s,c as l,a as c,p as m,F as d}from"./p-44aa00e2.js";import{g as f}from"./p-865547b6.js";import{t as p,q as h}from"./p-51528f35.js";import{H as b}from"./p-92e60516.js";import{c as w}from"./p-5d4755cf.js";const u=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=t=>{const{registeredElements:i}=this,e=t.find((t=>i.has(t)));return i.get(e)},this.togglePopovers=t=>{const i=t.composedPath(),e=this.queryPopover(i);!e||e.triggerDisabled?Array.from(this.registeredElements.values()).filter((t=>t.autoClose&&t.open&&!i.includes(t))).forEach((t=>t.toggle(!1))):e.toggle()},this.keyHandler=t=>{"Enter"!==t.key&&" "!==t.key||this.togglePopovers(t)},this.clickHandler=t=>{this.togglePopovers(t)}}registerElement(t,i){this.registeredElementCount++,this.registeredElements.set(t,i),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},k=class{constructor(e){t(this,e),this.calcitePopoverBeforeClose=i(this,"calcitePopoverBeforeClose",7),this.calcitePopoverClose=i(this,"calcitePopoverClose",7),this.calcitePopoverBeforeOpen=i(this,"calcitePopoverBeforeOpen",7),this.calcitePopoverOpen=i(this,"calcitePopoverOpen",7),this.autoClose=!1,this.closeButton=!1,this.dismissible=!1,this.closable=!1,this.disableFlip=!1,this.disablePointer=!1,this.offsetDistance=o,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.triggerDisabled=!1,this.intlClose="Close",this.guid=`calcite-popover-${f()}`,this.activeTransitionProp="opacity",this.setContainerEl=t=>{this.containerEl=t,this.containerEl.addEventListener("transitionstart",this.transitionStartHandler)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?s(i,t):null},this.setUpReferenceElement=()=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),l(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:i,effectiveReferenceElement:e}=this;i&&!e&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:t,open:i}=this;t&&"setAttribute"in t&&t.setAttribute("aria-expanded",p(i))},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const i=this.getId();"setAttribute"in t&&t.setAttribute("aria-controls",i),u.registerElement(t,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&(t.removeAttribute("aria-controls"),t.removeAttribute("aria-expanded")),u.unregisterElement(t))},this.hide=()=>{this.open=!1},this.transitionStartHandler=t=>{t.propertyName===this.activeTransitionProp&&t.target===this.containerEl&&(this.open?this.onBeforeOpen():this.onBeforeClose())},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&t.target===this.containerEl&&(this.open?this.onOpen():this.onClose())},this.storeArrowEl=t=>{this.arrowEl=t,this.reposition()}}flipPlacementsHandler(){this.setFilteredPlacements()}offsetDistanceOffsetHandler(){this.reposition()}offsetSkiddingHandler(){this.reposition()}openHandler(){this.reposition(),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition()}placementHandler(){this.reposition()}referenceElementHandler(){this.setUpReferenceElement(),this.reposition()}connectedCallback(){l(this,this.effectiveReferenceElement,this.el),this.setFilteredPlacements()}componentWillLoad(){this.setUpReferenceElement()}componentDidLoad(){this.reposition()}disconnectedCallback(){var t;null===(t=this.containerEl)||void 0===t||t.removeEventListener("transitionstart",this.transitionStartHandler),this.removeReferences(),c(this,this.effectiveReferenceElement,this.el)}async reposition(){const{el:t,effectiveReferenceElement:i,placement:e,overlayPositioning:a,disableFlip:n,flipPlacements:r,offsetDistance:o,offsetSkidding:s,arrowEl:l}=this;return m({floatingEl:t,referenceEl:i,overlayPositioning:a,placement:e,disableFlip:n,flipPlacements:r,offsetDistance:o,offsetSkidding:s,arrowEl:l,type:"popover"})}async setFocus(t){var i;const{closeButtonEl:a}=this;if("close-button"===t&&a)return e(a),void a.setFocus();null===(i=this.el)||void 0===i||i.focus()}async toggle(t=!this.open){this.open=t}getReferenceElement(){const{referenceElement:t,el:i}=this;return("string"==typeof t?h(i,{id:t}):t)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit()}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit()}renderCloseButton(){const{dismissible:t,closeButton:i,intlClose:e,heading:n,closable:r}=this;return r||t||i?a("div",{class:"close-button-container"},a("calcite-action",{class:"close-button",onClick:this.hide,ref:t=>this.closeButtonEl=t,scale:n?"s":"m",text:e},a("calcite-icon",{icon:"x",scale:n?"s":"m"}))):null}renderHeader(){const{heading:t,headingLevel:i}=this,e=t?a(b,{class:"heading",level:i||2},t):null;return e?a("div",{class:"header"},e,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:t,heading:i,label:e,open:r,disablePointer:o}=this,s=t&&r,l=!s,c=o?null:a("div",{class:"arrow",ref:this.storeArrowEl});return a(n,{"aria-hidden":p(l),"aria-label":e,"aria-live":"polite","calcite-hydrated-hidden":l,id:this.getId(),role:"dialog"},a("div",{class:{[d.animation]:!0,[d.animationActive]:s},onTransitionEnd:this.transitionEnd,ref:this.setContainerEl},c,a("div",{class:{"has-header":!!i,container:!0}},this.renderHeader(),a("div",{class:"content"},a("slot",null)),i?null:this.renderCloseButton())))}get el(){return r(this)}static get watchers(){return{flipPlacements:["flipPlacementsHandler"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};k.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.calcite-floating-ui-anim{position:relative;z-index:1;-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);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}.arrow::before{content:"";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-placement^=top]) .arrow{inset-block-end:-4px}:host([data-placement^=bottom]) .arrow{inset-block-start:-4px}:host([data-placement^=left]) .arrow{direction:ltr;inset-inline-end:-4px}:host([data-placement^=right]) .arrow{direction:ltr;inset-inline-start:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:center;align-self:center;white-space:normal;padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}.container.has-header{-ms-flex-direction:column;flex-direction:column}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex:0 0 auto;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}';const y=class{constructor(i){t(this,i),this.mutationObserver=w("mutation",(()=>this.setAutoClose())),this.selector="[data-calcite-popover-reference]",this.autoClose=!1}autoCloseHandler(){this.setAutoClose()}connectedCallback(){var t;this.setAutoClose(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){return a("slot",null)}setAutoClose(){const{autoClose:t,el:i}=this;i.querySelectorAll("calcite-popover").forEach((i=>i.autoClose=t))}get el(){return r(this)}static get watchers(){return{autoClose:["autoCloseHandler"]}}};y.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";export{k as calcite_popover,y as calcite_popover_manager}
6
+ import{r as t,c as i,f as e,h as a,H as n,g as r}from"./p-5858c82e.js";import{b as o,f as s,c as l,a as c,p as m,F as d}from"./p-0d03d496.js";import{g as f}from"./p-5ec29b81.js";import{t as p,q as h}from"./p-cf792343.js";import{H as b}from"./p-48f112dd.js";import{c as w}from"./p-2d3a3d43.js";const u=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=t=>{const{registeredElements:i}=this,e=t.find((t=>i.has(t)));return i.get(e)},this.togglePopovers=t=>{const i=t.composedPath(),e=this.queryPopover(i);!e||e.triggerDisabled?Array.from(this.registeredElements.values()).filter((t=>t.autoClose&&t.open&&!i.includes(t))).forEach((t=>t.toggle(!1))):e.toggle()},this.keyHandler=t=>{"Enter"!==t.key&&" "!==t.key||this.togglePopovers(t)},this.clickHandler=t=>{this.togglePopovers(t)}}registerElement(t,i){this.registeredElementCount++,this.registeredElements.set(t,i),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},k=class{constructor(e){t(this,e),this.calcitePopoverBeforeClose=i(this,"calcitePopoverBeforeClose",7),this.calcitePopoverClose=i(this,"calcitePopoverClose",7),this.calcitePopoverBeforeOpen=i(this,"calcitePopoverBeforeOpen",7),this.calcitePopoverOpen=i(this,"calcitePopoverOpen",7),this.autoClose=!1,this.closeButton=!1,this.dismissible=!1,this.closable=!1,this.disableFlip=!1,this.disablePointer=!1,this.offsetDistance=o,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.triggerDisabled=!1,this.intlClose="Close",this.guid=`calcite-popover-${f()}`,this.activeTransitionProp="opacity",this.setContainerEl=t=>{this.containerEl=t,this.containerEl.addEventListener("transitionstart",this.transitionStartHandler)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?s(i,t):null},this.setUpReferenceElement=()=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),l(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:i,effectiveReferenceElement:e}=this;i&&!e&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:t,open:i}=this;t&&"setAttribute"in t&&t.setAttribute("aria-expanded",p(i))},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const i=this.getId();"setAttribute"in t&&t.setAttribute("aria-controls",i),u.registerElement(t,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&(t.removeAttribute("aria-controls"),t.removeAttribute("aria-expanded")),u.unregisterElement(t))},this.hide=()=>{this.open=!1},this.transitionStartHandler=t=>{t.propertyName===this.activeTransitionProp&&t.target===this.containerEl&&(this.open?this.onBeforeOpen():this.onBeforeClose())},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&t.target===this.containerEl&&(this.open?this.onOpen():this.onClose())},this.storeArrowEl=t=>{this.arrowEl=t,this.reposition()}}flipPlacementsHandler(){this.setFilteredPlacements()}offsetDistanceOffsetHandler(){this.reposition()}offsetSkiddingHandler(){this.reposition()}openHandler(){this.reposition(),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition()}placementHandler(){this.reposition()}referenceElementHandler(){this.setUpReferenceElement(),this.reposition()}connectedCallback(){l(this,this.effectiveReferenceElement,this.el),this.setFilteredPlacements()}componentWillLoad(){this.setUpReferenceElement()}componentDidLoad(){this.reposition()}disconnectedCallback(){var t;null===(t=this.containerEl)||void 0===t||t.removeEventListener("transitionstart",this.transitionStartHandler),this.removeReferences(),c(this,this.effectiveReferenceElement,this.el)}async reposition(){const{el:t,effectiveReferenceElement:i,placement:e,overlayPositioning:a,disableFlip:n,flipPlacements:r,offsetDistance:o,offsetSkidding:s,arrowEl:l}=this;return m({floatingEl:t,referenceEl:i,overlayPositioning:a,placement:e,disableFlip:n,flipPlacements:r,offsetDistance:o,offsetSkidding:s,arrowEl:l,type:"popover"})}async setFocus(t){var i;const{closeButtonEl:a}=this;if("close-button"===t&&a)return e(a),void a.setFocus();null===(i=this.el)||void 0===i||i.focus()}async toggle(t=!this.open){this.open=t}getReferenceElement(){const{referenceElement:t,el:i}=this;return("string"==typeof t?h(i,{id:t}):t)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit()}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit()}renderCloseButton(){const{dismissible:t,closeButton:i,intlClose:e,heading:n,closable:r}=this;return r||t||i?a("div",{class:"close-button-container"},a("calcite-action",{class:"close-button",onClick:this.hide,ref:t=>this.closeButtonEl=t,scale:n?"s":"m",text:e},a("calcite-icon",{icon:"x",scale:n?"s":"m"}))):null}renderHeader(){const{heading:t,headingLevel:i}=this,e=t?a(b,{class:"heading",level:i||2},t):null;return e?a("div",{class:"header"},e,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:t,heading:i,label:e,open:r,disablePointer:o}=this,s=t&&r,l=!s,c=o?null:a("div",{class:"arrow",ref:this.storeArrowEl});return a(n,{"aria-hidden":p(l),"aria-label":e,"aria-live":"polite","calcite-hydrated-hidden":l,id:this.getId(),role:"dialog"},a("div",{class:{[d.animation]:!0,[d.animationActive]:s},onTransitionEnd:this.transitionEnd,ref:this.setContainerEl},c,a("div",{class:{"has-header":!!i,container:!0}},this.renderHeader(),a("div",{class:"content"},a("slot",null)),i?null:this.renderCloseButton())))}get el(){return r(this)}static get watchers(){return{flipPlacements:["flipPlacementsHandler"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};k.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.calcite-floating-ui-anim{position:relative;z-index:1;-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);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}.arrow::before{content:"";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-placement^=top]) .arrow{inset-block-end:-4px}:host([data-placement^=bottom]) .arrow{inset-block-start:-4px}:host([data-placement^=left]) .arrow{direction:ltr;inset-inline-end:-4px}:host([data-placement^=right]) .arrow{direction:ltr;inset-inline-start:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:center;align-self:center;white-space:normal;padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}.container.has-header{-ms-flex-direction:column;flex-direction:column}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex:0 0 auto;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}';const y=class{constructor(i){t(this,i),this.mutationObserver=w("mutation",(()=>this.setAutoClose())),this.selector="[data-calcite-popover-reference]",this.autoClose=!1}autoCloseHandler(){this.setAutoClose()}connectedCallback(){var t;this.setAutoClose(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){return a("slot",null)}setAutoClose(){const{autoClose:t,el:i}=this;i.querySelectorAll("calcite-popover").forEach((i=>i.autoClose=t))}get el(){return r(this)}static get watchers(){return{autoClose:["autoCloseHandler"]}}};y.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";export{k as calcite_popover,y as calcite_popover_manager}
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,n,e,i){function a(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.545
6
- */System.register(["./p-f381813f.system.js","./p-783fcd16.system.js","./p-14120933.system.js","./p-b2dcf840.system.js"],(function(t){"use strict";var n,e,i,a,r,o,c,s;return{setters:[function(t){n=t.a;e=t.r;i=t.h;a=t.H;r=t.g},function(t){o=t.a;c=t.t},function(t){s=t.c},function(){}],execute:function(){var l={icon:"icon",flipRtl:"flip-rtl"};var f={};var u={};var m={s:16,m:24,l:32};function p(t){var e=t.icon,i=t.scale;return __awaiter(this,void 0,void 0,(function(){var t,a,r,o,c,s;return __generator(this,(function(l){switch(l.label){case 0:t=m[i];a=h(e);r=a.charAt(a.length-1)==="F";o=r?a.substring(0,a.length-1):a;c="".concat(o).concat(t).concat(r?"F":"");if(f[c]){return[2,f[c]]}if(!u[c]){u[c]=fetch(n("./assets/icon/".concat(c,".json"))).then((function(t){return t.json()})).catch((function(){console.error('"'.concat(c,'" is not a valid calcite-ui-icon name'));return""}))}return[4,u[c]];case 1:s=l.sent();f[c]=s;return[2,s]}}))}))}function h(t){var n=!isNaN(Number(t.charAt(0)));var e=t.split("-");if(e.length===1){return n?"i".concat(t):t}return e.map((function(t,e){if(e===0){return n?"i".concat(t.toUpperCase()):t}return t.charAt(0).toUpperCase()+t.slice(1)})).join("")}var b="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){block-size:1rem;inline-size:1rem;min-inline-size:1rem;min-block-size:1rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem;min-inline-size:1.5rem;min-block-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem;min-inline-size:2rem;min-block-size:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";var v=t("calcite_icon",function(){function t(t){e(this,t);this.icon=null;this.flipRtl=false;this.scale="m";this.visible=false}t.prototype.connectedCallback=function(){var t=this;this.waitUntilVisible((function(){t.visible=true;t.loadIconPathData()}))};t.prototype.disconnectedCallback=function(){var t;(t=this.intersectionObserver)===null||t===void 0?void 0:t.disconnect();this.intersectionObserver=null};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.loadIconPathData();return[2]}))}))};t.prototype.render=function(){var t;var n=this,e=n.el,r=n.flipRtl,s=n.pathData,f=n.scale,u=n.textLabel;var p=o(e);var h=m[f];var b=!!u;var v=[].concat(s||"");return i(a,{"aria-hidden":c(!b),"aria-label":b?u:null,role:b?"img":null},i("svg",{class:(t={},t[l.flipRtl]=p==="rtl"&&r,t.svg=true,t),fill:"currentColor",height:"100%",viewBox:"0 0 ".concat(h," ").concat(h),width:"100%",xmlns:"http://www.w3.org/2000/svg"},v.map((function(t){return typeof t==="string"?i("path",{d:t}):i("path",{d:t.d,opacity:"opacity"in t?t.opacity:1})}))))};t.prototype.loadIconPathData=function(){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,a;return __generator(this,(function(r){switch(r.label){case 0:t=this,n=t.icon,e=t.scale,i=t.visible;if(!n||!i){return[2]}a=this;return[4,p({icon:n,scale:e})];case 1:a.pathData=r.sent();return[2]}}))}))};t.prototype.waitUntilVisible=function(t){var n=this;this.intersectionObserver=s("intersection",(function(e){e.forEach((function(e){if(e.isIntersecting){n.intersectionObserver.disconnect();n.intersectionObserver=null;t()}}))}),{rootMargin:"50px"});if(!this.intersectionObserver){t();return}this.intersectionObserver.observe(this.el)};Object.defineProperty(t,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}},enumerable:false,configurable:true});return t}());v.style=b}}}));
5
+ * v1.0.0-next.546
6
+ */System.register(["./p-34924a00.system.js","./p-136c3cd0.system.js","./p-d23a7bdb.system.js","./p-92ead0d0.system.js"],(function(t){"use strict";var n,e,i,a,r,o,c,s;return{setters:[function(t){n=t.a;e=t.r;i=t.h;a=t.H;r=t.g},function(t){o=t.a;c=t.t},function(t){s=t.c},function(){}],execute:function(){var l={icon:"icon",flipRtl:"flip-rtl"};var u={};var f={};var m={s:16,m:24,l:32};function p(t){var e=t.icon,i=t.scale;return __awaiter(this,void 0,void 0,(function(){var t,a,r,o,c,s;return __generator(this,(function(l){switch(l.label){case 0:t=m[i];a=h(e);r=a.charAt(a.length-1)==="F";o=r?a.substring(0,a.length-1):a;c="".concat(o).concat(t).concat(r?"F":"");if(u[c]){return[2,u[c]]}if(!f[c]){f[c]=fetch(n("./assets/icon/".concat(c,".json"))).then((function(t){return t.json()})).catch((function(){console.error('"'.concat(c,'" is not a valid calcite-ui-icon name'));return""}))}return[4,f[c]];case 1:s=l.sent();u[c]=s;return[2,s]}}))}))}function h(t){var n=!isNaN(Number(t.charAt(0)));var e=t.split("-");if(e.length===1){return n?"i".concat(t):t}return e.map((function(t,e){if(e===0){return n?"i".concat(t.toUpperCase()):t}return t.charAt(0).toUpperCase()+t.slice(1)})).join("")}var b="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){block-size:1rem;inline-size:1rem;min-inline-size:1rem;min-block-size:1rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem;min-inline-size:1.5rem;min-block-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem;min-inline-size:2rem;min-block-size:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";var d=t("calcite_icon",function(){function t(t){e(this,t);this.icon=null;this.flipRtl=false;this.scale="m";this.visible=false}t.prototype.connectedCallback=function(){var t=this;this.waitUntilVisible((function(){t.visible=true;t.loadIconPathData()}))};t.prototype.disconnectedCallback=function(){var t;(t=this.intersectionObserver)===null||t===void 0?void 0:t.disconnect();this.intersectionObserver=null};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.loadIconPathData();return[2]}))}))};t.prototype.render=function(){var t;var n=this,e=n.el,r=n.flipRtl,s=n.pathData,u=n.scale,f=n.textLabel;var p=o(e);var h=m[u];var b=!!f;var d=[].concat(s||"");return i(a,{"aria-hidden":c(!b),"aria-label":b?f:null,role:b?"img":null},i("svg",{class:(t={},t[l.flipRtl]=p==="rtl"&&r,t.svg=true,t),fill:"currentColor",height:"100%",viewBox:"0 0 ".concat(h," ").concat(h),width:"100%",xmlns:"http://www.w3.org/2000/svg"},d.map((function(t){return typeof t==="string"?i("path",{d:t}):i("path",{d:t.d,opacity:"opacity"in t?t.opacity:1})}))))};t.prototype.loadIconPathData=function(){return __awaiter(this,void 0,void 0,(function(){var t,n,e,i,a;return __generator(this,(function(r){switch(r.label){case 0:t=this,n=t.icon,e=t.scale,i=t.visible;if(!n||!i){return[2]}a=this;return[4,p({icon:n,scale:e})];case 1:a.pathData=r.sent();return[2]}}))}))};t.prototype.waitUntilVisible=function(t){var n=this;this.intersectionObserver=s("intersection",(function(e){e.forEach((function(e){if(e.isIntersecting){n.intersectionObserver.disconnect();n.intersectionObserver=null;t()}}))}),{rootMargin:"50px"});if(!this.intersectionObserver){t();return}this.intersectionObserver.observe(this.el)};Object.defineProperty(t,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}},enumerable:false,configurable:true});return t}());d.style=b}}}));
@@ -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.545
6
- */System.register(["./p-f381813f.system.js","./p-125968db.system.js","./p-783fcd16.system.js","./p-216924b5.system.js","./p-e2ff7289.system.js","./p-5cc19e1c.system.js","./p-ddc68710.system.js","./p-b2dcf840.system.js"],(function(e){"use strict";var t,a,r,i,n,o,s,c,l,d,h,u,f,p,v,g,m,D,y,w,b,x,k,A;return{setters:[function(e){t=e.r;a=e.c;r=e.h;i=e.H;n=e.g;o=e.F},function(e){s=e.T;c=e.c;l=e.d;d=e.a;h=e.b;u=e.g;f=e.H;p=e.s;v=e.i;g=e.e;m=e.n;D=e.f;y=e.l;w=e.h},function(e){b=e.a;x=e.C},function(e){k=e.u},function(e){A=e.H},function(){},function(){},function(){}],execute:function(){var R="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}";var _=e("calcite_date_picker",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerChange=a(this,"calciteDatePickerChange",7);this.calciteDatePickerRangeChange=a(this,"calciteDatePickerRangeChange",7);this.intlPrevMonth=s.prevMonth;this.intlNextMonth=s.nextMonth;this.intlYear=s.year;this.locale=document.documentElement.lang||"en";this.scale="m";this.range=false;this.proximitySelectionDisabled=false;this.keyDownHandler=function(e){if(e.key==="Escape"){r.reset()}};this.monthHeaderSelectChange=function(e){var t=new Date(e.detail);if(!r.range){r.activeDate=t}else{if(r.activeRange==="end"){r.activeEndDate=t}else{r.activeStartDate=t}r.mostRecentRangeValue=t}};this.monthActiveDateChange=function(e){var t=new Date(e.detail);if(!r.range){r.activeDate=t}else{if(r.activeRange==="end"){r.activeEndDate=t}else{r.activeStartDate=t}r.mostRecentRangeValue=t}};this.monthHoverChange=function(e){if(!r.startAsDate){r.hoverRange=undefined;return}var t=new Date(e.detail);r.hoverRange={focused:r.activeRange||"start",start:r.startAsDate,end:r.endAsDate};if(!r.proximitySelectionDisabled){if(r.endAsDate){var a=c(t,r.startAsDate);var i=c(t,r.endAsDate);if(i>0){r.hoverRange.end=t;r.hoverRange.focused="end"}else if(a<0){r.hoverRange.start=t;r.hoverRange.focused="start"}else if(a>i){r.hoverRange.start=t;r.hoverRange.focused="start"}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}else{if(t<r.startAsDate){r.hoverRange={focused:"start",start:t,end:r.startAsDate}}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}}else{if(!r.endAsDate){if(t<r.startAsDate){r.hoverRange={focused:"start",start:t,end:r.startAsDate}}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}else{r.hoverRange=undefined}}e.stopPropagation()};this.monthMouseOutChange=function(){if(r.hoverRange){r.hoverRange=undefined}};this.reset=function(){var e,t,a,i,n,o;if(!Array.isArray(r.valueAsDate)&&r.valueAsDate&&((e=r.valueAsDate)===null||e===void 0?void 0:e.getTime())!==((t=r.activeDate)===null||t===void 0?void 0:t.getTime())){r.activeDate=new Date(r.valueAsDate)}if(r.startAsDate&&((a=r.startAsDate)===null||a===void 0?void 0:a.getTime())!==((i=r.activeStartDate)===null||i===void 0?void 0:i.getTime())){r.activeStartDate=new Date(r.startAsDate)}if(r.endAsDate&&((n=r.endAsDate)===null||n===void 0?void 0:n.getTime())!==((o=r.activeEndDate)===null||o===void 0?void 0:o.getTime())){r.activeEndDate=new Date(r.endAsDate)}};this.monthDateChange=function(e){var t=new Date(e.detail);if(!r.range){r.value=t?l(t):"";r.valueAsDate=t||null;r.activeDate=t||null;r.calciteDatePickerChange.emit(t);return}if(!r.startAsDate||!r.endAsDate&&t<r.startAsDate){if(r.startAsDate){r.setEndDate(new Date(r.startAsDate))}if(r.activeRange=="end"){r.setEndDate(t)}else{r.setStartDate(t)}}else if(!r.endAsDate){r.setEndDate(t)}else{if(!r.proximitySelectionDisabled){if(r.activeRange){if(r.activeRange=="end"){r.setEndDate(t)}else{r.setStartDate(t)}}else{var a=c(t,r.startAsDate);var i=c(t,r.endAsDate);if(i===0||a<0){r.setStartDate(t)}else if(a===0||i<0){r.setEndDate(t)}else if(a<i){r.setStartDate(t)}else{r.setEndDate(t)}}}else{r.setStartDate(t);r.endAsDate=r.activeEndDate=r.end=undefined}}r.calciteDatePickerChange.emit(t)}}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=d(e)}};e.prototype.onMaxChanged=function(e){if(e){this.maxAsDate=d(e)}};e.prototype.connectedCallback=function(){if(Array.isArray(this.value)){this.valueAsDate=this.value.map((function(e){return d(e)}));this.start=this.value[0];this.end=this.value[1]}else if(this.value){this.valueAsDate=d(this.value)}if(this.start){this.setStartAsDate(d(this.start))}if(this.end){this.setEndAsDate(d(this.end))}if(this.min){this.minAsDate=d(this.min)}if(this.max){this.maxAsDate=d(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=h(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 n=a;var o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null;var s=this.getActiveEndDate(o,this.minAsDate,this.maxAsDate);if((this.activeRange==="end"||((e=this.hoverRange)===null||e===void 0?void 0:e.focused)==="end"&&(!this.proximitySelectionDisabled||o))&&s){n=s}if(this.range&&this.mostRecentRangeValue){n=this.mostRecentRangeValue}var c=this.range&&this.activeRange?this.activeRange==="start"?this.minAsDate:t||this.minAsDate:this.minAsDate;var l=this.range&&this.activeRange?this.activeRange==="start"?o||this.maxAsDate:this.maxAsDate:this.maxAsDate;return r(i,{onBlur:this.reset,onKeyDown:this.keyDownHandler,role:"application"},this.renderCalendar(n,l,c,t,o))};e.prototype.valueHandler=function(e){if(Array.isArray(e)){this.valueAsDate=e.map((function(e){return d(e)}));this.start=e[0];this.end=e[1]}else if(e){this.valueAsDate=d(e);this.start="";this.end=""}};e.prototype.startWatcher=function(e){this.setStartAsDate(d(e))};e.prototype.endWatcher=function(e){this.setEndAsDate(d(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,u(e)];case 1:t.localeData=a.sent();return[2]}}))}))};e.prototype.renderCalendar=function(e,t,a,i,n){return this.localeData&&[r("calcite-date-picker-month-header",{activeDate:e,headingLevel:this.headingLevel||f,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"?n:i||new Date}),r("calcite-date-picker-month",{activeDate:e,endDate:this.range?n: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"?n:i,startDate:this.range?i: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?l(e):"";this.setEndAsDate(e,true);this.activeEndDate=e||null};e.prototype.setStartDate=function(e){this.start=e?l(e):"";this.setStartAsDate(e,true);this.activeStartDate=e||null};e.prototype.getActiveDate=function(e,t,a){return h(this.activeDate,t,a)||e||h(new Date,t,a)};e.prototype.getActiveStartDate=function(e,t,a){return h(this.activeStartDate,t,a)||e||h(new Date,t,a)};e.prototype.getActiveEndDate=function(e,t,a){return h(this.activeEndDate,t,a)||e||h(new Date,t,a)};Object.defineProperty(e,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return n(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}());_.style=R;var C="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;min-inline-size:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;-webkit-margin-start:0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px;z-index:1}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText;z-index:1}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";var M=e("calcite_date_picker_day",function(){function e(e){var r=this;t(this,e);this.calciteDaySelect=a(this,"calciteDaySelect",7);this.calciteInternalDayHover=a(this,"calciteInternalDayHover",7);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(){!r.disabled&&r.calciteDaySelect.emit()};this.keyDownHandler=function(e){var t=e.key;if(t===" "||t==="Enter"){!r.disabled&&r.calciteDaySelect.emit()}}}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 n=b(this.el);return r(i,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},r("div",{class:(e={"day-v-wrapper":true},e[x.rtl]=n==="rtl",e)},r("div",{class:"day-wrapper"},r("span",{class:"day"},r("span",{class:"text"},a)))))};e.prototype.componentDidRender=function(){k(this,this.isTabbable)};e.prototype.isTabbable=function(){return this.active};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());M.style=C;var S="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.calender{-webkit-margin-after:0.25rem;margin-block-end:0.25rem}.week-headers{display:-ms-flexbox;display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding-block:0px;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";var z=e("calcite_date_picker_month",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",7);this.calciteInternalDatePickerHover=a(this,"calciteInternalDatePickerHover",7);this.calciteDatePickerActiveDateChange=a(this,"calciteDatePickerActiveDateChange",7);this.calciteInternalDatePickerMouseOut=a(this,"calciteInternalDatePickerMouseOut",7);this.activeDate=new Date;this.keyDownHandler=function(e){var t=r.el.dir==="rtl";switch(e.key){case"ArrowUp":e.preventDefault();r.addDays(-7);break;case"ArrowRight":e.preventDefault();r.addDays(t?-1:1);break;case"ArrowDown":e.preventDefault();r.addDays(7);break;case"ArrowLeft":e.preventDefault();r.addDays(t?1:-1);break;case"PageUp":e.preventDefault();r.addMonths(-1);break;case"PageDown":e.preventDefault();r.addMonths(1);break;case"Home":e.preventDefault();r.activeDate.setDate(1);r.addDays();break;case"End":e.preventDefault();r.activeDate.setDate(new Date(r.activeDate.getFullYear(),r.activeDate.getMonth()+1,0).getDate());r.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":r.activeFocus=false}};this.disableActiveFocus=function(){r.activeFocus=false};this.dayHover=function(e){var t=e.target;if(t.disabled){r.calciteInternalDatePickerMouseOut.emit()}else{r.calciteInternalDatePickerHover.emit(t.value)}e.stopPropagation()};this.daySelect=function(e){var t=e.target;r.calciteDatePickerSelect.emit(t.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 n=this.localeData.weekStart%7;var o=this.localeData.days,s=o.abbreviated,c=o.short,l=o.narrow;var d=this.scale==="s"?l||c||s:c||s||l;var h=__spreadArray(__spreadArray([],d.slice(n,7),true),d.slice(0,n),true);var u=this.getCurrentMonthDays(t,a);var f=this.getPrevMonthdays(t,a,n);var v=this.getNextMonthDays(t,a,n);var g=__spreadArray(__spreadArray(__spreadArray([],f.map((function(r){var i=new Date(a,t-1,r);return e.renderDateDay(false,r,i)})),true),u.map((function(r){var i=new Date(a,t,r);var n=p(i,e.activeDate);return e.renderDateDay(n,r,i,true,true)})),true),v.map((function(r){var i=new Date(a,t+1,r);return e.renderDateDay(false,r,i)})),true);var m=[];for(var D=0;D<g.length;D+=7){m.push(g.slice(D,D+7))}return r(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},r("div",{class:"calender",role:"grid"},r("div",{class:"week-headers",role:"row"},h.map((function(e){return r("span",{class:"week-header",role:"columnheader"},e)}))),m.map((function(e){return r("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(h(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(h(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!!(p(e,this.selectedDate)||this.startDate&&p(e,this.startDate)||this.endDate&&p(e,this.endDate))};e.prototype.isStartOfRange=function(e){return!!(this.startDate&&!p(this.startDate,this.endDate)&&p(this.startDate,e)&&!this.isEndOfRange(e))};e.prototype.isEndOfRange=function(e){return!!(this.endDate&&!p(this.startDate,this.endDate)&&p(this.endDate,e)||!this.endDate&&this.hoverRange&&p(this.startDate,this.hoverRange.end)&&p(e,this.hoverRange.end))};e.prototype.renderDateDay=function(e,t,a,i,n){var o=this;var s;var c=this.isFocusedOnStart();var l=this.isHoverInRange()||!this.endDate&&this.hoverRange&&p((s=this.hoverRange)===null||s===void 0?void 0:s.end,this.startDate);return r("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&l,"hover--outside-range":this.startDate&&!l,"focused--start":c,"focused--end":!c},currentMonth:i,day:t,disabled:!v(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&&!p(this.startDate,this.endDate),rangeHover:this.isRangeHover(a),ref:function(t){if(n&&e&&o.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||p(e,r))||i&&e<this.endDate&&(e>a||p(e,a)));var s=!n&&(!i&&e>=this.endDate&&(e<r||p(e,r))||i&&(e<this.startDate||this.endDate&&p(e,this.startDate))&&(e>a||p(e,a)));return o||s};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());z.style=S;var P=543;var H="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;line-height:1}.text-nreverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;inline-size:3rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;z-index:2}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{inline-size:4rem;text-align:start}.year-wrap{position:relative}.suffix{position:absolute;inset-block-start:0px;inset-inline-start:0px;inline-size:4rem;white-space:nowrap;text-align:start}.suffix__invisible{visibility:hidden}";var Y=e("calcite_date_picker_month_header",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",7);this.onYearKey=function(e){var t=r.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault();r.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault();r.setYear({localizedYear:t,offset:1});break}};this.onYearChange=function(e){r.setYear({localizedYear:r.parseCalendarYear(e.target.value)})};this.onYearInput=function(e){r.setYear({localizedYear:r.parseCalendarYear(e.target.value),commit:false})};this.prevMonthClick=function(e){r.handleArrowClick(e,r.prevMonthDate)};this.prevMonthKeydown=function(e){var t=e.key;if(t===" "||t==="Enter"){r.prevMonthClick(e)}};this.nextMonthClick=function(e){r.handleArrowClick(e,r.nextMonthDate)};this.nextMonthKeydown=function(e){var t=e.key;if(t===" "||t==="Enter"){r.nextMonthClick(e)}};this.handleArrowClick=function(e,t){e===null||e===void 0?void 0:e.preventDefault();e.stopPropagation();r.calciteDatePickerSelect.emit(t)}}e.prototype.connectedCallback=function(){this.setNextPrevMonthDates()};e.prototype.render=function(){return r("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 i=this.localeData,n=i.months,s=i.unitOrder;var c=(n.wide||n.narrow||n.abbreviated)[a];var l=this.formatCalendarYear(this.activeDate.getFullYear().toString());var d=this.scale==="l"?"m":"s";var h=g(s);var u=h.indexOf("y")<h.indexOf("m");var f=(t=this.localeData.year)===null||t===void 0?void 0:t.suffix;return r(o,null,r("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},r("calcite-icon",{"flip-rtl":true,icon:"chevron-left",scale:d})),r("div",{class:{text:true,"text--reverse":u}},r(A,{class:"month",level:this.headingLevel},c),r("span",{class:"year-wrap"},r("input",{"aria-label":this.intlYear,class:{year:true,"year--suffix":!!f},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:l}),f&&r("span",{class:"suffix"},r("span",{"aria-hidden":"true",class:"suffix__invisible"},l)," "+f))),r("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},r("calcite-icon",{"flip-rtl":true,icon:"chevron-right",scale:d})))};e.prototype.setNextPrevMonthDates=function(){if(!this.activeDate){return}this.nextMonthDate=h(m(this.activeDate),this.min,this.max);this.prevMonthDate=h(D(this.activeDate),this.min,this.max)};e.prototype.formatCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?P:0;return y(w(e,t)+r,t)};e.prototype.parseCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?P:0;return y(w(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=w(t,c);var d=l.toString().length;var u=isNaN(l)?false:l+r;var f=u&&(!n||n.getFullYear()<=u)&&(!o||o.getFullYear()>=u);if(u&&f&&d===t.length){var p=new Date(s);p.setFullYear(u);return h(p,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 n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}},enumerable:false,configurable:true});return e}());Y.style=H}}}));
5
+ * v1.0.0-next.546
6
+ */System.register(["./p-34924a00.system.js","./p-6bc44fc2.system.js","./p-136c3cd0.system.js","./p-82e11600.system.js","./p-02216b9f.system.js","./p-e4ea21f3.system.js","./p-547db65f.system.js","./p-92ead0d0.system.js"],(function(e){"use strict";var t,a,r,i,n,o,s,c,l,d,h,u,f,p,v,g,m,D,y,w,b,x,k,A;return{setters:[function(e){t=e.r;a=e.c;r=e.h;i=e.H;n=e.g;o=e.F},function(e){s=e.T;c=e.c;l=e.d;d=e.a;h=e.b;u=e.g;f=e.H;p=e.s;v=e.i;g=e.e;m=e.n;D=e.f;y=e.l;w=e.h},function(e){b=e.a;x=e.C},function(e){k=e.u},function(e){A=e.H},function(){},function(){},function(){}],execute:function(){var R="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}";var _=e("calcite_date_picker",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerChange=a(this,"calciteDatePickerChange",7);this.calciteDatePickerRangeChange=a(this,"calciteDatePickerRangeChange",7);this.intlPrevMonth=s.prevMonth;this.intlNextMonth=s.nextMonth;this.intlYear=s.year;this.locale=document.documentElement.lang||"en";this.scale="m";this.range=false;this.proximitySelectionDisabled=false;this.keyDownHandler=function(e){if(e.key==="Escape"){r.reset()}};this.monthHeaderSelectChange=function(e){var t=new Date(e.detail);if(!r.range){r.activeDate=t}else{if(r.activeRange==="end"){r.activeEndDate=t}else{r.activeStartDate=t}r.mostRecentRangeValue=t}};this.monthActiveDateChange=function(e){var t=new Date(e.detail);if(!r.range){r.activeDate=t}else{if(r.activeRange==="end"){r.activeEndDate=t}else{r.activeStartDate=t}r.mostRecentRangeValue=t}};this.monthHoverChange=function(e){if(!r.startAsDate){r.hoverRange=undefined;return}var t=new Date(e.detail);r.hoverRange={focused:r.activeRange||"start",start:r.startAsDate,end:r.endAsDate};if(!r.proximitySelectionDisabled){if(r.endAsDate){var a=c(t,r.startAsDate);var i=c(t,r.endAsDate);if(i>0){r.hoverRange.end=t;r.hoverRange.focused="end"}else if(a<0){r.hoverRange.start=t;r.hoverRange.focused="start"}else if(a>i){r.hoverRange.start=t;r.hoverRange.focused="start"}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}else{if(t<r.startAsDate){r.hoverRange={focused:"start",start:t,end:r.startAsDate}}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}}else{if(!r.endAsDate){if(t<r.startAsDate){r.hoverRange={focused:"start",start:t,end:r.startAsDate}}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}else{r.hoverRange=undefined}}e.stopPropagation()};this.monthMouseOutChange=function(){if(r.hoverRange){r.hoverRange=undefined}};this.reset=function(){var e,t,a,i,n,o;if(!Array.isArray(r.valueAsDate)&&r.valueAsDate&&((e=r.valueAsDate)===null||e===void 0?void 0:e.getTime())!==((t=r.activeDate)===null||t===void 0?void 0:t.getTime())){r.activeDate=new Date(r.valueAsDate)}if(r.startAsDate&&((a=r.startAsDate)===null||a===void 0?void 0:a.getTime())!==((i=r.activeStartDate)===null||i===void 0?void 0:i.getTime())){r.activeStartDate=new Date(r.startAsDate)}if(r.endAsDate&&((n=r.endAsDate)===null||n===void 0?void 0:n.getTime())!==((o=r.activeEndDate)===null||o===void 0?void 0:o.getTime())){r.activeEndDate=new Date(r.endAsDate)}};this.monthDateChange=function(e){var t=new Date(e.detail);if(!r.range){r.value=t?l(t):"";r.valueAsDate=t||null;r.activeDate=t||null;r.calciteDatePickerChange.emit(t);return}if(!r.startAsDate||!r.endAsDate&&t<r.startAsDate){if(r.startAsDate){r.setEndDate(new Date(r.startAsDate))}if(r.activeRange=="end"){r.setEndDate(t)}else{r.setStartDate(t)}}else if(!r.endAsDate){r.setEndDate(t)}else{if(!r.proximitySelectionDisabled){if(r.activeRange){if(r.activeRange=="end"){r.setEndDate(t)}else{r.setStartDate(t)}}else{var a=c(t,r.startAsDate);var i=c(t,r.endAsDate);if(i===0||a<0){r.setStartDate(t)}else if(a===0||i<0){r.setEndDate(t)}else if(a<i){r.setStartDate(t)}else{r.setEndDate(t)}}}else{r.setStartDate(t);r.endAsDate=r.activeEndDate=r.end=undefined}}r.calciteDatePickerChange.emit(t)}}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=d(e)}};e.prototype.onMaxChanged=function(e){if(e){this.maxAsDate=d(e)}};e.prototype.connectedCallback=function(){if(Array.isArray(this.value)){this.valueAsDate=this.value.map((function(e){return d(e)}));this.start=this.value[0];this.end=this.value[1]}else if(this.value){this.valueAsDate=d(this.value)}if(this.start){this.setStartAsDate(d(this.start))}if(this.end){this.setEndAsDate(d(this.end))}if(this.min){this.minAsDate=d(this.min)}if(this.max){this.maxAsDate=d(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=h(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 n=a;var o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null;var s=this.getActiveEndDate(o,this.minAsDate,this.maxAsDate);if((this.activeRange==="end"||((e=this.hoverRange)===null||e===void 0?void 0:e.focused)==="end"&&(!this.proximitySelectionDisabled||o))&&s){n=s}if(this.range&&this.mostRecentRangeValue){n=this.mostRecentRangeValue}var c=this.range&&this.activeRange?this.activeRange==="start"?this.minAsDate:t||this.minAsDate:this.minAsDate;var l=this.range&&this.activeRange?this.activeRange==="start"?o||this.maxAsDate:this.maxAsDate:this.maxAsDate;return r(i,{onBlur:this.reset,onKeyDown:this.keyDownHandler,role:"application"},this.renderCalendar(n,l,c,t,o))};e.prototype.valueHandler=function(e){if(Array.isArray(e)){this.valueAsDate=e.map((function(e){return d(e)}));this.start=e[0];this.end=e[1]}else if(e){this.valueAsDate=d(e);this.start="";this.end=""}};e.prototype.startWatcher=function(e){this.setStartAsDate(d(e))};e.prototype.endWatcher=function(e){this.setEndAsDate(d(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,u(e)];case 1:t.localeData=a.sent();return[2]}}))}))};e.prototype.renderCalendar=function(e,t,a,i,n){return this.localeData&&[r("calcite-date-picker-month-header",{activeDate:e,headingLevel:this.headingLevel||f,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"?n:i||new Date}),r("calcite-date-picker-month",{activeDate:e,endDate:this.range?n: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"?n:i,startDate:this.range?i: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?l(e):"";this.setEndAsDate(e,true);this.activeEndDate=e||null};e.prototype.setStartDate=function(e){this.start=e?l(e):"";this.setStartAsDate(e,true);this.activeStartDate=e||null};e.prototype.getActiveDate=function(e,t,a){return h(this.activeDate,t,a)||e||h(new Date,t,a)};e.prototype.getActiveStartDate=function(e,t,a){return h(this.activeStartDate,t,a)||e||h(new Date,t,a)};e.prototype.getActiveEndDate=function(e,t,a){return h(this.activeEndDate,t,a)||e||h(new Date,t,a)};Object.defineProperty(e,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return n(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}());_.style=R;var C="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;min-inline-size:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;-webkit-margin-start:0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px;z-index:1}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText;z-index:1}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";var M=e("calcite_date_picker_day",function(){function e(e){var r=this;t(this,e);this.calciteDaySelect=a(this,"calciteDaySelect",7);this.calciteInternalDayHover=a(this,"calciteInternalDayHover",7);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(){!r.disabled&&r.calciteDaySelect.emit()};this.keyDownHandler=function(e){var t=e.key;if(t===" "||t==="Enter"){!r.disabled&&r.calciteDaySelect.emit()}}}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 n=b(this.el);return r(i,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},r("div",{class:(e={"day-v-wrapper":true},e[x.rtl]=n==="rtl",e)},r("div",{class:"day-wrapper"},r("span",{class:"day"},r("span",{class:"text"},a)))))};e.prototype.componentDidRender=function(){k(this,this.isTabbable)};e.prototype.isTabbable=function(){return this.active};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());M.style=C;var S="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.calender{-webkit-margin-after:0.25rem;margin-block-end:0.25rem}.week-headers{display:-ms-flexbox;display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding-block:0px;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";var z=e("calcite_date_picker_month",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",7);this.calciteInternalDatePickerHover=a(this,"calciteInternalDatePickerHover",7);this.calciteDatePickerActiveDateChange=a(this,"calciteDatePickerActiveDateChange",7);this.calciteInternalDatePickerMouseOut=a(this,"calciteInternalDatePickerMouseOut",7);this.activeDate=new Date;this.keyDownHandler=function(e){var t=r.el.dir==="rtl";switch(e.key){case"ArrowUp":e.preventDefault();r.addDays(-7);break;case"ArrowRight":e.preventDefault();r.addDays(t?-1:1);break;case"ArrowDown":e.preventDefault();r.addDays(7);break;case"ArrowLeft":e.preventDefault();r.addDays(t?1:-1);break;case"PageUp":e.preventDefault();r.addMonths(-1);break;case"PageDown":e.preventDefault();r.addMonths(1);break;case"Home":e.preventDefault();r.activeDate.setDate(1);r.addDays();break;case"End":e.preventDefault();r.activeDate.setDate(new Date(r.activeDate.getFullYear(),r.activeDate.getMonth()+1,0).getDate());r.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":r.activeFocus=false}};this.disableActiveFocus=function(){r.activeFocus=false};this.dayHover=function(e){var t=e.target;if(t.disabled){r.calciteInternalDatePickerMouseOut.emit()}else{r.calciteInternalDatePickerHover.emit(t.value)}e.stopPropagation()};this.daySelect=function(e){var t=e.target;r.calciteDatePickerSelect.emit(t.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 n=this.localeData.weekStart%7;var o=this.localeData.days,s=o.abbreviated,c=o.short,l=o.narrow;var d=this.scale==="s"?l||c||s:c||s||l;var h=__spreadArray(__spreadArray([],d.slice(n,7),true),d.slice(0,n),true);var u=this.getCurrentMonthDays(t,a);var f=this.getPrevMonthdays(t,a,n);var v=this.getNextMonthDays(t,a,n);var g=__spreadArray(__spreadArray(__spreadArray([],f.map((function(r){var i=new Date(a,t-1,r);return e.renderDateDay(false,r,i)})),true),u.map((function(r){var i=new Date(a,t,r);var n=p(i,e.activeDate);return e.renderDateDay(n,r,i,true,true)})),true),v.map((function(r){var i=new Date(a,t+1,r);return e.renderDateDay(false,r,i)})),true);var m=[];for(var D=0;D<g.length;D+=7){m.push(g.slice(D,D+7))}return r(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},r("div",{class:"calender",role:"grid"},r("div",{class:"week-headers",role:"row"},h.map((function(e){return r("span",{class:"week-header",role:"columnheader"},e)}))),m.map((function(e){return r("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(h(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(h(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!!(p(e,this.selectedDate)||this.startDate&&p(e,this.startDate)||this.endDate&&p(e,this.endDate))};e.prototype.isStartOfRange=function(e){return!!(this.startDate&&!p(this.startDate,this.endDate)&&p(this.startDate,e)&&!this.isEndOfRange(e))};e.prototype.isEndOfRange=function(e){return!!(this.endDate&&!p(this.startDate,this.endDate)&&p(this.endDate,e)||!this.endDate&&this.hoverRange&&p(this.startDate,this.hoverRange.end)&&p(e,this.hoverRange.end))};e.prototype.renderDateDay=function(e,t,a,i,n){var o=this;var s;var c=this.isFocusedOnStart();var l=this.isHoverInRange()||!this.endDate&&this.hoverRange&&p((s=this.hoverRange)===null||s===void 0?void 0:s.end,this.startDate);return r("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&l,"hover--outside-range":this.startDate&&!l,"focused--start":c,"focused--end":!c},currentMonth:i,day:t,disabled:!v(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&&!p(this.startDate,this.endDate),rangeHover:this.isRangeHover(a),ref:function(t){if(n&&e&&o.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||p(e,r))||i&&e<this.endDate&&(e>a||p(e,a)));var s=!n&&(!i&&e>=this.endDate&&(e<r||p(e,r))||i&&(e<this.startDate||this.endDate&&p(e,this.startDate))&&(e>a||p(e,a)));return o||s};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());z.style=S;var P=543;var H="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;line-height:1}.text-nreverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;inline-size:3rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;z-index:2}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{inline-size:4rem;text-align:start}.year-wrap{position:relative}.suffix{position:absolute;inset-block-start:0px;inset-inline-start:0px;inline-size:4rem;white-space:nowrap;text-align:start}.suffix__invisible{visibility:hidden}";var Y=e("calcite_date_picker_month_header",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",7);this.onYearKey=function(e){var t=r.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault();r.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault();r.setYear({localizedYear:t,offset:1});break}};this.onYearChange=function(e){r.setYear({localizedYear:r.parseCalendarYear(e.target.value)})};this.onYearInput=function(e){r.setYear({localizedYear:r.parseCalendarYear(e.target.value),commit:false})};this.prevMonthClick=function(e){r.handleArrowClick(e,r.prevMonthDate)};this.prevMonthKeydown=function(e){var t=e.key;if(t===" "||t==="Enter"){r.prevMonthClick(e)}};this.nextMonthClick=function(e){r.handleArrowClick(e,r.nextMonthDate)};this.nextMonthKeydown=function(e){var t=e.key;if(t===" "||t==="Enter"){r.nextMonthClick(e)}};this.handleArrowClick=function(e,t){e===null||e===void 0?void 0:e.preventDefault();e.stopPropagation();r.calciteDatePickerSelect.emit(t)}}e.prototype.connectedCallback=function(){this.setNextPrevMonthDates()};e.prototype.render=function(){return r("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 i=this.localeData,n=i.months,s=i.unitOrder;var c=(n.wide||n.narrow||n.abbreviated)[a];var l=this.formatCalendarYear(this.activeDate.getFullYear().toString());var d=this.scale==="l"?"m":"s";var h=g(s);var u=h.indexOf("y")<h.indexOf("m");var f=(t=this.localeData.year)===null||t===void 0?void 0:t.suffix;return r(o,null,r("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},r("calcite-icon",{"flip-rtl":true,icon:"chevron-left",scale:d})),r("div",{class:{text:true,"text--reverse":u}},r(A,{class:"month",level:this.headingLevel},c),r("span",{class:"year-wrap"},r("input",{"aria-label":this.intlYear,class:{year:true,"year--suffix":!!f},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:l}),f&&r("span",{class:"suffix"},r("span",{"aria-hidden":"true",class:"suffix__invisible"},l)," "+f))),r("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},r("calcite-icon",{"flip-rtl":true,icon:"chevron-right",scale:d})))};e.prototype.setNextPrevMonthDates=function(){if(!this.activeDate){return}this.nextMonthDate=h(m(this.activeDate),this.min,this.max);this.prevMonthDate=h(D(this.activeDate),this.min,this.max)};e.prototype.formatCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?P:0;return y(w(e,t)+r,t)};e.prototype.parseCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?P:0;return y(w(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=w(t,c);var d=l.toString().length;var u=isNaN(l)?false:l+r;var f=u&&(!n||n.getFullYear()<=u)&&(!o||o.getFullYear()>=u);if(u&&f&&d===t.length){var p=new Date(s);p.setFullYear(u);return h(p,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 n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}},enumerable:false,configurable:true});return e}());Y.style=H}}}));
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.545
4
+ * v1.0.0-next.546
5
5
  */
6
- System.register(["./p-f381813f.system.js","./p-783fcd16.system.js","./p-2a2ed05c.system.js","./p-b2dcf840.system.js","./p-14120933.system.js"],(function(t){"use strict";var e,a,i,n,o,r,l,s;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.g},function(t){o=t.t;r=t.g},function(t){l=t.c;s=t.d},function(){},function(){}],execute:function(){var c={container:"container",header:"header",footer:"footer",title:"title",subtitle:"subtitle",checkboxWrapper:"checkbox-wrapper",thumbnailWrapper:"thumbnail-wrapper"};var d={thumbnail:"thumbnail",title:"title",subtitle:"subtitle",footerLeading:"footer-leading",footerTrailing:"footer-trailing"};var m={select:"Select",deselect:"Deselect",loading:"Loading"};var f="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--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);-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);border-radius:var(--calcite-border-radius-base)}:host .calcite-card-container:hover{--tw-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 16px 0 var(--tw-shadow-color), 0 2px 8px 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);z-index:1}:host .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:75ms;transition-duration:75ms;z-index:1}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header,.footer{display:-ms-flexbox;display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{-ms-flex-direction:column;flex-direction:column}.footer{-webkit-margin-before:auto;margin-block-start:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selectable]) .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;-webkit-margin-before:0.5rem;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-leading]::slotted(*),*::slotted([slot=footer-leading]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}slot[name=footer-trailing]::slotted(*),*::slotted([slot=footer-trailing]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:-ms-flexbox;display:flex}.calcite-card-container.inline{-ms-flex-direction:row;flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;-ms-flex-align:start;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-leading]::slotted(*),slot[name=footer-trailing]::slotted(*){display:-ms-flexbox;display:flex;gap:0.25rem}";var h=t("calcite_card",function(){function t(t){var i=this;e(this,t);this.calciteCardSelect=a(this,"calciteCardSelect",7);this.loading=false;this.selected=false;this.selectable=false;this.intlLoading=m.loading;this.intlSelect=m.select;this.intlDeselect=m.deselect;this.thumbnailPosition="block-start";this.cardSelectClick=function(){i.selectCard()};this.cardSelectKeyDown=function(t){switch(t.key){case" ":case"Enter":i.selectCard();t.preventDefault();break}}}t.prototype.connectedCallback=function(){l(this)};t.prototype.disonnectedCallback=function(){s(this)};t.prototype.render=function(){var t;var e=this.thumbnailPosition.startsWith("inline");var a=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":true,inline:e}},this.loading?i("div",{class:"calcite-card-loader-container"},i("calcite-loader",{active:true,label:this.intlLoading})):null,a&&this.renderThumbnail(),i("section",{"aria-busy":o(this.loading),class:(t={},t[c.container]=true,t)},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!a&&this.renderThumbnail())};t.prototype.selectCard=function(){this.selected=!this.selected;this.calciteCardSelect.emit()};t.prototype.renderThumbnail=function(){return r(this.el,d.thumbnail)?i("section",{class:c.thumbnailWrapper},i("slot",{name:d.thumbnail})):null};t.prototype.renderCheckbox=function(){var t=this.selected?this.intlDeselect:this.intlSelect;return i("calcite-label",{class:c.checkboxWrapper,onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:t}))};t.prototype.renderHeader=function(){var t=this.el;var e=r(t,d.title);var a=r(t,d.subtitle);var n=e||a;return n?i("header",{class:c.header},i("slot",{name:d.title}),i("slot",{name:d.subtitle})):null};t.prototype.renderFooter=function(){var t=this.el;var e=r(t,d.footerLeading);var a=r(t,d.footerTrailing);var n=e||a;return n?i("footer",{class:c.footer},i("slot",{name:d.footerLeading}),i("slot",{name:d.footerTrailing})):null};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());h.style=f}}}));
6
+ System.register(["./p-34924a00.system.js","./p-136c3cd0.system.js","./p-43646338.system.js","./p-92ead0d0.system.js","./p-d23a7bdb.system.js"],(function(t){"use strict";var e,a,i,n,o,r,l,s;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.g},function(t){o=t.t;r=t.g},function(t){l=t.c;s=t.d},function(){},function(){}],execute:function(){var c={container:"container",header:"header",footer:"footer",title:"title",subtitle:"subtitle",checkboxWrapper:"checkbox-wrapper",thumbnailWrapper:"thumbnail-wrapper"};var d={thumbnail:"thumbnail",title:"title",subtitle:"subtitle",footerLeading:"footer-leading",footerTrailing:"footer-trailing"};var m={select:"Select",deselect:"Deselect",loading:"Loading"};var f="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--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);-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);border-radius:var(--calcite-border-radius-base)}:host .calcite-card-container:hover{--tw-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 16px 0 var(--tw-shadow-color), 0 2px 8px 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);z-index:1}:host .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:75ms;transition-duration:75ms;z-index:1}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header,.footer{display:-ms-flexbox;display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{-ms-flex-direction:column;flex-direction:column}.footer{-webkit-margin-before:auto;margin-block-start:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selectable]) .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;-webkit-margin-before:0.5rem;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-leading]::slotted(*),*::slotted([slot=footer-leading]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}slot[name=footer-trailing]::slotted(*),*::slotted([slot=footer-trailing]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:-ms-flexbox;display:flex}.calcite-card-container.inline{-ms-flex-direction:row;flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;-ms-flex-align:start;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-leading]::slotted(*),slot[name=footer-trailing]::slotted(*){display:-ms-flexbox;display:flex;gap:0.25rem}";var h=t("calcite_card",function(){function t(t){var i=this;e(this,t);this.calciteCardSelect=a(this,"calciteCardSelect",7);this.loading=false;this.selected=false;this.selectable=false;this.intlLoading=m.loading;this.intlSelect=m.select;this.intlDeselect=m.deselect;this.thumbnailPosition="block-start";this.cardSelectClick=function(){i.selectCard()};this.cardSelectKeyDown=function(t){switch(t.key){case" ":case"Enter":i.selectCard();t.preventDefault();break}}}t.prototype.connectedCallback=function(){l(this)};t.prototype.disonnectedCallback=function(){s(this)};t.prototype.render=function(){var t;var e=this.thumbnailPosition.startsWith("inline");var a=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":true,inline:e}},this.loading?i("div",{class:"calcite-card-loader-container"},i("calcite-loader",{active:true,label:this.intlLoading})):null,a&&this.renderThumbnail(),i("section",{"aria-busy":o(this.loading),class:(t={},t[c.container]=true,t)},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!a&&this.renderThumbnail())};t.prototype.selectCard=function(){this.selected=!this.selected;this.calciteCardSelect.emit()};t.prototype.renderThumbnail=function(){return r(this.el,d.thumbnail)?i("section",{class:c.thumbnailWrapper},i("slot",{name:d.thumbnail})):null};t.prototype.renderCheckbox=function(){var t=this.selected?this.intlDeselect:this.intlSelect;return i("calcite-label",{class:c.checkboxWrapper,onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:t}))};t.prototype.renderHeader=function(){var t=this.el;var e=r(t,d.title);var a=r(t,d.subtitle);var n=e||a;return n?i("header",{class:c.header},i("slot",{name:d.title}),i("slot",{name:d.subtitle})):null};t.prototype.renderFooter=function(){var t=this.el;var e=r(t,d.footerLeading);var a=r(t,d.footerTrailing);var n=e||a;return n?i("footer",{class:c.footer},i("slot",{name:d.footerLeading}),i("slot",{name:d.footerTrailing})):null};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());h.style=f}}}));
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.545
4
+ * v1.0.0-next.546
5
5
  */
6
- import{r as t,c as e,h as i,H as a,g as s}from"./p-cf15be2d.js";import{s as n,t as o,g as l}from"./p-51528f35.js";import{S as r}from"./p-10b5a7d3.js";import"./p-865547b6.js";const c={slow:14e3,medium:1e4,fast:6e3},d=class{constructor(i){t(this,i),this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",7),this.calciteAlertClose=e(this,"calciteAlertClose",7),this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",7),this.calciteAlertOpen=e(this,"calciteAlertOpen",7),this.calciteInternalAlertSync=e(this,"calciteInternalAlertSync",7),this.calciteInternalAlertRegister=e(this,"calciteInternalAlertRegister",7),this.active=!1,this.open=!1,this.autoDismiss=!1,this.autoDismissDuration=this.autoDismiss?"medium":null,this.color="blue",this.intlClose="Close",this.placement="bottom",this.scale="m",this.queue=[],this.queueLength=0,this.queued=!1,this.setContainerEl=t=>{this.containerEl=t,this.containerEl.addEventListener("transitionstart",this.transitionStartHandler)},this.autoDismissTimeoutId=null,this.trackTimer=Date.now(),this.activeTransitionProp="opacity",this.closeAlert=()=>{this.autoDismissTimeoutId=null,this.queued=!1,this.open=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteInternalAlertSync.emit({queue:this.queue})},this.transitionStartHandler=t=>{t.propertyName===this.activeTransitionProp&&t.target===this.containerEl&&(this.open?this.onBeforeOpen():this.onBeforeClose())},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&t.target===this.containerEl&&(this.open?this.onOpen():this.onClose())}}activeHandler(t){this.open=t}openHandler(t){this.open&&!this.queued&&(this.calciteInternalAlertRegister.emit(),this.active=t),this.open||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.active=!1)}updateRequestedIcon(){this.requestedIcon=n(r,this.icon,this.color)}updateDuration(){this.autoDismiss&&this.autoDismissTimeoutId&&(window.clearTimeout(this.autoDismissTimeoutId),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),c[this.autoDismissDuration]-(Date.now()-this.trackTimer)))}connectedCallback(){const t=this.open||this.active;t&&!this.queued&&(this.activeHandler(t),this.openHandler(t),this.calciteInternalAlertRegister.emit())}componentWillLoad(){this.requestedIcon=n(r,this.icon,this.color)}disconnectedCallback(){var t;window.clearTimeout(this.autoDismissTimeoutId),null===(t=this.containerEl)||void 0===t||t.removeEventListener("transitionstart",this.transitionStartHandler)}render(){const t=i("button",{"aria-label":this.intlClose,class:"alert-close",onClick:this.closeAlert,ref:t=>this.closeButton=t,type:"button"},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),e="+"+(this.queueLength>2?this.queueLength-1:1),s=i("div",{class:(this.queueLength>1?"active ":"")+"alert-queue-count"},i("calcite-chip",{scale:this.scale,value:e},e)),{active:n,autoDismiss:l,label:r,placement:c,queued:d,requestedIcon:m}=this,h=l?"alert":"alertdialog",u=!n;return i(a,{"aria-hidden":o(u),"aria-label":r,"calcite-hydrated-hidden":u,role:h},i("div",{class:{container:!0,queued:d,[c]:!0},onTransitionEnd:this.transitionEnd,ref:this.setContainerEl},m?i("div",{class:"alert-icon"},i("calcite-icon",{icon:m,scale:"l"===this.scale?"m":"s"})):null,i("div",{class:"alert-content"},i("slot",{name:"title"}),i("slot",{name:"message"}),i("slot",{name:"link"})),s,l?null:t,n&&!d&&l?i("div",{class:"alert-dismiss-progress"}):null))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert(),t.stopPropagation()}alertRegister(){this.open&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}async setFocus(){const t=l(this.el,{selector:"calcite-link"});(this.closeButton||t)&&(t?t.setFocus():this.closeButton&&this.closeButton.focus())}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoDismiss&&!this.autoDismissTimeoutId&&(this.trackTimer=Date.now(),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),c[this.autoDismissDuration])))}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}get el(){return s(this)}static get watchers(){return{active:["activeHandler"],open:["openHandler"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"],autoDismissDuration:["updateDuration"]}}};d.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{--calcite-alert-edge-distance:2rem;display:block}:host .container{pointer-events:none;position:fixed;margin-block:0px;margin-inline:auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);-webkit-border-before:0px solid transparent;border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);-webkit-border-after:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;z-index:101;-webkit-transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}:host .container.bottom,:host .container.top{inset-inline-end:0;inset-inline-start:0}:host .container[class*=bottom]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), 0);transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}:host .container[class*=top]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}:host .container[class*=-start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}:host .container[class*=-end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.container{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.alert-close{outline-color:transparent}.alert-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([open]) .container:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.queued)[class*=bottom]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.queued)[class*=top]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), inherit);transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-link)}.alert-content{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);-ms-flex:1 1 auto;flex:1 1 auto;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-end-start-radius:var(--calcite-border-radius);border-end-end-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-alert-spacing-token-large);padding-inline-start:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.alert-icon{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px}.alert-close{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}.alert-close:hover,.alert-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.alert-close:open{background-color:var(--calcite-ui-foreground-3)}.alert-queue-count{visibility:hidden;display:-ms-flexbox;display:flex;cursor:default;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0px solid transparent;border-start-end-radius:0}.alert-queue-count.active{visibility:visible;opacity:1}:host([auto-dismiss])>.alert-queue-count{-webkit-border-end:0px solid transparent;border-inline-end:0px solid transparent}.alert-dismiss-progress{position:absolute;inset-inline:0px;display:block;inline-size:100%;overflow:hidden;inset-block-start:-2px;block-size:2px;z-index:103;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);z-index:104;inset-inline-end:0}:host([color=blue]) .container{border-block-start-color:var(--calcite-ui-info)}:host([color=blue]) .container .alert-icon{color:var(--calcite-ui-info)}:host([color=red]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([color=red]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-block-start-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-block-start-color:var(--calcite-ui-success)}:host([color=green]) .container .alert-icon{color:var(--calcite-ui-success)}:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 6000ms ease-out;animation:dismissProgress 6000ms ease-out}:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 10000ms ease-out;animation:dismissProgress 10000ms ease-out}:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 14000ms ease-out;animation:dismissProgress 14000ms ease-out}@-webkit-keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}';export{d as calcite_alert}
6
+ import{r as t,c as e,h as i,H as a,g as s}from"./p-5858c82e.js";import{s as n,t as o,g as l}from"./p-cf792343.js";import{S as r}from"./p-9458556f.js";import"./p-5ec29b81.js";const c={slow:14e3,medium:1e4,fast:6e3},d=class{constructor(i){t(this,i),this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",7),this.calciteAlertClose=e(this,"calciteAlertClose",7),this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",7),this.calciteAlertOpen=e(this,"calciteAlertOpen",7),this.calciteInternalAlertSync=e(this,"calciteInternalAlertSync",7),this.calciteInternalAlertRegister=e(this,"calciteInternalAlertRegister",7),this.active=!1,this.open=!1,this.autoDismiss=!1,this.autoDismissDuration=this.autoDismiss?"medium":null,this.color="blue",this.intlClose="Close",this.placement="bottom",this.scale="m",this.queue=[],this.queueLength=0,this.queued=!1,this.setContainerEl=t=>{this.containerEl=t,this.containerEl.addEventListener("transitionstart",this.transitionStartHandler)},this.autoDismissTimeoutId=null,this.trackTimer=Date.now(),this.activeTransitionProp="opacity",this.closeAlert=()=>{this.autoDismissTimeoutId=null,this.queued=!1,this.open=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteInternalAlertSync.emit({queue:this.queue})},this.transitionStartHandler=t=>{t.propertyName===this.activeTransitionProp&&t.target===this.containerEl&&(this.open?this.onBeforeOpen():this.onBeforeClose())},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&t.target===this.containerEl&&(this.open?this.onOpen():this.onClose())}}activeHandler(t){this.open=t}openHandler(t){this.open&&!this.queued&&(this.calciteInternalAlertRegister.emit(),this.active=t),this.open||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.active=!1)}updateRequestedIcon(){this.requestedIcon=n(r,this.icon,this.color)}updateDuration(){this.autoDismiss&&this.autoDismissTimeoutId&&(window.clearTimeout(this.autoDismissTimeoutId),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),c[this.autoDismissDuration]-(Date.now()-this.trackTimer)))}connectedCallback(){const t=this.open||this.active;t&&!this.queued&&(this.activeHandler(t),this.openHandler(t),this.calciteInternalAlertRegister.emit())}componentWillLoad(){this.requestedIcon=n(r,this.icon,this.color)}disconnectedCallback(){var t;window.clearTimeout(this.autoDismissTimeoutId),null===(t=this.containerEl)||void 0===t||t.removeEventListener("transitionstart",this.transitionStartHandler)}render(){const t=i("button",{"aria-label":this.intlClose,class:"alert-close",onClick:this.closeAlert,ref:t=>this.closeButton=t,type:"button"},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),e="+"+(this.queueLength>2?this.queueLength-1:1),s=i("div",{class:(this.queueLength>1?"active ":"")+"alert-queue-count"},i("calcite-chip",{scale:this.scale,value:e},e)),{active:n,autoDismiss:l,label:r,placement:c,queued:d,requestedIcon:m}=this,h=l?"alert":"alertdialog",u=!n;return i(a,{"aria-hidden":o(u),"aria-label":r,"calcite-hydrated-hidden":u,role:h},i("div",{class:{container:!0,queued:d,[c]:!0},onTransitionEnd:this.transitionEnd,ref:this.setContainerEl},m?i("div",{class:"alert-icon"},i("calcite-icon",{icon:m,scale:"l"===this.scale?"m":"s"})):null,i("div",{class:"alert-content"},i("slot",{name:"title"}),i("slot",{name:"message"}),i("slot",{name:"link"})),s,l?null:t,n&&!d&&l?i("div",{class:"alert-dismiss-progress"}):null))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert(),t.stopPropagation()}alertRegister(){this.open&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}async setFocus(){const t=l(this.el,{selector:"calcite-link"});(this.closeButton||t)&&(t?t.setFocus():this.closeButton&&this.closeButton.focus())}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoDismiss&&!this.autoDismissTimeoutId&&(this.trackTimer=Date.now(),this.autoDismissTimeoutId=window.setTimeout((()=>this.closeAlert()),c[this.autoDismissDuration])))}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}get el(){return s(this)}static get watchers(){return{active:["activeHandler"],open:["openHandler"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"],autoDismissDuration:["updateDuration"]}}};d.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{--calcite-alert-edge-distance:2rem;display:block}:host .container{pointer-events:none;position:fixed;margin-block:0px;margin-inline:auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);-webkit-border-before:0px solid transparent;border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);-webkit-border-after:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;z-index:101;-webkit-transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}:host .container.bottom,:host .container.top{inset-inline-end:0;inset-inline-start:0}:host .container[class*=bottom]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), 0);transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}:host .container[class*=top]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}:host .container[class*=-start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}:host .container[class*=-end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.container{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.alert-close{outline-color:transparent}.alert-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([open]) .container:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.queued)[class*=bottom]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.queued)[class*=top]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), inherit);transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-link)}.alert-content{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);-ms-flex:1 1 auto;flex:1 1 auto;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-end-start-radius:var(--calcite-border-radius);border-end-end-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-alert-spacing-token-large);padding-inline-start:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.alert-icon{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px}.alert-close{-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}.alert-close:hover,.alert-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.alert-close:open{background-color:var(--calcite-ui-foreground-3)}.alert-queue-count{visibility:hidden;display:-ms-flexbox;display:flex;cursor:default;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0px solid transparent;border-start-end-radius:0}.alert-queue-count.active{visibility:visible;opacity:1}:host([auto-dismiss])>.alert-queue-count{-webkit-border-end:0px solid transparent;border-inline-end:0px solid transparent}.alert-dismiss-progress{position:absolute;inset-inline:0px;display:block;inline-size:100%;overflow:hidden;inset-block-start:-2px;block-size:2px;z-index:103;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);z-index:104;inset-inline-end:0}:host([color=blue]) .container{border-block-start-color:var(--calcite-ui-info)}:host([color=blue]) .container .alert-icon{color:var(--calcite-ui-info)}:host([color=red]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([color=red]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-block-start-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-block-start-color:var(--calcite-ui-success)}:host([color=green]) .container .alert-icon{color:var(--calcite-ui-success)}:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 6000ms ease-out;animation:dismissProgress 6000ms ease-out}:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 10000ms ease-out;animation:dismissProgress 10000ms ease-out}:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 14000ms ease-out;animation:dismissProgress 14000ms ease-out}@-webkit-keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}';export{d as calcite_alert}