@esri/calcite-components 1.0.0-beta.91 → 1.0.0-beta.92

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 (1098) hide show
  1. package/dist/calcite/assets/icon/changeDetection16.json +1 -1
  2. package/dist/calcite/assets/icon/changeDetection24.json +1 -1
  3. package/dist/calcite/assets/icon/changeDetection32.json +1 -1
  4. package/dist/calcite/assets/icon/chartMagnifyingGlass16.json +1 -0
  5. package/dist/calcite/assets/icon/chartMagnifyingGlass24.json +1 -0
  6. package/dist/calcite/assets/icon/chartMagnifyingGlass32.json +1 -0
  7. package/dist/calcite/assets/icon/collaboration16.json +1 -0
  8. package/dist/calcite/assets/icon/collaboration24.json +1 -0
  9. package/dist/calcite/assets/icon/collaboration32.json +1 -0
  10. package/dist/calcite/assets/icon/collaborationDistributed16.json +1 -0
  11. package/dist/calcite/assets/icon/collaborationDistributed24.json +1 -0
  12. package/dist/calcite/assets/icon/collaborationDistributed32.json +1 -0
  13. package/dist/calcite/assets/icon/flip16.json +1 -0
  14. package/dist/calcite/assets/icon/flip24.json +1 -0
  15. package/dist/calcite/assets/icon/flip32.json +1 -0
  16. package/dist/calcite/assets/icon/security16.json +1 -1
  17. package/dist/calcite/assets/icon/security24.json +1 -1
  18. package/dist/calcite/assets/icon/security32.json +1 -1
  19. package/dist/calcite/assets/icon/sheildCoin16.json +1 -0
  20. package/dist/calcite/assets/icon/sheildCoin24.json +1 -0
  21. package/dist/calcite/assets/icon/sheildCoin32.json +1 -0
  22. package/dist/calcite/assets/icon/shieldCoin16.json +1 -0
  23. package/dist/calcite/assets/icon/shieldCoin24.json +1 -0
  24. package/dist/calcite/assets/icon/shieldCoin32.json +1 -0
  25. package/dist/calcite/assets/icon/unpin16.json +1 -0
  26. package/dist/calcite/assets/icon/unpin24.json +1 -0
  27. package/dist/calcite/assets/icon/unpin32.json +1 -0
  28. package/dist/calcite/calcite.css +1 -1
  29. package/dist/calcite/calcite.esm.js +2 -2
  30. package/dist/calcite/calcite.js +1 -1
  31. package/dist/calcite/index.esm.js +1 -1
  32. package/dist/calcite/p-00cf13c7.system.entry.js +6 -0
  33. package/dist/calcite/p-0330afe9.entry.js +6 -0
  34. package/dist/calcite/p-047f5080.system.entry.js +6 -0
  35. package/dist/calcite/p-05208d9e.system.entry.js +6 -0
  36. package/dist/calcite/p-0633d33e.system.entry.js +6 -0
  37. package/dist/calcite/{p-e6f99510.system.js → p-06a73b31.system.js} +1 -1
  38. package/dist/calcite/{p-e8276ff5.entry.js → p-0808e377.entry.js} +2 -2
  39. package/dist/calcite/p-0831a033.entry.js +6 -0
  40. package/dist/calcite/p-08d0c4b3.system.entry.js +6 -0
  41. package/dist/calcite/p-0c8c14bf.system.entry.js +6 -0
  42. package/dist/calcite/{p-583a420c.entry.js → p-115b7c7b.entry.js} +2 -2
  43. package/dist/calcite/{p-839a73f1.system.js → p-14370718.system.js} +2 -2
  44. package/dist/calcite/{p-eccc7c09.js → p-17743b92.js} +2 -2
  45. package/dist/calcite/{p-5cc65795.system.entry.js → p-17eca2ae.system.entry.js} +2 -2
  46. package/dist/calcite/{p-81b35d5d.system.entry.js → p-1c521c06.system.entry.js} +2 -2
  47. package/dist/calcite/p-1e7ce144.system.entry.js +6 -0
  48. package/dist/calcite/p-1f03af38.system.js +6 -0
  49. package/dist/calcite/p-205177f2.entry.js +6 -0
  50. package/dist/calcite/{p-009b9bcf.system.js → p-22bdeaf6.system.js} +2 -2
  51. package/dist/calcite/p-22c0a92c.system.entry.js +6 -0
  52. package/dist/calcite/p-2353cf75.system.js +6 -0
  53. package/dist/calcite/{p-ad7f17d7.system.js → p-24f3ecd3.system.js} +2 -2
  54. package/dist/calcite/{p-af58a18b.system.js → p-25bd48cf.system.js} +1 -1
  55. package/dist/calcite/{p-30fad726.system.entry.js → p-262134e1.system.entry.js} +2 -2
  56. package/dist/calcite/{p-46e3b866.system.js → p-2699d0a3.system.js} +1 -1
  57. package/dist/calcite/p-2d3e8d7e.system.entry.js +6 -0
  58. package/dist/calcite/p-2d97d32a.system.entry.js +6 -0
  59. package/dist/calcite/p-2e16ea90.entry.js +6 -0
  60. package/dist/calcite/{p-95c5ce43.entry.js → p-305499ae.entry.js} +2 -2
  61. package/dist/calcite/p-3229244a.system.entry.js +6 -0
  62. package/dist/calcite/{p-526248dc.system.entry.js → p-3375bdcc.system.entry.js} +2 -2
  63. package/dist/calcite/p-3381cb2b.system.entry.js +6 -0
  64. package/dist/calcite/p-348880ed.entry.js +6 -0
  65. package/dist/calcite/p-353edca5.system.entry.js +6 -0
  66. package/dist/calcite/{p-29eff4fc.js → p-365d9061.js} +1 -1
  67. package/dist/calcite/p-3795cf17.system.entry.js +6 -0
  68. package/dist/calcite/p-37faecf9.entry.js +6 -0
  69. package/dist/calcite/p-3a805702.entry.js +6 -0
  70. package/dist/calcite/p-3aa80899.entry.js +6 -0
  71. package/dist/calcite/p-3b3b7338.entry.js +6 -0
  72. package/dist/calcite/{p-72de7bac.js → p-3d5a42c2.js} +1 -1
  73. package/dist/calcite/p-3fb0028d.system.entry.js +6 -0
  74. package/dist/calcite/{p-02c2ce31.js → p-40b1b217.js} +2 -2
  75. package/dist/calcite/p-415f281e.system.entry.js +6 -0
  76. package/dist/calcite/{p-c3450caf.entry.js → p-41b31d8a.entry.js} +2 -2
  77. package/dist/calcite/p-455a984c.system.entry.js +6 -0
  78. package/dist/calcite/{p-20cc09d3.entry.js → p-4568acb6.entry.js} +2 -2
  79. package/dist/calcite/p-46f703d7.system.entry.js +6 -0
  80. package/dist/calcite/{p-2cc54080.js → p-47e21b1b.js} +2 -2
  81. package/dist/calcite/p-49259ab7.system.entry.js +6 -0
  82. package/dist/calcite/{p-31a5871e.entry.js → p-4956d534.entry.js} +2 -2
  83. package/dist/calcite/{p-23887d7a.entry.js → p-4c082bbb.entry.js} +2 -2
  84. package/dist/calcite/p-4e03b1ae.entry.js +6 -0
  85. package/dist/calcite/{p-a48fd27e.entry.js → p-4e444288.entry.js} +2 -2
  86. package/dist/calcite/p-4e48ac8d.system.entry.js +6 -0
  87. package/dist/calcite/p-4f055915.system.entry.js +6 -0
  88. package/dist/calcite/{p-af6a258a.system.js → p-54c0d659.system.js} +1 -1
  89. package/dist/calcite/{p-f947bed5.entry.js → p-54f1296e.entry.js} +2 -2
  90. package/dist/calcite/{p-96e80eb0.js → p-563603be.js} +2 -2
  91. package/dist/calcite/{p-47663fe0.system.entry.js → p-57bcbf12.system.entry.js} +2 -2
  92. package/dist/calcite/p-57ef201e.entry.js +6 -0
  93. package/dist/calcite/{p-bc72ddf5.js → p-58f0c5d8.js} +1 -1
  94. package/dist/calcite/p-59ab1ea7.system.entry.js +6 -0
  95. package/dist/calcite/{p-e59a4adc.js → p-59ac4143.js} +2 -2
  96. package/dist/calcite/{p-be00e22e.js → p-5c35dc5d.js} +1 -1
  97. package/dist/calcite/{p-e9e89c12.system.js → p-5cfbeadf.system.js} +1 -1
  98. package/dist/calcite/{p-978e1777.js → p-5d28e8d4.js} +1 -1
  99. package/dist/calcite/{p-72222c1c.system.js → p-5d572c12.system.js} +1 -1
  100. package/dist/calcite/p-5ee75672.entry.js +6 -0
  101. package/dist/calcite/p-5efec339.system.entry.js +6 -0
  102. package/dist/calcite/p-5f9271fd.system.entry.js +6 -0
  103. package/dist/calcite/{p-bb45b137.js → p-6102c66d.js} +1 -1
  104. package/dist/calcite/{p-c1839811.system.js → p-61e53bb3.system.js} +1 -1
  105. package/dist/calcite/p-62914532.entry.js +6 -0
  106. package/dist/calcite/p-6519a510.entry.js +6 -0
  107. package/dist/calcite/{p-59a5da8a.js → p-669ab5f2.js} +2 -2
  108. package/dist/calcite/p-671cfa60.entry.js +6 -0
  109. package/dist/calcite/p-6723dbea.system.entry.js +6 -0
  110. package/dist/calcite/p-6737ff3d.system.entry.js +6 -0
  111. package/dist/calcite/{p-5fc28756.entry.js → p-67b21e65.entry.js} +2 -2
  112. package/dist/calcite/p-6af95a4b.entry.js +6 -0
  113. package/dist/calcite/p-6b42f6c1.entry.js +6 -0
  114. package/dist/calcite/{p-18e6c277.js → p-6b450790.js} +1 -1
  115. package/dist/calcite/{p-2da1cc68.js → p-6c8b54a4.js} +1 -1
  116. package/dist/calcite/{p-44b68820.entry.js → p-6ca3a4d3.entry.js} +2 -2
  117. package/dist/calcite/p-6fe2bde0.entry.js +6 -0
  118. package/dist/calcite/p-70f9636e.system.entry.js +6 -0
  119. package/dist/calcite/p-7132c6c9.entry.js +6 -0
  120. package/dist/calcite/p-71451eb3.system.entry.js +6 -0
  121. package/dist/calcite/p-7198a979.entry.js +6 -0
  122. package/dist/calcite/p-75b3a441.system.entry.js +6 -0
  123. package/dist/calcite/{p-7023b360.system.entry.js → p-75e86bf4.system.entry.js} +2 -2
  124. package/dist/calcite/p-77c2c86d.entry.js +6 -0
  125. package/dist/calcite/p-7836e97f.js +6 -0
  126. package/dist/calcite/{p-4a411a96.system.js → p-79988262.system.js} +2 -2
  127. package/dist/calcite/p-7c975ff8.system.entry.js +6 -0
  128. package/dist/calcite/p-809291a4.js +6 -0
  129. package/dist/calcite/{p-d44b8c96.entry.js → p-80a5dd3b.entry.js} +2 -2
  130. package/dist/calcite/{p-5eb7bb03.js → p-881abbf0.js} +1 -1
  131. package/dist/calcite/{p-f5490b0d.system.js → p-890bdf7b.system.js} +1 -1
  132. package/dist/calcite/p-89ebc813.entry.js +6 -0
  133. package/dist/calcite/{p-9f7bc627.system.js → p-8aa9e027.system.js} +2 -2
  134. package/dist/calcite/{p-c8221748.entry.js → p-8b9c3657.entry.js} +2 -2
  135. package/dist/calcite/p-8bec0f20.entry.js +6 -0
  136. package/dist/calcite/p-8c90df11.system.entry.js +6 -0
  137. package/dist/calcite/{p-60dcdade.system.js → p-8dccab26.system.js} +1 -1
  138. package/dist/calcite/p-900dede5.entry.js +6 -0
  139. package/dist/calcite/p-917ec520.entry.js +6 -0
  140. package/dist/calcite/{p-3022c39d.js → p-92d60658.js} +1 -1
  141. package/dist/calcite/{p-a189654d.js → p-9331ee41.js} +1 -1
  142. package/dist/calcite/p-938a7e19.js +6 -0
  143. package/dist/calcite/{p-5d7bc59a.system.js → p-95b2ce17.system.js} +1 -1
  144. package/dist/calcite/p-9a107c5b.system.entry.js +6 -0
  145. package/dist/calcite/p-9a99c514.system.entry.js +6 -0
  146. package/dist/calcite/p-9ea4befe.entry.js +6 -0
  147. package/dist/calcite/{p-e28fc860.system.js → p-a1327fdf.system.js} +1 -1
  148. package/dist/calcite/{p-b271b38a.entry.js → p-a2035e81.entry.js} +2 -2
  149. package/dist/calcite/{p-d5d9bdfe.system.entry.js → p-a509b85f.system.entry.js} +2 -2
  150. package/dist/calcite/p-a7419bf8.system.entry.js +6 -0
  151. package/dist/calcite/p-a75b8779.entry.js +6 -0
  152. package/dist/calcite/p-a8a6b848.system.entry.js +6 -0
  153. package/dist/calcite/{p-5066e91f.system.js → p-a8bf09e5.system.js} +1 -1
  154. package/dist/calcite/p-a9c79c8e.entry.js +6 -0
  155. package/dist/calcite/{p-5a7d55d2.entry.js → p-a9d53c4a.entry.js} +2 -2
  156. package/dist/calcite/p-aaaf10f0.system.entry.js +6 -0
  157. package/dist/calcite/{p-b9bb8ebd.system.js → p-ae6acb6b.system.js} +2 -2
  158. package/dist/calcite/{p-03ec4fdc.system.entry.js → p-af131e8f.system.entry.js} +2 -2
  159. package/dist/calcite/{p-57479f6c.js → p-af3f93c3.js} +1 -1
  160. package/dist/calcite/p-b1cac6ac.system.entry.js +6 -0
  161. package/dist/calcite/p-b318eb10.entry.js +6 -0
  162. package/dist/calcite/p-b352b87b.entry.js +6 -0
  163. package/dist/calcite/{p-c1fa9cc8.js → p-b590359e.js} +2 -2
  164. package/dist/calcite/{p-19c2f634.system.js → p-b602422c.system.js} +1 -1
  165. package/dist/calcite/p-b7e4822f.system.entry.js +6 -0
  166. package/dist/calcite/p-b80f2b72.entry.js +6 -0
  167. package/dist/calcite/p-b81de7d1.system.entry.js +6 -0
  168. package/dist/calcite/{p-21632661.js → p-b85d465f.js} +1 -1
  169. package/dist/calcite/p-b8876de8.entry.js +6 -0
  170. package/dist/calcite/p-b98a0d0d.entry.js +6 -0
  171. package/dist/calcite/p-b9cd387a.system.js +6 -0
  172. package/dist/calcite/p-ba9143cb.entry.js +6 -0
  173. package/dist/calcite/p-bf072e3e.entry.js +6 -0
  174. package/dist/calcite/{p-85554d49.system.entry.js → p-bf86c713.system.entry.js} +2 -2
  175. package/dist/calcite/{p-e2515012.system.entry.js → p-c01a73d7.system.entry.js} +2 -2
  176. package/dist/calcite/{p-4a1c8d49.system.js → p-c07cba80.system.js} +1 -1
  177. package/dist/calcite/{p-82d6141a.system.js → p-c090491e.system.js} +3 -3
  178. package/dist/calcite/p-c7a1d105.entry.js +6 -0
  179. package/dist/calcite/p-c9180bef.system.entry.js +6 -0
  180. package/dist/calcite/{p-9efbf067.entry.js → p-ce84c5ce.entry.js} +2 -2
  181. package/dist/calcite/{p-25133c26.system.js → p-d3496216.system.js} +2 -2
  182. package/dist/calcite/p-d3e5e2ac.system.entry.js +6 -0
  183. package/dist/calcite/p-d5e28888.system.entry.js +6 -0
  184. package/dist/calcite/p-d6582e2b.js +6 -0
  185. package/dist/calcite/{p-29b5e936.system.js → p-d9767f5b.system.js} +2 -2
  186. package/dist/calcite/p-dd26e1a0.entry.js +6 -0
  187. package/dist/calcite/{p-6870deed.entry.js → p-e20da2fa.entry.js} +2 -2
  188. package/dist/calcite/p-e5416726.system.entry.js +6 -0
  189. package/dist/calcite/{p-35502d0b.entry.js → p-e6d1af49.entry.js} +2 -2
  190. package/dist/calcite/p-eb2b79d4.system.entry.js +6 -0
  191. package/dist/calcite/p-ecd9fb1a.system.entry.js +6 -0
  192. package/dist/calcite/p-ee28950a.entry.js +6 -0
  193. package/dist/calcite/p-ef566fe8.system.entry.js +6 -0
  194. package/dist/calcite/{p-a2e46a80.system.js → p-f151e536.system.js} +1 -1
  195. package/dist/calcite/p-f2305e0a.system.entry.js +6 -0
  196. package/dist/calcite/{p-0c2e3108.js → p-f2d20a87.js} +2 -2
  197. package/dist/calcite/p-f5f344b4.entry.js +6 -0
  198. package/dist/calcite/{p-23e60c37.system.js → p-f5ffbb61.system.js} +2 -2
  199. package/dist/calcite/{p-939c385e.entry.js → p-f7408139.entry.js} +2 -2
  200. package/dist/calcite/p-f7ce0989.entry.js +6 -0
  201. package/dist/calcite/{p-cb8d104a.js → p-f9fc4ac3.js} +1 -1
  202. package/dist/calcite/p-fa4e05f6.system.entry.js +6 -0
  203. package/dist/calcite/p-fb579ef6.system.entry.js +6 -0
  204. package/dist/calcite/{p-94765679.system.js → p-fc884dc4.system.js} +1 -1
  205. package/dist/calcite/{p-b4e139fe.js → p-fd888df3.js} +1 -1
  206. package/dist/cjs/{ExpandToggle-6ae0950b.js → ExpandToggle-75894d07.js} +5 -5
  207. package/dist/cjs/{Heading-e857efa5.js → Heading-c6b9cf61.js} +2 -2
  208. package/dist/cjs/{app-globals-19aed09c.js → app-globals-ede7531b.js} +3 -3
  209. package/dist/cjs/{array-e8d3902b.js → array-aea887f6.js} +1 -1
  210. package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
  211. package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
  212. package/dist/cjs/calcite-action-group.cjs.entry.js +10 -10
  213. package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -9
  214. package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -11
  215. package/dist/cjs/calcite-action.cjs.entry.js +8 -8
  216. package/dist/cjs/calcite-alert.cjs.entry.js +8 -8
  217. package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
  218. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  219. package/dist/cjs/calcite-button.cjs.entry.js +10 -10
  220. package/dist/cjs/calcite-card.cjs.entry.js +8 -8
  221. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  222. package/dist/cjs/calcite-chip.cjs.entry.js +8 -8
  223. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +13 -14
  224. package/dist/cjs/calcite-combobox_3.cjs.entry.js +36 -23
  225. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +23 -23
  226. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +63 -31
  227. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  228. package/dist/cjs/calcite-filter.cjs.entry.js +10 -9
  229. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  230. package/dist/cjs/calcite-graph_2.cjs.entry.js +25 -25
  231. package/dist/cjs/calcite-handle.cjs.entry.js +8 -6
  232. package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
  233. package/dist/cjs/calcite-inline-editable.cjs.entry.js +24 -21
  234. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -17
  235. package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
  236. package/dist/cjs/calcite-input-number.cjs.entry.js +27 -14
  237. package/dist/cjs/calcite-input-text.cjs.entry.js +24 -11
  238. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +34 -17
  239. package/dist/cjs/calcite-input.cjs.entry.js +33 -14
  240. package/dist/cjs/calcite-label.cjs.entry.js +7 -7
  241. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  242. package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
  243. package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
  244. package/dist/cjs/calcite-modal.cjs.entry.js +11 -10
  245. package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
  246. package/dist/cjs/calcite-option_3.cjs.entry.js +17 -17
  247. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  248. package/dist/cjs/calcite-panel.cjs.entry.js +13 -12
  249. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +15 -15
  250. package/dist/cjs/calcite-popover_2.cjs.entry.js +13 -13
  251. package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
  252. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  253. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -10
  254. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +10 -10
  255. package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
  256. package/dist/cjs/calcite-scrim.cjs.entry.js +5 -6
  257. package/dist/cjs/calcite-shell_3.cjs.entry.js +21 -21
  258. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  259. package/dist/cjs/calcite-split-button.cjs.entry.js +12 -13
  260. package/dist/cjs/calcite-stepper_2.cjs.entry.js +69 -38
  261. package/dist/cjs/calcite-switch.cjs.entry.js +16 -17
  262. package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -12
  263. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  264. package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
  265. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  266. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +8 -8
  267. package/dist/cjs/calcite-tree_2.cjs.entry.js +22 -17
  268. package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -14
  269. package/dist/cjs/calcite.cjs.js +5 -5
  270. package/dist/cjs/{conditionalSlot-d648ba7c.js → conditionalSlot-6a04d02f.js} +3 -3
  271. package/dist/cjs/{debounce-2bc47bea.js → debounce-9f0ddb81.js} +1 -1
  272. package/dist/cjs/{dom-49495bbc.js → dom-e9f09e29.js} +3 -3
  273. package/dist/cjs/{filter-2d8f8a74.js → filter-b45eeaf9.js} +2 -2
  274. package/dist/cjs/{floating-ui-84200b42.js → floating-ui-8f4ad866.js} +2 -2
  275. package/dist/cjs/{form-db085655.js → form-40bae29c.js} +20 -6
  276. package/dist/cjs/{guid-cd0069ab.js → guid-08ecb207.js} +1 -1
  277. package/dist/cjs/{index-67d2d0a2.js → index-d1f4f7de.js} +1 -1
  278. package/dist/cjs/index.cjs.js +1 -1
  279. package/dist/cjs/{interactive-a0570d10.js → interactive-7fa78804.js} +1 -1
  280. package/dist/cjs/{interfaces-b89b43c0.js → interfaces-87a833aa.js} +1 -1
  281. package/dist/cjs/{key-1a866191.js → key-1902890d.js} +1 -1
  282. package/dist/cjs/{label-1afd9205.js → label-387b4157.js} +2 -2
  283. package/dist/cjs/loader.cjs.js +5 -5
  284. package/dist/cjs/{locale-8f5384e9.js → locale-eb7612fa.js} +2 -2
  285. package/dist/cjs/{math-b3864fb0.js → math-f748d678.js} +1 -1
  286. package/dist/cjs/{observers-6189af7e.js → observers-4f40445c.js} +1 -1
  287. package/dist/cjs/{openCloseComponent-724719be.js → openCloseComponent-78a7e2a9.js} +1 -1
  288. package/dist/cjs/{resources-b34cfae7.js → resources-42b4d672.js} +1 -1
  289. package/dist/cjs/{resources-3d1862b2.js → resources-549d99a7.js} +1 -1
  290. package/dist/cjs/{resources-e2944684.js → resources-90d0bc03.js} +5 -5
  291. package/dist/cjs/{resources-10bab689.js → resources-95ef3f0a.js} +3 -3
  292. package/dist/cjs/{resources-98da4ef3.js → resources-a7220671.js} +1 -1
  293. package/dist/cjs/{sortable.esm-2edfb432.js → sortable.esm-027d0bf8.js} +1 -1
  294. package/dist/cjs/{utils-7583fe05.js → utils-87048187.js} +1 -1
  295. package/dist/collection/components/accordion/accordion.css +1 -1
  296. package/dist/collection/components/accordion/accordion.js +1 -1
  297. package/dist/collection/components/accordion/interfaces.js +1 -1
  298. package/dist/collection/components/accordion-item/accordion-item.css +1 -1
  299. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  300. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  301. package/dist/collection/components/accordion-item/resources.js +1 -1
  302. package/dist/collection/components/action/action.css +1 -1
  303. package/dist/collection/components/action/action.js +1 -1
  304. package/dist/collection/components/action/resources.js +1 -1
  305. package/dist/collection/components/action-bar/action-bar.css +1 -1
  306. package/dist/collection/components/action-bar/action-bar.js +1 -1
  307. package/dist/collection/components/action-bar/resources.js +1 -1
  308. package/dist/collection/components/action-bar/utils.js +1 -1
  309. package/dist/collection/components/action-group/action-group.css +1 -1
  310. package/dist/collection/components/action-group/action-group.js +1 -1
  311. package/dist/collection/components/action-group/resources.js +1 -1
  312. package/dist/collection/components/action-menu/action-menu.css +1 -1
  313. package/dist/collection/components/action-menu/action-menu.js +2 -1
  314. package/dist/collection/components/action-menu/resources.js +1 -1
  315. package/dist/collection/components/action-pad/action-pad.css +1 -1
  316. package/dist/collection/components/action-pad/action-pad.js +1 -1
  317. package/dist/collection/components/action-pad/resources.js +1 -1
  318. package/dist/collection/components/alert/alert.css +1 -1
  319. package/dist/collection/components/alert/alert.js +1 -1
  320. package/dist/collection/components/alert/interfaces.js +1 -1
  321. package/dist/collection/components/alert/resources.js +1 -1
  322. package/dist/collection/components/avatar/avatar.css +1 -1
  323. package/dist/collection/components/avatar/avatar.js +1 -1
  324. package/dist/collection/components/avatar/utils.js +1 -1
  325. package/dist/collection/components/block/block.css +1 -1
  326. package/dist/collection/components/block/block.js +1 -1
  327. package/dist/collection/components/block/resources.js +1 -1
  328. package/dist/collection/components/block-section/block-section.css +1 -1
  329. package/dist/collection/components/block-section/block-section.js +1 -1
  330. package/dist/collection/components/block-section/interfaces.js +1 -1
  331. package/dist/collection/components/block-section/resources.js +1 -1
  332. package/dist/collection/components/button/button.css +1 -1
  333. package/dist/collection/components/button/button.js +1 -1
  334. package/dist/collection/components/button/interfaces.js +1 -1
  335. package/dist/collection/components/button/resources.js +1 -1
  336. package/dist/collection/components/card/card.css +1 -1
  337. package/dist/collection/components/card/card.js +1 -1
  338. package/dist/collection/components/card/resources.js +1 -1
  339. package/dist/collection/components/checkbox/checkbox.css +1 -1
  340. package/dist/collection/components/checkbox/checkbox.js +1 -1
  341. package/dist/collection/components/chip/chip.css +1 -1
  342. package/dist/collection/components/chip/chip.js +1 -1
  343. package/dist/collection/components/chip/interfaces.js +1 -1
  344. package/dist/collection/components/chip/resources.js +1 -1
  345. package/dist/collection/components/color-picker/color-picker.css +1 -1
  346. package/dist/collection/components/color-picker/color-picker.js +1 -2
  347. package/dist/collection/components/color-picker/interfaces.js +1 -1
  348. package/dist/collection/components/color-picker/resources.js +1 -1
  349. package/dist/collection/components/color-picker/utils.js +1 -1
  350. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +1 -1
  351. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  352. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  353. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +1 -1
  354. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  355. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  356. package/dist/collection/components/combobox/combobox.css +1 -1
  357. package/dist/collection/components/combobox/combobox.js +20 -7
  358. package/dist/collection/components/combobox/interfaces.js +1 -1
  359. package/dist/collection/components/combobox/resources.js +1 -1
  360. package/dist/collection/components/combobox/utils.js +1 -1
  361. package/dist/collection/components/combobox-item/combobox-item.css +1 -1
  362. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  363. package/dist/collection/components/combobox-item/resources.js +1 -1
  364. package/dist/collection/components/combobox-item-group/combobox-item-group.css +1 -1
  365. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  366. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  367. package/dist/collection/components/date-picker/date-picker.css +1 -1
  368. package/dist/collection/components/date-picker/date-picker.js +1 -1
  369. package/dist/collection/components/date-picker/interfaces.js +1 -1
  370. package/dist/collection/components/date-picker/resources.js +1 -1
  371. package/dist/collection/components/date-picker/utils.js +1 -1
  372. package/dist/collection/components/date-picker-day/date-picker-day.css +1 -1
  373. package/dist/collection/components/date-picker-day/date-picker-day.js +3 -3
  374. package/dist/collection/components/date-picker-month/date-picker-month.css +1 -1
  375. package/dist/collection/components/date-picker-month/date-picker-month.js +5 -2
  376. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -1
  377. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +4 -7
  378. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  379. package/dist/collection/components/dropdown/dropdown.css +1 -1
  380. package/dist/collection/components/dropdown/dropdown.js +24 -13
  381. package/dist/collection/components/dropdown/interfaces.js +1 -1
  382. package/dist/collection/components/dropdown/resources.js +1 -1
  383. package/dist/collection/components/dropdown-group/dropdown-group.css +1 -1
  384. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  385. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  386. package/dist/collection/components/dropdown-group/resources.js +1 -1
  387. package/dist/collection/components/dropdown-item/dropdown-item.css +7 -7
  388. package/dist/collection/components/dropdown-item/dropdown-item.js +55 -10
  389. package/dist/collection/components/dropdown-item/resources.js +1 -1
  390. package/dist/collection/components/fab/fab.css +1 -1
  391. package/dist/collection/components/fab/fab.js +1 -1
  392. package/dist/collection/components/fab/resources.js +1 -1
  393. package/dist/collection/components/filter/filter.css +1 -1
  394. package/dist/collection/components/filter/filter.js +2 -1
  395. package/dist/collection/components/filter/resources.js +1 -1
  396. package/dist/collection/components/flow/flow.css +1 -1
  397. package/dist/collection/components/flow/flow.js +1 -1
  398. package/dist/collection/components/flow/interfaces.js +1 -1
  399. package/dist/collection/components/flow/resources.js +1 -1
  400. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  401. package/dist/collection/components/functional/Heading.js +1 -1
  402. package/dist/collection/components/graph/graph.css +1 -1
  403. package/dist/collection/components/graph/graph.js +1 -1
  404. package/dist/collection/components/graph/interfaces.js +1 -1
  405. package/dist/collection/components/graph/util.js +1 -1
  406. package/dist/collection/components/handle/handle.css +1 -1
  407. package/dist/collection/components/handle/handle.js +3 -1
  408. package/dist/collection/components/handle/resources.js +1 -1
  409. package/dist/collection/components/icon/assets/icon/changeDetection16.json +1 -1
  410. package/dist/collection/components/icon/assets/icon/changeDetection24.json +1 -1
  411. package/dist/collection/components/icon/assets/icon/changeDetection32.json +1 -1
  412. package/dist/collection/components/icon/assets/icon/chartMagnifyingGlass16.json +1 -0
  413. package/dist/collection/components/icon/assets/icon/chartMagnifyingGlass24.json +1 -0
  414. package/dist/collection/components/icon/assets/icon/chartMagnifyingGlass32.json +1 -0
  415. package/dist/collection/components/icon/assets/icon/collaboration16.json +1 -0
  416. package/dist/collection/components/icon/assets/icon/collaboration24.json +1 -0
  417. package/dist/collection/components/icon/assets/icon/collaboration32.json +1 -0
  418. package/dist/collection/components/icon/assets/icon/collaborationDistributed16.json +1 -0
  419. package/dist/collection/components/icon/assets/icon/collaborationDistributed24.json +1 -0
  420. package/dist/collection/components/icon/assets/icon/collaborationDistributed32.json +1 -0
  421. package/dist/collection/components/icon/assets/icon/flip16.json +1 -0
  422. package/dist/collection/components/icon/assets/icon/flip24.json +1 -0
  423. package/dist/collection/components/icon/assets/icon/flip32.json +1 -0
  424. package/dist/collection/components/icon/assets/icon/security16.json +1 -1
  425. package/dist/collection/components/icon/assets/icon/security24.json +1 -1
  426. package/dist/collection/components/icon/assets/icon/security32.json +1 -1
  427. package/dist/collection/components/icon/assets/icon/sheildCoin16.json +1 -0
  428. package/dist/collection/components/icon/assets/icon/sheildCoin24.json +1 -0
  429. package/dist/collection/components/icon/assets/icon/sheildCoin32.json +1 -0
  430. package/dist/collection/components/icon/assets/icon/shieldCoin16.json +1 -0
  431. package/dist/collection/components/icon/assets/icon/shieldCoin24.json +1 -0
  432. package/dist/collection/components/icon/assets/icon/shieldCoin32.json +1 -0
  433. package/dist/collection/components/icon/assets/icon/unpin16.json +1 -0
  434. package/dist/collection/components/icon/assets/icon/unpin24.json +1 -0
  435. package/dist/collection/components/icon/assets/icon/unpin32.json +1 -0
  436. package/dist/collection/components/icon/icon.css +1 -1
  437. package/dist/collection/components/icon/icon.js +1 -1
  438. package/dist/collection/components/icon/resources.js +1 -1
  439. package/dist/collection/components/icon/utils.js +1 -1
  440. package/dist/collection/components/inline-editable/inline-editable.css +1 -1
  441. package/dist/collection/components/inline-editable/inline-editable.js +16 -13
  442. package/dist/collection/components/inline-editable/resources.js +1 -1
  443. package/dist/collection/components/input/input.css +1 -1
  444. package/dist/collection/components/input/input.js +21 -2
  445. package/dist/collection/components/input/interfaces.js +1 -1
  446. package/dist/collection/components/input/resources.js +1 -1
  447. package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
  448. package/dist/collection/components/input-date-picker/input-date-picker.js +8 -4
  449. package/dist/collection/components/input-date-picker/resources.js +1 -1
  450. package/dist/collection/components/input-message/input-message.css +1 -1
  451. package/dist/collection/components/input-message/input-message.js +1 -1
  452. package/dist/collection/components/input-message/interfaces.js +1 -1
  453. package/dist/collection/components/input-number/input-number.css +1 -1
  454. package/dist/collection/components/input-number/input-number.js +15 -2
  455. package/dist/collection/components/input-number/interfaces.js +1 -1
  456. package/dist/collection/components/input-number/resources.js +1 -1
  457. package/dist/collection/components/input-text/input-text.css +1 -1
  458. package/dist/collection/components/input-text/input-text.js +15 -2
  459. package/dist/collection/components/input-text/resources.js +1 -1
  460. package/dist/collection/components/input-time-picker/input-time-picker.css +1 -1
  461. package/dist/collection/components/input-time-picker/input-time-picker.js +11 -7
  462. package/dist/collection/components/interfaces.js +1 -1
  463. package/dist/collection/components/label/label.css +1 -1
  464. package/dist/collection/components/label/label.js +1 -1
  465. package/dist/collection/components/label/resources.js +1 -1
  466. package/dist/collection/components/link/link.css +1 -1
  467. package/dist/collection/components/link/link.js +1 -1
  468. package/dist/collection/components/list/list.css +1 -1
  469. package/dist/collection/components/list/list.js +1 -1
  470. package/dist/collection/components/list/resources.js +1 -1
  471. package/dist/collection/components/list-item/list-item.css +1 -1
  472. package/dist/collection/components/list-item/list-item.js +1 -1
  473. package/dist/collection/components/list-item/resources.js +1 -1
  474. package/dist/collection/components/list-item-group/list-item-group.css +1 -1
  475. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  476. package/dist/collection/components/list-item-group/resources.js +1 -1
  477. package/dist/collection/components/loader/loader.css +1 -1
  478. package/dist/collection/components/loader/loader.js +1 -1
  479. package/dist/collection/components/modal/interfaces.js +1 -1
  480. package/dist/collection/components/modal/modal.css +1 -1
  481. package/dist/collection/components/modal/modal.js +3 -2
  482. package/dist/collection/components/modal/resources.js +1 -1
  483. package/dist/collection/components/notice/notice.css +1 -1
  484. package/dist/collection/components/notice/notice.js +1 -1
  485. package/dist/collection/components/notice/resources.js +1 -1
  486. package/dist/collection/components/option/option.css +1 -1
  487. package/dist/collection/components/option/option.js +1 -1
  488. package/dist/collection/components/option-group/option-group.css +1 -1
  489. package/dist/collection/components/option-group/option-group.js +1 -1
  490. package/dist/collection/components/pagination/pagination.css +1 -1
  491. package/dist/collection/components/pagination/pagination.js +1 -1
  492. package/dist/collection/components/pagination/resources.js +1 -1
  493. package/dist/collection/components/panel/panel.css +1 -1
  494. package/dist/collection/components/panel/panel.js +3 -2
  495. package/dist/collection/components/panel/resources.js +1 -1
  496. package/dist/collection/components/pick-list/pick-list.css +1 -1
  497. package/dist/collection/components/pick-list/pick-list.js +1 -1
  498. package/dist/collection/components/pick-list/resources.js +1 -1
  499. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  500. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  501. package/dist/collection/components/pick-list-group/pick-list-group.css +1 -1
  502. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  503. package/dist/collection/components/pick-list-group/resources.js +1 -1
  504. package/dist/collection/components/pick-list-item/pick-list-item.css +1 -1
  505. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  506. package/dist/collection/components/pick-list-item/resources.js +1 -1
  507. package/dist/collection/components/popover/PopoverManager.js +2 -2
  508. package/dist/collection/components/popover/popover.css +1 -1
  509. package/dist/collection/components/popover/popover.js +1 -1
  510. package/dist/collection/components/popover/resources.js +1 -1
  511. package/dist/collection/components/popover-manager/popover-manager.css +1 -1
  512. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  513. package/dist/collection/components/progress/progress.css +1 -1
  514. package/dist/collection/components/progress/progress.js +1 -1
  515. package/dist/collection/components/radio-button/radio-button.css +1 -1
  516. package/dist/collection/components/radio-button/radio-button.js +2 -1
  517. package/dist/collection/components/radio-button/resources.js +1 -1
  518. package/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
  519. package/dist/collection/components/radio-button-group/radio-button-group.js +3 -3
  520. package/dist/collection/components/radio-group/interfaces.js +1 -1
  521. package/dist/collection/components/radio-group/radio-group.css +1 -1
  522. package/dist/collection/components/radio-group/radio-group.js +1 -1
  523. package/dist/collection/components/radio-group-item/radio-group-item.css +1 -1
  524. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  525. package/dist/collection/components/radio-group-item/resources.js +1 -1
  526. package/dist/collection/components/rating/rating.css +1 -1
  527. package/dist/collection/components/rating/rating.js +1 -1
  528. package/dist/collection/components/rating/resources.js +1 -1
  529. package/dist/collection/components/scrim/resources.js +1 -1
  530. package/dist/collection/components/scrim/scrim.css +1 -1
  531. package/dist/collection/components/scrim/scrim.js +5 -6
  532. package/dist/collection/components/select/resources.js +1 -1
  533. package/dist/collection/components/select/select.css +3 -3
  534. package/dist/collection/components/select/select.js +15 -15
  535. package/dist/collection/components/shell/resources.js +1 -1
  536. package/dist/collection/components/shell/shell.css +2 -2
  537. package/dist/collection/components/shell/shell.js +7 -7
  538. package/dist/collection/components/shell-center-row/resources.js +1 -1
  539. package/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
  540. package/dist/collection/components/shell-center-row/shell-center-row.js +9 -9
  541. package/dist/collection/components/shell-panel/resources.js +1 -1
  542. package/dist/collection/components/shell-panel/shell-panel.css +1 -1
  543. package/dist/collection/components/shell-panel/shell-panel.js +17 -17
  544. package/dist/collection/components/slider/slider.css +1 -1
  545. package/dist/collection/components/slider/slider.js +38 -38
  546. package/dist/collection/components/sortable-list/resources.js +1 -1
  547. package/dist/collection/components/sortable-list/sortable-list.css +1 -1
  548. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  549. package/dist/collection/components/split-button/resources.js +1 -1
  550. package/dist/collection/components/split-button/split-button.css +1 -1
  551. package/dist/collection/components/split-button/split-button.js +25 -26
  552. package/dist/collection/components/stepper/interfaces.js +1 -1
  553. package/dist/collection/components/stepper/stepper.css +1 -1
  554. package/dist/collection/components/stepper/stepper.js +21 -21
  555. package/dist/collection/components/stepper-item/stepper-item.css +35 -35
  556. package/dist/collection/components/stepper-item/stepper-item.js +86 -32
  557. package/dist/collection/components/switch/switch.css +1 -1
  558. package/dist/collection/components/switch/switch.js +16 -17
  559. package/dist/collection/components/tab/interfaces.js +1 -1
  560. package/dist/collection/components/tab/tab.css +1 -1
  561. package/dist/collection/components/tab/tab.js +1 -1
  562. package/dist/collection/components/tab-nav/tab-nav.css +1 -1
  563. package/dist/collection/components/tab-nav/tab-nav.js +1 -2
  564. package/dist/collection/components/tab-title/tab-title.css +1 -1
  565. package/dist/collection/components/tab-title/tab-title.js +1 -1
  566. package/dist/collection/components/tabs/interfaces.js +1 -1
  567. package/dist/collection/components/tabs/resources.js +1 -1
  568. package/dist/collection/components/tabs/tabs.css +1 -1
  569. package/dist/collection/components/tabs/tabs.js +1 -1
  570. package/dist/collection/components/tile/resources.js +1 -1
  571. package/dist/collection/components/tile/tile.css +1 -1
  572. package/dist/collection/components/tile/tile.js +1 -1
  573. package/dist/collection/components/tile-select/interfaces.js +1 -1
  574. package/dist/collection/components/tile-select/resources.js +1 -1
  575. package/dist/collection/components/tile-select/tile-select.css +1 -1
  576. package/dist/collection/components/tile-select/tile-select.js +1 -1
  577. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  578. package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
  579. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  580. package/dist/collection/components/time-picker/resources.js +1 -1
  581. package/dist/collection/components/time-picker/time-picker.css +1 -1
  582. package/dist/collection/components/time-picker/time-picker.js +13 -2
  583. package/dist/collection/components/tip/resources.js +1 -1
  584. package/dist/collection/components/tip/tip.css +1 -1
  585. package/dist/collection/components/tip/tip.js +1 -1
  586. package/dist/collection/components/tip-group/tip-group.css +1 -1
  587. package/dist/collection/components/tip-group/tip-group.js +1 -1
  588. package/dist/collection/components/tip-manager/resources.js +1 -1
  589. package/dist/collection/components/tip-manager/tip-manager.css +1 -1
  590. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  591. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  592. package/dist/collection/components/tooltip/resources.js +1 -1
  593. package/dist/collection/components/tooltip/tooltip.css +1 -1
  594. package/dist/collection/components/tooltip/tooltip.js +1 -1
  595. package/dist/collection/components/tooltip-manager/tooltip-manager.css +1 -1
  596. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  597. package/dist/collection/components/tree/interfaces.js +2 -1
  598. package/dist/collection/components/tree/tree.css +1 -1
  599. package/dist/collection/components/tree/tree.js +10 -7
  600. package/dist/collection/components/tree-item/interfaces.js +1 -1
  601. package/dist/collection/components/tree-item/resources.js +3 -2
  602. package/dist/collection/components/tree-item/tree-item.css +6 -2
  603. package/dist/collection/components/tree-item/tree-item.js +5 -5
  604. package/dist/collection/components/value-list/interfaces.js +1 -1
  605. package/dist/collection/components/value-list/resources.js +1 -1
  606. package/dist/collection/components/value-list/utils.js +1 -1
  607. package/dist/collection/components/value-list/value-list.css +1 -1
  608. package/dist/collection/components/value-list/value-list.js +4 -1
  609. package/dist/collection/components/value-list-item/resources.js +1 -1
  610. package/dist/collection/components/value-list-item/value-list-item.css +1 -1
  611. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  612. package/dist/collection/utils/array.js +1 -1
  613. package/dist/collection/utils/conditionalSlot.js +1 -1
  614. package/dist/collection/utils/date.js +1 -1
  615. package/dist/collection/utils/dom.js +1 -1
  616. package/dist/collection/utils/filter.js +1 -1
  617. package/dist/collection/utils/floating-ui.js +1 -1
  618. package/dist/collection/utils/form.js +18 -4
  619. package/dist/collection/utils/globalAttributes.js +1 -1
  620. package/dist/collection/utils/globalScript.js +2 -2
  621. package/dist/collection/utils/guid.js +1 -1
  622. package/dist/collection/utils/interactive.js +1 -1
  623. package/dist/collection/utils/key.js +1 -1
  624. package/dist/collection/utils/label.js +1 -1
  625. package/dist/collection/utils/locale.js +1 -1
  626. package/dist/collection/utils/math.js +1 -1
  627. package/dist/collection/utils/number.js +1 -1
  628. package/dist/collection/utils/observers.js +1 -1
  629. package/dist/collection/utils/openCloseComponent.js +1 -1
  630. package/dist/collection/utils/resources.js +1 -1
  631. package/dist/collection/utils/theme.js +1 -1
  632. package/dist/collection/utils/time.js +1 -1
  633. package/dist/components/ExpandToggle.js +2 -2
  634. package/dist/components/Heading.js +2 -2
  635. package/dist/components/action-group.js +3 -3
  636. package/dist/components/action-menu.js +4 -3
  637. package/dist/components/action.js +3 -3
  638. package/dist/components/array.js +1 -1
  639. package/dist/components/button.js +3 -3
  640. package/dist/components/calcite-accordion-item.js +3 -3
  641. package/dist/components/calcite-accordion.js +3 -3
  642. package/dist/components/calcite-action-bar.js +3 -3
  643. package/dist/components/calcite-action-group.js +1 -1
  644. package/dist/components/calcite-action-menu.js +1 -1
  645. package/dist/components/calcite-action-pad.js +3 -3
  646. package/dist/components/calcite-action.js +1 -1
  647. package/dist/components/calcite-alert.js +3 -3
  648. package/dist/components/calcite-avatar.js +3 -3
  649. package/dist/components/calcite-block-section.js +3 -3
  650. package/dist/components/calcite-block.js +3 -3
  651. package/dist/components/calcite-button.js +1 -1
  652. package/dist/components/calcite-card.js +3 -3
  653. package/dist/components/calcite-checkbox.js +1 -1
  654. package/dist/components/calcite-chip.js +1 -1
  655. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  656. package/dist/components/calcite-color-picker-swatch.js +1 -1
  657. package/dist/components/calcite-color-picker.js +3 -4
  658. package/dist/components/calcite-combobox-item-group.js +3 -3
  659. package/dist/components/calcite-combobox-item.js +3 -3
  660. package/dist/components/calcite-combobox.js +22 -9
  661. package/dist/components/calcite-date-picker-day.js +1 -1
  662. package/dist/components/calcite-date-picker-month-header.js +1 -1
  663. package/dist/components/calcite-date-picker-month.js +1 -1
  664. package/dist/components/calcite-date-picker.js +1 -1
  665. package/dist/components/calcite-dropdown-group.js +3 -3
  666. package/dist/components/calcite-dropdown-item.js +32 -10
  667. package/dist/components/calcite-dropdown.js +1 -1
  668. package/dist/components/calcite-fab.js +3 -3
  669. package/dist/components/calcite-filter.js +1 -1
  670. package/dist/components/calcite-flow.js +3 -3
  671. package/dist/components/calcite-graph.js +1 -1
  672. package/dist/components/calcite-handle.js +1 -1
  673. package/dist/components/calcite-icon.js +1 -1
  674. package/dist/components/calcite-inline-editable.js +18 -15
  675. package/dist/components/calcite-input-date-picker.js +10 -6
  676. package/dist/components/calcite-input-message.js +3 -3
  677. package/dist/components/calcite-input-number.js +17 -4
  678. package/dist/components/calcite-input-text.js +17 -4
  679. package/dist/components/calcite-input-time-picker.js +13 -7
  680. package/dist/components/calcite-input.js +1 -1
  681. package/dist/components/calcite-label.js +1 -1
  682. package/dist/components/calcite-link.js +1 -1
  683. package/dist/components/calcite-list-item-group.js +3 -3
  684. package/dist/components/calcite-list-item.js +3 -3
  685. package/dist/components/calcite-list.js +3 -3
  686. package/dist/components/calcite-loader.js +1 -1
  687. package/dist/components/calcite-modal.js +5 -4
  688. package/dist/components/calcite-notice.js +3 -3
  689. package/dist/components/calcite-option-group.js +3 -3
  690. package/dist/components/calcite-option.js +3 -3
  691. package/dist/components/calcite-pagination.js +3 -3
  692. package/dist/components/calcite-panel.js +5 -4
  693. package/dist/components/calcite-pick-list-group.js +3 -3
  694. package/dist/components/calcite-pick-list-item.js +1 -1
  695. package/dist/components/calcite-pick-list.js +3 -3
  696. package/dist/components/calcite-popover-manager.js +3 -3
  697. package/dist/components/calcite-popover.js +1 -1
  698. package/dist/components/calcite-progress.js +1 -1
  699. package/dist/components/calcite-radio-button-group.js +3 -3
  700. package/dist/components/calcite-radio-button.js +4 -3
  701. package/dist/components/calcite-radio-group-item.js +3 -3
  702. package/dist/components/calcite-radio-group.js +3 -3
  703. package/dist/components/calcite-rating.js +3 -3
  704. package/dist/components/calcite-scrim.js +1 -1
  705. package/dist/components/calcite-select.js +8 -8
  706. package/dist/components/calcite-shell-center-row.js +6 -6
  707. package/dist/components/calcite-shell-panel.js +9 -9
  708. package/dist/components/calcite-shell.js +4 -4
  709. package/dist/components/calcite-slider.js +15 -15
  710. package/dist/components/calcite-sortable-list.js +3 -3
  711. package/dist/components/calcite-split-button.js +11 -12
  712. package/dist/components/calcite-stepper-item.js +56 -24
  713. package/dist/components/calcite-stepper.js +12 -12
  714. package/dist/components/calcite-switch.js +1 -1
  715. package/dist/components/calcite-tab-nav.js +1 -1
  716. package/dist/components/calcite-tab-title.js +1 -1
  717. package/dist/components/calcite-tab.js +1 -1
  718. package/dist/components/calcite-tabs.js +1 -1
  719. package/dist/components/calcite-tile-select-group.js +3 -3
  720. package/dist/components/calcite-tile-select.js +3 -3
  721. package/dist/components/calcite-tile.js +1 -1
  722. package/dist/components/calcite-time-picker.js +1 -1
  723. package/dist/components/calcite-tip-group.js +3 -3
  724. package/dist/components/calcite-tip-manager.js +3 -3
  725. package/dist/components/calcite-tip.js +3 -3
  726. package/dist/components/calcite-tooltip-manager.js +3 -3
  727. package/dist/components/calcite-tooltip.js +3 -3
  728. package/dist/components/calcite-tree-item.js +8 -7
  729. package/dist/components/calcite-tree.js +11 -8
  730. package/dist/components/calcite-value-list-item.js +3 -3
  731. package/dist/components/calcite-value-list.js +6 -3
  732. package/dist/components/checkbox.js +3 -3
  733. package/dist/components/chip.js +3 -3
  734. package/dist/components/color-picker-hex-input.js +3 -3
  735. package/dist/components/color-picker-swatch.js +3 -3
  736. package/dist/components/conditionalSlot.js +2 -2
  737. package/dist/components/date-picker-day.js +5 -5
  738. package/dist/components/date-picker-month-header.js +6 -9
  739. package/dist/components/date-picker-month.js +7 -4
  740. package/dist/components/date-picker.js +3 -3
  741. package/dist/components/date.js +1 -1
  742. package/dist/components/debounce.js +1 -1
  743. package/dist/components/dom.js +1 -1
  744. package/dist/components/dropdown.js +26 -15
  745. package/dist/components/filter.js +1 -1
  746. package/dist/components/filter2.js +4 -3
  747. package/dist/components/floating-ui.js +1 -1
  748. package/dist/components/form.js +19 -5
  749. package/dist/components/graph.js +3 -3
  750. package/dist/components/guid.js +1 -1
  751. package/dist/components/handle.js +5 -3
  752. package/dist/components/icon.js +3 -3
  753. package/dist/components/index.js +3 -3
  754. package/dist/components/input.js +23 -4
  755. package/dist/components/interactive.js +1 -1
  756. package/dist/components/interfaces.js +1 -1
  757. package/dist/components/interfaces2.js +2 -1
  758. package/dist/components/key.js +1 -1
  759. package/dist/components/label.js +1 -1
  760. package/dist/components/label2.js +3 -3
  761. package/dist/components/link.js +3 -3
  762. package/dist/components/loader.js +3 -3
  763. package/dist/components/locale.js +1 -1
  764. package/dist/components/math.js +1 -1
  765. package/dist/components/observers.js +2 -2
  766. package/dist/components/openCloseComponent.js +1 -1
  767. package/dist/components/pick-list-item.js +3 -3
  768. package/dist/components/popover.js +4 -4
  769. package/dist/components/progress.js +3 -3
  770. package/dist/components/resources.js +1 -1
  771. package/dist/components/resources2.js +1 -1
  772. package/dist/components/resources3.js +1 -1
  773. package/dist/components/resources4.js +1 -1
  774. package/dist/components/scrim.js +5 -6
  775. package/dist/components/shared-list-render.js +2 -2
  776. package/dist/components/sortable.esm.js +1 -1
  777. package/dist/components/switch.js +9 -10
  778. package/dist/components/tab-nav.js +3 -4
  779. package/dist/components/tab-title.js +3 -3
  780. package/dist/components/tab.js +3 -3
  781. package/dist/components/tabs.js +3 -3
  782. package/dist/components/tile.js +3 -3
  783. package/dist/components/time-picker.js +15 -4
  784. package/dist/components/utils.js +1 -1
  785. package/dist/components/utils2.js +2 -2
  786. package/dist/custom-elements/index.js +414 -246
  787. package/dist/esm/{ExpandToggle-0b0a550d.js → ExpandToggle-dc3e3d23.js} +5 -5
  788. package/dist/esm/{Heading-53f20654.js → Heading-5c05676e.js} +2 -2
  789. package/dist/esm/{app-globals-0eb51a63.js → app-globals-f3d4272a.js} +3 -3
  790. package/dist/esm/{array-bfb963a8.js → array-d40ffe9a.js} +1 -1
  791. package/dist/esm/calcite-accordion_2.entry.js +9 -9
  792. package/dist/esm/calcite-action-bar.entry.js +12 -12
  793. package/dist/esm/calcite-action-group.entry.js +10 -10
  794. package/dist/esm/calcite-action-menu.entry.js +10 -9
  795. package/dist/esm/calcite-action-pad.entry.js +11 -11
  796. package/dist/esm/calcite-action.entry.js +8 -8
  797. package/dist/esm/calcite-alert.entry.js +8 -8
  798. package/dist/esm/calcite-avatar.entry.js +7 -7
  799. package/dist/esm/calcite-block_2.entry.js +12 -12
  800. package/dist/esm/calcite-button.entry.js +10 -10
  801. package/dist/esm/calcite-card.entry.js +8 -8
  802. package/dist/esm/calcite-checkbox.entry.js +10 -10
  803. package/dist/esm/calcite-chip.entry.js +8 -8
  804. package/dist/esm/calcite-color-picker_3.entry.js +13 -14
  805. package/dist/esm/calcite-combobox_3.entry.js +36 -23
  806. package/dist/esm/calcite-date-picker_4.entry.js +23 -23
  807. package/dist/esm/calcite-dropdown_3.entry.js +63 -31
  808. package/dist/esm/calcite-fab.entry.js +7 -7
  809. package/dist/esm/calcite-filter.entry.js +10 -9
  810. package/dist/esm/calcite-flow.entry.js +4 -4
  811. package/dist/esm/calcite-graph_2.entry.js +25 -25
  812. package/dist/esm/calcite-handle.entry.js +8 -6
  813. package/dist/esm/calcite-icon.entry.js +7 -7
  814. package/dist/esm/calcite-inline-editable.entry.js +24 -21
  815. package/dist/esm/calcite-input-date-picker.entry.js +21 -17
  816. package/dist/esm/calcite-input-message.entry.js +6 -6
  817. package/dist/esm/calcite-input-number.entry.js +27 -14
  818. package/dist/esm/calcite-input-text.entry.js +24 -11
  819. package/dist/esm/calcite-input-time-picker_2.entry.js +34 -17
  820. package/dist/esm/calcite-input.entry.js +33 -14
  821. package/dist/esm/calcite-label.entry.js +7 -7
  822. package/dist/esm/calcite-link.entry.js +7 -7
  823. package/dist/esm/calcite-list_3.entry.js +12 -12
  824. package/dist/esm/calcite-loader.entry.js +4 -4
  825. package/dist/esm/calcite-modal.entry.js +11 -10
  826. package/dist/esm/calcite-notice.entry.js +9 -9
  827. package/dist/esm/calcite-option_3.entry.js +17 -17
  828. package/dist/esm/calcite-pagination.entry.js +6 -6
  829. package/dist/esm/calcite-panel.entry.js +13 -12
  830. package/dist/esm/calcite-pick-list_3.entry.js +15 -15
  831. package/dist/esm/calcite-popover_2.entry.js +13 -13
  832. package/dist/esm/calcite-progress.entry.js +3 -3
  833. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  834. package/dist/esm/calcite-radio-button.entry.js +11 -10
  835. package/dist/esm/calcite-radio-group_2.entry.js +10 -10
  836. package/dist/esm/calcite-rating.entry.js +10 -10
  837. package/dist/esm/calcite-scrim.entry.js +5 -6
  838. package/dist/esm/calcite-shell_3.entry.js +21 -21
  839. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  840. package/dist/esm/calcite-split-button.entry.js +12 -13
  841. package/dist/esm/calcite-stepper_2.entry.js +69 -38
  842. package/dist/esm/calcite-switch.entry.js +16 -17
  843. package/dist/esm/calcite-tab_4.entry.js +11 -12
  844. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  845. package/dist/esm/calcite-tile.entry.js +9 -9
  846. package/dist/esm/calcite-tip_3.entry.js +11 -11
  847. package/dist/esm/calcite-tooltip_2.entry.js +8 -8
  848. package/dist/esm/calcite-tree_2.entry.js +22 -17
  849. package/dist/esm/calcite-value-list_2.entry.js +17 -14
  850. package/dist/esm/calcite.js +5 -5
  851. package/dist/esm/{conditionalSlot-3c2e3da6.js → conditionalSlot-ecb2fb5b.js} +3 -3
  852. package/dist/esm/{debounce-6c1fb2e1.js → debounce-606ac892.js} +1 -1
  853. package/dist/esm/{dom-b00b63fe.js → dom-ad5fd630.js} +3 -3
  854. package/dist/esm/{filter-1b9ea22a.js → filter-a04e9337.js} +2 -2
  855. package/dist/esm/{floating-ui-4af4d0ec.js → floating-ui-1570beec.js} +2 -2
  856. package/dist/esm/{form-b162c519.js → form-15b335c2.js} +20 -6
  857. package/dist/esm/{guid-4eb9b69b.js → guid-44185ff2.js} +1 -1
  858. package/dist/esm/{index-2980b14c.js → index-5fd0c41c.js} +1 -1
  859. package/dist/esm/index.js +1 -1
  860. package/dist/esm/{interactive-6c201311.js → interactive-5e7f35f4.js} +1 -1
  861. package/dist/esm/{interfaces-a1af0701.js → interfaces-06face10.js} +1 -1
  862. package/dist/esm/{key-f8db6ac0.js → key-c11cbfbd.js} +1 -1
  863. package/dist/esm/{label-7607bbd1.js → label-63e40550.js} +2 -2
  864. package/dist/esm/loader.js +5 -5
  865. package/dist/esm/{locale-9f7b3bc6.js → locale-89a5125e.js} +2 -2
  866. package/dist/esm/{math-4da02f6f.js → math-4dcd0dab.js} +1 -1
  867. package/dist/esm/{observers-dc6401d4.js → observers-04124e99.js} +1 -1
  868. package/dist/esm/{openCloseComponent-36a012f7.js → openCloseComponent-3ae9fbac.js} +1 -1
  869. package/dist/esm/{resources-d3714ef2.js → resources-1db69fa1.js} +1 -1
  870. package/dist/esm/{resources-7b1070b6.js → resources-3f78fbe2.js} +3 -3
  871. package/dist/esm/{resources-d7d605e6.js → resources-45d4ddd3.js} +1 -1
  872. package/dist/esm/{resources-1d846ef4.js → resources-5cfb576c.js} +5 -5
  873. package/dist/esm/{resources-3c798fda.js → resources-a691bf05.js} +1 -1
  874. package/dist/esm/{sortable.esm-28f07dcf.js → sortable.esm-ba484a10.js} +1 -1
  875. package/dist/esm/{utils-62a98b74.js → utils-46049675.js} +1 -1
  876. package/dist/esm-es5/ExpandToggle-dc3e3d23.js +6 -0
  877. package/dist/esm-es5/{Heading-53f20654.js → Heading-5c05676e.js} +2 -2
  878. package/dist/esm-es5/app-globals-f3d4272a.js +6 -0
  879. package/dist/esm-es5/{array-bfb963a8.js → array-d40ffe9a.js} +1 -1
  880. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  881. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  882. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  883. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  884. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  885. package/dist/esm-es5/calcite-action.entry.js +2 -2
  886. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  887. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  888. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  889. package/dist/esm-es5/calcite-button.entry.js +2 -2
  890. package/dist/esm-es5/calcite-card.entry.js +2 -2
  891. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  892. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  893. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  894. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  895. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  896. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
  897. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  898. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  899. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  900. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  901. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  902. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  903. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  904. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  905. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  906. package/dist/esm-es5/calcite-input-number.entry.js +3 -3
  907. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  908. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  909. package/dist/esm-es5/calcite-input.entry.js +2 -2
  910. package/dist/esm-es5/calcite-label.entry.js +2 -2
  911. package/dist/esm-es5/calcite-link.entry.js +2 -2
  912. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  913. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  914. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  915. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  916. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  917. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  918. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  919. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  920. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  921. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  922. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  923. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  924. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  925. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  926. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  927. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  928. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  929. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  930. package/dist/esm-es5/calcite-stepper_2.entry.js +3 -3
  931. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  932. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  933. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  934. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  935. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  936. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  937. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  938. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  939. package/dist/esm-es5/calcite.js +2 -2
  940. package/dist/esm-es5/{conditionalSlot-3c2e3da6.js → conditionalSlot-ecb2fb5b.js} +2 -2
  941. package/dist/esm-es5/{debounce-6c1fb2e1.js → debounce-606ac892.js} +1 -1
  942. package/dist/esm-es5/{dom-b00b63fe.js → dom-ad5fd630.js} +2 -2
  943. package/dist/esm-es5/{filter-1b9ea22a.js → filter-a04e9337.js} +2 -2
  944. package/dist/esm-es5/{floating-ui-4af4d0ec.js → floating-ui-1570beec.js} +2 -2
  945. package/dist/esm-es5/form-15b335c2.js +6 -0
  946. package/dist/esm-es5/{guid-4eb9b69b.js → guid-44185ff2.js} +1 -1
  947. package/dist/esm-es5/{index-2980b14c.js → index-5fd0c41c.js} +1 -1
  948. package/dist/esm-es5/index.js +1 -1
  949. package/dist/esm-es5/{interactive-6c201311.js → interactive-5e7f35f4.js} +1 -1
  950. package/dist/esm-es5/{interfaces-a1af0701.js → interfaces-06face10.js} +1 -1
  951. package/dist/esm-es5/{key-f8db6ac0.js → key-c11cbfbd.js} +1 -1
  952. package/dist/esm-es5/{label-7607bbd1.js → label-63e40550.js} +2 -2
  953. package/dist/esm-es5/loader.js +2 -2
  954. package/dist/esm-es5/{locale-9f7b3bc6.js → locale-89a5125e.js} +2 -2
  955. package/dist/esm-es5/{math-4da02f6f.js → math-4dcd0dab.js} +1 -1
  956. package/dist/esm-es5/{observers-dc6401d4.js → observers-04124e99.js} +1 -1
  957. package/dist/esm-es5/{openCloseComponent-36a012f7.js → openCloseComponent-3ae9fbac.js} +1 -1
  958. package/dist/esm-es5/{resources-d3714ef2.js → resources-1db69fa1.js} +1 -1
  959. package/dist/esm-es5/{resources-7b1070b6.js → resources-3f78fbe2.js} +2 -2
  960. package/dist/esm-es5/{resources-d7d605e6.js → resources-45d4ddd3.js} +1 -1
  961. package/dist/esm-es5/{resources-1d846ef4.js → resources-5cfb576c.js} +2 -2
  962. package/dist/esm-es5/{resources-3c798fda.js → resources-a691bf05.js} +1 -1
  963. package/dist/esm-es5/{sortable.esm-28f07dcf.js → sortable.esm-ba484a10.js} +1 -1
  964. package/dist/esm-es5/{utils-62a98b74.js → utils-46049675.js} +1 -1
  965. package/dist/extras/docs-json.json +167 -118
  966. package/dist/loader/cdn.js +1 -1
  967. package/dist/loader/index.cjs.js +1 -1
  968. package/dist/loader/index.es2017.js +1 -1
  969. package/dist/loader/index.js +1 -1
  970. package/dist/types/components/dropdown-item/dropdown-item.d.ts +9 -1
  971. package/dist/types/components/input/input.d.ts +2 -1
  972. package/dist/types/components/input-date-picker/input-date-picker.d.ts +1 -1
  973. package/dist/types/components/input-number/input-number.d.ts +2 -1
  974. package/dist/types/components/input-text/input-text.d.ts +2 -1
  975. package/dist/types/components/input-time-picker/input-time-picker.d.ts +1 -1
  976. package/dist/types/components/radio-button-group/radio-button-group.d.ts +1 -1
  977. package/dist/types/components/scrim/scrim.d.ts +2 -3
  978. package/dist/types/components/select/select.d.ts +9 -9
  979. package/dist/types/components/shell/shell.d.ts +5 -5
  980. package/dist/types/components/shell-center-row/shell-center-row.d.ts +5 -5
  981. package/dist/types/components/shell-panel/shell-panel.d.ts +10 -10
  982. package/dist/types/components/slider/slider.d.ts +32 -29
  983. package/dist/types/components/split-button/split-button.d.ts +18 -19
  984. package/dist/types/components/stepper/stepper.d.ts +11 -11
  985. package/dist/types/components/stepper-item/stepper-item.d.ts +27 -16
  986. package/dist/types/components/switch/switch.d.ts +9 -9
  987. package/dist/types/components/tree/interfaces.d.ts +1 -0
  988. package/dist/types/components/tree-item/resources.d.ts +1 -0
  989. package/dist/types/components.d.ts +186 -166
  990. package/dist/types/utils/form.d.ts +2 -1
  991. package/hydrate/index.js +425 -255
  992. package/package.json +10 -9
  993. package/readme.md +2 -2
  994. package/dist/calcite/p-0214df92.system.entry.js +0 -6
  995. package/dist/calcite/p-0242e56a.entry.js +0 -6
  996. package/dist/calcite/p-02eea8e8.entry.js +0 -6
  997. package/dist/calcite/p-05282d96.entry.js +0 -6
  998. package/dist/calcite/p-08ae1bba.entry.js +0 -6
  999. package/dist/calcite/p-093b8180.entry.js +0 -6
  1000. package/dist/calcite/p-0bf91224.system.entry.js +0 -6
  1001. package/dist/calcite/p-0c545eab.system.entry.js +0 -6
  1002. package/dist/calcite/p-0e2b3ba0.system.entry.js +0 -6
  1003. package/dist/calcite/p-1486a22e.system.entry.js +0 -6
  1004. package/dist/calcite/p-16619b68.js +0 -6
  1005. package/dist/calcite/p-1b54481c.entry.js +0 -6
  1006. package/dist/calcite/p-1cf78741.system.entry.js +0 -6
  1007. package/dist/calcite/p-212092fa.entry.js +0 -6
  1008. package/dist/calcite/p-21c39562.system.entry.js +0 -6
  1009. package/dist/calcite/p-233d5760.entry.js +0 -6
  1010. package/dist/calcite/p-29823f6a.system.entry.js +0 -6
  1011. package/dist/calcite/p-2b6410d0.js +0 -6
  1012. package/dist/calcite/p-2d556abb.system.entry.js +0 -6
  1013. package/dist/calcite/p-336043a1.system.entry.js +0 -6
  1014. package/dist/calcite/p-35089404.system.entry.js +0 -6
  1015. package/dist/calcite/p-39ee1af5.js +0 -6
  1016. package/dist/calcite/p-4b1b97e7.entry.js +0 -6
  1017. package/dist/calcite/p-55b95ba4.system.entry.js +0 -6
  1018. package/dist/calcite/p-5844bc8a.entry.js +0 -6
  1019. package/dist/calcite/p-5a912061.system.entry.js +0 -6
  1020. package/dist/calcite/p-62f91e27.entry.js +0 -6
  1021. package/dist/calcite/p-63d75714.entry.js +0 -6
  1022. package/dist/calcite/p-63ea489c.system.entry.js +0 -6
  1023. package/dist/calcite/p-63f4d615.entry.js +0 -6
  1024. package/dist/calcite/p-667e9955.entry.js +0 -6
  1025. package/dist/calcite/p-68dbaea4.entry.js +0 -6
  1026. package/dist/calcite/p-6a1e2062.system.entry.js +0 -6
  1027. package/dist/calcite/p-6c4ad87d.entry.js +0 -6
  1028. package/dist/calcite/p-6d51e117.system.entry.js +0 -6
  1029. package/dist/calcite/p-71ff8569.entry.js +0 -6
  1030. package/dist/calcite/p-753dde2f.entry.js +0 -6
  1031. package/dist/calcite/p-7eecec41.system.entry.js +0 -6
  1032. package/dist/calcite/p-7f71caec.entry.js +0 -6
  1033. package/dist/calcite/p-825ca4fa.system.entry.js +0 -6
  1034. package/dist/calcite/p-844d8c0a.entry.js +0 -6
  1035. package/dist/calcite/p-85500e4f.system.entry.js +0 -6
  1036. package/dist/calcite/p-85d5be2b.entry.js +0 -6
  1037. package/dist/calcite/p-8b31fe23.system.entry.js +0 -6
  1038. package/dist/calcite/p-8bcafc96.entry.js +0 -6
  1039. package/dist/calcite/p-8f407d84.entry.js +0 -6
  1040. package/dist/calcite/p-8f72f530.system.entry.js +0 -6
  1041. package/dist/calcite/p-8fdb7f97.entry.js +0 -6
  1042. package/dist/calcite/p-907836fa.entry.js +0 -6
  1043. package/dist/calcite/p-93640639.system.entry.js +0 -6
  1044. package/dist/calcite/p-9406e3b5.system.entry.js +0 -6
  1045. package/dist/calcite/p-95580555.system.entry.js +0 -6
  1046. package/dist/calcite/p-979aee7e.system.entry.js +0 -6
  1047. package/dist/calcite/p-99f6128c.entry.js +0 -6
  1048. package/dist/calcite/p-9b116c59.entry.js +0 -6
  1049. package/dist/calcite/p-9c07b0c0.entry.js +0 -6
  1050. package/dist/calcite/p-9dd62973.system.entry.js +0 -6
  1051. package/dist/calcite/p-9f226088.system.entry.js +0 -6
  1052. package/dist/calcite/p-a0bb13ee.system.entry.js +0 -6
  1053. package/dist/calcite/p-a1efd872.system.entry.js +0 -6
  1054. package/dist/calcite/p-a276c702.system.entry.js +0 -6
  1055. package/dist/calcite/p-a467545a.entry.js +0 -6
  1056. package/dist/calcite/p-a75a3ac9.system.js +0 -6
  1057. package/dist/calcite/p-a7f3ac6a.entry.js +0 -6
  1058. package/dist/calcite/p-aa39ce70.entry.js +0 -6
  1059. package/dist/calcite/p-ac070b26.system.entry.js +0 -6
  1060. package/dist/calcite/p-ac517465.system.entry.js +0 -6
  1061. package/dist/calcite/p-b25d9fc8.entry.js +0 -6
  1062. package/dist/calcite/p-b512ea80.system.entry.js +0 -6
  1063. package/dist/calcite/p-b863cb3d.system.entry.js +0 -6
  1064. package/dist/calcite/p-bb90fb2e.system.entry.js +0 -6
  1065. package/dist/calcite/p-bb939247.system.entry.js +0 -6
  1066. package/dist/calcite/p-bf6d2fae.system.entry.js +0 -6
  1067. package/dist/calcite/p-c3c0f25c.system.entry.js +0 -6
  1068. package/dist/calcite/p-c3ee55e7.system.entry.js +0 -6
  1069. package/dist/calcite/p-c50f4ad9.system.entry.js +0 -6
  1070. package/dist/calcite/p-c573bfe4.js +0 -6
  1071. package/dist/calcite/p-c7c7b8b7.system.entry.js +0 -6
  1072. package/dist/calcite/p-c868004f.system.entry.js +0 -6
  1073. package/dist/calcite/p-cc84f8f7.entry.js +0 -6
  1074. package/dist/calcite/p-cf54ca51.entry.js +0 -6
  1075. package/dist/calcite/p-d2de5df6.system.entry.js +0 -6
  1076. package/dist/calcite/p-d691fdb9.entry.js +0 -6
  1077. package/dist/calcite/p-dae6da1a.system.entry.js +0 -6
  1078. package/dist/calcite/p-e32ec068.system.js +0 -6
  1079. package/dist/calcite/p-e486c551.system.entry.js +0 -6
  1080. package/dist/calcite/p-e5b91c54.entry.js +0 -6
  1081. package/dist/calcite/p-e86fd005.entry.js +0 -6
  1082. package/dist/calcite/p-e9cb190e.entry.js +0 -6
  1083. package/dist/calcite/p-ee38ed28.system.entry.js +0 -6
  1084. package/dist/calcite/p-ee654d44.entry.js +0 -6
  1085. package/dist/calcite/p-f2fc0881.system.js +0 -6
  1086. package/dist/calcite/p-f343928c.system.entry.js +0 -6
  1087. package/dist/calcite/p-f3d82c23.entry.js +0 -6
  1088. package/dist/calcite/p-f417a37e.system.entry.js +0 -6
  1089. package/dist/calcite/p-f450b40d.system.entry.js +0 -6
  1090. package/dist/collection/demos/_assets/demo-form.js +0 -22
  1091. package/dist/collection/demos/_assets/demo-spacer.js +0 -17
  1092. package/dist/collection/demos/_assets/demo-template.js +0 -24
  1093. package/dist/collection/demos/_assets/head.js +0 -48
  1094. package/dist/collection/demos/_assets/locales.js +0 -223
  1095. package/dist/collection/utils/popper.js +0 -121
  1096. package/dist/esm-es5/ExpandToggle-0b0a550d.js +0 -6
  1097. package/dist/esm-es5/app-globals-0eb51a63.js +0 -6
  1098. package/dist/esm-es5/form-b162c519.js +0 -6
