@esri/calcite-components 1.0.0-next.466 → 1.0.0-next.469

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 (906) hide show
  1. package/dist/calcite/assets/date-picker/nls/ru.json +4 -4
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/calcite.js +1 -1
  4. package/dist/calcite/index.esm.js +1 -1
  5. package/dist/calcite/{p-5b2affe9.js → p-005432ba.js} +2 -2
  6. package/dist/calcite/{p-77b9ef38.js → p-00690bad.js} +2 -2
  7. package/dist/calcite/{p-a3ced35f.system.entry.js → p-020b142b.system.entry.js} +2 -2
  8. package/dist/calcite/p-025c0884.entry.js +6 -0
  9. package/dist/calcite/{p-12cf3a55.js → p-02ea3ab9.js} +2 -2
  10. package/dist/calcite/{p-c63df7f4.system.js → p-0444116b.system.js} +1 -1
  11. package/dist/calcite/{p-b232eeda.entry.js → p-04e1abf2.entry.js} +2 -2
  12. package/dist/calcite/{p-bf315356.js → p-055dbdb9.js} +1 -1
  13. package/dist/calcite/p-0581bc26.entry.js +6 -0
  14. package/dist/calcite/p-078c7c07.system.js +6 -0
  15. package/dist/calcite/{p-21100c4b.entry.js → p-08ea6629.entry.js} +2 -2
  16. package/dist/calcite/{p-0813d701.system.js → p-0a5c52ab.system.js} +2 -2
  17. package/dist/calcite/{p-d3acdb06.system.entry.js → p-0c506732.system.entry.js} +2 -2
  18. package/dist/calcite/p-0cc7075f.system.js +6 -0
  19. package/dist/calcite/{p-1acc12c7.entry.js → p-0da1c82e.entry.js} +2 -2
  20. package/dist/calcite/{p-5619125c.js → p-13117022.js} +1 -1
  21. package/dist/calcite/{p-acb3aaca.system.entry.js → p-145c7c50.system.entry.js} +2 -2
  22. package/dist/calcite/p-14a42110.js +6 -0
  23. package/dist/calcite/{p-3c91632a.entry.js → p-15d042f9.entry.js} +2 -2
  24. package/dist/calcite/{p-359dc9ff.system.js → p-15dabc96.system.js} +1 -1
  25. package/dist/calcite/{p-28546db9.system.entry.js → p-1607ec77.system.entry.js} +2 -2
  26. package/dist/calcite/{p-314a906b.system.entry.js → p-172faee6.system.entry.js} +2 -2
  27. package/dist/calcite/p-182ae33e.entry.js +6 -0
  28. package/dist/calcite/{p-7dc2ec02.entry.js → p-1a7cd85b.entry.js} +2 -2
  29. package/dist/calcite/{p-51e004f0.js → p-1b22ed76.js} +1 -1
  30. package/dist/calcite/{p-249ad677.js → p-1bc680c0.js} +2 -2
  31. package/dist/calcite/{p-c52ed8af.system.js → p-1e79fe13.system.js} +1 -1
  32. package/dist/calcite/{p-719b45bd.system.entry.js → p-216384d1.system.entry.js} +2 -2
  33. package/dist/calcite/{p-b7b86d1f.entry.js → p-245d5e8d.entry.js} +2 -2
  34. package/dist/calcite/{p-c3f66440.js → p-25774cbb.js} +1 -1
  35. package/dist/calcite/{p-4aca956c.js → p-25f9df95.js} +2 -2
  36. package/dist/calcite/{p-8d0f536f.system.js → p-26b7ba8c.system.js} +1 -1
  37. package/dist/calcite/p-271cd9fe.entry.js +6 -0
  38. package/dist/calcite/p-28a24e01.system.entry.js +6 -0
  39. package/dist/calcite/{p-605fd245.system.js → p-2aef6338.system.js} +1 -1
  40. package/dist/calcite/p-2f5cf543.system.entry.js +6 -0
  41. package/dist/calcite/{p-f81ecf3b.system.entry.js → p-2fea26ed.system.entry.js} +2 -2
  42. package/dist/calcite/{p-b6ef18e4.system.entry.js → p-301b029a.system.entry.js} +2 -2
  43. package/dist/calcite/{p-0c7cbab4.system.js → p-3378c967.system.js} +2 -2
  44. package/dist/calcite/{p-98c36210.system.entry.js → p-3390a7b2.system.entry.js} +2 -2
  45. package/dist/calcite/{p-0ee9976e.system.js → p-33afff17.system.js} +1 -1
  46. package/dist/calcite/{p-bd7f1283.system.js → p-38d91dfb.system.js} +2 -2
  47. package/dist/calcite/{p-f098fd67.entry.js → p-39a04544.entry.js} +2 -2
  48. package/dist/calcite/{p-9082f3eb.system.entry.js → p-3a028b50.system.entry.js} +2 -2
  49. package/dist/calcite/{p-629379ad.system.entry.js → p-3e09cab4.system.entry.js} +2 -2
  50. package/dist/calcite/{p-2a7625f4.entry.js → p-3edd038f.entry.js} +2 -2
  51. package/dist/calcite/{p-b2f87ef3.entry.js → p-3f9791ee.entry.js} +2 -2
  52. package/dist/calcite/{p-b81af6dc.entry.js → p-4166344f.entry.js} +2 -2
  53. package/dist/calcite/{p-a850ead7.system.entry.js → p-418ef95e.system.entry.js} +2 -2
  54. package/dist/calcite/{p-21e1719a.system.entry.js → p-41fbd72c.system.entry.js} +2 -2
  55. package/dist/calcite/{p-80a3d4a9.system.js → p-4234ab78.system.js} +2 -2
  56. package/dist/calcite/{p-882bd991.js → p-425a556a.js} +2 -2
  57. package/dist/calcite/{p-54c16754.system.js → p-479b2d6c.system.js} +2 -2
  58. package/dist/calcite/p-47b85168.entry.js +6 -0
  59. package/dist/calcite/p-4aea9de2.system.entry.js +6 -0
  60. package/dist/calcite/p-4c52e9c2.entry.js +6 -0
  61. package/dist/calcite/{p-9a3a7f6f.entry.js → p-4ea2a868.entry.js} +2 -2
  62. package/dist/calcite/{p-958870e6.entry.js → p-4ea52e62.entry.js} +2 -2
  63. package/dist/calcite/{p-de8ef416.entry.js → p-4f2986cc.entry.js} +2 -2
  64. package/dist/calcite/p-508b5831.system.entry.js +6 -0
  65. package/dist/calcite/{p-e21549ba.system.js → p-50bd2069.system.js} +1 -1
  66. package/dist/calcite/p-5168bf89.entry.js +6 -0
  67. package/dist/calcite/{p-53ef710e.js → p-5276c1ec.js} +1 -1
  68. package/dist/calcite/{p-2168e80c.system.entry.js → p-52cb441d.system.entry.js} +2 -2
  69. package/dist/calcite/{p-687f3748.system.entry.js → p-53ad16af.system.entry.js} +2 -2
  70. package/dist/calcite/{p-11160dc4.entry.js → p-5dc10a31.entry.js} +2 -2
  71. package/dist/calcite/p-5f673ef0.entry.js +6 -0
  72. package/dist/calcite/{p-3fea207b.entry.js → p-62d45f03.entry.js} +2 -2
  73. package/dist/calcite/{p-88478be1.system.entry.js → p-65fd36f6.system.entry.js} +2 -2
  74. package/dist/calcite/{p-a620a8d6.system.entry.js → p-661923a1.system.entry.js} +2 -2
  75. package/dist/calcite/{p-2ae1d412.js → p-66c983bd.js} +1 -1
  76. package/dist/calcite/{p-8dc5d951.system.entry.js → p-6792952e.system.entry.js} +2 -2
  77. package/dist/calcite/{p-f540f442.entry.js → p-67bf0e0c.entry.js} +2 -2
  78. package/dist/calcite/{p-a4427b44.entry.js → p-685d4095.entry.js} +2 -2
  79. package/dist/calcite/{p-69e9ee2c.entry.js → p-68779c0c.entry.js} +2 -2
  80. package/dist/calcite/{p-16a43ccf.system.entry.js → p-688c138e.system.entry.js} +2 -2
  81. package/dist/calcite/p-68ca1531.js +6 -0
  82. package/dist/calcite/{p-65b3699d.entry.js → p-70a5a7d3.entry.js} +2 -2
  83. package/dist/calcite/p-73c3e863.system.entry.js +6 -0
  84. package/dist/calcite/{p-d75f8862.system.entry.js → p-76089557.system.entry.js} +2 -2
  85. package/dist/calcite/{p-9deeabfe.js → p-77620d1d.js} +2 -2
  86. package/dist/calcite/{p-d6e3b8ca.entry.js → p-7793aaf8.entry.js} +2 -2
  87. package/dist/calcite/{p-1340038c.system.entry.js → p-7a84ef2b.system.entry.js} +2 -2
  88. package/dist/calcite/{p-04c4101d.entry.js → p-7ae02558.entry.js} +2 -2
  89. package/dist/calcite/{p-e86a60ce.system.entry.js → p-7cfaf69a.system.entry.js} +2 -2
  90. package/dist/calcite/{p-8165a660.system.entry.js → p-7d451779.system.entry.js} +2 -2
  91. package/dist/calcite/p-7e5cbac9.entry.js +6 -0
  92. package/dist/calcite/{p-b018ce91.entry.js → p-8216249c.entry.js} +2 -2
  93. package/dist/calcite/{p-7e9adbe8.system.entry.js → p-83cda6ca.system.entry.js} +2 -2
  94. package/dist/calcite/{p-8ba3e3fd.entry.js → p-8443f905.entry.js} +2 -2
  95. package/dist/calcite/{p-c6ae093e.system.entry.js → p-86e26a68.system.entry.js} +2 -2
  96. package/dist/calcite/p-8890a762.system.entry.js +6 -0
  97. package/dist/calcite/{p-81f1f54e.entry.js → p-8a742803.entry.js} +2 -2
  98. package/dist/calcite/{p-390d2e56.system.entry.js → p-8ab9fe03.system.entry.js} +2 -2
  99. package/dist/calcite/{p-48afd872.system.entry.js → p-8e373624.system.entry.js} +2 -2
  100. package/dist/calcite/{p-d7c751ad.system.entry.js → p-909c7e9f.system.entry.js} +2 -2
  101. package/dist/calcite/{p-e5cac25c.system.entry.js → p-90b43e1d.system.entry.js} +2 -2
  102. package/dist/calcite/{p-60dbb9e5.entry.js → p-90de4ca7.entry.js} +2 -2
  103. package/dist/calcite/{p-df9306e7.entry.js → p-9577089b.entry.js} +2 -2
  104. package/dist/calcite/p-9979b3cc.entry.js +6 -0
  105. package/dist/calcite/{p-1d8977ea.system.js → p-997b25f6.system.js} +1 -1
  106. package/dist/calcite/{p-8d4f3cc0.system.entry.js → p-99c831bf.system.entry.js} +2 -2
  107. package/dist/calcite/p-9a3134a8.system.entry.js +6 -0
  108. package/dist/calcite/{p-d63f4482.entry.js → p-9a5bf5d4.entry.js} +2 -2
  109. package/dist/calcite/{p-755a2298.js → p-9abb7797.js} +1 -1
  110. package/dist/calcite/{p-b6082d4a.system.js → p-9c221bff.system.js} +2 -2
  111. package/dist/calcite/{p-fd40f692.system.entry.js → p-9cf45d8a.system.entry.js} +3 -3
  112. package/dist/calcite/{p-18e54b77.system.js → p-9f5a29e3.system.js} +1 -1
  113. package/dist/calcite/{p-faee622e.js → p-9fcc7694.js} +1 -1
  114. package/dist/calcite/{p-c0b7b5de.system.js → p-a034f678.system.js} +2 -2
  115. package/dist/calcite/{p-6baa1a8b.system.js → p-a3500c97.system.js} +1 -1
  116. package/dist/calcite/{p-59ea34c0.system.js → p-a5e9ab9d.system.js} +1 -1
  117. package/dist/calcite/{p-91857201.entry.js → p-abb4f475.entry.js} +2 -2
  118. package/dist/calcite/{p-a0972767.entry.js → p-b0aec8f6.entry.js} +2 -2
  119. package/dist/calcite/{p-df572a22.entry.js → p-b1bfe90e.entry.js} +2 -2
  120. package/dist/calcite/{p-1622b6a5.system.js → p-b5c14068.system.js} +1 -1
  121. package/dist/calcite/{p-03371bb3.system.entry.js → p-b6790740.system.entry.js} +2 -2
  122. package/dist/calcite/{p-1c7e953d.entry.js → p-b6a971c5.entry.js} +2 -2
  123. package/dist/calcite/{p-e0a6f245.system.entry.js → p-b8775dcc.system.entry.js} +2 -2
  124. package/dist/calcite/{p-e1abb410.system.js → p-b8e8d238.system.js} +2 -2
  125. package/dist/calcite/{p-dccf202a.js → p-b9fc721c.js} +1 -1
  126. package/dist/calcite/{p-8f026cdb.system.entry.js → p-bacc43fd.system.entry.js} +2 -2
  127. package/dist/calcite/p-bad44446.system.entry.js +6 -0
  128. package/dist/calcite/{p-d3b6ccfb.js → p-bfbb4282.js} +1 -1
  129. package/dist/calcite/p-c48c45d7.system.entry.js +6 -0
  130. package/dist/calcite/{p-8dedf454.system.entry.js → p-c6942637.system.entry.js} +2 -2
  131. package/dist/calcite/p-c923c596.entry.js +6 -0
  132. package/dist/calcite/{p-628a0e93.system.entry.js → p-cad62422.system.entry.js} +2 -2
  133. package/dist/calcite/p-cf269b12.system.entry.js +6 -0
  134. package/dist/calcite/{p-d86b8cdf.entry.js → p-cf776212.entry.js} +2 -2
  135. package/dist/calcite/{p-4ff40d0c.js → p-d0a22e49.js} +1 -1
  136. package/dist/calcite/{p-3d0cdd30.entry.js → p-d20726b5.entry.js} +2 -2
  137. package/dist/calcite/p-d20e1a18.entry.js +6 -0
  138. package/dist/calcite/{p-c791b44b.system.entry.js → p-d4f0fc6d.system.entry.js} +2 -2
  139. package/dist/calcite/{p-38e51129.system.entry.js → p-d51bfed7.system.entry.js} +2 -2
  140. package/dist/calcite/{p-270216b7.system.entry.js → p-d66502b7.system.entry.js} +2 -2
  141. package/dist/calcite/p-d6ed4f56.system.entry.js +6 -0
  142. package/dist/calcite/{p-2350565d.system.entry.js → p-d7cd1b78.system.entry.js} +2 -2
  143. package/dist/calcite/{p-c67f32c6.system.entry.js → p-d81bbe70.system.entry.js} +2 -2
  144. package/dist/calcite/p-d9aedee0.js +6 -0
  145. package/dist/calcite/{p-b991a209.system.entry.js → p-dade5839.system.entry.js} +2 -2
  146. package/dist/calcite/{p-32bc861e.js → p-dc6fe9a2.js} +2 -2
  147. package/dist/calcite/{p-25a2ebac.entry.js → p-deb43875.entry.js} +2 -2
  148. package/dist/calcite/p-e023da18.entry.js +6 -0
  149. package/dist/calcite/{p-2dcf1608.entry.js → p-e080169e.entry.js} +2 -2
  150. package/dist/calcite/{p-05f43ef2.system.entry.js → p-e09191ee.system.entry.js} +2 -2
  151. package/dist/calcite/{p-def86f92.entry.js → p-e099f568.entry.js} +2 -2
  152. package/dist/calcite/{p-3253bfda.system.js → p-e30177c8.system.js} +1 -1
  153. package/dist/calcite/{p-dd6e9797.entry.js → p-e431c0ef.entry.js} +2 -2
  154. package/dist/calcite/{p-e496ada1.system.js → p-e44750b8.system.js} +2 -2
  155. package/dist/calcite/p-e665a770.entry.js +6 -0
  156. package/dist/calcite/p-e69fe258.entry.js +6 -0
  157. package/dist/calcite/{p-672080f2.system.js → p-e9ffc73a.system.js} +1 -1
  158. package/dist/calcite/{p-17121fe0.system.js → p-ea87918b.system.js} +2 -2
  159. package/dist/calcite/{p-91353fa4.system.entry.js → p-ebc10873.system.entry.js} +2 -2
  160. package/dist/calcite/{p-c3237177.js → p-eec3051e.js} +1 -1
  161. package/dist/calcite/{p-965456ff.entry.js → p-f1256225.entry.js} +2 -2
  162. package/dist/calcite/{p-3aa53899.entry.js → p-f39fd61b.entry.js} +2 -2
  163. package/dist/calcite/{p-9cb93c1c.entry.js → p-f5a6faa8.entry.js} +2 -2
  164. package/dist/calcite/p-f5f27773.system.entry.js +6 -0
  165. package/dist/calcite/{p-61b23d2c.js → p-f83d5618.js} +1 -1
  166. package/dist/calcite/p-fe40a50c.entry.js +6 -0
  167. package/dist/calcite/{p-1411b5f7.system.entry.js → p-fe9cc596.system.entry.js} +2 -2
  168. package/dist/calcite/p-ff999b61.entry.js +6 -0
  169. package/dist/cjs/{ExpandToggle-d6baf288.js → ExpandToggle-3f2127c3.js} +5 -5
  170. package/dist/cjs/{Heading-2b85857c.js → Heading-3dabb5b6.js} +2 -2
  171. package/dist/cjs/{array-44bc1f92.js → array-99e2128b.js} +1 -1
  172. package/dist/cjs/calcite-accordion_2.cjs.entry.js +22 -16
  173. package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -11
  174. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  175. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -8
  176. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -10
  177. package/dist/cjs/calcite-action.cjs.entry.js +9 -7
  178. package/dist/cjs/calcite-alert.cjs.entry.js +16 -13
  179. package/dist/cjs/calcite-avatar.cjs.entry.js +10 -5
  180. package/dist/cjs/calcite-block_2.cjs.entry.js +18 -10
  181. package/dist/cjs/calcite-button.cjs.entry.js +12 -10
  182. package/dist/cjs/calcite-card.cjs.entry.js +15 -9
  183. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -8
  184. package/dist/cjs/calcite-chip.cjs.entry.js +9 -7
  185. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +69 -28
  186. package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -14
  187. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +81 -21
  188. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +26 -20
  189. package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
  190. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  191. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  192. package/dist/cjs/calcite-graph_2.cjs.entry.js +54 -9
  193. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  194. package/dist/cjs/calcite-icon.cjs.entry.js +9 -5
  195. package/dist/cjs/calcite-inline-editable.cjs.entry.js +18 -12
  196. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +35 -20
  197. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  198. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +64 -31
  199. package/dist/cjs/calcite-input.cjs.entry.js +24 -18
  200. package/dist/cjs/calcite-label.cjs.entry.js +6 -5
  201. package/dist/cjs/calcite-link.cjs.entry.js +7 -6
  202. package/dist/cjs/calcite-list_3.cjs.entry.js +10 -10
  203. package/dist/cjs/calcite-loader.cjs.entry.js +11 -9
  204. package/dist/cjs/calcite-modal.cjs.entry.js +16 -7
  205. package/dist/cjs/calcite-notice.cjs.entry.js +10 -8
  206. package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
  207. package/dist/cjs/calcite-pagination.cjs.entry.js +8 -4
  208. package/dist/cjs/calcite-panel.cjs.entry.js +18 -11
  209. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +31 -22
  210. package/dist/cjs/calcite-popover_2.cjs.entry.js +41 -12
  211. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  212. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  213. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -8
  214. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +10 -10
  215. package/dist/cjs/calcite-rating.cjs.entry.js +13 -9
  216. package/dist/cjs/calcite-scrim.cjs.entry.js +5 -3
  217. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -7
  218. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  219. package/dist/cjs/calcite-split-button.cjs.entry.js +8 -5
  220. package/dist/cjs/calcite-stepper_2.cjs.entry.js +25 -17
  221. package/dist/cjs/calcite-switch.cjs.entry.js +10 -8
  222. package/dist/cjs/calcite-tab_4.cjs.entry.js +52 -28
  223. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  224. package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
  225. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  226. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +8 -5
  227. package/dist/cjs/calcite-tree_2.cjs.entry.js +26 -15
  228. package/dist/cjs/calcite-value-list_2.cjs.entry.js +25 -17
  229. package/dist/cjs/calcite.cjs.js +3 -3
  230. package/dist/cjs/{conditionalSlot-cff90ea0.js → conditionalSlot-662d6d2c.js} +7 -3
  231. package/dist/cjs/{debounce-68242fb6.js → debounce-2f8539f6.js} +1 -1
  232. package/dist/cjs/{dom-5acea4b7.js → dom-4b70d9e4.js} +10 -2
  233. package/dist/cjs/{forIn-5ab24c3b.js → forIn-a56b99cf.js} +2 -2
  234. package/dist/cjs/{form-658d7707.js → form-c652f001.js} +19 -3
  235. package/dist/cjs/{guid-724c7f97.js → guid-f7b803c1.js} +1 -1
  236. package/dist/cjs/{index-650d6d02.js → index-2a34257a.js} +1 -1
  237. package/dist/cjs/index.cjs.js +1 -1
  238. package/dist/cjs/{interactive-d814dd5c.js → interactive-3be09cee.js} +7 -4
  239. package/dist/cjs/{interfaces-38ba3fd8.js → interfaces-bb11312b.js} +1 -1
  240. package/dist/cjs/{label-3f12ac6f.js → label-7a0126c8.js} +9 -2
  241. package/dist/cjs/loader.cjs.js +3 -3
  242. package/dist/cjs/{locale-e251255a.js → locale-f9d560ce.js} +2 -2
  243. package/dist/cjs/{math-b7cb0a92.js → math-7f411028.js} +1 -1
  244. package/dist/cjs/{number-1d914152.js → number-a0d4c1c0.js} +1 -1
  245. package/dist/cjs/{observers-2160326f.js → observers-c7320458.js} +1 -1
  246. package/dist/cjs/{popper-b0bf4165.js → popper-1f1e3064.js} +2 -2
  247. package/dist/cjs/{resources-71c3ec0c.js → resources-982472c2.js} +1 -1
  248. package/dist/cjs/{resources-d03200ed.js → resources-ae133545.js} +44 -3
  249. package/dist/cjs/{resources-19596569.js → resources-bbbea88d.js} +8 -8
  250. package/dist/cjs/{resources-3584395f.js → resources-f66e61f3.js} +1 -1
  251. package/dist/cjs/{sortable.esm-f88acbf9.js → sortable.esm-29045f21.js} +1 -1
  252. package/dist/cjs/{utils-9799b016.js → utils-c307f757.js} +1 -1
  253. package/dist/collection/components/accordion/accordion.js +16 -11
  254. package/dist/collection/components/accordion/interfaces.js +1 -1
  255. package/dist/collection/components/accordion-item/accordion-item.js +14 -13
  256. package/dist/collection/components/action/action.js +4 -2
  257. package/dist/collection/components/action/resources.js +1 -1
  258. package/dist/collection/components/action-bar/action-bar.js +15 -4
  259. package/dist/collection/components/action-bar/resources.js +1 -1
  260. package/dist/collection/components/action-bar/utils.js +1 -1
  261. package/dist/collection/components/action-group/action-group.js +1 -1
  262. package/dist/collection/components/action-group/resources.js +1 -1
  263. package/dist/collection/components/action-menu/action-menu.js +2 -1
  264. package/dist/collection/components/action-menu/resources.js +1 -1
  265. package/dist/collection/components/action-pad/action-pad.js +14 -4
  266. package/dist/collection/components/action-pad/resources.js +1 -1
  267. package/dist/collection/components/alert/alert.js +18 -14
  268. package/dist/collection/components/alert/interfaces.js +1 -1
  269. package/dist/collection/components/alert/resources.js +1 -1
  270. package/dist/collection/components/avatar/avatar.js +1 -1
  271. package/dist/collection/components/avatar/utils.js +6 -1
  272. package/dist/collection/components/block/block.js +19 -5
  273. package/dist/collection/components/block/resources.js +1 -1
  274. package/dist/collection/components/block-section/block-section.js +1 -1
  275. package/dist/collection/components/block-section/interfaces.js +1 -1
  276. package/dist/collection/components/block-section/resources.js +1 -1
  277. package/dist/collection/components/button/button.js +5 -3
  278. package/dist/collection/components/button/interfaces.js +1 -1
  279. package/dist/collection/components/button/resources.js +1 -1
  280. package/dist/collection/components/card/card.js +12 -5
  281. package/dist/collection/components/card/resources.js +1 -1
  282. package/dist/collection/components/checkbox/checkbox.js +3 -2
  283. package/dist/collection/components/chip/chip.js +4 -2
  284. package/dist/collection/components/chip/interfaces.js +1 -1
  285. package/dist/collection/components/chip/resources.js +1 -1
  286. package/dist/collection/components/color-picker/color-picker.js +58 -19
  287. package/dist/collection/components/color-picker/interfaces.js +1 -1
  288. package/dist/collection/components/color-picker/resources.js +1 -1
  289. package/dist/collection/components/color-picker/utils.js +1 -1
  290. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +5 -3
  291. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  292. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  293. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  294. package/dist/collection/components/combobox/combobox.js +7 -4
  295. package/dist/collection/components/combobox/interfaces.js +1 -1
  296. package/dist/collection/components/combobox/resources.js +1 -1
  297. package/dist/collection/components/combobox/utils.js +1 -1
  298. package/dist/collection/components/combobox-item/combobox-item.js +11 -3
  299. package/dist/collection/components/combobox-item/resources.js +1 -1
  300. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  301. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  302. package/dist/collection/components/date-picker/assets/date-picker/nls/ru.json +4 -4
  303. package/dist/collection/components/date-picker/date-picker.js +30 -5
  304. package/dist/collection/components/date-picker/interfaces.js +1 -1
  305. package/dist/collection/components/date-picker/resources.js +1 -1
  306. package/dist/collection/components/date-picker/utils.js +7 -1
  307. package/dist/collection/components/date-picker-day/date-picker-day.js +4 -4
  308. package/dist/collection/components/date-picker-month/date-picker-month.js +37 -9
  309. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +8 -1
  310. package/dist/collection/components/dropdown/dropdown.js +14 -11
  311. package/dist/collection/components/dropdown/interfaces.js +1 -1
  312. package/dist/collection/components/dropdown/resources.js +1 -1
  313. package/dist/collection/components/dropdown-group/dropdown-group.js +9 -7
  314. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  315. package/dist/collection/components/dropdown-group/resources.js +1 -1
  316. package/dist/collection/components/dropdown-item/dropdown-item.js +12 -11
  317. package/dist/collection/components/dropdown-item/resources.js +1 -1
  318. package/dist/collection/components/fab/fab.js +2 -1
  319. package/dist/collection/components/fab/resources.js +1 -1
  320. package/dist/collection/components/filter/filter.js +1 -1
  321. package/dist/collection/components/filter/resources.js +1 -1
  322. package/dist/collection/components/flow/flow.js +1 -1
  323. package/dist/collection/components/flow/interfaces.js +1 -1
  324. package/dist/collection/components/flow/resources.js +1 -1
  325. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  326. package/dist/collection/components/functional/Heading.js +1 -1
  327. package/dist/collection/components/graph/graph.js +1 -1
  328. package/dist/collection/components/graph/interfaces.js +1 -1
  329. package/dist/collection/components/graph/util.js +29 -1
  330. package/dist/collection/components/handle/handle.js +3 -3
  331. package/dist/collection/components/handle/resources.js +1 -1
  332. package/dist/collection/components/icon/icon.js +1 -1
  333. package/dist/collection/components/icon/resources.js +1 -1
  334. package/dist/collection/components/icon/utils.js +5 -1
  335. package/dist/collection/components/inline-editable/inline-editable.js +14 -8
  336. package/dist/collection/components/inline-editable/resources.js +1 -1
  337. package/dist/collection/components/input/input.js +18 -12
  338. package/dist/collection/components/input/interfaces.js +1 -1
  339. package/dist/collection/components/input/resources.js +1 -1
  340. package/dist/collection/components/input-date-picker/input-date-picker.js +27 -12
  341. package/dist/collection/components/input-message/input-message.js +1 -1
  342. package/dist/collection/components/input-message/interfaces.js +1 -1
  343. package/dist/collection/components/input-time-picker/input-time-picker.js +13 -7
  344. package/dist/collection/components/interfaces.js +1 -1
  345. package/dist/collection/components/label/label.js +2 -1
  346. package/dist/collection/components/label/resources.js +1 -1
  347. package/dist/collection/components/link/link.js +3 -2
  348. package/dist/collection/components/list/list.js +4 -4
  349. package/dist/collection/components/list/resources.js +1 -1
  350. package/dist/collection/components/list-item/list-item.js +5 -5
  351. package/dist/collection/components/list-item/resources.js +1 -1
  352. package/dist/collection/components/list-item-group/list-item-group.js +3 -3
  353. package/dist/collection/components/list-item-group/resources.js +1 -1
  354. package/dist/collection/components/loader/loader.css +3 -3
  355. package/dist/collection/components/loader/loader.js +18 -16
  356. package/dist/collection/components/modal/interfaces.js +1 -1
  357. package/dist/collection/components/modal/modal.js +41 -8
  358. package/dist/collection/components/modal/resources.js +1 -1
  359. package/dist/collection/components/notice/notice.js +6 -3
  360. package/dist/collection/components/notice/resources.js +1 -1
  361. package/dist/collection/components/option/option.js +5 -5
  362. package/dist/collection/components/option-group/option-group.js +4 -4
  363. package/dist/collection/components/pagination/pagination.js +7 -3
  364. package/dist/collection/components/pagination/resources.js +1 -1
  365. package/dist/collection/components/panel/panel.js +27 -8
  366. package/dist/collection/components/panel/resources.js +1 -1
  367. package/dist/collection/components/pick-list/pick-list.js +23 -12
  368. package/dist/collection/components/pick-list/resources.js +1 -1
  369. package/dist/collection/components/pick-list/shared-list-logic.js +3 -3
  370. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  371. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  372. package/dist/collection/components/pick-list-group/resources.js +1 -1
  373. package/dist/collection/components/pick-list-item/pick-list-item.js +23 -13
  374. package/dist/collection/components/pick-list-item/resources.js +1 -1
  375. package/dist/collection/components/popover/PopoverManager.js +14 -3
  376. package/dist/collection/components/popover/popover.js +55 -8
  377. package/dist/collection/components/popover/resources.js +1 -1
  378. package/dist/collection/components/popover-manager/popover-manager.js +2 -1
  379. package/dist/collection/components/progress/progress.js +1 -1
  380. package/dist/collection/components/radio-button/radio-button.js +3 -1
  381. package/dist/collection/components/radio-button/resources.js +1 -1
  382. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  383. package/dist/collection/components/radio-group/interfaces.js +1 -1
  384. package/dist/collection/components/radio-group/radio-group.js +3 -3
  385. package/dist/collection/components/radio-group-item/radio-group-item.js +4 -4
  386. package/dist/collection/components/radio-group-item/resources.js +1 -1
  387. package/dist/collection/components/rating/rating.js +7 -3
  388. package/dist/collection/components/rating/resources.js +1 -1
  389. package/dist/collection/components/scrim/resources.js +1 -1
  390. package/dist/collection/components/scrim/scrim.js +4 -2
  391. package/dist/collection/components/select/resources.js +1 -1
  392. package/dist/collection/components/select/select.js +3 -3
  393. package/dist/collection/components/shell/resources.js +1 -1
  394. package/dist/collection/components/shell/shell.js +1 -1
  395. package/dist/collection/components/shell-center-row/resources.js +1 -1
  396. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  397. package/dist/collection/components/shell-panel/resources.js +1 -1
  398. package/dist/collection/components/shell-panel/shell-panel.js +2 -1
  399. package/dist/collection/components/slider/slider.js +18 -1
  400. package/dist/collection/components/sortable-list/resources.js +1 -1
  401. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  402. package/dist/collection/components/split-button/resources.js +1 -1
  403. package/dist/collection/components/split-button/split-button.js +6 -3
  404. package/dist/collection/components/stepper/interfaces.js +1 -1
  405. package/dist/collection/components/stepper/stepper.js +27 -14
  406. package/dist/collection/components/stepper-item/stepper-item.js +12 -11
  407. package/dist/collection/components/switch/switch.js +4 -2
  408. package/dist/collection/components/tab/interfaces.js +1 -1
  409. package/dist/collection/components/tab/tab.js +25 -8
  410. package/dist/collection/components/tab-nav/tab-nav.css +6 -0
  411. package/dist/collection/components/tab-nav/tab-nav.js +23 -12
  412. package/dist/collection/components/tab-title/tab-title.css +27 -0
  413. package/dist/collection/components/tab-title/tab-title.js +36 -20
  414. package/dist/collection/components/tabs/interfaces.js +1 -1
  415. package/dist/collection/components/tabs/resources.js +1 -1
  416. package/dist/collection/components/tabs/tabs.css +12 -0
  417. package/dist/collection/components/tabs/tabs.js +11 -7
  418. package/dist/collection/components/tile/resources.js +1 -1
  419. package/dist/collection/components/tile/tile.js +2 -1
  420. package/dist/collection/components/tile-select/interfaces.js +1 -1
  421. package/dist/collection/components/tile-select/resources.js +1 -1
  422. package/dist/collection/components/tile-select/tile-select.js +1 -1
  423. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  424. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  425. package/dist/collection/components/time-picker/resources.js +1 -1
  426. package/dist/collection/components/time-picker/time-picker.js +61 -26
  427. package/dist/collection/components/tip/resources.js +1 -1
  428. package/dist/collection/components/tip/tip.js +1 -1
  429. package/dist/collection/components/tip-group/tip-group.js +1 -1
  430. package/dist/collection/components/tip-manager/resources.js +1 -1
  431. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  432. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  433. package/dist/collection/components/tooltip/resources.js +1 -1
  434. package/dist/collection/components/tooltip/tooltip.js +3 -1
  435. package/dist/collection/components/tooltip-manager/tooltip-manager.js +2 -1
  436. package/dist/collection/components/tree/interfaces.js +1 -1
  437. package/dist/collection/components/tree/tree.js +11 -6
  438. package/dist/collection/components/tree-item/interfaces.js +1 -1
  439. package/dist/collection/components/tree-item/resources.js +1 -1
  440. package/dist/collection/components/tree-item/tree-item.js +24 -18
  441. package/dist/collection/components/value-list/resources.js +1 -1
  442. package/dist/collection/components/value-list/value-list.js +24 -13
  443. package/dist/collection/components/value-list-item/resources.js +1 -1
  444. package/dist/collection/components/value-list-item/value-list-item.js +16 -7
  445. package/dist/collection/utils/array.js +1 -1
  446. package/dist/collection/utils/conditionalSlot.js +5 -1
  447. package/dist/collection/utils/date.js +36 -1
  448. package/dist/collection/utils/dom.js +9 -1
  449. package/dist/collection/utils/filter.js +1 -1
  450. package/dist/collection/utils/form.js +17 -1
  451. package/dist/collection/utils/globalAttributes.js +6 -1
  452. package/dist/collection/utils/guid.js +1 -1
  453. package/dist/collection/utils/interactive.js +7 -4
  454. package/dist/collection/utils/key.js +1 -1
  455. package/dist/collection/utils/label.js +8 -1
  456. package/dist/collection/utils/locale.js +1 -1
  457. package/dist/collection/utils/math.js +1 -1
  458. package/dist/collection/utils/number.js +1 -1
  459. package/dist/collection/utils/observers.js +1 -1
  460. package/dist/collection/utils/popper.js +1 -1
  461. package/dist/collection/utils/resources.js +1 -1
  462. package/dist/collection/utils/time.js +1 -1
  463. package/dist/components/ExpandToggle.js +1 -1
  464. package/dist/components/Heading.js +1 -1
  465. package/dist/components/action-group.js +1 -1
  466. package/dist/components/action-menu.js +2 -1
  467. package/dist/components/action.js +4 -2
  468. package/dist/components/array.js +1 -1
  469. package/dist/components/button.js +5 -3
  470. package/dist/components/calcite-accordion-item.js +10 -9
  471. package/dist/components/calcite-accordion.js +12 -7
  472. package/dist/components/calcite-action-bar.js +7 -2
  473. package/dist/components/calcite-action-group.js +1 -1
  474. package/dist/components/calcite-action-menu.js +1 -1
  475. package/dist/components/calcite-action-pad.js +6 -2
  476. package/dist/components/calcite-action.js +1 -1
  477. package/dist/components/calcite-alert.js +13 -10
  478. package/dist/components/calcite-avatar.js +6 -1
  479. package/dist/components/calcite-block-section.js +1 -1
  480. package/dist/components/calcite-block.js +11 -3
  481. package/dist/components/calcite-button.js +1 -1
  482. package/dist/components/calcite-card.js +10 -4
  483. package/dist/components/calcite-checkbox.js +1 -1
  484. package/dist/components/calcite-chip.js +1 -1
  485. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  486. package/dist/components/calcite-color-picker-swatch.js +1 -1
  487. package/dist/components/calcite-color-picker.js +58 -19
  488. package/dist/components/calcite-combobox-item-group.js +1 -1
  489. package/dist/components/calcite-combobox-item.js +3 -1
  490. package/dist/components/calcite-combobox.js +6 -3
  491. package/dist/components/calcite-date-picker-day.js +1 -1
  492. package/dist/components/calcite-date-picker-month-header.js +1 -1
  493. package/dist/components/calcite-date-picker-month.js +1 -1
  494. package/dist/components/calcite-date-picker.js +1 -1
  495. package/dist/components/calcite-dropdown-group.js +8 -6
  496. package/dist/components/calcite-dropdown-item.js +9 -8
  497. package/dist/components/calcite-dropdown.js +1 -1
  498. package/dist/components/calcite-fab.js +2 -1
  499. package/dist/components/calcite-filter.js +1 -1
  500. package/dist/components/calcite-flow.js +1 -1
  501. package/dist/components/calcite-graph.js +1 -1
  502. package/dist/components/calcite-handle.js +1 -1
  503. package/dist/components/calcite-icon.js +1 -1
  504. package/dist/components/calcite-inline-editable.js +13 -7
  505. package/dist/components/calcite-input-date-picker.js +25 -10
  506. package/dist/components/calcite-input-message.js +1 -1
  507. package/dist/components/calcite-input-time-picker.js +9 -5
  508. package/dist/components/calcite-input.js +1 -1
  509. package/dist/components/calcite-label.js +1 -1
  510. package/dist/components/calcite-link.js +1 -1
  511. package/dist/components/calcite-list-item-group.js +1 -1
  512. package/dist/components/calcite-list-item.js +2 -2
  513. package/dist/components/calcite-list.js +2 -2
  514. package/dist/components/calcite-loader.js +1 -1
  515. package/dist/components/calcite-modal.js +11 -2
  516. package/dist/components/calcite-notice.js +4 -2
  517. package/dist/components/calcite-option-group.js +3 -3
  518. package/dist/components/calcite-option.js +4 -4
  519. package/dist/components/calcite-pagination.js +7 -3
  520. package/dist/components/calcite-panel.js +10 -3
  521. package/dist/components/calcite-pick-list-group.js +1 -1
  522. package/dist/components/calcite-pick-list-item.js +1 -1
  523. package/dist/components/calcite-pick-list.js +12 -7
  524. package/dist/components/calcite-popover-manager.js +2 -1
  525. package/dist/components/calcite-popover.js +1 -1
  526. package/dist/components/calcite-progress.js +1 -1
  527. package/dist/components/calcite-radio-button-group.js +1 -1
  528. package/dist/components/calcite-radio-button.js +3 -1
  529. package/dist/components/calcite-radio-group-item.js +3 -3
  530. package/dist/components/calcite-radio-group.js +3 -3
  531. package/dist/components/calcite-rating.js +7 -3
  532. package/dist/components/calcite-scrim.js +1 -1
  533. package/dist/components/calcite-select.js +2 -2
  534. package/dist/components/calcite-shell-center-row.js +1 -1
  535. package/dist/components/calcite-shell-panel.js +2 -1
  536. package/dist/components/calcite-shell.js +1 -1
  537. package/dist/components/calcite-slider.js +18 -1
  538. package/dist/components/calcite-sortable-list.js +1 -1
  539. package/dist/components/calcite-split-button.js +6 -3
  540. package/dist/components/calcite-stepper-item.js +9 -8
  541. package/dist/components/calcite-stepper.js +15 -8
  542. package/dist/components/calcite-switch.js +1 -1
  543. package/dist/components/calcite-tab-nav.js +1 -1
  544. package/dist/components/calcite-tab-title.js +1 -1
  545. package/dist/components/calcite-tab.js +1 -1
  546. package/dist/components/calcite-tabs.js +1 -1
  547. package/dist/components/calcite-tile-select-group.js +1 -1
  548. package/dist/components/calcite-tile-select.js +1 -1
  549. package/dist/components/calcite-tile.js +1 -1
  550. package/dist/components/calcite-time-picker.js +1 -1
  551. package/dist/components/calcite-tip-group.js +1 -1
  552. package/dist/components/calcite-tip-manager.js +1 -1
  553. package/dist/components/calcite-tip.js +1 -1
  554. package/dist/components/calcite-tooltip-manager.js +2 -1
  555. package/dist/components/calcite-tooltip.js +3 -1
  556. package/dist/components/calcite-tree-item.js +14 -8
  557. package/dist/components/calcite-tree.js +9 -4
  558. package/dist/components/calcite-value-list-item.js +6 -3
  559. package/dist/components/calcite-value-list.js +12 -7
  560. package/dist/components/checkbox.js +3 -2
  561. package/dist/components/chip.js +4 -2
  562. package/dist/components/color-picker-hex-input.js +5 -3
  563. package/dist/components/color-picker-swatch.js +1 -1
  564. package/dist/components/conditionalSlot.js +5 -1
  565. package/dist/components/date-picker-day.js +3 -3
  566. package/dist/components/date-picker-month-header.js +8 -1
  567. package/dist/components/date-picker-month.js +35 -7
  568. package/dist/components/date-picker.js +36 -5
  569. package/dist/components/date.js +36 -1
  570. package/dist/components/debounce.js +1 -1
  571. package/dist/components/dom.js +9 -1
  572. package/dist/components/dropdown.js +8 -5
  573. package/dist/components/filter.js +1 -1
  574. package/dist/components/forIn.js +1 -1
  575. package/dist/components/form.js +17 -1
  576. package/dist/components/graph.js +29 -1
  577. package/dist/components/guid.js +1 -1
  578. package/dist/components/handle.js +2 -2
  579. package/dist/components/icon.js +5 -1
  580. package/dist/components/index.js +1 -1
  581. package/dist/components/input.js +14 -8
  582. package/dist/components/interactive.js +7 -4
  583. package/dist/components/interfaces.js +1 -1
  584. package/dist/components/interfaces2.js +1 -1
  585. package/dist/components/label.js +8 -1
  586. package/dist/components/label2.js +2 -1
  587. package/dist/components/link.js +3 -2
  588. package/dist/components/loader.js +9 -7
  589. package/dist/components/locale.js +1 -1
  590. package/dist/components/math.js +1 -1
  591. package/dist/components/number.js +1 -1
  592. package/dist/components/observers.js +1 -1
  593. package/dist/components/pick-list-item.js +12 -8
  594. package/dist/components/popover.js +35 -6
  595. package/dist/components/popper.js +1 -1
  596. package/dist/components/progress.js +1 -1
  597. package/dist/components/resources.js +1 -1
  598. package/dist/components/resources2.js +1 -1
  599. package/dist/components/resources3.js +1 -1
  600. package/dist/components/scrim.js +4 -2
  601. package/dist/components/shared-list-render.js +4 -4
  602. package/dist/components/sortable.esm.js +1 -1
  603. package/dist/components/switch.js +4 -2
  604. package/dist/components/tab-nav.js +18 -7
  605. package/dist/components/tab-title.js +16 -12
  606. package/dist/components/tab.js +9 -4
  607. package/dist/components/tabs.js +9 -5
  608. package/dist/components/tile.js +2 -1
  609. package/dist/components/time-picker.js +50 -21
  610. package/dist/components/utils.js +1 -1
  611. package/dist/components/utils2.js +1 -1
  612. package/dist/custom-elements/index.js +721 -242
  613. package/dist/esm/{ExpandToggle-4f621ad1.js → ExpandToggle-1386bad5.js} +5 -5
  614. package/dist/esm/{Heading-77bbacee.js → Heading-2828947f.js} +2 -2
  615. package/dist/esm/{array-a017e08f.js → array-e01eb758.js} +1 -1
  616. package/dist/esm/calcite-accordion_2.entry.js +22 -16
  617. package/dist/esm/calcite-action-bar.entry.js +16 -11
  618. package/dist/esm/calcite-action-group.entry.js +8 -8
  619. package/dist/esm/calcite-action-menu.entry.js +9 -8
  620. package/dist/esm/calcite-action-pad.entry.js +14 -10
  621. package/dist/esm/calcite-action.entry.js +9 -7
  622. package/dist/esm/calcite-alert.entry.js +16 -13
  623. package/dist/esm/calcite-avatar.entry.js +10 -5
  624. package/dist/esm/calcite-block_2.entry.js +18 -10
  625. package/dist/esm/calcite-button.entry.js +12 -10
  626. package/dist/esm/calcite-card.entry.js +15 -9
  627. package/dist/esm/calcite-checkbox.entry.js +9 -8
  628. package/dist/esm/calcite-chip.entry.js +9 -7
  629. package/dist/esm/calcite-color-picker_3.entry.js +69 -28
  630. package/dist/esm/calcite-combobox_3.entry.js +19 -14
  631. package/dist/esm/calcite-date-picker_4.entry.js +81 -21
  632. package/dist/esm/calcite-dropdown_3.entry.js +26 -20
  633. package/dist/esm/calcite-fab.entry.js +6 -5
  634. package/dist/esm/calcite-filter.entry.js +7 -7
  635. package/dist/esm/calcite-flow.entry.js +3 -3
  636. package/dist/esm/calcite-graph_2.entry.js +54 -9
  637. package/dist/esm/calcite-handle.entry.js +5 -5
  638. package/dist/esm/calcite-icon.entry.js +9 -5
  639. package/dist/esm/calcite-inline-editable.entry.js +18 -12
  640. package/dist/esm/calcite-input-date-picker.entry.js +35 -20
  641. package/dist/esm/calcite-input-message.entry.js +4 -4
  642. package/dist/esm/calcite-input-time-picker_2.entry.js +64 -31
  643. package/dist/esm/calcite-input.entry.js +24 -18
  644. package/dist/esm/calcite-label.entry.js +6 -5
  645. package/dist/esm/calcite-link.entry.js +7 -6
  646. package/dist/esm/calcite-list_3.entry.js +10 -10
  647. package/dist/esm/calcite-loader.entry.js +11 -9
  648. package/dist/esm/calcite-modal.entry.js +16 -7
  649. package/dist/esm/calcite-notice.entry.js +10 -8
  650. package/dist/esm/calcite-option_3.entry.js +13 -13
  651. package/dist/esm/calcite-pagination.entry.js +8 -4
  652. package/dist/esm/calcite-panel.entry.js +18 -11
  653. package/dist/esm/calcite-pick-list_3.entry.js +31 -22
  654. package/dist/esm/calcite-popover_2.entry.js +41 -12
  655. package/dist/esm/calcite-progress.entry.js +2 -2
  656. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  657. package/dist/esm/calcite-radio-button.entry.js +10 -8
  658. package/dist/esm/calcite-radio-group_2.entry.js +10 -10
  659. package/dist/esm/calcite-rating.entry.js +13 -9
  660. package/dist/esm/calcite-scrim.entry.js +5 -3
  661. package/dist/esm/calcite-shell_3.entry.js +8 -7
  662. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  663. package/dist/esm/calcite-split-button.entry.js +8 -5
  664. package/dist/esm/calcite-stepper_2.entry.js +25 -17
  665. package/dist/esm/calcite-switch.entry.js +10 -8
  666. package/dist/esm/calcite-tab_4.entry.js +52 -28
  667. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  668. package/dist/esm/calcite-tile.entry.js +8 -7
  669. package/dist/esm/calcite-tip_3.entry.js +7 -7
  670. package/dist/esm/calcite-tooltip_2.entry.js +8 -5
  671. package/dist/esm/calcite-tree_2.entry.js +26 -15
  672. package/dist/esm/calcite-value-list_2.entry.js +25 -17
  673. package/dist/esm/calcite.js +3 -3
  674. package/dist/esm/{conditionalSlot-efe9fada.js → conditionalSlot-3eed64fd.js} +7 -3
  675. package/dist/esm/{debounce-3542cd6c.js → debounce-09d6a561.js} +1 -1
  676. package/dist/esm/{dom-92353f93.js → dom-c27aa997.js} +10 -2
  677. package/dist/esm/{forIn-f786dc6a.js → forIn-f1632963.js} +2 -2
  678. package/dist/esm/{form-6b113ff9.js → form-ae9c7b51.js} +19 -3
  679. package/dist/esm/{guid-3d2249ab.js → guid-30502e46.js} +1 -1
  680. package/dist/esm/{index-090024fb.js → index-b9d03d54.js} +1 -1
  681. package/dist/esm/index.js +1 -1
  682. package/dist/esm/{interactive-b0989f51.js → interactive-f48d07dd.js} +7 -4
  683. package/dist/esm/{interfaces-6565effc.js → interfaces-590d249e.js} +1 -1
  684. package/dist/esm/{label-71a2e73c.js → label-1aee1deb.js} +9 -2
  685. package/dist/esm/loader.js +3 -3
  686. package/dist/esm/{locale-6fbb1595.js → locale-529b8688.js} +2 -2
  687. package/dist/esm/{math-86e70cf6.js → math-7cf06c9e.js} +1 -1
  688. package/dist/esm/{number-0354c374.js → number-c581416f.js} +1 -1
  689. package/dist/esm/{observers-39799b92.js → observers-851341e8.js} +1 -1
  690. package/dist/esm/{popper-23ea67bc.js → popper-b376ab28.js} +2 -2
  691. package/dist/esm/{resources-08e039a8.js → resources-2cbb3ed4.js} +8 -8
  692. package/dist/esm/{resources-f6a8c77e.js → resources-6c12ef01.js} +1 -1
  693. package/dist/esm/{resources-c6972cbd.js → resources-add11146.js} +1 -1
  694. package/dist/esm/{resources-0f1993c7.js → resources-dc7edf07.js} +44 -3
  695. package/dist/esm/{sortable.esm-1ac05cb0.js → sortable.esm-0bec9695.js} +1 -1
  696. package/dist/esm/{utils-7e9a0947.js → utils-1629f315.js} +1 -1
  697. package/dist/esm-es5/{ExpandToggle-4f621ad1.js → ExpandToggle-1386bad5.js} +2 -2
  698. package/dist/esm-es5/{Heading-77bbacee.js → Heading-2828947f.js} +2 -2
  699. package/dist/esm-es5/{array-a017e08f.js → array-e01eb758.js} +1 -1
  700. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  701. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  702. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  703. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  704. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  705. package/dist/esm-es5/calcite-action.entry.js +2 -2
  706. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  707. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  708. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  709. package/dist/esm-es5/calcite-button.entry.js +2 -2
  710. package/dist/esm-es5/calcite-card.entry.js +2 -2
  711. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  712. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  713. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  714. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  715. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  716. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  717. package/dist/esm-es5/calcite-fab.entry.js +3 -3
  718. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  719. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  720. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  721. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  722. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  723. package/dist/esm-es5/calcite-inline-editable.entry.js +3 -3
  724. package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
  725. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  726. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  727. package/dist/esm-es5/calcite-input.entry.js +2 -2
  728. package/dist/esm-es5/calcite-label.entry.js +2 -2
  729. package/dist/esm-es5/calcite-link.entry.js +2 -2
  730. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  731. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  732. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  733. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  734. package/dist/esm-es5/calcite-option_3.entry.js +3 -3
  735. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  736. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  737. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  738. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  739. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  740. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  741. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  742. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  743. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  744. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  745. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  746. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  747. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  748. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  749. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  750. package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
  751. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  752. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  753. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  754. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  755. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  756. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  757. package/dist/esm-es5/calcite.js +2 -2
  758. package/dist/esm-es5/{conditionalSlot-efe9fada.js → conditionalSlot-3eed64fd.js} +2 -2
  759. package/dist/esm-es5/{debounce-3542cd6c.js → debounce-09d6a561.js} +1 -1
  760. package/dist/esm-es5/{dom-92353f93.js → dom-c27aa997.js} +2 -2
  761. package/dist/esm-es5/{forIn-f786dc6a.js → forIn-f1632963.js} +2 -2
  762. package/dist/esm-es5/{form-6b113ff9.js → form-ae9c7b51.js} +2 -2
  763. package/dist/esm-es5/{guid-3d2249ab.js → guid-30502e46.js} +1 -1
  764. package/dist/esm-es5/{index-090024fb.js → index-b9d03d54.js} +1 -1
  765. package/dist/esm-es5/index.js +1 -1
  766. package/dist/esm-es5/{interactive-b0989f51.js → interactive-f48d07dd.js} +1 -1
  767. package/dist/esm-es5/{interfaces-6565effc.js → interfaces-590d249e.js} +1 -1
  768. package/dist/esm-es5/{label-71a2e73c.js → label-1aee1deb.js} +2 -2
  769. package/dist/esm-es5/loader.js +2 -2
  770. package/dist/esm-es5/{locale-6fbb1595.js → locale-529b8688.js} +2 -2
  771. package/dist/esm-es5/{math-86e70cf6.js → math-7cf06c9e.js} +1 -1
  772. package/dist/esm-es5/{number-0354c374.js → number-c581416f.js} +1 -1
  773. package/dist/esm-es5/{observers-39799b92.js → observers-851341e8.js} +1 -1
  774. package/dist/esm-es5/{popper-23ea67bc.js → popper-b376ab28.js} +2 -2
  775. package/dist/esm-es5/resources-2cbb3ed4.js +6 -0
  776. package/dist/esm-es5/{resources-f6a8c77e.js → resources-6c12ef01.js} +1 -1
  777. package/dist/esm-es5/{resources-c6972cbd.js → resources-add11146.js} +1 -1
  778. package/dist/esm-es5/{resources-0f1993c7.js → resources-dc7edf07.js} +2 -2
  779. package/dist/esm-es5/{sortable.esm-1ac05cb0.js → sortable.esm-0bec9695.js} +1 -1
  780. package/dist/esm-es5/{utils-7e9a0947.js → utils-1629f315.js} +1 -1
  781. package/dist/extras/docs-json.json +190 -80
  782. package/dist/loader/cdn.js +1 -1
  783. package/dist/loader/index.cjs.js +1 -1
  784. package/dist/loader/index.es2017.js +1 -1
  785. package/dist/loader/index.js +1 -1
  786. package/dist/types/components/accordion/accordion.d.ts +6 -4
  787. package/dist/types/components/accordion-item/accordion-item.d.ts +4 -4
  788. package/dist/types/components/action/action.d.ts +4 -1
  789. package/dist/types/components/action-bar/action-bar.d.ts +6 -1
  790. package/dist/types/components/action-menu/action-menu.d.ts +1 -0
  791. package/dist/types/components/action-pad/action-pad.d.ts +5 -1
  792. package/dist/types/components/alert/alert.d.ts +11 -6
  793. package/dist/types/components/avatar/utils.d.ts +5 -0
  794. package/dist/types/components/block/block.d.ts +10 -2
  795. package/dist/types/components/button/button.d.ts +4 -2
  796. package/dist/types/components/card/card.d.ts +11 -4
  797. package/dist/types/components/checkbox/checkbox.d.ts +3 -1
  798. package/dist/types/components/chip/chip.d.ts +3 -1
  799. package/dist/types/components/color-picker/color-picker.d.ts +57 -18
  800. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +3 -1
  801. package/dist/types/components/combobox/combobox.d.ts +9 -3
  802. package/dist/types/components/combobox-item/combobox-item.d.ts +2 -0
  803. package/dist/types/components/date-picker/date-picker.d.ts +32 -3
  804. package/dist/types/components/date-picker/utils.d.ts +5 -0
  805. package/dist/types/components/date-picker-day/date-picker-day.d.ts +2 -1
  806. package/dist/types/components/date-picker-month/date-picker-month.d.ts +30 -2
  807. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +7 -0
  808. package/dist/types/components/dropdown/dropdown.d.ts +7 -6
  809. package/dist/types/components/dropdown-group/dropdown-group.d.ts +5 -3
  810. package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
  811. package/dist/types/components/fab/fab.d.ts +1 -0
  812. package/dist/types/components/graph/util.d.ts +14 -0
  813. package/dist/types/components/handle/handle.d.ts +1 -1
  814. package/dist/types/components/icon/utils.d.ts +4 -0
  815. package/dist/types/components/inline-editable/inline-editable.d.ts +10 -4
  816. package/dist/types/components/input/input.d.ts +17 -8
  817. package/dist/types/components/input-date-picker/input-date-picker.d.ts +25 -6
  818. package/dist/types/components/input-message/input-message.d.ts +7 -3
  819. package/dist/types/components/input-time-picker/input-time-picker.d.ts +4 -2
  820. package/dist/types/components/label/label.d.ts +1 -0
  821. package/dist/types/components/link/link.d.ts +2 -1
  822. package/dist/types/components/list/list.d.ts +2 -2
  823. package/dist/types/components/list-item/list-item.d.ts +3 -3
  824. package/dist/types/components/list-item-group/list-item-group.d.ts +2 -2
  825. package/dist/types/components/loader/loader.d.ts +11 -9
  826. package/dist/types/components/modal/modal.d.ts +14 -3
  827. package/dist/types/components/notice/notice.d.ts +9 -4
  828. package/dist/types/components/option/option.d.ts +1 -1
  829. package/dist/types/components/option-group/option-group.d.ts +1 -1
  830. package/dist/types/components/pagination/pagination.d.ts +8 -2
  831. package/dist/types/components/panel/panel.d.ts +10 -2
  832. package/dist/types/components/pick-list/pick-list.d.ts +7 -3
  833. package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -1
  834. package/dist/types/components/pick-list-item/pick-list-item.d.ts +9 -3
  835. package/dist/types/components/popover/PopoverManager.d.ts +2 -0
  836. package/dist/types/components/popover/popover.d.ts +20 -3
  837. package/dist/types/components/popover-manager/popover-manager.d.ts +1 -0
  838. package/dist/types/components/radio-button/radio-button.d.ts +6 -0
  839. package/dist/types/components/radio-group-item/radio-group-item.d.ts +2 -1
  840. package/dist/types/components/rating/rating.d.ts +6 -2
  841. package/dist/types/components/scrim/scrim.d.ts +3 -1
  842. package/dist/types/components/shell-panel/shell-panel.d.ts +2 -0
  843. package/dist/types/components/slider/slider.d.ts +19 -0
  844. package/dist/types/components/split-button/split-button.d.ts +5 -2
  845. package/dist/types/components/stepper/stepper.d.ts +8 -3
  846. package/dist/types/components/stepper-item/stepper-item.d.ts +3 -3
  847. package/dist/types/components/switch/switch.d.ts +3 -1
  848. package/dist/types/components/tab/tab.d.ts +6 -2
  849. package/dist/types/components/tab-nav/tab-nav.d.ts +15 -4
  850. package/dist/types/components/tab-title/tab-title.d.ts +20 -8
  851. package/dist/types/components/tabs/tabs.d.ts +6 -2
  852. package/dist/types/components/tile/tile.d.ts +1 -0
  853. package/dist/types/components/time-picker/time-picker.d.ts +45 -16
  854. package/dist/types/components/tip-manager/tip-manager.d.ts +1 -0
  855. package/dist/types/components/tooltip/tooltip.d.ts +2 -0
  856. package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -0
  857. package/dist/types/components/tree/tree.d.ts +11 -4
  858. package/dist/types/components/tree-item/tree-item.d.ts +26 -12
  859. package/dist/types/components/value-list/value-list.d.ts +8 -4
  860. package/dist/types/components/value-list-item/value-list-item.d.ts +5 -2
  861. package/dist/types/components.d.ts +78 -38
  862. package/dist/types/preact.d.ts +56 -56
  863. package/dist/types/utils/conditionalSlot.d.ts +4 -0
  864. package/dist/types/utils/date.d.ts +35 -0
  865. package/dist/types/utils/dom.d.ts +8 -0
  866. package/dist/types/utils/form.d.ts +14 -0
  867. package/dist/types/utils/globalAttributes.d.ts +5 -0
  868. package/dist/types/utils/interactive.d.ts +7 -4
  869. package/dist/types/utils/label.d.ts +7 -0
  870. package/hydrate/index.js +720 -247
  871. package/package.json +4 -3
  872. package/dist/calcite/p-1121bf6c.entry.js +0 -6
  873. package/dist/calcite/p-112e0506.entry.js +0 -6
  874. package/dist/calcite/p-12df5af5.entry.js +0 -6
  875. package/dist/calcite/p-167b2f4a.system.entry.js +0 -6
  876. package/dist/calcite/p-169dc58f.entry.js +0 -6
  877. package/dist/calcite/p-23825835.system.entry.js +0 -6
  878. package/dist/calcite/p-2a4f0b45.system.entry.js +0 -6
  879. package/dist/calcite/p-2d00b485.entry.js +0 -6
  880. package/dist/calcite/p-2eaf7bd6.entry.js +0 -6
  881. package/dist/calcite/p-2f269ad9.entry.js +0 -6
  882. package/dist/calcite/p-3310a0b7.entry.js +0 -6
  883. package/dist/calcite/p-33ff61c9.entry.js +0 -6
  884. package/dist/calcite/p-35a4e949.js +0 -6
  885. package/dist/calcite/p-5202bff5.system.entry.js +0 -6
  886. package/dist/calcite/p-5eb52277.js +0 -6
  887. package/dist/calcite/p-6247f386.system.entry.js +0 -6
  888. package/dist/calcite/p-67610187.system.js +0 -6
  889. package/dist/calcite/p-6a7883a6.system.entry.js +0 -6
  890. package/dist/calcite/p-6bd67c03.js +0 -6
  891. package/dist/calcite/p-74877cc8.entry.js +0 -6
  892. package/dist/calcite/p-77b7aacb.entry.js +0 -6
  893. package/dist/calcite/p-84d0d4d8.entry.js +0 -6
  894. package/dist/calcite/p-97becb53.system.entry.js +0 -6
  895. package/dist/calcite/p-9e9b5138.system.entry.js +0 -6
  896. package/dist/calcite/p-a966bab7.system.js +0 -6
  897. package/dist/calcite/p-b5b08c47.entry.js +0 -6
  898. package/dist/calcite/p-bfa06e68.system.entry.js +0 -6
  899. package/dist/calcite/p-bfd4346a.system.entry.js +0 -6
  900. package/dist/calcite/p-d96ccda9.system.entry.js +0 -6
  901. package/dist/calcite/p-dbf820ef.entry.js +0 -6
  902. package/dist/calcite/p-e6df17ef.entry.js +0 -6
  903. package/dist/calcite/p-f2d088fc.entry.js +0 -6
  904. package/dist/calcite/p-f7d72376.entry.js +0 -6
  905. package/dist/calcite/p-fe3ae78d.system.entry.js +0 -6
  906. package/dist/esm-es5/resources-08e039a8.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.466
