@esri/calcite-components 1.0.0-next.556 → 1.0.0-next.559

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 (969) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -2
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-1886398f.entry.js → p-03d542f4.entry.js} +2 -2
  5. package/dist/calcite/{p-7766ddc2.system.js → p-04a25a81.system.js} +1 -1
  6. package/dist/calcite/p-05829d04.entry.js +6 -0
  7. package/dist/calcite/p-06a38846.entry.js +6 -0
  8. package/dist/calcite/{p-f0ff8d83.entry.js → p-06f11c4e.entry.js} +2 -2
  9. package/dist/calcite/p-0a77887c.entry.js +6 -0
  10. package/dist/calcite/p-0b653287.system.entry.js +6 -0
  11. package/dist/calcite/{p-f79661f0.entry.js → p-0bf072c3.entry.js} +2 -2
  12. package/dist/calcite/{p-fc12f99e.js → p-0c2bf0c6.js} +1 -1
  13. package/dist/calcite/p-0fbd8711.system.entry.js +6 -0
  14. package/dist/calcite/p-10e9b11f.entry.js +6 -0
  15. package/dist/calcite/p-115bd6db.entry.js +6 -0
  16. package/dist/calcite/{p-0ad78e61.js → p-118cd67c.js} +1 -1
  17. package/dist/calcite/{p-5e728d5f.js → p-13c530e6.js} +1 -1
  18. package/dist/calcite/{p-33a3bf9f.system.js → p-142a543c.system.js} +1 -1
  19. package/dist/calcite/p-1639c4dc.js +7 -0
  20. package/dist/calcite/p-171606f0.entry.js +6 -0
  21. package/dist/calcite/{p-326d61e7.system.js → p-191b4beb.system.js} +1 -1
  22. package/dist/calcite/p-1b8baf94.entry.js +6 -0
  23. package/dist/calcite/p-1d2b54b0.system.entry.js +6 -0
  24. package/dist/calcite/p-1e145df2.entry.js +6 -0
  25. package/dist/calcite/p-22214647.entry.js +6 -0
  26. package/dist/calcite/p-2554ce25.entry.js +6 -0
  27. package/dist/calcite/{p-0e9102ac.system.entry.js → p-2563538f.system.entry.js} +2 -2
  28. package/dist/calcite/p-25b4492c.entry.js +6 -0
  29. package/dist/calcite/{p-d7ac85d7.system.entry.js → p-269923ad.system.entry.js} +2 -2
  30. package/dist/calcite/{p-997a3daa.js → p-27e6a383.js} +1 -1
  31. package/dist/calcite/p-2a106ec3.system.entry.js +6 -0
  32. package/dist/calcite/p-2b4c8a3a.entry.js +6 -0
  33. package/dist/calcite/p-2d2f20d2.entry.js +6 -0
  34. package/dist/calcite/p-2d9c0cc9.entry.js +6 -0
  35. package/dist/calcite/p-2dfa0397.entry.js +6 -0
  36. package/dist/calcite/p-3217706d.entry.js +6 -0
  37. package/dist/calcite/{p-d2102cf0.system.js → p-3609cc3a.system.js} +1 -1
  38. package/dist/calcite/p-37498ec9.system.entry.js +6 -0
  39. package/dist/calcite/{p-eb1fa8a7.system.entry.js → p-37b5ab4e.system.entry.js} +2 -2
  40. package/dist/calcite/p-37b7a067.system.entry.js +6 -0
  41. package/dist/calcite/p-38a50251.system.entry.js +6 -0
  42. package/dist/calcite/p-38af76f3.js +6 -0
  43. package/dist/calcite/{p-3116eb16.system.js → p-3955fb18.system.js} +2 -2
  44. package/dist/calcite/{p-5002689a.js → p-3d0528a3.js} +1 -1
  45. package/dist/calcite/p-3d5c483e.system.entry.js +6 -0
  46. package/dist/calcite/p-3e68d709.entry.js +6 -0
  47. package/dist/calcite/{p-a20caf86.entry.js → p-403a73c4.entry.js} +2 -2
  48. package/dist/calcite/{p-50a678e9.system.entry.js → p-40fc130a.system.entry.js} +2 -2
  49. package/dist/calcite/p-419ee9aa.system.entry.js +6 -0
  50. package/dist/calcite/p-484be887.entry.js +6 -0
  51. package/dist/calcite/p-48663efd.system.entry.js +6 -0
  52. package/dist/calcite/{p-576a68ad.js → p-49c5dd7f.js} +1 -1
  53. package/dist/calcite/p-49dc0d00.js +6 -0
  54. package/dist/calcite/{p-7a8dc196.system.entry.js → p-4ba0bd34.entry.js} +3 -3
  55. package/dist/calcite/p-4c2d2b76.system.entry.js +6 -0
  56. package/dist/calcite/p-4e65fbf8.entry.js +6 -0
  57. package/dist/calcite/p-50cc9f99.js +6 -0
  58. package/dist/calcite/{p-0865b1c4.system.entry.js → p-516e7dac.system.entry.js} +2 -2
  59. package/dist/calcite/{p-a530e53f.system.js → p-51877626.system.js} +1 -1
  60. package/dist/calcite/{p-70152b55.system.js → p-520c20d6.system.js} +1 -1
  61. package/dist/calcite/p-523f75df.system.entry.js +6 -0
  62. package/dist/calcite/{p-3e4fc663.js → p-52605b46.js} +2 -2
  63. package/dist/calcite/{p-8b5a056d.system.js → p-55b90362.system.js} +1 -1
  64. package/dist/calcite/p-58be6f09.system.entry.js +6 -0
  65. package/dist/calcite/{p-f540b806.system.js → p-5a6d196f.system.js} +2 -2
  66. package/dist/calcite/p-5c11a9c4.entry.js +6 -0
  67. package/dist/calcite/p-5ed5f66a.system.entry.js +6 -0
  68. package/dist/calcite/{p-e0f120b1.js → p-5eee7770.js} +1 -1
  69. package/dist/calcite/p-61380cbc.entry.js +6 -0
  70. package/dist/calcite/p-61b21778.system.entry.js +6 -0
  71. package/dist/calcite/p-6678cd35.entry.js +6 -0
  72. package/dist/calcite/p-6ab5f989.system.js +6 -0
  73. package/dist/calcite/{p-1a4731f1.system.entry.js → p-6b1bd5b3.system.entry.js} +2 -2
  74. package/dist/calcite/p-6bf681da.entry.js +6 -0
  75. package/dist/calcite/p-6bfd1f64.entry.js +6 -0
  76. package/dist/calcite/p-6c51c2e7.system.entry.js +6 -0
  77. package/dist/calcite/{p-48f5a675.system.js → p-6c741275.system.js} +1 -1
  78. package/dist/calcite/p-6fd5f607.entry.js +6 -0
  79. package/dist/calcite/p-710ada7a.system.entry.js +6 -0
  80. package/dist/calcite/p-7140d803.system.entry.js +6 -0
  81. package/dist/calcite/p-716c7b36.system.js +6 -0
  82. package/dist/calcite/p-71fe5470.system.entry.js +6 -0
  83. package/dist/calcite/{p-51e58ac3.system.js → p-72453cd1.system.js} +1 -1
  84. package/dist/calcite/p-735c1a05.entry.js +6 -0
  85. package/dist/calcite/{p-05fe3ea5.js → p-74a46c20.js} +2 -2
  86. package/dist/calcite/p-74c13238.system.entry.js +6 -0
  87. package/dist/calcite/p-758c8bf6.entry.js +6 -0
  88. package/dist/calcite/p-76baf89b.system.js +7 -0
  89. package/dist/calcite/{p-79359620.system.js → p-770702d4.system.js} +1 -1
  90. package/dist/calcite/{p-a86406ed.system.js → p-79dba19a.system.js} +2 -2
  91. package/dist/calcite/{p-cef9685e.system.js → p-7ab8536b.system.js} +2 -2
  92. package/dist/calcite/p-7ae271dc.system.entry.js +6 -0
  93. package/dist/calcite/p-7d20e5b1.entry.js +6 -0
  94. package/dist/calcite/{p-4e299082.system.js → p-82884d34.system.js} +2 -2
  95. package/dist/calcite/p-83202085.system.entry.js +6 -0
  96. package/dist/calcite/p-83e12e96.system.entry.js +6 -0
  97. package/dist/calcite/p-83fadd53.system.entry.js +6 -0
  98. package/dist/calcite/p-84f0cd63.system.entry.js +6 -0
  99. package/dist/calcite/p-866a708f.entry.js +6 -0
  100. package/dist/calcite/p-8677bedd.system.entry.js +6 -0
  101. package/dist/calcite/p-86c15989.system.entry.js +6 -0
  102. package/dist/calcite/{p-aacb2155.js → p-882514e4.js} +2 -2
  103. package/dist/calcite/{p-c5166dab.system.entry.js → p-88f6ce9a.system.entry.js} +2 -2
  104. package/dist/calcite/p-89f3b362.entry.js +6 -0
  105. package/dist/calcite/p-8a732bb1.entry.js +6 -0
  106. package/dist/calcite/p-8f86dd6a.system.entry.js +6 -0
  107. package/dist/calcite/p-90aaf7e9.system.js +6 -0
  108. package/dist/calcite/p-921928b3.system.entry.js +6 -0
  109. package/dist/calcite/{p-a683a9bb.js → p-943ab787.js} +2 -2
  110. package/dist/calcite/{p-7369776f.js → p-947f8b63.js} +2 -2
  111. package/dist/calcite/p-958994f3.entry.js +6 -0
  112. package/dist/calcite/p-9677f628.entry.js +6 -0
  113. package/dist/calcite/p-985f49f2.entry.js +6 -0
  114. package/dist/calcite/{p-bbaad92f.system.js → p-9e0a3d06.system.js} +2 -2
  115. package/dist/calcite/p-9e740a59.entry.js +6 -0
  116. package/dist/calcite/{p-19248611.js → p-9f20d202.js} +1 -1
  117. package/dist/calcite/{p-0a755cdf.system.js → p-9ffa7d9c.system.js} +1 -1
  118. package/dist/calcite/p-a1c4a6ad.entry.js +6 -0
  119. package/dist/calcite/p-a2ef8419.entry.js +6 -0
  120. package/dist/calcite/{p-8afb9e1c.system.js → p-a3a7e041.system.js} +1 -1
  121. package/dist/calcite/p-a66190e2.entry.js +6 -0
  122. package/dist/calcite/{p-d579af0f.system.js → p-a6ca43e9.system.js} +2 -2
  123. package/dist/calcite/p-a9d79c6d.system.entry.js +6 -0
  124. package/dist/calcite/p-ab146ba9.system.js +6 -0
  125. package/dist/calcite/{p-dd735a43.js → p-ab9c30fe.js} +1 -1
  126. package/dist/calcite/p-abf3ff6a.entry.js +6 -0
  127. package/dist/calcite/{p-5d6bb522.system.js → p-adb45637.system.js} +2 -2
  128. package/dist/calcite/{p-6daf675b.entry.js → p-aff938dd.entry.js} +2 -2
  129. package/dist/calcite/{p-da9458eb.js → p-b0992691.js} +1 -1
  130. package/dist/calcite/p-b2367c17.system.entry.js +6 -0
  131. package/dist/calcite/p-b2e27974.entry.js +6 -0
  132. package/dist/calcite/p-b3361861.system.entry.js +6 -0
  133. package/dist/calcite/p-b3d0be1e.system.entry.js +6 -0
  134. package/dist/calcite/p-b3fedb93.system.entry.js +6 -0
  135. package/dist/calcite/p-b5a79a12.system.entry.js +6 -0
  136. package/dist/calcite/{p-b5103bd6.system.js → p-b8bab335.system.js} +2 -2
  137. package/dist/calcite/{p-b19f561c.system.js → p-b8f65b33.system.js} +1 -1
  138. package/dist/calcite/{p-f6fae0da.entry.js → p-b95252ab.entry.js} +2 -2
  139. package/dist/calcite/{p-af62631d.js → p-ba40c0b3.js} +1 -1
  140. package/dist/calcite/{p-19ef2670.entry.js → p-bc479d34.entry.js} +2 -2
  141. package/dist/calcite/p-bca0cdbb.entry.js +6 -0
  142. package/dist/calcite/p-bd9d402e.system.js +6 -0
  143. package/dist/calcite/p-be591017.js +6 -0
  144. package/dist/calcite/p-be799a6e.system.entry.js +6 -0
  145. package/dist/calcite/p-c5642352.js +6 -0
  146. package/dist/calcite/p-c594efbb.js +6 -0
  147. package/dist/calcite/p-c6b6d7b5.system.entry.js +6 -0
  148. package/dist/calcite/p-c8076a86.entry.js +6 -0
  149. package/dist/calcite/{p-eea677b9.js → p-c8483877.js} +1 -1
  150. package/dist/calcite/p-cf4a4137.system.entry.js +6 -0
  151. package/dist/calcite/p-cf64cbd8.system.entry.js +6 -0
  152. package/dist/calcite/p-d238c129.js +6 -0
  153. package/dist/calcite/p-d60c8771.system.entry.js +6 -0
  154. package/dist/calcite/{p-a0cad5d7.js → p-d74290a4.js} +1 -1
  155. package/dist/calcite/p-d81dfb83.system.entry.js +6 -0
  156. package/dist/calcite/{p-5f4e9358.system.entry.js → p-d8cfce90.system.entry.js} +2 -2
  157. package/dist/calcite/p-d9f6894b.system.entry.js +6 -0
  158. package/dist/calcite/p-da55a2a2.system.entry.js +6 -0
  159. package/dist/calcite/p-db425a98.system.entry.js +6 -0
  160. package/dist/calcite/{p-fd4f16b4.system.js → p-dc2c9e6a.system.js} +1 -1
  161. package/dist/calcite/{p-7d0ab794.entry.js → p-dd35b795.entry.js} +2 -2
  162. package/dist/calcite/p-dd9ade49.system.entry.js +6 -0
  163. package/dist/calcite/p-e0eff4ba.entry.js +6 -0
  164. package/dist/calcite/p-e14292e0.entry.js +6 -0
  165. package/dist/calcite/p-e4c07a30.entry.js +6 -0
  166. package/dist/calcite/{p-6eced7b5.system.entry.js → p-e54fe96b.system.entry.js} +2 -2
  167. package/dist/calcite/p-e6774958.system.entry.js +6 -0
  168. package/dist/calcite/p-eb3679d8.system.entry.js +6 -0
  169. package/dist/calcite/{p-be74a343.js → p-f48a4d09.js} +2 -2
  170. package/dist/calcite/{p-bbc42dac.entry.js → p-f627cf89.entry.js} +2 -2
  171. package/dist/calcite/p-f9a72798.entry.js +6 -0
  172. package/dist/calcite/p-fb709767.system.entry.js +6 -0
  173. package/dist/calcite/p-fcac4bbd.entry.js +6 -0
  174. package/dist/calcite/p-fcbf80fa.entry.js +6 -0
  175. package/dist/calcite/p-fd46a8ac.system.entry.js +6 -0
  176. package/dist/calcite/p-fdfb78fe.entry.js +6 -0
  177. package/dist/calcite/p-fedbc7d8.system.entry.js +6 -0
  178. package/dist/cjs/{ExpandToggle-b50957be.js → ExpandToggle-31eb7dee.js} +5 -5
  179. package/dist/cjs/{Heading-1b066533.js → Heading-8534111e.js} +2 -2
  180. package/dist/cjs/app-globals-04826f1f.js +50 -0
  181. package/dist/cjs/{array-5ca2f088.js → array-fa4ffb86.js} +1 -1
  182. package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -7
  183. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -10
  184. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -8
  185. package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -8
  186. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -9
  187. package/dist/cjs/calcite-action.cjs.entry.js +7 -6
  188. package/dist/cjs/calcite-alert.cjs.entry.js +7 -6
  189. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -5
  190. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -9
  191. package/dist/cjs/calcite-button.cjs.entry.js +9 -8
  192. package/dist/cjs/calcite-card.cjs.entry.js +7 -6
  193. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -8
  194. package/dist/cjs/calcite-chip.cjs.entry.js +7 -6
  195. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
  196. package/dist/cjs/calcite-combobox_3.cjs.entry.js +39 -20
  197. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -18
  198. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +36 -19
  199. package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
  200. package/dist/cjs/calcite-filter.cjs.entry.js +9 -7
  201. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  202. package/dist/cjs/calcite-graph_2.cjs.entry.js +23 -22
  203. package/dist/cjs/calcite-handle.cjs.entry.js +7 -4
  204. package/dist/cjs/calcite-icon.cjs.entry.js +6 -5
  205. package/dist/cjs/calcite-inline-editable.cjs.entry.js +23 -19
  206. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -16
  207. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -4
  208. package/dist/cjs/calcite-input-number.cjs.entry.js +17 -14
  209. package/dist/cjs/calcite-input-text.cjs.entry.js +14 -11
  210. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +32 -13
  211. package/dist/cjs/calcite-input.cjs.entry.js +17 -14
  212. package/dist/cjs/calcite-label.cjs.entry.js +6 -5
  213. package/dist/cjs/calcite-link.cjs.entry.js +7 -6
  214. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -8
  215. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  216. package/dist/cjs/calcite-modal.cjs.entry.js +10 -8
  217. package/dist/cjs/calcite-notice.cjs.entry.js +8 -7
  218. package/dist/cjs/calcite-option_3.cjs.entry.js +14 -13
  219. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-panel.cjs.entry.js +12 -10
  221. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -11
  222. package/dist/cjs/calcite-popover_2.cjs.entry.js +17 -11
  223. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  224. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  225. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -8
  226. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -7
  227. package/dist/cjs/calcite-rating.cjs.entry.js +10 -9
  228. package/dist/cjs/calcite-scrim.cjs.entry.js +4 -5
  229. package/dist/cjs/calcite-shell_3.cjs.entry.js +18 -17
  230. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  231. package/dist/cjs/calcite-split-button.cjs.entry.js +17 -13
  232. package/dist/cjs/calcite-stepper_2.cjs.entry.js +23 -22
  233. package/dist/cjs/calcite-switch.cjs.entry.js +15 -15
  234. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -6
  235. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  236. package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
  237. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -7
  238. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +12 -6
  239. package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -10
  240. package/dist/cjs/calcite-value-list_2.cjs.entry.js +15 -11
  241. package/dist/cjs/calcite.cjs.js +6 -3
  242. package/dist/cjs/{conditionalSlot-c9e8a19a.js → conditionalSlot-7b7b65f3.js} +3 -3
  243. package/dist/cjs/{debounce-f9c5fb44.js → debounce-5d084634.js} +1 -1
  244. package/dist/cjs/{dom-70b983a2.js → dom-1a30c464.js} +4 -18
  245. package/dist/cjs/{filter-328c7b8b.js → filter-4275ac6d.js} +2 -2
  246. package/dist/cjs/{floating-ui-8a544187.js → floating-ui-f811e8c4.js} +59 -10
  247. package/dist/cjs/{form-7e91825a.js → form-857dcd62.js} +6 -4
  248. package/dist/cjs/{guid-bb58e051.js → guid-dd5800b6.js} +1 -1
  249. package/dist/cjs/{index-fd388681.js → index-8842c1e0.js} +5 -10
  250. package/dist/cjs/index.cjs.js +1 -1
  251. package/dist/cjs/{interactive-93b0bea2.js → interactive-960fb2fb.js} +1 -1
  252. package/dist/cjs/{interfaces-8051a72f.js → interfaces-468230c4.js} +1 -1
  253. package/dist/cjs/{key-a8b30c50.js → key-5b9005ff.js} +1 -1
  254. package/dist/cjs/{label-4c18233e.js → label-b60354cb.js} +2 -2
  255. package/dist/cjs/loader.cjs.js +6 -3
  256. package/dist/cjs/{locale-b7df0b1f.js → locale-6cf57424.js} +2 -2
  257. package/dist/cjs/{math-a3254e0c.js → math-3788d662.js} +1 -1
  258. package/dist/cjs/{observers-ec5cb025.js → observers-27f5884d.js} +1 -1
  259. package/dist/cjs/{openCloseComponent-03671cb7.js → openCloseComponent-e60e1062.js} +1 -1
  260. package/dist/cjs/{resources-efcf402f.js → resources-15d4f550.js} +1 -1
  261. package/dist/cjs/{resources-5c096e0b.js → resources-b0a2583b.js} +3 -3
  262. package/dist/cjs/resources-bf3fa84c.js +24 -0
  263. package/dist/cjs/{resources-de0d48aa.js → resources-ca171f68.js} +1 -1
  264. package/dist/cjs/{resources-0fa70b4c.js → resources-e1b7244d.js} +5 -5
  265. package/dist/cjs/{sortable.esm-00e9d640.js → sortable.esm-bb913d5c.js} +1 -1
  266. package/dist/cjs/{utils-e1a09f13.js → utils-f97c06fe.js} +1 -1
  267. package/dist/collection/collection-manifest.json +3 -2
  268. package/dist/collection/components/accordion/accordion.js +1 -1
  269. package/dist/collection/components/accordion/interfaces.js +1 -1
  270. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  271. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  272. package/dist/collection/components/accordion-item/resources.js +1 -1
  273. package/dist/collection/components/action/action.js +1 -1
  274. package/dist/collection/components/action/resources.js +1 -1
  275. package/dist/collection/components/action-bar/action-bar.js +1 -1
  276. package/dist/collection/components/action-bar/resources.js +1 -1
  277. package/dist/collection/components/action-bar/utils.js +1 -1
  278. package/dist/collection/components/action-group/action-group.js +1 -1
  279. package/dist/collection/components/action-group/resources.js +1 -1
  280. package/dist/collection/components/action-menu/action-menu.js +9 -3
  281. package/dist/collection/components/action-menu/resources.js +1 -1
  282. package/dist/collection/components/action-pad/action-pad.js +1 -1
  283. package/dist/collection/components/action-pad/resources.js +1 -1
  284. package/dist/collection/components/alert/alert.js +1 -1
  285. package/dist/collection/components/alert/interfaces.js +1 -1
  286. package/dist/collection/components/alert/resources.js +1 -1
  287. package/dist/collection/components/avatar/avatar.js +1 -1
  288. package/dist/collection/components/avatar/utils.js +1 -1
  289. package/dist/collection/components/block/block.js +1 -1
  290. package/dist/collection/components/block/resources.js +1 -1
  291. package/dist/collection/components/block-section/block-section.js +1 -1
  292. package/dist/collection/components/block-section/interfaces.js +1 -1
  293. package/dist/collection/components/block-section/resources.js +1 -1
  294. package/dist/collection/components/button/button.js +1 -1
  295. package/dist/collection/components/button/interfaces.js +1 -1
  296. package/dist/collection/components/button/resources.js +1 -1
  297. package/dist/collection/components/card/card.js +1 -1
  298. package/dist/collection/components/card/resources.js +1 -1
  299. package/dist/collection/components/checkbox/checkbox.js +1 -1
  300. package/dist/collection/components/chip/chip.js +1 -1
  301. package/dist/collection/components/chip/interfaces.js +1 -1
  302. package/dist/collection/components/chip/resources.js +1 -1
  303. package/dist/collection/components/color-picker/color-picker.js +1 -2
  304. package/dist/collection/components/color-picker/interfaces.js +1 -1
  305. package/dist/collection/components/color-picker/resources.js +1 -1
  306. package/dist/collection/components/color-picker/utils.js +1 -1
  307. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  308. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  309. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  310. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  311. package/dist/collection/components/combobox/combobox.js +27 -9
  312. package/dist/collection/components/combobox/interfaces.js +1 -1
  313. package/dist/collection/components/combobox/resources.js +1 -1
  314. package/dist/collection/components/combobox/utils.js +1 -1
  315. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  316. package/dist/collection/components/combobox-item/resources.js +1 -1
  317. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  318. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  319. package/dist/collection/components/date-picker/date-picker.js +1 -1
  320. package/dist/collection/components/date-picker/interfaces.js +1 -1
  321. package/dist/collection/components/date-picker/resources.js +1 -1
  322. package/dist/collection/components/date-picker/utils.js +1 -1
  323. package/dist/collection/components/date-picker-day/date-picker-day.js +3 -3
  324. package/dist/collection/components/date-picker-month/date-picker-month.js +4 -1
  325. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +4 -7
  326. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  327. package/dist/collection/components/dropdown/dropdown.js +29 -13
  328. package/dist/collection/components/dropdown/interfaces.js +1 -1
  329. package/dist/collection/components/dropdown/resources.js +1 -1
  330. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  331. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  332. package/dist/collection/components/dropdown-group/resources.js +1 -1
  333. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  334. package/dist/collection/components/dropdown-item/resources.js +1 -1
  335. package/dist/collection/components/fab/fab.js +1 -1
  336. package/dist/collection/components/fab/resources.js +1 -1
  337. package/dist/collection/components/filter/filter.js +2 -1
  338. package/dist/collection/components/filter/resources.js +1 -1
  339. package/dist/collection/components/flow/flow.js +1 -1
  340. package/dist/collection/components/flow/interfaces.js +1 -1
  341. package/dist/collection/components/flow/resources.js +1 -1
  342. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  343. package/dist/collection/components/functional/Heading.js +1 -1
  344. package/dist/collection/components/graph/graph.js +1 -1
  345. package/dist/collection/components/graph/interfaces.js +1 -1
  346. package/dist/collection/components/graph/util.js +1 -1
  347. package/dist/collection/components/handle/handle.js +4 -2
  348. package/dist/collection/components/handle/resources.js +1 -1
  349. package/dist/collection/components/icon/icon.js +1 -1
  350. package/dist/collection/components/icon/resources.js +1 -1
  351. package/dist/collection/components/icon/utils.js +1 -1
  352. package/dist/collection/components/inline-editable/inline-editable.js +16 -13
  353. package/dist/collection/components/inline-editable/resources.js +1 -1
  354. package/dist/collection/components/input/input.js +4 -2
  355. package/dist/collection/components/input/interfaces.js +1 -1
  356. package/dist/collection/components/input/resources.js +1 -1
  357. package/dist/collection/components/input-date-picker/input-date-picker.js +15 -6
  358. package/dist/collection/components/input-date-picker/resources.js +1 -1
  359. package/dist/collection/components/input-message/input-message.js +1 -1
  360. package/dist/collection/components/input-message/interfaces.js +1 -1
  361. package/dist/collection/components/input-number/input-number.js +4 -2
  362. package/dist/collection/components/input-number/interfaces.js +1 -1
  363. package/dist/collection/components/input-number/resources.js +1 -1
  364. package/dist/collection/components/input-text/input-text.js +4 -2
  365. package/dist/collection/components/input-text/resources.js +1 -1
  366. package/dist/collection/components/input-time-picker/input-time-picker.js +11 -4
  367. package/dist/collection/components/interfaces.js +1 -1
  368. package/dist/collection/components/label/label.js +1 -1
  369. package/dist/collection/components/label/resources.js +1 -1
  370. package/dist/collection/components/link/link.js +1 -1
  371. package/dist/collection/components/list/list.js +1 -1
  372. package/dist/collection/components/list/resources.js +1 -1
  373. package/dist/collection/components/list-item/list-item.js +1 -1
  374. package/dist/collection/components/list-item/resources.js +1 -1
  375. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  376. package/dist/collection/components/list-item-group/resources.js +1 -1
  377. package/dist/collection/components/loader/loader.js +1 -1
  378. package/dist/collection/components/modal/interfaces.js +1 -1
  379. package/dist/collection/components/modal/modal.js +3 -2
  380. package/dist/collection/components/modal/resources.js +1 -1
  381. package/dist/collection/components/notice/notice.js +1 -1
  382. package/dist/collection/components/notice/resources.js +1 -1
  383. package/dist/collection/components/option/option.js +1 -1
  384. package/dist/collection/components/option-group/option-group.js +1 -1
  385. package/dist/collection/components/pagination/pagination.js +1 -1
  386. package/dist/collection/components/pagination/resources.js +1 -1
  387. package/dist/collection/components/panel/panel.js +3 -2
  388. package/dist/collection/components/panel/resources.js +1 -1
  389. package/dist/collection/components/pick-list/pick-list.js +1 -1
  390. package/dist/collection/components/pick-list/resources.js +1 -1
  391. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  392. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  393. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  394. package/dist/collection/components/pick-list-group/resources.js +1 -1
  395. package/dist/collection/components/pick-list-item/pick-list-item.js +3 -3
  396. package/dist/collection/components/pick-list-item/resources.js +1 -1
  397. package/dist/collection/components/popover/PopoverManager.js +2 -2
  398. package/dist/collection/components/popover/popover.js +8 -3
  399. package/dist/collection/components/popover/resources.js +1 -1
  400. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  401. package/dist/collection/components/progress/progress.js +1 -1
  402. package/dist/collection/components/radio-button/radio-button.js +2 -1
  403. package/dist/collection/components/radio-button/resources.js +1 -1
  404. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  405. package/dist/collection/components/radio-group/interfaces.js +1 -1
  406. package/dist/collection/components/radio-group/radio-group.js +1 -1
  407. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  408. package/dist/collection/components/radio-group-item/resources.js +1 -1
  409. package/dist/collection/components/rating/rating.js +2 -2
  410. package/dist/collection/components/rating/resources.js +1 -1
  411. package/dist/collection/components/scrim/resources.js +1 -1
  412. package/dist/collection/components/scrim/scrim.js +5 -6
  413. package/dist/collection/components/select/resources.js +1 -1
  414. package/dist/collection/components/select/select.css +2 -2
  415. package/dist/collection/components/select/select.js +15 -15
  416. package/dist/collection/components/shell/resources.js +1 -1
  417. package/dist/collection/components/shell/shell.css +1 -1
  418. package/dist/collection/components/shell/shell.js +7 -7
  419. package/dist/collection/components/shell-center-row/resources.js +1 -1
  420. package/dist/collection/components/shell-center-row/shell-center-row.js +9 -9
  421. package/dist/collection/components/shell-panel/resources.js +1 -1
  422. package/dist/collection/components/shell-panel/shell-panel.js +17 -17
  423. package/dist/collection/components/slider/slider.js +38 -38
  424. package/dist/collection/components/sortable-list/resources.js +1 -1
  425. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  426. package/dist/collection/components/split-button/resources.js +1 -1
  427. package/dist/collection/components/split-button/split-button.js +32 -28
  428. package/dist/collection/components/stepper/interfaces.js +1 -1
  429. package/dist/collection/components/stepper/stepper.js +21 -21
  430. package/dist/collection/components/stepper-item/stepper-item.js +19 -19
  431. package/dist/collection/components/switch/switch.js +16 -17
  432. package/dist/collection/components/tab/interfaces.js +1 -1
  433. package/dist/collection/components/tab/tab.js +1 -1
  434. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  435. package/dist/collection/components/tab-title/tab-title.js +1 -1
  436. package/dist/collection/components/tabs/interfaces.js +1 -1
  437. package/dist/collection/components/tabs/resources.js +1 -1
  438. package/dist/collection/components/tabs/tabs.js +1 -1
  439. package/dist/collection/components/tile/resources.js +1 -1
  440. package/dist/collection/components/tile/tile.js +1 -1
  441. package/dist/collection/components/tile-select/interfaces.js +1 -1
  442. package/dist/collection/components/tile-select/resources.js +1 -1
  443. package/dist/collection/components/tile-select/tile-select.js +1 -1
  444. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  445. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  446. package/dist/collection/components/time-picker/resources.js +1 -1
  447. package/dist/collection/components/time-picker/time-picker.js +13 -2
  448. package/dist/collection/components/tip/resources.js +1 -1
  449. package/dist/collection/components/tip/tip.js +1 -1
  450. package/dist/collection/components/tip-group/tip-group.js +1 -1
  451. package/dist/collection/components/tip-manager/resources.js +1 -1
  452. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  453. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  454. package/dist/collection/components/tooltip/resources.js +1 -1
  455. package/dist/collection/components/tooltip/tooltip.js +8 -3
  456. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  457. package/dist/collection/components/tree/interfaces.js +1 -1
  458. package/dist/collection/components/tree/tree.js +1 -1
  459. package/dist/collection/components/tree-item/interfaces.js +1 -1
  460. package/dist/collection/components/tree-item/resources.js +1 -1
  461. package/dist/collection/components/tree-item/tree-item.js +1 -1
  462. package/dist/collection/components/value-list/interfaces.js +1 -1
  463. package/dist/collection/components/value-list/resources.js +1 -1
  464. package/dist/collection/components/value-list/utils.js +1 -1
  465. package/dist/collection/components/value-list/value-list.js +4 -1
  466. package/dist/collection/components/value-list-item/resources.js +1 -1
  467. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  468. package/dist/collection/utils/array.js +1 -1
  469. package/dist/collection/utils/conditionalSlot.js +1 -1
  470. package/dist/collection/utils/date.js +1 -1
  471. package/dist/collection/utils/dom.js +1 -1
  472. package/dist/collection/utils/filter.js +1 -1
  473. package/dist/collection/utils/floating-ui.js +1 -1
  474. package/dist/collection/utils/form.js +4 -2
  475. package/dist/collection/utils/globalAttributes.js +1 -1
  476. package/dist/collection/utils/globalScript.js +17 -0
  477. package/dist/collection/utils/guid.js +1 -1
  478. package/dist/collection/utils/interactive.js +1 -1
  479. package/dist/collection/utils/key.js +1 -1
  480. package/dist/collection/utils/label.js +1 -1
  481. package/dist/collection/utils/locale.js +1 -1
  482. package/dist/collection/utils/math.js +1 -1
  483. package/dist/collection/utils/number.js +1 -1
  484. package/dist/collection/utils/observers.js +1 -1
  485. package/dist/collection/utils/openCloseComponent.js +1 -1
  486. package/dist/collection/utils/resources.js +3 -3
  487. package/dist/collection/utils/theme.js +31 -0
  488. package/dist/collection/utils/time.js +1 -1
  489. package/dist/components/ExpandToggle.js +2 -2
  490. package/dist/components/Heading.js +2 -2
  491. package/dist/components/action-group.js +2 -2
  492. package/dist/components/action-menu.js +9 -3
  493. package/dist/components/action.js +2 -2
  494. package/dist/components/array.js +1 -1
  495. package/dist/components/button.js +4 -4
  496. package/dist/components/calcite-accordion-item.js +4 -3
  497. package/dist/components/calcite-accordion.js +2 -2
  498. package/dist/components/calcite-action-bar.js +2 -2
  499. package/dist/components/calcite-action-group.js +1 -1
  500. package/dist/components/calcite-action-menu.js +1 -1
  501. package/dist/components/calcite-action-pad.js +2 -2
  502. package/dist/components/calcite-action.js +1 -1
  503. package/dist/components/calcite-alert.js +2 -2
  504. package/dist/components/calcite-avatar.js +2 -2
  505. package/dist/components/calcite-block-section.js +2 -2
  506. package/dist/components/calcite-block.js +2 -2
  507. package/dist/components/calcite-button.js +1 -1
  508. package/dist/components/calcite-card.js +3 -3
  509. package/dist/components/calcite-checkbox.js +1 -1
  510. package/dist/components/calcite-chip.js +1 -1
  511. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  512. package/dist/components/calcite-color-picker-swatch.js +1 -1
  513. package/dist/components/calcite-color-picker.js +2 -3
  514. package/dist/components/calcite-combobox-item-group.js +2 -2
  515. package/dist/components/calcite-combobox-item.js +2 -2
  516. package/dist/components/calcite-combobox.js +30 -12
  517. package/dist/components/calcite-date-picker-day.js +1 -1
  518. package/dist/components/calcite-date-picker-month-header.js +1 -1
  519. package/dist/components/calcite-date-picker-month.js +1 -1
  520. package/dist/components/calcite-date-picker.js +1 -1
  521. package/dist/components/calcite-dropdown-group.js +2 -2
  522. package/dist/components/calcite-dropdown-item.js +2 -2
  523. package/dist/components/calcite-dropdown.js +1 -1
  524. package/dist/components/calcite-fab.js +2 -2
  525. package/dist/components/calcite-filter.js +2 -2
  526. package/dist/components/calcite-flow.js +2 -2
  527. package/dist/components/calcite-graph.js +1 -1
  528. package/dist/components/calcite-handle.js +1 -1
  529. package/dist/components/calcite-icon.js +1 -1
  530. package/dist/components/calcite-inline-editable.js +18 -15
  531. package/dist/components/calcite-input-date-picker.js +18 -9
  532. package/dist/components/calcite-input-message.js +2 -2
  533. package/dist/components/calcite-input-number.js +8 -5
  534. package/dist/components/calcite-input-text.js +8 -5
  535. package/dist/components/calcite-input-time-picker.js +13 -6
  536. package/dist/components/calcite-input.js +1 -1
  537. package/dist/components/calcite-label.js +2 -2
  538. package/dist/components/calcite-link.js +1 -1
  539. package/dist/components/calcite-list-item-group.js +2 -2
  540. package/dist/components/calcite-list-item.js +2 -2
  541. package/dist/components/calcite-list.js +2 -2
  542. package/dist/components/calcite-loader.js +1 -1
  543. package/dist/components/calcite-modal.js +5 -4
  544. package/dist/components/calcite-notice.js +2 -2
  545. package/dist/components/calcite-option-group.js +2 -2
  546. package/dist/components/calcite-option.js +2 -2
  547. package/dist/components/calcite-pagination.js +2 -2
  548. package/dist/components/calcite-panel.js +4 -3
  549. package/dist/components/calcite-pick-list-group.js +3 -3
  550. package/dist/components/calcite-pick-list-item.js +1 -1
  551. package/dist/components/calcite-pick-list.js +4 -4
  552. package/dist/components/calcite-popover-manager.js +2 -2
  553. package/dist/components/calcite-popover.js +1 -1
  554. package/dist/components/calcite-progress.js +1 -1
  555. package/dist/components/calcite-radio-button-group.js +2 -2
  556. package/dist/components/calcite-radio-button.js +4 -3
  557. package/dist/components/calcite-radio-group-item.js +2 -2
  558. package/dist/components/calcite-radio-group.js +3 -3
  559. package/dist/components/calcite-rating.js +4 -4
  560. package/dist/components/calcite-scrim.js +1 -1
  561. package/dist/components/calcite-select.js +8 -8
  562. package/dist/components/calcite-shell-center-row.js +5 -5
  563. package/dist/components/calcite-shell-panel.js +8 -8
  564. package/dist/components/calcite-shell.js +3 -3
  565. package/dist/components/calcite-slider.js +16 -16
  566. package/dist/components/calcite-sortable-list.js +2 -2
  567. package/dist/components/calcite-split-button.js +16 -12
  568. package/dist/components/calcite-stepper-item.js +10 -10
  569. package/dist/components/calcite-stepper.js +11 -11
  570. package/dist/components/calcite-switch.js +1 -1
  571. package/dist/components/calcite-tab-nav.js +1 -1
  572. package/dist/components/calcite-tab-title.js +1 -1
  573. package/dist/components/calcite-tab.js +1 -1
  574. package/dist/components/calcite-tabs.js +1 -1
  575. package/dist/components/calcite-tile-select-group.js +2 -2
  576. package/dist/components/calcite-tile-select.js +2 -2
  577. package/dist/components/calcite-tile.js +1 -1
  578. package/dist/components/calcite-time-picker.js +1 -1
  579. package/dist/components/calcite-tip-group.js +2 -2
  580. package/dist/components/calcite-tip-manager.js +3 -3
  581. package/dist/components/calcite-tip.js +3 -3
  582. package/dist/components/calcite-tooltip-manager.js +2 -2
  583. package/dist/components/calcite-tooltip.js +9 -4
  584. package/dist/components/calcite-tree-item.js +4 -3
  585. package/dist/components/calcite-tree.js +3 -3
  586. package/dist/components/calcite-value-list-item.js +3 -3
  587. package/dist/components/calcite-value-list.js +6 -3
  588. package/dist/components/checkbox.js +3 -3
  589. package/dist/components/chip.js +2 -2
  590. package/dist/components/color-picker-hex-input.js +2 -2
  591. package/dist/components/color-picker-swatch.js +2 -2
  592. package/dist/components/conditionalSlot.js +2 -2
  593. package/dist/components/date-picker-day.js +6 -5
  594. package/dist/components/date-picker-month-header.js +6 -9
  595. package/dist/components/date-picker-month.js +5 -2
  596. package/dist/components/date-picker.js +2 -2
  597. package/dist/components/date.js +2 -2
  598. package/dist/components/debounce.js +1 -1
  599. package/dist/components/dom.js +3 -15
  600. package/dist/components/dropdown.js +30 -14
  601. package/dist/components/filter.js +741 -168
  602. package/dist/components/filter2.js +169 -741
  603. package/dist/components/floating-ui.js +59 -10
  604. package/dist/components/form.js +6 -4
  605. package/dist/components/graph.js +2 -2
  606. package/dist/components/guid.js +1 -1
  607. package/dist/components/handle.js +4 -2
  608. package/dist/components/icon.js +2 -2
  609. package/dist/components/index.d.ts +5 -92
  610. package/dist/components/index.js +45 -94
  611. package/dist/components/input.js +8 -5
  612. package/dist/components/interactive.js +1 -1
  613. package/dist/components/interfaces.js +1 -1
  614. package/dist/components/interfaces2.js +1 -1
  615. package/dist/components/key.js +1 -1
  616. package/dist/components/label.js +112 -87
  617. package/dist/components/label2.js +87 -112
  618. package/dist/components/link.js +4 -3
  619. package/dist/components/loader.js +2 -2
  620. package/dist/components/locale.js +1 -1
  621. package/dist/components/math.js +1 -1
  622. package/dist/components/observers.js +2 -2
  623. package/dist/components/openCloseComponent.js +1 -1
  624. package/dist/components/pick-list-item.js +3 -3
  625. package/dist/components/popover.js +10 -5
  626. package/dist/components/progress.js +2 -2
  627. package/dist/components/resources.js +12 -12
  628. package/dist/components/resources2.js +10 -7
  629. package/dist/components/resources3.js +6 -23
  630. package/dist/components/resources4.js +33 -0
  631. package/dist/components/scrim.js +4 -5
  632. package/dist/components/shared-list-render.js +4 -4
  633. package/dist/components/sortable.esm.js +1 -1
  634. package/dist/components/switch.js +9 -10
  635. package/dist/components/tab-nav.js +3 -3
  636. package/dist/components/tab-title.js +2 -2
  637. package/dist/components/tab.js +2 -2
  638. package/dist/components/tabs.js +2 -2
  639. package/dist/components/tile.js +2 -2
  640. package/dist/components/time-picker.js +14 -3
  641. package/dist/components/utils.js +1 -1
  642. package/dist/components/utils2.js +2 -2
  643. package/dist/custom-elements/index.js +328 -141
  644. package/dist/esm/{ExpandToggle-dd6a0dd8.js → ExpandToggle-bfab50ea.js} +5 -5
  645. package/dist/esm/{Heading-4c268816.js → Heading-fa8cfb41.js} +2 -2
  646. package/dist/esm/app-globals-811a0a9d.js +48 -0
  647. package/dist/esm/{array-68e32723.js → array-b441def2.js} +1 -1
  648. package/dist/esm/calcite-accordion_2.entry.js +7 -6
  649. package/dist/esm/calcite-action-bar.entry.js +11 -10
  650. package/dist/esm/calcite-action-group.entry.js +9 -8
  651. package/dist/esm/calcite-action-menu.entry.js +15 -8
  652. package/dist/esm/calcite-action-pad.entry.js +10 -9
  653. package/dist/esm/calcite-action.entry.js +7 -6
  654. package/dist/esm/calcite-alert.entry.js +7 -6
  655. package/dist/esm/calcite-avatar.entry.js +6 -5
  656. package/dist/esm/calcite-block_2.entry.js +10 -9
  657. package/dist/esm/calcite-button.entry.js +9 -8
  658. package/dist/esm/calcite-card.entry.js +7 -6
  659. package/dist/esm/calcite-checkbox.entry.js +9 -8
  660. package/dist/esm/calcite-chip.entry.js +7 -6
  661. package/dist/esm/calcite-color-picker_3.entry.js +10 -10
  662. package/dist/esm/calcite-combobox_3.entry.js +39 -20
  663. package/dist/esm/calcite-date-picker_4.entry.js +18 -17
  664. package/dist/esm/calcite-dropdown_3.entry.js +36 -19
  665. package/dist/esm/calcite-fab.entry.js +6 -5
  666. package/dist/esm/calcite-filter.entry.js +9 -7
  667. package/dist/esm/calcite-flow.entry.js +3 -3
  668. package/dist/esm/calcite-graph_2.entry.js +23 -22
  669. package/dist/esm/calcite-handle.entry.js +7 -4
  670. package/dist/esm/calcite-icon.entry.js +6 -5
  671. package/dist/esm/calcite-inline-editable.entry.js +23 -19
  672. package/dist/esm/calcite-input-date-picker.entry.js +26 -16
  673. package/dist/esm/calcite-input-message.entry.js +5 -4
  674. package/dist/esm/calcite-input-number.entry.js +15 -12
  675. package/dist/esm/calcite-input-text.entry.js +12 -9
  676. package/dist/esm/calcite-input-time-picker_2.entry.js +32 -13
  677. package/dist/esm/calcite-input.entry.js +15 -12
  678. package/dist/esm/calcite-label.entry.js +6 -5
  679. package/dist/esm/calcite-link.entry.js +6 -5
  680. package/dist/esm/calcite-list_3.entry.js +9 -8
  681. package/dist/esm/calcite-loader.entry.js +3 -3
  682. package/dist/esm/calcite-modal.entry.js +10 -8
  683. package/dist/esm/calcite-notice.entry.js +8 -7
  684. package/dist/esm/calcite-option_3.entry.js +14 -13
  685. package/dist/esm/calcite-pagination.entry.js +5 -5
  686. package/dist/esm/calcite-panel.entry.js +12 -10
  687. package/dist/esm/calcite-pick-list_3.entry.js +12 -11
  688. package/dist/esm/calcite-popover_2.entry.js +17 -11
  689. package/dist/esm/calcite-progress.entry.js +2 -2
  690. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  691. package/dist/esm/calcite-radio-button.entry.js +10 -8
  692. package/dist/esm/calcite-radio-group_2.entry.js +8 -7
  693. package/dist/esm/calcite-rating.entry.js +10 -9
  694. package/dist/esm/calcite-scrim.entry.js +4 -5
  695. package/dist/esm/calcite-shell_3.entry.js +18 -17
  696. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  697. package/dist/esm/calcite-split-button.entry.js +17 -13
  698. package/dist/esm/calcite-stepper_2.entry.js +23 -22
  699. package/dist/esm/calcite-switch.entry.js +15 -15
  700. package/dist/esm/calcite-tab_4.entry.js +7 -6
  701. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  702. package/dist/esm/calcite-tile.entry.js +8 -7
  703. package/dist/esm/calcite-tip_3.entry.js +8 -7
  704. package/dist/esm/calcite-tooltip_2.entry.js +12 -6
  705. package/dist/esm/calcite-tree_2.entry.js +7 -6
  706. package/dist/esm/calcite-value-list_2.entry.js +15 -11
  707. package/dist/esm/calcite.js +6 -3
  708. package/dist/esm/{conditionalSlot-40a54fd0.js → conditionalSlot-c65185f0.js} +3 -3
  709. package/dist/esm/{debounce-b0f31c11.js → debounce-60dd683e.js} +1 -1
  710. package/dist/esm/{dom-1f4b2c5c.js → dom-1c1f36c2.js} +4 -16
  711. package/dist/esm/{filter-e37bac63.js → filter-55b2abf1.js} +2 -2
  712. package/dist/esm/{floating-ui-0c89f0e1.js → floating-ui-7e6438e5.js} +59 -10
  713. package/dist/esm/{form-def7282e.js → form-65542bdd.js} +6 -4
  714. package/dist/esm/{guid-43243f0d.js → guid-5dcff5e6.js} +1 -1
  715. package/dist/esm/{index-5a5db037.js → index-d4e46725.js} +5 -10
  716. package/dist/esm/index.js +1 -1
  717. package/dist/esm/{interactive-0304df8e.js → interactive-5adc2541.js} +1 -1
  718. package/dist/esm/{interfaces-2d8b2aa3.js → interfaces-f63ac6d5.js} +1 -1
  719. package/dist/esm/{key-8d8e902e.js → key-bd44b82c.js} +1 -1
  720. package/dist/esm/{label-d68e7f0f.js → label-0e39901c.js} +2 -2
  721. package/dist/esm/loader.js +6 -3
  722. package/dist/esm/{locale-93a2218c.js → locale-dc62bd63.js} +2 -2
  723. package/dist/esm/{math-23d942ef.js → math-cb423b55.js} +1 -1
  724. package/dist/esm/{observers-64f4a7e9.js → observers-94998aa8.js} +1 -1
  725. package/dist/esm/{openCloseComponent-fbf6ad68.js → openCloseComponent-f6d7c232.js} +1 -1
  726. package/dist/esm/{resources-10717072.js → resources-0693d83b.js} +5 -5
  727. package/dist/esm/{resources-a67dcc05.js → resources-1a9e7ece.js} +3 -3
  728. package/dist/esm/{resources-9c6ccc78.js → resources-7f3bc078.js} +1 -1
  729. package/dist/esm/resources-8ed5d9e4.js +19 -0
  730. package/dist/esm/{resources-05894aef.js → resources-d93a267d.js} +1 -1
  731. package/dist/esm/{sortable.esm-5a040bf9.js → sortable.esm-b1973873.js} +1 -1
  732. package/dist/esm/{utils-fa55d6c6.js → utils-e35ad85f.js} +1 -1
  733. package/dist/esm-es5/{ExpandToggle-dd6a0dd8.js → ExpandToggle-bfab50ea.js} +2 -2
  734. package/dist/esm-es5/Heading-fa8cfb41.js +6 -0
  735. package/dist/esm-es5/app-globals-811a0a9d.js +6 -0
  736. package/dist/esm-es5/{array-68e32723.js → array-b441def2.js} +1 -1
  737. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  738. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  739. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  740. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  741. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  742. package/dist/esm-es5/calcite-action.entry.js +2 -2
  743. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  744. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  745. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  746. package/dist/esm-es5/calcite-button.entry.js +2 -2
  747. package/dist/esm-es5/calcite-card.entry.js +2 -2
  748. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  749. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  750. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  751. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  752. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  753. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  754. package/dist/esm-es5/calcite-fab.entry.js +3 -3
  755. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  756. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  757. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  758. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  759. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  760. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  761. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  762. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  763. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  764. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  765. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  766. package/dist/esm-es5/calcite-input.entry.js +2 -2
  767. package/dist/esm-es5/calcite-label.entry.js +2 -2
  768. package/dist/esm-es5/calcite-link.entry.js +3 -3
  769. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  770. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  771. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  772. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  773. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  774. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  775. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  776. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  777. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  778. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  779. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  780. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  781. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  782. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  783. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  784. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  785. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  786. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  787. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  788. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  789. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  790. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  791. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  792. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  793. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  794. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  795. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  796. package/dist/esm-es5/calcite.js +2 -2
  797. package/dist/esm-es5/{conditionalSlot-40a54fd0.js → conditionalSlot-c65185f0.js} +2 -2
  798. package/dist/esm-es5/{debounce-b0f31c11.js → debounce-60dd683e.js} +1 -1
  799. package/dist/esm-es5/dom-1c1f36c2.js +6 -0
  800. package/dist/esm-es5/{filter-e37bac63.js → filter-55b2abf1.js} +2 -2
  801. package/dist/esm-es5/floating-ui-7e6438e5.js +6 -0
  802. package/dist/esm-es5/form-65542bdd.js +6 -0
  803. package/dist/esm-es5/{guid-43243f0d.js → guid-5dcff5e6.js} +1 -1
  804. package/dist/esm-es5/index-d4e46725.js +7 -0
  805. package/dist/esm-es5/index.js +1 -1
  806. package/dist/esm-es5/{interactive-0304df8e.js → interactive-5adc2541.js} +1 -1
  807. package/dist/esm-es5/{interfaces-2d8b2aa3.js → interfaces-f63ac6d5.js} +1 -1
  808. package/dist/esm-es5/{key-8d8e902e.js → key-bd44b82c.js} +1 -1
  809. package/dist/esm-es5/{label-d68e7f0f.js → label-0e39901c.js} +2 -2
  810. package/dist/esm-es5/loader.js +2 -2
  811. package/dist/esm-es5/{locale-93a2218c.js → locale-dc62bd63.js} +2 -2
  812. package/dist/esm-es5/{math-23d942ef.js → math-cb423b55.js} +1 -1
  813. package/dist/esm-es5/{observers-64f4a7e9.js → observers-94998aa8.js} +1 -1
  814. package/dist/esm-es5/{openCloseComponent-fbf6ad68.js → openCloseComponent-f6d7c232.js} +1 -1
  815. package/dist/esm-es5/{resources-10717072.js → resources-0693d83b.js} +2 -2
  816. package/dist/esm-es5/{resources-a67dcc05.js → resources-1a9e7ece.js} +2 -2
  817. package/dist/esm-es5/{resources-9c6ccc78.js → resources-7f3bc078.js} +1 -1
  818. package/dist/esm-es5/resources-8ed5d9e4.js +6 -0
  819. package/dist/esm-es5/{resources-05894aef.js → resources-d93a267d.js} +1 -1
  820. package/dist/esm-es5/{sortable.esm-5a040bf9.js → sortable.esm-b1973873.js} +1 -1
  821. package/dist/esm-es5/{utils-fa55d6c6.js → utils-e35ad85f.js} +1 -1
  822. package/dist/extras/docs-json.json +125 -125
  823. package/dist/loader/cdn.js +1 -1
  824. package/dist/loader/index.cjs.js +1 -1
  825. package/dist/loader/index.es2017.js +1 -1
  826. package/dist/loader/index.js +1 -1
  827. package/dist/types/components/action-menu/action-menu.d.ts +6 -1
  828. package/dist/types/components/checkbox/checkbox.d.ts +2 -2
  829. package/dist/types/components/combobox/combobox.d.ts +6 -1
  830. package/dist/types/components/dropdown/dropdown.d.ts +6 -1
  831. package/dist/types/components/handle/handle.d.ts +1 -1
  832. package/dist/types/components/input-date-picker/input-date-picker.d.ts +7 -2
  833. package/dist/types/components/input-time-picker/input-time-picker.d.ts +1 -1
  834. package/dist/types/components/pick-list-item/pick-list-item.d.ts +2 -2
  835. package/dist/types/components/popover/popover.d.ts +6 -1
  836. package/dist/types/components/radio-button/radio-button.d.ts +2 -2
  837. package/dist/types/components/scrim/scrim.d.ts +2 -3
  838. package/dist/types/components/select/select.d.ts +9 -9
  839. package/dist/types/components/shell/shell.d.ts +5 -5
  840. package/dist/types/components/shell-center-row/shell-center-row.d.ts +5 -5
  841. package/dist/types/components/shell-panel/shell-panel.d.ts +10 -10
  842. package/dist/types/components/slider/slider.d.ts +32 -29
  843. package/dist/types/components/split-button/split-button.d.ts +24 -20
  844. package/dist/types/components/stepper/stepper.d.ts +11 -11
  845. package/dist/types/components/stepper-item/stepper-item.d.ts +15 -15
  846. package/dist/types/components/switch/switch.d.ts +11 -11
  847. package/dist/types/components/tooltip/tooltip.d.ts +6 -1
  848. package/dist/types/components.d.ts +184 -184
  849. package/dist/types/utils/form.d.ts +3 -2
  850. package/dist/types/utils/globalScript.d.ts +6 -0
  851. package/dist/types/utils/resources.d.ts +2 -0
  852. package/dist/types/utils/theme.d.ts +4 -0
  853. package/hydrate/index.js +341 -328
  854. package/package.json +12 -11
  855. package/readme.md +2 -2
  856. package/dist/calcite/p-09b4c5d6.system.entry.js +0 -6
  857. package/dist/calcite/p-0d82783f.system.entry.js +0 -6
  858. package/dist/calcite/p-1238a41c.js +0 -6
  859. package/dist/calcite/p-16e5f591.entry.js +0 -6
  860. package/dist/calcite/p-18fb7ebc.system.entry.js +0 -6
  861. package/dist/calcite/p-1b0db26c.entry.js +0 -6
  862. package/dist/calcite/p-1b916f76.system.entry.js +0 -6
  863. package/dist/calcite/p-1c2e0daa.system.entry.js +0 -6
  864. package/dist/calcite/p-1d699c3b.system.entry.js +0 -6
  865. package/dist/calcite/p-1e259c2b.system.entry.js +0 -6
  866. package/dist/calcite/p-237f6388.entry.js +0 -6
  867. package/dist/calcite/p-24b189a7.entry.js +0 -6
  868. package/dist/calcite/p-272a7973.system.entry.js +0 -6
  869. package/dist/calcite/p-27f691c6.entry.js +0 -6
  870. package/dist/calcite/p-28aec55e.entry.js +0 -6
  871. package/dist/calcite/p-2a13ccd7.system.entry.js +0 -6
  872. package/dist/calcite/p-2a7bd887.entry.js +0 -6
  873. package/dist/calcite/p-2e449f8b.js +0 -6
  874. package/dist/calcite/p-2f28e6c6.entry.js +0 -6
  875. package/dist/calcite/p-318d4e47.system.entry.js +0 -6
  876. package/dist/calcite/p-31b57443.system.entry.js +0 -6
  877. package/dist/calcite/p-337de307.system.entry.js +0 -6
  878. package/dist/calcite/p-35736b65.entry.js +0 -6
  879. package/dist/calcite/p-374a14fa.entry.js +0 -6
  880. package/dist/calcite/p-3cd92e8b.js +0 -7
  881. package/dist/calcite/p-3d1a3386.system.entry.js +0 -6
  882. package/dist/calcite/p-41f603c6.entry.js +0 -6
  883. package/dist/calcite/p-443e7cd5.js +0 -6
  884. package/dist/calcite/p-452dc9cd.entry.js +0 -6
  885. package/dist/calcite/p-499b4d7f.system.entry.js +0 -6
  886. package/dist/calcite/p-4b1acc25.entry.js +0 -6
  887. package/dist/calcite/p-4c59c464.system.entry.js +0 -6
  888. package/dist/calcite/p-4f381b22.entry.js +0 -6
  889. package/dist/calcite/p-4fef9785.system.entry.js +0 -6
  890. package/dist/calcite/p-51686f87.entry.js +0 -6
  891. package/dist/calcite/p-5277787a.entry.js +0 -6
  892. package/dist/calcite/p-54f1b900.system.entry.js +0 -6
  893. package/dist/calcite/p-558eb439.entry.js +0 -6
  894. package/dist/calcite/p-573b7727.entry.js +0 -6
  895. package/dist/calcite/p-593dd378.system.entry.js +0 -6
  896. package/dist/calcite/p-60e29c28.entry.js +0 -6
  897. package/dist/calcite/p-6124422d.entry.js +0 -6
  898. package/dist/calcite/p-614577b3.entry.js +0 -6
  899. package/dist/calcite/p-63e68260.entry.js +0 -6
  900. package/dist/calcite/p-66b8488f.system.js +0 -7
  901. package/dist/calcite/p-709f45ca.system.entry.js +0 -6
  902. package/dist/calcite/p-7560b5cb.entry.js +0 -6
  903. package/dist/calcite/p-78773123.entry.js +0 -6
  904. package/dist/calcite/p-787df3d9.entry.js +0 -6
  905. package/dist/calcite/p-807dbeff.entry.js +0 -6
  906. package/dist/calcite/p-85f55348.system.entry.js +0 -6
  907. package/dist/calcite/p-8726c076.system.entry.js +0 -6
  908. package/dist/calcite/p-899506b7.entry.js +0 -6
  909. package/dist/calcite/p-8b09e41f.system.entry.js +0 -6
  910. package/dist/calcite/p-8c074397.entry.js +0 -6
  911. package/dist/calcite/p-8cca323e.entry.js +0 -6
  912. package/dist/calcite/p-8dd41a41.system.entry.js +0 -6
  913. package/dist/calcite/p-8e4bc86a.system.entry.js +0 -6
  914. package/dist/calcite/p-8f9cd7c2.system.entry.js +0 -6
  915. package/dist/calcite/p-923cc8f7.entry.js +0 -6
  916. package/dist/calcite/p-9404368d.entry.js +0 -6
  917. package/dist/calcite/p-993dc453.js +0 -6
  918. package/dist/calcite/p-9b3f7af5.system.js +0 -6
  919. package/dist/calcite/p-9ec5ed46.entry.js +0 -6
  920. package/dist/calcite/p-9ff0ebb3.system.entry.js +0 -6
  921. package/dist/calcite/p-a27c7171.entry.js +0 -6
  922. package/dist/calcite/p-a2e892e5.entry.js +0 -6
  923. package/dist/calcite/p-a5ef90f9.system.js +0 -6
  924. package/dist/calcite/p-a6ad3821.entry.js +0 -6
  925. package/dist/calcite/p-b08b2ad9.system.entry.js +0 -6
  926. package/dist/calcite/p-b0a6c09b.system.entry.js +0 -6
  927. package/dist/calcite/p-b1a0f06b.entry.js +0 -6
  928. package/dist/calcite/p-b25dd020.system.entry.js +0 -6
  929. package/dist/calcite/p-b8fb2780.entry.js +0 -6
  930. package/dist/calcite/p-ba9601c8.system.entry.js +0 -6
  931. package/dist/calcite/p-bc2dc6af.system.entry.js +0 -6
  932. package/dist/calcite/p-bebb3777.system.entry.js +0 -6
  933. package/dist/calcite/p-bfb4cbdc.entry.js +0 -6
  934. package/dist/calcite/p-c26f3841.system.entry.js +0 -6
  935. package/dist/calcite/p-c8a07e77.system.entry.js +0 -6
  936. package/dist/calcite/p-cb4235cd.system.entry.js +0 -6
  937. package/dist/calcite/p-cd5c0d53.system.entry.js +0 -6
  938. package/dist/calcite/p-cd76ddd3.system.entry.js +0 -6
  939. package/dist/calcite/p-cdaa1968.entry.js +0 -6
  940. package/dist/calcite/p-cdd2f5f3.system.entry.js +0 -6
  941. package/dist/calcite/p-d3126106.entry.js +0 -6
  942. package/dist/calcite/p-d3bd8e42.entry.js +0 -6
  943. package/dist/calcite/p-d64ad5b8.entry.js +0 -6
  944. package/dist/calcite/p-da0d407c.entry.js +0 -6
  945. package/dist/calcite/p-da190323.system.entry.js +0 -6
  946. package/dist/calcite/p-da602e55.entry.js +0 -6
  947. package/dist/calcite/p-dafa6b14.system.entry.js +0 -6
  948. package/dist/calcite/p-db716c4d.entry.js +0 -6
  949. package/dist/calcite/p-dce7bd73.entry.js +0 -6
  950. package/dist/calcite/p-dd371621.system.js +0 -6
  951. package/dist/calcite/p-de18336c.system.entry.js +0 -6
  952. package/dist/calcite/p-e17fe6f2.system.entry.js +0 -6
  953. package/dist/calcite/p-e31a759f.system.entry.js +0 -6
  954. package/dist/calcite/p-e35ac74b.js +0 -6
  955. package/dist/calcite/p-e37d3fd0.system.entry.js +0 -6
  956. package/dist/calcite/p-e629fa5b.system.entry.js +0 -6
  957. package/dist/calcite/p-e89b1604.entry.js +0 -6
  958. package/dist/calcite/p-ee43e34c.system.entry.js +0 -6
  959. package/dist/calcite/p-eedbbe06.entry.js +0 -6
  960. package/dist/calcite/p-eef36edb.entry.js +0 -6
  961. package/dist/calcite/p-f285278c.system.entry.js +0 -6
  962. package/dist/calcite/p-f37111f3.entry.js +0 -6
  963. package/dist/calcite/p-f5d88620.system.entry.js +0 -6
  964. package/dist/calcite/p-f8995cf2.system.entry.js +0 -6
  965. package/dist/esm-es5/Heading-4c268816.js +0 -6
  966. package/dist/esm-es5/dom-1f4b2c5c.js +0 -6
  967. package/dist/esm-es5/floating-ui-0c89f0e1.js +0 -6
  968. package/dist/esm-es5/form-def7282e.js +0 -6
  969. package/dist/esm-es5/index-5a5db037.js +0 -7