@@ -1,6 +0,0 @@
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-beta.91
5
- */
6
- import{r as t,c as e,h as a,H as i,g as r,F as o}from"./p-be00e22e.js";import{T as n,c as s,d as c,a as l,b as h,g as d,H as u,s as p,i as f,e as m,n as g,f as w,l as v,h as b}from"./p-0c2e3108.js";import{a as x}from"./p-02c2ce31.js";import{C as y}from"./p-bb45b137.js";import{u as k}from"./p-978e1777.js";import{i as D}from"./p-72de7bac.js";import{H as z}from"./p-c573bfe4.js";import"./p-e59a4adc.js";import"./p-a189654d.js";const _=class{constructor(a){t(this,a),this.calciteDatePickerChange=e(this,"calciteDatePickerChange",6),this.calciteDatePickerRangeChange=e(this,"calciteDatePickerRangeChange",6),this.intlPrevMonth=n.prevMonth,this.intlNextMonth=n.nextMonth,this.intlYear=n.year,this.locale=document.documentElement.lang||"en",this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.keyDownHandler=t=>{"Escape"===t.key&&this.reset()},this.monthHeaderSelectChange=t=>{const e=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=e:this.activeStartDate=e,this.mostRecentRangeValue=e):this.activeDate=e},this.monthActiveDateChange=t=>{const e=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=e:this.activeStartDate=e,this.mostRecentRangeValue=e):this.activeDate=e},this.monthHoverChange=t=>{if(!this.startAsDate)return void(this.hoverRange=void 0);const e=new Date(t.detail);if(this.hoverRange={focused:this.activeRange||"start",start:this.startAsDate,end:this.endAsDate},this.proximitySelectionDisabled)this.endAsDate?this.hoverRange=void 0:e<this.startAsDate?this.hoverRange={focused:"start",start:e,end:this.startAsDate}:(this.hoverRange.end=e,this.hoverRange.focused="end");else if(this.endAsDate){const t=s(e,this.startAsDate),a=s(e,this.endAsDate);a>0?(this.hoverRange.end=e,this.hoverRange.focused="end"):t<0||t>a?(this.hoverRange.start=e,this.hoverRange.focused="start"):(this.hoverRange.end=e,this.hoverRange.focused="end")}else e<this.startAsDate?this.hoverRange={focused:"start",start:e,end:this.startAsDate}:(this.hoverRange.end=e,this.hoverRange.focused="end");t.stopPropagation()},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.reset=()=>{var t,e,a,i,r,o;!Array.isArray(this.valueAsDate)&&this.valueAsDate&&(null===(t=this.valueAsDate)||void 0===t?void 0:t.getTime())!==(null===(e=this.activeDate)||void 0===e?void 0:e.getTime())&&(this.activeDate=new Date(this.valueAsDate)),this.startAsDate&&(null===(a=this.startAsDate)||void 0===a?void 0:a.getTime())!==(null===(i=this.activeStartDate)||void 0===i?void 0:i.getTime())&&(this.activeStartDate=new Date(this.startAsDate)),this.endAsDate&&(null===(r=this.endAsDate)||void 0===r?void 0:r.getTime())!==(null===(o=this.activeEndDate)||void 0===o?void 0:o.getTime())&&(this.activeEndDate=new Date(this.endAsDate))},this.monthDateChange=t=>{const e=new Date(t.detail);if(!this.range)return this.value=e?c(e):"",this.valueAsDate=e||null,this.activeDate=e||null,void this.calciteDatePickerChange.emit(e);if(!this.startAsDate||!this.endAsDate&&e<this.startAsDate)this.startAsDate&&this.setEndDate(new Date(this.startAsDate)),"end"==this.activeRange?this.setEndDate(e):this.setStartDate(e);else if(this.endAsDate)if(this.proximitySelectionDisabled)this.setStartDate(e),this.endAsDate=this.activeEndDate=this.end=void 0;else if(this.activeRange)"end"==this.activeRange?this.setEndDate(e):this.setStartDate(e);else{const t=s(e,this.startAsDate),a=s(e,this.endAsDate);0===a||t<0?this.setStartDate(e):0===t||a<0?this.setEndDate(e):t<a?this.setStartDate(e):this.setEndDate(e)}else this.setEndDate(e);this.calciteDatePickerChange.emit(e)}}handleValueAsDate(t){!Array.isArray(t)&&t&&t!==this.activeDate&&(this.activeDate=t)}handleRangeChange(){const{startAsDate:t,endAsDate:e}=this;this.activeEndDate=e,this.activeStartDate=t}onMinChanged(t){t&&(this.minAsDate=l(t))}onMaxChanged(t){t&&(this.maxAsDate=l(t))}connectedCallback(){Array.isArray(this.value)?(this.valueAsDate=this.value.map((t=>l(t))),this.start=this.value[0],this.end=this.value[1]):this.value&&(this.valueAsDate=l(this.value)),this.start&&this.setStartAsDate(l(this.start)),this.end&&this.setEndAsDate(l(this.end)),this.min&&(this.minAsDate=l(this.min)),this.max&&(this.maxAsDate=l(this.max))}async componentWillLoad(){await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max)}render(){var t;const e=h(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);let r=this.range?this.getActiveStartDate(e,this.minAsDate,this.maxAsDate):this.getActiveDate(e,this.minAsDate,this.maxAsDate);const o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null,n=this.getActiveEndDate(o,this.minAsDate,this.maxAsDate);return"end"!==this.activeRange&&("end"!==(null===(t=this.hoverRange)||void 0===t?void 0:t.focused)||this.proximitySelectionDisabled&&!o)||!n||(r=n),this.range&&this.mostRecentRangeValue&&(r=this.mostRecentRangeValue),a(i,{onBlur:this.reset,onKeyDown:this.keyDownHandler,role:"application"},this.renderCalendar(r,this.range&&this.activeRange&&"start"===this.activeRange&&o||this.maxAsDate,this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:e||this.minAsDate:this.minAsDate,e,o))}valueHandler(t){Array.isArray(t)?(this.valueAsDate=t.map((t=>l(t))),this.start=t[0],this.end=t[1]):t&&(this.valueAsDate=l(t),this.start="",this.end="")}startWatcher(t){this.setStartAsDate(l(t))}endWatcher(t){this.setEndAsDate(l(t))}async loadLocaleData(){const{locale:t}=this;this.localeData=await d(t)}renderCalendar(t,e,i,r,o){return this.localeData&&[a("calcite-date-picker-month-header",{activeDate:t,headingLevel:this.headingLevel||u,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,localeData:this.localeData,max:e,min:i,onCalciteDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?o:r||new Date}),a("calcite-date-picker-month",{activeDate:t,endDate:this.range?o:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:e,min:i,onCalciteDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteDatePickerSelect:this.monthDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,scale:this.scale,selectedDate:"end"===this.activeRange?o:r,startDate:this.range?r:void 0})]}setStartAsDate(t,e){this.startAsDate=t,this.mostRecentRangeValue=this.startAsDate,e&&this.calciteDatePickerRangeChange.emit({startDate:t,endDate:this.endAsDate})}setEndAsDate(t,e){this.endAsDate=t,this.mostRecentRangeValue=this.endAsDate,e&&this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:t})}setEndDate(t){this.end=t?c(t):"",this.setEndAsDate(t,!0),this.activeEndDate=t||null}setStartDate(t){this.start=t?c(t):"",this.setStartAsDate(t,!0),this.activeStartDate=t||null}getActiveDate(t,e,a){return h(this.activeDate,e,a)||t||h(new Date,e,a)}getActiveStartDate(t,e,a){return h(this.activeStartDate,e,a)||t||h(new Date,e,a)}getActiveEndDate(t,e,a){return h(this.activeEndDate,e,a)||t||h(new Date,e,a)}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{valueAsDate:["handleValueAsDate"],startAsDate:["handleRangeChange"],endAsDate:["handleRangeChange"],min:["onMinChanged"],max:["onMaxChanged"],value:["valueHandler"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}}};_.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{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}";const C=class{constructor(a){t(this,a),this.calciteDaySelect=e(this,"calciteDaySelect",6),this.calciteInternalDayHover=e(this,"calciteInternalDayHover",6),this.disabled=!1,this.currentMonth=!1,this.selected=!1,this.highlighted=!1,this.range=!1,this.startOfRange=!1,this.endOfRange=!1,this.rangeHover=!1,this.active=!1,this.onClick=()=>{!this.disabled&&this.calciteDaySelect.emit()},this.keyDownHandler=t=>{const{key:e}=t;D(e)&&!this.disabled&&this.calciteDaySelect.emit()}}mouseoverHandler(){this.calciteInternalDayHover.emit()}render(){const t=String(this.day).split("").map((t=>this.localeData.numerals[t])).join(""),e=x(this.el);return a(i,{onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},a("div",{class:{"day-v-wrapper":!0,[y.rtl]:"rtl"===e}},a("div",{class:"day-wrapper"},a("span",{class:"day"},a("span",{class:"text"},t)))))}componentDidRender(){k(this,this.isTabbable)}isTabbable(){return this.active}get el(){return r(this)}};C.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;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}}";const A=class{constructor(a){t(this,a),this.calciteDatePickerSelect=e(this,"calciteDatePickerSelect",6),this.calciteInternalDatePickerHover=e(this,"calciteInternalDatePickerHover",6),this.calciteDatePickerActiveDateChange=e(this,"calciteDatePickerActiveDateChange",6),this.calciteInternalDatePickerMouseOut=e(this,"calciteInternalDatePickerMouseOut",6),this.activeDate=new Date,this.keyDownHandler=t=>{const e="rtl"===this.el.dir;switch(t.key){case"ArrowUp":t.preventDefault(),this.addDays(-7);break;case"ArrowRight":t.preventDefault(),this.addDays(e?-1:1);break;case"ArrowDown":t.preventDefault(),this.addDays(7);break;case"ArrowLeft":t.preventDefault(),this.addDays(e?1:-1);break;case"PageUp":t.preventDefault(),this.addMonths(-1);break;case"PageDown":t.preventDefault(),this.addMonths(1);break;case"Home":t.preventDefault(),this.activeDate.setDate(1),this.addDays();break;case"End":t.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays();break;case"Enter":case" ":t.preventDefault();break;case"Tab":this.activeFocus=!1}},this.disableActiveFocus=()=>{this.activeFocus=!1},this.dayHover=t=>{const e=t.target;e.disabled?this.calciteInternalDatePickerMouseOut.emit():this.calciteInternalDatePickerHover.emit(e.value),t.stopPropagation()},this.daySelect=t=>{this.calciteDatePickerSelect.emit(t.target.value)}}mouseoutHandler(){this.calciteInternalDatePickerMouseOut.emit()}render(){const t=this.activeDate.getMonth(),e=this.activeDate.getFullYear(),r=this.localeData.weekStart%7,{abbreviated:o,short:n,narrow:s}=this.localeData.days,c="s"===this.scale?s||n||o:n||o||s,l=[...c.slice(r,7),...c.slice(0,r)],h=this.getCurrentMonthDays(t,e),d=this.getPrevMonthdays(t,e,r),u=this.getNextMonthDays(t,e,r),f=[...d.map((a=>{const i=new Date(e,t-1,a);return this.renderDateDay(!1,a,i)})),...h.map((a=>{const i=new Date(e,t,a),r=p(i,this.activeDate);return this.renderDateDay(r,a,i,!0,!0)})),...u.map((a=>{const i=new Date(e,t+1,a);return this.renderDateDay(!1,a,i)}))],m=[];for(let t=0;t<f.length;t+=7)m.push(f.slice(t,t+7));return a(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},a("div",{class:"calender",role:"grid"},a("div",{class:"week-headers",role:"row"},l.map((t=>a("span",{class:"week-header",role:"columnheader"},t)))),m.map((t=>a("div",{class:"week-days",role:"row"},t)))))}addMonths(t){const e=new Date(this.activeDate);e.setMonth(this.activeDate.getMonth()+t),this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max)),this.activeFocus=!0}addDays(t=0){const e=new Date(this.activeDate);e.setDate(this.activeDate.getDate()+t),this.calciteDatePickerActiveDateChange.emit(h(e,this.min,this.max)),this.activeFocus=!0}getPrevMonthdays(t,e,a){const i=new Date(e,t,0),r=i.getDate(),o=[];if(i.getDay()-6===a)return o;for(let t=Math.abs(i.getDay()-a);t>=0;t--)o.push(r-t);return o}getCurrentMonthDays(t,e){const a=new Date(e,t+1,0).getDate(),i=[];for(let t=0;t<a;t++)i.push(t+1);return i}getNextMonthDays(t,e,a){const i=new Date(e,t+1,0).getDay(),r=[];if(i===(a+6)%7)return r;for(let t=0;t<(6-(i-a))%7;t++)r.push(t+1);return r}betweenSelectedRange(t){return!(!(this.startDate&&this.endDate&&t>this.startDate&&t<this.endDate)||this.isRangeHover(t))}isSelected(t){return!!(p(t,this.selectedDate)||this.startDate&&p(t,this.startDate)||this.endDate&&p(t,this.endDate))}isStartOfRange(t){return!(!this.startDate||p(this.startDate,this.endDate)||!p(this.startDate,t)||this.isEndOfRange(t))}isEndOfRange(t){return!!(this.endDate&&!p(this.startDate,this.endDate)&&p(this.endDate,t)||!this.endDate&&this.hoverRange&&p(this.startDate,this.hoverRange.end)&&p(t,this.hoverRange.end))}renderDateDay(t,e,i,r,o){var n;const s=this.isFocusedOnStart(),c=this.isHoverInRange()||!this.endDate&&this.hoverRange&&p(null===(n=this.hoverRange)||void 0===n?void 0:n.end,this.startDate);return a("calcite-date-picker-day",{active:t,class:{"hover--inside-range":this.startDate&&c,"hover--outside-range":this.startDate&&!c,"focused--start":s,"focused--end":!s},currentMonth:r,day:e,disabled:!f(i,this.min,this.max),endOfRange:this.isEndOfRange(i),highlighted:this.betweenSelectedRange(i),key:i.toDateString(),localeData:this.localeData,onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!p(this.startDate,this.endDate),rangeHover:this.isRangeHover(i),ref:e=>{o&&t&&this.activeFocus&&(null==e||e.focus())},scale:this.scale,selected:this.isSelected(i),startOfRange:this.isStartOfRange(i),value:i})}isFocusedOnStart(){var t;return"start"===(null===(t=this.hoverRange)||void 0===t?void 0:t.focused)}isHoverInRange(){if(!this.hoverRange)return!1;const{start:t,end:e}=this.hoverRange;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||e<this.endDate)||this.isFocusedOnStart()&&this.startDate&&t>this.startDate)}isRangeHover(t){if(!this.hoverRange)return!1;const{start:e,end:a}=this.hoverRange,i=this.isFocusedOnStart(),r=this.isHoverInRange(),o=r&&(!i&&t>this.startDate&&(t<a||p(t,a))||i&&t<this.endDate&&(t>e||p(t,e))),n=!r&&(!i&&t>=this.endDate&&(t<a||p(t,a))||i&&(t<this.startDate||this.endDate&&p(t,this.startDate))&&(t>e||p(t,e)));return o||n}get el(){return r(this)}};A.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}.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}";const P=class{constructor(a){t(this,a),this.calciteDatePickerSelect=e(this,"calciteDatePickerSelect",6),this.onYearKey=t=>{const e=this.parseCalendarYear(t.target.value);switch(t.key){case"ArrowDown":t.preventDefault(),this.setYear({localizedYear:e,offset:-1});break;case"ArrowUp":t.preventDefault(),this.setYear({localizedYear:e,offset:1})}},this.onYearChange=t=>{this.setYear({localizedYear:this.parseCalendarYear(t.target.value)})},this.onYearInput=t=>{this.setYear({localizedYear:this.parseCalendarYear(t.target.value),commit:!1})},this.prevMonthClick=t=>{this.handleArrowClick(t,this.prevMonthDate)},this.prevMonthKeydown=t=>{const{key:e}=t;D(e)&&this.prevMonthClick(t)},this.nextMonthClick=t=>{this.handleArrowClick(t,this.nextMonthDate)},this.nextMonthKeydown=t=>{const{key:e}=t;D(e)&&this.nextMonthClick(t)},this.handleArrowClick=(t,e)=>{null==t||t.preventDefault(),t.stopPropagation(),this.calciteDatePickerSelect.emit(e)}}connectedCallback(){this.setNextPrevMonthDates()}render(){return a("div",{class:"header"},this.renderContent())}renderContent(){var t;if(!this.activeDate||!this.localeData)return null;const e=this.activeDate.getMonth(),{months:i,unitOrder:r}=this.localeData,n=(i.wide||i.narrow||i.abbreviated)[e],s=this.formatCalendarYear(this.activeDate.getFullYear().toString()),c="l"===this.scale?"m":"s",l=m(r),h=l.indexOf("y")<l.indexOf("m"),d=null===(t=this.localeData.year)||void 0===t?void 0:t.suffix;return a(o,null,a("a",{"aria-disabled":(this.prevMonthDate.getMonth()===e).toString(),"aria-label":this.intlPrevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===e?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-left",scale:c})),a("div",{class:{text:!0,"text--reverse":h}},a(z,{class:"month",level:this.headingLevel},n),a("span",{class:"year-wrap"},a("input",{"aria-label":this.intlYear,class:{year:!0,"year--suffix":!!d},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:t=>this.yearInput=t,type:"text",value:s}),d&&a("span",{class:"suffix"},a("span",{"aria-hidden":"true",class:"suffix__invisible"},s)," "+d))),a("a",{"aria-disabled":(this.nextMonthDate.getMonth()===e).toString(),"aria-label":this.intlNextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===e?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-right",scale:c})))}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=h(g(this.activeDate),this.min,this.max),this.prevMonthDate=h(w(this.activeDate),this.min,this.max))}formatCalendarYear(t){const{localeData:e}=this,a="buddhist"===e["default-calendar"]?543:0;return v(b(t,e)+a,e)}parseCalendarYear(t){const{localeData:e}=this,a="buddhist"===e["default-calendar"]?543:0;return v(b(t,e)-a,e)}getInRangeDate({localizedYear:t,offset:e=0}){const{min:a,max:i,activeDate:r,localeData:o}=this,n=b(t,o),s=n.toString().length,c=!isNaN(n)&&n+e,l=c&&(!a||a.getFullYear()<=c)&&(!i||i.getFullYear()>=c);if(c&&l&&s===t.length){const t=new Date(r);return t.setFullYear(c),h(t,a,i)}}setYear({localizedYear:t,commit:e=!0,offset:a=0}){const{yearInput:i,activeDate:r}=this,o=this.getInRangeDate({localizedYear:t,offset:a});o&&this.calciteDatePickerSelect.emit(o),e&&(i.value=this.formatCalendarYear((o||r).getFullYear().toString()))}get el(){return r(this)}static get watchers(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}}};P.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-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}";export{_ as calcite_date_picker,C as calcite_date_picker_day,A as calcite_date_picker_month,P as calcite_date_picker_month_header}
@@ -1,6 +0,0 @@
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,o){function c(t){try{s(n.next(t))}catch(t){o(t)}}function r(t){try{s(n["throw"](t))}catch(t){o(t)}}function s(t){t.done?i(t.value):a(t.value).then(c,r)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,c;return c={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function r(t){return function(e){return s([t,e])}}function s(c){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=c[0]&2?a["return"]:c[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,c[1])).done)return o;if(a=0,o)c=[c[0]&2,o.value];switch(c[0]){case 0:case 1:o=c;break;case 4:i.label++;return{value:c[1],done:false};case 5:i.label++;a=c[1];c=[0];continue;case 7:c=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(c[0]===6&&i.label<o[1]){i.label=o[1];o=c;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(c);break}if(o[2])i.ops.pop();i.trys.pop();continue}c=e.call(t,i)}catch(t){c=[6,t];a=0}finally{n=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[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-beta.91
6
- */System.register(["./p-c1839811.system.js","./p-5d7bc59a.system.js","./p-a75a3ac9.system.js","./p-9f7bc627.system.js","./p-94765679.system.js","./p-ad7f17d7.system.js","./p-46e3b866.system.js","./p-e28fc860.system.js"],(function(t){"use strict";var e,i,n,a,o,c,r,s,l,u,h,f,m,d,p;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;o=t.g},function(t){c=t.g},function(t){r=t.c;s=t.d;l=t.H},function(t){u=t.c;h=t.d;f=t.g},function(t){m=t.u},function(t){d=t.t},function(t){p=t.i},function(){}],execute:function(){var b="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !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([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;-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;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var k=t("calcite_checkbox",function(){function t(t){var n=this;e(this,t);this.calciteInternalCheckboxBlur=i(this,"calciteInternalCheckboxBlur",6);this.calciteCheckboxChange=i(this,"calciteCheckboxChange",6);this.calciteInternalCheckboxFocus=i(this,"calciteInternalCheckboxFocus",6);this.checked=false;this.disabled=false;this.hovered=false;this.indeterminate=false;this.required=false;this.scale="m";this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z";this.indeterminatePath="M13 8v1H3V8z";this.getPath=function(){return n.indeterminate?n.indeterminatePath:n.checked?n.checkedPath:""};this.toggle=function(){if(!n.disabled){n.checked=!n.checked;n.setFocus();n.indeterminate=false;n.calciteCheckboxChange.emit()}};this.keyDownHandler=function(t){if(p(t.key)){n.toggle();t.preventDefault()}};this.clickHandler=function(){n.toggle()};this.onToggleBlur=function(){n.calciteInternalCheckboxBlur.emit(false)};this.onToggleFocus=function(){n.calciteInternalCheckboxFocus.emit(true)};this.onLabelClick=function(){n.toggle()}}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.toggleEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.connectedCallback=function(){this.guid=this.el.id||"calcite-checkbox-".concat(c());u(this);r(this)};t.prototype.disconnectedCallback=function(){h(this);s(this)};t.prototype.componentDidRender=function(){m(this)};t.prototype.render=function(){var t=this;return n(a,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},n("div",{"aria-checked":d(this.checked),"aria-label":f(this),class:"toggle",onBlur:this.onToggleBlur,onFocus:this.onToggleFocus,ref:function(e){return t.toggleEl=e},role:"checkbox",tabIndex:this.disabled?undefined:0},n("svg",{class:"check-svg",viewBox:"0 0 16 16"},n("path",{d:this.getPath()})),n("slot",null)),n(l,{component:this}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());k.style=b}}}));
@@ -1,6 +0,0 @@
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-beta.91
5
- */
6
- import{r as t,c as i,h as a,H as e,g as o}from"./p-be00e22e.js";import{g as s}from"./p-a189654d.js";import{a as n,f as r,t as c}from"./p-02c2ce31.js";import{c as l,d,g as h}from"./p-59a5da8a.js";import{c as m,d as u,H as p}from"./p-16619b68.js";import{g as b}from"./p-57479f6c.js";import{u as f}from"./p-978e1777.js";import"./p-bb45b137.js";const w=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.focused=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const{key:i}=t,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let s=0;const r=o.length;switch(o.some(((t,i)=>{if(t.checked)return s=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(s-1,-1),r));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(s+1,r));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||r(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${s()}`,this.name&&this.checkLastRadioButton(),l(this),m(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){d(this),u(this)}componentDidRender(){f(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":c(this.checked),"aria-label":h(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};w.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-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:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);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;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::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{w as calcite_radio_button}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{s(a.next(t))}catch(t){o(t)}}function c(t){try{s(a["throw"](t))}catch(t){o(t)}}function s(t){t.done?i(t.value):n(t.value).then(r,c)}s((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,n,o,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(e){return s([t,e])}}function s(r){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(o=r[0]&2?n["return"]:r[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;if(n=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;n=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];n=0}finally{a=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-beta.91
6
- */System.register(["./p-c1839811.system.js","./p-5d7bc59a.system.js","./p-ad7f17d7.system.js","./p-9f7bc627.system.js","./p-a75a3ac9.system.js","./p-4a1c8d49.system.js","./p-94765679.system.js","./p-e28fc860.system.js"],(function(t){"use strict";var e,i,a,n,o,r,c,s,l,u,d,h,f,p,m,b,k;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;o=t.g},function(t){r=t.g},function(t){c=t.a;s=t.f;l=t.t},function(t){u=t.c;d=t.d;h=t.g},function(t){f=t.c;p=t.d;m=t.H},function(t){b=t.g},function(t){k=t.u},function(){}],execute:function(){var v={container:"container"};var w='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}: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:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);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;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';var y=t("calcite_radio_button",function(){function t(t){var a=this;e(this,t);this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6);this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6);this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6);this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6);this.checked=false;this.disabled=false;this.focused=false;this.hidden=false;this.hovered=false;this.required=false;this.scale="m";this.selectItem=function(t,e){t[e].click()};this.queryButtons=function(){return Array.from(a.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((function(t){return t.name===a.name}))};this.isDefaultSelectable=function(){var t=a.queryButtons();return!t.some((function(t){return t.checked}))&&t[0]===a.el};this.check=function(){if(a.disabled){return}a.uncheckAllRadioButtonsInGroup();a.checked=true;a.focused=true;a.calciteRadioButtonChange.emit();a.setFocus()};this.clickHandler=function(){a.check()};this.setContainerEl=function(t){a.containerEl=t};this.handleKeyDown=function(t){var e=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "];var i=t.key;var n=a.el;if(e.indexOf(i)===-1){return}if(i===" "){a.check();return}var o=i;if(c(n)==="rtl"){if(i==="ArrowRight"){o="ArrowLeft"}if(i==="ArrowLeft"){o="ArrowRight"}}var r=Array.from(a.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((function(t){return t.name===a.name}));var s=0;var l=r.length;r.some((function(t,e){if(t.checked){s=e;return true}}));switch(o){case"ArrowLeft":case"ArrowUp":t.preventDefault();a.selectItem(r,b(Math.max(s-1,-1),l));return;case"ArrowRight":case"ArrowDown":t.preventDefault();a.selectItem(r,b(s+1,l));return;default:return}};this.onContainerBlur=function(){a.focused=false;a.calciteInternalRadioButtonBlur.emit()};this.onContainerFocus=function(){if(!a.disabled){a.focused=true;a.calciteInternalRadioButtonFocus.emit()}}}t.prototype.checkedChanged=function(t){if(t){this.uncheckOtherRadioButtonsInGroup()}this.calciteInternalRadioButtonCheckedChange.emit()};t.prototype.nameChanged=function(){this.checkLastRadioButton()};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.disabled){s(this.containerEl)}return[2]}))}))};t.prototype.onLabelClick=function(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();var e=t.currentTarget;var i=e.for?this.rootNode.querySelector('calcite-radio-button[id="'.concat(e.for,'"]')):e.querySelector('calcite-radio-button[name="'.concat(this.name,'"]'));if(i){i.checked=true;i.focused=true}this.calciteRadioButtonChange.emit();this.setFocus()}};t.prototype.checkLastRadioButton=function(){var t=this.queryButtons();var e=t.filter((function(t){return t.checked}));if((e===null||e===void 0?void 0:e.length)>1){var i=e[e.length-1];e.filter((function(t){return t!==i})).forEach((function(t){t.checked=false;t.emitCheckedChange()}))}};t.prototype.emitCheckedChange=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.calciteInternalRadioButtonCheckedChange.emit();return[2]}))}))};t.prototype.uncheckAllRadioButtonsInGroup=function(){var t=this.queryButtons();t.forEach((function(t){if(t.checked){t.checked=false;t.focused=false}}))};t.prototype.uncheckOtherRadioButtonsInGroup=function(){var t=this;var e=this.queryButtons();var i=e.filter((function(e){return e.guid!==t.guid}));i.forEach((function(t){if(t.checked){t.checked=false;t.focused=false}}))};t.prototype.getTabIndex=function(){if(this.disabled){return undefined}return this.checked||this.isDefaultSelectable()?0:-1};t.prototype.mouseenter=function(){this.hovered=true};t.prototype.mouseleave=function(){this.hovered=false};t.prototype.connectedCallback=function(){this.rootNode=this.el.getRootNode();this.guid=this.el.id||"calcite-radio-button-".concat(r());if(this.name){this.checkLastRadioButton()}u(this);f(this)};t.prototype.componentDidLoad=function(){if(this.focused&&!this.disabled){this.setFocus()}};t.prototype.disconnectedCallback=function(){d(this);p(this)};t.prototype.componentDidRender=function(){k(this)};t.prototype.render=function(){var t=this.getTabIndex();return a(n,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":l(this.checked),"aria-label":h(this),class:v.container,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(m,{component:this}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{checked:["checkedChanged"],name:["nameChanged"]}},enumerable:false,configurable:true});return t}());y.style=w}}}));
@@ -1,6 +0,0 @@
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-beta.91
5
- */
6
- import{r as t,c as i,h as e,H as a,g as n}from"./p-be00e22e.js";import{g as s,s as o,d as r,a as l}from"./p-02c2ce31.js";import{c,d as h,g as d}from"./p-59a5da8a.js";import{s as u,c as m,d as p,H as b}from"./p-16619b68.js";import{T as f,C as x}from"./p-bb45b137.js";import{c as g}from"./p-b4e139fe.js";import{u as v}from"./p-978e1777.js";import"./p-a189654d.js";const k=class{constructor(e){t(this,e),this.calciteInternalInputTextFocus=i(this,"calciteInternalInputTextFocus",7),this.calciteInternalInputTextBlur=i(this,"calciteInternalInputTextBlur",7),this.calciteInputTextInput=i(this,"calciteInputTextInput",7),this.calciteInputTextChange=i(this,"calciteInputTextChange",7),this.alignment="start",this.autofocus=!1,this.clearable=!1,this.disabled=!1,this.hidden=!1,this.intlLoading=f.loading,this.iconFlipRtl=!1,this.loading=!1,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.editingEnabled=!1,this.value="",this.previousValueOrigin="initial",this.mutationObserver=g("mutation",(()=>this.setDisabledAction())),this.userChangedValue=!1,this.keyDownHandler=t=>{this.readOnly||this.disabled||(this.isClearable&&"Escape"===t.key&&(this.clearInputTextValue(t),t.preventDefault()),"Enter"!==t.key||t.defaultPrevented||u(this))},this.clearInputTextValue=t=>{this.setValue({committing:!0,nativeEvent:t,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedValue&&this.calciteInputTextChange.emit(),this.previousEmittedValue=this.value},this.inputTextBlurHandler=()=>{this.calciteInternalInputTextBlur.emit({element:this.childEl,value:this.value}),this.emitChangeIfUserModified()},this.inputTextFocusHandler=t=>{const i=s(this.el,"action");t.target!==i&&this.setFocus(),this.calciteInternalInputTextFocus.emit({element:this.childEl,value:this.value})},this.inputTextInputHandler=t=>{this.disabled||this.readOnly||this.setValue({nativeEvent:t,origin:"user",value:t.target.value})},this.inputTextKeyDownHandler=t=>{this.disabled||this.readOnly||"Enter"===t.key&&this.emitChangeIfUserModified()},this.setChildElRef=t=>{this.childEl=t},this.setInputValue=t=>{this.childEl&&(this.childEl.value=t)},this.setPreviousEmittedValue=t=>{this.previousEmittedValue=t},this.setPreviousValue=t=>{this.previousValue=t},this.setValue=({committing:t=!1,nativeEvent:i,origin:e,previousValue:a,value:n})=>{this.setPreviousValue(a||this.value),this.previousValueOrigin=e,this.userChangedValue="user"===e&&n!==this.value,this.value=n,"direct"===e&&this.setInputValue(n),i&&(this.calciteInputTextInput.emit({element:this.childEl,nativeEvent:i,value:this.value}).defaultPrevented?this.value=this.previousValue:t&&this.emitChangeIfUserModified())}}disabledWatcher(){this.setDisabledAction()}valueWatcher(t,i){this.userChangedValue||this.setValue({origin:"direct",previousValue:i,value:t||""}),this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=o({},this.icon,"text")}get isClearable(){return this.clearable&&this.value.length>0}connectedCallback(){var t;this.scale=r(this.el,"scale",this.scale),this.status=r(this.el,"status",this.status),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),this.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value),c(this),m(this),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0}),this.setDisabledAction()}disconnectedCallback(){var t;h(this),p(this),null===(t=this.mutationObserver)||void 0===t||t.disconnect()}componentWillLoad(){this.requestedIcon=o({},this.icon,"text")}componentDidRender(){v(this)}async setFocus(){var t;null===(t=this.childEl)||void 0===t||t.focus()}async selectText(){var t;null===(t=this.childEl)||void 0===t||t.select()}onLabelClick(){this.setFocus()}onFormReset(){this.setValue({origin:"reset",value:this.defaultValue})}syncHiddenFormInput(t){null!=this.minLength&&(t.minLength=this.minLength),null!=this.maxLength&&(t.maxLength=this.maxLength)}setDisabledAction(){const t=s(this.el,"action");t&&(this.disabled?t.setAttribute("disabled",""):t.removeAttribute("disabled"))}render(){const t=l(this.el),i=e("div",{class:"loader"},e("calcite-progress",{label:this.intlLoading,type:"indeterminate"})),n=e("button",{"aria-label":this.intlClear||"Clear value",class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputTextValue,tabIndex:this.disabled?-1:0,type:"button"},e("calcite-icon",{icon:"x",scale:"s"})),s=e("calcite-icon",{class:"icon",flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"s"}),o=e("div",{class:"prefix"},this.prefixText),r=e("div",{class:"suffix"},this.suffixText),c=e("input",{"aria-label":d(this),autofocus:!!this.autofocus||null,class:{"editing-enabled":this.editingEnabled,"inline-child":!!this.inlineEditableEl},defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.el.enterKeyHint,inputMode:this.el.inputMode,maxLength:this.maxLength,minLength:this.minLength,name:this.name,onBlur:this.inputTextBlurHandler,onFocus:this.inputTextFocusHandler,onInput:this.inputTextInputHandler,onKeyDown:this.inputTextKeyDownHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,ref:this.setChildElRef,required:!!this.required||null,tabIndex:this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null,type:"text",value:this.value});return e(a,{onClick:this.inputTextFocusHandler,onKeyDown:this.keyDownHandler},e("div",{class:{wrapper:!0,[x.rtl]:"rtl"===t}},this.prefixText?o:null,e("div",{class:"element-wrapper"},c,this.isClearable?n:null,this.requestedIcon?s:null,this.loading?i:null),e("div",{class:"action-wrapper"},e("slot",{name:"action"})),this.suffixText?r:null,e(b,{component:this})))}get el(){return n(this)}static get watchers(){return{disabled:["disabledWatcher"],value:["valueWatcher"],icon:["updateRequestedIcon"]}}};k.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !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:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}input{-webkit-transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;-ms-flex:1 1 0%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}:host input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input:-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}input{outline-color:transparent}input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3rem;padding-inline-start:3rem}.element-wrapper{position:relative;-ms-flex-order:3;order:3;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center}.icon{pointer-events:none;position:absolute;display:block;-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}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}.clear-button{pointer-events:initial;-ms-flex-order:4;order:4;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;min-block-size:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-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}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-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}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{-ms-flex-order:7;order:7;display:-ms-flexbox;display:flex}.prefix,.suffix{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{-ms-flex-order:2;order:2;border-inline-end-width:0px}.suffix{-ms-flex-order:5;order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.resize-icon-wrapper{inset-block-end:2px;inset-inline-end:2px;pointer-events:none;position:absolute;block-size:0.75rem;inline-size:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}.resize-icon-wrapper calcite-icon{inset-block-end:0.25rem;inset-inline-end:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-ui-border-1)}.inline-child{background-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-child .editing-enabled{background-color:inherit}.inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{k as calcite_input_text}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(a,t,e,i){function n(a){return a instanceof e?a:new e((function(t){t(a)}))}return new(e||(e=Promise))((function(e,r){function l(a){try{o(i.next(a))}catch(a){r(a)}}function s(a){try{o(i["throw"](a))}catch(a){r(a)}}function o(a){a.done?e(a.value):n(a.value).then(l,s)}o((i=i.apply(a,t||[])).next())}))};var __generator=this&&this.__generator||function(a,t){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,n,r,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(a){return function(t){return o([a,t])}}function o(l){if(i)throw new TypeError("Generator is already executing.");while(e)try{if(i=1,n&&(r=l[0]&2?n["return"]:l[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,l[1])).done)return r;if(n=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:e.label++;return{value:l[1],done:false};case 5:e.label++;n=l[1];l=[0];continue;case 7:l=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){e=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){e.label=l[1];break}if(l[0]===6&&e.label<r[1]){e.label=r[1];r=l;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(l);break}if(r[2])e.ops.pop();e.trys.pop();continue}l=t.call(a,e)}catch(a){l=[6,a];n=0}finally{i=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[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-beta.91
6
- */System.register(["./p-c1839811.system.js","./p-5d7bc59a.system.js","./p-e9e89c12.system.js","./p-ad7f17d7.system.js","./p-af58a18b.system.js","./p-9f7bc627.system.js","./p-a75a3ac9.system.js","./p-94765679.system.js","./p-46e3b866.system.js","./p-e28fc860.system.js"],(function(a){"use strict";var t,e,i,n,r,l,s,o,c,h,u,d,m,b,p,f,v,g,x;return{setters:[function(a){t=a.r;e=a.f;i=a.h;n=a.g;r=a.c;l=a.H},function(a){s=a.g},function(a){o=a.c},function(a){c=a.h},function(a){h=a.d;u=a.c},function(a){d=a.c;m=a.d},function(a){b=a.c;p=a.d;f=a.a;v=a.H},function(a){g=a.u},function(a){x=a.i},function(){}],execute:function(){function y(a,t,e){var i=t[0]-a[0];var n=e[0]-t[0];var r=t[1]-a[1];var l=e[1]-t[1];var s=r/(i||n<0&&0);var o=l/(n||i<0&&0);var c=(s*n+o*i)/(i+n);return(Math.sign(s)+Math.sign(o))*Math.min(Math.abs(s),Math.abs(o),.5*Math.abs(c))||0}function k(a,t,e){var i=t[0]-a[0];var n=t[1]-a[1];return i?(3*n/i-e)/2:e}function _(a,t,e,i,n){var r=a[0],l=a[1];var s=t[0],o=t[1];var c=(s-r)/3;var h=n([r+c,l+c*e]).join(",");var u=n([s-c,o-c*i]).join(",");var d=n([s,o]).join(",");return"C ".concat(h," ").concat(u," ").concat(d)}function w(a){var t=a.width,e=a.height,i=a.min,n=a.max;var r=n[0]-i[0];var l=n[1]-i[1];return function(a){var n=(a[0]-i[0])/r*t;var s=e-a[1]/l*e;return[n,s]}}function V(a){var t=a[0],e=t[0],i=t[1];var n=[e,i];var r=[e,i];return a.reduce((function(a,t){var e=a.min,i=a.max;var n=t[0],r=t[1];return{min:[Math.min(e[0],n),Math.min(e[1],r)],max:[Math.max(i[0],n),Math.max(i[1],r)]}}),{min:n,max:r})}function H(a){var t=a.data,e=a.min,i=a.max,n=a.t;if(t.length===0){return""}var r=n(t[0]),l=r[0],s=r[1];var o=n(e),c=o[0],h=o[1];var u=n(i)[0];var d;var m;var b;var p=t.reduce((function(a,e,i){m=t[i-2];b=t[i-1];if(i>1){var r=y(m,b,e);var l=d===undefined?k(m,b,r):d;var s=_(m,b,l,r,n);d=r;return"".concat(a," ").concat(s)}return a}),"M ".concat(c,",").concat(h," L ").concat(c,",").concat(s," L ").concat(l,",").concat(s));var f=t[t.length-1];var v=_(b,f,d,k(b,f,d),n);return"".concat(p," ").concat(v," L ").concat(u,",").concat(h," Z")}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{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;block-size:100%;inline-size:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";var L=a("calcite_graph",function(){function a(a){var i=this;t(this,a);this.data=[];this.graphId="calcite-graph-".concat(s());this.resizeObserver=o("resize",(function(){return e(i)}))}a.prototype.connectedCallback=function(){var a;(a=this.resizeObserver)===null||a===void 0?void 0:a.observe(this.el)};a.prototype.disconnectedCallback=function(){var a;(a=this.resizeObserver)===null||a===void 0?void 0:a.disconnect()};a.prototype.render=function(){var a=this,t=a.data,e=a.colorStops,n=a.el,r=a.highlightMax,l=a.highlightMin,s=a.min,o=a.max;var c=this.graphId;var h=n.clientHeight,u=n.clientWidth;if(!t||t.length===0){return i("svg",{class:"svg",height:h,preserveAspectRatio:"none",viewBox:"0 0 ".concat(u," ").concat(h),width:u})}var d=V(t),m=d.min,b=d.max;var p=m;var f=b;if(s<m[0]||s>m[0]){p=[s,0]}if(o>b[0]||o<b[0]){f=[o,b[1]]}var v=w({min:p,max:f,width:u,height:h});var g=v([l,f[1]])[0];var x=v([r,f[1]])[0];var y=H({data:t,min:m,max:b,t:v});var k=e?"url(#linear-gradient-".concat(c,")"):undefined;return i("svg",{class:"svg",height:h,preserveAspectRatio:"none",viewBox:"0 0 ".concat(u," ").concat(h),width:u},e?i("defs",null,i("linearGradient",{id:"linear-gradient-".concat(c),x1:"0",x2:"1",y1:"0",y2:"0"},e.map((function(a){var t=a.offset,e=a.color,n=a.opacity;return i("stop",{offset:"".concat(t*100,"%"),"stop-color":e,"stop-opacity":n})})))):null,l!==undefined?[i("mask",{height:"100%",id:"".concat(c,"1"),width:"100%",x:"0%",y:"0%"},i("path",{d:"\n M 0,0\n L ".concat(g-1,",0\n L ").concat(g-1,",").concat(h,"\n L 0,").concat(h,"\n Z\n "),fill:"white"})),i("mask",{height:"100%",id:"".concat(c,"2"),width:"100%",x:"0%",y:"0%"},i("path",{d:"\n M ".concat(g+1,",0\n L ").concat(x-1,",0\n L ").concat(x-1,",").concat(h,"\n L ").concat(g+1,", ").concat(h,"\n Z\n "),fill:"white"})),i("mask",{height:"100%",id:"".concat(c,"3"),width:"100%",x:"0%",y:"0%"},i("path",{d:"\n M ".concat(x+1,",0\n L ").concat(u,",0\n L ").concat(u,",").concat(h,"\n L ").concat(x+1,", ").concat(h,"\n Z\n "),fill:"white"})),i("path",{class:"graph-path",d:y,fill:k,mask:"url(#".concat(c,"1)")}),i("path",{class:"graph-path--highlight",d:y,fill:k,mask:"url(#".concat(c,"2)")}),i("path",{class:"graph-path",d:y,fill:k,mask:"url(#".concat(c,"3)")})]:i("path",{class:"graph-path",d:y,fill:k}))};Object.defineProperty(a.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return a}());L.style=D;var P='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !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)}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * 0.5);padding-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-inline:0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:-ms-flexbox;display:flex}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{-webkit-margin-before:0.5em;margin-block-start:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{-webkit-margin-after:0.5em;margin-block-end:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:0.25rem;inline-size:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);inset-block-start:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;-webkit-margin-before:0.875rem;margin-block-start:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);block-size:48px}:host([label-ticks][ticks]) .container{-webkit-padding-after:calc(0.875rem + var(--calcite-slider-container-font-size));padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{-webkit-padding-after:calc(var(--calcite-slider-full-handle-height) + 1em);padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{-webkit-padding-after:calc(var(--calcite-slider-handle-size) * 0.5 + 1em);padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{-webkit-padding-after:var(--calcite-slider-full-handle-height);padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{-webkit-padding-before:var(--calcite-slider-full-handle-height);padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{-webkit-padding-after:var(--calcite-slider-full-handle-height);padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{-webkit-padding-before:calc(var(--calcite-slider-full-handle-height) + 4px);padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{-webkit-padding-before:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px);padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{-webkit-padding-after:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px);padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::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}';function M(a){return Array.isArray(a)}var S=a("calcite_slider",function(){function a(a){var e=this;t(this,a);this.calciteSliderInput=r(this,"calciteSliderInput",6);this.calciteSliderChange=r(this,"calciteSliderChange",6);this.calciteSliderUpdate=r(this,"calciteSliderUpdate",6);this.disabled=false;this.hasHistogram=false;this.labelHandles=false;this.labelTicks=false;this.max=100;this.min=0;this.mirrored=false;this.precise=false;this.required=false;this.snap=false;this.step=1;this.value=0;this.scale="m";this.guid="calcite-slider-".concat(s());this.activeProp="value";this.minMaxValueRange=null;this.minValueDragRange=null;this.maxValueDragRange=null;this.tickValues=[];this.dragUpdate=function(a){a.preventDefault();if(e.dragProp){var t=e.translate(a.clientX||a.pageX);if(M(e.value)&&e.dragProp==="minMaxValue"){if(e.minValueDragRange&&e.maxValueDragRange&&e.minMaxValueRange){var i=t-e.minValueDragRange;var n=t+e.maxValueDragRange;if(n<=e.max&&i>=e.min&&n-i===e.minMaxValueRange){e.minValue=e.clamp(i,"minValue");e.maxValue=e.clamp(n,"maxValue")}}else{e.minValueDragRange=t-e.minValue;e.maxValueDragRange=e.maxValue-t;e.minMaxValueRange=e.maxValue-e.minValue}}else{e.setValue(e.dragProp,e.clamp(t,e.dragProp))}}};this.dragEnd=function(a){e.removeDragListeners();e.focusActiveHandle(a.clientX);if(e.lastDragPropValue!=e[e.dragProp]){e.emitChange()}e.dragProp=null;e.lastDragPropValue=null;e.minValueDragRange=null;e.maxValueDragRange=null;e.minMaxValueRange=null};this.storeTrackRef=function(a){e.trackEl=a}}a.prototype.histogramWatcher=function(a){this.hasHistogram=!!a};a.prototype.valueHandler=function(){this.setMinMaxFromValue()};a.prototype.minMaxValueHandler=function(){this.setValueFromMinMax()};a.prototype.connectedCallback=function(){this.setMinMaxFromValue();this.setValueFromMinMax();d(this);b(this)};a.prototype.disconnectedCallback=function(){m(this);p(this);this.removeDragListeners()};a.prototype.componentWillLoad=function(){this.tickValues=this.generateTickValues();if(!M(this.value)){this.value=this.clamp(this.value)}f(this,this.value);if(this.snap&&!M(this.value)){this.value=this.getClosestStep(this.value)}if(this.histogram){this.hasHistogram=true}};a.prototype.componentDidRender=function(){if(this.labelHandles){this.adjustHostObscuredHandleLabel("value");if(M(this.value)){this.adjustHostObscuredHandleLabel("minValue");if(!(this.precise&&!this.hasHistogram)){this.hyphenateCollidingRangeHandleLabels()}}}this.hideObscuredBoundingTickLabels();g(this)};a.prototype.render=function(){var a;var t=this;var e=this.el.id||this.guid;var n=M(this.value)?"maxValue":"value";var r=M(this.value)?this.maxValue:this.value;var s=this.minValue||this.min;var o=this.shouldUseMinValue();var c=this.getUnitInterval(o?this.minValue:s)*100;var h=this.getUnitInterval(r)*100;var u=this.shouldMirror();var d="".concat(u?100-c:c,"%");var m="".concat(u?h:100-h,"%");var b=M(this.value);var p=i("div",{"aria-disabled":this.disabled,"aria-label":b?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle"}));var f=i("div",{"aria-disabled":this.disabled,"aria-label":b?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:m},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},r?r.toLocaleString():r),i("div",{class:"handle"}));var g=i("div",{"aria-disabled":this.disabled,"aria-label":b?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},r?r.toLocaleString():r));var x=i("div",{"aria-disabled":this.disabled,"aria-label":b?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n,"thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle"}),i("div",{class:"handle-extension"}));var y=i("div",{"aria-disabled":this.disabled,"aria-label":b?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n,"thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}));var k=i("div",{"aria-disabled":this.disabled,"aria-label":b?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n,"thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:m},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},r?r.toLocaleString():r),i("div",{class:"handle"}),i("div",{class:"handle-extension"}));var _=i("div",{"aria-disabled":this.disabled,"aria-label":b?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":r,class:{thumb:true,"thumb--value":true,"thumb--active":this.lastDragProp!=="minMaxValue"&&this.dragProp===n,"thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp=n},onPointerDown:function(){return t.dragStart(n)},ref:function(a){return t.maxHandle=a},role:"slider",style:{right:m},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value static"},r?r.toLocaleString():r),i("span",{"aria-hidden":"true",class:"handle__label handle__label--value transformed"},r?r.toLocaleString():r));var w=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue"},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:d},tabIndex:0},i("div",{class:"handle"}));var V=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue"},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:d},tabIndex:0},i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()),i("div",{class:"handle"}));var H=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue"},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:d},tabIndex:0},i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()));var D=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue","thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:d},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}));var L=i("div",{"aria-disabled":this.disabled,"aria-label":this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.minValue,class:{thumb:true,"thumb--minValue":true,"thumb--active":this.dragProp==="minValue","thumb--precise":true},onBlur:function(){return t.activeProp=null},onFocus:function(){return t.activeProp="minValue"},onPointerDown:function(){return t.dragStart("minValue")},ref:function(a){return t.minHandle=a},role:"slider",style:{left:d},tabIndex:0},i("div",{class:"handle-extension"}),i("div",{class:"handle"}),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue static"},this.minValue&&this.minValue.toLocaleString()),i("span",{"aria-hidden":"true",class:"handle__label handle__label--minValue transformed"},this.minValue&&this.minValue.toLocaleString()));return i(l,{id:e,onTouchStart:this.handleTouchStart},i("div",{class:(a={},a["container"]=true,a["container--range"]=b,a["scale--".concat(this.scale)]=true,a)},this.renderGraph(),i("div",{class:"track",ref:this.storeTrackRef},i("div",{class:"track__range",onPointerDown:function(){return t.dragStart("minMaxValue")},style:{left:"".concat(u?100-h:c,"%"),right:"".concat(u?c:100-h,"%")}}),i("div",{class:"ticks"},this.tickValues.map((function(a){var e="".concat(t.getUnitInterval(a)*100,"%");var n=a>=s&&a<=r;if(o){n=a>=t.minValue&&a<=t.maxValue}return i("span",{class:{tick:true,"tick--active":n},style:{left:u?"":e,right:u?e:""}},t.renderTickLabel(a))})))),i("div",{class:"thumb-container"},!this.precise&&!this.labelHandles&&b&&w,!this.hasHistogram&&!this.precise&&this.labelHandles&&b&&V,this.precise&&!this.labelHandles&&b&&D,this.precise&&this.labelHandles&&b&&L,this.hasHistogram&&!this.precise&&this.labelHandles&&b&&H,!this.precise&&!this.labelHandles&&p,!this.hasHistogram&&!this.precise&&this.labelHandles&&f,!this.hasHistogram&&this.precise&&!this.labelHandles&&x,this.hasHistogram&&this.precise&&!this.labelHandles&&y,!this.hasHistogram&&this.precise&&this.labelHandles&&k,this.hasHistogram&&!this.precise&&this.labelHandles&&g,this.hasHistogram&&this.precise&&this.labelHandles&&_,i(v,{component:this}))))};a.prototype.renderGraph=function(){return this.histogram?i("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:M(this.value)?this.maxValue:this.value,highlightMin:M(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null};a.prototype.renderTickLabel=function(a){var t=M(this.value);var e=a===this.min;var n=a===this.max;var r=i("span",{class:{tick__label:true,"tick__label--min":e,"tick__label--max":n}},a.toLocaleString());if(this.labelTicks&&!this.hasHistogram&&!t){return r}if(this.labelTicks&&!this.hasHistogram&&t&&!this.precise&&!this.labelHandles){return r}if(this.labelTicks&&!this.hasHistogram&&t&&!this.precise&&this.labelHandles){return r}if(this.labelTicks&&!this.hasHistogram&&t&&this.precise&&(e||n)){return r}if(this.labelTicks&&this.hasHistogram&&!this.precise&&!this.labelHandles){return r}if(this.labelTicks&&this.hasHistogram&&this.precise&&!this.labelHandles&&(e||n)){return r}if(this.labelTicks&&this.hasHistogram&&!this.precise&&this.labelHandles&&(e||n)){return r}if(this.labelTicks&&this.hasHistogram&&this.precise&&this.labelHandles&&(e||n)){return r}return null};a.prototype.keyDownHandler=function(a){var t=this.shouldMirror();var e=this,i=e.activeProp,n=e.max,r=e.min,l=e.pageStep,s=e.step;var o=this[i];var c=a.key;if(x(c)){a.preventDefault();return}var u;if(c==="ArrowUp"||c==="ArrowRight"){var d=t&&c==="ArrowRight"?-1:1;u=o+s*d}else if(c==="ArrowDown"||c==="ArrowLeft"){var d=t&&c==="ArrowLeft"?-1:1;u=o-s*d}else if(c==="PageUp"){if(l){u=o+l}}else if(c==="PageDown"){if(l){u=o-l}}else if(c==="Home"){u=r}else if(c==="End"){u=n}if(isNaN(u)){return}a.preventDefault();var m=Number(u.toFixed(h(s)));this.setValue(i,this.clamp(m,i))};a.prototype.pointerDownHandler=function(a){var t=a.clientX||a.pageX;this.focusActiveHandle(t);var e=this.translate(t);var i="value";if(M(this.value)){var n=e>=this.minValue&&e<=this.maxValue;if(n&&this.lastDragProp==="minMaxValue"){i="minMaxValue"}else{var r=Math.abs(this.maxValue-e)<Math.abs(this.minValue-e);i=r||e>this.maxValue?"maxValue":"minValue"}}this.lastDragPropValue=this[i];this.dragStart(i);var l=this.el.shadowRoot.querySelector(".thumb:active");if(!l){this.setValue(i,this.clamp(e,i))}};a.prototype.handleTouchStart=function(a){a.preventDefault()};a.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var a;return __generator(this,(function(t){a=this.minHandle?this.minHandle:this.maxHandle;a===null||a===void 0?void 0:a.focus();return[2]}))}))};a.prototype.setValueFromMinMax=function(){var a=this,t=a.minValue,e=a.maxValue;if(typeof t==="number"&&typeof e==="number"){this.value=[t,e]}};a.prototype.setMinMaxFromValue=function(){var a=this.value;if(M(a)){this.minValue=a[0];this.maxValue=a[1]}};a.prototype.onLabelClick=function(){this.setFocus()};a.prototype.shouldMirror=function(){return this.mirrored&&!this.hasHistogram};a.prototype.shouldUseMinValue=function(){if(!M(this.value)){return false}return this.hasHistogram&&this.maxValue===0||!this.hasHistogram&&this.minValue===0};a.prototype.generateTickValues=function(){var a=[];var t=this.min;while(this.ticks&&t<this.max+this.ticks){a.push(Math.min(t,this.max));t=t+this.ticks}return a};a.prototype.dragStart=function(a){this.dragProp=a;this.lastDragProp=this.dragProp;this.activeProp=a;document.addEventListener("pointermove",this.dragUpdate);document.addEventListener("pointerup",this.dragEnd);document.addEventListener("pointercancel",this.dragEnd)};a.prototype.focusActiveHandle=function(a){switch(this.dragProp){case"minValue":this.minHandle.focus();break;case"maxValue":this.maxHandle.focus();break;case"minMaxValue":this.getClosestHandle(a).focus();break}};a.prototype.emitInput=function(){this.calciteSliderInput.emit();this.calciteSliderUpdate.emit()};a.prototype.emitChange=function(){this.calciteSliderChange.emit()};a.prototype.removeDragListeners=function(){document.removeEventListener("pointermove",this.dragUpdate);document.removeEventListener("pointerup",this.dragEnd);document.removeEventListener("pointercancel",this.dragEnd)};a.prototype.setValue=function(a,t){var e=this[a];var i=e!==t;if(!i){return}this[a]=t;var n=this.dragProp;if(!n){this.emitChange()}this.emitInput()};a.prototype.clamp=function(a,t){a=u(a,this.min,this.max);if(t==="maxValue"){a=Math.max(a,this.minValue)}if(t==="minValue"){a=Math.min(a,this.maxValue)}return a};a.prototype.translate=function(a){var t=this.max-this.min;var e=this.trackEl.getBoundingClientRect(),i=e.left,n=e.width;var r=(a-i)/n;var l=this.shouldMirror();var s=this.clamp(this.min+t*(l?1-r:r));var o=Number(s.toFixed(h(this.step)));if(this.snap&&this.step){o=this.getClosestStep(o)}return o};a.prototype.getClosestStep=function(a){a=Number(this.clamp(a).toFixed(h(this.step)));if(this.step){var t=Math.round(a/this.step)*this.step;a=Number(this.clamp(t).toFixed(h(this.step)))}return a};a.prototype.getClosestHandle=function(a){return this.getDistanceX(this.maxHandle,a)>this.getDistanceX(this.minHandle,a)?this.minHandle:this.maxHandle};a.prototype.getDistanceX=function(a,t){return Math.abs(a.getBoundingClientRect().left-t)};a.prototype.getFontSizeForElement=function(a){return Number(window.getComputedStyle(a).getPropertyValue("font-size").match(/\d+/)[0])};a.prototype.getUnitInterval=function(a){a=this.clamp(a);var t=this.max-this.min;return(a-this.min)/t};a.prototype.adjustHostObscuredHandleLabel=function(a){var t=this.el.shadowRoot.querySelector(".handle__label--".concat(a));var e=this.el.shadowRoot.querySelector(".handle__label--".concat(a,".static"));var i=this.el.shadowRoot.querySelector(".handle__label--".concat(a,".transformed"));var n=e.getBoundingClientRect();var r=this.getHostOffset(n.left,n.right);t.style.transform="translateX(".concat(r,"px)");i.style.transform="translateX(".concat(r,"px)")};a.prototype.hyphenateCollidingRangeHandleLabels=function(){var a=this.el.shadowRoot;var t=this.shouldMirror();var e=t?"value":"minValue";var i=t?"minValue":"value";var n=a.querySelector(".handle__label--".concat(e));var r=a.querySelector(".handle__label--".concat(e,".static"));var l=a.querySelector(".handle__label--".concat(e,".transformed"));var s=this.getHostOffset(r.getBoundingClientRect().left,r.getBoundingClientRect().right);var o=a.querySelector(".handle__label--".concat(i));var c=a.querySelector(".handle__label--".concat(i,".static"));var h=a.querySelector(".handle__label--".concat(i,".transformed"));var u=this.getHostOffset(c.getBoundingClientRect().left,c.getBoundingClientRect().right);var d=this.getFontSizeForElement(n);var m=this.getRangeLabelOverlap(l,h);var b=n;var p=d/2;if(m>0){b.classList.add("hyphen","hyphen--wrap");if(u===0&&s===0){var f=m/2-p;f=Math.sign(f)===-1?Math.abs(f):-f;var v=this.getHostOffset(l.getBoundingClientRect().left+f-p,l.getBoundingClientRect().right+f-p);var g=m/2;var x=this.getHostOffset(h.getBoundingClientRect().left+g,h.getBoundingClientRect().right+g);if(v!==0){f+=v;g+=v}if(x!==0){f+=x;g+=x}n.style.transform="translateX(".concat(f,"px)");l.style.transform="translateX(".concat(f-p,"px)");o.style.transform="translateX(".concat(g,"px)");h.style.transform="translateX(".concat(g,"px)")}else if(s>0||u>0){n.style.transform="translateX(".concat(s+p,"px)");o.style.transform="translateX(".concat(m+u,"px)");h.style.transform="translateX(".concat(m+u,"px)")}else if(s<0||u<0){var f=Math.abs(s)+m-p;f=Math.sign(f)===-1?Math.abs(f):-f;n.style.transform="translateX(".concat(f,"px)");l.style.transform="translateX(".concat(f-p,"px)")}}else{b.classList.remove("hyphen","hyphen--wrap");n.style.transform="translateX(".concat(s,"px)");l.style.transform="translateX(".concat(s,"px)");o.style.transform="translateX(".concat(u,"px)");h.style.transform="translateX(".concat(u,"px)")}};a.prototype.hideObscuredBoundingTickLabels=function(){var a=M(this.value);if(!this.hasHistogram&&!a&&!this.labelHandles&&!this.precise){return}if(!this.hasHistogram&&!a&&this.labelHandles&&!this.precise){return}if(!this.hasHistogram&&!a&&!this.labelHandles&&this.precise){return}if(!this.hasHistogram&&!a&&this.labelHandles&&this.precise){return}if(!this.hasHistogram&&a&&!this.precise){return}if(this.hasHistogram&&!this.precise&&!this.labelHandles){return}var t=this.el.shadowRoot.querySelector(".thumb--minValue");var e=this.el.shadowRoot.querySelector(".thumb--value");var i=this.el.shadowRoot.querySelector(".tick__label--min");var n=this.el.shadowRoot.querySelector(".tick__label--max");if(!t&&e&&i&&n){i.style.opacity=this.isMinTickLabelObscured(i,e)?"0":"1";n.style.opacity=this.isMaxTickLabelObscured(n,e)?"0":"1"}if(t&&e&&i&&n){i.style.opacity=this.isMinTickLabelObscured(i,t)||this.isMinTickLabelObscured(i,e)?"0":"1";n.style.opacity=this.isMaxTickLabelObscured(n,t)||this.isMaxTickLabelObscured(n,e)&&this.hasHistogram?"0":"1"}};a.prototype.getHostOffset=function(a,t){var e=this.el.getBoundingClientRect();var i=7;if(a+i<e.left){return e.left-a-i}if(t-i>e.right){return-(t-e.right)+i}return 0};a.prototype.getRangeLabelOverlap=function(a,t){var e=a.getBoundingClientRect();var i=t.getBoundingClientRect();var n=this.getFontSizeForElement(a);var r=e.right+n-i.left;return Math.max(r,0)};a.prototype.isMinTickLabelObscured=function(a,t){var e=a.getBoundingClientRect();var i=t.getBoundingClientRect();return c(e,i)};a.prototype.isMaxTickLabelObscured=function(a,t){var e=a.getBoundingClientRect();var i=t.getBoundingClientRect();return c(e,i)};Object.defineProperty(a.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{histogram:["histogramWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}},enumerable:false,configurable:true});return a}());S.style=P}}}));
@@ -1,6 +0,0 @@
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-beta.91
5
- */
6
- import{d as e,a as t}from"./p-bb45b137.js";const r=Function("try {return this===window;}catch(e){ return false;}"),n=function(){r()&&function(){const{classList:r}=document.body,n=window.matchMedia("(prefers-color-scheme: dark)").matches,s=()=>r.contains(e)||r.contains(t)&&n?"dark":"light",o=e=>document.body.dispatchEvent(new CustomEvent("calciteThemeChange",{bubbles:!0,detail:{theme:e}})),a=e=>{c!==e&&o(e),c=e};let c=s();o(c),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>a(e.matches?"dark":"light"))),new MutationObserver((()=>a(s()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}()};export{n as g}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,n,i,e){function a(t){return t instanceof i?t:new i((function(n){n(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{l(e.next(t))}catch(t){o(t)}}function s(t){try{l(e["throw"](t))}catch(t){o(t)}}function l(t){t.done?i(t.value):a(t.value).then(r,s)}l((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,a,o,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(n){return l([t,n])}}function l(r){if(e)throw new TypeError("Generator is already executing.");while(i)try{if(e=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:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=n.call(t,i)}catch(t){r=[6,t];a=0}finally{e=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-beta.91
6
- */System.register(["./p-c1839811.system.js","./p-ad7f17d7.system.js","./p-e28fc860.system.js","./p-94765679.system.js","./p-5d7bc59a.system.js"],(function(t){"use strict";var n,i,e,a,o,r,s,l;return{setters:[function(t){n=t.r;i=t.h;e=t.H;a=t.g},function(t){o=t.a;r=t.f},function(t){s=t.C},function(t){l=t.u},function(){}],execute:function(){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:inline}:host a,:host span{position:relative;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0px;border-style:none;font-family:inherit;-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;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:text-top;-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;-webkit-margin-before:0.125rem;margin-block-start:0.125rem}:host .calcite-link--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host .calcite-link--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0px;color:var(--calcite-ui-text-link);-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;line-height:inherit;white-space:initial;background-image:-webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor)), -webkit-gradient(linear, left top, left bottom, from(var(--calcite-link-blue-underline)), to(var(--calcite-link-blue-underline)));background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-link-blue-underline), var(--calcite-link-blue-underline));background-position:0% 100%, 100% 100%;background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%, 100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";var u=t("calcite_link",function(){function t(t){var i=this;n(this,t);this.disabled=false;this.download=false;this.storeTagRef=function(t){i.childEl=t}}t.prototype.componentDidRender=function(){l(this)};t.prototype.render=function(){var t;var n=this,a=n.download,r=n.el;var l=o(r);var c=this.href?"a":"span";var u=i("calcite-icon",{class:"calcite-link--icon icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var f=i("calcite-icon",{class:"calcite-link--icon icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});var m=c;var p=c==="span"?"link":null;var d=c==="span"?0:null;return i(e,{role:"presentation"},i(m,{class:(t={},t[s.rtl]=l==="rtl",t),download:m==="a"&&(a===""||a)?a:null,href:m==="a"&&this.href,ref:this.storeTagRef,rel:m==="a"&&this.rel,role:p,tabIndex:d,target:m==="a"&&this.target},this.iconStart?u:null,i("slot",null),this.iconEnd?f:null))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){r(this.childEl);return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());u.style=c}}}));
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function o(t){try{s(a.next(t))}catch(t){r(t)}}function c(t){try{s(a["throw"](t))}catch(t){r(t)}}function s(t){t.done?i(t.value):n(t.value).then(o,c)}s((a=a.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:[]},a,n,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(e){return s([t,e])}}function s(o){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=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++;n=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];n=0}finally{a=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-beta.91
6
- */System.register(["./p-c1839811.system.js","./p-25133c26.system.js","./p-e9e89c12.system.js","./p-94765679.system.js","./p-ad7f17d7.system.js","./p-009b9bcf.system.js","./p-23e60c37.system.js","./p-4a1c8d49.system.js","./p-f5490b0d.system.js","./p-e28fc860.system.js","./p-5d7bc59a.system.js"],(function(t){"use strict";var e,i,a,n,r,o,c,s,l,m,d,f,p,u,h,b,y,w,g,k,v,x,D,_,I,C,z,L,H,j,P,F,S,E,R,W,V,A;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.g;r=t.F},function(t){o=t.m;c=t.d;s=t.a;l=t.s;m=t.h;d=t.b;f=t.k;p=t.i;u=t.e;h=t.f;b=t.r;y=t.l;w=t.n;g=t.j;k=t.o;v=t.p;x=t.I;D=t.L;_=t.q;I=t.t;C=t.H;z=t.T;L=t.u;H=t.C;j=t.S},function(t){P=t.c},function(t){F=t.u},function(t){S=t.g;E=t.t},function(t){R=t.H;W=t.c},function(t){V=t.c;A=t.d},function(){},function(){},function(){},function(){}],execute:function(){var O="@-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{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:end;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:-webkit-sticky;position:sticky;inset-block-start:0px;z-index:1}calcite-filter{-webkit-margin-after:0px;margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}";var K=t("calcite_pick_list",function(){function t(t){var a=this;e(this,t);this.calciteListChange=i(this,"calciteListChange",6);this.disabled=false;this.filterEnabled=false;this.loading=false;this.multiple=false;this.selectionFollowsFocus=false;this.selectedValues=new Map;this.dataForFilter=[];this.lastSelectedItem=null;this.mutationObserver=P("mutation",o.bind(this));this.setFilterEl=function(t){a.filterEl=t};this.deselectRemovedItems=c.bind(this);this.deselectSiblingItems=s.bind(this);this.selectSiblings=l.bind(this);this.handleFilter=m.bind(this);this.getItemData=d.bind(this);this.keyDownHandler=f.bind(this)}t.prototype.connectedCallback=function(){p.call(this);u.call(this)};t.prototype.disconnectedCallback=function(){h.call(this)};t.prototype.componentDidRender=function(){F(this)};t.prototype.calciteListItemRemoveHandler=function(t){b.call(this,t)};t.prototype.calciteListItemChangeHandler=function(t){y.call(this,t)};t.prototype.calciteInternalListItemPropsChangeHandler=function(t){t.stopPropagation();this.setUpFilter()};t.prototype.calciteInternalListItemValueChangeHandler=function(t){w.call(this,t);t.stopPropagation()};t.prototype.calciteListFocusOutHandler=function(t){g.call(this,t)};t.prototype.setUpItems=function(){k.call(this,"calcite-pick-list-item")};t.prototype.setUpFilter=function(){if(this.filterEnabled){this.dataForFilter=this.getItemData()}};t.prototype.getSelectedItems=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.selectedValues]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,v.call(this,t)]}))}))};t.prototype.getIconType=function(){return this.multiple?x.square:x.circle};t.prototype.render=function(){return a(D,{onKeyDown:this.keyDownHandler,props:this})};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());K.style=O;var T="@-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-margin-after:0.25rem;margin-block-end:0.25rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:last-child){-webkit-margin-after:0px;margin-block-end:0px}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{-webkit-margin-start:1.5rem;margin-inline-start:1.5rem}";var U=t("calcite_pick_list_group",function(){function t(t){e(this,t)}t.prototype.connectedCallback=function(){V(this)};t.prototype.disconnectedCallback=function(){A(this)};t.prototype.render=function(){var t;var e;var i=this,n=i.el,o=i.groupTitle,c=i.headingLevel;var s=S(n,_.parentItem)!==null;var l=(t={},t[I.container]=true,t[I.indented]=s,t);var m=o;var d=(e=n.closest("calcite-pick-list"))===null||e===void 0?void 0:e.headingLevel;var f=d?W(d+1):null;var p=c||f||C;return a(r,null,m?a(R,{class:I.heading,level:p},m):null,a("slot",{name:_.parentItem}),a("section",{class:l},a("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());U.style=T;var q='@charset "UTF-8";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !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{margin:0px;-webkit-margin-after:1px;margin-block-end:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition:background-color var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing);-webkit-animation:calcite-fade-in var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}.label{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;cursor:pointer;-ms-flex-align:center;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);-ms-flex:0 0 auto;flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:-ms-flexbox;display:flex;inline-size:1.5rem;-ms-flex-align:center;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:end;justify-content:flex-end}.actions--start~.label{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}';var G=t("calcite_pick_list_item",function(){function t(t){var a=this;e(this,t);this.calciteListItemChange=i(this,"calciteListItemChange",6);this.calciteListItemRemove=i(this,"calciteListItemRemove",7);this.calciteInternalListItemPropsChange=i(this,"calciteInternalListItemPropsChange",6);this.calciteInternalListItemValueChange=i(this,"calciteInternalListItemValueChange",6);this.disabled=false;this.disableDeselect=false;this.nonInteractive=false;this.icon=null;this.removable=false;this.selected=false;this.intlRemove=z.remove;this.pickListClickHandler=function(t){if(a.disabled||a.disableDeselect&&a.selected||a.nonInteractive){return}a.shiftPressed=t.shiftKey;a.selected=!a.selected};this.pickListKeyDownHandler=function(t){if(t.key===" "){t.preventDefault();if(a.disableDeselect&&a.selected||a.nonInteractive){return}a.selected=!a.selected}};this.removeClickHandler=function(){a.calciteListItemRemove.emit()}}t.prototype.descriptionWatchHandler=function(){this.calciteInternalListItemPropsChange.emit()};t.prototype.labelWatchHandler=function(){this.calciteInternalListItemPropsChange.emit()};t.prototype.metadataWatchHandler=function(){this.calciteInternalListItemPropsChange.emit()};t.prototype.selectedWatchHandler=function(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed});this.shiftPressed=false};t.prototype.valueWatchHandler=function(t,e){this.calciteInternalListItemValueChange.emit({oldValue:e,newValue:t})};t.prototype.connectedCallback=function(){V(this)};t.prototype.disconnectedCallback=function(){A(this)};t.prototype.componentDidRender=function(){F(this,this.el.closest("calcite-pick-list")?"managed":false)};t.prototype.toggleSelected=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.selected=typeof t==="boolean"?t:!this.selected;return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.focusEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.renderIcon=function(){var t;var e=this.icon;if(!e){return null}return a("span",{class:(t={},t[H.icon]=true,t[H.iconDot]=e===x.circle,t),onClick:this.pickListClickHandler},e===x.square?a("calcite-icon",{icon:L.checked,scale:"s"}):null)};t.prototype.renderRemoveAction=function(){return this.removable?a("calcite-action",{class:H.remove,icon:L.remove,onCalciteActionClick:this.removeClickHandler,slot:j.actionsEnd,text:this.intlRemove}):null};t.prototype.renderActionsStart=function(){var t;var e=this.el;var i=S(e,j.actionsStart);return i?a("div",{class:(t={},t[H.actions]=true,t[H.actionsStart]=true,t)},a("slot",{name:j.actionsStart})):null};t.prototype.renderActionsEnd=function(){var t;var e=this,i=e.el,n=e.removable;var r=S(i,j.actionsEnd);return r||n?a("div",{class:(t={},t[H.actions]=true,t[H.actionsEnd]=true,t)},a("slot",{name:j.actionsEnd}),this.renderRemoveAction()):null};t.prototype.render=function(){var t=this;var e=this,i=e.description,n=e.label;return a(r,null,this.renderIcon(),this.renderActionsStart(),a("label",{"aria-label":n,class:H.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,ref:function(e){return t.focusEl=e},tabIndex:0},a("div",{"aria-checked":E(this.selected),class:H.textContainer,role:"menuitemcheckbox"},a("span",{class:H.title},n),i?a("span",{class:H.description},i):null)),this.renderActionsEnd())};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"]}},enumerable:false,configurable:true});return t}());G.style=q}}}));
@@ -1,6 +0,0 @@
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-beta.91
6
- */System.register(["./p-c1839811.system.js","./p-ad7f17d7.system.js","./p-94765679.system.js","./p-e28fc860.system.js","./p-5d7bc59a.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}}}));
@@ -1,6 +0,0 @@
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-beta.91
5
- */
6
- import{f as t}from"./p-be00e22e.js";import{c as o}from"./p-b4e139fe.js";const n=new Set;let e;const s={childList:!0};function c(t){e||(e=o("mutation",i)),e.observe(t.el,s)}function f(t){n.delete(t.el),i(e.takeRecords()),e.disconnect();for(const[t]of n.entries())e.observe(t,s)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{c,f as d}