4
+ * v1.0.0-next.469
5
5
  */
6
- import{i as r,b as t,c as n,r as e,f as o}from"./p-dccf202a.js";var u=Array.isArray;function c(r){return r}var f=/^(?:0|[1-9]\d*)$/;function i(r,t){var n=typeof r;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&f.test(r))&&r>-1&&r%1==0&&r<t}function a(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}var l=Object.prototype;function b(r){return n(r)&&"[object Arguments]"==t(r)}var s=Object.prototype,v=s.hasOwnProperty,p=s.propertyIsEnumerable,j=b(function(){return arguments}())?b:function(r){return n(r)&&v.call(r,"callee")&&!p.call(r,"callee")},y="object"==typeof exports&&exports&&!exports.nodeType&&exports,m=y&&"object"==typeof module&&module&&!module.nodeType&&module,d=m&&m.exports===y?e.Buffer:void 0,x=(d?d.isBuffer:void 0)||function(){return!1},O={};O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object Boolean]"]=O["[object DataView]"]=O["[object Date]"]=O["[object Error]"]=O["[object Function]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object WeakMap]"]=!1;var g,A="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=A&&"object"==typeof module&&module&&!module.nodeType&&module,F=h&&h.exports===A&&o.process,k=function(){try{return h&&h.require&&h.require("util").types||F&&F.binding&&F.binding("util")}catch(r){}}(),G=k&&k.isTypedArray,L=G?(g=G,function(r){return g(r)}):function(r){return n(r)&&a(r.length)&&!!O[t(r)]},P=Object.prototype.hasOwnProperty;var S=Object.prototype.hasOwnProperty;function $(n){return null!=(e=n)&&a(e.length)&&!function(n){if(!r(n))return!1;var e=t(n);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}(e)?function(r,t){var n=u(r),e=!n&&j(r),o=!n&&!e&&x(r),c=!n&&!e&&!o&&L(r),f=n||e||o||c,a=f?function(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}(r.length,String):[],l=a.length;for(var b in r)!t&&!P.call(r,b)||f&&("length"==b||o&&("offset"==b||"parent"==b)||c&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||i(b,l))||a.push(b);return a}(n,!0):function(t){if(!r(t))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(t);var n,e,o=(n=t)===("function"==typeof(e=n&&n.constructor)&&e.prototype||l),u=[];for(var c in t)("constructor"!=c||!o&&S.call(t,c))&&u.push(c);return u}(n);var e}function q(r,t){return null==r?r:function(r,t,n){for(var e=-1,o=Object(r),u=n(r),c=u.length;c--;){var f=u[++e];if(!1===t(o[f],f,o))break}return r}(r,"function"==typeof(n=t)?n:c,$);var n}export{q as f,u as i}
6
+ import{i as r,b as t,c as n,r as e,f as o}from"./p-b9fc721c.js";var u=Array.isArray;function c(r){return r}var f=/^(?:0|[1-9]\d*)$/;function i(r,t){var n=typeof r;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&f.test(r))&&r>-1&&r%1==0&&r<t}function a(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}var b=Object.prototype;function l(r){return n(r)&&"[object Arguments]"==t(r)}var s=Object.prototype,v=s.hasOwnProperty,p=s.propertyIsEnumerable,j=l(function(){return arguments}())?l:function(r){return n(r)&&v.call(r,"callee")&&!p.call(r,"callee")},y="object"==typeof exports&&exports&&!exports.nodeType&&exports,m=y&&"object"==typeof module&&module&&!module.nodeType&&module,d=m&&m.exports===y?e.Buffer:void 0,x=(d?d.isBuffer:void 0)||function(){return!1},O={};O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Arguments]"]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object Boolean]"]=O["[object DataView]"]=O["[object Date]"]=O["[object Error]"]=O["[object Function]"]=O["[object Map]"]=O["[object Number]"]=O["[object Object]"]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object WeakMap]"]=!1;var g,A="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=A&&"object"==typeof module&&module&&!module.nodeType&&module,F=h&&h.exports===A&&o.process,k=function(){try{return h&&h.require&&h.require("util").types||F&&F.binding&&F.binding("util")}catch(r){}}(),G=k&&k.isTypedArray,L=G?(g=G,function(r){return g(r)}):function(r){return n(r)&&a(r.length)&&!!O[t(r)]},P=Object.prototype.hasOwnProperty;var S=Object.prototype.hasOwnProperty;function $(n){return null!=(e=n)&&a(e.length)&&!function(n){if(!r(n))return!1;var e=t(n);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}(e)?function(r,t){var n=u(r),e=!n&&j(r),o=!n&&!e&&x(r),c=!n&&!e&&!o&&L(r),f=n||e||o||c,a=f?function(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}(r.length,String):[],b=a.length;for(var l in r)!t&&!P.call(r,l)||f&&("length"==l||o&&("offset"==l||"parent"==l)||c&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||i(l,b))||a.push(l);return a}(n,!0):function(t){if(!r(t))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(t);var n,e,o=(n=t)===("function"==typeof(e=n&&n.constructor)&&e.prototype||b),u=[];for(var c in t)("constructor"!=c||!o&&S.call(t,c))&&u.push(c);return u}(n);var e}function q(r,t){return null==r?r:function(r,t,n){for(var e=-1,o=Object(r),u=n(r),c=u.length;c--;){var f=u[++e];if(!1===t(o[f],f,o))break}return r}(r,"function"==typeof(n=t)?n:c,$);var n}export{q as f,u as i}
@@ -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.466
4
+ * v1.0.0-next.469
5
5
  */