@@ -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.556
4
+ * v1.0.0-next.559
5
5
  */
6
- System.register(["./p-66b8488f.system.js"],(function(t){"use strict";var a,i,n;return{setters:[function(t){a=t.r;i=t.h;n=t.g}],execute:function(){var e={scrim:"scrim",content:"content"};var r={loading:"Loading"};var c="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:absolute;inset:0px;z-index:700;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}@-webkit-keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";var o=t("calcite_scrim",function(){function t(t){a(this,t);this.intlLoading=r.loading;this.loading=false}t.prototype.render=function(){var t=this,a=t.el,n=t.loading,r=t.intlLoading;var c=a.innerHTML.trim().length>0;var o=n?i("calcite-loader",{active:true,label:r}):null;var l=c?i("div",{class:e.content},i("slot",null)):null;return i("div",{class:e.scrim},o,l)};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());o.style=c}}}));
6
+ System.register(["./p-76baf89b.system.js"],(function(t){"use strict";var a,i,n;return{setters:[function(t){a=t.r;i=t.h;n=t.g}],execute:function(){var e={scrim:"scrim",content:"content"};var r={loading:"Loading"};var c="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:absolute;inset:0px;z-index:700;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}@-webkit-keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";var o=t("calcite_scrim",function(){function t(t){a(this,t);this.intlLoading=r.loading;this.loading=false}t.prototype.render=function(){var t=this,a=t.el,n=t.loading,r=t.intlLoading;var c=a.innerHTML.trim().length>0;var o=n?i("calcite-loader",{active:true,label:r}):null;var l=c?i("div",{class:e.content},i("slot",null)):null;return i("div",{class:e.scrim},o,l)};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());o.style=c}}}));
@@ -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.556
4
+ * v1.0.0-next.559
5
5
  */
6
6
  const t=()=>[2,1,1,1,3].map((t=>{let e="";for(let r=0;r<t;r++)e+=(65536*(1+Math.random())|0).toString(16).substring(1);return e})).join("-");export{t as g}
@@ -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.559
6
+ */System.register(["./p-76baf89b.system.js","./p-90aaf7e9.system.js","./p-72453cd1.system.js","./p-6ab5f989.system.js","./p-3609cc3a.system.js"],(function(t){"use strict";var e,i,n,a,r,o,s,c,l;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.g;r=t.H},function(t){o=t.f;s=t.d;c=t.t},function(t){l=t.u},function(){},function(){}],execute:function(){var p='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:-webkit-fit-content;min-inline-size:fit-content;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}';var m=t("calcite_stepper",function(){function t(t){e(this,t);this.calciteStepperItemChange=i(this,"calciteStepperItemChange",6);this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",6);this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.itemMap=new Map;this.items=[];this.enabledItems=[]}t.prototype.componentDidLoad=function(){if(typeof this.currentPosition!=="number"){this.calciteInternalStepperItemChange.emit({position:0})}};t.prototype.render=function(){var t=this;return n("slot",{onSlotchange:function(e){var i=e.currentTarget.assignedElements().filter((function(t){return(t===null||t===void 0?void 0:t.tagName)==="CALCITE-STEPPER-ITEM"}));var n=Array(i.length).fill("1fr").join(" ");t.el.style.gridTemplateAreas=n;t.el.style.gridTemplateColumns=n}})};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;this.itemMap.set(e,{position:a,content:n});this.items=this.sortItems();this.enabledItems=this.filterItems();t.stopPropagation()};t.prototype.updateItem=function(t){var e=t.detail.position;if(typeof e==="number"){this.currentPosition=e}this.calciteInternalStepperItemChange.emit({position:e})};t.prototype.handleUserRequestedStepperItemSelect=function(t){var e=t.detail.position;this.calciteStepperItemChange.emit({position:e})};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.updateStep(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.updateStep(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.updateStep(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.updateStep(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.updateStep(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.updateStep=function(t){this.currentPosition=t;this.calciteInternalStepperItemChange.emit({position:t})};t.prototype.focusFirstItem=function(){var t=this.enabledItems[0];o(t)};t.prototype.focusLastItem=function(){var t=this.enabledItems[this.enabledItems.length-1];o(t)};t.prototype.focusNextItem=function(t){var e=this.itemIndex(t);var i=this.enabledItems[e+1]||this.enabledItems[0];o(i)};t.prototype.focusPrevItem=function(t){var e=this.itemIndex(t);var i=this.enabledItems[e-1]||this.enabledItems[this.enabledItems.length-1];o(i)};t.prototype.itemIndex=function(t){return this.enabledItems.indexOf(t)};t.prototype.sortItems=function(){var t=this.itemMap;return Array.from(t.keys()).sort((function(e,i){return t.get(e).position-t.get(i).position}))};t.prototype.filterItems=function(){return this.items.filter((function(t){return!t.disabled}))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());m.style=p;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}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);-webkit-margin-before:1px;margin-block-start:1px;display:-ms-inline-flexbox;display:inline-flex;block-size:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;inline-size:100%}:host .stepper-item-heading{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([active])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-description,:host(:focus:not([disabled]):not([active])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-description{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([active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical]) .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-block:1px 0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([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][active]) .container .stepper-item-content ::slotted(:last-child){-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-l);margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([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)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([layout=horizontal]) .stepper-item-content{cursor:auto;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][active]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][active]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([active])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([active])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([active]) .container{border-block-start-color:highlight}:host([active]) .container .stepper-item-number{color:highlight}:host([active]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][active]) .container{border-color:highlight}}";var u=t("calcite_stepper_item",function(){function t(t){var n=this;e(this,t);this.calciteInternalStepperItemKeyEvent=i(this,"calciteInternalStepperItemKeyEvent",6);this.calciteInternalStepperItemSelect=i(this,"calciteInternalStepperItemSelect",6);this.calciteInternalUserRequestedStepperItemSelect=i(this,"calciteInternalUserRequestedStepperItemSelect",6);this.calciteInternalStepperItemRegister=i(this,"calciteInternalStepperItemRegister",6);this.active=false;this.complete=false;this.error=false;this.disabled=false;this.layout="horizontal";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.emitUserRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":n.calciteInternalStepperItemKeyEvent.emit({item:t});t.preventDefault();break}}};this.emitUserRequestedItem=function(){n.emitRequestedItem();if(!n.disabled){var t=n.itemPosition;n.calciteInternalUserRequestedStepperItemSelect.emit({position:t})}};this.emitRequestedItem=function(){if(!n.disabled){var t=n.itemPosition;n.calciteInternalStepperItemSelect.emit({position:t})}}}t.prototype.disabledWatcher=function(){this.registerStepperItem()};t.prototype.activeWatcher=function(t){if(t){this.emitRequestedItem()}};t.prototype.componentWillLoad=function(){this.icon=s(this.el,"icon",false);this.numbered=s(this.el,"numbered",false);this.layout=s(this.el,"layout",false);this.scale=s(this.el,"scale","m");this.parentStepperEl=this.el.parentElement;this.itemPosition=this.getItemPosition();this.registerStepperItem();if(this.active){this.emitRequestedItem()}};t.prototype.componentDidRender=function(){l(this,true)};t.prototype.render=function(){var t=this;return n(r,{"aria-expanded":c(this.active),onClick:this.emitUserRequestedItem,onKeyDown:this.keyDownHandler},n("div",{class:"container"},n("div",{class:"stepper-item-header",ref:function(e){return t.headerEl=e},tabIndex:this.layout==="horizontal"&&!this.disabled?0:null},this.icon?this.renderIcon():null,this.numbered?n("div",{class:"stepper-item-number"},this.itemPosition+1,"."):null,n("div",{class:"stepper-item-header-text"},n("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),n("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),n("div",{class:"stepper-item-content"},n("slot",null))))};t.prototype.updateActiveItemOnChange=function(t){if(t.target===this.parentStepperEl||t.composedPath().includes(this.parentStepperEl)){this.activePosition=t.detail.position;this.determineActiveItem()}};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.layout==="vertical"?this.el:this.headerEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};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})};t.prototype.getItemPosition=function(){var t;return Array.from((t=this.parentStepperEl)===null||t===void 0?void 0:t.querySelectorAll("calcite-stepper-item")).indexOf(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"],active:["activeWatcher"]}},enumerable:false,configurable:true});return t}());u.style=d}}}));
@@ -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.559
5
+ */
6
+ import{r as t,h as a,F as e,g as i,c as n,f as o}from"./p-1639c4dc.js";import{g as r,a as l}from"./p-50cc9f99.js";import{c as s,d as c}from"./p-49dc0d00.js";import{c as d}from"./p-ba40c0b3.js";import"./p-c594efbb.js";import"./p-27e6a383.js";import"./p-c8483877.js";const m=class{constructor(a){t(this,a),this.contentBehind=!1}connectedCallback(){s(this)}disconnectedCallback(){c(this)}renderHeader(){return r(this.el,"header")?a("slot",{key:"header",name:"header"}):null}renderContent(){const t=a("slot",{key:"default-slot"}),e=a("slot",{key:"center-row-slot",name:"center-row"}),i="content-container";return this.contentBehind?[a("div",{class:{content:!0,"content--behind":!0},key:i},t),e]:[a("div",{class:"content",key:i},t,e)]}renderFooter(){return r(this.el,"footer")?a("div",{class:"footer",key:"footer"},a("slot",{name:"footer"})):null}renderMain(){const t=r(this.el,"primary-panel");return a("div",{class:{main:!0,"main--reversed":"end"===(null==t?void 0:t.position)}},a("slot",{name:"primary-panel"}),a("slot",{name:"panel-start"}),this.renderContent(),a("slot",{name:"panel-end"}),a("slot",{name:"contextual-panel"}))}render(){return a(e,null,this.renderHeader(),this.renderMain(),this.renderFooter())}get el(){return i(this)}};m.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:absolute;inset:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.main--reversed{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;z-index:1;border-width:0px;display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){-webkit-margin-start:auto;margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;z-index:500;-webkit-box-sizing:border-box;box-sizing:border-box}@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)}}::slotted(calcite-tip-manager){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";const p=class{constructor(a){t(this,a),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){s(this)}disconnectedCallback(){c(this)}render(){const{el:t}=this,i=a("div",{class:"content"},a("slot",null)),n=r(t,"action-bar"),o=[n?a("div",{class:"action-bar-container",key:"action-bar"},a("slot",{name:"action-bar"})):null,i];return"end"===(null==n?void 0:n.position)&&o.reverse(),a(e,null,o)}get el(){return i(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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;overflow:hidden;-ms-flex:1 0 0px;flex:1 0 0}.action-bar-container{display:-ms-flexbox;display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@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)}}:host([detached]){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){-ms-flex-item-align:end;align-self:flex-end}:host([position=start]){-ms-flex-item-align:start;align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){-webkit-border-end:1px solid;border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";const h=class{constructor(a){t(this,a),this.calciteShellPanelToggle=n(this,"calciteShellPanelToggle",6),this.collapsed=!1,this.detached=!1,this.detachedHeightScale="l",this.widthScale="m",this.intlResize="Resize",this.resizable=!1,this.contentWidth=null,this.initialContentWidth=null,this.initialClientX=null,this.contentWidthMax=null,this.contentWidthMin=null,this.step=1,this.stepMultiplier=10,this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedWidth=t=>{const{key:a}=t,{el:e,step:i,stepMultiplier:n,contentWidthMin:o,contentWidthMax:r,initialContentWidth:s,position:c}=this,d=i*n;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(a)>-1&&t.preventDefault();const m=["ArrowLeft","ArrowRight"],p="rtl"===l(e)&&m.includes(a)?-1:1;return"ArrowUp"===a||("end"===c?a===m[0]:a===m[1])?s+p*(t.shiftKey?d:i):"ArrowDown"===a||("end"===c?a===m[1]:a===m[0])?s-p*(t.shiftKey?d:i):"number"==typeof o&&"Home"===a?o:"number"==typeof r&&"End"===a?r:"PageDown"===a?s-d:"PageUp"===a?s+d:null},this.separatorKeyDown=t=>{this.setInitialContentWidth();const a=this.getKeyAdjustedWidth(t);"number"==typeof a&&this.setContentWidth(a)},this.separatorPointerMove=t=>{t.preventDefault();const{el:a,initialContentWidth:e,position:i,initialClientX:n}=this,o=t.clientX-n,r="rtl"===l(a)?-1:1;this.setContentWidth(e+("end"===i?-r*o:r*o))},this.separatorPointerUp=t=>{t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove)},this.setInitialContentWidth=()=>{var t;this.initialContentWidth=null===(t=this.contentEl)||void 0===t?void 0:t.getBoundingClientRect().width},this.separatorPointerDown=t=>{t.preventDefault();const{separatorEl:a}=this;a&&document.activeElement!==a&&a.focus(),this.setInitialContentWidth(),this.initialClientX=t.clientX,document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{var t;null===(t=this.separatorEl)||void 0===t||t.removeEventListener("pointerdown",this.separatorPointerDown)}}watchHandler(){this.calciteShellPanelToggle.emit()}connectedCallback(){s(this)}disconnectedCallback(){c(this),this.disconnectSeparator()}componentDidLoad(){this.updateAriaValues()}renderHeader(){const{el:t}=this;return r(t,"header")?a("div",{class:"content__header",key:"header"},a("slot",{name:"header"})):null}render(){const{collapsed:t,detached:e,position:i,initialContentWidth:n,contentWidth:o,contentWidthMax:r,contentWidthMin:l,intlResize:s,resizable:c}=this,d=!e&&c,m=a("div",{class:{content:!0,"content--detached":e},hidden:t,key:"content",ref:this.storeContentEl,style:d&&o?{width:`${o}px`}:null},this.renderHeader(),a("div",{class:"content__body"},a("slot",null))),p=d?a("div",{"aria-label":s,"aria-orientation":"horizontal","aria-valuemax":r,"aria-valuemin":l,"aria-valuenow":null!=o?o:n,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null,h=[a("slot",{key:"action-bar",name:"action-bar"}),m,p];return"end"===i&&h.reverse(),a("div",{class:{container:!0}},h)}setContentWidth(t){const{contentWidthMax:a,contentWidthMin:e}=this,i=Math.round(t);this.contentWidth="number"==typeof a&&"number"==typeof e?d(i,e,a):i}updateAriaValues(){const{contentEl:t}=this,a=t&&getComputedStyle(t);if(!a)return;const e=parseInt(a.getPropertyValue("max-width"),10),i=parseInt(a.getPropertyValue("min-width"),10),n=parseInt(a.getPropertyValue("width"),10);"number"!=typeof n||isNaN(n)||(this.initialContentWidth=n),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i),o(this)}get el(){return i(this)}static get watchers(){return{collapsed:["watchHandler"]}}};h.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;inset-block:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width);max-inline-size:var(--calcite-shell-panel-max-width);min-inline-size:var(--calcite-shell-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}.content__header{display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([dismissed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";export{m as calcite_shell,p as calcite_shell_center_row,h as calcite_shell_panel}
@@ -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.559
5
+ */
6
+ import{r as t,c as i,h as a,H as e,g as n}from"./p-1639c4dc.js";import{a as o,d as r,t as l}from"./p-50cc9f99.js";import{c as s,d as c}from"./p-f48a4d09.js";import{a as m,c as d,d as f,H as u}from"./p-38af76f3.js";import{u as p}from"./p-5eee7770.js";import"./p-c594efbb.js";import"./p-27e6a383.js";const h=class{constructor(a){t(this,a),this.calciteRadioGroupChange=i(this,"calciteRadioGroupChange",6),this.appearance="solid",this.disabled=!1,this.required=!1,this.layout="horizontal",this.scale="m",this.value=null,this.width="auto",this.handleClick=t=>{"calcite-radio-group-item"===t.target.localName&&this.selectItem(t.target,!0)}}valueHandler(t){this.getItems().forEach((i=>i.checked=i.value===t))}handleSelectedItemChange(t,i){if(this.value=null==t?void 0:t.value,t===i)return;const a=this.getItems(),e=Array.from(a).filter((i=>i===t)).pop();e?this.selectItem(e):a[0]&&(a[0].tabIndex=0)}componentWillLoad(){const t=this.getItems(),i=Array.from(t).filter((t=>t.checked)).pop();i?this.selectItem(i):t[0]&&(t[0].tabIndex=0)}componentDidLoad(){m(this,this.value)}connectedCallback(){s(this),d(this)}disconnectedCallback(){c(this),f(this)}componentDidRender(){p(this)}render(){return a(e,{onClick:this.handleClick,role:"radiogroup"},a("slot",null),a(u,{component:this}))}handleSelected(t){t.preventDefault(),this.selectItem(t.target),t.stopPropagation()}handleKeyDown(t){const{key:i}=t,{el:a,selectedItem:e}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;let n=i;"rtl"===o(a)&&("ArrowRight"===i&&(n="ArrowLeft"),"ArrowLeft"===i&&(n="ArrowRight"));const r=this.getItems();let l=-1;switch(r.forEach(((t,i)=>{t===e&&(l=i)})),n){case"ArrowLeft":case"ArrowUp":t.preventDefault();const i=r.item(l<1?r.length-1:l-1);return void this.selectItem(i,!0);case"ArrowRight":case"ArrowDown":t.preventDefault();const a=-1===l?r.item(1):r.item(l+1)||r.item(0);return void this.selectItem(a,!0);case" ":return t.preventDefault(),void this.selectItem(t.target,!0);default:return}}async setFocus(){var t;null===(t=this.selectedItem||this.getItems()[0])||void 0===t||t.focus()}onLabelClick(){this.setFocus()}getItems(){return this.el.querySelectorAll("calcite-radio-group-item")}selectItem(t,i=!1){if(t===this.selectedItem)return;const a=this.getItems();let e=null;a.forEach((a=>{const n=a.value===t.value;(n&&!a.checked||!n&&a.checked)&&(a.checked=n),a.tabIndex=n?0:-1,n&&(e=a,i&&this.calciteRadioGroupChange.emit(e.value))})),this.selectedItem=e,e&&e.focus()}get el(){return n(this)}static get watchers(){return{value:["valueHandler"],selectedItem:["handleSelectedItemChange"]}}};h.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:-webkit-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-item-align:start;align-self:flex-start}:host([width=full]){inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:-webkit-fit-content;min-inline-size:fit-content}:host([width=full]) ::slotted(calcite-radio-group-item){-ms-flex:1 1 auto;flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-radio-group-item){-ms-flex-pack:start;justify-content:flex-start}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";const b=class{constructor(a){t(this,a),this.calciteInternalRadioGroupItemChange=i(this,"calciteInternalRadioGroupItemChange",6),this.checked=!1,this.iconFlipRtl=!1,this.iconPosition="start"}handleCheckedChange(){this.calciteInternalRadioGroupItemChange.emit()}render(){const{checked:t,value:i}=this,n=r(this.el,"scale","m"),o=r(this.el,"appearance","solid"),s=r(this.el,"layout","horizontal"),c=a("calcite-icon",{class:"radio-group-item-icon",flipRtl:this.iconFlipRtl,icon:this.icon,scale:"s"});return a(e,{"aria-checked":l(t),"aria-label":i,role:"radio"},a("label",{class:{"label--scale-s":"s"===n,"label--scale-m":"m"===n,"label--scale-l":"l"===n,"label--horizontal":"horizontal"===s,"label--outline":"outline"===o}},this.icon&&"start"===this.iconPosition?c:null,a("slot",null,i),a("slot",{name:"input"}),this.icon&&"end"===this.iconPosition?c:null))}get el(){return n(this)}static get watchers(){return{checked:["handleCheckedChange"]}}};b.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;font-weight:var(--calcite-font-weight-normal);-webkit-transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{-ms-flex-pack:center;justify-content:center}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-1px}.label--scale-s{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}.label--scale-m{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}.label--scale-l{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}:host([checked]) .label--outline{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .radio-group-item-icon{color:highlightText}}.radio-group-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;line-height:inherit}:host([icon-position=start]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([icon-position=end]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-position=start]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([icon-position=end]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host([icon-position=start]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([icon-position=end]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:1rem;margin-inline-start:1rem}";export{h as calcite_radio_group,b as calcite_radio_group_item}
@@ -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.559
5
+ */
6
+ import{r as t,c as i,h as e,H as a,g as n,f as o}from"./p-1639c4dc.js";import{c as r}from"./p-c8483877.js";import{u as c}from"./p-5eee7770.js";import{t as s}from"./p-50cc9f99.js";import"./p-c594efbb.js";import"./p-27e6a383.js";const l=class{constructor(e){t(this,e),this.calciteActionClick=i(this,"calciteActionClick",6),this.active=!1,this.appearance="solid",this.compact=!1,this.disabled=!1,this.indicator=!1,this.intlLoading="Loading",this.loading=!1,this.scale="m",this.textEnabled=!1,this.mutationObserver=r("mutation",(()=>o(this))),this.calciteActionClickHandler=()=>{this.disabled||this.calciteActionClick.emit()}}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}componentDidRender(){c(this)}async setFocus(){var t;null===(t=this.buttonEl)||void 0===t||t.focus()}renderTextContainer(){const{text:t,textEnabled:i}=this;return t?e("div",{class:{"text-container":!0,"text-container--visible":i},key:"text-container"},t):null}renderIconContainer(){var t;const{loading:i,icon:a,scale:n,el:o,intlLoading:r}=this,c="l"===n?"m":"s",s=i?e("calcite-loader",{active:!0,inline:!0,label:r,scale:"l"===n?"l":"m"}):null,l=a?e("calcite-icon",{icon:a,scale:c}):null,d=s||l,b=d||(null===(t=o.children)||void 0===t?void 0:t.length),u=e("div",{class:{"slot-container":!0,"slot-container--hidden":i}},e("slot",null));return b?e("div",{"aria-hidden":"true",class:"icon-container",key:"icon-container"},d,u):null}render(){const{compact:t,disabled:i,loading:n,textEnabled:o,label:r,text:c}=this,l=r||c,d={button:!0,"button--text-visible":o,"button--compact":t};return e(a,{onClick:this.calciteActionClickHandler},e("button",{"aria-busy":s(n),"aria-disabled":s(i),"aria-label":l,class:d,disabled:i,ref:t=>this.buttonEl=t},this.renderIconContainer(),this.renderTextContainer()))}get el(){return n(this)}};l.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.button{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:auto;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;-ms-flex:1 0 auto;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{pointer-events:none;margin:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}.button .text-container{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-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-transition-property:margin;transition-property:margin;-webkit-transition-property:inline-size;transition-property:inline-size}.button .text-container--visible{inline-size:auto;-ms-flex:1 1 auto;flex:1 1 auto;opacity:1}:host([scale=s]) .button{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .button{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=l]) .button--text-visible .icon-container{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([alignment=center]) .button{-ms-flex-pack:center;justify-content:center}:host([alignment=end]) .button{-ms-flex-pack:end;justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{-ms-flex:0 1 auto;flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:-ms-flexbox;display:flex}.slot-container--hidden{display:none}.button--text-visible{inline-size:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=clear]) .button{background-color:transparent;-webkit-transition-property:-webkit-box-shadow;transition-property:-webkit-box-shadow;transition-property:box-shadow;transition-property:box-shadow, -webkit-box-shadow;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host([appearance=clear]) .button:hover,:host([appearance=clear]) .button:focus{background-color:transparent;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=clear]) .button,:host([active][appearance=clear]) .button:hover,:host([active][appearance=clear]) .button:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([appearance=clear][loading]) .button,:host([appearance=clear][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{color:var(--calcite-ui-text-3);-webkit-margin-end:0px;margin-inline-end:0px}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button--text-visible .text-container--visible{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}';export{l as calcite_action}
@@ -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.559
5
+ */
6
+ import{r as t,c as i,h as e,F as a,g as n}from"./p-1639c4dc.js";import{C as s,I as o,S as r}from"./p-13c530e6.js";import{t as l,f as c}from"./p-50cc9f99.js";import{g as m}from"./p-9f20d202.js";import{g as h}from"./p-27e6a383.js";import{i as d}from"./p-d74290a4.js";import"./p-c594efbb.js";const p=["ArrowUp","ArrowDown"],f=["ArrowUp","ArrowDown","End","Home"],u=class{constructor(e){t(this,e),this.calciteActionMenuOpenChange=i(this,"calciteActionMenuOpenChange",6),this.expanded=!1,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.actionElements=[],this.guid=`calcite-action-menu-${h()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.activeMenuItemIndex=-1,this.connectMenuButtonEl=()=>{const{menuButtonId:t,menuId:i,open:e,label:a}=this,n=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==n&&(this.disconnectMenuButtonEl(),this.menuButtonEl=n,this.setTooltipReferenceElement(),n&&(n.active=e,n.setAttribute("aria-controls",i),n.setAttribute("aria-expanded",l(e)),n.setAttribute("aria-haspopup","true"),n.id||(n.id=t),n.label||(n.label=a),n.text||(n.text=a),n.addEventListener("pointerdown",this.menuButtonClick),n.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("pointerdown",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.slottedMenuButtonEl=i[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=()=>{this.toggleOpen()},this.updateTooltip=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.tooltipEl=i[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:i,menuButtonEl:e,open:a}=this;t&&(t.referenceElement=i||a?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:a}=this,n=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=n),t.active=i===a},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.handleDefaultSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.actionElements=i},this.menuButtonKeyDown=t=>{const{key:i}=t,{actionElements:e}=this;if(e.length)return d(i)?(t.preventDefault(),void this.toggleOpen()):void(this.isValidKey(i,p)&&(t.preventDefault(),this.toggleOpen(!0),this.handleActionNavigation(i,e)))},this.menuActionsContainerKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:a}=this;if("Tab"!==i)if(d(i)){t.preventDefault();const i=e[a];i?i.click():this.toggleOpen(!1)}else{if("Escape"===i)return this.toggleOpen(!1),void t.preventDefault();e.length&&(this.isValidKey(i,f)&&t.preventDefault(),this.handleActionNavigation(i,e))}else this.open=!1},this.handleActionNavigation=(t,i)=>{if(!this.open)return;const e=this.activeMenuItemIndex;"Home"===t&&(this.activeMenuItemIndex=0),"End"===t&&(this.activeMenuItemIndex=i.length-1),"ArrowUp"===t&&(this.activeMenuItemIndex=m(Math.max(e-1,-1),i.length)),"ArrowDown"===t&&(this.activeMenuItemIndex=m(e+1,i.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t}}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpenChange.emit(t),this.setTooltipReferenceElement()}closeCalciteActionMenuOnClick(t){t.composedPath().includes(this.el)||(this.open=!1)}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){c(this.menuButtonEl)}renderMenuButton(){const{label:t,scale:i,expanded:a}=this;return e("slot",{name:r.trigger,onSlotchange:this.setMenuButtonEl},e("calcite-action",{class:s.defaultTrigger,icon:o.menu,ref:this.setDefaultMenuButtonEl,scale:i,text:t,textEnabled:a}))}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:i,open:a,menuId:n,menuButtonEl:o,label:r,placement:l,overlayPositioning:c,flipPlacements:m}=this,h=t[i];return e("calcite-popover",{disablePointer:!0,flipPlacements:m,label:r,offsetDistance:0,open:a,overlayPositioning:c,placement:l,referenceElement:o},e("div",{"aria-activedescendant":(null==h?void 0:h.id)||null,"aria-labelledby":null==o?void 0:o.id,class:s.menu,id:n,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,role:"menu",tabIndex:-1},e("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return e(a,null,this.renderMenuButton(),this.renderMenuItems(),e("slot",{name:r.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";export{u as calcite_action_menu}
@@ -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.559
5
+ */
6
+ import{r as t,c as a,h as i,g as e,F as n}from"./p-1639c4dc.js";import{c as r}from"./p-c8483877.js";import{f as o}from"./p-50cc9f99.js";import{c as s,d as c}from"./p-f48a4d09.js";import{c as l,d as m,a as p,H as d}from"./p-38af76f3.js";import{u as h}from"./p-5eee7770.js";import"./p-c594efbb.js";import"./p-27e6a383.js";const f=class{constructor(i){t(this,i),this.calciteInternalOptionChange=a(this,"calciteInternalOptionChange",6),this.disabled=!1,this.mutationObserver=r("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}))}handlePropChange(t,a,i){"label"!==i&&"value"!==i||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:t}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=t,this.internallySetLabel=t),this.value&&this.value!==this.internallySetValue||(this.value=t,this.internallySetValue=t)}connectedCallback(){var t;this.ensureTextContentDependentProps(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){return i("slot",null,this.label)}get el(){return e(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:block}";const u=class{constructor(i){t(this,i),this.calciteInternalOptionGroupChange=a(this,"calciteInternalOptionGroupChange",6),this.disabled=!1}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return i(n,null,i("div",null,this.label),i("slot",null))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:block}";function b(t){return"CALCITE-OPTION"===t.tagName}const w=class{constructor(i){t(this,i),this.calciteSelectChange=a(this,"calciteSelectChange",6),this.disabled=!1,this.required=!1,this.scale="m",this.value=null,this.width="auto",this.componentToNativeEl=new Map,this.mutationObserver=r("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const t=Array.from(this.el.children).filter((t=>"CALCITE-OPTION"===t.tagName||"CALCITE-OPTION-GROUP"===t.tagName));this.clearInternalSelect(),t.forEach((t=>{var a;return null===(a=this.selectEl)||void 0===a?void 0:a.append(this.toNativeElement(t))}))},this.storeSelectRef=t=>{this.selectEl=t,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()}}valueHandler(t){this.el.querySelectorAll("calcite-option").forEach((a=>a.selected=a.value===t))}selectedOptionHandler(t){this.value=null==t?void 0:t.value}connectedCallback(){var t;const{el:a}=this;null===(t=this.mutationObserver)||void 0===t||t.observe(a,{subtree:!0,childList:!0}),s(this),l(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),c(this),m(this)}componentDidLoad(){var t,a;p(this,null!==(a=null===(t=this.selectedOption)||void 0===t?void 0:t.value)&&void 0!==a?a:"")}componentDidRender(){h(this)}async setFocus(){o(this.selectEl)}handleOptionOrGroupChange(t){t.stopPropagation();const a=t.target,i=this.componentToNativeEl.get(a);i&&(this.updateNativeElement(a,i),b(a)&&a.selected&&(this.deselectAllExcept(a),this.selectedOption=a))}onLabelClick(){this.setFocus()}updateNativeElement(t,a){if(a.disabled=t.disabled,a.label=t.label,b(t)){const i=a;i.selected=t.selected,i.value=t.value,i.innerText=t.label}}clearInternalSelect(){this.componentToNativeEl.forEach((t=>t.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(t){if(!t)return;let a;this.componentToNativeEl.forEach(((i,e)=>{b(e)&&i===t&&(e.selected=!0,a=e,this.deselectAllExcept(e))})),a&&(this.selectedOption=a)}toNativeElement(t){if(b(t)){const a=document.createElement("option");return this.updateNativeElement(t,a),this.componentToNativeEl.set(t,a),a}if(function(t){return"CALCITE-OPTION-GROUP"===t.tagName}(t)){const a=document.createElement("optgroup");return this.updateNativeElement(t,a),Array.from(t.children).forEach((i=>{const e=this.toNativeElement(i);a.append(e),this.componentToNativeEl.set(t,e)})),this.componentToNativeEl.set(t,a),a}throw new Error("unsupported element child provided")}deselectAllExcept(t){this.el.querySelectorAll("calcite-option").forEach((a=>{a!==t&&(a.selected=!1)}))}renderChevron(){return i("div",{class:"icon-container"},i("calcite-icon",{class:"icon",icon:"chevron-down",scale:"s"}))}render(){return i(n,null,i("select",{"aria-label":this.label,class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},i("slot",null)),this.renderChevron(),i(d,{component:this}))}get el(){return e(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};w.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){block-size:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){block-size:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{f as calcite_option,u as calcite_option_group,w as calcite_select}
@@ -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.556
4
+ * v1.0.0-next.559
5
5
  */
6
6
  System.register([],(function(n){"use strict";return{execute:function(){function r(n){return n.map((function(n){var r="";for(var t=0;t<n;t++){r+=((1+Math.random())*65536|0).toString(16).substring(1)}return r})).join("-")}var t=n("g",(function(){return r([2,1,1,1,3])}))}}}));
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,a,r){function i(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,n){function o(e){try{c(r.next(e))}catch(e){n(e)}}function s(e){try{c(r["throw"](e))}catch(e){n(e)}}function c(e){e.done?a(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){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(e){return function(t){return c([e,t])}}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=t.call(e,a)}catch(e){o=[6,e];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(e,t,a){if(a||arguments.length===2)for(var r=0,i=t.length,n;r<i;r++){if(n||!(r in t)){if(!n)n=Array.prototype.slice.call(t,0,r);n[r]=t[r]}}return e.concat(n||Array.prototype.slice.call(t))};
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.559
6
+ */System.register(["./p-76baf89b.system.js","./p-3955fb18.system.js","./p-90aaf7e9.system.js","./p-6ab5f989.system.js","./p-72453cd1.system.js","./p-51877626.system.js","./p-adb45637.system.js","./p-9e0a3d06.system.js","./p-3609cc3a.system.js"],(function(e){"use strict";var t,a,r,i,n,o,s,c,l,d,h,u,f,p,v,g,m,D,y,w,b,x,k,A,R;return{setters:[function(e){t=e.r;a=e.c;r=e.h;i=e.H;n=e.g;o=e.F},function(e){s=e.T;c=e.c;l=e.d;d=e.a;h=e.b;u=e.g;f=e.H;p=e.s;v=e.i;g=e.e;m=e.n;D=e.f;y=e.l;w=e.h},function(e){b=e.a},function(e){x=e.C},function(e){k=e.u},function(e){A=e.i},function(e){R=e.H},function(){},function(){}],execute:function(){var _="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}";var C=e("calcite_date_picker",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerChange=a(this,"calciteDatePickerChange",6);this.calciteDatePickerRangeChange=a(this,"calciteDatePickerRangeChange",6);this.intlPrevMonth=s.prevMonth;this.intlNextMonth=s.nextMonth;this.intlYear=s.year;this.locale=document.documentElement.lang||"en";this.scale="m";this.range=false;this.proximitySelectionDisabled=false;this.keyDownHandler=function(e){if(e.key==="Escape"){r.reset()}};this.monthHeaderSelectChange=function(e){var t=new Date(e.detail);if(!r.range){r.activeDate=t}else{if(r.activeRange==="end"){r.activeEndDate=t}else{r.activeStartDate=t}r.mostRecentRangeValue=t}};this.monthActiveDateChange=function(e){var t=new Date(e.detail);if(!r.range){r.activeDate=t}else{if(r.activeRange==="end"){r.activeEndDate=t}else{r.activeStartDate=t}r.mostRecentRangeValue=t}};this.monthHoverChange=function(e){if(!r.startAsDate){r.hoverRange=undefined;return}var t=new Date(e.detail);r.hoverRange={focused:r.activeRange||"start",start:r.startAsDate,end:r.endAsDate};if(!r.proximitySelectionDisabled){if(r.endAsDate){var a=c(t,r.startAsDate);var i=c(t,r.endAsDate);if(i>0){r.hoverRange.end=t;r.hoverRange.focused="end"}else if(a<0){r.hoverRange.start=t;r.hoverRange.focused="start"}else if(a>i){r.hoverRange.start=t;r.hoverRange.focused="start"}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}else{if(t<r.startAsDate){r.hoverRange={focused:"start",start:t,end:r.startAsDate}}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}}else{if(!r.endAsDate){if(t<r.startAsDate){r.hoverRange={focused:"start",start:t,end:r.startAsDate}}else{r.hoverRange.end=t;r.hoverRange.focused="end"}}else{r.hoverRange=undefined}}e.stopPropagation()};this.monthMouseOutChange=function(){if(r.hoverRange){r.hoverRange=undefined}};this.reset=function(){var e,t,a,i,n,o;if(!Array.isArray(r.valueAsDate)&&r.valueAsDate&&((e=r.valueAsDate)===null||e===void 0?void 0:e.getTime())!==((t=r.activeDate)===null||t===void 0?void 0:t.getTime())){r.activeDate=new Date(r.valueAsDate)}if(r.startAsDate&&((a=r.startAsDate)===null||a===void 0?void 0:a.getTime())!==((i=r.activeStartDate)===null||i===void 0?void 0:i.getTime())){r.activeStartDate=new Date(r.startAsDate)}if(r.endAsDate&&((n=r.endAsDate)===null||n===void 0?void 0:n.getTime())!==((o=r.activeEndDate)===null||o===void 0?void 0:o.getTime())){r.activeEndDate=new Date(r.endAsDate)}};this.monthDateChange=function(e){var t=new Date(e.detail);if(!r.range){r.value=t?l(t):"";r.valueAsDate=t||null;r.activeDate=t||null;r.calciteDatePickerChange.emit(t);return}if(!r.startAsDate||!r.endAsDate&&t<r.startAsDate){if(r.startAsDate){r.setEndDate(new Date(r.startAsDate))}if(r.activeRange=="end"){r.setEndDate(t)}else{r.setStartDate(t)}}else if(!r.endAsDate){r.setEndDate(t)}else{if(!r.proximitySelectionDisabled){if(r.activeRange){if(r.activeRange=="end"){r.setEndDate(t)}else{r.setStartDate(t)}}else{var a=c(t,r.startAsDate);var i=c(t,r.endAsDate);if(i===0||a<0){r.setStartDate(t)}else if(a===0||i<0){r.setEndDate(t)}else if(a<i){r.setStartDate(t)}else{r.setEndDate(t)}}}else{r.setStartDate(t);r.endAsDate=r.activeEndDate=r.end=undefined}}r.calciteDatePickerChange.emit(t)}}e.prototype.handleValueAsDate=function(e){if(!Array.isArray(e)&&e&&e!==this.activeDate){this.activeDate=e}};e.prototype.handleRangeChange=function(){var e=this,t=e.startAsDate,a=e.endAsDate;this.activeEndDate=a;this.activeStartDate=t};e.prototype.onMinChanged=function(e){if(e){this.minAsDate=d(e)}};e.prototype.onMaxChanged=function(e){if(e){this.maxAsDate=d(e)}};e.prototype.connectedCallback=function(){if(Array.isArray(this.value)){this.valueAsDate=this.value.map((function(e){return d(e)}));this.start=this.value[0];this.end=this.value[1]}else if(this.value){this.valueAsDate=d(this.value)}if(this.start){this.setStartAsDate(d(this.start))}if(this.end){this.setEndAsDate(d(this.end))}if(this.min){this.minAsDate=d(this.min)}if(this.max){this.maxAsDate=d(this.max)}};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.loadLocaleData()];case 1:e.sent();this.onMinChanged(this.min);this.onMaxChanged(this.max);return[2]}}))}))};e.prototype.render=function(){var e;var t=h(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);var a=this.range?this.getActiveStartDate(t,this.minAsDate,this.maxAsDate):this.getActiveDate(t,this.minAsDate,this.maxAsDate);var n=a;var o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null;var s=this.getActiveEndDate(o,this.minAsDate,this.maxAsDate);if((this.activeRange==="end"||((e=this.hoverRange)===null||e===void 0?void 0:e.focused)==="end"&&(!this.proximitySelectionDisabled||o))&&s){n=s}if(this.range&&this.mostRecentRangeValue){n=this.mostRecentRangeValue}var c=this.range&&this.activeRange?this.activeRange==="start"?this.minAsDate:t||this.minAsDate:this.minAsDate;var l=this.range&&this.activeRange?this.activeRange==="start"?o||this.maxAsDate:this.maxAsDate:this.maxAsDate;return r(i,{onBlur:this.reset,onKeyDown:this.keyDownHandler,role:"application"},this.renderCalendar(n,l,c,t,o))};e.prototype.valueHandler=function(e){if(Array.isArray(e)){this.valueAsDate=e.map((function(e){return d(e)}));this.start=e[0];this.end=e[1]}else if(e){this.valueAsDate=d(e);this.start="";this.end=""}};e.prototype.startWatcher=function(e){this.setStartAsDate(d(e))};e.prototype.endWatcher=function(e){this.setEndAsDate(d(e))};e.prototype.loadLocaleData=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(a){switch(a.label){case 0:e=this.locale;t=this;return[4,u(e)];case 1:t.localeData=a.sent();return[2]}}))}))};e.prototype.renderCalendar=function(e,t,a,i,n){return this.localeData&&[r("calcite-date-picker-month-header",{activeDate:e,headingLevel:this.headingLevel||f,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,localeData:this.localeData,max:t,min:a,onCalciteDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:this.activeRange==="end"?n:i||new Date}),r("calcite-date-picker-month",{activeDate:e,endDate:this.range?n:undefined,hoverRange:this.hoverRange,localeData:this.localeData,max:t,min:a,onCalciteDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteDatePickerSelect:this.monthDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,scale:this.scale,selectedDate:this.activeRange==="end"?n:i,startDate:this.range?i:undefined})]};e.prototype.setStartAsDate=function(e,t){this.startAsDate=e;this.mostRecentRangeValue=this.startAsDate;if(t){this.calciteDatePickerRangeChange.emit({startDate:e,endDate:this.endAsDate})}};e.prototype.setEndAsDate=function(e,t){this.endAsDate=e;this.mostRecentRangeValue=this.endAsDate;if(t){this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:e})}};e.prototype.setEndDate=function(e){this.end=e?l(e):"";this.setEndAsDate(e,true);this.activeEndDate=e||null};e.prototype.setStartDate=function(e){this.start=e?l(e):"";this.setStartAsDate(e,true);this.activeStartDate=e||null};e.prototype.getActiveDate=function(e,t,a){return h(this.activeDate,t,a)||e||h(new Date,t,a)};e.prototype.getActiveStartDate=function(e,t,a){return h(this.activeStartDate,t,a)||e||h(new Date,t,a)};e.prototype.getActiveEndDate=function(e,t,a){return h(this.activeEndDate,t,a)||e||h(new Date,t,a)};Object.defineProperty(e,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{valueAsDate:["handleValueAsDate"],startAsDate:["handleRangeChange"],endAsDate:["handleRangeChange"],min:["onMinChanged"],max:["onMaxChanged"],value:["valueHandler"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}},enumerable:false,configurable:true});return e}());C.style=_;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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;min-inline-size:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;-webkit-margin-start:0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";var S=e("calcite_date_picker_day",function(){function e(e){var r=this;t(this,e);this.calciteDaySelect=a(this,"calciteDaySelect",6);this.calciteInternalDayHover=a(this,"calciteInternalDayHover",6);this.disabled=false;this.currentMonth=false;this.selected=false;this.highlighted=false;this.range=false;this.startOfRange=false;this.endOfRange=false;this.rangeHover=false;this.active=false;this.onClick=function(){!r.disabled&&r.calciteDaySelect.emit()};this.keyDownHandler=function(e){if(A(e.key)){!r.disabled&&r.calciteDaySelect.emit();e.preventDefault()}}}e.prototype.mouseoverHandler=function(){this.calciteInternalDayHover.emit()};e.prototype.render=function(){var e;var t=this;var a=String(this.day).split("").map((function(e){return t.localeData.numerals[e]})).join("");var n=b(this.el);return r(i,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},r("div",{class:(e={"day-v-wrapper":true},e[x.rtl]=n==="rtl",e)},r("div",{class:"day-wrapper"},r("span",{class:"day"},r("span",{class:"text"},a)))))};e.prototype.componentDidRender=function(){k(this,this.isTabbable)};e.prototype.isTabbable=function(){return this.active};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());S.style=M;var P="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}.calender{-webkit-margin-after:0.25rem;margin-block-end:0.25rem}.week-headers{display:-ms-flexbox;display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding-block:0px;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";var z=e("calcite_date_picker_month",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",6);this.calciteInternalDatePickerHover=a(this,"calciteInternalDatePickerHover",6);this.calciteDatePickerActiveDateChange=a(this,"calciteDatePickerActiveDateChange",6);this.calciteInternalDatePickerMouseOut=a(this,"calciteInternalDatePickerMouseOut",6);this.activeDate=new Date;this.keyDownHandler=function(e){if(e.defaultPrevented){return}var t=r.el.dir==="rtl";switch(e.key){case"ArrowUp":e.preventDefault();r.addDays(-7);break;case"ArrowRight":e.preventDefault();r.addDays(t?-1:1);break;case"ArrowDown":e.preventDefault();r.addDays(7);break;case"ArrowLeft":e.preventDefault();r.addDays(t?1:-1);break;case"PageUp":e.preventDefault();r.addMonths(-1);break;case"PageDown":e.preventDefault();r.addMonths(1);break;case"Home":e.preventDefault();r.activeDate.setDate(1);r.addDays();break;case"End":e.preventDefault();r.activeDate.setDate(new Date(r.activeDate.getFullYear(),r.activeDate.getMonth()+1,0).getDate());r.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":r.activeFocus=false}};this.disableActiveFocus=function(){r.activeFocus=false};this.dayHover=function(e){var t=e.target;if(t.disabled){r.calciteInternalDatePickerMouseOut.emit()}else{r.calciteInternalDatePickerHover.emit(t.value)}e.stopPropagation()};this.daySelect=function(e){var t=e.target;r.calciteDatePickerSelect.emit(t.value)}}e.prototype.mouseoutHandler=function(){this.calciteInternalDatePickerMouseOut.emit()};e.prototype.render=function(){var e=this;var t=this.activeDate.getMonth();var a=this.activeDate.getFullYear();var n=this.localeData.weekStart%7;var o=this.localeData.days,s=o.abbreviated,c=o.short,l=o.narrow;var d=this.scale==="s"?l||c||s:c||s||l;var h=__spreadArray(__spreadArray([],d.slice(n,7),true),d.slice(0,n),true);var u=this.getCurrentMonthDays(t,a);var f=this.getPrevMonthdays(t,a,n);var v=this.getNextMonthDays(t,a,n);var g=__spreadArray(__spreadArray(__spreadArray([],f.map((function(r){var i=new Date(a,t-1,r);return e.renderDateDay(false,r,i)})),true),u.map((function(r){var i=new Date(a,t,r);var n=p(i,e.activeDate);return e.renderDateDay(n,r,i,true,true)})),true),v.map((function(r){var i=new Date(a,t+1,r);return e.renderDateDay(false,r,i)})),true);var m=[];for(var D=0;D<g.length;D+=7){m.push(g.slice(D,D+7))}return r(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},r("div",{class:"calender",role:"grid"},r("div",{class:"week-headers",role:"row"},h.map((function(e){return r("span",{class:"week-header",role:"columnheader"},e)}))),m.map((function(e){return r("div",{class:"week-days",role:"row"},e)}))))};e.prototype.addMonths=function(e){var t=new Date(this.activeDate);t.setMonth(this.activeDate.getMonth()+e);this.calciteDatePickerActiveDateChange.emit(h(t,this.min,this.max));this.activeFocus=true};e.prototype.addDays=function(e){if(e===void 0){e=0}var t=new Date(this.activeDate);t.setDate(this.activeDate.getDate()+e);this.calciteDatePickerActiveDateChange.emit(h(t,this.min,this.max));this.activeFocus=true};e.prototype.getPrevMonthdays=function(e,t,a){var r=new Date(t,e,0);var i=r.getDate();var n=r.getDay();var o=[];if(n-6===a){return o}for(var s=Math.abs(r.getDay()-a);s>=0;s--){o.push(i-s)}return o};e.prototype.getCurrentMonthDays=function(e,t){var a=new Date(t,e+1,0).getDate();var r=[];for(var i=0;i<a;i++){r.push(i+1)}return r};e.prototype.getNextMonthDays=function(e,t,a){var r=new Date(t,e+1,0).getDay();var i=[];if(r===(a+6)%7){return i}for(var n=0;n<(6-(r-a))%7;n++){i.push(n+1)}return i};e.prototype.betweenSelectedRange=function(e){return!!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate&&!this.isRangeHover(e))};e.prototype.isSelected=function(e){return!!(p(e,this.selectedDate)||this.startDate&&p(e,this.startDate)||this.endDate&&p(e,this.endDate))};e.prototype.isStartOfRange=function(e){return!!(this.startDate&&!p(this.startDate,this.endDate)&&p(this.startDate,e)&&!this.isEndOfRange(e))};e.prototype.isEndOfRange=function(e){return!!(this.endDate&&!p(this.startDate,this.endDate)&&p(this.endDate,e)||!this.endDate&&this.hoverRange&&p(this.startDate,this.hoverRange.end)&&p(e,this.hoverRange.end))};e.prototype.renderDateDay=function(e,t,a,i,n){var o=this;var s;var c=this.isFocusedOnStart();var l=this.isHoverInRange()||!this.endDate&&this.hoverRange&&p((s=this.hoverRange)===null||s===void 0?void 0:s.end,this.startDate);return r("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&l,"hover--outside-range":this.startDate&&!l,"focused--start":c,"focused--end":!c},currentMonth:i,day:t,disabled:!v(a,this.min,this.max),endOfRange:this.isEndOfRange(a),highlighted:this.betweenSelectedRange(a),key:a.toDateString(),localeData:this.localeData,onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!p(this.startDate,this.endDate),rangeHover:this.isRangeHover(a),ref:function(t){if(n&&e&&o.activeFocus){t===null||t===void 0?void 0:t.focus()}},scale:this.scale,selected:this.isSelected(a),startOfRange:this.isStartOfRange(a),value:a})};e.prototype.isFocusedOnStart=function(){var e;return((e=this.hoverRange)===null||e===void 0?void 0:e.focused)==="start"};e.prototype.isHoverInRange=function(){if(!this.hoverRange){return false}var e=this.hoverRange,t=e.start,a=e.end;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||a<this.endDate)||this.isFocusedOnStart()&&this.startDate&&t>this.startDate)};e.prototype.isRangeHover=function(e){if(!this.hoverRange){return false}var t=this.hoverRange,a=t.start,r=t.end;var i=this.isFocusedOnStart();var n=this.isHoverInRange();var o=n&&(!i&&e>this.startDate&&(e<r||p(e,r))||i&&e<this.endDate&&(e>a||p(e,a)));var s=!n&&(!i&&e>=this.endDate&&(e<r||p(e,r))||i&&(e<this.startDate||this.endDate&&p(e,this.startDate))&&(e>a||p(e,a)));return o||s};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());z.style=P;var H=543;var Y="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:block}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;line-height:1}.text-nreverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;inline-size:3rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{inline-size:4rem;text-align:start}.year-wrap{position:relative}.suffix{position:absolute;inset-block-start:0px;inset-inline-start:0px;inline-size:4rem;white-space:nowrap;text-align:start}.suffix__invisible{visibility:hidden}";var O=e("calcite_date_picker_month_header",function(){function e(e){var r=this;t(this,e);this.calciteDatePickerSelect=a(this,"calciteDatePickerSelect",6);this.onYearKey=function(e){var t=r.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault();r.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault();r.setYear({localizedYear:t,offset:1});break}};this.onYearChange=function(e){r.setYear({localizedYear:r.parseCalendarYear(e.target.value)})};this.onYearInput=function(e){r.setYear({localizedYear:r.parseCalendarYear(e.target.value),commit:false})};this.prevMonthClick=function(e){r.handleArrowClick(e,r.prevMonthDate)};this.prevMonthKeydown=function(e){if(A(e.key)){r.prevMonthClick(e)}};this.nextMonthClick=function(e){r.handleArrowClick(e,r.nextMonthDate)};this.nextMonthKeydown=function(e){if(A(e.key)){r.nextMonthClick(e)}};this.handleArrowClick=function(e,t){e.preventDefault();r.calciteDatePickerSelect.emit(t)}}e.prototype.connectedCallback=function(){this.setNextPrevMonthDates()};e.prototype.render=function(){return r("div",{class:"header"},this.renderContent())};e.prototype.renderContent=function(){var e=this;var t;if(!this.activeDate||!this.localeData){return null}var a=this.activeDate.getMonth();var i=this.localeData,n=i.months,s=i.unitOrder;var c=(n.wide||n.narrow||n.abbreviated)[a];var l=this.formatCalendarYear(this.activeDate.getFullYear().toString());var d=this.scale==="l"?"m":"s";var h=g(s);var u=h.indexOf("y")<h.indexOf("m");var f=(t=this.localeData.year)===null||t===void 0?void 0:t.suffix;return r(o,null,r("a",{"aria-disabled":(this.prevMonthDate.getMonth()===a).toString(),"aria-label":this.intlPrevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===a?-1:0},r("calcite-icon",{"flip-rtl":true,icon:"chevron-left",scale:d})),r("div",{class:{text:true,"text--reverse":u}},r(R,{class:"month",level:this.headingLevel},c),r("span",{class:"year-wrap"},r("input",{"aria-label":this.intlYear,class:{year:true,"year--suffix":!!f},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:function(t){return e.yearInput=t},type:"text",value:l}),f&&r("span",{class:"suffix"},r("span",{"aria-hidden":"true",class:"suffix__invisible"},l)," "+f))),r("a",{"aria-disabled":(this.nextMonthDate.getMonth()===a).toString(),"aria-label":this.intlNextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===a?-1:0},r("calcite-icon",{"flip-rtl":true,icon:"chevron-right",scale:d})))};e.prototype.setNextPrevMonthDates=function(){if(!this.activeDate){return}this.nextMonthDate=h(m(this.activeDate),this.min,this.max);this.prevMonthDate=h(D(this.activeDate),this.min,this.max)};e.prototype.formatCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?H:0;return y(w(e,t)+r,t)};e.prototype.parseCalendarYear=function(e){var t=this.localeData;var a=t["default-calendar"]==="buddhist";var r=a?H:0;return y(w(e,t)-r,t)};e.prototype.getInRangeDate=function(e){var t=e.localizedYear,a=e.offset,r=a===void 0?0:a;var i=this,n=i.min,o=i.max,s=i.activeDate,c=i.localeData;var l=w(t,c);var d=l.toString().length;var u=isNaN(l)?false:l+r;var f=u&&(!n||n.getFullYear()<=u)&&(!o||o.getFullYear()>=u);if(u&&f&&d===t.length){var p=new Date(s);p.setFullYear(u);return h(p,n,o)}};e.prototype.setYear=function(e){var t=e.localizedYear,a=e.commit,r=a===void 0?true:a,i=e.offset,n=i===void 0?0:i;var o=this,s=o.yearInput,c=o.activeDate;var l=this.getInRangeDate({localizedYear:t,offset:n});if(l){this.calciteDatePickerSelect.emit(l)}if(r){s.value=this.formatCalendarYear((l||c).getFullYear().toString())}};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}},enumerable:false,configurable:true});return e}());O.style=Y}}}));
@@ -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.556
4
+ * v1.0.0-next.559
5
5
  */
6
- System.register(["./p-66b8488f.system.js","./p-7766ddc2.system.js","./p-79359620.system.js","./p-51e58ac3.system.js"],(function(t){"use strict";var e,a,i,n,r,o,s;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.g},function(t){r=t.S},function(t){o=t.c},function(t){s=t.u}],execute:function(){var c={sortItem:"sort-item",container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"};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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}.container--vertical{-ms-flex-direction:column;flex-direction:column}.container--horizontal{-ms-flex-direction:row;flex-direction:row}";var d=t("calcite_sortable_list",function(){function t(t){var i=this;e(this,t);this.calciteListOrderChange=a(this,"calciteListOrderChange",6);this.handleSelector="calcite-handle";this.layout="vertical";this.disabled=false;this.loading=false;this.handleActivated=false;this.items=[];this.mutationObserver=o("mutation",(function(){i.cleanUpDragAndDrop();i.items=Array.from(i.el.children);i.setUpDragAndDrop()}))}t.prototype.connectedCallback=function(){this.items=Array.from(this.el.children);this.setUpDragAndDrop();this.beginObserving()};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();this.cleanUpDragAndDrop()};t.prototype.componentDidRender=function(){s(this)};t.prototype.calciteHandleNudgeHandler=function(t){var e;var a=this.items.find((function(e){return e.contains(t.detail.handle)||t.composedPath().includes(e)}));var i=this.items.length-1;var n=this.items.indexOf(a);var r=false;var o;switch(t.detail.direction){case"up":t.preventDefault();if(n===0){r=true}else{o=n-1}break;case"down":t.preventDefault();if(n===i){o=0}else if(n===i-1){r=true}else{o=n+2}break;default:return}(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect();if(r){a.parentElement.appendChild(a)}else{a.parentElement.insertBefore(a,this.items[o])}this.items=Array.from(this.el.children);t.detail.handle.activated=true;t.detail.handle.setFocus();this.beginObserving()};t.prototype.setUpDragAndDrop=function(){var t=this;this.cleanUpDragAndDrop();var e={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:function(){t.items=Array.from(t.el.children);t.calciteListOrderChange.emit()},onStart:function(){var e;(e=t.mutationObserver)===null||e===void 0?void 0:e.disconnect()},onEnd:function(){t.beginObserving()}};if(this.dragSelector){e.draggable=this.dragSelector}this.sortable=r.create(this.el,e)};t.prototype.cleanUpDragAndDrop=function(){var t;(t=this.sortable)===null||t===void 0?void 0:t.destroy();this.sortable=null};t.prototype.beginObserving=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.render=function(){var t;var e=this.layout;var a=e==="horizontal"||false;return i("div",{class:(t={},t[c.container]=true,t[c.containerVertical]=!a,t[c.containerHorizontal]=a,t)},i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());d.style=l}}}));
6
+ System.register(["./p-76baf89b.system.js","./p-04a25a81.system.js","./p-770702d4.system.js","./p-72453cd1.system.js"],(function(t){"use strict";var e,a,i,n,r,o,s;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.g},function(t){r=t.S},function(t){o=t.c},function(t){s=t.u}],execute:function(){var l={sortItem:"sort-item",container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"};var c="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}.container--vertical{-ms-flex-direction:column;flex-direction:column}.container--horizontal{-ms-flex-direction:row;flex-direction:row}";var d=t("calcite_sortable_list",function(){function t(t){var i=this;e(this,t);this.calciteListOrderChange=a(this,"calciteListOrderChange",6);this.handleSelector="calcite-handle";this.layout="vertical";this.disabled=false;this.loading=false;this.handleActivated=false;this.items=[];this.mutationObserver=o("mutation",(function(){i.cleanUpDragAndDrop();i.items=Array.from(i.el.children);i.setUpDragAndDrop()}))}t.prototype.connectedCallback=function(){this.items=Array.from(this.el.children);this.setUpDragAndDrop();this.beginObserving()};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();this.cleanUpDragAndDrop()};t.prototype.componentDidRender=function(){s(this)};t.prototype.calciteHandleNudgeHandler=function(t){var e;var a=this.items.find((function(e){return e.contains(t.detail.handle)||t.composedPath().includes(e)}));var i=this.items.length-1;var n=this.items.indexOf(a);var r=false;var o;switch(t.detail.direction){case"up":t.preventDefault();if(n===0){r=true}else{o=n-1}break;case"down":t.preventDefault();if(n===i){o=0}else if(n===i-1){r=true}else{o=n+2}break;default:return}(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect();if(r){a.parentElement.appendChild(a)}else{a.parentElement.insertBefore(a,this.items[o])}this.items=Array.from(this.el.children);t.detail.handle.activated=true;t.detail.handle.setFocus();this.beginObserving()};t.prototype.setUpDragAndDrop=function(){var t=this;this.cleanUpDragAndDrop();var e={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:function(){t.items=Array.from(t.el.children);t.calciteListOrderChange.emit()},onStart:function(){var e;(e=t.mutationObserver)===null||e===void 0?void 0:e.disconnect()},onEnd:function(){t.beginObserving()}};if(this.dragSelector){e.draggable=this.dragSelector}this.sortable=r.create(this.el,e)};t.prototype.cleanUpDragAndDrop=function(){var t;(t=this.sortable)===null||t===void 0?void 0:t.destroy();this.sortable=null};t.prototype.beginObserving=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.render=function(){var t;var e=this.layout;var a=e==="horizontal"||false;return i("div",{class:(t={},t[l.container]=true,t[l.containerVertical]=!a,t[l.containerHorizontal]=a,t)},i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());d.style=c}}}));
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,a,e,n){function i(t){return t instanceof e?t:new e((function(a){a(t)}))}return new(e||(e=Promise))((function(e,r){function o(t){try{l(n.next(t))}catch(t){r(t)}}function c(t){try{l(n["throw"](t))}catch(t){r(t)}}function l(t){t.done?e(t.value):i(t.value).then(o,c)}l((n=n.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,i,r,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(t){return function(a){return l([t,a])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(e)try{if(n=1,i&&(r=o[0]&2?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;if(i=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;i=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){e.label=o[1];break}if(o[0]===6&&e.label<r[1]){e.label=r[1];r=o;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(o);break}if(r[2])e.ops.pop();e.trys.pop();continue}o=a.call(t,e)}catch(t){o=[6,t];i=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
+ /*!
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.559
6
+ */System.register(["./p-76baf89b.system.js","./p-90aaf7e9.system.js","./p-6ab5f989.system.js","./p-3609cc3a.system.js"],(function(t){"use strict";var a,e,n,i,r;return{setters:[function(t){a=t.r;e=t.c;n=t.h;i=t.g},function(t){r=t.t},function(){},function(){}],execute:function(){var o={handle:"handle",handleActivated:"handle--activated"};var c={drag:"drag"};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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:-ms-flexbox;display:flex}.handle{display:-ms-flexbox;display:flex;cursor:move;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;outline-color:transparent;color:var(--calcite-ui-border-3);padding-block:0.75rem;padding-inline:0.25rem;line-height:0}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}";var s=t("calcite_handle",function(){function t(t){var n=this;a(this,t);this.calciteHandleNudge=e(this,"calciteHandleNudge",6);this.activated=false;this.textTitle="handle";this.handleKeyDown=function(t){switch(t.key){case" ":n.activated=!n.activated;t.preventDefault();break;case"ArrowUp":case"ArrowDown":if(!n.activated){return}t.preventDefault();var a=t.key.toLowerCase().replace("arrow","");n.calciteHandleNudge.emit({handle:n.el,direction:a});break}};this.handleBlur=function(){n.activated=false}}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(a){(t=this.handleButton)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.render=function(){var t;var a=this;return n("span",{"aria-pressed":r(this.activated),class:(t={},t[o.handle]=true,t[o.handleActivated]=this.activated,t),onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:function(t){a.handleButton=t},role:"button",tabindex:"0",title:this.textTitle},n("calcite-icon",{icon:c.drag,scale:"s"}))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());s.style=l}}}));
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function r(t){try{c(i.next(t))}catch(t){o(t)}}function l(t){try{c(i["throw"](t))}catch(t){o(t)}}function c(t){t.done?n(t.value):a(t.value).then(r,l)}c((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(t){return function(e){return c([t,e])}}function c(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=e.call(t,n)}catch(t){r=[6,t];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[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.559
6
+ */System.register(["./p-76baf89b.system.js","./p-9ffa7d9c.system.js","./p-90aaf7e9.system.js","./p-dc2c9e6a.system.js","./p-3609cc3a.system.js","./p-51877626.system.js","./p-6ab5f989.system.js"],(function(t){"use strict";var e,n,i,a,o,r,l,c,s,u,f,m,d;return{setters:[function(t){e=t.r;n=t.c;i=t.h;a=t.F;o=t.g},function(t){r=t.C;l=t.I;c=t.S},function(t){s=t.t;u=t.f},function(t){f=t.g},function(t){m=t.g},function(t){d=t.i},function(){}],execute:function(){var p="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";var h=["ArrowUp","ArrowDown"];var v=["ArrowUp","ArrowDown","End","Home"];var g=t("calcite_action_menu",function(){function t(t){var i=this;e(this,t);this.calciteActionMenuOpenChange=n(this,"calciteActionMenuOpenChange",6);this.expanded=false;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.actionElements=[];this.guid="calcite-action-menu-".concat(m());this.menuId="".concat(this.guid,"-menu");this.menuButtonId="".concat(this.guid,"-menu-button");this.activeMenuItemIndex=-1;this.connectMenuButtonEl=function(){var t=i,e=t.menuButtonId,n=t.menuId,a=t.open,o=t.label;var r=i.slottedMenuButtonEl||i.defaultMenuButtonEl;if(i.menuButtonEl===r){return}i.disconnectMenuButtonEl();i.menuButtonEl=r;i.setTooltipReferenceElement();if(!r){return}r.active=a;r.setAttribute("aria-controls",n);r.setAttribute("aria-expanded",s(a));r.setAttribute("aria-haspopup","true");if(!r.id){r.id=e}if(!r.label){r.label=o}if(!r.text){r.text=o}r.addEventListener("pointerdown",i.menuButtonClick);r.addEventListener("keydown",i.menuButtonKeyDown)};this.disconnectMenuButtonEl=function(){var t=i.menuButtonEl;if(!t){return}t.removeEventListener("pointerdown",i.menuButtonClick);t.removeEventListener("keydown",i.menuButtonKeyDown)};this.setMenuButtonEl=function(t){var e=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-action")}));i.slottedMenuButtonEl=e[0];i.connectMenuButtonEl()};this.setDefaultMenuButtonEl=function(t){i.defaultMenuButtonEl=t;i.connectMenuButtonEl()};this.handleCalciteActionClick=function(){i.open=false;i.setFocus()};this.menuButtonClick=function(){i.toggleOpen()};this.updateTooltip=function(t){var e=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-tooltip")}));i.tooltipEl=e[0];i.setTooltipReferenceElement()};this.setTooltipReferenceElement=function(){var t=i,e=t.tooltipEl,n=t.expanded,a=t.menuButtonEl,o=t.open;if(e){e.referenceElement=!n&&!o?a:null}};this.updateAction=function(t,e){var n=i,a=n.guid,o=n.activeMenuItemIndex;var r="".concat(a,"-action-").concat(e);t.tabIndex=-1;t.setAttribute("role","menuitem");if(!t.id){t.id=r}t.active=e===o};this.updateActions=function(t){t===null||t===void 0?void 0:t.forEach(i.updateAction)};this.handleDefaultSlotChange=function(t){var e=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-action")}));i.actionElements=e};this.menuButtonKeyDown=function(t){var e=t.key;var n=i.actionElements;if(!n.length){return}if(d(e)){t.preventDefault();i.toggleOpen();return}if(!i.isValidKey(e,h)){return}t.preventDefault();i.toggleOpen(true);i.handleActionNavigation(e,n)};this.menuActionsContainerKeyDown=function(t){var e=t.key;var n=i,a=n.actionElements,o=n.activeMenuItemIndex;if(e==="Tab"){i.open=false;return}if(d(e)){t.preventDefault();var r=a[o];r?r.click():i.toggleOpen(false);return}if(e==="Escape"){i.toggleOpen(false);t.preventDefault();return}if(!a.length){return}if(i.isValidKey(e,v)){t.preventDefault()}i.handleActionNavigation(e,a)};this.handleActionNavigation=function(t,e){if(!i.open){return}var n=i.activeMenuItemIndex;if(t==="Home"){i.activeMenuItemIndex=0}if(t==="End"){i.activeMenuItemIndex=e.length-1}if(t==="ArrowUp"){i.activeMenuItemIndex=f(Math.max(n-1,-1),e.length)}if(t==="ArrowDown"){i.activeMenuItemIndex=f(n+1,e.length)}};this.toggleOpenEnd=function(){i.setFocus();i.el.removeEventListener("calcitePopoverOpen",i.toggleOpenEnd)};this.toggleOpen=function(t){if(t===void 0){t=!i.open}i.el.addEventListener("calcitePopoverOpen",i.toggleOpenEnd);i.open=t}}t.prototype.disconnectedCallback=function(){this.disconnectMenuButtonEl()};t.prototype.expandedHandler=function(){this.open=false;this.setTooltipReferenceElement()};t.prototype.openHandler=function(t){this.activeMenuItemIndex=this.open?0:-1;if(this.menuButtonEl){this.menuButtonEl.active=t}this.calciteActionMenuOpenChange.emit(t);this.setTooltipReferenceElement()};t.prototype.closeCalciteActionMenuOnClick=function(t){var e=t.composedPath();if(e.includes(this.el)){return}this.open=false};t.prototype.activeMenuItemIndexHandler=function(){this.updateActions(this.actionElements)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){u(this.menuButtonEl);return[2]}))}))};t.prototype.renderMenuButton=function(){var t=this,e=t.label,n=t.scale,a=t.expanded;var o=i("slot",{name:c.trigger,onSlotchange:this.setMenuButtonEl},i("calcite-action",{class:r.defaultTrigger,icon:l.menu,ref:this.setDefaultMenuButtonEl,scale:n,text:e,textEnabled:a}));return o};t.prototype.renderMenuItems=function(){var t=this,e=t.actionElements,n=t.activeMenuItemIndex,a=t.open,o=t.menuId,l=t.menuButtonEl,c=t.label,s=t.placement,u=t.overlayPositioning,f=t.flipPlacements;var m=e[n];var d=(m===null||m===void 0?void 0:m.id)||null;return i("calcite-popover",{disablePointer:true,flipPlacements:f,label:c,offsetDistance:0,open:a,overlayPositioning:u,placement:s,referenceElement:l},i("div",{"aria-activedescendant":d,"aria-labelledby":l===null||l===void 0?void 0:l.id,class:r.menu,id:o,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,role:"menu",tabIndex:-1},i("slot",{onSlotchange:this.handleDefaultSlotChange})))};t.prototype.render=function(){return i(a,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:c.tooltip,onSlotchange:this.updateTooltip}))};t.prototype.isValidKey=function(t,e){return!!e.find((function(e){return e===t}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}},enumerable:false,configurable:true});return t}());g.style=p}}}));
@@ -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.559
5
+ */
6
+ import{c as n}from"./p-50cc9f99.js";import{h as t}from"./p-1639c4dc.js";function e(n){return"checked"in n}const o=new WeakMap,r=new WeakSet;function i(n){const{formEl:t}=n;return!!t&&("requestSubmit"in t?t.requestSubmit():t.submit(),!0)}function s(n){var t;null===(t=n.formEl)||void 0===t||t.reset()}function c(t){const{el:i,value:s}=t,c=n(i,"form");if(!c||function(n,t){const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>r.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(c,i))return;t.formEl=c,t.defaultValue=s,e(t)&&(t.defaultChecked=t.checked);const l=(t.onFormReset||u).bind(t);c.addEventListener("reset",l),o.set(t.el,l),r.add(i)}function u(){e(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function l(n){const{el:t,formEl:e}=n;if(!e)return;const i=o.get(t);e.removeEventListener("reset",i),o.delete(t),n.formEl=null,r.delete(t)}function f(n,t){n.defaultValue=t}function a(n,t,o){var r;const{defaultValue:i,disabled:s,name:c,required:u}=n;t.defaultValue=i,t.disabled=s,t.name=c,t.required=u,t.tabIndex=-1,e(n)?(t.defaultChecked=n.defaultChecked,t.value=n.checked?o||"on":"",s||n.checked||(t.disabled=!0)):t.value=o||"",null===(r=n.syncHiddenFormInput)||void 0===r||r.call(n,t)}const m=({component:n})=>(function(n){const{el:t,formEl:e,name:o,value:r}=n,{ownerDocument:i}=t,s=t.querySelectorAll('input[slot="hidden-form-input"]');if(!e||!o)return void s.forEach((n=>n.remove()));const c=Array.isArray(r)?r:[r],u=[],l=new Set;let f;s.forEach((t=>{const e=c.find((n=>n==t.value));null!=e?(l.add(e),a(n,t,e)):u.push(t)})),c.forEach((t=>{if(l.has(t))return;let e=u.pop();e||(e=i.createElement("input"),e.slot="hidden-form-input"),f||(f=i.createDocumentFragment()),f.append(e),a(n,e,t)})),f&&t.append(f),u.forEach((n=>n.remove()))}(n),t("slot",{name:"hidden-form-input"}));export{m as H,f as a,c,l as d,s as r,i as s}
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,n,r){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.556
6
- */System.register(["./p-66b8488f.system.js","./p-bbaad92f.system.js"],(function(t){"use strict";var e,n;return{setters:[function(t){e=t.a},function(t){n=t.a}],execute:function(){t({a:c,b:f,c:y,d:s,e:w,f:h,g:o,h:g,i:u,l:v,n:p,p:d,s:l});function r(t){if(t===void 0){t=""}if(n.indexOf(t)>-1){return t}t=t.toLowerCase();if(t.includes("-")){t=t.replace(/(\w+)-(\w+)/,(function(t,e,n){return"".concat(e,"-").concat(n.toUpperCase())}));if(!n.includes(t)){t=t.split("-")[0]}}return n.includes(t)?t:"en"}var a={};var i={};function o(t){return __awaiter(this,void 0,void 0,(function(){var n,u;return __generator(this,(function(f){switch(f.label){case 0:n=r(t);if(a[n]){return[2,a[n]]}if(!i[n]){i[n]=fetch(e("./assets/date-picker/nls/".concat(n,".json"))).then((function(t){return t.json()})).catch((function(){console.error('Translations for "'.concat(n,'" not found or invalid, falling back to english'));return o("en")}))}return[4,i[n]];case 1:u=f.sent();a[n]=u;return[2,u]}}))}))}function u(t,e,n){var r=t.getTime();var a=!(e instanceof Date)||r>=e.getTime();var i=!(n instanceof Date)||r<=n.getTime();return a&&i}function f(t,e,n){if(!(t instanceof Date)){return null}var r=t.getTime();var a=e instanceof Date&&r<e.getTime();var i=n instanceof Date&&r>n.getTime();if(a){return e}if(i){return n}return t}function c(t){if(t instanceof Date){return t}if(!t||typeof t!=="string"){return null}var e=t.split(/[: T-]/).map(parseFloat);var n=new Date(e[0],(e[1]||1)-1,e[2]||1);n.setFullYear(e[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(t,'"'))}return n}function s(t){if(typeof t==="string"){return t}if(t instanceof Date){return new Date(t.getTime()-t.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function l(t,e){return t instanceof Date&&e instanceof Date&&t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function h(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e-1);if(e===n.getMonth()){return new Date(t.getFullYear(),e,0)}return n}function p(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e+1);if((e+2)%7===n.getMonth()%7){return new Date(t.getFullYear(),e+2,0)}return n}function v(t,e){return String(t).split("").map((function(t){return e.numerals[t]})).join("")}function g(t,e){var n="0123456789";return parseInt(t.split("").map((function(t){return n[e.numerals.indexOf(t)]})).filter((function(t){return t})).join(""))}function d(t,e){var n=e.separator,r=e.unitOrder;var a=w(r);var i=m(t).split(n);return{day:parseInt(i[a.indexOf("d")]),month:parseInt(i[a.indexOf("m")])-1,year:parseInt(i[a.indexOf("y")])}}function m(t){if(t===void 0){t=""}return t.replace(/[\u0660-\u0669]/g,(function(t){return t.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(t){return t.charCodeAt(0)-1776}))}function w(t){var e=["d","m","y"];var n=t.toLowerCase();return e.sort((function(t,e){return n.indexOf(t)-n.indexOf(e)}))}function y(t,e){var n=t.getTime();var r=e.getTime();return(n-r)/(1e3*3600*24)}var b=t("H",2);var D=t("T",{nextMonth:"Next month",prevMonth:"Previous month",year:"Year"})}}}));
5
+ * v1.0.0-next.559
6
+ */System.register(["./p-76baf89b.system.js","./p-9e0a3d06.system.js"],(function(t){"use strict";var e,n;return{setters:[function(t){e=t.a},function(t){n=t.a}],execute:function(){t({a:c,b:f,c:y,d:s,e:w,f:h,g:o,h:g,i:u,l:v,n:p,p:d,s:l});function r(t){if(t===void 0){t=""}if(n.indexOf(t)>-1){return t}t=t.toLowerCase();if(t.includes("-")){t=t.replace(/(\w+)-(\w+)/,(function(t,e,n){return"".concat(e,"-").concat(n.toUpperCase())}));if(!n.includes(t)){t=t.split("-")[0]}}return n.includes(t)?t:"en"}var a={};var i={};function o(t){return __awaiter(this,void 0,void 0,(function(){var n,u;return __generator(this,(function(f){switch(f.label){case 0:n=r(t);if(a[n]){return[2,a[n]]}if(!i[n]){i[n]=fetch(e("./assets/date-picker/nls/".concat(n,".json"))).then((function(t){return t.json()})).catch((function(){console.error('Translations for "'.concat(n,'" not found or invalid, falling back to english'));return o("en")}))}return[4,i[n]];case 1:u=f.sent();a[n]=u;return[2,u]}}))}))}function u(t,e,n){var r=t.getTime();var a=!(e instanceof Date)||r>=e.getTime();var i=!(n instanceof Date)||r<=n.getTime();return a&&i}function f(t,e,n){if(!(t instanceof Date)){return null}var r=t.getTime();var a=e instanceof Date&&r<e.getTime();var i=n instanceof Date&&r>n.getTime();if(a){return e}if(i){return n}return t}function c(t){if(t instanceof Date){return t}if(!t||typeof t!=="string"){return null}var e=t.split(/[: T-]/).map(parseFloat);var n=new Date(e[0],(e[1]||1)-1,e[2]||1);n.setFullYear(e[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(t,'"'))}return n}function s(t){if(typeof t==="string"){return t}if(t instanceof Date){return new Date(t.getTime()-t.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function l(t,e){return t instanceof Date&&e instanceof Date&&t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function h(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e-1);if(e===n.getMonth()){return new Date(t.getFullYear(),e,0)}return n}function p(t){var e=t.getMonth();var n=new Date(t);n.setMonth(e+1);if((e+2)%7===n.getMonth()%7){return new Date(t.getFullYear(),e+2,0)}return n}function v(t,e){return String(t).split("").map((function(t){return e.numerals[t]})).join("")}function g(t,e){var n="0123456789";return parseInt(t.split("").map((function(t){return n[e.numerals.indexOf(t)]})).filter((function(t){return t})).join(""))}function d(t,e){var n=e.separator,r=e.unitOrder;var a=w(r);var i=m(t).split(n);return{day:parseInt(i[a.indexOf("d")]),month:parseInt(i[a.indexOf("m")])-1,year:parseInt(i[a.indexOf("y")])}}function m(t){if(t===void 0){t=""}return t.replace(/[\u0660-\u0669]/g,(function(t){return t.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(t){return t.charCodeAt(0)-1776}))}function w(t){var e=["d","m","y"];var n=t.toLowerCase();return e.sort((function(t,e){return n.indexOf(t)-n.indexOf(e)}))}function y(t,e){var n=t.getTime();var r=e.getTime();return(n-r)/(1e3*3600*24)}var b=t("H",2);var D=t("T",{nextMonth:"Next month",prevMonth:"Previous month",year:"Year"})}}}));