@esri/calcite-components 1.0.0-next.572 → 1.0.0-next.573

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 (834) 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-8fe8a091.js → p-0079e9dc.js} +1 -1
  5. package/dist/calcite/{p-b1c8046e.system.entry.js → p-01429b02.system.entry.js} +2 -2
  6. package/dist/calcite/{p-757d267e.system.js → p-01f47808.system.js} +1 -1
  7. package/dist/calcite/{p-697c7793.entry.js → p-06398a4a.entry.js} +2 -2
  8. package/dist/calcite/{p-78745bed.entry.js → p-06940898.entry.js} +2 -2
  9. package/dist/calcite/{p-186eaf30.system.entry.js → p-0abc49f2.system.entry.js} +2 -2
  10. package/dist/calcite/{p-69e718c0.system.entry.js → p-1227fc52.system.entry.js} +2 -2
  11. package/dist/calcite/{p-c874aab2.system.js → p-131c63f1.system.js} +3 -3
  12. package/dist/calcite/{p-9579820c.js → p-1603eecc.js} +1 -1
  13. package/dist/calcite/{p-a5d05fe1.entry.js → p-16db99cb.entry.js} +2 -2
  14. package/dist/calcite/{p-b0c12689.entry.js → p-18ac810c.entry.js} +2 -2
  15. package/dist/calcite/{p-a741a5e3.entry.js → p-19201685.entry.js} +2 -2
  16. package/dist/calcite/{p-386d068b.entry.js → p-1c6aeec9.entry.js} +2 -2
  17. package/dist/calcite/p-1f980a64.js +6 -0
  18. package/dist/calcite/{p-0921fdaf.system.entry.js → p-2091aec6.system.entry.js} +2 -2
  19. package/dist/calcite/{p-05ed401b.entry.js → p-215cee4a.entry.js} +2 -2
  20. package/dist/calcite/{p-3232a4cd.js → p-21f73977.js} +1 -1
  21. package/dist/calcite/{p-2dac192b.system.entry.js → p-22da6834.system.entry.js} +2 -2
  22. package/dist/calcite/{p-e1879904.system.js → p-232d5c51.system.js} +2 -2
  23. package/dist/calcite/{p-d1c97e2d.entry.js → p-23eaf857.entry.js} +2 -2
  24. package/dist/calcite/{p-604aceb7.system.js → p-24f3beb1.system.js} +1 -1
  25. package/dist/calcite/{p-5a40ee27.system.js → p-255f27e2.system.js} +1 -1
  26. package/dist/calcite/p-258de339.entry.js +6 -0
  27. package/dist/calcite/{p-9d3e84ba.entry.js → p-2776ae06.entry.js} +2 -2
  28. package/dist/calcite/{p-f2887f65.system.js → p-2927455c.system.js} +1 -1
  29. package/dist/calcite/{p-ba043f27.system.js → p-296d5c3b.system.js} +1 -1
  30. package/dist/calcite/p-2c07cc64.js +6 -0
  31. package/dist/calcite/{p-a47c1c48.entry.js → p-2c93777d.entry.js} +2 -2
  32. package/dist/calcite/{p-98aa9606.js → p-2d0c05ce.js} +2 -2
  33. package/dist/calcite/{p-f5594623.system.entry.js → p-2d8398c7.system.entry.js} +3 -3
  34. package/dist/calcite/{p-c8780e89.system.entry.js → p-2d952c64.system.entry.js} +2 -2
  35. package/dist/calcite/{p-05f73c36.js → p-2fb83966.js} +2 -2
  36. package/dist/calcite/{p-34332dd7.system.entry.js → p-33b105b3.system.entry.js} +2 -2
  37. package/dist/calcite/{p-77215de3.system.entry.js → p-3466bf65.system.entry.js} +2 -2
  38. package/dist/calcite/{p-ff7c87a8.system.entry.js → p-3703f672.system.entry.js} +2 -2
  39. package/dist/calcite/{p-6c90ed00.entry.js → p-3bfc58d6.entry.js} +2 -2
  40. package/dist/calcite/{p-a084dbe0.js → p-3c1c7270.js} +1 -1
  41. package/dist/calcite/{p-43ad746e.system.js → p-3c57eb23.system.js} +2 -2
  42. package/dist/calcite/{p-c3d6b235.entry.js → p-3c69dedb.entry.js} +2 -2
  43. package/dist/calcite/{p-7bc4298b.js → p-4140dba9.js} +1 -1
  44. package/dist/calcite/{p-55afd183.js → p-4446ea9c.js} +2 -2
  45. package/dist/calcite/{p-29d73899.js → p-44e87751.js} +1 -1
  46. package/dist/calcite/{p-35cbbb63.system.entry.js → p-44ea12cb.system.entry.js} +2 -2
  47. package/dist/calcite/{p-6c14ce1d.system.entry.js → p-4672c17e.system.entry.js} +2 -2
  48. package/dist/calcite/{p-4a1feea9.system.entry.js → p-47c06b6d.system.entry.js} +2 -2
  49. package/dist/calcite/{p-13fc9a47.entry.js → p-47f16a46.entry.js} +2 -2
  50. package/dist/calcite/{p-312f2fd1.system.entry.js → p-48899b80.system.entry.js} +2 -2
  51. package/dist/calcite/{p-db89b8a9.system.js → p-49fc9ebc.system.js} +1 -1
  52. package/dist/calcite/{p-6cf4a846.system.js → p-4b8e875c.system.js} +2 -2
  53. package/dist/calcite/{p-fdb60bcb.system.entry.js → p-4c200082.system.entry.js} +2 -2
  54. package/dist/calcite/{p-96861284.system.js → p-4f45d88a.system.js} +1 -1
  55. package/dist/calcite/{p-aa5787ff.entry.js → p-5173d4d5.entry.js} +2 -2
  56. package/dist/calcite/p-5493b0ff.system.js +6 -0
  57. package/dist/calcite/{p-244ab08d.entry.js → p-587ac194.entry.js} +2 -2
  58. package/dist/calcite/{p-e7d34b65.system.js → p-58d21c10.system.js} +1 -1
  59. package/dist/calcite/{p-837413e3.system.entry.js → p-5a26d765.system.entry.js} +2 -2
  60. package/dist/calcite/{p-d40106bb.system.entry.js → p-5a322d52.system.entry.js} +2 -2
  61. package/dist/calcite/{p-84a55ad1.system.entry.js → p-5b21f192.system.entry.js} +2 -2
  62. package/dist/calcite/{p-359d3fb0.system.entry.js → p-5b745241.system.entry.js} +2 -2
  63. package/dist/calcite/{p-6336e554.system.js → p-5e08e43c.system.js} +2 -2
  64. package/dist/calcite/{p-65d6c60f.js → p-5eacd101.js} +1 -1
  65. package/dist/calcite/{p-c9f1a940.system.entry.js → p-5f4daba6.system.entry.js} +2 -2
  66. package/dist/calcite/{p-6ff6f87a.system.entry.js → p-5f861187.system.entry.js} +2 -2
  67. package/dist/calcite/{p-b242e756.system.entry.js → p-5fe49537.system.entry.js} +2 -2
  68. package/dist/calcite/{p-575ec68a.system.entry.js → p-62a1c81d.system.entry.js} +2 -2
  69. package/dist/calcite/{p-e80aad35.js → p-635f786f.js} +2 -2
  70. package/dist/calcite/{p-7ae55854.js → p-63e73c95.js} +1 -1
  71. package/dist/calcite/{p-38513b73.entry.js → p-6435b0a1.entry.js} +2 -2
  72. package/dist/calcite/{p-94bb09ed.system.entry.js → p-6458e818.system.entry.js} +2 -2
  73. package/dist/calcite/{p-0560eb54.system.entry.js → p-645ab10a.system.entry.js} +2 -2
  74. package/dist/calcite/{p-32730eab.system.entry.js → p-65f99338.system.entry.js} +2 -2
  75. package/dist/calcite/{p-95a42e28.system.js → p-6691d147.system.js} +1 -1
  76. package/dist/calcite/{p-742300d9.entry.js → p-6807dea3.entry.js} +2 -2
  77. package/dist/calcite/{p-58a24448.system.entry.js → p-6be19ec4.system.entry.js} +2 -2
  78. package/dist/calcite/{p-00fc9dc6.system.js → p-6d41212f.system.js} +2 -2
  79. package/dist/calcite/{p-8063b632.js → p-6d7ee0b8.js} +1 -1
  80. package/dist/calcite/p-6dbf6d70.entry.js +6 -0
  81. package/dist/calcite/{p-6e713a6b.entry.js → p-70762440.entry.js} +2 -2
  82. package/dist/calcite/{p-d9da3e15.system.js → p-73e9187d.system.js} +1 -1
  83. package/dist/calcite/{p-74fb68dd.js → p-74045cd2.js} +1 -1
  84. package/dist/calcite/{p-e482b777.system.entry.js → p-74de428b.system.entry.js} +2 -2
  85. package/dist/calcite/p-7537de6a.entry.js +6 -0
  86. package/dist/calcite/{p-fdff57be.entry.js → p-763e7b90.entry.js} +2 -2
  87. package/dist/calcite/{p-330760b8.system.js → p-76d0f925.system.js} +2 -2
  88. package/dist/calcite/{p-68e6b8c8.entry.js → p-771af5e2.entry.js} +2 -2
  89. package/dist/calcite/{p-ff90c9f0.system.entry.js → p-7890a9fe.system.entry.js} +2 -2
  90. package/dist/calcite/{p-754ad31e.system.entry.js → p-78a14123.system.entry.js} +2 -2
  91. package/dist/calcite/{p-bdca23a0.entry.js → p-79d7865d.entry.js} +2 -2
  92. package/dist/calcite/{p-7cafa210.entry.js → p-79e521d2.entry.js} +2 -2
  93. package/dist/calcite/{p-bbc096b5.system.entry.js → p-7ba806bd.system.entry.js} +2 -2
  94. package/dist/calcite/{p-92b43d67.system.entry.js → p-7c1e6642.system.entry.js} +2 -2
  95. package/dist/calcite/{p-cca44aa2.js → p-7e99b406.js} +2 -2
  96. package/dist/calcite/{p-074bb552.system.js → p-7f278aea.system.js} +1 -1
  97. package/dist/calcite/{p-ff3870bd.entry.js → p-81922742.entry.js} +2 -2
  98. package/dist/calcite/{p-731a2d20.entry.js → p-8231b302.entry.js} +2 -2
  99. package/dist/calcite/{p-de4d7281.js → p-8551e8fe.js} +2 -2
  100. package/dist/calcite/{p-094fd62f.system.js → p-857fb485.system.js} +1 -1
  101. package/dist/calcite/{p-c3c7aff3.system.entry.js → p-8662a273.system.entry.js} +2 -2
  102. package/dist/calcite/{p-89904331.js → p-876dff53.js} +2 -2
  103. package/dist/calcite/{p-96b66926.system.js → p-87812365.system.js} +2 -2
  104. package/dist/calcite/{p-c3fdbf76.system.js → p-8906b45b.system.js} +1 -1
  105. package/dist/calcite/{p-3d0e720b.js → p-8a983533.js} +2 -2
  106. package/dist/calcite/{p-2a3b6659.entry.js → p-8ee51867.entry.js} +2 -2
  107. package/dist/calcite/{p-02125aed.system.entry.js → p-8f00e8af.system.entry.js} +2 -2
  108. package/dist/calcite/{p-b2ef1420.entry.js → p-9119abdf.entry.js} +2 -2
  109. package/dist/calcite/{p-fce3b1a1.system.entry.js → p-91bf59f3.system.entry.js} +2 -2
  110. package/dist/calcite/{p-8c46fd2f.system.entry.js → p-935e8a80.system.entry.js} +2 -2
  111. package/dist/calcite/{p-f5f17b1c.entry.js → p-95d00c3a.entry.js} +2 -2
  112. package/dist/calcite/{p-d2b14ae3.entry.js → p-96ef5070.entry.js} +2 -2
  113. package/dist/calcite/{p-da4a4ed8.system.entry.js → p-99fcd3cd.system.entry.js} +2 -2
  114. package/dist/calcite/{p-62dab821.entry.js → p-9a704c99.entry.js} +2 -2
  115. package/dist/calcite/{p-00f14d56.system.entry.js → p-9ceecc50.system.entry.js} +2 -2
  116. package/dist/calcite/{p-ac1ded23.system.entry.js → p-9ded762f.system.entry.js} +2 -2
  117. package/dist/calcite/{p-af38babb.entry.js → p-9f03f505.entry.js} +2 -2
  118. package/dist/calcite/{p-7af90221.system.entry.js → p-a0543a23.system.entry.js} +2 -2
  119. package/dist/calcite/{p-745e6201.js → p-a3f96232.js} +1 -1
  120. package/dist/calcite/{p-17e454ce.system.js → p-a62ccfd7.system.js} +2 -2
  121. package/dist/calcite/{p-59cd6b36.system.entry.js → p-a747f1d7.system.entry.js} +2 -2
  122. package/dist/calcite/{p-91bd8e6b.entry.js → p-a7fa401c.entry.js} +2 -2
  123. package/dist/calcite/{p-c4d211cb.entry.js → p-abb0a3f3.entry.js} +2 -2
  124. package/dist/calcite/{p-5347aa2a.system.entry.js → p-add73f89.system.entry.js} +2 -2
  125. package/dist/calcite/p-ae8eceed.entry.js +6 -0
  126. package/dist/calcite/{p-77ab5631.entry.js → p-b2b789c7.entry.js} +2 -2
  127. package/dist/calcite/{p-2a4ffe38.system.entry.js → p-b4c5da6f.system.entry.js} +3 -3
  128. package/dist/calcite/{p-a50268ee.system.entry.js → p-b6b10e22.system.entry.js} +2 -2
  129. package/dist/calcite/{p-336cdedf.system.js → p-bb5e5ffb.system.js} +1 -1
  130. package/dist/calcite/{p-de1943d2.system.js → p-bc363322.system.js} +2 -2
  131. package/dist/calcite/{p-60200b54.entry.js → p-c0738c16.entry.js} +2 -2
  132. package/dist/calcite/{p-969c1dc9.entry.js → p-c237bb63.entry.js} +2 -2
  133. package/dist/calcite/p-c2668e88.entry.js +6 -0
  134. package/dist/calcite/{p-a34b6984.system.entry.js → p-c2d25fad.system.entry.js} +2 -2
  135. package/dist/calcite/{p-fbb03710.js → p-c43ba981.js} +1 -1
  136. package/dist/calcite/{p-d2dbb10b.entry.js → p-c5629271.entry.js} +2 -2
  137. package/dist/calcite/{p-2850e1c6.entry.js → p-c5d51196.entry.js} +2 -2
  138. package/dist/calcite/{p-89beb8c1.system.entry.js → p-c85c2743.system.entry.js} +2 -2
  139. package/dist/calcite/{p-0fd58a0e.system.entry.js → p-cb0581e6.system.entry.js} +2 -2
  140. package/dist/calcite/{p-51764770.entry.js → p-d06b07a2.entry.js} +2 -2
  141. package/dist/calcite/{p-e6ae2404.system.entry.js → p-d32fc6bf.system.entry.js} +2 -2
  142. package/dist/calcite/p-d34e1ff5.js +6 -0
  143. package/dist/calcite/{p-1604f62c.entry.js → p-d36a9ae8.entry.js} +2 -2
  144. package/dist/calcite/{p-3ea9e446.entry.js → p-d523d8cc.entry.js} +2 -2
  145. package/dist/calcite/{p-c06328ea.entry.js → p-d5488a3e.entry.js} +2 -2
  146. package/dist/calcite/{p-f5868afc.entry.js → p-d64e8b8e.entry.js} +2 -2
  147. package/dist/calcite/{p-33c17454.entry.js → p-d6612851.entry.js} +2 -2
  148. package/dist/calcite/{p-02fd59b1.system.entry.js → p-da3a4817.system.entry.js} +2 -2
  149. package/dist/calcite/{p-7ac56e74.system.entry.js → p-db4d1c41.system.entry.js} +2 -2
  150. package/dist/calcite/{p-069a9c9c.entry.js → p-db77e732.entry.js} +2 -2
  151. package/dist/calcite/{p-18f21912.system.js → p-dba9a591.system.js} +1 -1
  152. package/dist/calcite/{p-afbf64ac.system.entry.js → p-dc882273.system.entry.js} +2 -2
  153. package/dist/calcite/{p-13f884de.system.js → p-dcc231fb.system.js} +2 -2
  154. package/dist/calcite/{p-23154dad.system.entry.js → p-ddab519c.system.entry.js} +2 -2
  155. package/dist/calcite/{p-37c2a3a1.entry.js → p-de536ef0.entry.js} +2 -2
  156. package/dist/calcite/{p-52e418c8.entry.js → p-e0d0a0c8.entry.js} +2 -2
  157. package/dist/calcite/{p-62f6a3d9.js → p-e4c0bfac.js} +1 -1
  158. package/dist/calcite/{p-22516814.system.entry.js → p-e57be199.system.entry.js} +3 -3
  159. package/dist/calcite/{p-55e084e0.entry.js → p-e711dc43.entry.js} +2 -2
  160. package/dist/calcite/{p-da5c354b.system.entry.js → p-eb8300a2.system.entry.js} +2 -2
  161. package/dist/calcite/{p-be8013f9.js → p-ed9c45da.js} +2 -2
  162. package/dist/calcite/{p-654c1434.entry.js → p-f185f2ff.entry.js} +2 -2
  163. package/dist/calcite/{p-26947682.system.entry.js → p-f1bc0e38.system.entry.js} +2 -2
  164. package/dist/calcite/{p-61abcec0.system.js → p-f1f9a708.system.js} +1 -1
  165. package/dist/calcite/p-f314edb9.entry.js +6 -0
  166. package/dist/calcite/{p-c8687235.js → p-f3991961.js} +1 -1
  167. package/dist/calcite/{p-df5eae9e.entry.js → p-f4839c59.entry.js} +2 -2
  168. package/dist/calcite/{p-9e7065b6.system.js → p-f495009f.system.js} +2 -2
  169. package/dist/calcite/{p-c81f960a.system.entry.js → p-f5c675ea.system.entry.js} +2 -2
  170. package/dist/calcite/{p-0f9f9fcb.system.entry.js → p-f68cc31f.system.entry.js} +2 -2
  171. package/dist/calcite/{p-dc1d3220.entry.js → p-f6cd655c.entry.js} +2 -2
  172. package/dist/calcite/{p-0a2a449b.js → p-f71bc24d.js} +1 -1
  173. package/dist/calcite/{p-088c23e6.system.entry.js → p-f7389e4a.system.entry.js} +2 -2
  174. package/dist/calcite/{p-84ec2b02.entry.js → p-fa1fe9ce.entry.js} +2 -2
  175. package/dist/calcite/{p-fac1db51.system.entry.js → p-fad46af8.system.entry.js} +2 -2
  176. package/dist/calcite/{p-ed3565ca.entry.js → p-fb89ecdf.entry.js} +2 -2
  177. package/dist/calcite/{p-041f41f9.entry.js → p-fe537558.entry.js} +2 -2
  178. package/dist/cjs/{ExpandToggle-c5cd50a7.js → ExpandToggle-be716ed0.js} +5 -5
  179. package/dist/cjs/{Heading-b8dad7f7.js → Heading-14436db8.js} +2 -2
  180. package/dist/cjs/{app-globals-1b9dd505.js → app-globals-18db0cbf.js} +2 -2
  181. package/dist/cjs/{array-a1c81436.js → array-6a40c1d9.js} +1 -1
  182. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  183. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  184. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  185. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  186. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  187. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
  189. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  190. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
  191. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
  194. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
  196. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -16
  197. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
  198. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -11
  199. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  200. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  201. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  202. package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
  203. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  204. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  205. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +17 -15
  207. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  208. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  209. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  210. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +10 -10
  211. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  212. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  213. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  214. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  215. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  216. package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
  217. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  218. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  219. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  221. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  222. package/dist/cjs/calcite-popover_2.cjs.entry.js +13 -12
  223. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  224. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  225. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  226. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  227. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  228. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  229. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  230. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  231. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  232. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
  233. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  234. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  235. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  236. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  237. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  238. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
  239. package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
  240. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
  241. package/dist/cjs/calcite.cjs.js +4 -4
  242. package/dist/cjs/{conditionalSlot-28b8da1d.js → conditionalSlot-74cabcef.js} +3 -3
  243. package/dist/cjs/{debounce-c4baaf74.js → debounce-d495c550.js} +1 -1
  244. package/dist/cjs/{dom-f413657e.js → dom-60a1a16f.js} +3 -3
  245. package/dist/cjs/{filter-44159563.js → filter-51cf2e7d.js} +2 -2
  246. package/dist/cjs/{floating-ui-1b32237f.js → floating-ui-686b3413.js} +5 -3
  247. package/dist/cjs/{form-045ea047.js → form-9ed868a6.js} +3 -3
  248. package/dist/cjs/{guid-25cefdab.js → guid-c2802a75.js} +1 -1
  249. package/dist/cjs/{index-e0fe9eb5.js → index-cc07b36c.js} +1 -1
  250. package/dist/cjs/index.cjs.js +1 -1
  251. package/dist/cjs/{interactive-9c036432.js → interactive-27d3c6c4.js} +1 -1
  252. package/dist/cjs/{interfaces-d9fd7848.js → interfaces-d1d635a6.js} +1 -1
  253. package/dist/cjs/{key-bc2f406d.js → key-92498ae8.js} +1 -1
  254. package/dist/cjs/{label-778ca56b.js → label-edae341f.js} +2 -2
  255. package/dist/cjs/loader.cjs.js +4 -4
  256. package/dist/cjs/{locale-259e7f9d.js → locale-c6f1966f.js} +2 -2
  257. package/dist/cjs/{math-16ed65c9.js → math-66bff6e9.js} +1 -1
  258. package/dist/cjs/{observers-3e31ea57.js → observers-53ebb8f3.js} +1 -1
  259. package/dist/cjs/{openCloseComponent-c4968b03.js → openCloseComponent-0885b399.js} +1 -1
  260. package/dist/cjs/{resources-6b10015b.js → resources-10d76ea2.js} +5 -5
  261. package/dist/cjs/{resources-c39f6c4b.js → resources-1e6ef3e5.js} +3 -3
  262. package/dist/cjs/{resources-a59aa8fc.js → resources-4619d271.js} +1 -1
  263. package/dist/cjs/{resources-b39ab51b.js → resources-bb3999db.js} +1 -1
  264. package/dist/cjs/{resources-077d9529.js → resources-dac2d527.js} +1 -1
  265. package/dist/cjs/{sortable.esm-56f643c8.js → sortable.esm-d676475c.js} +1 -1
  266. package/dist/cjs/{utils-2f350739.js → utils-692d8506.js} +1 -1
  267. package/dist/collection/components/accordion/accordion.js +1 -1
  268. package/dist/collection/components/accordion/interfaces.js +1 -1
  269. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  270. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  271. package/dist/collection/components/accordion-item/resources.js +1 -1
  272. package/dist/collection/components/action/action.js +1 -1
  273. package/dist/collection/components/action/resources.js +1 -1
  274. package/dist/collection/components/action-bar/action-bar.js +1 -1
  275. package/dist/collection/components/action-bar/resources.js +1 -1
  276. package/dist/collection/components/action-bar/utils.js +1 -1
  277. package/dist/collection/components/action-group/action-group.js +1 -1
  278. package/dist/collection/components/action-group/resources.js +1 -1
  279. package/dist/collection/components/action-menu/action-menu.js +1 -1
  280. package/dist/collection/components/action-menu/resources.js +1 -1
  281. package/dist/collection/components/action-pad/action-pad.js +1 -1
  282. package/dist/collection/components/action-pad/resources.js +1 -1
  283. package/dist/collection/components/alert/alert.js +1 -1
  284. package/dist/collection/components/alert/interfaces.js +1 -1
  285. package/dist/collection/components/alert/resources.js +1 -1
  286. package/dist/collection/components/avatar/avatar.js +1 -1
  287. package/dist/collection/components/avatar/utils.js +1 -1
  288. package/dist/collection/components/block/block.js +1 -1
  289. package/dist/collection/components/block/resources.js +1 -1
  290. package/dist/collection/components/block-section/block-section.js +1 -1
  291. package/dist/collection/components/block-section/interfaces.js +1 -1
  292. package/dist/collection/components/block-section/resources.js +1 -1
  293. package/dist/collection/components/button/button.js +1 -1
  294. package/dist/collection/components/button/interfaces.js +1 -1
  295. package/dist/collection/components/button/resources.js +1 -1
  296. package/dist/collection/components/card/card.js +1 -1
  297. package/dist/collection/components/card/resources.js +1 -1
  298. package/dist/collection/components/checkbox/checkbox.js +1 -1
  299. package/dist/collection/components/chip/chip.js +1 -1
  300. package/dist/collection/components/chip/interfaces.js +1 -1
  301. package/dist/collection/components/chip/resources.js +1 -1
  302. package/dist/collection/components/color-picker/color-picker.js +1 -1
  303. package/dist/collection/components/color-picker/interfaces.js +1 -1
  304. package/dist/collection/components/color-picker/resources.js +1 -1
  305. package/dist/collection/components/color-picker/utils.js +1 -1
  306. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  307. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  308. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  309. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  310. package/dist/collection/components/combobox/combobox.js +5 -3
  311. package/dist/collection/components/combobox/interfaces.js +1 -1
  312. package/dist/collection/components/combobox/resources.js +1 -1
  313. package/dist/collection/components/combobox/utils.js +1 -1
  314. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  315. package/dist/collection/components/combobox-item/resources.js +1 -1
  316. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  317. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  318. package/dist/collection/components/date-picker/date-picker.js +1 -1
  319. package/dist/collection/components/date-picker/interfaces.js +1 -1
  320. package/dist/collection/components/date-picker/resources.js +1 -1
  321. package/dist/collection/components/date-picker/utils.js +1 -1
  322. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  323. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  324. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  325. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  326. package/dist/collection/components/dropdown/dropdown.js +4 -2
  327. package/dist/collection/components/dropdown/interfaces.js +1 -1
  328. package/dist/collection/components/dropdown/resources.js +1 -1
  329. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  330. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  331. package/dist/collection/components/dropdown-group/resources.js +1 -1
  332. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  333. package/dist/collection/components/dropdown-item/resources.js +1 -1
  334. package/dist/collection/components/fab/fab.js +1 -1
  335. package/dist/collection/components/fab/resources.js +1 -1
  336. package/dist/collection/components/filter/filter.js +1 -1
  337. package/dist/collection/components/filter/resources.js +1 -1
  338. package/dist/collection/components/flow/flow.js +1 -1
  339. package/dist/collection/components/flow/interfaces.js +1 -1
  340. package/dist/collection/components/flow/resources.js +1 -1
  341. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  342. package/dist/collection/components/functional/Heading.js +1 -1
  343. package/dist/collection/components/graph/graph.js +1 -1
  344. package/dist/collection/components/graph/interfaces.js +1 -1
  345. package/dist/collection/components/graph/util.js +1 -1
  346. package/dist/collection/components/handle/handle.js +1 -1
  347. package/dist/collection/components/handle/resources.js +1 -1
  348. package/dist/collection/components/icon/icon.js +1 -1
  349. package/dist/collection/components/icon/resources.js +1 -1
  350. package/dist/collection/components/icon/utils.js +1 -1
  351. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  352. package/dist/collection/components/inline-editable/resources.js +1 -1
  353. package/dist/collection/components/input/input.js +1 -1
  354. package/dist/collection/components/input/interfaces.js +1 -1
  355. package/dist/collection/components/input/resources.js +1 -1
  356. package/dist/collection/components/input-date-picker/input-date-picker.js +5 -3
  357. package/dist/collection/components/input-date-picker/resources.js +1 -1
  358. package/dist/collection/components/input-message/input-message.js +1 -1
  359. package/dist/collection/components/input-message/interfaces.js +1 -1
  360. package/dist/collection/components/input-number/input-number.js +1 -1
  361. package/dist/collection/components/input-number/interfaces.js +1 -1
  362. package/dist/collection/components/input-number/resources.js +1 -1
  363. package/dist/collection/components/input-text/input-text.js +1 -1
  364. package/dist/collection/components/input-text/resources.js +1 -1
  365. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  366. package/dist/collection/components/interfaces.js +1 -1
  367. package/dist/collection/components/label/label.js +1 -1
  368. package/dist/collection/components/label/resources.js +1 -1
  369. package/dist/collection/components/link/link.js +1 -1
  370. package/dist/collection/components/list/list.js +1 -1
  371. package/dist/collection/components/list/resources.js +1 -1
  372. package/dist/collection/components/list-item/list-item.js +1 -1
  373. package/dist/collection/components/list-item/resources.js +1 -1
  374. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  375. package/dist/collection/components/list-item-group/resources.js +1 -1
  376. package/dist/collection/components/loader/loader.js +1 -1
  377. package/dist/collection/components/modal/interfaces.js +1 -1
  378. package/dist/collection/components/modal/modal.js +1 -1
  379. package/dist/collection/components/modal/resources.js +1 -1
  380. package/dist/collection/components/notice/notice.js +1 -1
  381. package/dist/collection/components/notice/resources.js +1 -1
  382. package/dist/collection/components/option/option.js +1 -1
  383. package/dist/collection/components/option-group/option-group.js +1 -1
  384. package/dist/collection/components/pagination/pagination.js +1 -1
  385. package/dist/collection/components/pagination/resources.js +1 -1
  386. package/dist/collection/components/panel/panel.js +1 -1
  387. package/dist/collection/components/panel/resources.js +1 -1
  388. package/dist/collection/components/pick-list/pick-list.js +1 -1
  389. package/dist/collection/components/pick-list/resources.js +1 -1
  390. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  391. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  392. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  393. package/dist/collection/components/pick-list-group/resources.js +1 -1
  394. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  395. package/dist/collection/components/pick-list-item/resources.js +1 -1
  396. package/dist/collection/components/popover/PopoverManager.js +1 -1
  397. package/dist/collection/components/popover/popover.js +4 -3
  398. package/dist/collection/components/popover/resources.js +1 -1
  399. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  400. package/dist/collection/components/progress/progress.js +1 -1
  401. package/dist/collection/components/radio-button/radio-button.js +1 -1
  402. package/dist/collection/components/radio-button/resources.js +1 -1
  403. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  404. package/dist/collection/components/radio-group/interfaces.js +1 -1
  405. package/dist/collection/components/radio-group/radio-group.js +1 -1
  406. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  407. package/dist/collection/components/radio-group-item/resources.js +1 -1
  408. package/dist/collection/components/rating/rating.js +1 -1
  409. package/dist/collection/components/rating/resources.js +1 -1
  410. package/dist/collection/components/scrim/resources.js +1 -1
  411. package/dist/collection/components/scrim/scrim.js +1 -1
  412. package/dist/collection/components/select/resources.js +1 -1
  413. package/dist/collection/components/select/select.js +1 -1
  414. package/dist/collection/components/shell/resources.js +1 -1
  415. package/dist/collection/components/shell/shell.js +1 -1
  416. package/dist/collection/components/shell-center-row/resources.js +1 -1
  417. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  418. package/dist/collection/components/shell-panel/resources.js +1 -1
  419. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  420. package/dist/collection/components/slider/slider.js +1 -1
  421. package/dist/collection/components/sortable-list/resources.js +1 -1
  422. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  423. package/dist/collection/components/split-button/resources.js +1 -1
  424. package/dist/collection/components/split-button/split-button.js +1 -1
  425. package/dist/collection/components/stepper/interfaces.js +1 -1
  426. package/dist/collection/components/stepper/stepper.js +1 -1
  427. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  428. package/dist/collection/components/switch/switch.js +1 -1
  429. package/dist/collection/components/tab/interfaces.js +1 -1
  430. package/dist/collection/components/tab/tab.js +1 -1
  431. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  432. package/dist/collection/components/tab-title/tab-title.js +1 -1
  433. package/dist/collection/components/tabs/interfaces.js +1 -1
  434. package/dist/collection/components/tabs/resources.js +1 -1
  435. package/dist/collection/components/tabs/tabs.js +1 -1
  436. package/dist/collection/components/tile/resources.js +1 -1
  437. package/dist/collection/components/tile/tile.js +1 -1
  438. package/dist/collection/components/tile-select/interfaces.js +1 -1
  439. package/dist/collection/components/tile-select/resources.js +1 -1
  440. package/dist/collection/components/tile-select/tile-select.js +1 -1
  441. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  442. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  443. package/dist/collection/components/time-picker/resources.js +1 -1
  444. package/dist/collection/components/time-picker/time-picker.js +1 -1
  445. package/dist/collection/components/tip/resources.js +1 -1
  446. package/dist/collection/components/tip/tip.js +1 -1
  447. package/dist/collection/components/tip-group/tip-group.js +1 -1
  448. package/dist/collection/components/tip-manager/resources.js +1 -1
  449. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  450. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  451. package/dist/collection/components/tooltip/resources.js +1 -1
  452. package/dist/collection/components/tooltip/tooltip.js +1 -1
  453. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  454. package/dist/collection/components/tree/interfaces.js +1 -1
  455. package/dist/collection/components/tree/tree.js +1 -1
  456. package/dist/collection/components/tree-item/interfaces.js +1 -1
  457. package/dist/collection/components/tree-item/resources.js +1 -1
  458. package/dist/collection/components/tree-item/tree-item.js +1 -1
  459. package/dist/collection/components/value-list/interfaces.js +1 -1
  460. package/dist/collection/components/value-list/resources.js +1 -1
  461. package/dist/collection/components/value-list/utils.js +1 -1
  462. package/dist/collection/components/value-list/value-list.js +1 -1
  463. package/dist/collection/components/value-list-item/resources.js +1 -1
  464. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  465. package/dist/collection/utils/array.js +1 -1
  466. package/dist/collection/utils/conditionalSlot.js +1 -1
  467. package/dist/collection/utils/date.js +1 -1
  468. package/dist/collection/utils/dom.js +1 -1
  469. package/dist/collection/utils/filter.js +1 -1
  470. package/dist/collection/utils/floating-ui.js +4 -2
  471. package/dist/collection/utils/form.js +1 -1
  472. package/dist/collection/utils/globalAttributes.js +1 -1
  473. package/dist/collection/utils/globalScript.js +1 -1
  474. package/dist/collection/utils/guid.js +1 -1
  475. package/dist/collection/utils/interactive.js +1 -1
  476. package/dist/collection/utils/key.js +1 -1
  477. package/dist/collection/utils/label.js +1 -1
  478. package/dist/collection/utils/locale.js +1 -1
  479. package/dist/collection/utils/math.js +1 -1
  480. package/dist/collection/utils/number.js +1 -1
  481. package/dist/collection/utils/observers.js +1 -1
  482. package/dist/collection/utils/openCloseComponent.js +1 -1
  483. package/dist/collection/utils/resources.js +1 -1
  484. package/dist/collection/utils/theme.js +1 -1
  485. package/dist/collection/utils/time.js +1 -1
  486. package/dist/components/ExpandToggle.js +1 -1
  487. package/dist/components/Heading.js +1 -1
  488. package/dist/components/action-group.js +1 -1
  489. package/dist/components/action-menu.js +1 -1
  490. package/dist/components/action.js +1 -1
  491. package/dist/components/array.js +1 -1
  492. package/dist/components/button.js +1 -1
  493. package/dist/components/calcite-accordion-item.js +1 -1
  494. package/dist/components/calcite-accordion.js +1 -1
  495. package/dist/components/calcite-action-bar.js +1 -1
  496. package/dist/components/calcite-action-group.js +1 -1
  497. package/dist/components/calcite-action-menu.js +1 -1
  498. package/dist/components/calcite-action-pad.js +1 -1
  499. package/dist/components/calcite-action.js +1 -1
  500. package/dist/components/calcite-alert.js +1 -1
  501. package/dist/components/calcite-avatar.js +1 -1
  502. package/dist/components/calcite-block-section.js +1 -1
  503. package/dist/components/calcite-block.js +1 -1
  504. package/dist/components/calcite-button.js +1 -1
  505. package/dist/components/calcite-card.js +1 -1
  506. package/dist/components/calcite-checkbox.js +1 -1
  507. package/dist/components/calcite-chip.js +1 -1
  508. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  509. package/dist/components/calcite-color-picker-swatch.js +1 -1
  510. package/dist/components/calcite-color-picker.js +1 -1
  511. package/dist/components/calcite-combobox-item-group.js +1 -1
  512. package/dist/components/calcite-combobox-item.js +1 -1
  513. package/dist/components/calcite-combobox.js +5 -3
  514. package/dist/components/calcite-date-picker-day.js +1 -1
  515. package/dist/components/calcite-date-picker-month-header.js +1 -1
  516. package/dist/components/calcite-date-picker-month.js +1 -1
  517. package/dist/components/calcite-date-picker.js +1 -1
  518. package/dist/components/calcite-dropdown-group.js +1 -1
  519. package/dist/components/calcite-dropdown-item.js +1 -1
  520. package/dist/components/calcite-dropdown.js +1 -1
  521. package/dist/components/calcite-fab.js +1 -1
  522. package/dist/components/calcite-filter.js +1 -1
  523. package/dist/components/calcite-flow.js +1 -1
  524. package/dist/components/calcite-graph.js +1 -1
  525. package/dist/components/calcite-handle.js +1 -1
  526. package/dist/components/calcite-icon.js +1 -1
  527. package/dist/components/calcite-inline-editable.js +1 -1
  528. package/dist/components/calcite-input-date-picker.js +5 -3
  529. package/dist/components/calcite-input-message.js +1 -1
  530. package/dist/components/calcite-input-number.js +1 -1
  531. package/dist/components/calcite-input-text.js +1 -1
  532. package/dist/components/calcite-input-time-picker.js +1 -1
  533. package/dist/components/calcite-input.js +1 -1
  534. package/dist/components/calcite-label.js +1 -1
  535. package/dist/components/calcite-link.js +1 -1
  536. package/dist/components/calcite-list-item-group.js +1 -1
  537. package/dist/components/calcite-list-item.js +1 -1
  538. package/dist/components/calcite-list.js +1 -1
  539. package/dist/components/calcite-loader.js +1 -1
  540. package/dist/components/calcite-modal.js +1 -1
  541. package/dist/components/calcite-notice.js +1 -1
  542. package/dist/components/calcite-option-group.js +1 -1
  543. package/dist/components/calcite-option.js +1 -1
  544. package/dist/components/calcite-pagination.js +1 -1
  545. package/dist/components/calcite-panel.js +1 -1
  546. package/dist/components/calcite-pick-list-group.js +1 -1
  547. package/dist/components/calcite-pick-list-item.js +1 -1
  548. package/dist/components/calcite-pick-list.js +1 -1
  549. package/dist/components/calcite-popover-manager.js +1 -1
  550. package/dist/components/calcite-popover.js +1 -1
  551. package/dist/components/calcite-progress.js +1 -1
  552. package/dist/components/calcite-radio-button-group.js +1 -1
  553. package/dist/components/calcite-radio-button.js +1 -1
  554. package/dist/components/calcite-radio-group-item.js +1 -1
  555. package/dist/components/calcite-radio-group.js +1 -1
  556. package/dist/components/calcite-rating.js +1 -1
  557. package/dist/components/calcite-scrim.js +1 -1
  558. package/dist/components/calcite-select.js +1 -1
  559. package/dist/components/calcite-shell-center-row.js +1 -1
  560. package/dist/components/calcite-shell-panel.js +1 -1
  561. package/dist/components/calcite-shell.js +1 -1
  562. package/dist/components/calcite-slider.js +1 -1
  563. package/dist/components/calcite-sortable-list.js +1 -1
  564. package/dist/components/calcite-split-button.js +1 -1
  565. package/dist/components/calcite-stepper-item.js +1 -1
  566. package/dist/components/calcite-stepper.js +1 -1
  567. package/dist/components/calcite-switch.js +1 -1
  568. package/dist/components/calcite-tab-nav.js +1 -1
  569. package/dist/components/calcite-tab-title.js +1 -1
  570. package/dist/components/calcite-tab.js +1 -1
  571. package/dist/components/calcite-tabs.js +1 -1
  572. package/dist/components/calcite-tile-select-group.js +1 -1
  573. package/dist/components/calcite-tile-select.js +1 -1
  574. package/dist/components/calcite-tile.js +1 -1
  575. package/dist/components/calcite-time-picker.js +1 -1
  576. package/dist/components/calcite-tip-group.js +1 -1
  577. package/dist/components/calcite-tip-manager.js +1 -1
  578. package/dist/components/calcite-tip.js +1 -1
  579. package/dist/components/calcite-tooltip-manager.js +1 -1
  580. package/dist/components/calcite-tooltip.js +1 -1
  581. package/dist/components/calcite-tree-item.js +1 -1
  582. package/dist/components/calcite-tree.js +1 -1
  583. package/dist/components/calcite-value-list-item.js +1 -1
  584. package/dist/components/calcite-value-list.js +1 -1
  585. package/dist/components/checkbox.js +1 -1
  586. package/dist/components/chip.js +1 -1
  587. package/dist/components/color-picker-hex-input.js +1 -1
  588. package/dist/components/color-picker-swatch.js +1 -1
  589. package/dist/components/conditionalSlot.js +1 -1
  590. package/dist/components/date-picker-day.js +1 -1
  591. package/dist/components/date-picker-month-header.js +1 -1
  592. package/dist/components/date-picker-month.js +1 -1
  593. package/dist/components/date-picker.js +1 -1
  594. package/dist/components/date.js +1 -1
  595. package/dist/components/debounce.js +1 -1
  596. package/dist/components/dom.js +1 -1
  597. package/dist/components/dropdown.js +4 -2
  598. package/dist/components/filter.js +1 -1
  599. package/dist/components/filter2.js +1 -1
  600. package/dist/components/floating-ui.js +4 -2
  601. package/dist/components/form.js +1 -1
  602. package/dist/components/graph.js +1 -1
  603. package/dist/components/guid.js +1 -1
  604. package/dist/components/handle.js +1 -1
  605. package/dist/components/icon.js +1 -1
  606. package/dist/components/index.js +1 -1
  607. package/dist/components/input.js +1 -1
  608. package/dist/components/interactive.js +1 -1
  609. package/dist/components/interfaces.js +1 -1
  610. package/dist/components/interfaces2.js +1 -1
  611. package/dist/components/key.js +1 -1
  612. package/dist/components/label.js +1 -1
  613. package/dist/components/label2.js +1 -1
  614. package/dist/components/link.js +1 -1
  615. package/dist/components/loader.js +1 -1
  616. package/dist/components/locale.js +1 -1
  617. package/dist/components/math.js +1 -1
  618. package/dist/components/observers.js +1 -1
  619. package/dist/components/openCloseComponent.js +1 -1
  620. package/dist/components/pick-list-item.js +1 -1
  621. package/dist/components/popover.js +4 -3
  622. package/dist/components/progress.js +1 -1
  623. package/dist/components/resources.js +1 -1
  624. package/dist/components/resources2.js +1 -1
  625. package/dist/components/resources3.js +1 -1
  626. package/dist/components/resources4.js +1 -1
  627. package/dist/components/scrim.js +1 -1
  628. package/dist/components/shared-list-render.js +1 -1
  629. package/dist/components/sortable.esm.js +1 -1
  630. package/dist/components/switch.js +1 -1
  631. package/dist/components/tab-nav.js +1 -1
  632. package/dist/components/tab-title.js +1 -1
  633. package/dist/components/tab.js +1 -1
  634. package/dist/components/tabs.js +1 -1
  635. package/dist/components/tile.js +1 -1
  636. package/dist/components/time-picker.js +1 -1
  637. package/dist/components/utils.js +1 -1
  638. package/dist/components/utils2.js +1 -1
  639. package/dist/custom-elements/index.js +18 -9
  640. package/dist/esm/{ExpandToggle-527fb31c.js → ExpandToggle-b806b6d6.js} +5 -5
  641. package/dist/esm/{Heading-90ae128b.js → Heading-c9260472.js} +2 -2
  642. package/dist/esm/{app-globals-d650d4de.js → app-globals-dfd78ab9.js} +2 -2
  643. package/dist/esm/{array-96589451.js → array-f540a504.js} +1 -1
  644. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  645. package/dist/esm/calcite-action-bar.entry.js +11 -11
  646. package/dist/esm/calcite-action-group.entry.js +9 -9
  647. package/dist/esm/calcite-action-menu.entry.js +8 -8
  648. package/dist/esm/calcite-action-pad.entry.js +10 -10
  649. package/dist/esm/calcite-action.entry.js +7 -7
  650. package/dist/esm/calcite-alert.entry.js +7 -7
  651. package/dist/esm/calcite-avatar.entry.js +6 -6
  652. package/dist/esm/calcite-block_2.entry.js +10 -10
  653. package/dist/esm/calcite-button.entry.js +9 -9
  654. package/dist/esm/calcite-card.entry.js +7 -7
  655. package/dist/esm/calcite-checkbox.entry.js +9 -9
  656. package/dist/esm/calcite-chip.entry.js +7 -7
  657. package/dist/esm/calcite-color-picker_3.entry.js +10 -10
  658. package/dist/esm/calcite-combobox_3.entry.js +18 -16
  659. package/dist/esm/calcite-date-picker_4.entry.js +10 -10
  660. package/dist/esm/calcite-dropdown_3.entry.js +13 -11
  661. package/dist/esm/calcite-fab.entry.js +6 -6
  662. package/dist/esm/calcite-filter.entry.js +8 -8
  663. package/dist/esm/calcite-flow.entry.js +3 -3
  664. package/dist/esm/calcite-graph_2.entry.js +11 -11
  665. package/dist/esm/calcite-handle.entry.js +5 -5
  666. package/dist/esm/calcite-icon.entry.js +6 -6
  667. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  668. package/dist/esm/calcite-input-date-picker.entry.js +17 -15
  669. package/dist/esm/calcite-input-message.entry.js +5 -5
  670. package/dist/esm/calcite-input-number.entry.js +12 -12
  671. package/dist/esm/calcite-input-text.entry.js +9 -9
  672. package/dist/esm/calcite-input-time-picker_2.entry.js +10 -10
  673. package/dist/esm/calcite-input.entry.js +12 -12
  674. package/dist/esm/calcite-label.entry.js +6 -6
  675. package/dist/esm/calcite-link.entry.js +6 -6
  676. package/dist/esm/calcite-list_3.entry.js +9 -9
  677. package/dist/esm/calcite-loader.entry.js +3 -3
  678. package/dist/esm/calcite-modal.entry.js +8 -8
  679. package/dist/esm/calcite-notice.entry.js +8 -8
  680. package/dist/esm/calcite-option_3.entry.js +9 -9
  681. package/dist/esm/calcite-pagination.entry.js +5 -5
  682. package/dist/esm/calcite-panel.entry.js +10 -10
  683. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  684. package/dist/esm/calcite-popover_2.entry.js +13 -12
  685. package/dist/esm/calcite-progress.entry.js +2 -2
  686. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  687. package/dist/esm/calcite-radio-button.entry.js +9 -9
  688. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  689. package/dist/esm/calcite-rating.entry.js +9 -9
  690. package/dist/esm/calcite-scrim.entry.js +2 -2
  691. package/dist/esm/calcite-shell_3.entry.js +8 -8
  692. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  693. package/dist/esm/calcite-split-button.entry.js +3 -3
  694. package/dist/esm/calcite-stepper_2.entry.js +6 -6
  695. package/dist/esm/calcite-switch.entry.js +9 -9
  696. package/dist/esm/calcite-tab_4.entry.js +7 -7
  697. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  698. package/dist/esm/calcite-tile.entry.js +8 -8
  699. package/dist/esm/calcite-tip_3.entry.js +8 -8
  700. package/dist/esm/calcite-tooltip_2.entry.js +6 -6
  701. package/dist/esm/calcite-tree_2.entry.js +7 -7
  702. package/dist/esm/calcite-value-list_2.entry.js +12 -12
  703. package/dist/esm/calcite.js +4 -4
  704. package/dist/esm/{conditionalSlot-1c5819e8.js → conditionalSlot-13919550.js} +3 -3
  705. package/dist/esm/{debounce-6ff3f3ca.js → debounce-4468ec93.js} +1 -1
  706. package/dist/esm/{dom-44ee7a35.js → dom-fb85e16c.js} +3 -3
  707. package/dist/esm/{filter-0e8f76d7.js → filter-c6da97aa.js} +2 -2
  708. package/dist/esm/{floating-ui-6f715361.js → floating-ui-a41704c5.js} +5 -3
  709. package/dist/esm/{form-1d99921a.js → form-19995c88.js} +3 -3
  710. package/dist/esm/{guid-55234227.js → guid-6b7f5b2a.js} +1 -1
  711. package/dist/esm/{index-b437028c.js → index-0bb6162f.js} +1 -1
  712. package/dist/esm/index.js +1 -1
  713. package/dist/esm/{interactive-ac2dfbba.js → interactive-6af5c5ed.js} +1 -1
  714. package/dist/esm/{interfaces-d5fac8d6.js → interfaces-ef7c93cb.js} +1 -1
  715. package/dist/esm/{key-2ee31b0e.js → key-9400c512.js} +1 -1
  716. package/dist/esm/{label-63ea64f5.js → label-f7a4cb22.js} +2 -2
  717. package/dist/esm/loader.js +4 -4
  718. package/dist/esm/{locale-ebcab169.js → locale-be38e4a3.js} +2 -2
  719. package/dist/esm/{math-4dd9a94b.js → math-d8951c4d.js} +1 -1
  720. package/dist/esm/{observers-7a3a3ac4.js → observers-dfc11a10.js} +1 -1
  721. package/dist/esm/{openCloseComponent-1e6c74f9.js → openCloseComponent-63ae7c03.js} +1 -1
  722. package/dist/esm/{resources-321413da.js → resources-67e1126c.js} +1 -1
  723. package/dist/esm/{resources-f8b87a62.js → resources-8d32ecce.js} +1 -1
  724. package/dist/esm/{resources-4ed46688.js → resources-c8cc7a09.js} +5 -5
  725. package/dist/esm/{resources-5ae71b3a.js → resources-d106e29b.js} +1 -1
  726. package/dist/esm/{resources-d7250ef4.js → resources-db745cae.js} +3 -3
  727. package/dist/esm/{sortable.esm-3e852d72.js → sortable.esm-3c0036cf.js} +1 -1
  728. package/dist/esm/{utils-c50b16ec.js → utils-82f6c024.js} +1 -1
  729. package/dist/esm-es5/{ExpandToggle-527fb31c.js → ExpandToggle-b806b6d6.js} +2 -2
  730. package/dist/esm-es5/{Heading-90ae128b.js → Heading-c9260472.js} +2 -2
  731. package/dist/esm-es5/{app-globals-d650d4de.js → app-globals-dfd78ab9.js} +2 -2
  732. package/dist/esm-es5/{array-96589451.js → array-f540a504.js} +1 -1
  733. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  734. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  735. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  736. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  737. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  738. package/dist/esm-es5/calcite-action.entry.js +2 -2
  739. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  740. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  741. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  742. package/dist/esm-es5/calcite-button.entry.js +2 -2
  743. package/dist/esm-es5/calcite-card.entry.js +2 -2
  744. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  745. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  746. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  747. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  748. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  749. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  750. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  751. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  752. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  753. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  754. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  755. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  756. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  757. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  758. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  759. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  760. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  761. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  762. package/dist/esm-es5/calcite-input.entry.js +2 -2
  763. package/dist/esm-es5/calcite-label.entry.js +2 -2
  764. package/dist/esm-es5/calcite-link.entry.js +2 -2
  765. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  766. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  767. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  768. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  769. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  770. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  771. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  772. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  773. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  774. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  775. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  776. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  777. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  778. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  779. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  780. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  781. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  782. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  783. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  784. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  785. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  786. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  787. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  788. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  789. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  790. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  791. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  792. package/dist/esm-es5/calcite.js +2 -2
  793. package/dist/esm-es5/{conditionalSlot-1c5819e8.js → conditionalSlot-13919550.js} +2 -2
  794. package/dist/esm-es5/{debounce-6ff3f3ca.js → debounce-4468ec93.js} +1 -1
  795. package/dist/esm-es5/{dom-44ee7a35.js → dom-fb85e16c.js} +2 -2
  796. package/dist/esm-es5/{filter-0e8f76d7.js → filter-c6da97aa.js} +2 -2
  797. package/dist/esm-es5/{floating-ui-6f715361.js → floating-ui-a41704c5.js} +2 -2
  798. package/dist/esm-es5/{form-1d99921a.js → form-19995c88.js} +2 -2
  799. package/dist/esm-es5/{guid-55234227.js → guid-6b7f5b2a.js} +1 -1
  800. package/dist/esm-es5/{index-b437028c.js → index-0bb6162f.js} +1 -1
  801. package/dist/esm-es5/index.js +1 -1
  802. package/dist/esm-es5/{interactive-ac2dfbba.js → interactive-6af5c5ed.js} +1 -1
  803. package/dist/esm-es5/{interfaces-d5fac8d6.js → interfaces-ef7c93cb.js} +1 -1
  804. package/dist/esm-es5/{key-2ee31b0e.js → key-9400c512.js} +1 -1
  805. package/dist/esm-es5/{label-63ea64f5.js → label-f7a4cb22.js} +2 -2
  806. package/dist/esm-es5/loader.js +2 -2
  807. package/dist/esm-es5/{locale-ebcab169.js → locale-be38e4a3.js} +2 -2
  808. package/dist/esm-es5/{math-4dd9a94b.js → math-d8951c4d.js} +1 -1
  809. package/dist/esm-es5/{observers-7a3a3ac4.js → observers-dfc11a10.js} +1 -1
  810. package/dist/esm-es5/{openCloseComponent-1e6c74f9.js → openCloseComponent-63ae7c03.js} +1 -1
  811. package/dist/esm-es5/{resources-321413da.js → resources-67e1126c.js} +1 -1
  812. package/dist/esm-es5/{resources-f8b87a62.js → resources-8d32ecce.js} +1 -1
  813. package/dist/esm-es5/{resources-4ed46688.js → resources-c8cc7a09.js} +2 -2
  814. package/dist/esm-es5/{resources-5ae71b3a.js → resources-d106e29b.js} +1 -1
  815. package/dist/esm-es5/{resources-d7250ef4.js → resources-db745cae.js} +2 -2
  816. package/dist/esm-es5/{sortable.esm-3e852d72.js → sortable.esm-3c0036cf.js} +1 -1
  817. package/dist/esm-es5/{utils-c50b16ec.js → utils-82f6c024.js} +1 -1
  818. package/dist/extras/docs-json.json +1 -1
  819. package/dist/loader/cdn.js +1 -1
  820. package/dist/loader/index.cjs.js +1 -1
  821. package/dist/loader/index.es2017.js +1 -1
  822. package/dist/loader/index.js +1 -1
  823. package/hydrate/index.js +18 -9
  824. package/package.json +5 -5
  825. package/dist/calcite/p-1d5bda27.js +0 -6
  826. package/dist/calcite/p-411271d0.entry.js +0 -6
  827. package/dist/calcite/p-42dfc33d.js +0 -6
  828. package/dist/calcite/p-4503d638.entry.js +0 -6
  829. package/dist/calcite/p-4f11593d.system.js +0 -6
  830. package/dist/calcite/p-771e132a.entry.js +0 -6
  831. package/dist/calcite/p-7cf94a52.entry.js +0 -6
  832. package/dist/calcite/p-a2124a0a.entry.js +0 -6
  833. package/dist/calcite/p-ec5a5a34.js +0 -6
  834. package/dist/calcite/p-ec68fd51.entry.js +0 -6
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.572
6
- */System.register(["./p-c3fdbf76.system.js","./p-757d267e.system.js","./p-de1943d2.system.js","./p-e1879904.system.js","./p-43ad746e.system.js","./p-604aceb7.system.js","./p-ba043f27.system.js","./p-96b66926.system.js","./p-e7d34b65.system.js"],(function(e){"use strict";var t,i,n,a,r,o,l,c,s,u,d,m,p,f,h,v,b;return{setters:[function(e){t=e.r;i=e.c;n=e.h;a=e.H;r=e.g},function(e){o=e.g},function(e){l=e.i},function(e){c=e.c;s=e.d;u=e.g},function(e){d=e.s;m=e.c;p=e.d;f=e.H},function(e){h=e.u},function(e){v=e.n;b=e.i},function(){},function(){}],execute:function(){var w=5;function k(e,t){if(t===void 0){t=true}try{var i={hour:"2-digit",minute:"2-digit",timeZone:"UTC"};if(t){i.second="2-digit"}return new Intl.DateTimeFormat(e,i)}catch(t){throw new Error("Invalid locale supplied while attempting to create a DateTime formatter: ".concat(e))}}function y(e){var t=e.toString();return e>=0&&e<=9?t.padStart(2,"0"):t}function D(e){if(!I(e)){return null}var t=e.split(":"),i=t[0],n=t[1],a=t[2];var r=y(parseInt(i));var o=y(parseInt(n));if(a){var l=y(parseInt(a));return"".concat(r,":").concat(o,":").concat(l)}return"".concat(r,":").concat(o)}function g(e){var t=k(e);var i=t.formatToParts(new Date(Date.UTC(0,0,0,0,0,0)));return x("meridiem",i)?"12":"24"}function x(e,t){var i,n,a,r;if(!e||!t){return null}if(e==="hourSuffix"){var o=t.indexOf(t.find((function(e){var t=e.type;return t==="hour"})));var l=t.indexOf(t.find((function(e){var t=e.type;return t==="minute"})));var c=t[o+1];return c&&c.type==="literal"&&l-o===2?((i=c.value)===null||i===void 0?void 0:i.trim())||null:null}if(e==="minuteSuffix"){var l=t.indexOf(t.find((function(e){var t=e.type;return t==="minute"})));var s=t.indexOf(t.find((function(e){var t=e.type;return t==="second"})));var u=t[l+1];return u&&u.type==="literal"&&s-l===2?((n=u.value)===null||n===void 0?void 0:n.trim())||null:null}if(e==="secondSuffix"){var s=t.indexOf(t.find((function(e){var t=e.type;return t==="second"})));var d=t[s+1];return d&&d.type==="literal"?((a=d.value)===null||a===void 0?void 0:a.trim())||null:null}return((r=t.find((function(t){var i=t.type;return e=="meridiem"?i==="dayPeriod":i===e})))===null||r===void 0?void 0:r.value)||null}function M(e){if(!l(e)){return null}var t=parseInt(e);return t>=0&&t<=11?"AM":"PM"}function I(e){if(!e||e.startsWith(":")||e.endsWith(":")){return false}var t=e.split(":");var i=t.length>1&&t.length<4;if(!i){return false}var n=t[0],a=t[1],r=t[2];var o=parseInt(t[0]);var c=parseInt(t[1]);var s=parseInt(t[2]);var u=l(n)&&o>=0&&o<24;var d=l(a)&&c>=0&&c<60;var m=l(r)&&s>=0&&s<60;if(u&&d&&!r||u&&d&&m){return true}}function H(e,t){if(t==="meridiem"){return e==="AM"||e==="PM"}if(!l(e)){return false}var i=Number(e);return t==="hour"?i>=0&&i<24:i>=0&&i<60}function S(e,t,i){if(!H(e,t)){return}var n=parseInt(e);var a=new Date(Date.UTC(0,0,0,t==="hour"?n:t==="meridiem"?e==="AM"?0:12:0,t==="minute"?n:0,t==="second"?n:0));if(!a){return}var r=k(i);var o=r.formatToParts(a);return x(t,o)}function P(e,t,i){if(t===void 0){t="en"}if(i===void 0){i=true}if(!I(e)){return null}var n=V(e),a=n.hour,r=n.minute,o=n.second,l=o===void 0?"0":o;var c=new Date(Date.UTC(0,0,0,parseInt(a),parseInt(r),parseInt(l)));var s=k(t,i);return(s===null||s===void 0?void 0:s.format(c))||null}function z(e,t){if(t===void 0){t="en"}if(!I(e)){return null}var i=V(e),n=i.hour,a=i.minute,r=i.second,o=r===void 0?"0":r;var l=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(a),parseInt(o)));if(l){var c=k(t);var s=c.formatToParts(l);return{localizedHour:x("hour",s),localizedHourSuffix:x("hourSuffix",s),localizedMinute:x("minute",s),localizedMinuteSuffix:x("minuteSuffix",s),localizedSecond:x("second",s),localizedSecondSuffix:x("secondSuffix",s),localizedMeridiem:x("meridiem",s)}}return null}function C(e,t){if(t===void 0){t="en"}if(!I(e)){return null}var i=V(e),n=i.hour,a=i.minute,r=i.second,o=r===void 0?"0":r;var l=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(a),parseInt(o)));if(l){var c=k(t);var s=c.formatToParts(l);return s}return null}function V(e){if(I(e)){var t=e.split(":"),i=t[0],n=t[1],a=t[2];return{hour:i,minute:n,second:a}}return{hour:null,minute:null,second:null}}var U="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var E=e("calcite_input_time_picker",function(){function e(e){var n=this;t(this,e);this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7);this.active=false;this.disabled=false;this.readOnly=false;this.locale=document.documentElement.lang||navigator.language||"en";this.required=false;this.scale="m";this.placement="auto";this.step=60;this.value=null;this.internalValueChange=false;this.previousValidValue=null;this.referenceElementId="input-time-picker-".concat(o());this.calciteInternalInputBlurHandler=function(){n.active=false;var e=n.shouldIncludeSeconds();var t=P(n.calciteInputEl.value,n.locale,e);n.setInputValue(t||P(n.value,n.locale,e))};this.calciteInternalInputFocusHandler=function(e){if(!n.readOnly){n.active=true;e.stopPropagation()}};this.calciteInputInputHandler=function(e){var t=e.target;n.setValue({value:t.value})};this.timePickerChangeHandler=function(e){e.stopPropagation();var t=e.target;var i=t.value;n.setValue({value:i,origin:"time-picker"})};this.keyDownHandler=function(e){var t=e.defaultPrevented,i=e.key;if(t){return}if(i==="Enter"){if(d(n)){e.preventDefault()}}if(i==="Escape"&&n.active){n.active=false;e.preventDefault()}};this.setCalcitePopoverEl=function(e){n.popoverEl=e};this.setCalciteInputEl=function(e){n.calciteInputEl=e};this.setCalciteTimePickerEl=function(e){n.calciteTimePickerEl=e};this.setInputValue=function(e){if(!n.calciteInputEl){return}n.calciteInputEl.value=e};this.setValue=function(e){var t=e.value,i=e.origin,a=i===void 0?"input":i;var r=n.value;var o=D(t);var l=P(o,n.locale,n.shouldIncludeSeconds());n.internalValueChange=a!=="external"&&a!=="loading";var c=a!=="loading"&&a!=="external"&&(t!==n.previousValidValue&&!t||!!(!n.previousValidValue&&o)||o!==n.previousValidValue&&o);if(t){if(c){n.previousValidValue=o}if(o&&o!==n.value){n.value=o}n.localizedValue=l}else{n.value=t;n.localizedValue=null}if(a==="time-picker"||a==="external"){n.setInputValue(l)}if(c){var s=n.calciteInputTimePickerChange.emit();if(s.defaultPrevented){n.internalValueChange=false;n.value=r;n.setInputValue(r);n.previousValidValue=r}else{n.previousValidValue=o}}}}e.prototype.activeHandler=function(){if(this.disabled||this.readOnly){this.active=false;return}this.reposition()};e.prototype.handleDisabledAndReadOnlyChange=function(e){if(!e){this.active=false}};e.prototype.localeWatcher=function(e){this.setInputValue(P(this.value,e,this.shouldIncludeSeconds()))};e.prototype.valueWatcher=function(e){if(!this.internalValueChange){this.setValue({value:e,origin:"external"})}this.internalValueChange=false};e.prototype.clickHandler=function(e){if(e.composedPath().includes(this.calciteTimePickerEl)){return}this.setFocus()};e.prototype.timePickerBlurHandler=function(e){e.preventDefault();e.stopPropagation();this.active=false};e.prototype.timePickerFocusHandler=function(e){e.preventDefault();e.stopPropagation();if(!this.readOnly){this.active=true}};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){(e=this.calciteInputEl)===null||e===void 0?void 0:e.setFocus();return[2]}))}))};e.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){(e=this.popoverEl)===null||e===void 0?void 0:e.reposition();return[2]}))}))};e.prototype.onLabelClick=function(){this.setFocus()};e.prototype.shouldIncludeSeconds=function(){return this.step<60};e.prototype.connectedCallback=function(){if(this.value){this.setValue({value:I(this.value)?this.value:undefined,origin:"loading"})}c(this);m(this)};e.prototype.componentDidLoad=function(){this.setInputValue(this.localizedValue)};e.prototype.disconnectedCallback=function(){s(this);p(this)};e.prototype.componentDidRender=function(){h(this)};e.prototype.render=function(){var e="".concat(this.referenceElementId,"-popover");return n(a,{onKeyDown:this.keyDownHandler},n("div",{"aria-controls":e,"aria-haspopup":"dialog","aria-label":this.name,"aria-owns":e,id:this.referenceElementId,role:"combobox"},n("calcite-input",{disabled:this.disabled,icon:"clock",label:u(this),onCalciteInputInput:this.calciteInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.calciteInternalInputFocusHandler,readOnly:this.readOnly,ref:this.setCalciteInputEl,scale:this.scale,step:this.step})),n("calcite-popover",{id:e,label:"Time Picker",open:this.active,placement:this.placement,ref:this.setCalcitePopoverEl,referenceElement:this.referenceElementId,triggerDisabled:true},n("calcite-time-picker",{intlHour:this.intlHour,intlHourDown:this.intlHourDown,intlHourUp:this.intlHourUp,intlMeridiem:this.intlMeridiem,intlMeridiemDown:this.intlMeridiemDown,intlMeridiemUp:this.intlMeridiemUp,intlMinute:this.intlMinute,intlMinuteDown:this.intlMinuteDown,intlMinuteUp:this.intlMinuteUp,intlSecond:this.intlSecond,intlSecondDown:this.intlSecondDown,intlSecondUp:this.intlSecondUp,lang:this.locale,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,ref:this.setCalciteTimePickerEl,scale:this.scale,step:this.step,value:this.value})),n(f,{component:this}))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["activeHandler"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],locale:["localeWatcher"],value:["valueWatcher"]}},enumerable:false,configurable:true});return e}());E.style=U;var _={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",delimiter:"delimiter",hour:"hour",input:"input",meridiem:"meridiem",minute:"minute",second:"second",showMeridiem:"show-meridiem",showSecond:"show-second","scale-s":"scale-s","scale-m":"scale-m","scale-l":"scale-l",timePicker:"time-picker",meridiemStart:"meridiem--start"};var A={hour:"Hour",hourDown:"Decrease hour",hourUp:"Increase hour",meridiem:"AM/PM",meridiemDown:"Decrease AM/PM",meridiemUp:"Increase AM/PM",minute:"Minute",minuteDown:"Decrease minute",minuteUp:"Increase minute",second:"Second",secondDown:"Decrease second",secondUp:"Increase second"};var K="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block}.time-picker{display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius)}.time-picker .column{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.time-picker .meridiem--start{-ms-flex-order:-1;order:-1}.time-picker .button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px}.time-picker .button:active{background-color:var(--calcite-ui-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-ui-text-3)}.time-picker .input{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:0.75rem;padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:1rem;padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:1.25rem;padding-inline-end:1.25rem}";function T(e){return e.charAt(0).toUpperCase()+e.slice(1)}var B=e("calcite_time_picker",function(){function e(e){var n=this;t(this,e);this.calciteInternalTimePickerBlur=i(this,"calciteInternalTimePickerBlur",6);this.calciteInternalTimePickerChange=i(this,"calciteInternalTimePickerChange",6);this.calciteInternalTimePickerFocus=i(this,"calciteInternalTimePickerFocus",6);this.intlHour=A.hour;this.intlHourDown=A.hourDown;this.intlHourUp=A.hourUp;this.intlMeridiem=A.meridiem;this.intlMeridiemDown=A.meridiemDown;this.intlMeridiemUp=A.meridiemUp;this.intlMinute=A.minute;this.intlMinuteDown=A.minuteDown;this.intlMinuteUp=A.minuteUp;this.intlSecond=A.second;this.intlSecondDown=A.secondDown;this.intlSecondUp=A.secondUp;this.locale=document.documentElement.lang||navigator.language||"en";this.scale="m";this.step=60;this.value=null;this.showSecond=this.step<60;this.decrementHour=function(){var e=!n.hour?0:n.hour==="00"?23:parseInt(n.hour)-1;n.setValuePart("hour",e)};this.decrementMeridiem=function(){var e=n.meridiem==="PM"?"AM":"PM";n.setValuePart("meridiem",e)};this.decrementMinuteOrSecond=function(e){var t;if(l(n[e])){var i=parseInt(n[e]);t=i===0?59:i-1}else{t=59}n.setValuePart(e,t)};this.decrementMinute=function(){n.decrementMinuteOrSecond("minute")};this.decrementSecond=function(){n.decrementMinuteOrSecond("second")};this.focusHandler=function(e){n.activeEl=e.currentTarget};this.hourDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementHour()}};this.hourKeyDownHandler=function(e){var t=e.key;if(v.includes(t)){var i=parseInt(t);var a=void 0;if(l(n.hour)){switch(n.hourCycle){case"12":a=n.hour==="01"&&i>=0&&i<=2?"1".concat(i):i;break;case"24":if(n.hour==="01"){a="1".concat(i)}else if(n.hour==="02"&&i>=0&&i<=3){a="2".concat(i)}else{a=i}break}}else{a=i}n.setValuePart("hour",a)}else{switch(t){case"Backspace":case"Delete":n.setValuePart("hour",null);break;case"ArrowDown":e.preventDefault();n.decrementHour();break;case"ArrowUp":e.preventDefault();n.incrementHour();break;case" ":e.preventDefault();break}}};this.hourUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementHour()}};this.incrementMeridiem=function(){var e=n.meridiem==="AM"?"PM":"AM";n.setValuePart("meridiem",e)};this.incrementHour=function(){var e=l(n.hour)?n.hour==="23"?0:parseInt(n.hour)+1:1;n.setValuePart("hour",e)};this.incrementMinuteOrSecond=function(e){var t=l(n[e])?n[e]==="59"?0:parseInt(n[e])+1:0;n.setValuePart(e,t)};this.incrementMinute=function(){n.incrementMinuteOrSecond("minute")};this.incrementSecond=function(){n.incrementMinuteOrSecond("second")};this.meridiemDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementMeridiem()}};this.meridiemKeyDownHandler=function(e){switch(e.key){case"a":n.setValuePart("meridiem","AM");break;case"p":n.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":n.setValuePart("meridiem",null);break;case"ArrowUp":e.preventDefault();n.incrementMeridiem();break;case"ArrowDown":e.preventDefault();n.decrementMeridiem();break;case" ":e.preventDefault();break}};this.meridiemUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementMeridiem()}};this.minuteDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementMinute()}};this.minuteKeyDownHandler=function(e){var t=e.key;if(v.includes(t)){var i=parseInt(t);var a=void 0;if(l(n.minute)&&n.minute.startsWith("0")){var r=parseInt(n.minute);a=r>w?i:"".concat(r).concat(i)}else{a=i}n.setValuePart("minute",a)}else{switch(t){case"Backspace":case"Delete":n.setValuePart("minute",null);break;case"ArrowDown":e.preventDefault();n.decrementMinute();break;case"ArrowUp":e.preventDefault();n.incrementMinute();break;case" ":e.preventDefault();break}}};this.minuteUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementMinute()}};this.secondDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementSecond()}};this.secondKeyDownHandler=function(e){var t=e.key;if(v.includes(t)){var i=parseInt(t);var a=void 0;if(l(n.second)&&n.second.startsWith("0")){var r=parseInt(n.second);a=r>w?i:"".concat(r).concat(i)}else{a=i}n.setValuePart("second",a)}else{switch(t){case"Backspace":case"Delete":n.setValuePart("second",null);break;case"ArrowDown":e.preventDefault();n.decrementSecond();break;case"ArrowUp":e.preventDefault();n.incrementSecond();break;case" ":e.preventDefault();break}}};this.secondUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementSecond()}};this.setHourEl=function(e){return n.hourEl=e};this.setMeridiemEl=function(e){return n.meridiemEl=e};this.setMinuteEl=function(e){return n.minuteEl=e};this.setSecondEl=function(e){return n.secondEl=e};this.setValue=function(e,t){if(t===void 0){t=true}if(I(e)){var i=V(e),a=i.hour,r=i.minute,o=i.second;var l=z(e,n.locale),c=l.localizedHour,s=l.localizedHourSuffix,u=l.localizedMinute,d=l.localizedMinuteSuffix,m=l.localizedSecond,p=l.localizedSecondSuffix,f=l.localizedMeridiem;n.localizedHour=c;n.localizedHourSuffix=s;n.localizedMinute=u;n.localizedMinuteSuffix=d;n.localizedSecond=m;n.localizedSecondSuffix=p;n.hour=a;n.minute=r;n.second=o;if(f){n.localizedMeridiem=f;n.meridiem=M(n.hour);var h=C(e,n.locale);n.meridiemOrder=n.getMeridiemOrder(h)}}else{n.hour=null;n.localizedHour=null;n.localizedHourSuffix=null;n.localizedMeridiem=null;n.localizedMinute=null;n.localizedMinuteSuffix=null;n.localizedSecond=null;n.localizedSecondSuffix=null;n.meridiem=null;n.minute=null;n.second=null;n.value=null}if(t){n.calciteInternalTimePickerChange.emit()}};this.setValuePart=function(e,t,i){if(i===void 0){i=true}var a;if(e==="meridiem"){n.meridiem=t;if(l(n.hour)){var r=parseInt(n.hour);switch(t){case"AM":if(r>=12){n.hour=y(r-12)}break;case"PM":if(r<12){n.hour=y(r+12)}break}n.localizedHour=S(n.hour,"hour",n.locale)}}else{n[e]=typeof t==="number"?y(t):t;n["localized".concat(T(e))]=S(n[e],e,n.locale)}if(n.hour&&n.minute){var o=n.second&&n.showSecond;n.value="".concat(n.hour,":").concat(n.minute,":").concat(o?n.second:"00")}else{n.value=null}n.localizedMeridiem=n.value?((a=z(n.value,n.locale))===null||a===void 0?void 0:a.localizedMeridiem)||null:S(n.meridiem,"meridiem",n.locale);if(i){n.calciteInternalTimePickerChange.emit()}}}e.prototype.localeWatcher=function(e){this.hourCycle=g(e);this.setValue(this.value,false)};e.prototype.valueWatcher=function(e){this.setValue(e,false)};e.prototype.hostBlurHandler=function(){this.calciteInternalTimePickerBlur.emit()};e.prototype.hostFocusHandler=function(){this.calciteInternalTimePickerFocus.emit()};e.prototype.keyDownHandler=function(e){var t=e.defaultPrevented,i=e.key;if(t){return}switch(this.activeEl){case this.hourEl:if(i==="ArrowRight"){this.setFocus("minute");e.preventDefault()}break;case this.minuteEl:switch(i){case"ArrowLeft":this.setFocus("hour");e.preventDefault();break;case"ArrowRight":if(this.step!==60){this.setFocus("second");e.preventDefault()}else if(this.hourCycle==="12"){this.setFocus("meridiem");e.preventDefault()}break}break;case this.secondEl:switch(i){case"ArrowLeft":this.setFocus("minute");e.preventDefault();break;case"ArrowRight":if(this.hourCycle==="12"){this.setFocus("meridiem");e.preventDefault()}break}break;case this.meridiemEl:switch(i){case"ArrowLeft":if(this.step!==60){this.setFocus("second");e.preventDefault()}else{this.setFocus("minute");e.preventDefault()}break}break}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){(t=this["".concat(e||"hour","El")])===null||t===void 0?void 0:t.focus();return[2]}))}))};e.prototype.buttonActivated=function(e){var t=e.key;if(t===" "){e.preventDefault()}return b(t)};e.prototype.getMeridiemOrder=function(e){var t=this;var i=this.locale==="ar"||this.locale==="he";if(e&&!i){var n=e.findIndex((function(e){return e.value===t.localizedMeridiem}));return n}return 0};e.prototype.connectedCallback=function(){this.setValue(this.value,false);this.hourCycle=g(this.locale)};e.prototype.render=function(){var e,t,i,a,r,o,c,s,u,d,m,p,f,h;var v=l(this.hour);var b=this.scale==="s"||this.scale==="m"?"s":"m";var w=l(this.minute);var k=l(this.second);var y=this.hourCycle==="12";return n("div",{class:(e={},e[_.timePicker]=true,e[_.showMeridiem]=y,e[_.showSecond]=this.showSecond,e[_["scale-".concat(this.scale)]]=true,e),dir:"ltr"},n("div",{class:_.column,role:"group"},n("span",{"aria-label":this.intlHourUp,class:(t={},t[_.button]=true,t[_.buttonHourUp]=true,t[_.buttonTopLeft]=true,t),onClick:this.incrementHour,onKeyDown:this.hourUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlHour,"aria-valuemax":"23","aria-valuemin":"1","aria-valuenow":v&&parseInt(this.hour)||"0","aria-valuetext":this.hour,class:(i={},i[_.input]=true,i[_.hour]=true,i),onFocus:this.focusHandler,onKeyDown:this.hourKeyDownHandler,ref:this.setHourEl,role:"spinbutton",tabIndex:0},this.localizedHour||"--"),n("span",{"aria-label":this.intlHourDown,class:(a={},a[_.button]=true,a[_.buttonHourDown]=true,a[_.buttonBottomLeft]=true,a),onClick:this.decrementHour,onKeyDown:this.hourDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))),n("span",{class:_.delimiter},this.localizedHourSuffix),n("div",{class:_.column,role:"group"},n("span",{"aria-label":this.intlMinuteUp,class:(r={},r[_.button]=true,r[_.buttonMinuteUp]=true,r),onClick:this.incrementMinute,onKeyDown:this.minuteUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlMinute,"aria-valuemax":"12","aria-valuemin":"1","aria-valuenow":w&&parseInt(this.minute)||"0","aria-valuetext":this.minute,class:(o={},o[_.input]=true,o[_.minute]=true,o),onFocus:this.focusHandler,onKeyDown:this.minuteKeyDownHandler,ref:this.setMinuteEl,role:"spinbutton",tabIndex:0},this.localizedMinute||"--"),n("span",{"aria-label":this.intlMinuteDown,class:(c={},c[_.button]=true,c[_.buttonMinuteDown]=true,c),onClick:this.decrementMinute,onKeyDown:this.minuteDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))),this.showSecond&&n("span",{class:_.delimiter},this.localizedMinuteSuffix),this.showSecond&&n("div",{class:_.column,role:"group"},n("span",{"aria-label":this.intlSecondUp,class:(s={},s[_.button]=true,s[_.buttonSecondUp]=true,s),onClick:this.incrementSecond,onKeyDown:this.secondUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlSecond,"aria-valuemax":"59","aria-valuemin":"0","aria-valuenow":k&&parseInt(this.second)||"0","aria-valuetext":this.second,class:(u={},u[_.input]=true,u[_.second]=true,u),onFocus:this.focusHandler,onKeyDown:this.secondKeyDownHandler,ref:this.setSecondEl,role:"spinbutton",tabIndex:0},this.localizedSecond||"--"),n("span",{"aria-label":this.intlSecondDown,class:(d={},d[_.button]=true,d[_.buttonSecondDown]=true,d),onClick:this.decrementSecond,onKeyDown:this.secondDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))),this.localizedSecondSuffix&&n("span",{class:_.delimiter},this.localizedSecondSuffix),y&&n("div",{class:(m={},m[_.column]=true,m[_.meridiemStart]=this.meridiemOrder===0,m),role:"group"},n("span",{"aria-label":this.intlMeridiemUp,class:(p={},p[_.button]=true,p[_.buttonMeridiemUp]=true,p[_.buttonTopRight]=true,p),onClick:this.incrementMeridiem,onKeyDown:this.meridiemUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlMeridiem,"aria-valuemax":"2","aria-valuemin":"1","aria-valuenow":this.meridiem==="PM"&&"2"||"1","aria-valuetext":this.meridiem,class:(f={},f[_.input]=true,f[_.meridiem]=true,f),onFocus:this.focusHandler,onKeyDown:this.meridiemKeyDownHandler,ref:this.setMeridiemEl,role:"spinbutton",tabIndex:0},this.localizedMeridiem||"--"),n("span",{"aria-label":this.intlMeridiemDown,class:(h={},h[_.button]=true,h[_.buttonMeridiemDown]=true,h[_.buttonBottomRight]=true,h),onClick:this.decrementMeridiem,onKeyDown:this.meridiemDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{locale:["localeWatcher"],value:["valueWatcher"]}},enumerable:false,configurable:true});return e}());B.style=K}}}));
5
+ * v1.0.0-next.573
6
+ */System.register(["./p-8906b45b.system.js","./p-01f47808.system.js","./p-bc363322.system.js","./p-232d5c51.system.js","./p-3c57eb23.system.js","./p-24f3beb1.system.js","./p-296d5c3b.system.js","./p-87812365.system.js","./p-58d21c10.system.js"],(function(e){"use strict";var t,i,n,a,r,o,l,c,s,u,d,m,p,f,h,v,b;return{setters:[function(e){t=e.r;i=e.c;n=e.h;a=e.H;r=e.g},function(e){o=e.g},function(e){l=e.i},function(e){c=e.c;s=e.d;u=e.g},function(e){d=e.s;m=e.c;p=e.d;f=e.H},function(e){h=e.u},function(e){v=e.n;b=e.i},function(){},function(){}],execute:function(){var w=5;function k(e,t){if(t===void 0){t=true}try{var i={hour:"2-digit",minute:"2-digit",timeZone:"UTC"};if(t){i.second="2-digit"}return new Intl.DateTimeFormat(e,i)}catch(t){throw new Error("Invalid locale supplied while attempting to create a DateTime formatter: ".concat(e))}}function y(e){var t=e.toString();return e>=0&&e<=9?t.padStart(2,"0"):t}function D(e){if(!I(e)){return null}var t=e.split(":"),i=t[0],n=t[1],a=t[2];var r=y(parseInt(i));var o=y(parseInt(n));if(a){var l=y(parseInt(a));return"".concat(r,":").concat(o,":").concat(l)}return"".concat(r,":").concat(o)}function g(e){var t=k(e);var i=t.formatToParts(new Date(Date.UTC(0,0,0,0,0,0)));return x("meridiem",i)?"12":"24"}function x(e,t){var i,n,a,r;if(!e||!t){return null}if(e==="hourSuffix"){var o=t.indexOf(t.find((function(e){var t=e.type;return t==="hour"})));var l=t.indexOf(t.find((function(e){var t=e.type;return t==="minute"})));var c=t[o+1];return c&&c.type==="literal"&&l-o===2?((i=c.value)===null||i===void 0?void 0:i.trim())||null:null}if(e==="minuteSuffix"){var l=t.indexOf(t.find((function(e){var t=e.type;return t==="minute"})));var s=t.indexOf(t.find((function(e){var t=e.type;return t==="second"})));var u=t[l+1];return u&&u.type==="literal"&&s-l===2?((n=u.value)===null||n===void 0?void 0:n.trim())||null:null}if(e==="secondSuffix"){var s=t.indexOf(t.find((function(e){var t=e.type;return t==="second"})));var d=t[s+1];return d&&d.type==="literal"?((a=d.value)===null||a===void 0?void 0:a.trim())||null:null}return((r=t.find((function(t){var i=t.type;return e=="meridiem"?i==="dayPeriod":i===e})))===null||r===void 0?void 0:r.value)||null}function M(e){if(!l(e)){return null}var t=parseInt(e);return t>=0&&t<=11?"AM":"PM"}function I(e){if(!e||e.startsWith(":")||e.endsWith(":")){return false}var t=e.split(":");var i=t.length>1&&t.length<4;if(!i){return false}var n=t[0],a=t[1],r=t[2];var o=parseInt(t[0]);var c=parseInt(t[1]);var s=parseInt(t[2]);var u=l(n)&&o>=0&&o<24;var d=l(a)&&c>=0&&c<60;var m=l(r)&&s>=0&&s<60;if(u&&d&&!r||u&&d&&m){return true}}function H(e,t){if(t==="meridiem"){return e==="AM"||e==="PM"}if(!l(e)){return false}var i=Number(e);return t==="hour"?i>=0&&i<24:i>=0&&i<60}function S(e,t,i){if(!H(e,t)){return}var n=parseInt(e);var a=new Date(Date.UTC(0,0,0,t==="hour"?n:t==="meridiem"?e==="AM"?0:12:0,t==="minute"?n:0,t==="second"?n:0));if(!a){return}var r=k(i);var o=r.formatToParts(a);return x(t,o)}function P(e,t,i){if(t===void 0){t="en"}if(i===void 0){i=true}if(!I(e)){return null}var n=V(e),a=n.hour,r=n.minute,o=n.second,l=o===void 0?"0":o;var c=new Date(Date.UTC(0,0,0,parseInt(a),parseInt(r),parseInt(l)));var s=k(t,i);return(s===null||s===void 0?void 0:s.format(c))||null}function z(e,t){if(t===void 0){t="en"}if(!I(e)){return null}var i=V(e),n=i.hour,a=i.minute,r=i.second,o=r===void 0?"0":r;var l=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(a),parseInt(o)));if(l){var c=k(t);var s=c.formatToParts(l);return{localizedHour:x("hour",s),localizedHourSuffix:x("hourSuffix",s),localizedMinute:x("minute",s),localizedMinuteSuffix:x("minuteSuffix",s),localizedSecond:x("second",s),localizedSecondSuffix:x("secondSuffix",s),localizedMeridiem:x("meridiem",s)}}return null}function C(e,t){if(t===void 0){t="en"}if(!I(e)){return null}var i=V(e),n=i.hour,a=i.minute,r=i.second,o=r===void 0?"0":r;var l=new Date(Date.UTC(0,0,0,parseInt(n),parseInt(a),parseInt(o)));if(l){var c=k(t);var s=c.formatToParts(l);return s}return null}function V(e){if(I(e)){var t=e.split(":"),i=t[0],n=t[1],a=t[2];return{hour:i,minute:n,second:a}}return{hour:null,minute:null,second:null}}var U="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var E=e("calcite_input_time_picker",function(){function e(e){var n=this;t(this,e);this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7);this.active=false;this.disabled=false;this.readOnly=false;this.locale=document.documentElement.lang||navigator.language||"en";this.required=false;this.scale="m";this.placement="auto";this.step=60;this.value=null;this.internalValueChange=false;this.previousValidValue=null;this.referenceElementId="input-time-picker-".concat(o());this.calciteInternalInputBlurHandler=function(){n.active=false;var e=n.shouldIncludeSeconds();var t=P(n.calciteInputEl.value,n.locale,e);n.setInputValue(t||P(n.value,n.locale,e))};this.calciteInternalInputFocusHandler=function(e){if(!n.readOnly){n.active=true;e.stopPropagation()}};this.calciteInputInputHandler=function(e){var t=e.target;n.setValue({value:t.value})};this.timePickerChangeHandler=function(e){e.stopPropagation();var t=e.target;var i=t.value;n.setValue({value:i,origin:"time-picker"})};this.keyDownHandler=function(e){var t=e.defaultPrevented,i=e.key;if(t){return}if(i==="Enter"){if(d(n)){e.preventDefault()}}if(i==="Escape"&&n.active){n.active=false;e.preventDefault()}};this.setCalcitePopoverEl=function(e){n.popoverEl=e};this.setCalciteInputEl=function(e){n.calciteInputEl=e};this.setCalciteTimePickerEl=function(e){n.calciteTimePickerEl=e};this.setInputValue=function(e){if(!n.calciteInputEl){return}n.calciteInputEl.value=e};this.setValue=function(e){var t=e.value,i=e.origin,a=i===void 0?"input":i;var r=n.value;var o=D(t);var l=P(o,n.locale,n.shouldIncludeSeconds());n.internalValueChange=a!=="external"&&a!=="loading";var c=a!=="loading"&&a!=="external"&&(t!==n.previousValidValue&&!t||!!(!n.previousValidValue&&o)||o!==n.previousValidValue&&o);if(t){if(c){n.previousValidValue=o}if(o&&o!==n.value){n.value=o}n.localizedValue=l}else{n.value=t;n.localizedValue=null}if(a==="time-picker"||a==="external"){n.setInputValue(l)}if(c){var s=n.calciteInputTimePickerChange.emit();if(s.defaultPrevented){n.internalValueChange=false;n.value=r;n.setInputValue(r);n.previousValidValue=r}else{n.previousValidValue=o}}}}e.prototype.activeHandler=function(){if(this.disabled||this.readOnly){this.active=false;return}this.reposition()};e.prototype.handleDisabledAndReadOnlyChange=function(e){if(!e){this.active=false}};e.prototype.localeWatcher=function(e){this.setInputValue(P(this.value,e,this.shouldIncludeSeconds()))};e.prototype.valueWatcher=function(e){if(!this.internalValueChange){this.setValue({value:e,origin:"external"})}this.internalValueChange=false};e.prototype.clickHandler=function(e){if(e.composedPath().includes(this.calciteTimePickerEl)){return}this.setFocus()};e.prototype.timePickerBlurHandler=function(e){e.preventDefault();e.stopPropagation();this.active=false};e.prototype.timePickerFocusHandler=function(e){e.preventDefault();e.stopPropagation();if(!this.readOnly){this.active=true}};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){(e=this.calciteInputEl)===null||e===void 0?void 0:e.setFocus();return[2]}))}))};e.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){(e=this.popoverEl)===null||e===void 0?void 0:e.reposition();return[2]}))}))};e.prototype.onLabelClick=function(){this.setFocus()};e.prototype.shouldIncludeSeconds=function(){return this.step<60};e.prototype.connectedCallback=function(){if(this.value){this.setValue({value:I(this.value)?this.value:undefined,origin:"loading"})}c(this);m(this)};e.prototype.componentDidLoad=function(){this.setInputValue(this.localizedValue)};e.prototype.disconnectedCallback=function(){s(this);p(this)};e.prototype.componentDidRender=function(){h(this)};e.prototype.render=function(){var e="".concat(this.referenceElementId,"-popover");return n(a,{onKeyDown:this.keyDownHandler},n("div",{"aria-controls":e,"aria-haspopup":"dialog","aria-label":this.name,"aria-owns":e,id:this.referenceElementId,role:"combobox"},n("calcite-input",{disabled:this.disabled,icon:"clock",label:u(this),onCalciteInputInput:this.calciteInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.calciteInternalInputFocusHandler,readOnly:this.readOnly,ref:this.setCalciteInputEl,scale:this.scale,step:this.step})),n("calcite-popover",{id:e,label:"Time Picker",open:this.active,placement:this.placement,ref:this.setCalcitePopoverEl,referenceElement:this.referenceElementId,triggerDisabled:true},n("calcite-time-picker",{intlHour:this.intlHour,intlHourDown:this.intlHourDown,intlHourUp:this.intlHourUp,intlMeridiem:this.intlMeridiem,intlMeridiemDown:this.intlMeridiemDown,intlMeridiemUp:this.intlMeridiemUp,intlMinute:this.intlMinute,intlMinuteDown:this.intlMinuteDown,intlMinuteUp:this.intlMinuteUp,intlSecond:this.intlSecond,intlSecondDown:this.intlSecondDown,intlSecondUp:this.intlSecondUp,lang:this.locale,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,ref:this.setCalciteTimePickerEl,scale:this.scale,step:this.step,value:this.value})),n(f,{component:this}))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["activeHandler"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],locale:["localeWatcher"],value:["valueWatcher"]}},enumerable:false,configurable:true});return e}());E.style=U;var _={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",delimiter:"delimiter",hour:"hour",input:"input",meridiem:"meridiem",minute:"minute",second:"second",showMeridiem:"show-meridiem",showSecond:"show-second","scale-s":"scale-s","scale-m":"scale-m","scale-l":"scale-l",timePicker:"time-picker",meridiemStart:"meridiem--start"};var A={hour:"Hour",hourDown:"Decrease hour",hourUp:"Increase hour",meridiem:"AM/PM",meridiemDown:"Decrease AM/PM",meridiemUp:"Increase AM/PM",minute:"Minute",minuteDown:"Decrease minute",minuteUp:"Increase minute",second:"Second",secondDown:"Decrease second",secondUp:"Increase second"};var K="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block}.time-picker{display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius)}.time-picker .column{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.time-picker .meridiem--start{-ms-flex-order:-1;order:-1}.time-picker .button{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px}.time-picker .button:active{background-color:var(--calcite-ui-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-ui-text-3)}.time-picker .input{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:0.75rem;padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:1rem;padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:1.25rem;padding-inline-end:1.25rem}";function T(e){return e.charAt(0).toUpperCase()+e.slice(1)}var B=e("calcite_time_picker",function(){function e(e){var n=this;t(this,e);this.calciteInternalTimePickerBlur=i(this,"calciteInternalTimePickerBlur",6);this.calciteInternalTimePickerChange=i(this,"calciteInternalTimePickerChange",6);this.calciteInternalTimePickerFocus=i(this,"calciteInternalTimePickerFocus",6);this.intlHour=A.hour;this.intlHourDown=A.hourDown;this.intlHourUp=A.hourUp;this.intlMeridiem=A.meridiem;this.intlMeridiemDown=A.meridiemDown;this.intlMeridiemUp=A.meridiemUp;this.intlMinute=A.minute;this.intlMinuteDown=A.minuteDown;this.intlMinuteUp=A.minuteUp;this.intlSecond=A.second;this.intlSecondDown=A.secondDown;this.intlSecondUp=A.secondUp;this.locale=document.documentElement.lang||navigator.language||"en";this.scale="m";this.step=60;this.value=null;this.showSecond=this.step<60;this.decrementHour=function(){var e=!n.hour?0:n.hour==="00"?23:parseInt(n.hour)-1;n.setValuePart("hour",e)};this.decrementMeridiem=function(){var e=n.meridiem==="PM"?"AM":"PM";n.setValuePart("meridiem",e)};this.decrementMinuteOrSecond=function(e){var t;if(l(n[e])){var i=parseInt(n[e]);t=i===0?59:i-1}else{t=59}n.setValuePart(e,t)};this.decrementMinute=function(){n.decrementMinuteOrSecond("minute")};this.decrementSecond=function(){n.decrementMinuteOrSecond("second")};this.focusHandler=function(e){n.activeEl=e.currentTarget};this.hourDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementHour()}};this.hourKeyDownHandler=function(e){var t=e.key;if(v.includes(t)){var i=parseInt(t);var a=void 0;if(l(n.hour)){switch(n.hourCycle){case"12":a=n.hour==="01"&&i>=0&&i<=2?"1".concat(i):i;break;case"24":if(n.hour==="01"){a="1".concat(i)}else if(n.hour==="02"&&i>=0&&i<=3){a="2".concat(i)}else{a=i}break}}else{a=i}n.setValuePart("hour",a)}else{switch(t){case"Backspace":case"Delete":n.setValuePart("hour",null);break;case"ArrowDown":e.preventDefault();n.decrementHour();break;case"ArrowUp":e.preventDefault();n.incrementHour();break;case" ":e.preventDefault();break}}};this.hourUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementHour()}};this.incrementMeridiem=function(){var e=n.meridiem==="AM"?"PM":"AM";n.setValuePart("meridiem",e)};this.incrementHour=function(){var e=l(n.hour)?n.hour==="23"?0:parseInt(n.hour)+1:1;n.setValuePart("hour",e)};this.incrementMinuteOrSecond=function(e){var t=l(n[e])?n[e]==="59"?0:parseInt(n[e])+1:0;n.setValuePart(e,t)};this.incrementMinute=function(){n.incrementMinuteOrSecond("minute")};this.incrementSecond=function(){n.incrementMinuteOrSecond("second")};this.meridiemDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementMeridiem()}};this.meridiemKeyDownHandler=function(e){switch(e.key){case"a":n.setValuePart("meridiem","AM");break;case"p":n.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":n.setValuePart("meridiem",null);break;case"ArrowUp":e.preventDefault();n.incrementMeridiem();break;case"ArrowDown":e.preventDefault();n.decrementMeridiem();break;case" ":e.preventDefault();break}};this.meridiemUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementMeridiem()}};this.minuteDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementMinute()}};this.minuteKeyDownHandler=function(e){var t=e.key;if(v.includes(t)){var i=parseInt(t);var a=void 0;if(l(n.minute)&&n.minute.startsWith("0")){var r=parseInt(n.minute);a=r>w?i:"".concat(r).concat(i)}else{a=i}n.setValuePart("minute",a)}else{switch(t){case"Backspace":case"Delete":n.setValuePart("minute",null);break;case"ArrowDown":e.preventDefault();n.decrementMinute();break;case"ArrowUp":e.preventDefault();n.incrementMinute();break;case" ":e.preventDefault();break}}};this.minuteUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementMinute()}};this.secondDownButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.decrementSecond()}};this.secondKeyDownHandler=function(e){var t=e.key;if(v.includes(t)){var i=parseInt(t);var a=void 0;if(l(n.second)&&n.second.startsWith("0")){var r=parseInt(n.second);a=r>w?i:"".concat(r).concat(i)}else{a=i}n.setValuePart("second",a)}else{switch(t){case"Backspace":case"Delete":n.setValuePart("second",null);break;case"ArrowDown":e.preventDefault();n.decrementSecond();break;case"ArrowUp":e.preventDefault();n.incrementSecond();break;case" ":e.preventDefault();break}}};this.secondUpButtonKeyDownHandler=function(e){if(n.buttonActivated(e)){n.incrementSecond()}};this.setHourEl=function(e){return n.hourEl=e};this.setMeridiemEl=function(e){return n.meridiemEl=e};this.setMinuteEl=function(e){return n.minuteEl=e};this.setSecondEl=function(e){return n.secondEl=e};this.setValue=function(e,t){if(t===void 0){t=true}if(I(e)){var i=V(e),a=i.hour,r=i.minute,o=i.second;var l=z(e,n.locale),c=l.localizedHour,s=l.localizedHourSuffix,u=l.localizedMinute,d=l.localizedMinuteSuffix,m=l.localizedSecond,p=l.localizedSecondSuffix,f=l.localizedMeridiem;n.localizedHour=c;n.localizedHourSuffix=s;n.localizedMinute=u;n.localizedMinuteSuffix=d;n.localizedSecond=m;n.localizedSecondSuffix=p;n.hour=a;n.minute=r;n.second=o;if(f){n.localizedMeridiem=f;n.meridiem=M(n.hour);var h=C(e,n.locale);n.meridiemOrder=n.getMeridiemOrder(h)}}else{n.hour=null;n.localizedHour=null;n.localizedHourSuffix=null;n.localizedMeridiem=null;n.localizedMinute=null;n.localizedMinuteSuffix=null;n.localizedSecond=null;n.localizedSecondSuffix=null;n.meridiem=null;n.minute=null;n.second=null;n.value=null}if(t){n.calciteInternalTimePickerChange.emit()}};this.setValuePart=function(e,t,i){if(i===void 0){i=true}var a;if(e==="meridiem"){n.meridiem=t;if(l(n.hour)){var r=parseInt(n.hour);switch(t){case"AM":if(r>=12){n.hour=y(r-12)}break;case"PM":if(r<12){n.hour=y(r+12)}break}n.localizedHour=S(n.hour,"hour",n.locale)}}else{n[e]=typeof t==="number"?y(t):t;n["localized".concat(T(e))]=S(n[e],e,n.locale)}if(n.hour&&n.minute){var o=n.second&&n.showSecond;n.value="".concat(n.hour,":").concat(n.minute,":").concat(o?n.second:"00")}else{n.value=null}n.localizedMeridiem=n.value?((a=z(n.value,n.locale))===null||a===void 0?void 0:a.localizedMeridiem)||null:S(n.meridiem,"meridiem",n.locale);if(i){n.calciteInternalTimePickerChange.emit()}}}e.prototype.localeWatcher=function(e){this.hourCycle=g(e);this.setValue(this.value,false)};e.prototype.valueWatcher=function(e){this.setValue(e,false)};e.prototype.hostBlurHandler=function(){this.calciteInternalTimePickerBlur.emit()};e.prototype.hostFocusHandler=function(){this.calciteInternalTimePickerFocus.emit()};e.prototype.keyDownHandler=function(e){var t=e.defaultPrevented,i=e.key;if(t){return}switch(this.activeEl){case this.hourEl:if(i==="ArrowRight"){this.setFocus("minute");e.preventDefault()}break;case this.minuteEl:switch(i){case"ArrowLeft":this.setFocus("hour");e.preventDefault();break;case"ArrowRight":if(this.step!==60){this.setFocus("second");e.preventDefault()}else if(this.hourCycle==="12"){this.setFocus("meridiem");e.preventDefault()}break}break;case this.secondEl:switch(i){case"ArrowLeft":this.setFocus("minute");e.preventDefault();break;case"ArrowRight":if(this.hourCycle==="12"){this.setFocus("meridiem");e.preventDefault()}break}break;case this.meridiemEl:switch(i){case"ArrowLeft":if(this.step!==60){this.setFocus("second");e.preventDefault()}else{this.setFocus("minute");e.preventDefault()}break}break}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){(t=this["".concat(e||"hour","El")])===null||t===void 0?void 0:t.focus();return[2]}))}))};e.prototype.buttonActivated=function(e){var t=e.key;if(t===" "){e.preventDefault()}return b(t)};e.prototype.getMeridiemOrder=function(e){var t=this;var i=this.locale==="ar"||this.locale==="he";if(e&&!i){var n=e.findIndex((function(e){return e.value===t.localizedMeridiem}));return n}return 0};e.prototype.connectedCallback=function(){this.setValue(this.value,false);this.hourCycle=g(this.locale)};e.prototype.render=function(){var e,t,i,a,r,o,c,s,u,d,m,p,f,h;var v=l(this.hour);var b=this.scale==="s"||this.scale==="m"?"s":"m";var w=l(this.minute);var k=l(this.second);var y=this.hourCycle==="12";return n("div",{class:(e={},e[_.timePicker]=true,e[_.showMeridiem]=y,e[_.showSecond]=this.showSecond,e[_["scale-".concat(this.scale)]]=true,e),dir:"ltr"},n("div",{class:_.column,role:"group"},n("span",{"aria-label":this.intlHourUp,class:(t={},t[_.button]=true,t[_.buttonHourUp]=true,t[_.buttonTopLeft]=true,t),onClick:this.incrementHour,onKeyDown:this.hourUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlHour,"aria-valuemax":"23","aria-valuemin":"1","aria-valuenow":v&&parseInt(this.hour)||"0","aria-valuetext":this.hour,class:(i={},i[_.input]=true,i[_.hour]=true,i),onFocus:this.focusHandler,onKeyDown:this.hourKeyDownHandler,ref:this.setHourEl,role:"spinbutton",tabIndex:0},this.localizedHour||"--"),n("span",{"aria-label":this.intlHourDown,class:(a={},a[_.button]=true,a[_.buttonHourDown]=true,a[_.buttonBottomLeft]=true,a),onClick:this.decrementHour,onKeyDown:this.hourDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))),n("span",{class:_.delimiter},this.localizedHourSuffix),n("div",{class:_.column,role:"group"},n("span",{"aria-label":this.intlMinuteUp,class:(r={},r[_.button]=true,r[_.buttonMinuteUp]=true,r),onClick:this.incrementMinute,onKeyDown:this.minuteUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlMinute,"aria-valuemax":"12","aria-valuemin":"1","aria-valuenow":w&&parseInt(this.minute)||"0","aria-valuetext":this.minute,class:(o={},o[_.input]=true,o[_.minute]=true,o),onFocus:this.focusHandler,onKeyDown:this.minuteKeyDownHandler,ref:this.setMinuteEl,role:"spinbutton",tabIndex:0},this.localizedMinute||"--"),n("span",{"aria-label":this.intlMinuteDown,class:(c={},c[_.button]=true,c[_.buttonMinuteDown]=true,c),onClick:this.decrementMinute,onKeyDown:this.minuteDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))),this.showSecond&&n("span",{class:_.delimiter},this.localizedMinuteSuffix),this.showSecond&&n("div",{class:_.column,role:"group"},n("span",{"aria-label":this.intlSecondUp,class:(s={},s[_.button]=true,s[_.buttonSecondUp]=true,s),onClick:this.incrementSecond,onKeyDown:this.secondUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlSecond,"aria-valuemax":"59","aria-valuemin":"0","aria-valuenow":k&&parseInt(this.second)||"0","aria-valuetext":this.second,class:(u={},u[_.input]=true,u[_.second]=true,u),onFocus:this.focusHandler,onKeyDown:this.secondKeyDownHandler,ref:this.setSecondEl,role:"spinbutton",tabIndex:0},this.localizedSecond||"--"),n("span",{"aria-label":this.intlSecondDown,class:(d={},d[_.button]=true,d[_.buttonSecondDown]=true,d),onClick:this.decrementSecond,onKeyDown:this.secondDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))),this.localizedSecondSuffix&&n("span",{class:_.delimiter},this.localizedSecondSuffix),y&&n("div",{class:(m={},m[_.column]=true,m[_.meridiemStart]=this.meridiemOrder===0,m),role:"group"},n("span",{"aria-label":this.intlMeridiemUp,class:(p={},p[_.button]=true,p[_.buttonMeridiemUp]=true,p[_.buttonTopRight]=true,p),onClick:this.incrementMeridiem,onKeyDown:this.meridiemUpButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-up",scale:b})),n("span",{"aria-label":this.intlMeridiem,"aria-valuemax":"2","aria-valuemin":"1","aria-valuenow":this.meridiem==="PM"&&"2"||"1","aria-valuetext":this.meridiem,class:(f={},f[_.input]=true,f[_.meridiem]=true,f),onFocus:this.focusHandler,onKeyDown:this.meridiemKeyDownHandler,ref:this.setMeridiemEl,role:"spinbutton",tabIndex:0},this.localizedMeridiem||"--"),n("span",{"aria-label":this.intlMeridiemDown,class:(h={},h[_.button]=true,h[_.buttonMeridiemDown]=true,h[_.buttonBottomRight]=true,h),onClick:this.decrementMeridiem,onKeyDown:this.meridiemDownButtonKeyDownHandler,role:"button",tabIndex:-1},n("calcite-icon",{icon:"chevron-down",scale:b}))))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{locale:["localeWatcher"],value:["valueWatcher"]}},enumerable:false,configurable:true});return e}());B.style=K}}}));
@@ -1,6 +1,6 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function o(t){try{f(r.next(t))}catch(t){a(t)}}function u(t){try{f(r["throw"](t))}catch(t){a(t)}}function f(t){t.done?n(t.value):i(t.value).then(o,u)}f((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(e){return f([t,e])}}function f(o){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=e.call(t,n)}catch(t){o=[6,t];i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function o(t){try{c(r.next(t))}catch(t){a(t)}}function u(t){try{c(r["throw"](t))}catch(t){a(t)}}function c(t){t.done?n(t.value):i(t.value).then(o,u)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(e){return c([t,e])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=e.call(t,n)}catch(t){o=[6,t];i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.572
6
- */System.register(["./p-c3fdbf76.system.js","./p-de1943d2.system.js"],(function(t){"use strict";var e,n;return{setters:[function(t){e=t.a},function(t){n=t.a}],execute:function(){t({a:c,b:f,c:y,d:s,e:w,f:h,g:o,h:g,i:u,l:v,n:p,p:d,s:l});function r(t){if(t===void 0){t=""}if(n.indexOf(t)>-1){return t}t=t.toLowerCase();if(t.includes("-")){t=t.replace(/(\w+)-(\w+)/,(function(t,e,n){return"".concat(e,"-").concat(n.toUpperCase())}));if(!n.includes(t)){t=t.split("-")[0]}}return n.includes(t)?t:"en"}var i={};var a={};function o(t){return __awaiter(this,void 0,void 0,(function(){var n,u;return __generator(this,(function(f){switch(f.label){case 0:n=r(t);if(i[n]){return[2,i[n]]}if(!a[n]){a[n]=fetch(e("./assets/date-picker/nls/".concat(n,".json"))).then((function(t){return t.json()})).catch((function(){console.error('Translations for "'.concat(n,'" not found or invalid, falling back to english'));return o("en")}))}return[4,a[n]];case 1:u=f.sent();i[n]=u;return[2,u]}}))}))}function u(t,e,n){var r=t.getTime();var i=!(e instanceof Date)||r>=e.getTime();var a=!(n instanceof Date)||r<=n.getTime();return i&&a}function f(t,e,n){if(!(t instanceof Date)){return null}var r=t.getTime();var i=e instanceof Date&&r<e.getTime();var a=n instanceof Date&&r>n.getTime();if(i){return e}if(a){return n}return t}function c(t){if(t instanceof Date){return t}if(!t||typeof t!=="string"){return null}var e=t.split(/[: T-]/).map(parseFloat);var n=new Date(e[0],(e[1]||1)-1,e[2]||1);n.setFullYear(e[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(t,'"'))}return n}function s(t){if(typeof t==="string"){return t}if(t instanceof Date){return new Date(t.getTime()-t.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function l(t,e){return t instanceof Date&&e instanceof Date&&t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function h(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e-1);if(e===n.getMonth()){return new Date(t.getFullYear(),e,0)}return n}function p(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e+1);if((e+2)%7===n.getMonth()%7){return new Date(t.getFullYear(),e+2,0)}return n}function v(t,e){return String(t).split("").map((function(t){return e.numerals[t]})).join("")}function g(t,e){var n="0123456789";return parseInt(t.split("").map((function(t){return n[e.numerals.indexOf(t)]})).filter((function(t){return t})).join(""))}function d(t,e){var n=e.separator,r=e.unitOrder;var i=w(r);var a=m(t).split(n);return{day:parseInt(a[i.indexOf("d")]),month:parseInt(a[i.indexOf("m")])-1,year:parseInt(a[i.indexOf("y")])}}function m(t){if(t===void 0){t=""}return t.replace(/[\u0660-\u0669]/g,(function(t){return t.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(t){return t.charCodeAt(0)-1776}))}function w(t){var e=["d","m","y"];var n=t.toLowerCase();return e.sort((function(t,e){return n.indexOf(t)-n.indexOf(e)}))}function y(t,e){var n=t.getTime();var r=e.getTime();return(n-r)/(1e3*3600*24)}var b=t("H",2);var D=t("T",{nextMonth:"Next month",prevMonth:"Previous month",year:"Year"})}}}));
5
+ * v1.0.0-next.573
6
+ */System.register(["./p-8906b45b.system.js","./p-bc363322.system.js"],(function(t){"use strict";var e,n;return{setters:[function(t){e=t.a},function(t){n=t.a}],execute:function(){t({a:f,b:c,c:y,d:s,e:w,f:h,g:o,h:g,i:u,l:v,n:p,p:d,s:l});function r(t){if(t===void 0){t=""}if(n.indexOf(t)>-1){return t}t=t.toLowerCase();if(t.includes("-")){t=t.replace(/(\w+)-(\w+)/,(function(t,e,n){return"".concat(e,"-").concat(n.toUpperCase())}));if(!n.includes(t)){t=t.split("-")[0]}}return n.includes(t)?t:"en"}var i={};var a={};function o(t){return __awaiter(this,void 0,void 0,(function(){var n,u;return __generator(this,(function(c){switch(c.label){case 0:n=r(t);if(i[n]){return[2,i[n]]}if(!a[n]){a[n]=fetch(e("./assets/date-picker/nls/".concat(n,".json"))).then((function(t){return t.json()})).catch((function(){console.error('Translations for "'.concat(n,'" not found or invalid, falling back to english'));return o("en")}))}return[4,a[n]];case 1:u=c.sent();i[n]=u;return[2,u]}}))}))}function u(t,e,n){var r=t.getTime();var i=!(e instanceof Date)||r>=e.getTime();var a=!(n instanceof Date)||r<=n.getTime();return i&&a}function c(t,e,n){if(!(t instanceof Date)){return null}var r=t.getTime();var i=e instanceof Date&&r<e.getTime();var a=n instanceof Date&&r>n.getTime();if(i){return e}if(a){return n}return t}function f(t){if(t instanceof Date){return t}if(!t||typeof t!=="string"){return null}var e=t.split(/[: T-]/).map(parseFloat);var n=new Date(e[0],(e[1]||1)-1,e[2]||1);n.setFullYear(e[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(t,'"'))}return n}function s(t){if(typeof t==="string"){return t}if(t instanceof Date){return new Date(t.getTime()-t.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function l(t,e){return t instanceof Date&&e instanceof Date&&t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function h(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e-1);if(e===n.getMonth()){return new Date(t.getFullYear(),e,0)}return n}function p(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e+1);if((e+2)%7===n.getMonth()%7){return new Date(t.getFullYear(),e+2,0)}return n}function v(t,e){return String(t).split("").map((function(t){return e.numerals[t]})).join("")}function g(t,e){var n="0123456789";return parseInt(t.split("").map((function(t){return n[e.numerals.indexOf(t)]})).filter((function(t){return t})).join(""))}function d(t,e){var n=e.separator,r=e.unitOrder;var i=w(r);var a=m(t).split(n);return{day:parseInt(a[i.indexOf("d")]),month:parseInt(a[i.indexOf("m")])-1,year:parseInt(a[i.indexOf("y")])}}function m(t){if(t===void 0){t=""}return t.replace(/[\u0660-\u0669]/g,(function(t){return t.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(t){return t.charCodeAt(0)-1776}))}function w(t){var e=["d","m","y"];var n=t.toLowerCase();return e.sort((function(t,e){return n.indexOf(t)-n.indexOf(e)}))}function y(t,e){var n=t.getTime();var r=e.getTime();return(n-r)/(1e3*3600*24)}var b=t("H",2);var D=t("T",{nextMonth:"Next month",prevMonth:"Previous month",year:"Year"})}}}));
@@ -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.572
4
+ * v1.0.0-next.573
5
5
  */
6
6
  function n(n){return"Enter"===n||" "===n}const t=["0","1","2","3","4","5","6","7","8","9"];export{n as i,t as n}
@@ -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.572
4
+ * v1.0.0-next.573
5
5
  */
6
- import{r as t,c as i,h as a,F as n,g as e}from"./p-8fe8a091.js";import{g as s}from"./p-7bc4298b.js";import{c as o,d as r}from"./p-55afd183.js";import{c as l,d as c,H as m}from"./p-05f73c36.js";import{u as p}from"./p-fbb03710.js";import{i as d}from"./p-9579820c.js";import"./p-be8013f9.js";import"./p-c8687235.js";const h=class{constructor(a){t(this,a),this.calciteRatingChange=i(this,"calciteRatingChange",6),this.scale="m",this.value=0,this.readOnly=!1,this.disabled=!1,this.showChip=!1,this.intlRating="Rating",this.intlStars="Stars: ${num}",this.required=!1,this.onKeyboardPressed=t=>{!this.required&&d(t.key)&&(t.preventDefault(),this.updateValue(0))},this.onFocusChange=t=>{this.hasFocus=!0,this.required||this.focusValue!==t?this.focusValue=t:this.updateValue(0)},this.guid=`calcite-ratings-${s()}`}connectedCallback(){o(this),l(this)}disconnectedCallback(){r(this),c(this)}componentDidRender(){p(this)}blurHandler(){this.hasFocus=!1}renderStars(){return[1,2,3,4,5].map((t=>{const i=this.value>=t,n=this.average&&!this.value&&t<=this.average,e=t<=this.hoverValue,s=this.average&&this.average+1-t,o=!this.value&&!e&&s>0&&s<1;return a("span",{class:{wrapper:!0}},a("label",{class:{star:!0,focused:this.hasFocus&&this.focusValue===t,selected:i,average:n,hovered:e,partial:o},htmlFor:`${this.guid}-${t}`,onMouseOver:()=>{this.hoverValue=t}},a("calcite-icon",{"aria-hidden":"true",class:"icon",icon:i||n||this.readOnly?"star-f":"star",scale:this.scale}),o&&a("div",{class:"fraction",style:{width:100*s+"%"}},a("calcite-icon",{icon:"star-f",scale:this.scale})),a("span",{class:"visually-hidden"},this.intlStars.replace("${num}",`${t}`))),a("input",{checked:t===this.value,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:`${this.guid}-${t}`,name:this.guid,onChange:()=>this.updateValue(t),onClick:t=>t.stopPropagation(),onFocus:()=>this.onFocusChange(t),onKeyDown:this.onKeyboardPressed,ref:i=>(1===t||t===this.value)&&(this.inputFocusRef=i),type:"radio",value:t}))}))}render(){const{disabled:t,intlRating:i,showChip:e,scale:s,count:o,average:r}=this;return a(n,null,a("fieldset",{class:"fieldset",disabled:t,onBlur:()=>this.hoverValue=null,onMouseLeave:()=>this.hoverValue=null,onTouchEnd:()=>this.hoverValue=null},a("legend",{class:"visually-hidden"},i),this.renderStars()),(o||r)&&e?a("calcite-chip",{scale:s,value:null==o?void 0:o.toString()},!!r&&a("span",{class:"number--average"},r.toString()),!!o&&a("span",{class:"number--count"},"(",null==o?void 0:o.toString(),")")):null,a(m,{component:this}))}onLabelClick(){this.setFocus()}updateValue(t){this.value=t,this.calciteRatingChange.emit({value:t})}async setFocus(){var t;null===(t=this.inputFocusRef)||void 0===t||t.focus()}get el(){return e(this)}};h.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;inline-size:-moz-fit-content;inline-size:-webkit-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}:host([read-only]){pointer-events:none}.fieldset{margin:0px;display:-ms-flexbox;display:flex;border-width:0px;padding:0px}.wrapper{display:inline-block;-webkit-margin-end:var(--calcite-rating-spacing-unit);margin-inline-end:var(--calcite-rating-spacing-unit)}.star{position:relative;display:-ms-flexbox;display:flex;cursor:pointer;outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-input)}.focused{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected,:host([read-only]) .average,:host([read-only]) .fraction{color:var(--calcite-ui-brand)}:host .fraction{pointer-events:none;position:absolute;inset-block-start:0px;overflow:hidden;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:var(--calcite-font-weight-bold)}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){-webkit-margin-start:var(--calcite-rating-spacing-unit);margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{h as calcite_rating}
6
+ import{r as t,c as i,h as a,F as n,g as e}from"./p-0079e9dc.js";import{g as s}from"./p-4140dba9.js";import{c as o,d as r}from"./p-4446ea9c.js";import{c as l,d as c,H as m}from"./p-2fb83966.js";import{u as d}from"./p-c43ba981.js";import{i as p}from"./p-1603eecc.js";import"./p-ed9c45da.js";import"./p-f3991961.js";const h=class{constructor(a){t(this,a),this.calciteRatingChange=i(this,"calciteRatingChange",6),this.scale="m",this.value=0,this.readOnly=!1,this.disabled=!1,this.showChip=!1,this.intlRating="Rating",this.intlStars="Stars: ${num}",this.required=!1,this.onKeyboardPressed=t=>{!this.required&&p(t.key)&&(t.preventDefault(),this.updateValue(0))},this.onFocusChange=t=>{this.hasFocus=!0,this.required||this.focusValue!==t?this.focusValue=t:this.updateValue(0)},this.guid=`calcite-ratings-${s()}`}connectedCallback(){o(this),l(this)}disconnectedCallback(){r(this),c(this)}componentDidRender(){d(this)}blurHandler(){this.hasFocus=!1}renderStars(){return[1,2,3,4,5].map((t=>{const i=this.value>=t,n=this.average&&!this.value&&t<=this.average,e=t<=this.hoverValue,s=this.average&&this.average+1-t,o=!this.value&&!e&&s>0&&s<1;return a("span",{class:{wrapper:!0}},a("label",{class:{star:!0,focused:this.hasFocus&&this.focusValue===t,selected:i,average:n,hovered:e,partial:o},htmlFor:`${this.guid}-${t}`,onMouseOver:()=>{this.hoverValue=t}},a("calcite-icon",{"aria-hidden":"true",class:"icon",icon:i||n||this.readOnly?"star-f":"star",scale:this.scale}),o&&a("div",{class:"fraction",style:{width:100*s+"%"}},a("calcite-icon",{icon:"star-f",scale:this.scale})),a("span",{class:"visually-hidden"},this.intlStars.replace("${num}",`${t}`))),a("input",{checked:t===this.value,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:`${this.guid}-${t}`,name:this.guid,onChange:()=>this.updateValue(t),onClick:t=>t.stopPropagation(),onFocus:()=>this.onFocusChange(t),onKeyDown:this.onKeyboardPressed,ref:i=>(1===t||t===this.value)&&(this.inputFocusRef=i),type:"radio",value:t}))}))}render(){const{disabled:t,intlRating:i,showChip:e,scale:s,count:o,average:r}=this;return a(n,null,a("fieldset",{class:"fieldset",disabled:t,onBlur:()=>this.hoverValue=null,onMouseLeave:()=>this.hoverValue=null,onTouchEnd:()=>this.hoverValue=null},a("legend",{class:"visually-hidden"},i),this.renderStars()),(o||r)&&e?a("calcite-chip",{scale:s,value:null==o?void 0:o.toString()},!!r&&a("span",{class:"number--average"},r.toString()),!!o&&a("span",{class:"number--count"},"(",null==o?void 0:o.toString(),")")):null,a(m,{component:this}))}onLabelClick(){this.setFocus()}updateValue(t){this.value=t,this.calciteRatingChange.emit({value:t})}async setFocus(){var t;null===(t=this.inputFocusRef)||void 0===t||t.focus()}get el(){return e(this)}};h.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;inline-size:-moz-fit-content;inline-size:-webkit-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}:host([read-only]){pointer-events:none}.fieldset{margin:0px;display:-ms-flexbox;display:flex;border-width:0px;padding:0px}.wrapper{display:inline-block;-webkit-margin-end:var(--calcite-rating-spacing-unit);margin-inline-end:var(--calcite-rating-spacing-unit)}.star{position:relative;display:-ms-flexbox;display:flex;cursor:pointer;outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-input)}.focused{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected,:host([read-only]) .average,:host([read-only]) .fraction{color:var(--calcite-ui-brand)}:host .fraction{pointer-events:none;position:absolute;inset-block-start:0px;overflow:hidden;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:var(--calcite-font-weight-bold)}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){-webkit-margin-start:var(--calcite-rating-spacing-unit);margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{h as calcite_rating}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.572
4
+ * v1.0.0-next.573
5
5
  */
6
- import{r as t,c as e,h as i,g as a,H as n}from"./p-8fe8a091.js";import{f as r,d as o,t as s}from"./p-be8013f9.js";import{u as c}from"./p-fbb03710.js";import"./p-c8687235.js";import"./p-7bc4298b.js";const l=class{constructor(i){t(this,i),this.calciteStepperItemChange=e(this,"calciteStepperItemChange",6),this.calciteInternalStepperItemChange=e(this,"calciteInternalStepperItemChange",6),this.icon=!1,this.layout="horizontal",this.numbered=!1,this.scale="m",this.itemMap=new Map,this.items=[],this.enabledItems=[]}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}render(){return i("slot",{onSlotchange:t=>{const e=t.currentTarget.assignedElements().filter((t=>"CALCITE-STEPPER-ITEM"===(null==t?void 0:t.tagName))),i=Array(e.length).fill("1fr").join(" ");this.el.style.gridTemplateAreas=i,this.el.style.gridTemplateColumns=i}})}calciteInternalStepperItemKeyEvent(t){const e=t.detail.item,i=t.target,a=0===this.itemIndex(i),n=this.itemIndex(i)===this.enabledItems.length-1;switch(e.key){case"ArrowDown":case"ArrowRight":n?this.focusFirstItem():this.focusNextItem(i);break;case"ArrowUp":case"ArrowLeft":a?this.focusLastItem():this.focusPrevItem(i);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}t.stopPropagation()}registerItem(t){const e=t.target,{content:i,position:a}=t.detail;this.itemMap.set(e,{position:a,content:i}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),t.stopPropagation()}updateItem(t){const{position:e}=t.detail;"number"==typeof e&&(this.currentPosition=e),this.calciteInternalStepperItemChange.emit({position:e})}handleUserRequestedStepperItemSelect(t){const{position:e}=t.detail;this.calciteStepperItemChange.emit({position:e})}async nextStep(){const t=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof t&&this.updateStep(t)}async prevStep(){const t=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof t&&this.updateStep(t)}async goToStep(t){const e=t-1;this.currentPosition!==e&&this.updateStep(e)}async startStep(){const t=this.getEnabledStepIndex(0,"next");"number"==typeof t&&this.updateStep(t)}async endStep(){const t=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof t&&this.updateStep(t)}getEnabledStepIndex(t,e="next"){var i;const{items:a,currentPosition:n}=this;let r=t;for(;null===(i=a[r])||void 0===i?void 0:i.disabled;)r+="previous"===e?-1:1;return r!==n&&r<a.length&&r>=0?r:null}updateStep(t){this.currentPosition=t,this.calciteInternalStepperItemChange.emit({position:t})}focusFirstItem(){r(this.enabledItems[0])}focusLastItem(){r(this.enabledItems[this.enabledItems.length-1])}focusNextItem(t){const e=this.itemIndex(t);r(this.enabledItems[e+1]||this.enabledItems[0])}focusPrevItem(t){const e=this.itemIndex(t);r(this.enabledItems[e-1]||this.enabledItems[this.enabledItems.length-1])}itemIndex(t){return this.enabledItems.indexOf(t)}sortItems(){const{itemMap:t}=this;return Array.from(t.keys()).sort(((e,i)=>t.get(e).position-t.get(i).position))}filterItems(){return this.items.filter((t=>!t.disabled))}get el(){return a(this)}};l.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:-webkit-fit-content;min-inline-size:fit-content;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}';const m=class{constructor(i){t(this,i),this.calciteInternalStepperItemKeyEvent=e(this,"calciteInternalStepperItemKeyEvent",6),this.calciteInternalStepperItemSelect=e(this,"calciteInternalStepperItemSelect",6),this.calciteInternalUserRequestedStepperItemSelect=e(this,"calciteInternalUserRequestedStepperItemSelect",6),this.calciteInternalStepperItemRegister=e(this,"calciteInternalStepperItemRegister",6),this.active=!1,this.selected=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.layout="horizontal",this.icon=!1,this.numbered=!1,this.scale="m",this.keyDownHandler=t=>{if(!this.disabled&&t.target===this.el)switch(t.key){case" ":case"Enter":this.emitUserRequestedItem(),t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:t}),t.preventDefault()}},this.handleItemClick=t=>{"horizontal"===this.layout&&t.composedPath().some((t=>{var e;return null===(e=t.classList)||void 0===e?void 0:e.contains("stepper-item-content")}))||this.emitUserRequestedItem()},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})}}activeHandler(t){this.selected=t}selectedHandler(t){this.active=t,this.selected&&this.emitRequestedItem()}disabledWatcher(){this.registerStepperItem()}connectedCallback(){const{selected:t,active:e}=this;t?this.active=t:e&&(this.selected=e)}componentWillLoad(){this.icon=o(this.el,"icon",!1),this.numbered=o(this.el,"numbered",!1),this.layout=o(this.el,"layout",!1),this.scale=o(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}componentDidRender(){c(this,!0)}render(){return i(n,{"aria-expanded":s(this.active),onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},i("div",{class:"container"},i("div",{class:"stepper-item-header",ref:t=>this.headerEl=t,tabIndex:"horizontal"!==this.layout||this.disabled?null:0},this.icon?this.renderIcon():null,this.numbered?i("div",{class:"stepper-item-number"},this.itemPosition+1,"."):null,i("div",{class:"stepper-item-header-text"},i("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),i("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),i("div",{class:"stepper-item-content"},i("slot",null))))}updateActiveItemOnChange(t){(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=t.detail.position,this.determineSelectedItem())}async setFocus(){var t;null===(t="vertical"===this.layout?this.el:this.headerEl)||void 0===t||t.focus()}renderIcon(){return i("calcite-icon",{class:"stepper-item-icon",icon:this.selected?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){var t;return Array.from(null===(t=this.parentStepperEl)||void 0===t?void 0:t.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],selected:["selectedHandler"],disabled:["disabledWatcher"]}}};m.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([layout=horizontal][disabled]) .stepper-item-header,: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([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-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)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-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);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-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)}:host .stepper-item-content{display:none;inline-size:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);-webkit-margin-before:1px;margin-block-start:1px;display:-ms-inline-flexbox;display:inline-flex;block-size:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-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)}:host .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;inline-size:100%}:host .stepper-item-heading{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical]) .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-block:1px 0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content ::slotted(:last-child){-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-l);margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([layout=horizontal]) .stepper-item-content{cursor:auto;-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);padding-block:0;-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}";export{l as calcite_stepper,m as calcite_stepper_item}
6
+ import{r as t,c as e,h as i,g as a,H as n}from"./p-0079e9dc.js";import{f as r,d as o,t as s}from"./p-ed9c45da.js";import{u as c}from"./p-c43ba981.js";import"./p-f3991961.js";import"./p-4140dba9.js";const l=class{constructor(i){t(this,i),this.calciteStepperItemChange=e(this,"calciteStepperItemChange",6),this.calciteInternalStepperItemChange=e(this,"calciteInternalStepperItemChange",6),this.icon=!1,this.layout="horizontal",this.numbered=!1,this.scale="m",this.itemMap=new Map,this.items=[],this.enabledItems=[]}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}render(){return i("slot",{onSlotchange:t=>{const e=t.currentTarget.assignedElements().filter((t=>"CALCITE-STEPPER-ITEM"===(null==t?void 0:t.tagName))),i=Array(e.length).fill("1fr").join(" ");this.el.style.gridTemplateAreas=i,this.el.style.gridTemplateColumns=i}})}calciteInternalStepperItemKeyEvent(t){const e=t.detail.item,i=t.target,a=0===this.itemIndex(i),n=this.itemIndex(i)===this.enabledItems.length-1;switch(e.key){case"ArrowDown":case"ArrowRight":n?this.focusFirstItem():this.focusNextItem(i);break;case"ArrowUp":case"ArrowLeft":a?this.focusLastItem():this.focusPrevItem(i);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}t.stopPropagation()}registerItem(t){const e=t.target,{content:i,position:a}=t.detail;this.itemMap.set(e,{position:a,content:i}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),t.stopPropagation()}updateItem(t){const{position:e}=t.detail;"number"==typeof e&&(this.currentPosition=e),this.calciteInternalStepperItemChange.emit({position:e})}handleUserRequestedStepperItemSelect(t){const{position:e}=t.detail;this.calciteStepperItemChange.emit({position:e})}async nextStep(){const t=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof t&&this.updateStep(t)}async prevStep(){const t=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof t&&this.updateStep(t)}async goToStep(t){const e=t-1;this.currentPosition!==e&&this.updateStep(e)}async startStep(){const t=this.getEnabledStepIndex(0,"next");"number"==typeof t&&this.updateStep(t)}async endStep(){const t=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof t&&this.updateStep(t)}getEnabledStepIndex(t,e="next"){var i;const{items:a,currentPosition:n}=this;let r=t;for(;null===(i=a[r])||void 0===i?void 0:i.disabled;)r+="previous"===e?-1:1;return r!==n&&r<a.length&&r>=0?r:null}updateStep(t){this.currentPosition=t,this.calciteInternalStepperItemChange.emit({position:t})}focusFirstItem(){r(this.enabledItems[0])}focusLastItem(){r(this.enabledItems[this.enabledItems.length-1])}focusNextItem(t){const e=this.itemIndex(t);r(this.enabledItems[e+1]||this.enabledItems[0])}focusPrevItem(t){const e=this.itemIndex(t);r(this.enabledItems[e-1]||this.enabledItems[this.enabledItems.length-1])}itemIndex(t){return this.enabledItems.indexOf(t)}sortItems(){const{itemMap:t}=this;return Array.from(t.keys()).sort(((e,i)=>t.get(e).position-t.get(i).position))}filterItems(){return this.items.filter((t=>!t.disabled))}get el(){return a(this)}};l.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:-webkit-fit-content;min-inline-size:fit-content;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}';const m=class{constructor(i){t(this,i),this.calciteInternalStepperItemKeyEvent=e(this,"calciteInternalStepperItemKeyEvent",6),this.calciteInternalStepperItemSelect=e(this,"calciteInternalStepperItemSelect",6),this.calciteInternalUserRequestedStepperItemSelect=e(this,"calciteInternalUserRequestedStepperItemSelect",6),this.calciteInternalStepperItemRegister=e(this,"calciteInternalStepperItemRegister",6),this.active=!1,this.selected=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.layout="horizontal",this.icon=!1,this.numbered=!1,this.scale="m",this.keyDownHandler=t=>{if(!this.disabled&&t.target===this.el)switch(t.key){case" ":case"Enter":this.emitUserRequestedItem(),t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:t}),t.preventDefault()}},this.handleItemClick=t=>{"horizontal"===this.layout&&t.composedPath().some((t=>{var e;return null===(e=t.classList)||void 0===e?void 0:e.contains("stepper-item-content")}))||this.emitUserRequestedItem()},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})}}activeHandler(t){this.selected=t}selectedHandler(t){this.active=t,this.selected&&this.emitRequestedItem()}disabledWatcher(){this.registerStepperItem()}connectedCallback(){const{selected:t,active:e}=this;t?this.active=t:e&&(this.selected=e)}componentWillLoad(){this.icon=o(this.el,"icon",!1),this.numbered=o(this.el,"numbered",!1),this.layout=o(this.el,"layout",!1),this.scale=o(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}componentDidRender(){c(this,!0)}render(){return i(n,{"aria-expanded":s(this.active),onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},i("div",{class:"container"},i("div",{class:"stepper-item-header",ref:t=>this.headerEl=t,tabIndex:"horizontal"!==this.layout||this.disabled?null:0},this.icon?this.renderIcon():null,this.numbered?i("div",{class:"stepper-item-number"},this.itemPosition+1,"."):null,i("div",{class:"stepper-item-header-text"},i("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),i("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),i("div",{class:"stepper-item-content"},i("slot",null))))}updateActiveItemOnChange(t){(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=t.detail.position,this.determineSelectedItem())}async setFocus(){var t;null===(t="vertical"===this.layout?this.el:this.headerEl)||void 0===t||t.focus()}renderIcon(){return i("calcite-icon",{class:"stepper-item-icon",icon:this.selected?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){var t;return Array.from(null===(t=this.parentStepperEl)||void 0===t?void 0:t.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],selected:["selectedHandler"],disabled:["disabledWatcher"]}}};m.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([layout=horizontal][disabled]) .stepper-item-header,: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([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-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)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-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);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-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)}:host .stepper-item-content{display:none;inline-size:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);-webkit-margin-before:1px;margin-block-start:1px;display:-ms-inline-flexbox;display:inline-flex;block-size:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-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)}:host .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;inline-size:100%}:host .stepper-item-heading{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical]) .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-block:1px 0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content ::slotted(:last-child){-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-l);margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([layout=horizontal]) .stepper-item-content{cursor:auto;-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);padding-block:0;-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}";export{l as calcite_stepper,m as calcite_stepper_item}
@@ -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.572
4
+ * v1.0.0-next.573
5
5
  */
6
- import{r as t,c as a,h as i,H as e,g as n}from"./p-8fe8a091.js";import{t as o,o as r,q as s,g as l,a as c,E as d,b as p}from"./p-3d0e720b.js";import{f as m,g as h}from"./p-be8013f9.js";import{c as b}from"./p-74fb68dd.js";import{c as f,d as x}from"./p-42dfc33d.js";import{d as u}from"./p-3232a4cd.js";import"./p-8063b632.js";import"./p-745e6201.js";import"./p-c8687235.js";import"./p-7bc4298b.js";const w=class{constructor(i){t(this,i),this.calciteActionBarToggle=a(this,"calciteActionBarToggle",6),this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.mutationObserver=b("mutation",(()=>{const{el:t,expanded:a}=this;o({parent:t,expanded:a}),this.conditionallyOverflowActions()})),this.resizeObserver=b("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenChangeHandler=t=>{if(t.detail){const a=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{a.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:a,height:i}=t.contentRect;this.resize({width:a,height:i})},this.resize=u((({width:t,height:a})=>{const{el:i,expanded:e,expandDisabled:n,layout:o}=this;if("vertical"===o&&!a||"horizontal"===o&&!t)return;const r=s(i),d=n?r.length:r.length+1,m=Array.from(i.querySelectorAll("calcite-action-group")),b=h(i,"bottom-actions")||!n?m.length+1:m.length,{actionHeight:f,actionWidth:x}=l(r),u=p({layout:o,actionCount:d,actionHeight:f,actionWidth:x,height:a,width:t,groupCount:b});c({actionGroups:m,expanded:e,overflowCount:u})}),r),this.conditionallyOverflowActions=()=>{this.overflowActionsDisabled||this.overflowActions()},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t}}expandHandler(){this.conditionallyOverflowActions()}expandedHandler(t){o({parent:this.el,expanded:t}),this.conditionallyOverflowActions()}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}componentDidLoad(){this.conditionallyOverflowActions()}connectedCallback(){var t,a;const{el:i,expanded:e}=this;o({parent:i,expanded:e}),null===(t=this.mutationObserver)||void 0===t||t.observe(i,{childList:!0,subtree:!0}),this.overflowActionsDisabled||null===(a=this.resizeObserver)||void 0===a||a.observe(i),this.conditionallyOverflowActions(),f(this)}disconnectedCallback(){var t,a;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(a=this.resizeObserver)||void 0===a||a.disconnect(),x(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(t){var a;"expand-toggle"!==t?null===(a=this.el)||void 0===a||a.focus():await m(this.expandToggleEl)}renderBottomActionGroup(){const{expanded:t,expandDisabled:a,intlExpand:e,intlCollapse:n,el:o,position:r,toggleExpand:s,scale:l,layout:c}=this,p=h(o,"expand-tooltip"),m=a?null:i(d,{el:o,expanded:t,intlCollapse:n||"Collapse",intlExpand:e||"Expand",position:r,ref:this.setExpandToggleRef,scale:l,toggle:s,tooltip:p});return h(o,"bottom-actions")||m?i("calcite-action-group",{class:"action-group--bottom",layout:c,scale:l},i("slot",{name:"bottom-actions"}),i("slot",{name:"expand-tooltip"}),m):null}render(){return i(e,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("slot",null),this.renderBottomActionGroup())}get el(){return n(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}}};w.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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:stretch;align-self:stretch;background:transparent;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-width:0px;border-inline-end-width:1px;border-style:solid}::slotted(calcite-action-group:last-child){border-block-end-width:0px;border-inline-end-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;-webkit-padding-after:0px;padding-block-end:0px;-webkit-padding-end:0px;padding-inline-end:0px}";export{w as calcite_action_bar}
6
+ import{r as t,c as a,h as i,H as e,g as n}from"./p-0079e9dc.js";import{t as o,o as r,q as s,g as l,a as c,E as d,b as p}from"./p-8a983533.js";import{f as m,g as h}from"./p-ed9c45da.js";import{c as f}from"./p-74045cd2.js";import{c as b,d as x}from"./p-2c07cc64.js";import{d as u}from"./p-21f73977.js";import"./p-6d7ee0b8.js";import"./p-a3f96232.js";import"./p-f3991961.js";import"./p-4140dba9.js";const w=class{constructor(i){t(this,i),this.calciteActionBarToggle=a(this,"calciteActionBarToggle",6),this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.mutationObserver=f("mutation",(()=>{const{el:t,expanded:a}=this;o({parent:t,expanded:a}),this.conditionallyOverflowActions()})),this.resizeObserver=f("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenChangeHandler=t=>{if(t.detail){const a=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{a.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:a,height:i}=t.contentRect;this.resize({width:a,height:i})},this.resize=u((({width:t,height:a})=>{const{el:i,expanded:e,expandDisabled:n,layout:o}=this;if("vertical"===o&&!a||"horizontal"===o&&!t)return;const r=s(i),d=n?r.length:r.length+1,m=Array.from(i.querySelectorAll("calcite-action-group")),f=h(i,"bottom-actions")||!n?m.length+1:m.length,{actionHeight:b,actionWidth:x}=l(r),u=p({layout:o,actionCount:d,actionHeight:b,actionWidth:x,height:a,width:t,groupCount:f});c({actionGroups:m,expanded:e,overflowCount:u})}),r),this.conditionallyOverflowActions=()=>{this.overflowActionsDisabled||this.overflowActions()},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t}}expandHandler(){this.conditionallyOverflowActions()}expandedHandler(t){o({parent:this.el,expanded:t}),this.conditionallyOverflowActions()}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}componentDidLoad(){this.conditionallyOverflowActions()}connectedCallback(){var t,a;const{el:i,expanded:e}=this;o({parent:i,expanded:e}),null===(t=this.mutationObserver)||void 0===t||t.observe(i,{childList:!0,subtree:!0}),this.overflowActionsDisabled||null===(a=this.resizeObserver)||void 0===a||a.observe(i),this.conditionallyOverflowActions(),b(this)}disconnectedCallback(){var t,a;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(a=this.resizeObserver)||void 0===a||a.disconnect(),x(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(t){var a;"expand-toggle"!==t?null===(a=this.el)||void 0===a||a.focus():await m(this.expandToggleEl)}renderBottomActionGroup(){const{expanded:t,expandDisabled:a,intlExpand:e,intlCollapse:n,el:o,position:r,toggleExpand:s,scale:l,layout:c}=this,p=h(o,"expand-tooltip"),m=a?null:i(d,{el:o,expanded:t,intlCollapse:n||"Collapse",intlExpand:e||"Expand",position:r,ref:this.setExpandToggleRef,scale:l,toggle:s,tooltip:p});return h(o,"bottom-actions")||m?i("calcite-action-group",{class:"action-group--bottom",layout:c,scale:l},i("slot",{name:"bottom-actions"}),i("slot",{name:"expand-tooltip"}),m):null}render(){return i(e,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("slot",null),this.renderBottomActionGroup())}get el(){return n(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}}};w.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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:stretch;align-self:stretch;background:transparent;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-width:0px;border-inline-end-width:1px;border-style:solid}::slotted(calcite-action-group:last-child){border-block-end-width:0px;border-inline-end-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;-webkit-padding-after:0px;padding-block-end:0px;-webkit-padding-end:0px;padding-inline-end:0px}";export{w as calcite_action_bar}
@@ -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.572
4
+ * v1.0.0-next.573
5
5
  */
6
- import{r as a,h as i,H as e,g as t}from"./p-8fe8a091.js";import{g as r}from"./p-7bc4298b.js";const n=class{constructor(i){a(this,i),this.active=!1,this.inline=!1,this.scale="m",this.value=0,this.text="",this.noPadding=!1}render(){const{el:a,inline:t,label:n,scale:o,text:s,type:l,value:c}=this,m=a.id||r(),d=t?this.getInlineSize(o):this.getSize(o),f=.45*d,k=`0 0 ${d} ${d}`,v="determinate"===l,b=2*f*Math.PI,g=c/100*b,p=b-g,w=Math.floor(c),h={r:f,cx:d/2,cy:d/2},y={"stroke-dasharray":`${g} ${p}`};return i(e,{"aria-label":n,id:m,role:"progressbar",...v?{"aria-valuenow":w,"aria-valuemin":0,"aria-valuemax":100,complete:100===w}:{}},i("div",{class:"loader__svgs"},i("svg",{class:"loader__svg loader__svg--1",viewBox:k},i("circle",{...h})),i("svg",{class:"loader__svg loader__svg--2",viewBox:k},i("circle",{...h})),i("svg",{class:"loader__svg loader__svg--3",viewBox:k,...v?{style:y}:{}},i("circle",{...h}))),s&&i("div",{class:"loader__text"},s),v&&i("div",{class:"loader__percentage"},c))}getSize(a){return{s:32,m:56,l:80}[a]}getInlineSize(a){return{s:12,m:16,l:20}[a]}get el(){return t(this)}};n.style='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;margin-inline:auto;display:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;-webkit-transform:scale(1, 1);transform:scale(1, 1);animation:loader-color-shift 6s alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem)}:host([scale=s]){--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}:host([scale=m]){--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}:host([scale=l]){--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem}:host([no-padding]){padding-block:0px}:host{display:none}:host([active]){display:-ms-flexbox;display:flex}.loader__text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-margin-before:calc(var(--calcite-loader-size) + 1.5rem);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}.loader__percentage{position:absolute;display:block;text-align:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);inset-inline-start:50%;-webkit-margin-start:calc(var(--calcite-loader-size) / 2 * -1);margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;-webkit-transform:scale(1, 1);transform:scale(1, 1)}.loader__svgs{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;-webkit-margin-start:calc(var(--calcite-loader-size) / 2 * -1);margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);-webkit-transform:scale(1, 1);transform:scale(1, 1)}.loader__svg{position:absolute;inset-block-start:0px;inset-inline-start:0px;-webkit-transform-origin:center;transform-origin:center;overflow:visible;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-name:loader-clockwise;animation-name:loader-clockwise}@supports (display: grid){.loader__svg--1{-webkit-animation-name:loader-offset-1;animation-name:loader-offset-1}.loader__svg--2{-webkit-animation-name:loader-offset-2;animation-name:loader-offset-2}.loader__svg--3{-webkit-animation-name:loader-offset-3;animation-name:loader-offset-3}}:host([type=determinate]){-webkit-animation:none;animation:none;stroke:var(--calcite-ui-border-3)}:host([type=determinate]) .loader__svg--3{-webkit-animation:none;animation:none;stroke:var(--calcite-ui-brand);stroke-dasharray:150.79632;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transition:all var(--calcite-internal-animation-timing-fast) linear;transition:all var(--calcite-internal-animation-timing-fast) linear}:host([inline]){position:relative;margin:0px;-webkit-animation:none;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);-webkit-margin-end:calc(var(--calcite-loader-size-inline) * 0.5);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}:host([active][inline]){display:inline-block}:host([inline]) .loader__svgs{inset-block-start:0px;inset-inline-start:0px;margin:0px;inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([inline]) .loader__svg{inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([complete]){opacity:0;-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms}:host([complete]) .loader__svgs{opacity:0;-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms}:host([complete]) .loader__percentage{color:var(--calcite-ui-brand);-webkit-transform:scale(1.05, 1.05);transform:scale(1.05, 1.05);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:color var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear}.loader__svg--1{stroke-dasharray:27.9252444444% 139.6262222222%;-webkit-animation-duration:0.72s;animation-duration:0.72s}@-webkit-keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}.loader__svg--2{stroke-dasharray:55.8504888889% 139.6262222222%;-webkit-animation-duration:0.96s;animation-duration:0.96s}@-webkit-keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}.loader__svg--3{stroke-dasharray:13.9626222222% 139.6262222222%;-webkit-animation-duration:1.16s;animation-duration:1.16s}@-webkit-keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@-webkit-keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@-webkit-keyframes loader-clockwise{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loader-clockwise{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}';export{n as calcite_loader}
6
+ import{r as a,h as i,H as e,g as t}from"./p-0079e9dc.js";import{g as r}from"./p-4140dba9.js";const n=class{constructor(i){a(this,i),this.active=!1,this.inline=!1,this.scale="m",this.value=0,this.text="",this.noPadding=!1}render(){const{el:a,inline:t,label:n,scale:o,text:s,type:l,value:c}=this,m=a.id||r(),d=t?this.getInlineSize(o):this.getSize(o),f=.45*d,k=`0 0 ${d} ${d}`,v="determinate"===l,b=2*f*Math.PI,g=c/100*b,p=b-g,w=Math.floor(c),h={r:f,cx:d/2,cy:d/2},y={"stroke-dasharray":`${g} ${p}`};return i(e,{"aria-label":n,id:m,role:"progressbar",...v?{"aria-valuenow":w,"aria-valuemin":0,"aria-valuemax":100,complete:100===w}:{}},i("div",{class:"loader__svgs"},i("svg",{class:"loader__svg loader__svg--1",viewBox:k},i("circle",{...h})),i("svg",{class:"loader__svg loader__svg--2",viewBox:k},i("circle",{...h})),i("svg",{class:"loader__svg loader__svg--3",viewBox:k,...v?{style:y}:{}},i("circle",{...h}))),s&&i("div",{class:"loader__text"},s),v&&i("div",{class:"loader__percentage"},c))}getSize(a){return{s:32,m:56,l:80}[a]}getInlineSize(a){return{s:12,m:16,l:20}[a]}get el(){return t(this)}};n.style='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;margin-inline:auto;display:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;-webkit-transform:scale(1, 1);transform:scale(1, 1);animation:loader-color-shift 6s alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem)}:host([scale=s]){--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}:host([scale=m]){--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}:host([scale=l]){--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem}:host([no-padding]){padding-block:0px}:host{display:none}:host([active]){display:-ms-flexbox;display:flex}.loader__text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-margin-before:calc(var(--calcite-loader-size) + 1.5rem);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}.loader__percentage{position:absolute;display:block;text-align:center;color:var(--calcite-ui-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);inset-inline-start:50%;-webkit-margin-start:calc(var(--calcite-loader-size) / 2 * -1);margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;-webkit-transform:scale(1, 1);transform:scale(1, 1)}.loader__svgs{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;-webkit-margin-start:calc(var(--calcite-loader-size) / 2 * -1);margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);-webkit-transform:scale(1, 1);transform:scale(1, 1)}.loader__svg{position:absolute;inset-block-start:0px;inset-inline-start:0px;-webkit-transform-origin:center;transform-origin:center;overflow:visible;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-name:loader-clockwise;animation-name:loader-clockwise}@supports (display: grid){.loader__svg--1{-webkit-animation-name:loader-offset-1;animation-name:loader-offset-1}.loader__svg--2{-webkit-animation-name:loader-offset-2;animation-name:loader-offset-2}.loader__svg--3{-webkit-animation-name:loader-offset-3;animation-name:loader-offset-3}}:host([type=determinate]){-webkit-animation:none;animation:none;stroke:var(--calcite-ui-border-3)}:host([type=determinate]) .loader__svg--3{-webkit-animation:none;animation:none;stroke:var(--calcite-ui-brand);stroke-dasharray:150.79632;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transition:all var(--calcite-internal-animation-timing-fast) linear;transition:all var(--calcite-internal-animation-timing-fast) linear}:host([inline]){position:relative;margin:0px;-webkit-animation:none;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);-webkit-margin-end:calc(var(--calcite-loader-size-inline) * 0.5);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}:host([active][inline]){display:inline-block}:host([inline]) .loader__svgs{inset-block-start:0px;inset-inline-start:0px;margin:0px;inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([inline]) .loader__svg{inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([complete]){opacity:0;-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms, -webkit-transform var(--calcite-internal-animation-timing-medium) linear 1000ms}:host([complete]) .loader__svgs{opacity:0;-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, -webkit-transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms}:host([complete]) .loader__percentage{color:var(--calcite-ui-brand);-webkit-transform:scale(1.05, 1.05);transform:scale(1.05, 1.05);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:color var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear, -webkit-transform var(--calcite-internal-animation-timing-medium) linear}.loader__svg--1{stroke-dasharray:27.9252444444% 139.6262222222%;-webkit-animation-duration:0.72s;animation-duration:0.72s}@-webkit-keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}.loader__svg--2{stroke-dasharray:55.8504888889% 139.6262222222%;-webkit-animation-duration:0.96s;animation-duration:0.96s}@-webkit-keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}.loader__svg--3{stroke-dasharray:13.9626222222% 139.6262222222%;-webkit-animation-duration:1.16s;animation-duration:1.16s}@-webkit-keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@-webkit-keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@-webkit-keyframes loader-clockwise{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loader-clockwise{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}';export{n as calcite_loader}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.0.0-next.573
5
+ */
6
+ import{d as e,a as t}from"./p-f3991961.js";function n(){const{classList:n}=document.body,o=window.matchMedia("(prefers-color-scheme: dark)").matches,r=()=>n.contains(e)||n.contains(t)&&o?"dark":"light",c=e=>document.body.dispatchEvent(new CustomEvent("calciteThemeChange",{bubbles:!0,detail:{theme:e}})),a=e=>{s!==e&&c(e),s=e};let s=r();c(s),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>a(e.matches?"dark":"light"))),new MutationObserver((()=>a(r()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const o=Function("try {return this===window;}catch(e){ return false;}"),r=function(){o()&&("interactive"===document.readyState?n():document.addEventListener("DOMContentLoaded",(()=>n()),{once:!0}))};export{r as g}