6
6
  System.register([],(function(r){"use strict";return{execute:function(){r({a:o,b:i,c:e,i:t,p:u,s:f});function e(r){return r==="Enter"||r===" "}var n=r("n",["0","1","2","3","4","5","6","7","8","9"]);function t(r){return!(!r||isNaN(Number(r)))}function u(r){if(!r||!s(r)){return""}return o(r,(function(r){var e=false;var u=r.split("").filter((function(r,t){if(r.match(/\./g)&&!e){e=true;return true}if(r.match(/\-/g)&&t===0){return true}return n.includes(r)})).reduce((function(r,e){return r+e}));return t(u)?Number(u).toString():""}))}function i(r){var e=/(?!^\.)\.$/;return r.replace(e,"")}function c(r){var e=/(?!^-)-/g;return r.replace(e,"")}function a(r){var e=/^([-0])0+(?=\d)/;return r.replace(e,"$1")}function f(r){return o(r,(function(r){var e=c(i(a(r)));var n=/^-\b0\b\.?0*$/;return t(e)?n.test(e)?e:Number(e).toString():r}))}function o(r,e){if(!r){return r}var n=r.toLowerCase().indexOf("e")+1;return r.replace(/[eE]*$/g,"").substring(0,n).concat(r.slice(n).replace(/[eE]/g,"")).split(/[eE]/).map((function(r,n){return n===1?e(r.replace(/\./g,"")):e(r)})).join("e").replace(/^e/,"1e")}function s(r){return n.some((function(e){return r.includes(e)}))}}}}));
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.466
6
- */System.register(["./p-672080f2.system.js","./p-bd7f1283.system.js","./p-8d0f536f.system.js","./p-59ea34c0.system.js","./p-b6082d4a.system.js","./p-1622b6a5.system.js"],(function(t){"use strict";var e,i,a,n,r,o,l,c,s;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.F;r=t.g},function(t){o=t.f},function(t){l=t.u},function(t){c=t.d},function(t){s=t.f},function(){}],execute:function(){var f={container:"container",searchIcon:"search-icon"};var u={filterLabel:"Filter",clear:"Clear filter"};var m={search:"search",close:"x"};var p=250;var d="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;width:100%}: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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;width:100%;padding:0.5rem}label{position:relative;margin-left:0.25rem;margin-right:0.25rem;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{margin-bottom:0.25rem;width:100%;border-style:none;background-color:transparent;padding-top:0.25rem;padding-bottom:0.25rem;padding-right:0.25rem;padding-left:1.5rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{width:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";var b=t("calcite_filter",function(){function t(t){var a=this;e(this,t);this.calciteFilterChange=i(this,"calciteFilterChange",7);this.items=[];this.disabled=false;this.filteredItems=[];this.scale="m";this.value="";this.filter=c((function(t,e){if(e===void 0){e=false}var i=new RegExp(t,"i");if(a.items.length===0){a.updateFiltered([],e);return}var n=function(t,e){var i=false;s(t,(function(t){if(typeof t==="function"||t==null){return}if(Array.isArray(t)||typeof t==="object"&&t!==null){if(n(t,e)){i=true}}else if(e.test(t)){i=true}}));return i};var r=a.items.filter((function(t){return n(t,i)}));a.updateFiltered(r,e)}),p);this.inputHandler=function(t){var e=t.target;a.value=e.value;a.filter(e.value,true)};this.keyDownHandler=function(t){if(t.key==="Escape"){a.clear()}if(t.key==="Enter"){t.preventDefault()}};this.clear=function(){a.value="";a.filter("",true);a.setFocus()}}t.prototype.watchItemsHandler=function(){this.filter(this.value)};t.prototype.valueHandler=function(t){this.filter(t)};t.prototype.componentDidRender=function(){l(this)};t.prototype.componentWillLoad=function(){this.filter(this.value)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){o(this.textInput);return[2]}))}))};t.prototype.updateFiltered=function(t,e){if(e===void 0){e=false}this.filteredItems.length=0;this.filteredItems=this.filteredItems.concat(t);if(e){this.calciteFilterChange.emit()}};t.prototype.render=function(){var t=this;var e=this,i=e.disabled,r=e.scale;return a(n,null,a("div",{class:f.container},a("label",null,a("calcite-input",{"aria-label":this.intlLabel||u.filterLabel,clearable:true,disabled:i,icon:m.search,intlClear:this.intlClear||u.clear,onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:function(e){t.textInput=e},scale:r,type:"text",value:this.value}))))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{items:["watchItemsHandler"],value:["valueHandler"]}},enumerable:false,configurable:true});return t}());b.style=d}}}));
5
+ * v1.0.0-next.469
6
+ */System.register(["./p-e9ffc73a.system.js","./p-38d91dfb.system.js","./p-26b7ba8c.system.js","./p-a5e9ab9d.system.js","./p-9c221bff.system.js","./p-b5c14068.system.js"],(function(t){"use strict";var e,i,a,n,r,o,l,c,s;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.F;r=t.g},function(t){o=t.f},function(t){l=t.u},function(t){c=t.d},function(t){s=t.f},function(){}],execute:function(){var f={container:"container",searchIcon:"search-icon"};var u={filterLabel:"Filter",clear:"Clear filter"};var m={search:"search",close:"x"};var p=250;var d="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;width:100%}: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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;width:100%;padding:0.5rem}label{position:relative;margin-left:0.25rem;margin-right:0.25rem;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{margin-bottom:0.25rem;width:100%;border-style:none;background-color:transparent;padding-top:0.25rem;padding-bottom:0.25rem;padding-right:0.25rem;padding-left:1.5rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{width:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";var b=t("calcite_filter",function(){function t(t){var a=this;e(this,t);this.calciteFilterChange=i(this,"calciteFilterChange",7);this.items=[];this.disabled=false;this.filteredItems=[];this.scale="m";this.value="";this.filter=c((function(t,e){if(e===void 0){e=false}var i=new RegExp(t,"i");if(a.items.length===0){a.updateFiltered([],e);return}var n=function(t,e){var i=false;s(t,(function(t){if(typeof t==="function"||t==null){return}if(Array.isArray(t)||typeof t==="object"&&t!==null){if(n(t,e)){i=true}}else if(e.test(t)){i=true}}));return i};var r=a.items.filter((function(t){return n(t,i)}));a.updateFiltered(r,e)}),p);this.inputHandler=function(t){var e=t.target;a.value=e.value;a.filter(e.value,true)};this.keyDownHandler=function(t){if(t.key==="Escape"){a.clear()}if(t.key==="Enter"){t.preventDefault()}};this.clear=function(){a.value="";a.filter("",true);a.setFocus()}}t.prototype.watchItemsHandler=function(){this.filter(this.value)};t.prototype.valueHandler=function(t){this.filter(t)};t.prototype.componentDidRender=function(){l(this)};t.prototype.componentWillLoad=function(){this.filter(this.value)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){o(this.textInput);return[2]}))}))};t.prototype.updateFiltered=function(t,e){if(e===void 0){e=false}this.filteredItems.length=0;this.filteredItems=this.filteredItems.concat(t);if(e){this.calciteFilterChange.emit()}};t.prototype.render=function(){var t=this;var e=this,i=e.disabled,r=e.scale;return a(n,null,a("div",{class:f.container},a("label",null,a("calcite-input",{"aria-label":this.intlLabel||u.filterLabel,clearable:true,disabled:i,icon:m.search,intlClear:this.intlClear||u.clear,onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:function(e){t.textInput=e},scale:r,type:"text",value:this.value}))))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{items:["watchItemsHandler"],value:["valueHandler"]}},enumerable:false,configurable:true});return t}());b.style=d}}}));
@@ -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.466
4
+ * v1.0.0-next.469
5
5
  */
6
- import{r as t,c as i,h as a,H as e,g as o}from"./p-61b23d2c.js";import{g as r}from"./p-c3237177.js";import{a as n,f as s,t as c}from"./p-882bd991.js";import{c as d,d as l,g as h}from"./p-4aca956c.js";import{c as m,d as p,H as u}from"./p-12cf3a55.js";import{g as b}from"./p-53ef710e.js";import{u as f}from"./p-c3f66440.js";const w=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const s=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(r-1,-1),s));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(r+1,s));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||s(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${r()}`,this.name&&this.checkLastRadioButton(),d(this),m(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){l(this),p(this)}componentDidRender(){f(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":c(this.checked),"aria-label":h(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(u,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};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}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-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-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}: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([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{w as calcite_radio_button}
6
+ import{r as t,c as i,h as a,H as e,g as o}from"./p-f83d5618.js";import{g as r}from"./p-eec3051e.js";import{a as n,f as s,t as c}from"./p-425a556a.js";import{c as d,d as l,g as h}from"./p-25f9df95.js";import{c as m,d as p,H as u}from"./p-02ea3ab9.js";import{g as b}from"./p-5276c1ec.js";import{u as f}from"./p-25774cbb.js";const w=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const s=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(r-1,-1),s));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(r+1,s));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||s(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${r()}`,this.name&&this.checkLastRadioButton(),d(this),m(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){l(this),p(this)}componentDidRender(){f(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":c(this.checked),"aria-label":h(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(u,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};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}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-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-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}: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([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{w as calcite_radio_button}
@@ -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.466
4
+ * v1.0.0-next.469
5
5
  */
6
6
  function e(){}function n(n,t=!1){if(n.disabled)return n.el.setAttribute("tabindex","-1"),n.el.setAttribute("aria-disabled","true"),n.el.contains(document.activeElement)&&document.activeElement.blur(),void(n.el.click=e);n.el.click=HTMLElement.prototype.click,"function"==typeof t?n.el.setAttribute("tabindex",t.call(n)?"0":"-1"):!0===t?n.el.setAttribute("tabindex","0"):!1===t&&n.el.removeAttribute("tabindex"),n.el.removeAttribute("aria-disabled")}export{n as u}
@@ -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.466
4
+ * v1.0.0-next.469
5
5
  */
6
- import{q as e,c as n}from"./p-882bd991.js";const t="calciteInternalLabelConnected",c="calciteInternaLabelDisconnected",a=new WeakMap,l=new WeakMap,o=new WeakMap,i=new Set;function s(t){const c=(t=>{const{id:c}=t,a=c&&e(t,{selector:`calcite-label[for="${c}"]`});if(a)return a;const l=n(t,"calcite-label");return!l||function(e,n){let t;const c="custom-element-ancestor-check",a=c=>{c.stopImmediatePropagation();const a=c.composedPath();t=a.slice(a.indexOf(n),a.indexOf(e))};return e.addEventListener(c,a,{once:!0}),n.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),e.removeEventListener(c,a),t.filter((t=>t!==n&&t!==e)).filter((e=>{var n;return null===(n=e.tagName)||void 0===n?void 0:n.includes("-")})).length>0}(l,t)?null:l})(t.el);if(a.has(c)||!c&&i.has(t))return;const s=f.bind(t);if(c){t.labelEl=c;const e=d.bind(t);a.set(t.labelEl,e),t.labelEl.addEventListener("calciteInternalLabelClick",e),i.delete(t),document.removeEventListener("calciteInternalLabelConnected",l.get(t)),o.set(t,s),document.addEventListener("calciteInternaLabelDisconnected",s)}else i.has(t)||(s(),document.removeEventListener("calciteInternaLabelDisconnected",o.get(t)))}function r(e){if(i.delete(e),document.removeEventListener("calciteInternalLabelConnected",l.get(e)),document.removeEventListener("calciteInternaLabelDisconnected",o.get(e)),l.delete(e),o.delete(e),!e.labelEl)return;const n=a.get(e.labelEl);e.labelEl.removeEventListener("calciteInternalLabelClick",n),a.delete(e.labelEl)}function u(e){var n,t;return e.label||(null===(t=null===(n=e.labelEl)||void 0===n?void 0:n.textContent)||void 0===t?void 0:t.trim())||""}function d(e){this.disabled||this.el.contains(e.detail.sourceEvent.target)||this.onLabelClick(e)}function b(){i.has(this)&&s(this)}function f(){i.add(this);const e=l.get(this)||b.bind(this);l.set(this,e),document.addEventListener("calciteInternalLabelConnected",e)}export{c as a,s as c,r as d,u as g,t as l}
6
+ import{q as e,c as n}from"./p-425a556a.js";const t="calciteInternalLabelConnected",c="calciteInternaLabelDisconnected",a=new WeakMap,l=new WeakMap,o=new WeakMap,i=new Set;function s(t){const c=(t=>{const{id:c}=t,a=c&&e(t,{selector:`calcite-label[for="${c}"]`});if(a)return a;const l=n(t,"calcite-label");return!l||function(e,n){let t;const c="custom-element-ancestor-check",a=c=>{c.stopImmediatePropagation();const a=c.composedPath();t=a.slice(a.indexOf(n),a.indexOf(e))};return e.addEventListener(c,a,{once:!0}),n.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),e.removeEventListener(c,a),t.filter((t=>t!==n&&t!==e)).filter((e=>{var n;return null===(n=e.tagName)||void 0===n?void 0:n.includes("-")})).length>0}(l,t)?null:l})(t.el);if(a.has(c)||!c&&i.has(t))return;const s=f.bind(t);if(c){t.labelEl=c;const e=d.bind(t);a.set(t.labelEl,e),t.labelEl.addEventListener("calciteInternalLabelClick",e),i.delete(t),document.removeEventListener("calciteInternalLabelConnected",l.get(t)),o.set(t,s),document.addEventListener("calciteInternaLabelDisconnected",s)}else i.has(t)||(s(),document.removeEventListener("calciteInternaLabelDisconnected",o.get(t)))}function r(e){if(i.delete(e),document.removeEventListener("calciteInternalLabelConnected",l.get(e)),document.removeEventListener("calciteInternaLabelDisconnected",o.get(e)),l.delete(e),o.delete(e),!e.labelEl)return;const n=a.get(e.labelEl);e.labelEl.removeEventListener("calciteInternalLabelClick",n),a.delete(e.labelEl)}function u(e){var n,t;return e.label||(null===(t=null===(n=e.labelEl)||void 0===n?void 0:n.textContent)||void 0===t?void 0:t.trim())||""}function d(e){this.disabled||this.el.contains(e.detail.sourceEvent.target)||this.onLabelClick(e)}function b(){i.has(this)&&s(this)}function f(){i.add(this);const e=l.get(this)||b.bind(this);l.set(this,e),document.addEventListener("calciteInternalLabelConnected",e)}export{c as a,s as c,r as d,u as g,t as l}
@@ -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.466
4
+ * v1.0.0-next.469
5
5
  */
6
6
  System.register([],(function(e){"use strict";return{execute:function(){e("u",i);function t(){}function i(e,i){if(i===void 0){i=false}if(e.disabled){e.el.setAttribute("tabindex","-1");e.el.setAttribute("aria-disabled","true");if(e.el.contains(document.activeElement)){document.activeElement.blur()}e.el.click=t;return}e.el.click=HTMLElement.prototype.click;if(typeof i==="function"){e.el.setAttribute("tabindex",i.call(e)?"0":"-1")}else if(i===true){e.el.setAttribute("tabindex","0")}else if(i===false){e.el.removeAttribute("tabindex")}else;e.el.removeAttribute("aria-disabled")}}}}));
@@ -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.469
5
+ */
6
+ import{r as t,c as i,h as a,H as e,g as n,F as o}from"./p-f83d5618.js";import{g as r}from"./p-eec3051e.js";import{t as s,n as c,a as l,k as m,d}from"./p-425a556a.js";import{c as h}from"./p-055dbdb9.js";import{u as b}from"./p-25774cbb.js";const p=class{constructor(a){t(this,a),this.calciteInternalTabRegister=i(this,"calciteInternalTabRegister",7),this.active=!1,this.scale="m",this.guid=`calcite-tab-title-${r()}`}render(){const t=this.el.id||this.guid;return a(e,{"aria-expanded":s(this.active),"aria-labelledby":this.labeledBy,id:t,role:"tabpanel"},a("section",null,a("slot",null)))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}componentDidLoad(){this.calciteInternalTabRegister.emit()}componentWillRender(){var t;this.scale=null===(t=this.parentTabsEl)||void 0===t?void 0:t.scale}disconnectedCallback(){var t;null===(t=document.body)||void 0===t||t.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.active=this.tab===t.detail.tab:this.getTabIndex().then((i=>{this.active=i===t.detail.tab})),t.stopPropagation())}async getTabIndex(){return Array.prototype.indexOf.call(c(this.el.parentElement.children).filter((t=>t.matches("calcite-tab"))),this.el)}async updateAriaInfo(t=[],i=[]){this.labeledBy=i[t.indexOf(this.el.id)]||null}get el(){return n(this)}};p.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([active]) section{display:block}:host{display:none;height:100%;width:100%}:host([active]){display:block;height:100%;width:100%;overflow:auto}section{display:none;height:100%;width:100%}:host([scale=s]){padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}";const f=class{constructor(a){t(this,a),this.calciteTabChange=i(this,"calciteTabChange",7),this.calciteInternalTabChange=i(this,"calciteInternalTabChange",7),this.scale="m",this.layout="inline",this.position="below",this.bordered=!1,this.animationActiveDuration=.3,this.resizeObserver=h("resize",(()=>{this.activeIndicatorEl.style.transitionDuration="0s",this.updateActiveWidth(),this.updateOffsetPosition()})),this.handleContainerScroll=()=>{this.activeIndicatorEl.style.transitionDuration="0s",this.updateOffsetPosition()}}async selectedTabChanged(){localStorage&&this.storageId&&null!=this.selectedTab&&localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTab)),this.calciteInternalTabChange.emit({tab:this.selectedTab}),this.selectedTabEl=await this.getTabTitleById(this.selectedTab)}selectedTabElChanged(){this.updateOffsetPosition(),this.updateActiveWidth(),this.activeIndicatorEl.style.transitionDuration=`${this.animationActiveDuration}s`}connectedCallback(){var t;this.parentTabsEl=this.el.closest("calcite-tabs"),null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}componentWillLoad(){const t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId&&localStorage.getItem(t)){const i=JSON.parse(localStorage.getItem(t));this.selectedTab=i}}componentWillRender(){const{parentTabsEl:t}=this;this.layout=null==t?void 0:t.layout,this.position=null==t?void 0:t.position,this.scale=null==t?void 0:t.scale,this.bordered=null==t?void 0:t.bordered,this.selectedTabEl&&this.updateOffsetPosition()}componentDidRender(){this.tabTitles.length&&this.tabTitles.every((t=>!t.active))&&!this.selectedTab&&this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}render(){const t=l(this.el),i=`${this.indicatorWidth}px`,n=`${this.indicatorOffset}px`;return a(e,{role:"tablist"},a("div",{class:"tab-nav",onScroll:this.handleContainerScroll,ref:t=>this.tabNavEl=t},a("div",{class:"tab-nav-active-indicator-container",ref:t=>this.activeIndicatorContainerEl=t},a("div",{class:"tab-nav-active-indicator",ref:t=>this.activeIndicatorEl=t,style:"rtl"!==t?{width:i,left:n}:{width:i,right:n}})),a("slot",null)))}focusPreviousTabHandler(t){const i=this.getIndexOfTabTitle(t.target,this.enabledTabTitles);(this.enabledTabTitles[i-1]||this.enabledTabTitles[this.enabledTabTitles.length-1]).focus(),t.stopPropagation(),t.preventDefault()}focusNextTabHandler(t){const i=this.getIndexOfTabTitle(t.target,this.enabledTabTitles);(this.enabledTabTitles[i+1]||this.enabledTabTitles[0]).focus(),t.stopPropagation(),t.preventDefault()}internalActivateTabHandler(t){this.selectedTab=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target),t.stopPropagation(),t.preventDefault()}activateTabHandler(t){this.calciteTabChange.emit({tab:this.selectedTab}),t.stopPropagation(),t.preventDefault()}updateTabTitles(t){t.target.active&&(this.selectedTab=t.detail)}globalInternalTabChangeHandler(t){this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTab!==t.detail.tab&&(this.selectedTab=t.detail.tab,t.stopPropagation()),t.stopPropagation()}updateOffsetPosition(){var t,i,a,e,n;const o=l(this.el),r=null===(t=this.activeIndicatorContainerEl)||void 0===t?void 0:t.offsetWidth,s=null===(i=this.selectedTabEl)||void 0===i?void 0:i.offsetLeft,c=null===(a=this.selectedTabEl)||void 0===a?void 0:a.offsetWidth;this.indicatorOffset="rtl"!==o?s-(null===(e=this.tabNavEl)||void 0===e?void 0:e.scrollLeft):r-(s+c)+(null===(n=this.tabNavEl)||void 0===n?void 0:n.scrollLeft)}updateActiveWidth(){var t;this.indicatorWidth=null===(t=this.selectedTabEl)||void 0===t?void 0:t.offsetWidth}getIndexOfTabTitle(t,i=this.tabTitles){return i.indexOf(t)}async getTabTitleById(t){return Promise.all(this.tabTitles.map((t=>t.getTabIdentifier()))).then((i=>this.tabTitles[i.indexOf(t)]))}get tabTitles(){return m(this.el,"calcite-tab-title")}get enabledTabTitles(){return m(this.el,"calcite-tab-title:not([disabled])")}get el(){return n(this)}static get watchers(){return{selectedTab:["selectedTabChanged"],selectedTabEl:["selectedTabElChanged"]}}};f.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex}:host([scale=s]){min-height:1.5rem}:host([scale=m]){min-height:2rem}:host([scale=l]){min-height:2.75rem}.tab-nav{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:start;justify-content:flex-start;overflow:auto}:host([layout=center]) .tab-nav{-ms-flex-pack:center;justify-content:center}.tab-nav-active-indicator-container{position:absolute;left:0px;right:0px;bottom:0px;height:0.125rem;width:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;bottom:0px;display:block;height:0.125rem;background-color:var(--calcite-ui-brand);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}:host([position=below]) .tab-nav-active-indicator{bottom:unset;top:0px}:host([position=below]) .tab-nav-active-indicator-container{bottom:unset;top:0px}:host([bordered]) .tab-nav-active-indicator-container{bottom:unset}:host([bordered][position=below]) .tab-nav-active-indicator-container{bottom:0;top:unset}@media (forced-colors: active){.tab-nav-active-indicator{background-color:highlight}}";const u=class{constructor(a){t(this,a),this.calciteTabsActivate=i(this,"calciteTabsActivate",7),this.calciteInternalTabsActivate=i(this,"calciteInternalTabsActivate",7),this.calciteInternalTabsFocusNext=i(this,"calciteInternalTabsFocusNext",7),this.calciteInternalTabsFocusPrevious=i(this,"calciteInternalTabsFocusPrevious",7),this.calciteInternalTabTitleRegister=i(this,"calciteInternalTabTitleRegister",7),this.active=!1,this.disabled=!1,this.bordered=!1,this.mutationObserver=h("mutation",(()=>this.updateHasText())),this.hasText=!1,this.guid=`calcite-tab-title-${r()}`}activeTabChanged(){this.active&&this.emitActiveTab(!1)}connectedCallback(){this.setupTextContentObserver(),this.parentTabNavEl=this.el.closest("calcite-tab-nav"),this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=document.body)||void 0===i||i.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el}))}componentWillLoad(){this.updateHasText(),this.tab&&this.active&&this.emitActiveTab(!1)}componentWillRender(){this.parentTabsEl&&(this.layout=this.parentTabsEl.layout,this.position=this.parentTabsEl.position,this.scale=this.parentTabsEl.scale,this.bordered=this.parentTabsEl.bordered),!this.parentTabsEl&&this.parentTabNavEl&&(this.position=d(this.parentTabNavEl,"position",this.position),this.scale=d(this.parentTabNavEl,"scale",this.scale))}render(){const t=this.el.id||this.guid,i=this.bordered&&!this.disabled&&"center"!==this.layout,n=a("calcite-icon",{class:"calcite-tab-title--icon icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),o=a("calcite-icon",{class:"calcite-tab-title--icon icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"});return a(e,{"aria-controls":this.controls,"aria-expanded":s(this.active),id:t,role:"tab"},a("a",{class:{container:!0,"container--has-text":this.hasText},style:i&&{width:`${this.parentTabNavEl.indicatorWidth}px`}},this.iconStart?n:null,a("slot",null),this.iconEnd?o:null))}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){b(this,!0)}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.active=this.tab===t.detail.tab:this.getTabIndex().then((i=>{this.active=i===t.detail.tab})),t.stopPropagation())}onClick(){this.emitActiveTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitActiveTab(),t.preventDefault();break;case"ArrowRight":"ltr"===l(this.el)?this.calciteInternalTabsFocusNext.emit():this.calciteInternalTabsFocusPrevious.emit();break;case"ArrowLeft":"ltr"===l(this.el)?this.calciteInternalTabsFocusPrevious.emit():this.calciteInternalTabsFocusNext.emit()}}async getTabIndex(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-tab-title"),this.el)}async getTabIdentifier(){return this.tab?this.tab:this.getTabIndex()}async updateAriaInfo(t=[],i=[]){this.controls=t[i.indexOf(this.el.id)]||null}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}emitActiveTab(t=!0){if(this.disabled)return;const i={tab:this.tab};this.calciteInternalTabsActivate.emit(i),t&&this.calciteTabsActivate.emit(i)}get el(){return n(this)}static get watchers(){return{active:["activeTabChanged"]}}};u.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{margin-right:1.25rem;display:block;-ms-flex:0 1 auto;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:1.25rem;margin-inline-end:1.25rem}:host([layout=center]){margin-top:0px;margin-bottom:0px;margin-left:1.25rem;margin-right:1.25rem;text-align:center;-ms-flex-preferred-size:12rem;flex-basis:12rem}:host([position=below]) a{border-bottom-width:0px;border-top-width:2px;border-top-color:transparent;border-top-style:solid}:host a{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) a{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host([active]) a{border-color:transparent;color:var(--calcite-ui-text-1)}: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([disabled]) span,:host([disabled]) a{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){-webkit-margin-end:1rem;margin-inline-end:1rem}:host([scale=s]) a,:host([scale=s]) span{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) a,:host([scale=m]) span{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){-webkit-margin-end:1.5rem;margin-inline-end:1.5rem}:host([scale=l]) a,:host([scale=l]) span{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}a,span{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;width:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-pack:center;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom-width:2px;padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;border-bottom-color:transparent;border-bottom-style:solid}span{cursor:default}.calcite-tab-title--icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:center;align-self:center}.calcite-tab-title--icon svg{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.container--has-text{padding:0.25rem}.container--has-text .calcite-tab-title--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}.container--has-text .calcite-tab-title--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([bordered]){-webkit-margin-end:0;margin-inline-end:0}:host([bordered][active]){-webkit-box-shadow:inset 0px -2px var(--calcite-ui-foreground-1);box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}:host([bordered][active][position=below]){-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) a,:host([bordered]:focus) a,:host([bordered]:active) a{position:relative}:host([bordered]:hover) a{background-color:var(--calcite-button-transparent-hover);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([bordered]) a{border-bottom-style:unset}:host([bordered][position=below]) a{border-top-style:unset}:host([active][bordered]) a{border-left:1px solid var(--calcite-ui-border-1);border-right:1px solid var(--calcite-ui-border-1)}:host([bordered]) a,:host([bordered]) span{padding-left:0.75rem;padding-right:0.75rem}:host([bordered][scale=s]) a,:host([bordered][scale=s]) span{padding-left:0.5rem;padding-right:0.5rem}:host([bordered][scale=l]) a,:host([bordered][scale=l]) span{padding-left:1rem;padding-right:1rem}@media (forced-colors: active){:host{outline-width:0;outline-offset:0}:host(:focus) a{outline-color:highlight}:host([bordered]) a{border-bottom-style:solid}:host([bordered][position=below]) a{border-top-style:solid}:host([bordered][active]) a{border-bottom-style:none}:host([bordered][position=below][active]) a{border-top-style:none}}";const w=class{constructor(i){t(this,i),this.layout="inline",this.position="above",this.scale="m",this.bordered=!1,this.titles=[],this.tabs=[]}connectedCallback(){"center"===this.layout&&(this.bordered=!1)}render(){return a(o,null,a("slot",{name:"tab-nav"}),a("section",null,a("slot",null)))}calciteInternalTabTitleRegister(t){this.titles=[...this.titles,t.target],this.registryHandler(),t.stopPropagation()}calciteTabTitleUnregister(t){this.titles=this.titles.filter((i=>i!==t.detail)),this.registryHandler(),t.stopPropagation()}calciteInternalTabRegister(t){this.tabs=[...this.tabs,t.target],this.registryHandler(),t.stopPropagation()}calciteTabUnregister(t){this.tabs=this.tabs.filter((i=>i!==t.detail)),this.registryHandler(),t.stopPropagation()}async registryHandler(){let t,i;if(this.tabs.some((t=>t.tab))||this.titles.some((t=>t.tab)))t=this.tabs.sort(((t,i)=>t.tab.localeCompare(i.tab))).map((t=>t.id)),i=this.titles.sort(((t,i)=>t.tab.localeCompare(i.tab))).map((t=>t.id));else{const a=await Promise.all(this.tabs.map((t=>t.getTabIndex()))),e=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=a.reduce(((t,i,a)=>(t[i]=this.tabs[a].id,t)),[]),i=e.reduce(((t,i,a)=>(t[i]=this.titles[a].id,t)),[])}this.tabs.forEach((a=>a.updateAriaInfo(t,i))),this.titles.forEach((a=>a.updateAriaInfo(t,i)))}get el(){return n(this)}};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}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([bordered]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=below])) ::slotted(calcite-tab-nav){margin-bottom:-1px}:host([bordered][position=below]) ::slotted(calcite-tab-nav){margin-top:-1px}:host([bordered][position=below]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=below]){-ms-flex-direction:column-reverse;flex-direction:column-reverse}section{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;overflow:hidden;border-top-width:1px;border-top-color:var(--calcite-ui-border-1);border-top-style:solid}:host([position=below]) section{-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-top-width:0px;border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-1)}:host([position=below]:not([bordered])) section{border-bottom-style:solid}@media (forced-colors: active){:host([bordered]) section{border-top-width:0px;border-bottom-width:1px}:host([position=below][bordered]) section{border-top-width:1px;border-bottom-width:0px}}";export{p as calcite_tab,f as calcite_tab_nav,u as calcite_tab_title,w as calcite_tabs}
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function o(t){try{c(n.next(t))}catch(t){r(t)}}function s(t){try{c(n["throw"](t))}catch(t){r(t)}}function c(t){t.done?i(t.value):a(t.value).then(o,s)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];a=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ * v1.0.0-next.469
6
+ */System.register(["./p-e9ffc73a.system.js","./p-38d91dfb.system.js","./p-26b7ba8c.system.js","./p-b5c14068.system.js"],(function(t){"use strict";var e,i,n,a,r,o,s,c;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.g;r=t.H},function(t){o=t.d;s=t.t},function(t){c=t.u},function(){}],execute:function(){var l="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;width:100%;min-width:100%;-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 ::slotted(.calcite-stepper-content){display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap}";var p=t("calcite_stepper",function(){function t(t){e(this,t);this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",7);this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.itemMap=new Map;this.items=[];this.enabledItems=[]}t.prototype.contentWatcher=function(){if(this.layout==="horizontal"){if(!this.stepperContentContainer&&this.requestedContent){this.addHorizontalContentContainer()}this.updateContent(this.requestedContent)}};t.prototype.componentDidLoad=function(){if(!this.currentPosition){this.calciteInternalStepperItemChange.emit({position:0})}};t.prototype.componentWillLoad=function(){if(this.layout==="horizontal"&&!this.stepperContentContainer){this.addHorizontalContentContainer()}};t.prototype.render=function(){return n("slot",null)};t.prototype.calciteInternalStepperItemKeyEvent=function(t){var e=t.detail.item;var i=t.target;var n=this.itemIndex(i)===0;var a=this.itemIndex(i)===this.enabledItems.length-1;switch(e.key){case"ArrowDown":case"ArrowRight":if(a){this.focusFirstItem()}else{this.focusNextItem(i)}break;case"ArrowUp":case"ArrowLeft":if(n){this.focusLastItem()}else{this.focusPrevItem(i)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}t.stopPropagation()};t.prototype.registerItem=function(t){var e=t.target;var i=t.detail,n=i.content,a=i.position;if(n&&e.active){this.requestedContent=n}this.itemMap.set(e,a);this.items=this.sortItems();this.enabledItems=this.filterItems();t.stopPropagation()};t.prototype.updateItem=function(t){if(t.detail.content){this.requestedContent=t.detail.content}this.currentPosition=t.detail.position;this.calciteInternalStepperItemChange.emit({position:this.currentPosition});t.stopPropagation()};t.prototype.nextStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.currentPosition+1,"next");if(typeof t!=="number"){return[2]}this.emitChangedItem(t);return[2]}))}))};t.prototype.prevStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.currentPosition-1,"previous");if(typeof t!=="number"){return[2]}this.emitChangedItem(t);return[2]}))}))};t.prototype.goToStep=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=t-1;if(this.currentPosition!==e){this.emitChangedItem(e)}return[2]}))}))};t.prototype.startStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(0,"next");if(typeof t!=="number"){return[2]}this.emitChangedItem(t);return[2]}))}))};t.prototype.endStep=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getEnabledStepIndex(this.items.length-1,"previous");if(typeof t!=="number"){return[2]}this.emitChangedItem(t);return[2]}))}))};t.prototype.getEnabledStepIndex=function(t,e){if(e===void 0){e="next"}var i;var n=this,a=n.items,r=n.currentPosition;var o=t;while((i=a[o])===null||i===void 0?void 0:i.disabled){o=o+(e==="previous"?-1:1)}return o!==r&&o<a.length&&o>=0?o:null};t.prototype.addHorizontalContentContainer=function(){this.stepperContentContainer=document.createElement("div");this.stepperContentContainer.classList.add("calcite-stepper-content");this.el.insertAdjacentElement("beforeend",this.stepperContentContainer)};t.prototype.emitChangedItem=function(t){this.currentPosition=t;this.calciteInternalStepperItemChange.emit({position:t})};t.prototype.focusFirstItem=function(){var t=this.enabledItems[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.enabledItems[this.enabledItems.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var e=this.itemIndex(t);var i=this.enabledItems[e+1]||this.enabledItems[0];this.focusElement(i)};t.prototype.focusPrevItem=function(t){var e=this.itemIndex(t);var i=this.enabledItems[e-1]||this.enabledItems[this.enabledItems.length-1];this.focusElement(i)};t.prototype.itemIndex=function(t){return this.enabledItems.indexOf(t)};t.prototype.focusElement=function(t){t.focus()};t.prototype.sortItems=function(){var t=this.itemMap;return Array.from(t.keys()).sort((function(e,i){return t.get(e)-t.get(i)}))};t.prototype.filterItems=function(){return this.items.filter((function(t){return!t.disabled}))};t.prototype.updateContent=function(t){var e;this.stepperContentContainer.innerHTML="";(e=this.stepperContentContainer).append.apply(e,t)};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{requestedContent:["contentWatcher"]}},enumerable:false,configurable:true});return t}());p.style=l;var m="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([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-subtitle{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-subtitle{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-subtitle{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;margin-bottom: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-top-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-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}: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;width: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);margin-top:1px;display:-ms-inline-flexbox;display:inline-flex;height: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-title,:host .stepper-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .stepper-item-title{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-subtitle{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]){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([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-top-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([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-title,:host(:focus:not([disabled]):not([active])) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-subtitle,:host(:focus:not([disabled]):not([active])) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-top-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .container{margin-left:0px;margin-right:0px;margin-top:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom: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-top:1px;margin-bottom: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][active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}";var u=t("calcite_stepper_item",function(){function t(t){var n=this;e(this,t);this.calciteInternalStepperItemKeyEvent=i(this,"calciteInternalStepperItemKeyEvent",7);this.calciteInternalStepperItemSelect=i(this,"calciteInternalStepperItemSelect",7);this.calciteInternalStepperItemRegister=i(this,"calciteInternalStepperItemRegister",7);this.active=false;this.complete=false;this.error=false;this.disabled=false;this.icon=false;this.numbered=false;this.scale="m";this.keyDownHandler=function(t){if(!n.disabled&&t.target===n.el){switch(t.key){case" ":case"Enter":n.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":n.calciteInternalStepperItemKeyEvent.emit({item:t});t.preventDefault();break}}};this.emitRequestedItem=function(){if(!n.disabled){n.calciteInternalStepperItemSelect.emit({position:n.itemPosition,content:n.itemContent})}};this.setItemContent=function(t){n.itemPosition=n.getItemPosition();var e=t.target.assignedNodes({flatten:true});if(e.length){n.itemContent=e}n.registerStepperItem();if(n.active){n.emitRequestedItem()}}}t.prototype.disabledWatcher=function(){this.registerStepperItem()};t.prototype.componentWillLoad=function(){this.icon=o(this.el,"icon",false);this.numbered=o(this.el,"numbered",false);this.layout=o(this.el,"layout",false);this.scale=o(this.el,"scale","m");this.parentStepperEl=this.el.parentElement};t.prototype.componentDidRender=function(){c(this,true)};t.prototype.render=function(){return n(r,{"aria-expanded":s(this.active),onClick:this.emitRequestedItem,onKeyDown:this.keyDownHandler},n("div",{class:"container"},n("div",{class:"stepper-item-header"},this.icon?this.renderIcon():null,this.numbered?n("div",{class:"stepper-item-number"},this.getItemPosition()+1,"."):null,n("div",{class:"stepper-item-header-text"},n("span",{class:"stepper-item-title"},this.itemTitle),n("span",{class:"stepper-item-subtitle"},this.itemSubtitle))),n("div",{class:"stepper-item-content"},n("slot",{onSlotchange:this.setItemContent}))))};t.prototype.updateActiveItemOnChange=function(t){if(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl)){this.activePosition=t.detail.position;this.determineActiveItem()}t.stopPropagation()};t.prototype.renderIcon=function(){var t=this.active?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle";return n("calcite-icon",{class:"stepper-item-icon",icon:t,scale:"s"})};t.prototype.determineActiveItem=function(){this.active=!this.disabled&&this.itemPosition===this.activePosition};t.prototype.registerStepperItem=function(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition,content:this.itemContent})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["disabledWatcher"]}},enumerable:false,configurable:true});return t}());u.style=m}}}));
@@ -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.466
4
+ * v1.0.0-next.469
5
5
  */
6
6
  System.register([],(function(){"use strict";return{execute:function(){}}}));
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,a,r){function i(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,n){function o(t){try{c(r.next(t))}catch(t){n(t)}}function s(t){try{c(r["throw"](t))}catch(t){n(t)}}function c(t){t.done?a(t.value):i(t.value).then(o,s)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,i&&(n=o[0]&2?i["return"]:o[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;if(i=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;i=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){a.label=o[1];break}if(o[0]===6&&a.label<n[1]){a.label=n[1];n=o;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(o);break}if(n[2])a.ops.pop();a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t];i=0}finally{r=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,a){if(a||arguments.length===2)for(var r=0,i=e.length,n;r<i;r++){if(n||!(r in e)){if(!n)n=Array.prototype.slice.call(e,0,r);n[r]=e[r]}}return t.concat(n||Array.prototype.slice.call(e))};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ * v1.0.0-next.469
6
+ */System.register(["./p-e9ffc73a.system.js","./p-479b2d6c.system.js","./p-38d91dfb.system.js","./p-26b7ba8c.system.js","./p-e44750b8.system.js","./p-3378c967.system.js","./p-1e79fe13.system.js","./p-b5c14068.system.js"],(function(t){"use strict";var e,a,r,i,n,o,s,c,l,d,h,u,f,p,g,v,m,w,D,y,b,x,k,A;return{setters:[function(t){e=t.r;a=t.c;r=t.h;i=t.H;n=t.g;o=t.F},function(t){s=t.T;c=t.c;l=t.d;d=t.a;h=t.b;u=t.g;f=t.H;p=t.s;g=t.i;v=t.l;m=t.e;w=t.n;D=t.f;y=t.h},function(t){b=t.a;x=t.C},function(t){k=t.u},function(t){A=t.H},function(){},function(){},function(){}],execute:function(){var R="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-width:216px}:host([scale=m]){max-width:286px}:host([scale=l]){max-width:398px}";var _=t("calcite_date_picker",function(){function t(t){var r=this;e(this,t);this.calciteDatePickerChange=a(this,"calciteDatePickerChange",7);this.calciteDatePickerRangeChange=a(this,"calciteDatePickerRangeChange",7);this.intlPrevMonth=s.prevMonth;this.intlNextMonth=s.nextMonth;this.intlYear=s.year;this.locale=document.documentElement.lang||"en";this.scale="m";this.range=false;this.proximitySelectionDisabled=false;this.keyUpHandler=function(t){if(t.key==="Escape"){r.reset()}};this.monthHeaderSelectChange=function(t){var e=new Date(t.detail);if(!r.range){r.activeDate=e}else{if(r.activeRange==="end"){r.activeEndDate=e}else{r.activeStartDate=e}r.mostRecentRangeValue=e}};this.monthActiveDateChange=function(t){var e=new Date(t.detail);if(!r.range){r.activeDate=e}else{if(r.activeRange==="end"){r.activeEndDate=e}else{r.activeStartDate=e}r.mostRecentRangeValue=e}};this.monthHoverChange=function(t){if(!r.startAsDate){r.hoverRange=undefined;return}var e=new Date(t.detail);r.hoverRange={focused:r.activeRange||"start",start:r.startAsDate,end:r.endAsDate};if(!r.proximitySelectionDisabled){if(r.endAsDate){var a=c(e,r.startAsDate);var i=c(e,r.endAsDate);if(i>0){r.hoverRange.end=e;r.hoverRange.focused="end"}else if(a<0){r.hoverRange.start=e;r.hoverRange.focused="start"}else if(a>i){r.hoverRange.start=e;r.hoverRange.focused="start"}else{r.hoverRange.end=e;r.hoverRange.focused="end"}}else{if(e<r.startAsDate){r.hoverRange={focused:"start",start:e,end:r.startAsDate}}else{r.hoverRange.end=e;r.hoverRange.focused="end"}}}else{if(!r.endAsDate){if(e<r.startAsDate){r.hoverRange={focused:"start",start:e,end:r.startAsDate}}else{r.hoverRange.end=e;r.hoverRange.focused="end"}}else{r.hoverRange=undefined}}t.stopPropagation()};this.monthMouseOutChange=function(){if(r.hoverRange){r.hoverRange=undefined}};this.reset=function(){var t,e,a,i,n,o;if(!Array.isArray(r.valueAsDate)&&r.valueAsDate&&((t=r.valueAsDate)===null||t===void 0?void 0:t.getTime())!==((e=r.activeDate)===null||e===void 0?void 0:e.getTime())){r.activeDate=new Date(r.valueAsDate)}if(r.startAsDate&&((a=r.startAsDate)===null||a===void 0?void 0:a.getTime())!==((i=r.activeStartDate)===null||i===void 0?void 0:i.getTime())){r.activeStartDate=new Date(r.startAsDate)}if(r.endAsDate&&((n=r.endAsDate)===null||n===void 0?void 0:n.getTime())!==((o=r.activeEndDate)===null||o===void 0?void 0:o.getTime())){r.activeEndDate=new Date(r.endAsDate)}};this.monthDateChange=function(t){var e=new Date(t.detail);if(!r.range){r.value=e?l(e):"";r.valueAsDate=e||null;r.activeDate=e||null;r.calciteDatePickerChange.emit(e);return}if(!r.startAsDate||!r.endAsDate&&e<r.startAsDate){if(r.startAsDate){r.setEndDate(new Date(r.startAsDate))}if(r.activeRange=="end"){r.setEndDate(e)}else{r.setStartDate(e)}}else if(!r.endAsDate){r.setEndDate(e)}else{if(!r.proximitySelectionDisabled){if(r.activeRange){if(r.activeRange=="end"){r.setEndDate(e)}else{r.setStartDate(e)}}else{var a=c(e,r.startAsDate);var i=c(e,r.endAsDate);if(i===0||a<0){r.setStartDate(e)}else if(a===0||i<0){r.setEndDate(e)}else if(a<i){r.setStartDate(e)}else{r.setEndDate(e)}}}else{r.setStartDate(e);r.endAsDate=r.activeEndDate=r.end=undefined}}r.calciteDatePickerChange.emit(e)}}t.prototype.handleValueAsDate=function(t){if(!Array.isArray(t)&&t&&t!==this.activeDate){this.activeDate=t}};t.prototype.handleRangeChange=function(){var t=this,e=t.startAsDate,a=t.endAsDate;this.activeEndDate=a;this.activeStartDate=e};t.prototype.onMinChanged=function(t){if(t){this.minAsDate=d(t)}};t.prototype.onMaxChanged=function(t){if(t){this.maxAsDate=d(t)}};t.prototype.connectedCallback=function(){if(Array.isArray(this.value)){this.valueAsDate=this.value.map((function(t){return d(t)}));this.start=this.value[0];this.end=this.value[1]}else if(this.value){this.valueAsDate=d(this.value)}if(this.start){this.setStartAsDate(d(this.start))}if(this.end){this.setEndAsDate(d(this.end))}if(this.min){this.minAsDate=d(this.min)}if(this.max){this.maxAsDate=d(this.max)}};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.loadLocaleData()];case 1:t.sent();this.onMinChanged(this.min);this.onMaxChanged(this.max);return[2]}}))}))};t.prototype.render=function(){var t;var e=h(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);var a=this.range?this.getActiveStartDate(e,this.minAsDate,this.maxAsDate):this.getActiveDate(e,this.minAsDate,this.maxAsDate);var n=a;var o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null;var s=this.getActiveEndDate(o,this.minAsDate,this.maxAsDate);if((this.activeRange==="end"||((t=this.hoverRange)===null||t===void 0?void 0:t.focused)==="end"&&(!this.proximitySelectionDisabled||o))&&s){n=s}if(this.range&&this.mostRecentRangeValue){n=this.mostRecentRangeValue}var c=this.range&&this.activeRange?this.activeRange==="start"?this.minAsDate:e||this.minAsDate:this.minAsDate;var l=this.range&&this.activeRange?this.activeRange==="start"?o||this.maxAsDate:this.maxAsDate:this.maxAsDate;return r(i,{onBlur:this.reset,onKeyUp:this.keyUpHandler,role:"application"},this.renderCalendar(n,l,c,e,o))};t.prototype.valueHandler=function(t){if(Array.isArray(t)){this.valueAsDate=t.map((function(t){return d(t)}));this.start=t[0];this.end=t[1]}else if(t){this.valueAsDate=d(t);this.start="";this.end=""}};t.prototype.startWatcher=function(t){this.setStartAsDate(d(t))};t.prototype.endWatcher=function(t){this.setEndAsDate(d(t))};t.prototype.loadLocaleData=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(a){switch(a.label){case 0:t=this.locale;e=this;return[4,u(t)];case 1:e.localeData=a.sent();return[2]}}))}))};t.prototype.renderCalendar=function(t,e,a,i,n){return this.localeData&&[r("calcite-date-picker-month-header",{activeDate:t,headingLevel:this.headingLevel||f,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,localeData:this.localeData,max:e,min:a,onCalciteDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:this.activeRange==="end"?n:i||new Date}),r("calcite-date-picker-month",{activeDate:t,endDate:this.range?n:undefined,hoverRange:this.hoverRange,localeData:this.localeData,max:e,min:a,onCalciteDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteDatePickerSelect:this.monthDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,scale:this.scale,selectedDate:this.activeRange==="end"?n:i,startDate:this.range?i:undefined})]};t.prototype.setStartAsDate=function(t,e){this.startAsDate=t;this.mostRecentRangeValue=this.startAsDate;if(e){this.calciteDatePickerRangeChange.emit({startDate:t,endDate:this.endAsDate})}};t.prototype.setEndAsDate=function(t,e){this.endAsDate=t;this.mostRecentRangeValue=this.endAsDate;if(e){this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:t})}};t.prototype.setEndDate=function(t){this.end=t?l(t):"";this.setEndAsDate(t,true);this.activeEndDate=t||null};t.prototype.setStartDate=function(t){this.start=t?l(t):"";this.setStartAsDate(t,true);this.activeStartDate=t||null};t.prototype.getActiveDate=function(t,e,a){return h(this.activeDate,e,a)||t||h(new Date,e,a)};t.prototype.getActiveStartDate=function(t,e,a){return h(this.activeStartDate,e,a)||t||h(new Date,e,a)};t.prototype.getActiveEndDate=function(t,e,a){return h(this.activeEndDate,e,a)||t||h(new Date,e,a)};Object.defineProperty(t,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{valueAsDate:["handleValueAsDate"],startAsDate:["handleRangeChange"],endAsDate:["handleRangeChange"],min:["onMinChanged"],max:["onMaxChanged"],value:["valueHandler"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}},enumerable:false,configurable:true});return t}());_.style=R;var M="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;min-width:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);width:14.2857142857%}: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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background:none;-webkit-box-shadow:0 0 0 2px transparent, 0 0 0 0px transparent;box-shadow:0 0 0 2px transparent, 0 0 0 0px transparent}.text{margin-top:1px;margin-right:0px;margin-bottom:0px;margin-left:1px}:host([scale=s]) .day-v-wrapper{padding-top:0.125rem;padding-bottom:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{height:27px;width:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=m]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]) .day{height:33px;width:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=l]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=l]) .day{height:43px;width:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px;z-index:1}:host(:focus:not([disabled])) .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText;z-index:1}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";var C=t("calcite_date_picker_day",function(){function t(t){var r=this;e(this,t);this.calciteDaySelect=a(this,"calciteDaySelect",7);this.calciteInternalDayHover=a(this,"calciteInternalDayHover",7);this.disabled=false;this.currentMonth=false;this.selected=false;this.highlighted=false;this.range=false;this.startOfRange=false;this.endOfRange=false;this.rangeHover=false;this.active=false;this.onClick=function(){!r.disabled&&r.calciteDaySelect.emit()};this.keyDownHandler=function(t){var e=t.key;if(e===" "||e==="Enter"){!r.disabled&&r.calciteDaySelect.emit()}}}t.prototype.mouseoverHandler=function(){this.calciteInternalDayHover.emit({disabled:this.disabled})};t.prototype.render=function(){var t;var e=this;var a=String(this.day).split("").map((function(t){return e.localeData.numerals[t]})).join("");var n=b(this.el);return r(i,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},r("div",{class:(t={"day-v-wrapper":true},t[x.rtl]=n==="rtl",t)},r("div",{class:"day-wrapper"},r("span",{class:"day"},r("span",{class:"text"},a)))))};t.prototype.componentDidRender=function(){k(this,this.isTabbable)};t.prototype.isTabbable=function(){return this.active};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());C.style=M;var S="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.calender{margin-bottom:0.25rem}.week-headers{display:-ms-flexbox;display:flex;border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);width:14.2857142857%}:host([scale=s]) .week-header{padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-left:0px;padding-right:0px;padding-top:0.75rem;padding-bottom:1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-left:0px;padding-right:0px;padding-top:1rem;padding-bottom:1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding-top:0px;padding-bottom:0px;padding-left:6px;padding-right:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";var P=t("calcite_date_picker_month",function(){function t(t){var r=this;e(this,t);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",7);this.calciteInternalDatePickerHover=a(this,"calciteInternalDatePickerHover",7);this.calciteDatePickerActiveDateChange=a(this,"calciteDatePickerActiveDateChange",7);this.calciteInternalDatePickerMouseOut=a(this,"calciteInternalDatePickerMouseOut",7);this.activeDate=new Date;this.keyDownHandler=function(t){var e=r.el.dir==="rtl";switch(t.key){case"ArrowUp":t.preventDefault();r.addDays(-7);break;case"ArrowRight":t.preventDefault();r.addDays(e?-1:1);break;case"ArrowDown":t.preventDefault();r.addDays(7);break;case"ArrowLeft":t.preventDefault();r.addDays(e?1:-1);break;case"PageUp":t.preventDefault();r.addMonths(-1);break;case"PageDown":t.preventDefault();r.addMonths(1);break;case"Home":t.preventDefault();r.activeDate.setDate(1);r.addDays();break;case"End":t.preventDefault();r.activeDate.setDate(new Date(r.activeDate.getFullYear(),r.activeDate.getMonth()+1,0).getDate());r.addDays();break;case"Enter":case" ":t.preventDefault();break;case"Tab":r.activeFocus=false}};this.disableActiveFocus=function(){r.activeFocus=false};this.dayHover=function(t){var e=t.target;if(t.detail.disabled){r.calciteInternalDatePickerMouseOut.emit()}else{r.calciteInternalDatePickerHover.emit(e.value)}t.stopPropagation()};this.daySelect=function(t){var e=t.target;r.calciteDatePickerSelect.emit(e.value)}}t.prototype.mouseoutHandler=function(){this.calciteInternalDatePickerMouseOut.emit()};t.prototype.render=function(){var t=this;var e=this.activeDate.getMonth();var a=this.activeDate.getFullYear();var n=this.localeData.weekStart%7;var o=this.localeData.days,s=o.abbreviated,c=o.short,l=o.narrow;var d=this.scale==="s"?l||c||s:c||s||l;var h=__spreadArray(__spreadArray([],d.slice(n,7),true),d.slice(0,n),true);var u=this.getCurrentMonthDays(e,a);var f=this.getPrevMonthdays(e,a,n);var g=this.getNextMonthDays(e,a,n);var v=__spreadArray(__spreadArray(__spreadArray([],f.map((function(r){var i=new Date(a,e-1,r);return t.renderDateDay(false,r,i)})),true),u.map((function(r){var i=new Date(a,e,r);var n=p(i,t.activeDate);return t.renderDateDay(n,r,i,true,true)})),true),g.map((function(r){var i=new Date(a,e+1,r);return t.renderDateDay(false,r,i)})),true);var m=[];for(var w=0;w<v.length;w+=7){m.push(v.slice(w,w+7))}return r(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},r("div",{class:"calender",role:"grid"},r("div",{class:"week-headers",role:"row"},h.map((function(t){return r("span",{class:"week-header",role:"columnheader"},t)}))),m.map((function(t){return r("div",{class:"week-days",role:"row"},t)}))))};t.prototype.addMonths=function(t){var e=new Date(this.activeDate);e.setMonth(this.activeDate.getMonth()+t);this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max));this.activeFocus=true};t.prototype.addDays=function(t){if(t===void 0){t=0}var e=new Date(this.activeDate);e.setDate(this.activeDate.getDate()+t);this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max));this.activeFocus=true};t.prototype.getPrevMonthdays=function(t,e,a){var r=new Date(e,t,0);var i=r.getDate();var n=r.getDay();var o=[];if(n-6===a){return o}for(var s=Math.abs(r.getDay()-a);s>=0;s--){o.push(i-s)}return o};t.prototype.getCurrentMonthDays=function(t,e){var a=new Date(e,t+1,0).getDate();var r=[];for(var i=0;i<a;i++){r.push(i+1)}return r};t.prototype.getNextMonthDays=function(t,e,a){var r=new Date(e,t+1,0).getDay();var i=[];if(r===(a+6)%7){return i}for(var n=0;n<(6-(r-a))%7;n++){i.push(n+1)}return i};t.prototype.betweenSelectedRange=function(t){return!!(this.startDate&&this.endDate&&t>this.startDate&&t<this.endDate&&!this.isRangeHover(t))};t.prototype.isSelected=function(t){return!!(p(t,this.selectedDate)||this.startDate&&p(t,this.startDate)||this.endDate&&p(t,this.endDate))};t.prototype.isStartOfRange=function(t){return!!(this.startDate&&!p(this.startDate,this.endDate)&&p(this.startDate,t)&&!this.isEndOfRange(t))};t.prototype.isEndOfRange=function(t){return!!(this.endDate&&!p(this.startDate,this.endDate)&&p(this.endDate,t)||!this.endDate&&this.hoverRange&&p(this.startDate,this.hoverRange.end)&&p(t,this.hoverRange.end))};t.prototype.renderDateDay=function(t,e,a,i,n){var o=this;var s;var c=this.isFocusedOnStart();var l=this.isHoverInRange()||!this.endDate&&this.hoverRange&&p((s=this.hoverRange)===null||s===void 0?void 0:s.end,this.startDate);return r("calcite-date-picker-day",{active:t,class:{"hover--inside-range":this.startDate&&l,"hover--outside-range":this.startDate&&!l,"focused--start":c,"focused--end":!c},currentMonth:i,day:e,disabled:!g(a,this.min,this.max),endOfRange:this.isEndOfRange(a),highlighted:this.betweenSelectedRange(a),key:a.toDateString(),localeData:this.localeData,onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!p(this.startDate,this.endDate),rangeHover:this.isRangeHover(a),ref:function(e){if(n&&t&&o.activeFocus){e===null||e===void 0?void 0:e.focus()}},scale:this.scale,selected:this.isSelected(a),startOfRange:this.isStartOfRange(a),value:a})};t.prototype.isFocusedOnStart=function(){var t;return((t=this.hoverRange)===null||t===void 0?void 0:t.focused)==="start"};t.prototype.isHoverInRange=function(){if(!this.hoverRange){return false}var t=this.hoverRange,e=t.start,a=t.end;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||a<this.endDate)||this.isFocusedOnStart()&&this.startDate&&e>this.startDate)};t.prototype.isRangeHover=function(t){if(!this.hoverRange){return false}var e=this.hoverRange,a=e.start,r=e.end;var i=this.isFocusedOnStart();var n=this.isHoverInRange();var o=n&&(!i&&t>this.startDate&&(t<r||p(t,r))||i&&t<this.endDate&&(t>a||p(t,a)));var s=!n&&(!i&&t>=this.endDate&&(t<r||p(t,r))||i&&(t<this.startDate||this.endDate&&p(t,this.startDate))&&(t>a||p(t,a)));return o||s};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());P.style=S;var z="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}:host([scale=s]) .text{margin-top:0.5rem;margin-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{height:2.25rem}:host([scale=m]) .text{margin-top:0.75rem;margin-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{height:3rem}:host([scale=l]) .text{margin-top:1rem;margin-bottom:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{height:3.5rem}.chevron{margin-left:-0.25rem;margin-right:-0.25rem;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-left:0.25rem;padding-right:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-transition-property:all;transition-property:all;-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);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;width:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-top:auto;margin-bottom:auto;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;line-height:1}.text-nreverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{margin-left:0.25rem;margin-right:0.25rem;margin-top:auto;margin-bottom:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;width:3rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;z-index:2}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{width:4rem;text-align:left}.year-wrap{position:relative}.suffix{position:absolute;top:0px;left:0px;width:4rem;white-space:nowrap;text-align:left}.suffix__invisible{visibility:hidden}";var H=t("calcite_date_picker_month_header",function(){function t(t){var r=this;e(this,t);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",7);this.onYearKey=function(t){var e=t.target.value;switch(t.key){case"ArrowDown":t.preventDefault();r.setYear({localizedYear:e,offset:-1});break;case"ArrowUp":t.preventDefault();r.setYear({localizedYear:e,offset:1});break}};this.onYearChange=function(t){r.setYear({localizedYear:t.target.value})};this.onYearInput=function(t){r.setYear({localizedYear:t.target.value,commit:false})};this.prevMonthClick=function(t){r.handleArrowClick(t,r.prevMonthDate)};this.prevMonthKeydown=function(t){var e=t.key;if(e===" "||e==="Enter"){r.prevMonthClick(t)}};this.nextMonthClick=function(t){r.handleArrowClick(t,r.nextMonthDate)};this.nextMonthKeydown=function(t){var e=t.key;if(e===" "||e==="Enter"){r.nextMonthClick(t)}};this.handleArrowClick=function(t,e){t===null||t===void 0?void 0:t.preventDefault();t.stopPropagation();r.calciteDatePickerSelect.emit(e)}}t.prototype.connectedCallback=function(){this.setNextPrevMonthDates()};t.prototype.render=function(){return r("div",{class:"header"},this.renderContent())};t.prototype.renderContent=function(){var t=this;var e;if(!this.activeDate||!this.localeData){return null}var a=this.activeDate.getMonth();var i=this.localeData,n=i.months,s=i.unitOrder;var c=(n.wide||n.narrow||n.abbreviated)[a];var l=v(this.activeDate.getFullYear(),this.localeData);var d=this.scale==="l"?"m":"s";var h=m(s);var u=h.indexOf("y")<h.indexOf("m");var f=(e=this.localeData.year)===null||e===void 0?void 0:e.suffix;return r(o,null,r("a",{"aria-disabled":(this.prevMonthDate.getMonth()===a).toString(),"aria-label":this.intlPrevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===a?-1:0},r("calcite-icon",{"flip-rtl":true,icon:"chevron-left",scale:d})),r("div",{class:{text:true,"text--reverse":u}},r(A,{class:"month",level:this.headingLevel},c),r("span",{class:"year-wrap"},r("input",{"aria-label":this.intlYear,class:{year:true,"year--suffix":!!f},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:function(e){return t.yearInput=e},type:"text",value:l}),f&&r("span",{class:"suffix"},r("span",{"aria-hidden":"true",class:"suffix__invisible"},l)," "+f))),r("a",{"aria-disabled":(this.nextMonthDate.getMonth()===a).toString(),"aria-label":this.intlNextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===a?-1:0},r("calcite-icon",{"flip-rtl":true,icon:"chevron-right",scale:d})))};t.prototype.setNextPrevMonthDates=function(){if(!this.activeDate){return}this.nextMonthDate=h(w(this.activeDate),this.min,this.max);this.prevMonthDate=h(D(this.activeDate),this.min,this.max)};t.prototype.getInRangeDate=function(t){var e=t.localizedYear,a=t.offset,r=a===void 0?0:a;var i=this,n=i.min,o=i.max,s=i.activeDate,c=i.localeData;var l=y(e,c);var d=l.toString().length;var u=isNaN(l)?false:l+r;var f=u&&(!n||n.getFullYear()<=u)&&(!o||o.getFullYear()>=u);if(u&&f&&d===e.length){var p=new Date(s);p.setFullYear(u);return h(p,n,o)}};t.prototype.setYear=function(t){var e=t.localizedYear,a=t.commit,r=a===void 0?true:a,i=t.offset,n=i===void 0?0:i;var o=this,s=o.yearInput,c=o.activeDate,l=o.localeData;var d=this.getInRangeDate({localizedYear:e,offset:n});if(d){this.calciteDatePickerSelect.emit(d)}if(r){s.value=v((d||c).getFullYear(),l)}};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}},enumerable:false,configurable:true});return t}());H.style=z}}}));
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.466
6
- */System.register(["./p-672080f2.system.js","./p-c0b7b5de.system.js","./p-bd7f1283.system.js","./p-359dc9ff.system.js","./p-0813d701.system.js","./p-59ea34c0.system.js","./p-c63df7f4.system.js","./p-1d8977ea.system.js","./p-1622b6a5.system.js"],(function(t){"use strict";var e,n,i,a,o,r,s,l,c,d,f,u,p,m,b,h,v;return{setters:[function(t){e=t.r;n=t.c;i=t.h;a=t.H;o=t.g},function(t){r=t.t;s=t.o;l=t.q;c=t.a;d=t.E;f=t.g},function(t){u=t.f;p=t.g},function(t){m=t.c},function(t){b=t.c;h=t.d},function(t){v=t.d},function(){},function(){},function(){}],execute:function(){var y={actionGroupBottom:"action-group--bottom"};var x={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var g={expand:"Expand",collapse:"Collapse"};var w="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-width:15vw}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-width:20vw}::slotted(calcite-action-group){border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}::slotted(calcite-action-group:last-child){border-bottom-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";var k=t("calcite_action_bar",function(){function t(t){var i=this;e(this,t);this.calciteActionBarToggle=n(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=m("mutation",(function(){var t=i,e=t.el,n=t.expanded;r({parent:e,expanded:n});i.conditionallyOverflowActions()}));this.resizeObserver=m("resize",(function(t){return i.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var e=t.composedPath();Array.from(i.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!e.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(i.resizeHandler)};this.resizeHandler=function(t){var e=t.contentRect.height;i.resize(e)};this.resize=v((function(t){var e;var n=i,a=n.el,o=n.expanded,r=n.expandDisabled;if(!t){return}var s=l(a);var d=r?s.length:s.length+1;var u=Array.from(a.querySelectorAll("calcite-action-group"));var m=p(a,x.bottomActions)||!r?u.length+1:u.length;var b=f({actionCount:d,actionHeight:(e=s[0])===null||e===void 0?void 0:e.clientHeight,height:t,groupCount:m});c({actionGroups:u,expanded:o,overflowCount:b})}),s);this.conditionallyOverflowActions=function(){if(!i.overflowActionsDisabled){i.overflowActions()}};this.toggleExpand=function(){i.expanded=!i.expanded;i.calciteActionBarToggle.emit()};this.setExpandToggleRef=function(t){i.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){r({parent:this.el,expanded:t})};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,i=n.el,a=n.expanded;r({parent:i,expanded:a});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(i,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(i)}this.conditionallyOverflowActions();b(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();h(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize(this.el.clientHeight);return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,u(this.expandToggleEl)];case 1:e.sent();return[2];case 2:this.el.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,a=t.intlExpand,o=t.intlCollapse,r=t.el,s=t.position,l=t.toggleExpand,c=t.scale;var f=p(r,x.expandTooltip);var u=a||g.expand;var m=o||g.collapse;var b=!n?i(d,{el:r,expanded:e,intlCollapse:m,intlExpand:u,position:s,ref:this.setExpandToggleRef,scale:c,toggle:l,tooltip:f}):null;return p(r,x.bottomActions)||b?i("calcite-action-group",{class:y.actionGroupBottom,scale:c},i("slot",{name:x.bottomActions}),i("slot",{name:x.expandTooltip}),b):null};t.prototype.render=function(){return i(a,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}());k.style=w}}}));
5
+ * v1.0.0-next.469
6
+ */System.register(["./p-e9ffc73a.system.js","./p-a034f678.system.js","./p-38d91dfb.system.js","./p-15dabc96.system.js","./p-0a5c52ab.system.js","./p-a5e9ab9d.system.js","./p-0444116b.system.js","./p-997b25f6.system.js","./p-b5c14068.system.js"],(function(t){"use strict";var e,n,i,a,o,r,s,l,c,d,f,u,p,m,b,h,v;return{setters:[function(t){e=t.r;n=t.c;i=t.h;a=t.H;o=t.g},function(t){r=t.t;s=t.o;l=t.q;c=t.a;d=t.E;f=t.g},function(t){u=t.f;p=t.g},function(t){m=t.c},function(t){b=t.c;h=t.d},function(t){v=t.d},function(){},function(){},function(){}],execute:function(){var y={actionGroupBottom:"action-group--bottom"};var x={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var g={expand:"Expand",collapse:"Collapse"};var w="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-width:15vw}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-width:20vw}::slotted(calcite-action-group){border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}::slotted(calcite-action-group:last-child){border-bottom-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";var k=t("calcite_action_bar",function(){function t(t){var i=this;e(this,t);this.calciteActionBarToggle=n(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=m("mutation",(function(){var t=i,e=t.el,n=t.expanded;r({parent:e,expanded:n});i.conditionallyOverflowActions()}));this.resizeObserver=m("resize",(function(t){return i.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var e=t.composedPath();Array.from(i.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!e.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(i.resizeHandler)};this.resizeHandler=function(t){var e=t.contentRect.height;i.resize(e)};this.resize=v((function(t){var e;var n=i,a=n.el,o=n.expanded,r=n.expandDisabled;if(!t){return}var s=l(a);var d=r?s.length:s.length+1;var u=Array.from(a.querySelectorAll("calcite-action-group"));var m=p(a,x.bottomActions)||!r?u.length+1:u.length;var b=f({actionCount:d,actionHeight:(e=s[0])===null||e===void 0?void 0:e.clientHeight,height:t,groupCount:m});c({actionGroups:u,expanded:o,overflowCount:b})}),s);this.conditionallyOverflowActions=function(){if(!i.overflowActionsDisabled){i.overflowActions()}};this.toggleExpand=function(){i.expanded=!i.expanded;i.calciteActionBarToggle.emit()};this.setExpandToggleRef=function(t){i.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){r({parent:this.el,expanded:t})};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,i=n.el,a=n.expanded;r({parent:i,expanded:a});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(i,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(i)}this.conditionallyOverflowActions();b(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();h(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize(this.el.clientHeight);return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,u(this.expandToggleEl)];case 1:e.sent();return[2];case 2:this.el.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,a=t.intlExpand,o=t.intlCollapse,r=t.el,s=t.position,l=t.toggleExpand,c=t.scale;var f=p(r,x.expandTooltip);var u=a||g.expand;var m=o||g.collapse;var b=!n?i(d,{el:r,expanded:e,intlCollapse:m,intlExpand:u,position:s,ref:this.setExpandToggleRef,scale:c,toggle:l,tooltip:f}):null;return p(r,x.bottomActions)||b?i("calcite-action-group",{class:y.actionGroupBottom,scale:c},i("slot",{name:x.bottomActions}),i("slot",{name:x.expandTooltip}),b):null};t.prototype.render=function(){return i(a,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}());k.style=w}}}));
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,n,e,a){function i(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.466
6
- */System.register(["./p-672080f2.system.js","./p-bd7f1283.system.js","./p-359dc9ff.system.js","./p-1622b6a5.system.js"],(function(t){"use strict";var n,e,a,i,r,o,c,s;return{setters:[function(t){n=t.a;e=t.r;a=t.h;i=t.H;r=t.g},function(t){o=t.a;c=t.t},function(t){s=t.c},function(){}],execute:function(){var l={icon:"icon",flipRtl:"flip-rtl"};var f={};var u={};var m={s:16,m:24,l:32};function h(t){var e=t.icon,a=t.scale;return __awaiter(this,void 0,void 0,(function(){var t,i,r,o,c,s;return __generator(this,(function(l){switch(l.label){case 0:t=m[a];i=p(e);r=i.charAt(i.length-1)==="F";o=r?i.substring(0,i.length-1):i;c="".concat(o).concat(t).concat(r?"F":"");if(f[c]){return[2,f[c]]}if(!u[c]){u[c]=fetch(n("./assets/icon/".concat(c,".json"))).then((function(t){return t.json()})).catch((function(){console.error('"'.concat(c,'" is not a valid calcite-ui-icon name'));return""}))}return[4,u[c]];case 1:s=l.sent();f[c]=s;return[2,s]}}))}))}function p(t){var n=!isNaN(Number(t.charAt(0)));var e=t.split("-");if(e.length===1){return n?"i".concat(t):t}return e.map((function(t,e){if(e===0){return n?"i".concat(t.toUpperCase()):t}return t.charAt(0).toUpperCase()+t.slice(1)})).join("")}var b="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host([scale=m]){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host([scale=l]){height:2rem;width:2rem;min-width:2rem;min-height:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";var d=t("calcite_icon",function(){function t(t){e(this,t);this.icon=null;this.flipRtl=false;this.scale="m";this.visible=false}t.prototype.connectedCallback=function(){var t=this;this.waitUntilVisible((function(){t.visible=true;t.loadIconPathData()}))};t.prototype.disconnectedCallback=function(){var t;(t=this.intersectionObserver)===null||t===void 0?void 0:t.disconnect();this.intersectionObserver=null};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.loadIconPathData();return[2]}))}))};t.prototype.render=function(){var t;var n=this,e=n.el,r=n.flipRtl,s=n.pathData,f=n.scale,u=n.textLabel;var h=o(e);var p=m[f];var b=!!u;var d=[].concat(s||"");return a(i,{"aria-hidden":c(!b),"aria-label":b?u:null,role:b?"img":null},a("svg",{class:(t={},t[l.flipRtl]=h==="rtl"&&r,t.svg=true,t),fill:"currentColor",height:"100%",viewBox:"0 0 ".concat(p," ").concat(p),width:"100%",xmlns:"http://www.w3.org/2000/svg"},d.map((function(t){return typeof t==="string"?a("path",{d:t}):a("path",{d:t.d,opacity:"opacity"in t?t.opacity:1})}))))};t.prototype.loadIconPathData=function(){return __awaiter(this,void 0,void 0,(function(){var t,n,e,a,i;return __generator(this,(function(r){switch(r.label){case 0:t=this,n=t.icon,e=t.scale,a=t.visible;if(!n||!a){return[2]}i=this;return[4,h({icon:n,scale:e})];case 1:i.pathData=r.sent();return[2]}}))}))};t.prototype.waitUntilVisible=function(t){var n=this;this.intersectionObserver=s("intersection",(function(e){e.forEach((function(e){if(e.isIntersecting){n.intersectionObserver.disconnect();n.intersectionObserver=null;t()}}))}),{rootMargin:"50px"});if(!this.intersectionObserver){t();return}this.intersectionObserver.observe(this.el)};Object.defineProperty(t,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}},enumerable:false,configurable:true});return t}());d.style=b}}}));
5
+ * v1.0.0-next.469
6
+ */System.register(["./p-e9ffc73a.system.js","./p-38d91dfb.system.js","./p-15dabc96.system.js","./p-b5c14068.system.js"],(function(t){"use strict";var n,e,a,i,r,o,c,s;return{setters:[function(t){n=t.a;e=t.r;a=t.h;i=t.H;r=t.g},function(t){o=t.a;c=t.t},function(t){s=t.c},function(){}],execute:function(){var l={icon:"icon",flipRtl:"flip-rtl"};var f={};var u={};var m={s:16,m:24,l:32};function h(t){var e=t.icon,a=t.scale;return __awaiter(this,void 0,void 0,(function(){var t,i,r,o,c,s;return __generator(this,(function(l){switch(l.label){case 0:t=m[a];i=p(e);r=i.charAt(i.length-1)==="F";o=r?i.substring(0,i.length-1):i;c="".concat(o).concat(t).concat(r?"F":"");if(f[c]){return[2,f[c]]}if(!u[c]){u[c]=fetch(n("./assets/icon/".concat(c,".json"))).then((function(t){return t.json()})).catch((function(){console.error('"'.concat(c,'" is not a valid calcite-ui-icon name'));return""}))}return[4,u[c]];case 1:s=l.sent();f[c]=s;return[2,s]}}))}))}function p(t){var n=!isNaN(Number(t.charAt(0)));var e=t.split("-");if(e.length===1){return n?"i".concat(t):t}return e.map((function(t,e){if(e===0){return n?"i".concat(t.toUpperCase()):t}return t.charAt(0).toUpperCase()+t.slice(1)})).join("")}var b="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host([scale=m]){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host([scale=l]){height:2rem;width:2rem;min-width:2rem;min-height:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";var d=t("calcite_icon",function(){function t(t){e(this,t);this.icon=null;this.flipRtl=false;this.scale="m";this.visible=false}t.prototype.connectedCallback=function(){var t=this;this.waitUntilVisible((function(){t.visible=true;t.loadIconPathData()}))};t.prototype.disconnectedCallback=function(){var t;(t=this.intersectionObserver)===null||t===void 0?void 0:t.disconnect();this.intersectionObserver=null};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.loadIconPathData();return[2]}))}))};t.prototype.render=function(){var t;var n=this,e=n.el,r=n.flipRtl,s=n.pathData,f=n.scale,u=n.textLabel;var h=o(e);var p=m[f];var b=!!u;var d=[].concat(s||"");return a(i,{"aria-hidden":c(!b),"aria-label":b?u:null,role:b?"img":null},a("svg",{class:(t={},t[l.flipRtl]=h==="rtl"&&r,t.svg=true,t),fill:"currentColor",height:"100%",viewBox:"0 0 ".concat(p," ").concat(p),width:"100%",xmlns:"http://www.w3.org/2000/svg"},d.map((function(t){return typeof t==="string"?a("path",{d:t}):a("path",{d:t.d,opacity:"opacity"in t?t.opacity:1})}))))};t.prototype.loadIconPathData=function(){return __awaiter(this,void 0,void 0,(function(){var t,n,e,a,i;return __generator(this,(function(r){switch(r.label){case 0:t=this,n=t.icon,e=t.scale,a=t.visible;if(!n||!a){return[2]}i=this;return[4,h({icon:n,scale:e})];case 1:i.pathData=r.sent();return[2]}}))}))};t.prototype.waitUntilVisible=function(t){var n=this;this.intersectionObserver=s("intersection",(function(e){e.forEach((function(e){if(e.isIntersecting){n.intersectionObserver.disconnect();n.intersectionObserver=null;t()}}))}),{rootMargin:"50px"});if(!this.intersectionObserver){t();return}this.intersectionObserver.observe(this.el)};Object.defineProperty(t,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}},enumerable:false,configurable:true});return t}());d.style=b}}}));
@@ -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.466
4
+ * v1.0.0-next.469
5
5
  */
6
- System.register(["./p-c52ed8af.system.js"],(function(r){"use strict";var e,n,t;return{setters:[function(r){e=r.a;n=r.i;t=r.b}],execute:function(){r({d:o,g:v,l:m});var a=r("a",["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]);var u=new RegExp("[.](?=.*[.])","g");var i=new RegExp("[^0-9-.]","g");var c=new RegExp(",","g");function f(r){return new Intl.NumberFormat(r,{minimumFractionDigits:0,maximumFractionDigits:20})}function o(r,t){return e(r,(function(r){var e=r.replace(l(t),"-").replace(s(t),"").replace(v(t),".").replace(u,"").replace(i,"");return n(e)?e:r}))}function s(r){var e=f(r);var n=e.formatToParts(1234567);var t=n.find((function(r){return r.type==="group"})).value;return t.trim().length===0?" ":t}function v(r){var e=f(r);var n=e.formatToParts(1.1);return n.find((function(r){return r.type==="decimal"})).value}function l(r){var e=f(r);var n=e.formatToParts(-9);return n.find((function(r){return r.type==="minusSign"})).value}function m(r,n,a){if(a===void 0){a=false}return e(r,(function(r){if(r){var e=Number(t(r.replace(c,"")));if(!isNaN(e)){var u=f(n);var i=u.formatToParts(e);var o=i.map((function(r){var e=r.type,t=r.value;switch(e){case"group":return a?s(n):"";case"decimal":return v(n);case"minusSign":return l(n);default:return t}})).reduce((function(r,e){return r+e}));return o}}return r}))}}}}));
6
+ System.register(["./p-1e79fe13.system.js"],(function(r){"use strict";var e,n,t;return{setters:[function(r){e=r.a;n=r.i;t=r.b}],execute:function(){r({d:o,g:v,l:m});var a=r("a",["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]);var u=new RegExp("[.](?=.*[.])","g");var i=new RegExp("[^0-9-.]","g");var c=new RegExp(",","g");function f(r){return new Intl.NumberFormat(r,{minimumFractionDigits:0,maximumFractionDigits:20})}function o(r,t){return e(r,(function(r){var e=r.replace(l(t),"-").replace(s(t),"").replace(v(t),".").replace(u,"").replace(i,"");return n(e)?e:r}))}function s(r){var e=f(r);var n=e.formatToParts(1234567);var t=n.find((function(r){return r.type==="group"})).value;return t.trim().length===0?" ":t}function v(r){var e=f(r);var n=e.formatToParts(1.1);return n.find((function(r){return r.type==="decimal"})).value}function l(r){var e=f(r);var n=e.formatToParts(-9);return n.find((function(r){return r.type==="minusSign"})).value}function m(r,n,a){if(a===void 0){a=false}return e(r,(function(r){if(r){var e=Number(t(r.replace(c,"")));if(!isNaN(e)){var u=f(n);var i=u.formatToParts(e);var o=i.map((function(r){var e=r.type,t=r.value;switch(e){case"group":return a?s(n):"";case"decimal":return v(n);case"minusSign":return l(n);default:return t}})).reduce((function(r,e){return r+e}));return o}}return r}))}}}}));