@esri/calcite-components 2.2.0-next.14 → 2.2.0-next.16

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 (2234) hide show
  1. package/dist/.storybook/placeholderImage.js +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/calcite.esm.js.map +1 -1
  4. package/dist/calcite/index.esm.js +1 -1
  5. package/dist/calcite/p-0400ef77.entry.js +7 -0
  6. package/dist/calcite/p-040458d6.entry.js +7 -0
  7. package/dist/calcite/p-05b6cbd8.js +7 -0
  8. package/dist/calcite/p-05e789db.entry.js +7 -0
  9. package/dist/calcite/p-088573dd.entry.js +7 -0
  10. package/dist/calcite/p-088573dd.entry.js.map +1 -0
  11. package/dist/calcite/p-091d9858.js +7 -0
  12. package/dist/calcite/p-0c2e3aad.js +7 -0
  13. package/dist/calcite/p-0daf215d.js +7 -0
  14. package/dist/calcite/p-120ba0e7.entry.js +7 -0
  15. package/dist/calcite/p-120ba0e7.entry.js.map +1 -0
  16. package/dist/calcite/p-122acc5c.entry.js +7 -0
  17. package/dist/calcite/p-122acc5c.entry.js.map +1 -0
  18. package/dist/calcite/p-12f5bcc2.js +7 -0
  19. package/dist/calcite/p-13f2b982.js +7 -0
  20. package/dist/calcite/p-1504c4bc.js +7 -0
  21. package/dist/calcite/p-1519f1b1.js +7 -0
  22. package/dist/calcite/p-1816e373.js +7 -0
  23. package/dist/calcite/p-187c9c56.entry.js +7 -0
  24. package/dist/calcite/p-187c9c56.entry.js.map +1 -0
  25. package/dist/calcite/p-1b9fce06.js +7 -0
  26. package/dist/calcite/p-1bd37d92.js +7 -0
  27. package/dist/calcite/p-1cf78943.entry.js +7 -0
  28. package/dist/calcite/p-1cf78943.entry.js.map +1 -0
  29. package/dist/calcite/p-1fb0edab.js +7 -0
  30. package/dist/calcite/p-1fe30fd5.entry.js +7 -0
  31. package/dist/calcite/p-231c107f.entry.js +7 -0
  32. package/dist/calcite/p-23279d92.entry.js +7 -0
  33. package/dist/calcite/p-233ad65a.entry.js +7 -0
  34. package/dist/calcite/p-233ad65a.entry.js.map +1 -0
  35. package/dist/calcite/p-239a302f.js +7 -0
  36. package/dist/calcite/p-23e2dc47.js +7 -0
  37. package/dist/calcite/p-249b5f27.js +7 -0
  38. package/dist/calcite/p-24a30c3f.js +7 -0
  39. package/dist/calcite/p-250e4bad.js +7 -0
  40. package/dist/calcite/p-2916cbf8.js +7 -0
  41. package/dist/calcite/p-29d59169.js +7 -0
  42. package/dist/calcite/p-2a0e5a11.js +7 -0
  43. package/dist/calcite/p-2aa2f7cd.js +7 -0
  44. package/dist/calcite/p-2c6d85e0.js +7 -0
  45. package/dist/calcite/p-2e4e16ec.js +7 -0
  46. package/dist/calcite/p-330a88fe.js +13 -0
  47. package/dist/calcite/p-3463cc4d.js +7 -0
  48. package/dist/calcite/p-34e86b78.entry.js +7 -0
  49. package/dist/calcite/p-35085fc6.js +7 -0
  50. package/dist/calcite/p-366fe481.entry.js +7 -0
  51. package/dist/calcite/p-366fe481.entry.js.map +1 -0
  52. package/dist/calcite/p-374b5a3a.entry.js +7 -0
  53. package/dist/calcite/p-374b5a3a.entry.js.map +1 -0
  54. package/dist/calcite/p-3b1aa79a.js +7 -0
  55. package/dist/calcite/p-3d563d6c.js +7 -0
  56. package/dist/calcite/p-3e58f30a.js +7 -0
  57. package/dist/calcite/p-3ea004c7.entry.js +7 -0
  58. package/dist/calcite/p-3f47b086.js +7 -0
  59. package/dist/calcite/p-43513514.js +7 -0
  60. package/dist/calcite/p-44695804.entry.js +7 -0
  61. package/dist/calcite/p-44883d29.entry.js +7 -0
  62. package/dist/calcite/p-4499d937.js +7 -0
  63. package/dist/calcite/p-45114283.entry.js +7 -0
  64. package/dist/calcite/p-45114283.entry.js.map +1 -0
  65. package/dist/calcite/p-46aee694.js +7 -0
  66. package/dist/calcite/p-4975d947.entry.js +7 -0
  67. package/dist/calcite/p-4975d947.entry.js.map +1 -0
  68. package/dist/calcite/p-4a4b5865.js +7 -0
  69. package/dist/calcite/p-4b611f67.js +7 -0
  70. package/dist/calcite/p-4c98f9b4.js +7 -0
  71. package/dist/calcite/p-4d972ef9.entry.js +7 -0
  72. package/dist/calcite/p-4d972ef9.entry.js.map +1 -0
  73. package/dist/calcite/p-57789033.js +7 -0
  74. package/dist/calcite/p-5b4f8928.js +7 -0
  75. package/dist/calcite/p-5c9022c4.js +7 -0
  76. package/dist/calcite/p-5cb6043e.js +7 -0
  77. package/dist/calcite/p-5e8a1714.js +7 -0
  78. package/dist/calcite/p-685969d6.entry.js +7 -0
  79. package/dist/calcite/p-685969d6.entry.js.map +1 -0
  80. package/dist/calcite/p-6d839943.entry.js +7 -0
  81. package/dist/calcite/p-6d839943.entry.js.map +1 -0
  82. package/dist/calcite/p-70a71228.entry.js +7 -0
  83. package/dist/calcite/p-72b775e7.js +7 -0
  84. package/dist/calcite/p-73a82b58.entry.js +7 -0
  85. package/dist/calcite/p-75574333.js +7 -0
  86. package/dist/calcite/p-766cb4ae.js +7 -0
  87. package/dist/calcite/p-76cdc787.entry.js +7 -0
  88. package/dist/calcite/p-76cdc787.entry.js.map +1 -0
  89. package/dist/calcite/p-77d93b0a.js +7 -0
  90. package/dist/calcite/p-79bbdea2.js +7 -0
  91. package/dist/calcite/p-7bfac667.js +7 -0
  92. package/dist/calcite/p-7c75d87e.js +12 -0
  93. package/dist/calcite/p-7f257d85.entry.js +7 -0
  94. package/dist/calcite/p-7f911056.entry.js +7 -0
  95. package/dist/calcite/p-8061256f.entry.js +7 -0
  96. package/dist/calcite/p-81466937.entry.js +7 -0
  97. package/dist/calcite/p-81466937.entry.js.map +1 -0
  98. package/dist/calcite/p-84509552.js +7 -0
  99. package/dist/calcite/p-84c2d7a3.js +7 -0
  100. package/dist/calcite/p-84ca459e.js +7 -0
  101. package/dist/calcite/p-85261e0f.js +7 -0
  102. package/dist/calcite/p-865b5aff.entry.js +7 -0
  103. package/dist/calcite/p-88c3db86.js +7 -0
  104. package/dist/calcite/p-89960aec.js +7 -0
  105. package/dist/calcite/p-8b1c930f.entry.js +7 -0
  106. package/dist/calcite/p-8b8bf120.js +7 -0
  107. package/dist/calcite/p-8c7e7697.js +7 -0
  108. package/dist/calcite/p-8d915753.entry.js +7 -0
  109. package/dist/calcite/p-903c476a.entry.js +7 -0
  110. package/dist/calcite/p-916c9ed8.js +7 -0
  111. package/dist/calcite/p-961908f2.js +7 -0
  112. package/dist/calcite/p-961908f2.js.map +1 -0
  113. package/dist/calcite/p-9bd72c4b.js +7 -0
  114. package/dist/calcite/p-9c020055.js +7 -0
  115. package/dist/calcite/p-9d5e3d27.js +7 -0
  116. package/dist/calcite/p-9dc12a27.js +7 -0
  117. package/dist/calcite/p-a17bf78e.entry.js +7 -0
  118. package/dist/calcite/p-a17eb9ea.js +7 -0
  119. package/dist/calcite/p-a32f6830.js +7 -0
  120. package/dist/calcite/p-a3c0ed04.entry.js +7 -0
  121. package/dist/calcite/p-a7472d89.entry.js +7 -0
  122. package/dist/calcite/p-a78032b0.js +7 -0
  123. package/dist/calcite/p-aafc3399.js +7 -0
  124. package/dist/calcite/p-ab98f055.js +7 -0
  125. package/dist/calcite/p-adcd0922.entry.js +7 -0
  126. package/dist/calcite/p-adcd0922.entry.js.map +1 -0
  127. package/dist/calcite/p-b02a1cc1.entry.js +7 -0
  128. package/dist/calcite/p-b02a1cc1.entry.js.map +1 -0
  129. package/dist/calcite/p-b1d6c466.js +7 -0
  130. package/dist/calcite/p-b41c9e66.entry.js +7 -0
  131. package/dist/calcite/p-b41c9e66.entry.js.map +1 -0
  132. package/dist/calcite/p-b45457e7.entry.js +7 -0
  133. package/dist/calcite/p-b51f9007.entry.js +7 -0
  134. package/dist/calcite/p-b5f22ece.entry.js +7 -0
  135. package/dist/calcite/p-b6784840.entry.js +7 -0
  136. package/dist/calcite/p-b7e9a13e.entry.js +7 -0
  137. package/dist/calcite/p-b84c57b5.entry.js +7 -0
  138. package/dist/calcite/p-b84c57b5.entry.js.map +1 -0
  139. package/dist/calcite/p-b85166d7.entry.js +7 -0
  140. package/dist/calcite/p-ba4b6e0e.entry.js +7 -0
  141. package/dist/calcite/p-ba4b6e0e.entry.js.map +1 -0
  142. package/dist/calcite/p-bca3d9ad.js +7 -0
  143. package/dist/calcite/p-bd992802.entry.js +7 -0
  144. package/dist/calcite/p-be7c993a.js +7 -0
  145. package/dist/calcite/p-bfcbd5ac.js +7 -0
  146. package/dist/calcite/p-c0d88a65.js +7 -0
  147. package/dist/calcite/p-c13b214f.entry.js +7 -0
  148. package/dist/calcite/p-c13b214f.entry.js.map +1 -0
  149. package/dist/calcite/p-c1bba8e2.js +7 -0
  150. package/dist/calcite/p-c3d4de95.js +7 -0
  151. package/dist/calcite/p-c3d83479.js +7 -0
  152. package/dist/calcite/p-c4dc0ed5.js +7 -0
  153. package/dist/calcite/p-c7303ea7.js +8 -0
  154. package/dist/calcite/p-c8d5c160.entry.js +7 -0
  155. package/dist/calcite/p-cc769c9e.js +7 -0
  156. package/dist/calcite/p-cca68f65.js +7 -0
  157. package/dist/calcite/p-ccaec298.js +7 -0
  158. package/dist/calcite/p-ce6221df.entry.js +7 -0
  159. package/dist/calcite/p-ce6221df.entry.js.map +1 -0
  160. package/dist/calcite/p-d1a38a56.entry.js +7 -0
  161. package/dist/calcite/p-d3fb1c39.entry.js +7 -0
  162. package/dist/calcite/p-d3fb1c39.entry.js.map +1 -0
  163. package/dist/calcite/p-d577d352.js +7 -0
  164. package/dist/calcite/p-d94fdf16.entry.js +7 -0
  165. package/dist/calcite/p-da183ec2.entry.js +7 -0
  166. package/dist/calcite/p-daed65ff.entry.js +7 -0
  167. package/dist/calcite/p-daed65ff.entry.js.map +1 -0
  168. package/dist/calcite/p-db4e4e6a.entry.js +7 -0
  169. package/dist/calcite/p-db4e4e6a.entry.js.map +1 -0
  170. package/dist/calcite/p-dbd5722c.js +7 -0
  171. package/dist/calcite/p-dc52c915.entry.js +7 -0
  172. package/dist/calcite/p-dfe51851.entry.js +7 -0
  173. package/dist/calcite/p-e0aec947.js +7 -0
  174. package/dist/calcite/p-e5585c87.entry.js +7 -0
  175. package/dist/calcite/p-e5585c87.entry.js.map +1 -0
  176. package/dist/calcite/p-e6197921.entry.js +7 -0
  177. package/dist/calcite/p-e6197921.entry.js.map +1 -0
  178. package/dist/calcite/p-e6e69327.entry.js +7 -0
  179. package/dist/calcite/p-e85ded3a.js +7 -0
  180. package/dist/calcite/p-ed3e3508.entry.js +7 -0
  181. package/dist/calcite/p-edc1e089.js +7 -0
  182. package/dist/calcite/p-ee8c72a0.js +11 -0
  183. package/dist/calcite/p-f4b71550.entry.js +7 -0
  184. package/dist/calcite/p-f5f55c67.js +7 -0
  185. package/dist/calcite/p-f6267029.entry.js +7 -0
  186. package/dist/calcite/p-f75fb642.entry.js +7 -0
  187. package/dist/calcite/p-f9762ec5.js +7 -0
  188. package/dist/calcite/p-fadf9f1f.entry.js +7 -0
  189. package/dist/calcite/p-fb049a1d.entry.js +7 -0
  190. package/dist/calcite/p-fb5759aa.js +7 -0
  191. package/dist/calcite/p-fb8103c0.entry.js +7 -0
  192. package/dist/calcite/p-fb8103c0.entry.js.map +1 -0
  193. package/dist/calcite/p-ff8bc553.entry.js +7 -0
  194. package/dist/calcite-preset.js +1 -1
  195. package/dist/cjs/ExpandToggle-8f153197.js +110 -0
  196. package/dist/cjs/ExpandToggle-8f153197.js.map +1 -0
  197. package/dist/cjs/FloatingArrow-d0c82325.js +49 -0
  198. package/dist/cjs/FloatingArrow-d0c82325.js.map +1 -0
  199. package/dist/cjs/Heading-a164d21d.js +22 -0
  200. package/dist/cjs/Heading-a164d21d.js.map +1 -0
  201. package/dist/cjs/Validation-dcde2cd5.js +18 -0
  202. package/dist/cjs/Validation-dcde2cd5.js.map +1 -0
  203. package/dist/cjs/app-globals-3115953c.js +61 -0
  204. package/dist/cjs/app-globals-3115953c.js.map +1 -0
  205. package/dist/cjs/ar-f5da56c9.js +106 -0
  206. package/dist/cjs/ar-f5da56c9.js.map +1 -0
  207. package/dist/cjs/array-86291f98.js +14 -0
  208. package/dist/cjs/array-86291f98.js.map +1 -0
  209. package/dist/cjs/bg-a8770303.js +84 -0
  210. package/dist/cjs/bg-a8770303.js.map +1 -0
  211. package/dist/cjs/browser-11c2b7d0.js +20 -0
  212. package/dist/cjs/browser-11c2b7d0.js.map +1 -0
  213. package/dist/cjs/bs-e3d87f9b.js +53 -0
  214. package/dist/cjs/bs-e3d87f9b.js.map +1 -0
  215. package/dist/cjs/ca-df1882d7.js +73 -0
  216. package/dist/cjs/ca-df1882d7.js.map +1 -0
  217. package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
  218. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  219. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  220. package/dist/cjs/calcite-action-menu.cjs.entry.js +14 -13
  221. package/dist/cjs/calcite-action-menu.cjs.entry.js.map +1 -1
  222. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  223. package/dist/cjs/calcite-action.cjs.entry.js +13 -13
  224. package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
  225. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  226. package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
  227. package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
  228. package/dist/cjs/calcite-button.cjs.entry.js +17 -16
  229. package/dist/cjs/calcite-button.cjs.entry.js.map +1 -1
  230. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  231. package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
  232. package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
  233. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
  234. package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
  235. package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -1
  236. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
  237. package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -22
  238. package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
  239. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
  240. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
  241. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  242. package/dist/cjs/calcite-fab.cjs.entry.js.map +1 -1
  243. package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
  244. package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
  245. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  246. package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
  247. package/dist/cjs/calcite-graph_2.cjs.entry.js.map +1 -1
  248. package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
  249. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  250. package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
  251. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -21
  252. package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +1 -1
  253. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  254. package/dist/cjs/calcite-input-number.cjs.entry.js +49 -25
  255. package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
  256. package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
  257. package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
  258. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-fc5aa96a.js +2918 -0
  259. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-fc5aa96a.js.map +1 -0
  260. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
  261. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
  262. package/dist/cjs/calcite-input-time-zone.cjs.entry.js.map +1 -1
  263. package/dist/cjs/calcite-input.cjs.entry.js +50 -26
  264. package/dist/cjs/calcite-input.cjs.entry.js.map +1 -1
  265. package/dist/cjs/calcite-label.cjs.entry.js +7 -7
  266. package/dist/cjs/calcite-link.cjs.entry.js +8 -8
  267. package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
  268. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  269. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  270. package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
  271. package/dist/cjs/calcite-meter.cjs.entry.js.map +1 -1
  272. package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
  273. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  274. package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
  275. package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
  276. package/dist/cjs/calcite-option_3.cjs.entry.js.map +1 -1
  277. package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
  278. package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
  279. package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
  280. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
  281. package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
  282. package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
  283. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  284. package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
  285. package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -1
  286. package/dist/cjs/calcite-rating.cjs.entry.js +15 -15
  287. package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -1
  288. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  289. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -12
  290. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js.map +1 -1
  291. package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
  292. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  293. package/dist/cjs/calcite-shell_3.cjs.entry.js.map +1 -1
  294. package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
  295. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
  296. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  297. package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
  298. package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
  299. package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -1
  300. package/dist/cjs/calcite-tab_4.cjs.entry.js +37 -29
  301. package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
  302. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
  303. package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
  304. package/dist/cjs/calcite-table.cjs.entry.js +11 -11
  305. package/dist/cjs/calcite-text-area.cjs.entry.js +18 -18
  306. package/dist/cjs/calcite-text-area.cjs.entry.js.map +1 -1
  307. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  308. package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
  309. package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
  310. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  311. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  312. package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
  313. package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
  314. package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
  315. package/dist/cjs/calcite.cjs.js +5 -5
  316. package/dist/cjs/component-a7b9d471.js +30 -0
  317. package/dist/cjs/component-a7b9d471.js.map +1 -0
  318. package/dist/cjs/conditionalSlot-3cc71ec6.js +60 -0
  319. package/dist/cjs/conditionalSlot-3cc71ec6.js.map +1 -0
  320. package/dist/cjs/cs-80fa7e4a.js +149 -0
  321. package/dist/cjs/cs-80fa7e4a.js.map +1 -0
  322. package/dist/cjs/da-c04e8889.js +68 -0
  323. package/dist/cjs/da-c04e8889.js.map +1 -0
  324. package/dist/cjs/de-at-880f13f8.js +92 -0
  325. package/dist/cjs/de-at-880f13f8.js.map +1 -0
  326. package/dist/cjs/de-b5056290.js +93 -0
  327. package/dist/cjs/de-b5056290.js.map +1 -0
  328. package/dist/cjs/de-ch-5c707d01.js +92 -0
  329. package/dist/cjs/de-ch-5c707d01.js.map +1 -0
  330. package/dist/cjs/debounce-ced249a1.js +498 -0
  331. package/dist/cjs/debounce-ced249a1.js.map +1 -0
  332. package/dist/cjs/dom-95948436.js +1084 -0
  333. package/dist/cjs/dom-95948436.js.map +1 -0
  334. package/dist/cjs/el-b4a7c3f9.js +68 -0
  335. package/dist/cjs/el-b4a7c3f9.js.map +1 -0
  336. package/dist/cjs/en-au-e1ed74d5.js +68 -0
  337. package/dist/cjs/en-au-e1ed74d5.js.map +1 -0
  338. package/dist/cjs/en-ca-861364c1.js +67 -0
  339. package/dist/cjs/en-ca-861364c1.js.map +1 -0
  340. package/dist/cjs/en-gb-3fa55200.js +71 -0
  341. package/dist/cjs/en-gb-3fa55200.js.map +1 -0
  342. package/dist/cjs/es-3f9a486c.js +68 -0
  343. package/dist/cjs/es-3f9a486c.js.map +1 -0
  344. package/dist/cjs/es-mx-5e14d892.js +67 -0
  345. package/dist/cjs/es-mx-5e14d892.js.map +1 -0
  346. package/dist/cjs/et-71a53a20.js +94 -0
  347. package/dist/cjs/et-71a53a20.js.map +1 -0
  348. package/dist/cjs/fi-445d76b8.js +117 -0
  349. package/dist/cjs/fi-445d76b8.js.map +1 -0
  350. package/dist/cjs/filter-7bfe0abe.js +762 -0
  351. package/dist/cjs/filter-7bfe0abe.js.map +1 -0
  352. package/dist/cjs/floating-ui-e88ab0f8.js +1916 -0
  353. package/dist/cjs/floating-ui-e88ab0f8.js.map +1 -0
  354. package/dist/cjs/focusTrapComponent-aae9f00e.js +1020 -0
  355. package/dist/cjs/focusTrapComponent-aae9f00e.js.map +1 -0
  356. package/dist/cjs/form-98fd6b45.js +259 -0
  357. package/dist/cjs/form-98fd6b45.js.map +1 -0
  358. package/dist/cjs/fr-87c2bc88.js +70 -0
  359. package/dist/cjs/fr-87c2bc88.js.map +1 -0
  360. package/dist/cjs/fr-ch-b0b805d5.js +68 -0
  361. package/dist/cjs/fr-ch-b0b805d5.js.map +1 -0
  362. package/dist/cjs/guid-613111a5.js +23 -0
  363. package/dist/cjs/guid-613111a5.js.map +1 -0
  364. package/dist/cjs/he-a60c83cb.js +107 -0
  365. package/dist/cjs/he-a60c83cb.js.map +1 -0
  366. package/dist/cjs/hi-8258a69b.js +67 -0
  367. package/dist/cjs/hi-8258a69b.js.map +1 -0
  368. package/dist/cjs/hr-8811fd90.js +82 -0
  369. package/dist/cjs/hr-8811fd90.js.map +1 -0
  370. package/dist/cjs/hu-3d084c4b.js +90 -0
  371. package/dist/cjs/hu-3d084c4b.js.map +1 -0
  372. package/dist/cjs/id-fab8fb41.js +68 -0
  373. package/dist/cjs/id-fab8fb41.js.map +1 -0
  374. package/dist/cjs/index-a812f8df.js +2655 -0
  375. package/dist/cjs/index-a812f8df.js.map +1 -0
  376. package/dist/cjs/index-b43e99a3.js +208 -0
  377. package/dist/cjs/index-b43e99a3.js.map +1 -0
  378. package/dist/cjs/index-c8f90901.js +75 -0
  379. package/dist/cjs/index-c8f90901.js.map +1 -0
  380. package/dist/cjs/index.cjs.js +1 -1
  381. package/dist/cjs/interactive-ff6a30d2.js +141 -0
  382. package/dist/cjs/interactive-ff6a30d2.js.map +1 -0
  383. package/dist/cjs/it-ch-31380a87.js +68 -0
  384. package/dist/cjs/it-ch-31380a87.js.map +1 -0
  385. package/dist/cjs/it-ef593962.js +68 -0
  386. package/dist/cjs/it-ef593962.js.map +1 -0
  387. package/dist/cjs/ja-dda10eed.js +74 -0
  388. package/dist/cjs/ja-dda10eed.js.map +1 -0
  389. package/dist/cjs/key-3746c05e.js +16 -0
  390. package/dist/cjs/key-3746c05e.js.map +1 -0
  391. package/dist/cjs/ko-3392edf9.js +74 -0
  392. package/dist/cjs/ko-3392edf9.js.map +1 -0
  393. package/dist/cjs/label-875aebe4.js +183 -0
  394. package/dist/cjs/label-875aebe4.js.map +1 -0
  395. package/dist/cjs/loadable-70443874.js +91 -0
  396. package/dist/cjs/loadable-70443874.js.map +1 -0
  397. package/dist/cjs/loader.cjs.js +5 -5
  398. package/dist/cjs/locale-8715ec3d.js +576 -0
  399. package/dist/cjs/locale-8715ec3d.js.map +1 -0
  400. package/dist/cjs/lt-92c1ec2a.js +99 -0
  401. package/dist/cjs/lt-92c1ec2a.js.map +1 -0
  402. package/dist/cjs/lv-790788f6.js +68 -0
  403. package/dist/cjs/lv-790788f6.js.map +1 -0
  404. package/dist/cjs/math-4f8269b1.js +57 -0
  405. package/dist/cjs/math-4f8269b1.js.map +1 -0
  406. package/dist/cjs/mk-044662cb.js +68 -0
  407. package/dist/cjs/mk-044662cb.js.map +1 -0
  408. package/dist/cjs/nb-dfd788fe.js +69 -0
  409. package/dist/cjs/nb-dfd788fe.js.map +1 -0
  410. package/dist/cjs/nl-b7612190.js +69 -0
  411. package/dist/cjs/nl-b7612190.js.map +1 -0
  412. package/dist/cjs/observers-7e193a30.js +50 -0
  413. package/dist/cjs/observers-7e193a30.js.map +1 -0
  414. package/dist/cjs/openCloseComponent-4f9b2280.js +89 -0
  415. package/dist/cjs/openCloseComponent-4f9b2280.js.map +1 -0
  416. package/dist/cjs/pl-b842e02b.js +116 -0
  417. package/dist/cjs/pl-b842e02b.js.map +1 -0
  418. package/dist/cjs/pt-8392e9f8.js +69 -0
  419. package/dist/cjs/pt-8392e9f8.js.map +1 -0
  420. package/dist/cjs/pt-br-4f9990e1.js +67 -0
  421. package/dist/cjs/pt-br-4f9990e1.js.map +1 -0
  422. package/dist/cjs/resources-07643f99.js +17 -0
  423. package/dist/cjs/resources-07643f99.js.map +1 -0
  424. package/dist/cjs/resources-7509ce2d.js +23 -0
  425. package/dist/cjs/resources-7509ce2d.js.map +1 -0
  426. package/dist/cjs/resources-94ef3b8e.js +26 -0
  427. package/dist/cjs/resources-94ef3b8e.js.map +1 -0
  428. package/dist/cjs/resources-b011f755.js +29 -0
  429. package/dist/cjs/resources-b011f755.js.map +1 -0
  430. package/dist/cjs/resources-b670b1ef.js +49 -0
  431. package/dist/cjs/resources-b670b1ef.js.map +1 -0
  432. package/dist/cjs/resources-cfba2ef2.js +414 -0
  433. package/dist/cjs/resources-cfba2ef2.js.map +1 -0
  434. package/dist/cjs/resources-d74fdeff.js +26 -0
  435. package/dist/cjs/resources-d74fdeff.js.map +1 -0
  436. package/dist/cjs/ro-7aabf1ab.js +68 -0
  437. package/dist/cjs/ro-7aabf1ab.js.map +1 -0
  438. package/dist/cjs/ru-49ce91d7.js +128 -0
  439. package/dist/cjs/ru-49ce91d7.js.map +1 -0
  440. package/dist/cjs/sk-674520db.js +150 -0
  441. package/dist/cjs/sk-674520db.js.map +1 -0
  442. package/dist/cjs/sl-6456f40c.js +170 -0
  443. package/dist/cjs/sl-6456f40c.js.map +1 -0
  444. package/dist/cjs/sortableComponent-f107d215.js +2739 -0
  445. package/dist/cjs/sortableComponent-f107d215.js.map +1 -0
  446. package/dist/cjs/sr-ee2176e0.js +103 -0
  447. package/dist/cjs/sr-ee2176e0.js.map +1 -0
  448. package/dist/cjs/sv-f05dcb35.js +73 -0
  449. package/dist/cjs/sv-f05dcb35.js.map +1 -0
  450. package/dist/cjs/t9n-3a3830ea.js +97 -0
  451. package/dist/cjs/t9n-3a3830ea.js.map +1 -0
  452. package/dist/cjs/th-a223317b.js +67 -0
  453. package/dist/cjs/th-a223317b.js.map +1 -0
  454. package/dist/cjs/throttle-4b9e71f1.js +77 -0
  455. package/dist/cjs/throttle-4b9e71f1.js.map +1 -0
  456. package/dist/cjs/tr-1c7be1d8.js +68 -0
  457. package/dist/cjs/tr-1c7be1d8.js.map +1 -0
  458. package/dist/cjs/uk-b851d749.js +106 -0
  459. package/dist/cjs/uk-b851d749.js.map +1 -0
  460. package/dist/cjs/utils-7d0b6dc3.js +307 -0
  461. package/dist/cjs/utils-7d0b6dc3.js.map +1 -0
  462. package/dist/cjs/utils-cc68fc7d.js +218 -0
  463. package/dist/cjs/utils-cc68fc7d.js.map +1 -0
  464. package/dist/cjs/vi-d9d6d8c4.js +72 -0
  465. package/dist/cjs/vi-d9d6d8c4.js.map +1 -0
  466. package/dist/cjs/zh-cn-3e061f31.js +96 -0
  467. package/dist/cjs/zh-cn-3e061f31.js.map +1 -0
  468. package/dist/cjs/zh-hk-b692a2fe.js +73 -0
  469. package/dist/cjs/zh-hk-b692a2fe.js.map +1 -0
  470. package/dist/cjs/zh-tw-0e71a8c3.js +94 -0
  471. package/dist/cjs/zh-tw-0e71a8c3.js.map +1 -0
  472. package/dist/collection/components/accordion/accordion.css +5 -5
  473. package/dist/collection/components/accordion/accordion.e2e.js +1 -1
  474. package/dist/collection/components/accordion/accordion.js +1 -1
  475. package/dist/collection/components/accordion-item/accordion-item.css +5 -5
  476. package/dist/collection/components/accordion-item/accordion-item.e2e.js +1 -1
  477. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  478. package/dist/collection/components/accordion-item/resources.js +1 -1
  479. package/dist/collection/components/action/action.css +5 -5
  480. package/dist/collection/components/action/action.e2e.js +1 -1
  481. package/dist/collection/components/action/action.js +1 -1
  482. package/dist/collection/components/action/resources.js +1 -1
  483. package/dist/collection/components/action-bar/action-bar.css +5 -5
  484. package/dist/collection/components/action-bar/action-bar.e2e.js +1 -1
  485. package/dist/collection/components/action-bar/action-bar.js +1 -1
  486. package/dist/collection/components/action-bar/resources.js +1 -1
  487. package/dist/collection/components/action-bar/utils.js +1 -1
  488. package/dist/collection/components/action-group/action-group.css +5 -5
  489. package/dist/collection/components/action-group/action-group.e2e.js +1 -1
  490. package/dist/collection/components/action-group/action-group.js +1 -1
  491. package/dist/collection/components/action-group/resources.js +1 -1
  492. package/dist/collection/components/action-menu/action-menu.css +5 -5
  493. package/dist/collection/components/action-menu/action-menu.e2e.js +8 -7
  494. package/dist/collection/components/action-menu/action-menu.e2e.js.map +1 -1
  495. package/dist/collection/components/action-menu/action-menu.js +6 -5
  496. package/dist/collection/components/action-menu/action-menu.js.map +1 -1
  497. package/dist/collection/components/action-menu/resources.js +1 -1
  498. package/dist/collection/components/action-pad/action-pad.css +5 -5
  499. package/dist/collection/components/action-pad/action-pad.e2e.js +1 -1
  500. package/dist/collection/components/action-pad/action-pad.js +1 -1
  501. package/dist/collection/components/action-pad/resources.js +1 -1
  502. package/dist/collection/components/alert/alert.css +5 -5
  503. package/dist/collection/components/alert/alert.e2e.js +1 -1
  504. package/dist/collection/components/alert/alert.js +1 -1
  505. package/dist/collection/components/alert/resources.js +1 -1
  506. package/dist/collection/components/avatar/avatar.css +5 -5
  507. package/dist/collection/components/avatar/avatar.e2e.js +1 -1
  508. package/dist/collection/components/avatar/avatar.js +1 -1
  509. package/dist/collection/components/avatar/avatar.spec.js +1 -1
  510. package/dist/collection/components/avatar/utils.js +1 -1
  511. package/dist/collection/components/block/block.css +5 -5
  512. package/dist/collection/components/block/block.e2e.js +1 -1
  513. package/dist/collection/components/block/block.js +1 -1
  514. package/dist/collection/components/block/resources.js +1 -1
  515. package/dist/collection/components/block-section/block-section.css +5 -5
  516. package/dist/collection/components/block-section/block-section.e2e.js +1 -1
  517. package/dist/collection/components/block-section/block-section.js +2 -2
  518. package/dist/collection/components/block-section/block-section.js.map +1 -1
  519. package/dist/collection/components/block-section/resources.js +1 -1
  520. package/dist/collection/components/button/button.css +5 -5
  521. package/dist/collection/components/button/button.e2e.js +1 -1
  522. package/dist/collection/components/button/button.js +4 -3
  523. package/dist/collection/components/button/button.js.map +1 -1
  524. package/dist/collection/components/button/resources.js +1 -1
  525. package/dist/collection/components/card/card.css +5 -5
  526. package/dist/collection/components/card/card.e2e.js +1 -1
  527. package/dist/collection/components/card/card.js +1 -1
  528. package/dist/collection/components/card/resources.js +1 -1
  529. package/dist/collection/components/checkbox/checkbox.css +5 -5
  530. package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
  531. package/dist/collection/components/checkbox/checkbox.js +2 -2
  532. package/dist/collection/components/checkbox/checkbox.js.map +1 -1
  533. package/dist/collection/components/chip/chip.css +5 -5
  534. package/dist/collection/components/chip/chip.e2e.js +1 -1
  535. package/dist/collection/components/chip/chip.js +2 -2
  536. package/dist/collection/components/chip/chip.js.map +1 -1
  537. package/dist/collection/components/chip/resources.js +1 -1
  538. package/dist/collection/components/chip-group/chip-group.css +5 -5
  539. package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
  540. package/dist/collection/components/chip-group/chip-group.js +1 -1
  541. package/dist/collection/components/color-picker/color-picker.css +5 -5
  542. package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
  543. package/dist/collection/components/color-picker/color-picker.js +1 -1
  544. package/dist/collection/components/color-picker/resources.js +1 -1
  545. package/dist/collection/components/color-picker/utils.js +1 -1
  546. package/dist/collection/components/color-picker/utils.spec.js +1 -1
  547. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
  548. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
  549. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  550. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  551. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
  552. package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +1 -1
  553. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  554. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  555. package/dist/collection/components/combobox/combobox.css +5 -5
  556. package/dist/collection/components/combobox/combobox.e2e.js +1 -1
  557. package/dist/collection/components/combobox/combobox.js +3 -3
  558. package/dist/collection/components/combobox/combobox.js.map +1 -1
  559. package/dist/collection/components/combobox/resources.js +1 -1
  560. package/dist/collection/components/combobox/utils.js +1 -1
  561. package/dist/collection/components/combobox-item/combobox-item.css +5 -5
  562. package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
  563. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  564. package/dist/collection/components/combobox-item/resources.js +1 -1
  565. package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
  566. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  567. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  568. package/dist/collection/components/date-picker/date-picker.css +5 -5
  569. package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
  570. package/dist/collection/components/date-picker/date-picker.js +1 -1
  571. package/dist/collection/components/date-picker/resources.js +1 -1
  572. package/dist/collection/components/date-picker/utils.js +1 -1
  573. package/dist/collection/components/date-picker/utils.spec.js +1 -1
  574. package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
  575. package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
  576. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  577. package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
  578. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  579. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
  580. package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
  581. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  582. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  583. package/dist/collection/components/dropdown/dropdown.css +5 -5
  584. package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
  585. package/dist/collection/components/dropdown/dropdown.js +1 -1
  586. package/dist/collection/components/dropdown/resources.js +1 -1
  587. package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
  588. package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
  589. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  590. package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
  591. package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
  592. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  593. package/dist/collection/components/dropdown-item/resources.js +1 -1
  594. package/dist/collection/components/fab/fab.css +5 -5
  595. package/dist/collection/components/fab/fab.e2e.js +1 -1
  596. package/dist/collection/components/fab/fab.js +2 -2
  597. package/dist/collection/components/fab/fab.js.map +1 -1
  598. package/dist/collection/components/fab/resources.js +1 -1
  599. package/dist/collection/components/filter/filter.css +5 -5
  600. package/dist/collection/components/filter/filter.e2e.js +1 -1
  601. package/dist/collection/components/filter/filter.js +1 -1
  602. package/dist/collection/components/filter/resources.js +1 -1
  603. package/dist/collection/components/flow/flow.css +5 -5
  604. package/dist/collection/components/flow/flow.e2e.js +1 -1
  605. package/dist/collection/components/flow/flow.js +1 -1
  606. package/dist/collection/components/flow/resources.js +1 -1
  607. package/dist/collection/components/flow-item/flow-item.css +5 -5
  608. package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
  609. package/dist/collection/components/flow-item/flow-item.js +1 -1
  610. package/dist/collection/components/flow-item/resources.js +1 -1
  611. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  612. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  613. package/dist/collection/components/functional/Heading.js +1 -1
  614. package/dist/collection/components/functional/Heading.spec.js +1 -1
  615. package/dist/collection/components/functional/Validation.js +1 -1
  616. package/dist/collection/components/functional/XButton.js +1 -1
  617. package/dist/collection/components/graph/graph.css +5 -5
  618. package/dist/collection/components/graph/graph.e2e.js +1 -1
  619. package/dist/collection/components/graph/graph.js +1 -1
  620. package/dist/collection/components/graph/util.js +1 -1
  621. package/dist/collection/components/handle/handle.css +5 -5
  622. package/dist/collection/components/handle/handle.e2e.js +1 -1
  623. package/dist/collection/components/handle/handle.js +1 -1
  624. package/dist/collection/components/handle/resources.js +1 -1
  625. package/dist/collection/components/icon/icon.css +5 -5
  626. package/dist/collection/components/icon/icon.e2e.js +1 -1
  627. package/dist/collection/components/icon/icon.js +1 -1
  628. package/dist/collection/components/icon/resources.js +1 -1
  629. package/dist/collection/components/icon/utils.js +1 -1
  630. package/dist/collection/components/icon/utils.spec.js +1 -1
  631. package/dist/collection/components/inline-editable/inline-editable.css +5 -5
  632. package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
  633. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  634. package/dist/collection/components/inline-editable/resources.js +1 -1
  635. package/dist/collection/components/input/common/tests.js +1 -1
  636. package/dist/collection/components/input/input.css +5 -5
  637. package/dist/collection/components/input/input.e2e.js +22 -6
  638. package/dist/collection/components/input/input.e2e.js.map +1 -1
  639. package/dist/collection/components/input/input.js +37 -13
  640. package/dist/collection/components/input/input.js.map +1 -1
  641. package/dist/collection/components/input/resources.js +1 -1
  642. package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
  643. package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
  644. package/dist/collection/components/input-date-picker/input-date-picker.js +3 -3
  645. package/dist/collection/components/input-date-picker/input-date-picker.js.map +1 -1
  646. package/dist/collection/components/input-date-picker/resources.js +1 -1
  647. package/dist/collection/components/input-date-picker/util.spec.js +1 -1
  648. package/dist/collection/components/input-date-picker/utils.js +1 -1
  649. package/dist/collection/components/input-message/input-message.css +5 -5
  650. package/dist/collection/components/input-message/input-message.e2e.js +1 -1
  651. package/dist/collection/components/input-message/input-message.js +1 -1
  652. package/dist/collection/components/input-message/interfaces.js +1 -1
  653. package/dist/collection/components/input-number/input-number.css +5 -5
  654. package/dist/collection/components/input-number/input-number.e2e.js +17 -1
  655. package/dist/collection/components/input-number/input-number.e2e.js.map +1 -1
  656. package/dist/collection/components/input-number/input-number.js +36 -12
  657. package/dist/collection/components/input-number/input-number.js.map +1 -1
  658. package/dist/collection/components/input-number/resources.js +1 -1
  659. package/dist/collection/components/input-text/input-text.css +5 -5
  660. package/dist/collection/components/input-text/input-text.e2e.js +1 -1
  661. package/dist/collection/components/input-text/input-text.js +2 -2
  662. package/dist/collection/components/input-text/input-text.js.map +1 -1
  663. package/dist/collection/components/input-text/resources.js +1 -1
  664. package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
  665. package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
  666. package/dist/collection/components/input-time-picker/input-time-picker.js +3 -3
  667. package/dist/collection/components/input-time-picker/input-time-picker.js.map +1 -1
  668. package/dist/collection/components/input-time-picker/resources.js +1 -1
  669. package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
  670. package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
  671. package/dist/collection/components/input-time-zone/input-time-zone.js +8 -8
  672. package/dist/collection/components/input-time-zone/input-time-zone.js.map +1 -1
  673. package/dist/collection/components/input-time-zone/utils.js +1 -1
  674. package/dist/collection/components/label/label.css +5 -5
  675. package/dist/collection/components/label/label.e2e.js +1 -1
  676. package/dist/collection/components/label/label.js +1 -1
  677. package/dist/collection/components/label/resources.js +1 -1
  678. package/dist/collection/components/link/link.css +5 -5
  679. package/dist/collection/components/link/link.e2e.js +1 -1
  680. package/dist/collection/components/link/link.js +1 -1
  681. package/dist/collection/components/list/list.css +5 -5
  682. package/dist/collection/components/list/list.e2e.js +1 -1
  683. package/dist/collection/components/list/list.js +1 -1
  684. package/dist/collection/components/list/resources.js +1 -1
  685. package/dist/collection/components/list-item/list-item.css +5 -5
  686. package/dist/collection/components/list-item/list-item.e2e.js +1 -1
  687. package/dist/collection/components/list-item/list-item.js +1 -1
  688. package/dist/collection/components/list-item/resources.js +1 -1
  689. package/dist/collection/components/list-item/utils.js +1 -1
  690. package/dist/collection/components/list-item-group/list-item-group.css +5 -5
  691. package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
  692. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  693. package/dist/collection/components/list-item-group/resources.js +1 -1
  694. package/dist/collection/components/loader/loader.css +5 -5
  695. package/dist/collection/components/loader/loader.e2e.js +1 -1
  696. package/dist/collection/components/loader/loader.js +1 -1
  697. package/dist/collection/components/menu/menu.css +5 -5
  698. package/dist/collection/components/menu/menu.e2e.js +1 -1
  699. package/dist/collection/components/menu/menu.js +1 -1
  700. package/dist/collection/components/menu-item/menu-item.css +5 -5
  701. package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
  702. package/dist/collection/components/menu-item/menu-item.js +1 -1
  703. package/dist/collection/components/menu-item/resources.js +1 -1
  704. package/dist/collection/components/meter/meter.css +5 -5
  705. package/dist/collection/components/meter/meter.e2e.js +1 -1
  706. package/dist/collection/components/meter/meter.js +2 -2
  707. package/dist/collection/components/meter/meter.js.map +1 -1
  708. package/dist/collection/components/meter/resources.js +1 -1
  709. package/dist/collection/components/modal/modal.css +6 -6
  710. package/dist/collection/components/modal/modal.e2e.js +1 -1
  711. package/dist/collection/components/modal/modal.js +1 -1
  712. package/dist/collection/components/modal/resources.js +1 -1
  713. package/dist/collection/components/navigation/navigation.css +5 -5
  714. package/dist/collection/components/navigation/navigation.e2e.js +1 -1
  715. package/dist/collection/components/navigation/navigation.js +1 -1
  716. package/dist/collection/components/navigation/resources.js +1 -1
  717. package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
  718. package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
  719. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  720. package/dist/collection/components/navigation-logo/resources.js +1 -1
  721. package/dist/collection/components/navigation-user/navigation-user.css +5 -5
  722. package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
  723. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  724. package/dist/collection/components/navigation-user/resources.js +1 -1
  725. package/dist/collection/components/notice/notice.css +5 -5
  726. package/dist/collection/components/notice/notice.e2e.js +1 -1
  727. package/dist/collection/components/notice/notice.js +1 -1
  728. package/dist/collection/components/notice/resources.js +1 -1
  729. package/dist/collection/components/option/option.css +5 -5
  730. package/dist/collection/components/option/option.e2e.js +1 -1
  731. package/dist/collection/components/option/option.js +1 -1
  732. package/dist/collection/components/option-group/option-group.css +5 -5
  733. package/dist/collection/components/option-group/option-group.e2e.js +1 -1
  734. package/dist/collection/components/option-group/option-group.js +1 -1
  735. package/dist/collection/components/pagination/pagination.css +5 -5
  736. package/dist/collection/components/pagination/pagination.e2e.js +1 -1
  737. package/dist/collection/components/pagination/pagination.js +1 -1
  738. package/dist/collection/components/pagination/resources.js +1 -1
  739. package/dist/collection/components/panel/panel.css +5 -5
  740. package/dist/collection/components/panel/panel.e2e.js +1 -1
  741. package/dist/collection/components/panel/panel.js +1 -1
  742. package/dist/collection/components/panel/resources.js +1 -1
  743. package/dist/collection/components/pick-list/pick-list.css +5 -5
  744. package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
  745. package/dist/collection/components/pick-list/pick-list.js +1 -1
  746. package/dist/collection/components/pick-list/resources.js +1 -1
  747. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  748. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  749. package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
  750. package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
  751. package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
  752. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  753. package/dist/collection/components/pick-list-group/resources.js +1 -1
  754. package/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
  755. package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
  756. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  757. package/dist/collection/components/pick-list-item/resources.js +1 -1
  758. package/dist/collection/components/popover/PopoverManager.js +1 -1
  759. package/dist/collection/components/popover/popover.css +5 -5
  760. package/dist/collection/components/popover/popover.e2e.js +1 -1
  761. package/dist/collection/components/popover/popover.js +1 -1
  762. package/dist/collection/components/popover/resources.js +1 -1
  763. package/dist/collection/components/progress/progress.css +5 -5
  764. package/dist/collection/components/progress/progress.e2e.js +1 -1
  765. package/dist/collection/components/progress/progress.js +1 -1
  766. package/dist/collection/components/radio-button/radio-button.css +5 -5
  767. package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
  768. package/dist/collection/components/radio-button/radio-button.js +2 -2
  769. package/dist/collection/components/radio-button/radio-button.js.map +1 -1
  770. package/dist/collection/components/radio-button/resources.js +1 -1
  771. package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
  772. package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
  773. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  774. package/dist/collection/components/rating/functional/star.js +1 -1
  775. package/dist/collection/components/rating/rating.css +5 -5
  776. package/dist/collection/components/rating/rating.e2e.js +1 -1
  777. package/dist/collection/components/rating/rating.js +2 -2
  778. package/dist/collection/components/rating/rating.js.map +1 -1
  779. package/dist/collection/components/resources.js +1 -1
  780. package/dist/collection/components/scrim/resources.js +1 -1
  781. package/dist/collection/components/scrim/scrim.css +5 -5
  782. package/dist/collection/components/scrim/scrim.e2e.js +1 -1
  783. package/dist/collection/components/scrim/scrim.js +1 -1
  784. package/dist/collection/components/segmented-control/segmented-control.css +5 -5
  785. package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
  786. package/dist/collection/components/segmented-control/segmented-control.js +2 -2
  787. package/dist/collection/components/segmented-control/segmented-control.js.map +1 -1
  788. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  789. package/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
  790. package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
  791. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  792. package/dist/collection/components/select/resources.js +1 -1
  793. package/dist/collection/components/select/select.css +5 -5
  794. package/dist/collection/components/select/select.e2e.js +1 -1
  795. package/dist/collection/components/select/select.js +2 -2
  796. package/dist/collection/components/select/select.js.map +1 -1
  797. package/dist/collection/components/sheet/resources.js +1 -1
  798. package/dist/collection/components/sheet/sheet.css +5 -5
  799. package/dist/collection/components/sheet/sheet.e2e.js +1 -1
  800. package/dist/collection/components/sheet/sheet.js +1 -1
  801. package/dist/collection/components/shell/resources.js +1 -1
  802. package/dist/collection/components/shell/shell.css +5 -5
  803. package/dist/collection/components/shell/shell.e2e.js +1 -1
  804. package/dist/collection/components/shell/shell.js +1 -1
  805. package/dist/collection/components/shell-center-row/resources.js +1 -1
  806. package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
  807. package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
  808. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  809. package/dist/collection/components/shell-panel/resources.js +1 -1
  810. package/dist/collection/components/shell-panel/shell-panel.css +5 -5
  811. package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
  812. package/dist/collection/components/shell-panel/shell-panel.js +2 -2
  813. package/dist/collection/components/shell-panel/shell-panel.js.map +1 -1
  814. package/dist/collection/components/slider/resources.js +1 -1
  815. package/dist/collection/components/slider/slider.css +5 -5
  816. package/dist/collection/components/slider/slider.e2e.js +1 -1
  817. package/dist/collection/components/slider/slider.js +2 -2
  818. package/dist/collection/components/slider/slider.js.map +1 -1
  819. package/dist/collection/components/sortable-list/resources.js +1 -1
  820. package/dist/collection/components/sortable-list/sortable-list.css +5 -5
  821. package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
  822. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  823. package/dist/collection/components/split-button/resources.js +1 -1
  824. package/dist/collection/components/split-button/split-button.css +5 -5
  825. package/dist/collection/components/split-button/split-button.e2e.js +1 -1
  826. package/dist/collection/components/split-button/split-button.js +1 -1
  827. package/dist/collection/components/stack/resources.js +1 -1
  828. package/dist/collection/components/stack/stack.css +5 -5
  829. package/dist/collection/components/stack/stack.e2e.js +1 -1
  830. package/dist/collection/components/stack/stack.js +1 -1
  831. package/dist/collection/components/stepper/functional/step-bar.js +1 -1
  832. package/dist/collection/components/stepper/resources.js +1 -1
  833. package/dist/collection/components/stepper/stepper.css +5 -5
  834. package/dist/collection/components/stepper/stepper.e2e.js +1 -1
  835. package/dist/collection/components/stepper/stepper.js +1 -1
  836. package/dist/collection/components/stepper-item/resources.js +1 -1
  837. package/dist/collection/components/stepper-item/stepper-item.css +5 -5
  838. package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
  839. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  840. package/dist/collection/components/switch/switch.css +5 -5
  841. package/dist/collection/components/switch/switch.e2e.js +1 -1
  842. package/dist/collection/components/switch/switch.js +2 -2
  843. package/dist/collection/components/switch/switch.js.map +1 -1
  844. package/dist/collection/components/tab/resources.js +1 -1
  845. package/dist/collection/components/tab/tab.css +5 -5
  846. package/dist/collection/components/tab/tab.e2e.js +1 -1
  847. package/dist/collection/components/tab/tab.js +1 -1
  848. package/dist/collection/components/tab-nav/resources.js +1 -1
  849. package/dist/collection/components/tab-nav/tab-nav.css +5 -5
  850. package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
  851. package/dist/collection/components/tab-nav/tab-nav.js +6 -1
  852. package/dist/collection/components/tab-nav/tab-nav.js.map +1 -1
  853. package/dist/collection/components/tab-title/resources.js +1 -1
  854. package/dist/collection/components/tab-title/tab-title.css +5 -5
  855. package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
  856. package/dist/collection/components/tab-title/tab-title.js +48 -18
  857. package/dist/collection/components/tab-title/tab-title.js.map +1 -1
  858. package/dist/collection/components/table/resources.js +1 -1
  859. package/dist/collection/components/table/table.css +5 -5
  860. package/dist/collection/components/table/table.e2e.js +1 -1
  861. package/dist/collection/components/table/table.js +1 -1
  862. package/dist/collection/components/table-cell/resources.js +1 -1
  863. package/dist/collection/components/table-cell/table-cell.css +5 -5
  864. package/dist/collection/components/table-cell/table-cell.js +1 -1
  865. package/dist/collection/components/table-header/resources.js +1 -1
  866. package/dist/collection/components/table-header/table-header.css +5 -5
  867. package/dist/collection/components/table-header/table-header.js +1 -1
  868. package/dist/collection/components/table-row/resources.js +1 -1
  869. package/dist/collection/components/table-row/table-row.css +5 -5
  870. package/dist/collection/components/table-row/table-row.js +1 -1
  871. package/dist/collection/components/tabs/resources.js +1 -1
  872. package/dist/collection/components/tabs/tabs.css +5 -5
  873. package/dist/collection/components/tabs/tabs.e2e.js +60 -1
  874. package/dist/collection/components/tabs/tabs.e2e.js.map +1 -1
  875. package/dist/collection/components/tabs/tabs.js +1 -1
  876. package/dist/collection/components/text-area/resources.js +1 -1
  877. package/dist/collection/components/text-area/text-area.css +5 -5
  878. package/dist/collection/components/text-area/text-area.e2e.js +1 -1
  879. package/dist/collection/components/text-area/text-area.js +2 -2
  880. package/dist/collection/components/text-area/text-area.js.map +1 -1
  881. package/dist/collection/components/tile/resources.js +1 -1
  882. package/dist/collection/components/tile/tile.css +5 -5
  883. package/dist/collection/components/tile/tile.e2e.js +1 -1
  884. package/dist/collection/components/tile/tile.js +1 -1
  885. package/dist/collection/components/tile-select/resources.js +1 -1
  886. package/dist/collection/components/tile-select/tile-select.css +5 -5
  887. package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
  888. package/dist/collection/components/tile-select/tile-select.js +2 -2
  889. package/dist/collection/components/tile-select/tile-select.js.map +1 -1
  890. package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
  891. package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
  892. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  893. package/dist/collection/components/time-picker/resources.js +1 -1
  894. package/dist/collection/components/time-picker/time-picker.css +5 -5
  895. package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
  896. package/dist/collection/components/time-picker/time-picker.js +1 -1
  897. package/dist/collection/components/tip/resources.js +1 -1
  898. package/dist/collection/components/tip/tip.css +5 -5
  899. package/dist/collection/components/tip/tip.e2e.js +1 -1
  900. package/dist/collection/components/tip/tip.js +1 -1
  901. package/dist/collection/components/tip-group/tip-group.css +5 -5
  902. package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
  903. package/dist/collection/components/tip-group/tip-group.js +1 -1
  904. package/dist/collection/components/tip-manager/resources.js +1 -1
  905. package/dist/collection/components/tip-manager/tip-manager.css +5 -5
  906. package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
  907. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  908. package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
  909. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  910. package/dist/collection/components/tooltip/resources.js +1 -1
  911. package/dist/collection/components/tooltip/tooltip.css +5 -5
  912. package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
  913. package/dist/collection/components/tooltip/tooltip.js +1 -1
  914. package/dist/collection/components/tooltip/utils.js +1 -1
  915. package/dist/collection/components/tree/tree.css +5 -5
  916. package/dist/collection/components/tree/tree.e2e.js +1 -1
  917. package/dist/collection/components/tree/tree.js +2 -2
  918. package/dist/collection/components/tree/tree.js.map +1 -1
  919. package/dist/collection/components/tree/utils.js +1 -1
  920. package/dist/collection/components/tree-item/resources.js +1 -1
  921. package/dist/collection/components/tree-item/tree-item.css +5 -5
  922. package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
  923. package/dist/collection/components/tree-item/tree-item.js +1 -1
  924. package/dist/collection/components/value-list/resources.js +1 -1
  925. package/dist/collection/components/value-list/utils.js +1 -1
  926. package/dist/collection/components/value-list/value-list.css +5 -5
  927. package/dist/collection/components/value-list/value-list.e2e.js +1 -1
  928. package/dist/collection/components/value-list/value-list.js +1 -1
  929. package/dist/collection/components/value-list-item/resources.js +1 -1
  930. package/dist/collection/components/value-list-item/value-list-item.css +5 -5
  931. package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
  932. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  933. package/dist/collection/index.js +1 -1
  934. package/dist/collection/tests/commonTests.js +1 -1
  935. package/dist/collection/tests/utils.js +1 -1
  936. package/dist/collection/utils/array.js +1 -1
  937. package/dist/collection/utils/browser.js +1 -1
  938. package/dist/collection/utils/component.js +1 -1
  939. package/dist/collection/utils/component.spec.js +1 -1
  940. package/dist/collection/utils/conditionalSlot.js +1 -1
  941. package/dist/collection/utils/config.js +1 -1
  942. package/dist/collection/utils/config.spec.js +1 -1
  943. package/dist/collection/utils/date.js +1 -1
  944. package/dist/collection/utils/date.spec.js +1 -1
  945. package/dist/collection/utils/dom.e2e.js +1 -1
  946. package/dist/collection/utils/dom.js +1 -1
  947. package/dist/collection/utils/dom.spec.js +1 -1
  948. package/dist/collection/utils/filter.js +1 -1
  949. package/dist/collection/utils/floating-ui.js +1 -1
  950. package/dist/collection/utils/floating-ui.spec.js +1 -1
  951. package/dist/collection/utils/focusTrapComponent.js +1 -1
  952. package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
  953. package/dist/collection/utils/form.js +1 -1
  954. package/dist/collection/utils/form.spec.js +1 -1
  955. package/dist/collection/utils/globalScript.js +1 -1
  956. package/dist/collection/utils/guid.js +1 -1
  957. package/dist/collection/utils/guid.spec.js +1 -1
  958. package/dist/collection/utils/interactive.js +1 -1
  959. package/dist/collection/utils/interactive.spec.js +1 -1
  960. package/dist/collection/utils/key.js +1 -1
  961. package/dist/collection/utils/label.js +1 -1
  962. package/dist/collection/utils/label.spec.js +1 -1
  963. package/dist/collection/utils/loadable.js +1 -1
  964. package/dist/collection/utils/loadable.spec.js +1 -1
  965. package/dist/collection/utils/locale.js +1 -1
  966. package/dist/collection/utils/locale.spec.js +1 -1
  967. package/dist/collection/utils/math.js +1 -1
  968. package/dist/collection/utils/math.spec.js +1 -1
  969. package/dist/collection/utils/mode.js +1 -1
  970. package/dist/collection/utils/number.js +1 -1
  971. package/dist/collection/utils/number.spec.js +1 -1
  972. package/dist/collection/utils/observers.js +1 -1
  973. package/dist/collection/utils/openCloseComponent.js +1 -1
  974. package/dist/collection/utils/resources.js +1 -1
  975. package/dist/collection/utils/responsive.js +1 -1
  976. package/dist/collection/utils/responsive.spec.js +1 -1
  977. package/dist/collection/utils/sortableComponent.js +1 -1
  978. package/dist/collection/utils/t9n.js +1 -1
  979. package/dist/collection/utils/time.js +1 -1
  980. package/dist/collection/utils/time.spec.js +1 -1
  981. package/dist/components/ExpandToggle.js +1 -1
  982. package/dist/components/FloatingArrow.js +1 -1
  983. package/dist/components/Heading.js +1 -1
  984. package/dist/components/Validation.js +1 -1
  985. package/dist/components/action-group.js +1 -1
  986. package/dist/components/action-menu.js +6 -5
  987. package/dist/components/action-menu.js.map +1 -1
  988. package/dist/components/action.js +1 -1
  989. package/dist/components/ar.js +1 -1
  990. package/dist/components/array.js +1 -1
  991. package/dist/components/avatar.js +1 -1
  992. package/dist/components/bg.js +1 -1
  993. package/dist/components/bs.js +1 -1
  994. package/dist/components/button.js +3 -2
  995. package/dist/components/button.js.map +1 -1
  996. package/dist/components/ca.js +1 -1
  997. package/dist/components/calcite-accordion-item.js +1 -1
  998. package/dist/components/calcite-accordion.js +1 -1
  999. package/dist/components/calcite-action-bar.js +1 -1
  1000. package/dist/components/calcite-action-group.js +1 -1
  1001. package/dist/components/calcite-action-menu.js +1 -1
  1002. package/dist/components/calcite-action-pad.js +1 -1
  1003. package/dist/components/calcite-action.js +1 -1
  1004. package/dist/components/calcite-alert.js +1 -1
  1005. package/dist/components/calcite-avatar.js +1 -1
  1006. package/dist/components/calcite-block-section.js +1 -1
  1007. package/dist/components/calcite-block-section.js.map +1 -1
  1008. package/dist/components/calcite-block.js +1 -1
  1009. package/dist/components/calcite-button.js +1 -1
  1010. package/dist/components/calcite-card.js +1 -1
  1011. package/dist/components/calcite-checkbox.js +1 -1
  1012. package/dist/components/calcite-chip-group.js +1 -1
  1013. package/dist/components/calcite-chip.js +1 -1
  1014. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  1015. package/dist/components/calcite-color-picker-swatch.js +1 -1
  1016. package/dist/components/calcite-color-picker.js +1 -1
  1017. package/dist/components/calcite-combobox-item-group.js +1 -1
  1018. package/dist/components/calcite-combobox-item.js +1 -1
  1019. package/dist/components/calcite-combobox.js +1 -1
  1020. package/dist/components/calcite-date-picker-day.js +1 -1
  1021. package/dist/components/calcite-date-picker-month-header.js +1 -1
  1022. package/dist/components/calcite-date-picker-month.js +1 -1
  1023. package/dist/components/calcite-date-picker.js +1 -1
  1024. package/dist/components/calcite-dropdown-group.js +1 -1
  1025. package/dist/components/calcite-dropdown-item.js +1 -1
  1026. package/dist/components/calcite-dropdown.js +1 -1
  1027. package/dist/components/calcite-fab.js +1 -1
  1028. package/dist/components/calcite-fab.js.map +1 -1
  1029. package/dist/components/calcite-filter.js +1 -1
  1030. package/dist/components/calcite-flow-item.js +1 -1
  1031. package/dist/components/calcite-flow.js +1 -1
  1032. package/dist/components/calcite-graph.js +1 -1
  1033. package/dist/components/calcite-handle.js +1 -1
  1034. package/dist/components/calcite-icon.js +1 -1
  1035. package/dist/components/calcite-inline-editable.js +1 -1
  1036. package/dist/components/calcite-input-date-picker.js +1 -1
  1037. package/dist/components/calcite-input-date-picker.js.map +1 -1
  1038. package/dist/components/calcite-input-message.js +1 -1
  1039. package/dist/components/calcite-input-number.js +1 -1
  1040. package/dist/components/calcite-input-text.js +1 -1
  1041. package/dist/components/calcite-input-time-picker.js +1 -1
  1042. package/dist/components/calcite-input-time-picker.js.map +1 -1
  1043. package/dist/components/calcite-input-time-zone.js +1 -1
  1044. package/dist/components/calcite-input-time-zone.js.map +1 -1
  1045. package/dist/components/calcite-input.js +1 -1
  1046. package/dist/components/calcite-label.js +1 -1
  1047. package/dist/components/calcite-link.js +1 -1
  1048. package/dist/components/calcite-list-item-group.js +1 -1
  1049. package/dist/components/calcite-list-item.js +1 -1
  1050. package/dist/components/calcite-list.js +1 -1
  1051. package/dist/components/calcite-loader.js +1 -1
  1052. package/dist/components/calcite-menu-item.js +1 -1
  1053. package/dist/components/calcite-menu.js +1 -1
  1054. package/dist/components/calcite-meter.js +1 -1
  1055. package/dist/components/calcite-meter.js.map +1 -1
  1056. package/dist/components/calcite-modal.js +1 -1
  1057. package/dist/components/calcite-navigation-logo.js +1 -1
  1058. package/dist/components/calcite-navigation-user.js +1 -1
  1059. package/dist/components/calcite-navigation.js +1 -1
  1060. package/dist/components/calcite-notice.js +1 -1
  1061. package/dist/components/calcite-option-group.js +1 -1
  1062. package/dist/components/calcite-option.js +1 -1
  1063. package/dist/components/calcite-pagination.js +1 -1
  1064. package/dist/components/calcite-panel.js +1 -1
  1065. package/dist/components/calcite-pick-list-group.js +1 -1
  1066. package/dist/components/calcite-pick-list-item.js +1 -1
  1067. package/dist/components/calcite-pick-list.js +1 -1
  1068. package/dist/components/calcite-popover.js +1 -1
  1069. package/dist/components/calcite-progress.js +1 -1
  1070. package/dist/components/calcite-radio-button-group.js +1 -1
  1071. package/dist/components/calcite-radio-button.js +1 -1
  1072. package/dist/components/calcite-radio-button.js.map +1 -1
  1073. package/dist/components/calcite-rating.js +1 -1
  1074. package/dist/components/calcite-rating.js.map +1 -1
  1075. package/dist/components/calcite-scrim.js +1 -1
  1076. package/dist/components/calcite-segmented-control-item.js +1 -1
  1077. package/dist/components/calcite-segmented-control.js +1 -1
  1078. package/dist/components/calcite-segmented-control.js.map +1 -1
  1079. package/dist/components/calcite-select.js +1 -1
  1080. package/dist/components/calcite-select.js.map +1 -1
  1081. package/dist/components/calcite-sheet.js +1 -1
  1082. package/dist/components/calcite-shell-center-row.js +1 -1
  1083. package/dist/components/calcite-shell-panel.js +1 -1
  1084. package/dist/components/calcite-shell-panel.js.map +1 -1
  1085. package/dist/components/calcite-shell.js +1 -1
  1086. package/dist/components/calcite-slider.js +1 -1
  1087. package/dist/components/calcite-slider.js.map +1 -1
  1088. package/dist/components/calcite-sortable-list.js +1 -1
  1089. package/dist/components/calcite-split-button.js +1 -1
  1090. package/dist/components/calcite-stack.js +1 -1
  1091. package/dist/components/calcite-stepper-item.js +1 -1
  1092. package/dist/components/calcite-stepper.js +1 -1
  1093. package/dist/components/calcite-switch.js +1 -1
  1094. package/dist/components/calcite-tab-nav.js +1 -1
  1095. package/dist/components/calcite-tab-title.js +1 -1
  1096. package/dist/components/calcite-tab.js +1 -1
  1097. package/dist/components/calcite-table-cell.js +1 -1
  1098. package/dist/components/calcite-table-header.js +1 -1
  1099. package/dist/components/calcite-table-row.js +1 -1
  1100. package/dist/components/calcite-table.js +1 -1
  1101. package/dist/components/calcite-tabs.js +1 -1
  1102. package/dist/components/calcite-text-area.js +1 -1
  1103. package/dist/components/calcite-text-area.js.map +1 -1
  1104. package/dist/components/calcite-tile-select-group.js +1 -1
  1105. package/dist/components/calcite-tile-select.js +1 -1
  1106. package/dist/components/calcite-tile-select.js.map +1 -1
  1107. package/dist/components/calcite-tile.js +1 -1
  1108. package/dist/components/calcite-time-picker.js +1 -1
  1109. package/dist/components/calcite-tip-group.js +1 -1
  1110. package/dist/components/calcite-tip-manager.js +1 -1
  1111. package/dist/components/calcite-tip.js +1 -1
  1112. package/dist/components/calcite-tooltip.js +1 -1
  1113. package/dist/components/calcite-tree-item.js +1 -1
  1114. package/dist/components/calcite-tree.js +1 -1
  1115. package/dist/components/calcite-tree.js.map +1 -1
  1116. package/dist/components/calcite-value-list-item.js +1 -1
  1117. package/dist/components/calcite-value-list.js +1 -1
  1118. package/dist/components/checkbox.js +1 -1
  1119. package/dist/components/checkbox.js.map +1 -1
  1120. package/dist/components/chip.js +1 -1
  1121. package/dist/components/chip.js.map +1 -1
  1122. package/dist/components/color-picker-hex-input.js +1 -1
  1123. package/dist/components/color-picker-swatch.js +1 -1
  1124. package/dist/components/combobox-item.js +1 -1
  1125. package/dist/components/combobox.js +2 -2
  1126. package/dist/components/combobox.js.map +1 -1
  1127. package/dist/components/component.js +1 -1
  1128. package/dist/components/conditionalSlot.js +1 -1
  1129. package/dist/components/cs.js +1 -1
  1130. package/dist/components/da.js +1 -1
  1131. package/dist/components/date-picker-day.js +1 -1
  1132. package/dist/components/date-picker-month-header.js +1 -1
  1133. package/dist/components/date-picker-month.js +1 -1
  1134. package/dist/components/date-picker.js +1 -1
  1135. package/dist/components/date.js +1 -1
  1136. package/dist/components/de-at.js +1 -1
  1137. package/dist/components/de-ch.js +1 -1
  1138. package/dist/components/de.js +1 -1
  1139. package/dist/components/debounce.js +1 -1
  1140. package/dist/components/dom.js +1 -1
  1141. package/dist/components/dropdown.js +1 -1
  1142. package/dist/components/el.js +1 -1
  1143. package/dist/components/en-au.js +1 -1
  1144. package/dist/components/en-ca.js +1 -1
  1145. package/dist/components/en-gb.js +1 -1
  1146. package/dist/components/es-mx.js +1 -1
  1147. package/dist/components/es.js +1 -1
  1148. package/dist/components/et.js +1 -1
  1149. package/dist/components/fi.js +1 -1
  1150. package/dist/components/filter.js +1 -1
  1151. package/dist/components/filter2.js +1 -1
  1152. package/dist/components/floating-ui.js +1 -1
  1153. package/dist/components/focusTrapComponent.js +1 -1
  1154. package/dist/components/form.js +1 -1
  1155. package/dist/components/fr-ch.js +1 -1
  1156. package/dist/components/fr.js +1 -1
  1157. package/dist/components/graph.js +1 -1
  1158. package/dist/components/guid.js +1 -1
  1159. package/dist/components/handle.js +1 -1
  1160. package/dist/components/he.js +1 -1
  1161. package/dist/components/hi.js +1 -1
  1162. package/dist/components/hr.js +1 -1
  1163. package/dist/components/hu.js +1 -1
  1164. package/dist/components/icon.js +1 -1
  1165. package/dist/components/id.js +1 -1
  1166. package/dist/components/index.js +1 -1
  1167. package/dist/components/index2.js +1 -1
  1168. package/dist/components/index3.js +1 -1
  1169. package/dist/components/index4.js +1 -1
  1170. package/dist/components/input-message.js +1 -1
  1171. package/dist/components/input-number.js +35 -11
  1172. package/dist/components/input-number.js.map +1 -1
  1173. package/dist/components/input-text.js +1 -1
  1174. package/dist/components/input-text.js.map +1 -1
  1175. package/dist/components/input.js +36 -12
  1176. package/dist/components/input.js.map +1 -1
  1177. package/dist/components/interactive.js +1 -1
  1178. package/dist/components/it-ch.js +1 -1
  1179. package/dist/components/it.js +1 -1
  1180. package/dist/components/ja.js +1 -1
  1181. package/dist/components/key.js +1 -1
  1182. package/dist/components/ko.js +1 -1
  1183. package/dist/components/label.js +1 -1
  1184. package/dist/components/label2.js +1 -1
  1185. package/dist/components/link.js +1 -1
  1186. package/dist/components/loadable.js +1 -1
  1187. package/dist/components/loader.js +1 -1
  1188. package/dist/components/locale.js +1 -1
  1189. package/dist/components/lt.js +1 -1
  1190. package/dist/components/lv.js +1 -1
  1191. package/dist/components/math.js +1 -1
  1192. package/dist/components/menu.js +1 -1
  1193. package/dist/components/mk.js +1 -1
  1194. package/dist/components/nb.js +1 -1
  1195. package/dist/components/nl.js +1 -1
  1196. package/dist/components/observers.js +1 -1
  1197. package/dist/components/openCloseComponent.js +1 -1
  1198. package/dist/components/pagination.js +2 -2
  1199. package/dist/components/pagination.js.map +1 -1
  1200. package/dist/components/panel.js +1 -1
  1201. package/dist/components/pick-list-item.js +1 -1
  1202. package/dist/components/pl.js +1 -1
  1203. package/dist/components/popover.js +1 -1
  1204. package/dist/components/progress.js +1 -1
  1205. package/dist/components/pt-br.js +1 -1
  1206. package/dist/components/pt.js +1 -1
  1207. package/dist/components/resources.js +1 -1
  1208. package/dist/components/resources2.js +1 -1
  1209. package/dist/components/resources3.js +1 -1
  1210. package/dist/components/resources4.js +1 -1
  1211. package/dist/components/resources5.js +1 -1
  1212. package/dist/components/ro.js +1 -1
  1213. package/dist/components/ru.js +1 -1
  1214. package/dist/components/scrim.js +1 -1
  1215. package/dist/components/shared-list-render.js +1 -1
  1216. package/dist/components/sk.js +1 -1
  1217. package/dist/components/sl.js +1 -1
  1218. package/dist/components/sortableComponent.js +1 -1
  1219. package/dist/components/sr.js +1 -1
  1220. package/dist/components/stack.js +1 -1
  1221. package/dist/components/sv.js +1 -1
  1222. package/dist/components/switch.js +1 -1
  1223. package/dist/components/switch.js.map +1 -1
  1224. package/dist/components/t9n.js +1 -1
  1225. package/dist/components/tab-nav.js +6 -1
  1226. package/dist/components/tab-nav.js.map +1 -1
  1227. package/dist/components/tab-title.js +23 -19
  1228. package/dist/components/tab-title.js.map +1 -1
  1229. package/dist/components/tab.js +1 -1
  1230. package/dist/components/table-cell.js +1 -1
  1231. package/dist/components/table-header.js +1 -1
  1232. package/dist/components/tabs.js +1 -1
  1233. package/dist/components/th.js +1 -1
  1234. package/dist/components/throttle.js +1 -1
  1235. package/dist/components/time-picker.js +1 -1
  1236. package/dist/components/tr.js +1 -1
  1237. package/dist/components/uk.js +1 -1
  1238. package/dist/components/utils.js +1 -1
  1239. package/dist/components/utils2.js +1 -1
  1240. package/dist/components/utils3.js +1 -1
  1241. package/dist/components/vi.js +1 -1
  1242. package/dist/components/zh-cn.js +1 -1
  1243. package/dist/components/zh-hk.js +1 -1
  1244. package/dist/components/zh-tw.js +1 -1
  1245. package/dist/esm/ExpandToggle-07dbce52.js +102 -0
  1246. package/dist/esm/ExpandToggle-07dbce52.js.map +1 -0
  1247. package/dist/esm/FloatingArrow-f9a2e496.js +47 -0
  1248. package/dist/esm/FloatingArrow-f9a2e496.js.map +1 -0
  1249. package/dist/esm/Heading-164f1e77.js +19 -0
  1250. package/dist/esm/Heading-164f1e77.js.map +1 -0
  1251. package/dist/esm/Validation-da833f08.js +16 -0
  1252. package/dist/esm/Validation-da833f08.js.map +1 -0
  1253. package/dist/esm/app-globals-c215a251.js +59 -0
  1254. package/dist/esm/app-globals-c215a251.js.map +1 -0
  1255. package/dist/esm/ar-c4e725b8.js +104 -0
  1256. package/dist/esm/ar-c4e725b8.js.map +1 -0
  1257. package/dist/esm/array-197a50c0.js +12 -0
  1258. package/dist/esm/array-197a50c0.js.map +1 -0
  1259. package/dist/esm/bg-b02db203.js +82 -0
  1260. package/dist/esm/bg-b02db203.js.map +1 -0
  1261. package/dist/esm/browser-a02f252b.js +18 -0
  1262. package/dist/esm/browser-a02f252b.js.map +1 -0
  1263. package/dist/esm/bs-42a2b008.js +51 -0
  1264. package/dist/esm/bs-42a2b008.js.map +1 -0
  1265. package/dist/esm/ca-4fd0e865.js +71 -0
  1266. package/dist/esm/ca-4fd0e865.js.map +1 -0
  1267. package/dist/esm/calcite-accordion_2.entry.js +8 -8
  1268. package/dist/esm/calcite-action-bar.entry.js +15 -15
  1269. package/dist/esm/calcite-action-group.entry.js +13 -13
  1270. package/dist/esm/calcite-action-menu.entry.js +14 -13
  1271. package/dist/esm/calcite-action-menu.entry.js.map +1 -1
  1272. package/dist/esm/calcite-action-pad.entry.js +14 -14
  1273. package/dist/esm/calcite-action.entry.js +13 -13
  1274. package/dist/esm/calcite-alert.entry.js +13 -13
  1275. package/dist/esm/calcite-avatar.entry.js +6 -6
  1276. package/dist/esm/calcite-block_2.entry.js +15 -15
  1277. package/dist/esm/calcite-block_2.entry.js.map +1 -1
  1278. package/dist/esm/calcite-button.entry.js +17 -16
  1279. package/dist/esm/calcite-button.entry.js.map +1 -1
  1280. package/dist/esm/calcite-card.entry.js +10 -10
  1281. package/dist/esm/calcite-checkbox.entry.js +12 -12
  1282. package/dist/esm/calcite-checkbox.entry.js.map +1 -1
  1283. package/dist/esm/calcite-chip-group.entry.js +9 -9
  1284. package/dist/esm/calcite-chip.entry.js +14 -14
  1285. package/dist/esm/calcite-chip.entry.js.map +1 -1
  1286. package/dist/esm/calcite-color-picker_3.entry.js +16 -16
  1287. package/dist/esm/calcite-combobox_3.entry.js +22 -22
  1288. package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
  1289. package/dist/esm/calcite-date-picker_4.entry.js +15 -15
  1290. package/dist/esm/calcite-dropdown_3.entry.js +14 -14
  1291. package/dist/esm/calcite-fab.entry.js +8 -8
  1292. package/dist/esm/calcite-fab.entry.js.map +1 -1
  1293. package/dist/esm/calcite-filter.entry.js +14 -14
  1294. package/dist/esm/calcite-flow-item.entry.js +13 -13
  1295. package/dist/esm/calcite-flow.entry.js +4 -4
  1296. package/dist/esm/calcite-graph_2.entry.js +15 -15
  1297. package/dist/esm/calcite-graph_2.entry.js.map +1 -1
  1298. package/dist/esm/calcite-handle.entry.js +12 -12
  1299. package/dist/esm/calcite-icon.entry.js +6 -6
  1300. package/dist/esm/calcite-inline-editable.entry.js +14 -14
  1301. package/dist/esm/calcite-input-date-picker.entry.js +21 -21
  1302. package/dist/esm/calcite-input-date-picker.entry.js.map +1 -1
  1303. package/dist/esm/calcite-input-message.entry.js +5 -5
  1304. package/dist/esm/calcite-input-number.entry.js +49 -25
  1305. package/dist/esm/calcite-input-number.entry.js.map +1 -1
  1306. package/dist/esm/calcite-input-text.entry.js +16 -16
  1307. package/dist/esm/calcite-input-text.entry.js.map +1 -1
  1308. package/dist/esm/calcite-input-time-picker.calcite-time-picker-c828274b.js +2914 -0
  1309. package/dist/esm/calcite-input-time-picker.calcite-time-picker-c828274b.js.map +1 -0
  1310. package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
  1311. package/dist/esm/calcite-input-time-zone.entry.js +17 -17
  1312. package/dist/esm/calcite-input-time-zone.entry.js.map +1 -1
  1313. package/dist/esm/calcite-input.entry.js +50 -26
  1314. package/dist/esm/calcite-input.entry.js.map +1 -1
  1315. package/dist/esm/calcite-label.entry.js +7 -7
  1316. package/dist/esm/calcite-link.entry.js +8 -8
  1317. package/dist/esm/calcite-list_3.entry.js +15 -15
  1318. package/dist/esm/calcite-loader.entry.js +3 -3
  1319. package/dist/esm/calcite-menu_2.entry.js +10 -10
  1320. package/dist/esm/calcite-meter.entry.js +10 -10
  1321. package/dist/esm/calcite-meter.entry.js.map +1 -1
  1322. package/dist/esm/calcite-modal.entry.js +14 -14
  1323. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  1324. package/dist/esm/calcite-notice.entry.js +14 -14
  1325. package/dist/esm/calcite-option_3.entry.js +13 -13
  1326. package/dist/esm/calcite-option_3.entry.js.map +1 -1
  1327. package/dist/esm/calcite-pagination.entry.js +12 -12
  1328. package/dist/esm/calcite-pagination.entry.js.map +1 -1
  1329. package/dist/esm/calcite-panel.entry.js +15 -15
  1330. package/dist/esm/calcite-pick-list_3.entry.js +17 -17
  1331. package/dist/esm/calcite-popover.entry.js +17 -17
  1332. package/dist/esm/calcite-progress.entry.js +5 -5
  1333. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  1334. package/dist/esm/calcite-radio-button.entry.js +12 -12
  1335. package/dist/esm/calcite-radio-button.entry.js.map +1 -1
  1336. package/dist/esm/calcite-rating.entry.js +15 -15
  1337. package/dist/esm/calcite-rating.entry.js.map +1 -1
  1338. package/dist/esm/calcite-scrim.entry.js +9 -9
  1339. package/dist/esm/calcite-segmented-control_2.entry.js +12 -12
  1340. package/dist/esm/calcite-segmented-control_2.entry.js.map +1 -1
  1341. package/dist/esm/calcite-sheet.entry.js +9 -9
  1342. package/dist/esm/calcite-shell_3.entry.js +11 -11
  1343. package/dist/esm/calcite-shell_3.entry.js.map +1 -1
  1344. package/dist/esm/calcite-sortable-list.entry.js +9 -9
  1345. package/dist/esm/calcite-split-button.entry.js +5 -5
  1346. package/dist/esm/calcite-stack.entry.js +6 -6
  1347. package/dist/esm/calcite-stepper_2.entry.js +12 -12
  1348. package/dist/esm/calcite-switch.entry.js +12 -12
  1349. package/dist/esm/calcite-switch.entry.js.map +1 -1
  1350. package/dist/esm/calcite-tab_4.entry.js +37 -29
  1351. package/dist/esm/calcite-tab_4.entry.js.map +1 -1
  1352. package/dist/esm/calcite-table-cell_2.entry.js +13 -13
  1353. package/dist/esm/calcite-table-row.entry.js +9 -9
  1354. package/dist/esm/calcite-table.entry.js +11 -11
  1355. package/dist/esm/calcite-text-area.entry.js +18 -18
  1356. package/dist/esm/calcite-text-area.entry.js.map +1 -1
  1357. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  1358. package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
  1359. package/dist/esm/calcite-tile.entry.js +9 -9
  1360. package/dist/esm/calcite-tip_3.entry.js +11 -11
  1361. package/dist/esm/calcite-tooltip.entry.js +9 -9
  1362. package/dist/esm/calcite-tree_2.entry.js +10 -10
  1363. package/dist/esm/calcite-tree_2.entry.js.map +1 -1
  1364. package/dist/esm/calcite-value-list_2.entry.js +17 -17
  1365. package/dist/esm/calcite.js +6 -6
  1366. package/dist/esm/component-53d2502f.js +27 -0
  1367. package/dist/esm/component-53d2502f.js.map +1 -0
  1368. package/dist/esm/conditionalSlot-1b7c49bb.js +57 -0
  1369. package/dist/esm/conditionalSlot-1b7c49bb.js.map +1 -0
  1370. package/dist/esm/cs-53f4b56f.js +147 -0
  1371. package/dist/esm/cs-53f4b56f.js.map +1 -0
  1372. package/dist/esm/da-c4885a90.js +66 -0
  1373. package/dist/esm/da-c4885a90.js.map +1 -0
  1374. package/dist/esm/de-7fb4f1a7.js +91 -0
  1375. package/dist/esm/de-7fb4f1a7.js.map +1 -0
  1376. package/dist/esm/de-at-416ab479.js +90 -0
  1377. package/dist/esm/de-at-416ab479.js.map +1 -0
  1378. package/dist/esm/de-ch-1dafe559.js +90 -0
  1379. package/dist/esm/de-ch-1dafe559.js.map +1 -0
  1380. package/dist/esm/debounce-d82a80db.js +489 -0
  1381. package/dist/esm/debounce-d82a80db.js.map +1 -0
  1382. package/dist/esm/dom-fa7ed693.js +1053 -0
  1383. package/dist/esm/dom-fa7ed693.js.map +1 -0
  1384. package/dist/esm/el-189b5135.js +66 -0
  1385. package/dist/esm/el-189b5135.js.map +1 -0
  1386. package/dist/esm/en-au-a06a9114.js +66 -0
  1387. package/dist/esm/en-au-a06a9114.js.map +1 -0
  1388. package/dist/esm/en-ca-0f9da0f2.js +65 -0
  1389. package/dist/esm/en-ca-0f9da0f2.js.map +1 -0
  1390. package/dist/esm/en-gb-ffe8e2e7.js +69 -0
  1391. package/dist/esm/en-gb-ffe8e2e7.js.map +1 -0
  1392. package/dist/esm/es-9bfbdc3d.js +66 -0
  1393. package/dist/esm/es-9bfbdc3d.js.map +1 -0
  1394. package/dist/esm/es-mx-6b1cba57.js +65 -0
  1395. package/dist/esm/es-mx-6b1cba57.js.map +1 -0
  1396. package/dist/esm/et-7b2e7370.js +92 -0
  1397. package/dist/esm/et-7b2e7370.js.map +1 -0
  1398. package/dist/esm/fi-15dd5490.js +115 -0
  1399. package/dist/esm/fi-15dd5490.js.map +1 -0
  1400. package/dist/esm/filter-36100213.js +760 -0
  1401. package/dist/esm/filter-36100213.js.map +1 -0
  1402. package/dist/esm/floating-ui-e9efd889.js +1908 -0
  1403. package/dist/esm/floating-ui-e9efd889.js.map +1 -0
  1404. package/dist/esm/focusTrapComponent-d8f6a4cb.js +1015 -0
  1405. package/dist/esm/focusTrapComponent-d8f6a4cb.js.map +1 -0
  1406. package/dist/esm/form-8a7c2d64.js +250 -0
  1407. package/dist/esm/form-8a7c2d64.js.map +1 -0
  1408. package/dist/esm/fr-64cf9fbd.js +68 -0
  1409. package/dist/esm/fr-64cf9fbd.js.map +1 -0
  1410. package/dist/esm/fr-ch-63f14be2.js +66 -0
  1411. package/dist/esm/fr-ch-63f14be2.js.map +1 -0
  1412. package/dist/esm/guid-7ce12b3d.js +21 -0
  1413. package/dist/esm/guid-7ce12b3d.js.map +1 -0
  1414. package/dist/esm/he-83912959.js +105 -0
  1415. package/dist/esm/he-83912959.js.map +1 -0
  1416. package/dist/esm/hi-854cd19b.js +65 -0
  1417. package/dist/esm/hi-854cd19b.js.map +1 -0
  1418. package/dist/esm/hr-ffe5427c.js +80 -0
  1419. package/dist/esm/hr-ffe5427c.js.map +1 -0
  1420. package/dist/esm/hu-25a89a03.js +88 -0
  1421. package/dist/esm/hu-25a89a03.js.map +1 -0
  1422. package/dist/esm/id-3cfe7ff0.js +66 -0
  1423. package/dist/esm/id-3cfe7ff0.js.map +1 -0
  1424. package/dist/esm/index-2a451ada.js +73 -0
  1425. package/dist/esm/index-2a451ada.js.map +1 -0
  1426. package/dist/esm/index-a49c6f03.js +2620 -0
  1427. package/dist/esm/index-a49c6f03.js.map +1 -0
  1428. package/dist/esm/index-b869d13e.js +206 -0
  1429. package/dist/esm/index-b869d13e.js.map +1 -0
  1430. package/dist/esm/index.js +1 -1
  1431. package/dist/esm/interactive-52d4a990.js +136 -0
  1432. package/dist/esm/interactive-52d4a990.js.map +1 -0
  1433. package/dist/esm/it-738e3661.js +66 -0
  1434. package/dist/esm/it-738e3661.js.map +1 -0
  1435. package/dist/esm/it-ch-817c5bb2.js +66 -0
  1436. package/dist/esm/it-ch-817c5bb2.js.map +1 -0
  1437. package/dist/esm/ja-29dbb283.js +72 -0
  1438. package/dist/esm/ja-29dbb283.js.map +1 -0
  1439. package/dist/esm/key-9319325a.js +13 -0
  1440. package/dist/esm/key-9319325a.js.map +1 -0
  1441. package/dist/esm/ko-f5cad5dd.js +72 -0
  1442. package/dist/esm/ko-f5cad5dd.js.map +1 -0
  1443. package/dist/esm/label-3dbb11e9.js +176 -0
  1444. package/dist/esm/label-3dbb11e9.js.map +1 -0
  1445. package/dist/esm/loadable-3101d078.js +86 -0
  1446. package/dist/esm/loadable-3101d078.js.map +1 -0
  1447. package/dist/esm/loader.js +6 -6
  1448. package/dist/esm/locale-ee8d9945.js +563 -0
  1449. package/dist/esm/locale-ee8d9945.js.map +1 -0
  1450. package/dist/esm/lt-edbd5d89.js +97 -0
  1451. package/dist/esm/lt-edbd5d89.js.map +1 -0
  1452. package/dist/esm/lv-d377c0e4.js +66 -0
  1453. package/dist/esm/lv-d377c0e4.js.map +1 -0
  1454. package/dist/esm/math-a35898f7.js +51 -0
  1455. package/dist/esm/math-a35898f7.js.map +1 -0
  1456. package/dist/esm/mk-16baa529.js +66 -0
  1457. package/dist/esm/mk-16baa529.js.map +1 -0
  1458. package/dist/esm/nb-1177f654.js +67 -0
  1459. package/dist/esm/nb-1177f654.js.map +1 -0
  1460. package/dist/esm/nl-0509521d.js +67 -0
  1461. package/dist/esm/nl-0509521d.js.map +1 -0
  1462. package/dist/esm/observers-443478d1.js +48 -0
  1463. package/dist/esm/observers-443478d1.js.map +1 -0
  1464. package/dist/esm/openCloseComponent-d907fd04.js +87 -0
  1465. package/dist/esm/openCloseComponent-d907fd04.js.map +1 -0
  1466. package/dist/esm/pl-e01606d4.js +114 -0
  1467. package/dist/esm/pl-e01606d4.js.map +1 -0
  1468. package/dist/esm/pt-a91a57c4.js +67 -0
  1469. package/dist/esm/pt-a91a57c4.js.map +1 -0
  1470. package/dist/esm/pt-br-b39a96b5.js +65 -0
  1471. package/dist/esm/pt-br-b39a96b5.js.map +1 -0
  1472. package/dist/esm/resources-0b58afea.js +45 -0
  1473. package/dist/esm/resources-0b58afea.js.map +1 -0
  1474. package/dist/esm/resources-61c8e693.js +19 -0
  1475. package/dist/esm/resources-61c8e693.js.map +1 -0
  1476. package/dist/esm/resources-652128e7.js +23 -0
  1477. package/dist/esm/resources-652128e7.js.map +1 -0
  1478. package/dist/esm/resources-6e0d1740.js +25 -0
  1479. package/dist/esm/resources-6e0d1740.js.map +1 -0
  1480. package/dist/esm/resources-b1ba16b6.js +17 -0
  1481. package/dist/esm/resources-b1ba16b6.js.map +1 -0
  1482. package/dist/esm/resources-bb05b97e.js +21 -0
  1483. package/dist/esm/resources-bb05b97e.js.map +1 -0
  1484. package/dist/esm/resources-d413caa7.js +387 -0
  1485. package/dist/esm/resources-d413caa7.js.map +1 -0
  1486. package/dist/esm/ro-b9e9dbd6.js +66 -0
  1487. package/dist/esm/ro-b9e9dbd6.js.map +1 -0
  1488. package/dist/esm/ru-17173ae1.js +126 -0
  1489. package/dist/esm/ru-17173ae1.js.map +1 -0
  1490. package/dist/esm/sk-d250d0c2.js +148 -0
  1491. package/dist/esm/sk-d250d0c2.js.map +1 -0
  1492. package/dist/esm/sl-b21c2aab.js +168 -0
  1493. package/dist/esm/sl-b21c2aab.js.map +1 -0
  1494. package/dist/esm/sortableComponent-68e93d0b.js +2735 -0
  1495. package/dist/esm/sortableComponent-68e93d0b.js.map +1 -0
  1496. package/dist/esm/sr-a5e6b9bf.js +101 -0
  1497. package/dist/esm/sr-a5e6b9bf.js.map +1 -0
  1498. package/dist/esm/sv-cd67b2cf.js +71 -0
  1499. package/dist/esm/sv-cd67b2cf.js.map +1 -0
  1500. package/dist/esm/t9n-1da8378b.js +92 -0
  1501. package/dist/esm/t9n-1da8378b.js.map +1 -0
  1502. package/dist/esm/th-69330731.js +65 -0
  1503. package/dist/esm/th-69330731.js.map +1 -0
  1504. package/dist/esm/throttle-39e4b7c5.js +75 -0
  1505. package/dist/esm/throttle-39e4b7c5.js.map +1 -0
  1506. package/dist/esm/tr-a36a7e9b.js +66 -0
  1507. package/dist/esm/tr-a36a7e9b.js.map +1 -0
  1508. package/dist/esm/uk-73d89be9.js +104 -0
  1509. package/dist/esm/uk-73d89be9.js.map +1 -0
  1510. package/dist/esm/utils-358b6d47.js +200 -0
  1511. package/dist/esm/utils-358b6d47.js.map +1 -0
  1512. package/dist/esm/utils-513ee1eb.js +289 -0
  1513. package/dist/esm/utils-513ee1eb.js.map +1 -0
  1514. package/dist/esm/vi-1a411d52.js +70 -0
  1515. package/dist/esm/vi-1a411d52.js.map +1 -0
  1516. package/dist/esm/zh-cn-038483b1.js +94 -0
  1517. package/dist/esm/zh-cn-038483b1.js.map +1 -0
  1518. package/dist/esm/zh-hk-8109f1a8.js +71 -0
  1519. package/dist/esm/zh-hk-8109f1a8.js.map +1 -0
  1520. package/dist/esm/zh-tw-6d281cfc.js +92 -0
  1521. package/dist/esm/zh-tw-6d281cfc.js.map +1 -0
  1522. package/dist/extras/docs-json.json +33 -33
  1523. package/dist/loader/cdn.js +1 -1
  1524. package/dist/loader/index.cjs.js +1 -1
  1525. package/dist/loader/index.es2017.js +1 -1
  1526. package/dist/loader/index.js +1 -1
  1527. package/dist/stencil.config.js +1 -1
  1528. package/dist/support/formatting.js +1 -1
  1529. package/dist/support/preact.js +1 -1
  1530. package/dist/tailwind.config.js +1 -1
  1531. package/dist/types/components/action-menu/action-menu.d.ts +1 -0
  1532. package/dist/types/components/block-section/block-section.d.ts +3 -3
  1533. package/dist/types/components/button/button.d.ts +1 -1
  1534. package/dist/types/components/checkbox/checkbox.d.ts +1 -1
  1535. package/dist/types/components/chip/chip.d.ts +1 -1
  1536. package/dist/types/components/combobox/combobox.d.ts +8 -3
  1537. package/dist/types/components/fab/fab.d.ts +1 -1
  1538. package/dist/types/components/input/input.d.ts +2 -2
  1539. package/dist/types/components/input-date-picker/input-date-picker.d.ts +2 -2
  1540. package/dist/types/components/input-number/input-number.d.ts +2 -2
  1541. package/dist/types/components/input-text/input-text.d.ts +1 -1
  1542. package/dist/types/components/input-time-picker/input-time-picker.d.ts +2 -2
  1543. package/dist/types/components/input-time-zone/input-time-zone.d.ts +18 -3
  1544. package/dist/types/components/meter/meter.d.ts +1 -1
  1545. package/dist/types/components/radio-button/radio-button.d.ts +1 -1
  1546. package/dist/types/components/rating/rating.d.ts +1 -1
  1547. package/dist/types/components/segmented-control/segmented-control.d.ts +1 -1
  1548. package/dist/types/components/select/select.d.ts +1 -1
  1549. package/dist/types/components/shell-panel/shell-panel.d.ts +7 -2
  1550. package/dist/types/components/slider/slider.d.ts +1 -1
  1551. package/dist/types/components/switch/switch.d.ts +1 -1
  1552. package/dist/types/components/tab-title/tab-title.d.ts +7 -1
  1553. package/dist/types/components/text-area/text-area.d.ts +1 -1
  1554. package/dist/types/components/tile-select/tile-select.d.ts +4 -2
  1555. package/dist/types/components/tree/tree.d.ts +8 -1
  1556. package/dist/types/components.d.ts +72 -52
  1557. package/hydrate/index.js +106 -47
  1558. package/package.json +2 -2
  1559. package/dist/calcite/p-047ddcc3.js +0 -7
  1560. package/dist/calcite/p-04e41c9e.js +0 -7
  1561. package/dist/calcite/p-05032c5d.entry.js +0 -7
  1562. package/dist/calcite/p-053e1bdd.entry.js +0 -7
  1563. package/dist/calcite/p-053e1bdd.entry.js.map +0 -1
  1564. package/dist/calcite/p-0744102f.js +0 -7
  1565. package/dist/calcite/p-08afd9f9.js +0 -7
  1566. package/dist/calcite/p-0ab7411f.js +0 -7
  1567. package/dist/calcite/p-0add2080.js +0 -8
  1568. package/dist/calcite/p-0b73937f.entry.js +0 -7
  1569. package/dist/calcite/p-0cfa59ce.js +0 -7
  1570. package/dist/calcite/p-0e7d40ee.entry.js +0 -7
  1571. package/dist/calcite/p-10464d93.entry.js +0 -7
  1572. package/dist/calcite/p-10464d93.entry.js.map +0 -1
  1573. package/dist/calcite/p-12b2713a.js +0 -7
  1574. package/dist/calcite/p-16e2d2bc.entry.js +0 -7
  1575. package/dist/calcite/p-191ebaec.js +0 -7
  1576. package/dist/calcite/p-1d006482.entry.js +0 -7
  1577. package/dist/calcite/p-231854ac.js +0 -7
  1578. package/dist/calcite/p-2444441e.js +0 -7
  1579. package/dist/calcite/p-24f8a3cf.js +0 -7
  1580. package/dist/calcite/p-24fe818d.js +0 -7
  1581. package/dist/calcite/p-2a8a7963.entry.js +0 -7
  1582. package/dist/calcite/p-2a8a7963.entry.js.map +0 -1
  1583. package/dist/calcite/p-2acafed7.js +0 -7
  1584. package/dist/calcite/p-2ba5bb74.entry.js +0 -7
  1585. package/dist/calcite/p-2baba6ae.entry.js +0 -7
  1586. package/dist/calcite/p-2e2f9eb7.js +0 -7
  1587. package/dist/calcite/p-2f8ec7d6.js +0 -7
  1588. package/dist/calcite/p-2fa987a7.entry.js +0 -7
  1589. package/dist/calcite/p-305d121b.entry.js +0 -7
  1590. package/dist/calcite/p-31b34f80.js +0 -7
  1591. package/dist/calcite/p-32f67500.js +0 -7
  1592. package/dist/calcite/p-352dbd53.js +0 -7
  1593. package/dist/calcite/p-3541a165.js +0 -7
  1594. package/dist/calcite/p-35bbdb70.js +0 -7
  1595. package/dist/calcite/p-36dafdd6.js +0 -7
  1596. package/dist/calcite/p-39da4cfe.js +0 -7
  1597. package/dist/calcite/p-3b56f990.js +0 -7
  1598. package/dist/calcite/p-3dd989e0.entry.js +0 -7
  1599. package/dist/calcite/p-40ca9289.js +0 -7
  1600. package/dist/calcite/p-40e05529.entry.js +0 -7
  1601. package/dist/calcite/p-40e05529.entry.js.map +0 -1
  1602. package/dist/calcite/p-4156a7b7.js +0 -7
  1603. package/dist/calcite/p-41880f3e.entry.js +0 -7
  1604. package/dist/calcite/p-41880f3e.entry.js.map +0 -1
  1605. package/dist/calcite/p-45ae9c67.entry.js +0 -7
  1606. package/dist/calcite/p-47818307.entry.js +0 -7
  1607. package/dist/calcite/p-48b40958.js +0 -7
  1608. package/dist/calcite/p-4a1fee4f.js +0 -7
  1609. package/dist/calcite/p-4c4ceade.js +0 -7
  1610. package/dist/calcite/p-4f20f8bd.js +0 -7
  1611. package/dist/calcite/p-4f412f99.entry.js +0 -7
  1612. package/dist/calcite/p-4f412f99.entry.js.map +0 -1
  1613. package/dist/calcite/p-503b6594.entry.js +0 -7
  1614. package/dist/calcite/p-503b6594.entry.js.map +0 -1
  1615. package/dist/calcite/p-51115c24.entry.js +0 -7
  1616. package/dist/calcite/p-545a2214.js +0 -7
  1617. package/dist/calcite/p-54792766.entry.js +0 -7
  1618. package/dist/calcite/p-55f2b783.js +0 -7
  1619. package/dist/calcite/p-57178418.entry.js +0 -7
  1620. package/dist/calcite/p-573ec9e5.entry.js +0 -7
  1621. package/dist/calcite/p-599494bc.js +0 -7
  1622. package/dist/calcite/p-5abc41da.entry.js +0 -7
  1623. package/dist/calcite/p-5abc41da.entry.js.map +0 -1
  1624. package/dist/calcite/p-5b78e823.js +0 -7
  1625. package/dist/calcite/p-5e2f88f6.entry.js +0 -7
  1626. package/dist/calcite/p-5e832882.entry.js +0 -7
  1627. package/dist/calcite/p-5e832882.entry.js.map +0 -1
  1628. package/dist/calcite/p-5ed56a65.js +0 -7
  1629. package/dist/calcite/p-5f65fbce.entry.js +0 -7
  1630. package/dist/calcite/p-5f65fbce.entry.js.map +0 -1
  1631. package/dist/calcite/p-5f96c5c5.js +0 -7
  1632. package/dist/calcite/p-6143f46b.entry.js +0 -7
  1633. package/dist/calcite/p-6143f46b.entry.js.map +0 -1
  1634. package/dist/calcite/p-6217d2be.js +0 -7
  1635. package/dist/calcite/p-637401ce.entry.js +0 -7
  1636. package/dist/calcite/p-63bd8a4b.js +0 -7
  1637. package/dist/calcite/p-6ab1663b.entry.js +0 -7
  1638. package/dist/calcite/p-6ab1663b.entry.js.map +0 -1
  1639. package/dist/calcite/p-6eedb384.entry.js +0 -7
  1640. package/dist/calcite/p-712a1aa1.js +0 -7
  1641. package/dist/calcite/p-713b3d75.js +0 -7
  1642. package/dist/calcite/p-731d7d1f.entry.js +0 -7
  1643. package/dist/calcite/p-7fd0dcc7.entry.js +0 -7
  1644. package/dist/calcite/p-81a9398a.js +0 -7
  1645. package/dist/calcite/p-829fc24d.js +0 -7
  1646. package/dist/calcite/p-833b4a95.entry.js +0 -7
  1647. package/dist/calcite/p-85d73a32.entry.js +0 -7
  1648. package/dist/calcite/p-85d73a32.entry.js.map +0 -1
  1649. package/dist/calcite/p-860f2840.js +0 -7
  1650. package/dist/calcite/p-875bbc2f.js +0 -7
  1651. package/dist/calcite/p-88747575.entry.js +0 -7
  1652. package/dist/calcite/p-89a90437.js +0 -7
  1653. package/dist/calcite/p-8a611855.entry.js +0 -7
  1654. package/dist/calcite/p-8a611855.entry.js.map +0 -1
  1655. package/dist/calcite/p-8a8ea00b.js +0 -7
  1656. package/dist/calcite/p-8d6ac2ee.entry.js +0 -7
  1657. package/dist/calcite/p-8d6ac2ee.entry.js.map +0 -1
  1658. package/dist/calcite/p-931b5c91.js +0 -7
  1659. package/dist/calcite/p-944e4b97.js +0 -7
  1660. package/dist/calcite/p-9aaa5fe6.js +0 -12
  1661. package/dist/calcite/p-9babed90.entry.js +0 -7
  1662. package/dist/calcite/p-9ca66781.js +0 -7
  1663. package/dist/calcite/p-9d3b22e9.js +0 -7
  1664. package/dist/calcite/p-a0b0cfdb.js +0 -7
  1665. package/dist/calcite/p-a198a446.entry.js +0 -7
  1666. package/dist/calcite/p-a2170dc0.entry.js +0 -7
  1667. package/dist/calcite/p-a2e744a9.entry.js +0 -7
  1668. package/dist/calcite/p-a2e744a9.entry.js.map +0 -1
  1669. package/dist/calcite/p-aa66dd0e.js +0 -7
  1670. package/dist/calcite/p-ab480c69.entry.js +0 -7
  1671. package/dist/calcite/p-aceda70a.entry.js +0 -7
  1672. package/dist/calcite/p-aceda70a.entry.js.map +0 -1
  1673. package/dist/calcite/p-ad133460.js +0 -7
  1674. package/dist/calcite/p-ad94293e.js +0 -7
  1675. package/dist/calcite/p-afbe2995.entry.js +0 -7
  1676. package/dist/calcite/p-afbe2995.entry.js.map +0 -1
  1677. package/dist/calcite/p-b109f717.js +0 -7
  1678. package/dist/calcite/p-b1dc29c2.entry.js +0 -7
  1679. package/dist/calcite/p-b1dc29c2.entry.js.map +0 -1
  1680. package/dist/calcite/p-b4b11e80.js +0 -7
  1681. package/dist/calcite/p-b684cc58.js +0 -7
  1682. package/dist/calcite/p-b902c2d5.entry.js +0 -7
  1683. package/dist/calcite/p-b902c2d5.entry.js.map +0 -1
  1684. package/dist/calcite/p-b92982e7.entry.js +0 -7
  1685. package/dist/calcite/p-bb239243.entry.js +0 -7
  1686. package/dist/calcite/p-bb239243.entry.js.map +0 -1
  1687. package/dist/calcite/p-bc66cfed.js +0 -11
  1688. package/dist/calcite/p-bc807243.entry.js +0 -7
  1689. package/dist/calcite/p-bd42f48e.js +0 -7
  1690. package/dist/calcite/p-bd51f50e.entry.js +0 -7
  1691. package/dist/calcite/p-bf6c55d0.js +0 -7
  1692. package/dist/calcite/p-c150ca30.js +0 -7
  1693. package/dist/calcite/p-c166c258.entry.js +0 -7
  1694. package/dist/calcite/p-c5960eff.entry.js +0 -7
  1695. package/dist/calcite/p-c688be1e.entry.js +0 -7
  1696. package/dist/calcite/p-c688be1e.entry.js.map +0 -1
  1697. package/dist/calcite/p-c6cae4d2.entry.js +0 -7
  1698. package/dist/calcite/p-c6cae4d2.entry.js.map +0 -1
  1699. package/dist/calcite/p-c7f026d0.entry.js +0 -7
  1700. package/dist/calcite/p-c7f026d0.entry.js.map +0 -1
  1701. package/dist/calcite/p-c954a299.js +0 -7
  1702. package/dist/calcite/p-c9f5da49.entry.js +0 -7
  1703. package/dist/calcite/p-cb2852e3.entry.js +0 -7
  1704. package/dist/calcite/p-cb2852e3.entry.js.map +0 -1
  1705. package/dist/calcite/p-cbba7c58.entry.js +0 -7
  1706. package/dist/calcite/p-cd86b221.js +0 -7
  1707. package/dist/calcite/p-cda14f95.entry.js +0 -7
  1708. package/dist/calcite/p-cdc3ea29.js +0 -7
  1709. package/dist/calcite/p-ced65efd.js +0 -7
  1710. package/dist/calcite/p-d0b722d8.js +0 -7
  1711. package/dist/calcite/p-d1b4cec0.entry.js +0 -7
  1712. package/dist/calcite/p-d1b77a1f.entry.js +0 -7
  1713. package/dist/calcite/p-d2d8b5ab.js +0 -7
  1714. package/dist/calcite/p-d32ccd2e.js +0 -13
  1715. package/dist/calcite/p-d372edf0.js +0 -7
  1716. package/dist/calcite/p-d4b3b7d3.entry.js +0 -7
  1717. package/dist/calcite/p-d6a917f2.js +0 -7
  1718. package/dist/calcite/p-d6fa4961.entry.js +0 -7
  1719. package/dist/calcite/p-daf57fbf.js +0 -7
  1720. package/dist/calcite/p-dcd13701.js +0 -7
  1721. package/dist/calcite/p-dee112be.js +0 -7
  1722. package/dist/calcite/p-e26c29c9.js +0 -7
  1723. package/dist/calcite/p-e4a68590.entry.js +0 -7
  1724. package/dist/calcite/p-e4a68590.entry.js.map +0 -1
  1725. package/dist/calcite/p-e9e06519.entry.js +0 -7
  1726. package/dist/calcite/p-eaa876a0.entry.js +0 -7
  1727. package/dist/calcite/p-ebac7c85.js +0 -7
  1728. package/dist/calcite/p-ebac7c85.js.map +0 -1
  1729. package/dist/calcite/p-ec97ffd4.entry.js +0 -7
  1730. package/dist/calcite/p-ec97ffd4.entry.js.map +0 -1
  1731. package/dist/calcite/p-f073261c.js +0 -7
  1732. package/dist/calcite/p-f0ba8d69.js +0 -7
  1733. package/dist/calcite/p-f14a70da.js +0 -7
  1734. package/dist/calcite/p-f17847fa.js +0 -7
  1735. package/dist/calcite/p-f372733e.js +0 -7
  1736. package/dist/calcite/p-f397c03e.entry.js +0 -7
  1737. package/dist/calcite/p-f397c03e.entry.js.map +0 -1
  1738. package/dist/calcite/p-f3b5799b.js +0 -7
  1739. package/dist/calcite/p-f452516d.js +0 -7
  1740. package/dist/calcite/p-fa7ba8b6.js +0 -7
  1741. package/dist/calcite/p-fd3a39b9.js +0 -7
  1742. package/dist/calcite/p-fd8656d2.js +0 -7
  1743. package/dist/calcite/p-fe4141bc.js +0 -7
  1744. package/dist/calcite/p-fe73630a.entry.js +0 -7
  1745. package/dist/calcite/p-fea51e11.js +0 -7
  1746. package/dist/calcite/p-ffc07b09.js +0 -7
  1747. package/dist/calcite/p-fffd0a52.entry.js +0 -7
  1748. package/dist/cjs/ExpandToggle-7b1a0be4.js +0 -110
  1749. package/dist/cjs/ExpandToggle-7b1a0be4.js.map +0 -1
  1750. package/dist/cjs/FloatingArrow-d0aa2326.js +0 -49
  1751. package/dist/cjs/FloatingArrow-d0aa2326.js.map +0 -1
  1752. package/dist/cjs/Heading-27e4ff07.js +0 -22
  1753. package/dist/cjs/Heading-27e4ff07.js.map +0 -1
  1754. package/dist/cjs/Validation-307e6241.js +0 -18
  1755. package/dist/cjs/Validation-307e6241.js.map +0 -1
  1756. package/dist/cjs/app-globals-4c0076e6.js +0 -61
  1757. package/dist/cjs/app-globals-4c0076e6.js.map +0 -1
  1758. package/dist/cjs/ar-f6a29212.js +0 -106
  1759. package/dist/cjs/ar-f6a29212.js.map +0 -1
  1760. package/dist/cjs/array-951939e6.js +0 -14
  1761. package/dist/cjs/array-951939e6.js.map +0 -1
  1762. package/dist/cjs/bg-f6bbda5c.js +0 -84
  1763. package/dist/cjs/bg-f6bbda5c.js.map +0 -1
  1764. package/dist/cjs/browser-bf8e5d3f.js +0 -20
  1765. package/dist/cjs/browser-bf8e5d3f.js.map +0 -1
  1766. package/dist/cjs/bs-5617bb40.js +0 -53
  1767. package/dist/cjs/bs-5617bb40.js.map +0 -1
  1768. package/dist/cjs/ca-881cb9b7.js +0 -73
  1769. package/dist/cjs/ca-881cb9b7.js.map +0 -1
  1770. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-f27cfe62.js +0 -2918
  1771. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-f27cfe62.js.map +0 -1
  1772. package/dist/cjs/component-9a570857.js +0 -30
  1773. package/dist/cjs/component-9a570857.js.map +0 -1
  1774. package/dist/cjs/conditionalSlot-9a60b0dd.js +0 -60
  1775. package/dist/cjs/conditionalSlot-9a60b0dd.js.map +0 -1
  1776. package/dist/cjs/cs-fb5834e7.js +0 -149
  1777. package/dist/cjs/cs-fb5834e7.js.map +0 -1
  1778. package/dist/cjs/da-f0c7faaf.js +0 -68
  1779. package/dist/cjs/da-f0c7faaf.js.map +0 -1
  1780. package/dist/cjs/de-99b6724f.js +0 -93
  1781. package/dist/cjs/de-99b6724f.js.map +0 -1
  1782. package/dist/cjs/de-at-a7781b7c.js +0 -92
  1783. package/dist/cjs/de-at-a7781b7c.js.map +0 -1
  1784. package/dist/cjs/de-ch-c11dad2d.js +0 -92
  1785. package/dist/cjs/de-ch-c11dad2d.js.map +0 -1
  1786. package/dist/cjs/debounce-4b736087.js +0 -498
  1787. package/dist/cjs/debounce-4b736087.js.map +0 -1
  1788. package/dist/cjs/dom-721914ec.js +0 -1084
  1789. package/dist/cjs/dom-721914ec.js.map +0 -1
  1790. package/dist/cjs/el-f920ea24.js +0 -68
  1791. package/dist/cjs/el-f920ea24.js.map +0 -1
  1792. package/dist/cjs/en-au-7683070c.js +0 -68
  1793. package/dist/cjs/en-au-7683070c.js.map +0 -1
  1794. package/dist/cjs/en-ca-e4bb323b.js +0 -67
  1795. package/dist/cjs/en-ca-e4bb323b.js.map +0 -1
  1796. package/dist/cjs/en-gb-02ad1b3e.js +0 -71
  1797. package/dist/cjs/en-gb-02ad1b3e.js.map +0 -1
  1798. package/dist/cjs/es-0e15f8cb.js +0 -68
  1799. package/dist/cjs/es-0e15f8cb.js.map +0 -1
  1800. package/dist/cjs/es-mx-6c5f0c6d.js +0 -67
  1801. package/dist/cjs/es-mx-6c5f0c6d.js.map +0 -1
  1802. package/dist/cjs/et-fb9e6378.js +0 -94
  1803. package/dist/cjs/et-fb9e6378.js.map +0 -1
  1804. package/dist/cjs/fi-d4005a60.js +0 -117
  1805. package/dist/cjs/fi-d4005a60.js.map +0 -1
  1806. package/dist/cjs/filter-a5b3ff15.js +0 -762
  1807. package/dist/cjs/filter-a5b3ff15.js.map +0 -1
  1808. package/dist/cjs/floating-ui-3b5362e4.js +0 -1916
  1809. package/dist/cjs/floating-ui-3b5362e4.js.map +0 -1
  1810. package/dist/cjs/focusTrapComponent-5f7ab5c4.js +0 -1020
  1811. package/dist/cjs/focusTrapComponent-5f7ab5c4.js.map +0 -1
  1812. package/dist/cjs/form-beb52c18.js +0 -259
  1813. package/dist/cjs/form-beb52c18.js.map +0 -1
  1814. package/dist/cjs/fr-cb7cb776.js +0 -70
  1815. package/dist/cjs/fr-cb7cb776.js.map +0 -1
  1816. package/dist/cjs/fr-ch-813fc30c.js +0 -68
  1817. package/dist/cjs/fr-ch-813fc30c.js.map +0 -1
  1818. package/dist/cjs/guid-ebac9c7f.js +0 -23
  1819. package/dist/cjs/guid-ebac9c7f.js.map +0 -1
  1820. package/dist/cjs/he-e6328594.js +0 -107
  1821. package/dist/cjs/he-e6328594.js.map +0 -1
  1822. package/dist/cjs/hi-ff8d5fb7.js +0 -67
  1823. package/dist/cjs/hi-ff8d5fb7.js.map +0 -1
  1824. package/dist/cjs/hr-707da894.js +0 -82
  1825. package/dist/cjs/hr-707da894.js.map +0 -1
  1826. package/dist/cjs/hu-ff2aee03.js +0 -90
  1827. package/dist/cjs/hu-ff2aee03.js.map +0 -1
  1828. package/dist/cjs/id-73eabc5d.js +0 -68
  1829. package/dist/cjs/id-73eabc5d.js.map +0 -1
  1830. package/dist/cjs/index-24616da4.js +0 -2655
  1831. package/dist/cjs/index-24616da4.js.map +0 -1
  1832. package/dist/cjs/index-66cbd5b7.js +0 -208
  1833. package/dist/cjs/index-66cbd5b7.js.map +0 -1
  1834. package/dist/cjs/index-c89bce26.js +0 -75
  1835. package/dist/cjs/index-c89bce26.js.map +0 -1
  1836. package/dist/cjs/interactive-f764e8de.js +0 -141
  1837. package/dist/cjs/interactive-f764e8de.js.map +0 -1
  1838. package/dist/cjs/it-73b32848.js +0 -68
  1839. package/dist/cjs/it-73b32848.js.map +0 -1
  1840. package/dist/cjs/it-ch-224b4b85.js +0 -68
  1841. package/dist/cjs/it-ch-224b4b85.js.map +0 -1
  1842. package/dist/cjs/ja-03ab9407.js +0 -74
  1843. package/dist/cjs/ja-03ab9407.js.map +0 -1
  1844. package/dist/cjs/key-fb345f0a.js +0 -16
  1845. package/dist/cjs/key-fb345f0a.js.map +0 -1
  1846. package/dist/cjs/ko-f3980cf4.js +0 -74
  1847. package/dist/cjs/ko-f3980cf4.js.map +0 -1
  1848. package/dist/cjs/label-44197119.js +0 -183
  1849. package/dist/cjs/label-44197119.js.map +0 -1
  1850. package/dist/cjs/loadable-95987bb9.js +0 -91
  1851. package/dist/cjs/loadable-95987bb9.js.map +0 -1
  1852. package/dist/cjs/locale-dbaac2ba.js +0 -576
  1853. package/dist/cjs/locale-dbaac2ba.js.map +0 -1
  1854. package/dist/cjs/lt-fc6aa1c1.js +0 -99
  1855. package/dist/cjs/lt-fc6aa1c1.js.map +0 -1
  1856. package/dist/cjs/lv-07f400c5.js +0 -68
  1857. package/dist/cjs/lv-07f400c5.js.map +0 -1
  1858. package/dist/cjs/math-ffdf1028.js +0 -57
  1859. package/dist/cjs/math-ffdf1028.js.map +0 -1
  1860. package/dist/cjs/mk-11e187a7.js +0 -68
  1861. package/dist/cjs/mk-11e187a7.js.map +0 -1
  1862. package/dist/cjs/nb-bcfeb2ea.js +0 -69
  1863. package/dist/cjs/nb-bcfeb2ea.js.map +0 -1
  1864. package/dist/cjs/nl-1a8e671d.js +0 -69
  1865. package/dist/cjs/nl-1a8e671d.js.map +0 -1
  1866. package/dist/cjs/observers-b62c606f.js +0 -50
  1867. package/dist/cjs/observers-b62c606f.js.map +0 -1
  1868. package/dist/cjs/openCloseComponent-408feced.js +0 -89
  1869. package/dist/cjs/openCloseComponent-408feced.js.map +0 -1
  1870. package/dist/cjs/pl-ece4f924.js +0 -116
  1871. package/dist/cjs/pl-ece4f924.js.map +0 -1
  1872. package/dist/cjs/pt-b4cc0c6e.js +0 -69
  1873. package/dist/cjs/pt-b4cc0c6e.js.map +0 -1
  1874. package/dist/cjs/pt-br-36524745.js +0 -67
  1875. package/dist/cjs/pt-br-36524745.js.map +0 -1
  1876. package/dist/cjs/resources-1e7eb626.js +0 -29
  1877. package/dist/cjs/resources-1e7eb626.js.map +0 -1
  1878. package/dist/cjs/resources-3d48b29b.js +0 -23
  1879. package/dist/cjs/resources-3d48b29b.js.map +0 -1
  1880. package/dist/cjs/resources-63914c35.js +0 -17
  1881. package/dist/cjs/resources-63914c35.js.map +0 -1
  1882. package/dist/cjs/resources-9382f028.js +0 -26
  1883. package/dist/cjs/resources-9382f028.js.map +0 -1
  1884. package/dist/cjs/resources-ea0d1c54.js +0 -49
  1885. package/dist/cjs/resources-ea0d1c54.js.map +0 -1
  1886. package/dist/cjs/resources-f4bd1164.js +0 -26
  1887. package/dist/cjs/resources-f4bd1164.js.map +0 -1
  1888. package/dist/cjs/resources-f56a8ce2.js +0 -414
  1889. package/dist/cjs/resources-f56a8ce2.js.map +0 -1
  1890. package/dist/cjs/ro-35459d85.js +0 -68
  1891. package/dist/cjs/ro-35459d85.js.map +0 -1
  1892. package/dist/cjs/ru-ecb4b873.js +0 -128
  1893. package/dist/cjs/ru-ecb4b873.js.map +0 -1
  1894. package/dist/cjs/sk-08fa163a.js +0 -150
  1895. package/dist/cjs/sk-08fa163a.js.map +0 -1
  1896. package/dist/cjs/sl-788289d9.js +0 -170
  1897. package/dist/cjs/sl-788289d9.js.map +0 -1
  1898. package/dist/cjs/sortableComponent-093959bb.js +0 -2739
  1899. package/dist/cjs/sortableComponent-093959bb.js.map +0 -1
  1900. package/dist/cjs/sr-0c4a4861.js +0 -103
  1901. package/dist/cjs/sr-0c4a4861.js.map +0 -1
  1902. package/dist/cjs/sv-6b9aac11.js +0 -73
  1903. package/dist/cjs/sv-6b9aac11.js.map +0 -1
  1904. package/dist/cjs/t9n-7f94b5a3.js +0 -97
  1905. package/dist/cjs/t9n-7f94b5a3.js.map +0 -1
  1906. package/dist/cjs/th-f1294a87.js +0 -67
  1907. package/dist/cjs/th-f1294a87.js.map +0 -1
  1908. package/dist/cjs/throttle-eed29b20.js +0 -77
  1909. package/dist/cjs/throttle-eed29b20.js.map +0 -1
  1910. package/dist/cjs/tr-97891a3f.js +0 -68
  1911. package/dist/cjs/tr-97891a3f.js.map +0 -1
  1912. package/dist/cjs/uk-b8b2fc97.js +0 -106
  1913. package/dist/cjs/uk-b8b2fc97.js.map +0 -1
  1914. package/dist/cjs/utils-64c7cf7d.js +0 -307
  1915. package/dist/cjs/utils-64c7cf7d.js.map +0 -1
  1916. package/dist/cjs/utils-f60da647.js +0 -218
  1917. package/dist/cjs/utils-f60da647.js.map +0 -1
  1918. package/dist/cjs/vi-00f49b6a.js +0 -72
  1919. package/dist/cjs/vi-00f49b6a.js.map +0 -1
  1920. package/dist/cjs/zh-cn-4be20faf.js +0 -96
  1921. package/dist/cjs/zh-cn-4be20faf.js.map +0 -1
  1922. package/dist/cjs/zh-hk-6cb30b59.js +0 -73
  1923. package/dist/cjs/zh-hk-6cb30b59.js.map +0 -1
  1924. package/dist/cjs/zh-tw-6dfbfaba.js +0 -94
  1925. package/dist/cjs/zh-tw-6dfbfaba.js.map +0 -1
  1926. package/dist/esm/ExpandToggle-519e756e.js +0 -102
  1927. package/dist/esm/ExpandToggle-519e756e.js.map +0 -1
  1928. package/dist/esm/FloatingArrow-4ee93b4b.js +0 -47
  1929. package/dist/esm/FloatingArrow-4ee93b4b.js.map +0 -1
  1930. package/dist/esm/Heading-89bcb54f.js +0 -19
  1931. package/dist/esm/Heading-89bcb54f.js.map +0 -1
  1932. package/dist/esm/Validation-3950347f.js +0 -16
  1933. package/dist/esm/Validation-3950347f.js.map +0 -1
  1934. package/dist/esm/app-globals-9b5006fb.js +0 -59
  1935. package/dist/esm/app-globals-9b5006fb.js.map +0 -1
  1936. package/dist/esm/ar-db9bbbac.js +0 -104
  1937. package/dist/esm/ar-db9bbbac.js.map +0 -1
  1938. package/dist/esm/array-57cbd544.js +0 -12
  1939. package/dist/esm/array-57cbd544.js.map +0 -1
  1940. package/dist/esm/bg-69cdd38f.js +0 -82
  1941. package/dist/esm/bg-69cdd38f.js.map +0 -1
  1942. package/dist/esm/browser-15be4acf.js +0 -18
  1943. package/dist/esm/browser-15be4acf.js.map +0 -1
  1944. package/dist/esm/bs-4ce18da0.js +0 -51
  1945. package/dist/esm/bs-4ce18da0.js.map +0 -1
  1946. package/dist/esm/ca-57e8dd7d.js +0 -71
  1947. package/dist/esm/ca-57e8dd7d.js.map +0 -1
  1948. package/dist/esm/calcite-input-time-picker.calcite-time-picker-42e7722a.js +0 -2914
  1949. package/dist/esm/calcite-input-time-picker.calcite-time-picker-42e7722a.js.map +0 -1
  1950. package/dist/esm/component-ba143e89.js +0 -27
  1951. package/dist/esm/component-ba143e89.js.map +0 -1
  1952. package/dist/esm/conditionalSlot-7df2d311.js +0 -57
  1953. package/dist/esm/conditionalSlot-7df2d311.js.map +0 -1
  1954. package/dist/esm/cs-af603da4.js +0 -147
  1955. package/dist/esm/cs-af603da4.js.map +0 -1
  1956. package/dist/esm/da-bcbfa66d.js +0 -66
  1957. package/dist/esm/da-bcbfa66d.js.map +0 -1
  1958. package/dist/esm/de-at-5f08d5b4.js +0 -90
  1959. package/dist/esm/de-at-5f08d5b4.js.map +0 -1
  1960. package/dist/esm/de-b2b1234c.js +0 -91
  1961. package/dist/esm/de-b2b1234c.js.map +0 -1
  1962. package/dist/esm/de-ch-e94a295c.js +0 -90
  1963. package/dist/esm/de-ch-e94a295c.js.map +0 -1
  1964. package/dist/esm/debounce-98593bcc.js +0 -489
  1965. package/dist/esm/debounce-98593bcc.js.map +0 -1
  1966. package/dist/esm/dom-6b022df4.js +0 -1053
  1967. package/dist/esm/dom-6b022df4.js.map +0 -1
  1968. package/dist/esm/el-0d8651b8.js +0 -66
  1969. package/dist/esm/el-0d8651b8.js.map +0 -1
  1970. package/dist/esm/en-au-996ab75c.js +0 -66
  1971. package/dist/esm/en-au-996ab75c.js.map +0 -1
  1972. package/dist/esm/en-ca-82256b40.js +0 -65
  1973. package/dist/esm/en-ca-82256b40.js.map +0 -1
  1974. package/dist/esm/en-gb-f91c2171.js +0 -69
  1975. package/dist/esm/en-gb-f91c2171.js.map +0 -1
  1976. package/dist/esm/es-8209f312.js +0 -66
  1977. package/dist/esm/es-8209f312.js.map +0 -1
  1978. package/dist/esm/es-mx-dd4252dc.js +0 -65
  1979. package/dist/esm/es-mx-dd4252dc.js.map +0 -1
  1980. package/dist/esm/et-eed628d0.js +0 -92
  1981. package/dist/esm/et-eed628d0.js.map +0 -1
  1982. package/dist/esm/fi-386347f1.js +0 -115
  1983. package/dist/esm/fi-386347f1.js.map +0 -1
  1984. package/dist/esm/filter-1ec0f702.js +0 -760
  1985. package/dist/esm/filter-1ec0f702.js.map +0 -1
  1986. package/dist/esm/floating-ui-476e9a7a.js +0 -1908
  1987. package/dist/esm/floating-ui-476e9a7a.js.map +0 -1
  1988. package/dist/esm/focusTrapComponent-539ba988.js +0 -1015
  1989. package/dist/esm/focusTrapComponent-539ba988.js.map +0 -1
  1990. package/dist/esm/form-e4897d5a.js +0 -250
  1991. package/dist/esm/form-e4897d5a.js.map +0 -1
  1992. package/dist/esm/fr-cbb8e9fc.js +0 -68
  1993. package/dist/esm/fr-cbb8e9fc.js.map +0 -1
  1994. package/dist/esm/fr-ch-4b69803e.js +0 -66
  1995. package/dist/esm/fr-ch-4b69803e.js.map +0 -1
  1996. package/dist/esm/guid-61e7a235.js +0 -21
  1997. package/dist/esm/guid-61e7a235.js.map +0 -1
  1998. package/dist/esm/he-353da2cf.js +0 -105
  1999. package/dist/esm/he-353da2cf.js.map +0 -1
  2000. package/dist/esm/hi-faf0ed73.js +0 -65
  2001. package/dist/esm/hi-faf0ed73.js.map +0 -1
  2002. package/dist/esm/hr-e5848071.js +0 -80
  2003. package/dist/esm/hr-e5848071.js.map +0 -1
  2004. package/dist/esm/hu-e8270139.js +0 -88
  2005. package/dist/esm/hu-e8270139.js.map +0 -1
  2006. package/dist/esm/id-af3a8fc4.js +0 -66
  2007. package/dist/esm/id-af3a8fc4.js.map +0 -1
  2008. package/dist/esm/index-097b73b3.js +0 -2620
  2009. package/dist/esm/index-097b73b3.js.map +0 -1
  2010. package/dist/esm/index-9533b374.js +0 -73
  2011. package/dist/esm/index-9533b374.js.map +0 -1
  2012. package/dist/esm/index-e99e4b5e.js +0 -206
  2013. package/dist/esm/index-e99e4b5e.js.map +0 -1
  2014. package/dist/esm/interactive-754e789c.js +0 -136
  2015. package/dist/esm/interactive-754e789c.js.map +0 -1
  2016. package/dist/esm/it-857d6425.js +0 -66
  2017. package/dist/esm/it-857d6425.js.map +0 -1
  2018. package/dist/esm/it-ch-eab96a99.js +0 -66
  2019. package/dist/esm/it-ch-eab96a99.js.map +0 -1
  2020. package/dist/esm/ja-13ab2d68.js +0 -72
  2021. package/dist/esm/ja-13ab2d68.js.map +0 -1
  2022. package/dist/esm/key-60e2158b.js +0 -13
  2023. package/dist/esm/key-60e2158b.js.map +0 -1
  2024. package/dist/esm/ko-bf3be3a2.js +0 -72
  2025. package/dist/esm/ko-bf3be3a2.js.map +0 -1
  2026. package/dist/esm/label-0e9b0888.js +0 -176
  2027. package/dist/esm/label-0e9b0888.js.map +0 -1
  2028. package/dist/esm/loadable-7dbd25a2.js +0 -86
  2029. package/dist/esm/loadable-7dbd25a2.js.map +0 -1
  2030. package/dist/esm/locale-f36cec26.js +0 -563
  2031. package/dist/esm/locale-f36cec26.js.map +0 -1
  2032. package/dist/esm/lt-70fc6c59.js +0 -97
  2033. package/dist/esm/lt-70fc6c59.js.map +0 -1
  2034. package/dist/esm/lv-44889ee3.js +0 -66
  2035. package/dist/esm/lv-44889ee3.js.map +0 -1
  2036. package/dist/esm/math-1ac284e1.js +0 -51
  2037. package/dist/esm/math-1ac284e1.js.map +0 -1
  2038. package/dist/esm/mk-23d05e5a.js +0 -66
  2039. package/dist/esm/mk-23d05e5a.js.map +0 -1
  2040. package/dist/esm/nb-60878f89.js +0 -67
  2041. package/dist/esm/nb-60878f89.js.map +0 -1
  2042. package/dist/esm/nl-09e13ed2.js +0 -67
  2043. package/dist/esm/nl-09e13ed2.js.map +0 -1
  2044. package/dist/esm/observers-af88fcaa.js +0 -48
  2045. package/dist/esm/observers-af88fcaa.js.map +0 -1
  2046. package/dist/esm/openCloseComponent-e3cc1d89.js +0 -87
  2047. package/dist/esm/openCloseComponent-e3cc1d89.js.map +0 -1
  2048. package/dist/esm/pl-a65bf4c8.js +0 -114
  2049. package/dist/esm/pl-a65bf4c8.js.map +0 -1
  2050. package/dist/esm/pt-21d12586.js +0 -67
  2051. package/dist/esm/pt-21d12586.js.map +0 -1
  2052. package/dist/esm/pt-br-6a2dbf3f.js +0 -65
  2053. package/dist/esm/pt-br-6a2dbf3f.js.map +0 -1
  2054. package/dist/esm/resources-097a756d.js +0 -387
  2055. package/dist/esm/resources-097a756d.js.map +0 -1
  2056. package/dist/esm/resources-0d40ce6e.js +0 -23
  2057. package/dist/esm/resources-0d40ce6e.js.map +0 -1
  2058. package/dist/esm/resources-38db133b.js +0 -45
  2059. package/dist/esm/resources-38db133b.js.map +0 -1
  2060. package/dist/esm/resources-6899e642.js +0 -21
  2061. package/dist/esm/resources-6899e642.js.map +0 -1
  2062. package/dist/esm/resources-83effc11.js +0 -19
  2063. package/dist/esm/resources-83effc11.js.map +0 -1
  2064. package/dist/esm/resources-890ac5f6.js +0 -25
  2065. package/dist/esm/resources-890ac5f6.js.map +0 -1
  2066. package/dist/esm/resources-b5ec50e8.js +0 -17
  2067. package/dist/esm/resources-b5ec50e8.js.map +0 -1
  2068. package/dist/esm/ro-f8dba38d.js +0 -66
  2069. package/dist/esm/ro-f8dba38d.js.map +0 -1
  2070. package/dist/esm/ru-e588f74f.js +0 -126
  2071. package/dist/esm/ru-e588f74f.js.map +0 -1
  2072. package/dist/esm/sk-90c5f9fc.js +0 -148
  2073. package/dist/esm/sk-90c5f9fc.js.map +0 -1
  2074. package/dist/esm/sl-d47a0bdb.js +0 -168
  2075. package/dist/esm/sl-d47a0bdb.js.map +0 -1
  2076. package/dist/esm/sortableComponent-5fdadd5f.js +0 -2735
  2077. package/dist/esm/sortableComponent-5fdadd5f.js.map +0 -1
  2078. package/dist/esm/sr-875acf0b.js +0 -101
  2079. package/dist/esm/sr-875acf0b.js.map +0 -1
  2080. package/dist/esm/sv-5d0e06f3.js +0 -71
  2081. package/dist/esm/sv-5d0e06f3.js.map +0 -1
  2082. package/dist/esm/t9n-6076de70.js +0 -92
  2083. package/dist/esm/t9n-6076de70.js.map +0 -1
  2084. package/dist/esm/th-c38df95b.js +0 -65
  2085. package/dist/esm/th-c38df95b.js.map +0 -1
  2086. package/dist/esm/throttle-d06a26f5.js +0 -75
  2087. package/dist/esm/throttle-d06a26f5.js.map +0 -1
  2088. package/dist/esm/tr-626cee1d.js +0 -66
  2089. package/dist/esm/tr-626cee1d.js.map +0 -1
  2090. package/dist/esm/uk-3ebc600c.js +0 -104
  2091. package/dist/esm/uk-3ebc600c.js.map +0 -1
  2092. package/dist/esm/utils-7ef7fb8d.js +0 -289
  2093. package/dist/esm/utils-7ef7fb8d.js.map +0 -1
  2094. package/dist/esm/utils-9f0093ca.js +0 -200
  2095. package/dist/esm/utils-9f0093ca.js.map +0 -1
  2096. package/dist/esm/vi-071d5d2d.js +0 -70
  2097. package/dist/esm/vi-071d5d2d.js.map +0 -1
  2098. package/dist/esm/zh-cn-6970a86c.js +0 -94
  2099. package/dist/esm/zh-cn-6970a86c.js.map +0 -1
  2100. package/dist/esm/zh-hk-aba1ecff.js +0 -71
  2101. package/dist/esm/zh-hk-aba1ecff.js.map +0 -1
  2102. package/dist/esm/zh-tw-a6a532be.js +0 -92
  2103. package/dist/esm/zh-tw-a6a532be.js.map +0 -1
  2104. /package/dist/calcite/{p-2fa987a7.entry.js.map → p-0400ef77.entry.js.map} +0 -0
  2105. /package/dist/calcite/{p-731d7d1f.entry.js.map → p-040458d6.entry.js.map} +0 -0
  2106. /package/dist/calcite/{p-e26c29c9.js.map → p-05b6cbd8.js.map} +0 -0
  2107. /package/dist/calcite/{p-a2170dc0.entry.js.map → p-05e789db.entry.js.map} +0 -0
  2108. /package/dist/calcite/{p-dcd13701.js.map → p-091d9858.js.map} +0 -0
  2109. /package/dist/calcite/{p-fa7ba8b6.js.map → p-0c2e3aad.js.map} +0 -0
  2110. /package/dist/calcite/{p-2e2f9eb7.js.map → p-0daf215d.js.map} +0 -0
  2111. /package/dist/calcite/{p-4f20f8bd.js.map → p-12f5bcc2.js.map} +0 -0
  2112. /package/dist/calcite/{p-24f8a3cf.js.map → p-13f2b982.js.map} +0 -0
  2113. /package/dist/calcite/{p-f073261c.js.map → p-1504c4bc.js.map} +0 -0
  2114. /package/dist/calcite/{p-f0ba8d69.js.map → p-1519f1b1.js.map} +0 -0
  2115. /package/dist/calcite/{p-5ed56a65.js.map → p-1816e373.js.map} +0 -0
  2116. /package/dist/calcite/{p-08afd9f9.js.map → p-1b9fce06.js.map} +0 -0
  2117. /package/dist/calcite/{p-4156a7b7.js.map → p-1bd37d92.js.map} +0 -0
  2118. /package/dist/calcite/{p-c150ca30.js.map → p-1fb0edab.js.map} +0 -0
  2119. /package/dist/calcite/{p-fffd0a52.entry.js.map → p-1fe30fd5.entry.js.map} +0 -0
  2120. /package/dist/calcite/{p-c166c258.entry.js.map → p-231c107f.entry.js.map} +0 -0
  2121. /package/dist/calcite/{p-51115c24.entry.js.map → p-23279d92.entry.js.map} +0 -0
  2122. /package/dist/calcite/{p-5b78e823.js.map → p-239a302f.js.map} +0 -0
  2123. /package/dist/calcite/{p-fe4141bc.js.map → p-23e2dc47.js.map} +0 -0
  2124. /package/dist/calcite/{p-f3b5799b.js.map → p-249b5f27.js.map} +0 -0
  2125. /package/dist/calcite/{p-ced65efd.js.map → p-24a30c3f.js.map} +0 -0
  2126. /package/dist/calcite/{p-b684cc58.js.map → p-250e4bad.js.map} +0 -0
  2127. /package/dist/calcite/{p-63bd8a4b.js.map → p-2916cbf8.js.map} +0 -0
  2128. /package/dist/calcite/{p-48b40958.js.map → p-29d59169.js.map} +0 -0
  2129. /package/dist/calcite/{p-04e41c9e.js.map → p-2a0e5a11.js.map} +0 -0
  2130. /package/dist/calcite/{p-bd42f48e.js.map → p-2aa2f7cd.js.map} +0 -0
  2131. /package/dist/calcite/{p-12b2713a.js.map → p-2c6d85e0.js.map} +0 -0
  2132. /package/dist/calcite/{p-047ddcc3.js.map → p-2e4e16ec.js.map} +0 -0
  2133. /package/dist/calcite/{p-d32ccd2e.js.map → p-330a88fe.js.map} +0 -0
  2134. /package/dist/calcite/{p-0cfa59ce.js.map → p-3463cc4d.js.map} +0 -0
  2135. /package/dist/calcite/{p-54792766.entry.js.map → p-34e86b78.entry.js.map} +0 -0
  2136. /package/dist/calcite/{p-2444441e.js.map → p-35085fc6.js.map} +0 -0
  2137. /package/dist/calcite/{p-24fe818d.js.map → p-3b1aa79a.js.map} +0 -0
  2138. /package/dist/calcite/{p-d2d8b5ab.js.map → p-3d563d6c.js.map} +0 -0
  2139. /package/dist/calcite/{p-aa66dd0e.js.map → p-3e58f30a.js.map} +0 -0
  2140. /package/dist/calcite/{p-d1b77a1f.entry.js.map → p-3ea004c7.entry.js.map} +0 -0
  2141. /package/dist/calcite/{p-6217d2be.js.map → p-3f47b086.js.map} +0 -0
  2142. /package/dist/calcite/{p-b4b11e80.js.map → p-43513514.js.map} +0 -0
  2143. /package/dist/calcite/{p-2baba6ae.entry.js.map → p-44695804.entry.js.map} +0 -0
  2144. /package/dist/calcite/{p-bc807243.entry.js.map → p-44883d29.entry.js.map} +0 -0
  2145. /package/dist/calcite/{p-fea51e11.js.map → p-4499d937.js.map} +0 -0
  2146. /package/dist/calcite/{p-2acafed7.js.map → p-46aee694.js.map} +0 -0
  2147. /package/dist/calcite/{p-d6a917f2.js.map → p-4a4b5865.js.map} +0 -0
  2148. /package/dist/calcite/{p-39da4cfe.js.map → p-4b611f67.js.map} +0 -0
  2149. /package/dist/calcite/{p-d372edf0.js.map → p-4c98f9b4.js.map} +0 -0
  2150. /package/dist/calcite/{p-89a90437.js.map → p-57789033.js.map} +0 -0
  2151. /package/dist/calcite/{p-f452516d.js.map → p-5b4f8928.js.map} +0 -0
  2152. /package/dist/calcite/{p-ffc07b09.js.map → p-5c9022c4.js.map} +0 -0
  2153. /package/dist/calcite/{p-35bbdb70.js.map → p-5cb6043e.js.map} +0 -0
  2154. /package/dist/calcite/{p-860f2840.js.map → p-5e8a1714.js.map} +0 -0
  2155. /package/dist/calcite/{p-5e2f88f6.entry.js.map → p-70a71228.entry.js.map} +0 -0
  2156. /package/dist/calcite/{p-0ab7411f.js.map → p-72b775e7.js.map} +0 -0
  2157. /package/dist/calcite/{p-cbba7c58.entry.js.map → p-73a82b58.entry.js.map} +0 -0
  2158. /package/dist/calcite/{p-fd8656d2.js.map → p-75574333.js.map} +0 -0
  2159. /package/dist/calcite/{p-944e4b97.js.map → p-766cb4ae.js.map} +0 -0
  2160. /package/dist/calcite/{p-cdc3ea29.js.map → p-77d93b0a.js.map} +0 -0
  2161. /package/dist/calcite/{p-bf6c55d0.js.map → p-79bbdea2.js.map} +0 -0
  2162. /package/dist/calcite/{p-191ebaec.js.map → p-7bfac667.js.map} +0 -0
  2163. /package/dist/calcite/{p-9aaa5fe6.js.map → p-7c75d87e.js.map} +0 -0
  2164. /package/dist/calcite/{p-bd51f50e.entry.js.map → p-7f257d85.entry.js.map} +0 -0
  2165. /package/dist/calcite/{p-cda14f95.entry.js.map → p-7f911056.entry.js.map} +0 -0
  2166. /package/dist/calcite/{p-fe73630a.entry.js.map → p-8061256f.entry.js.map} +0 -0
  2167. /package/dist/calcite/{p-875bbc2f.js.map → p-84509552.js.map} +0 -0
  2168. /package/dist/calcite/{p-2f8ec7d6.js.map → p-84c2d7a3.js.map} +0 -0
  2169. /package/dist/calcite/{p-d0b722d8.js.map → p-84ca459e.js.map} +0 -0
  2170. /package/dist/calcite/{p-daf57fbf.js.map → p-85261e0f.js.map} +0 -0
  2171. /package/dist/calcite/{p-c9f5da49.entry.js.map → p-865b5aff.entry.js.map} +0 -0
  2172. /package/dist/calcite/{p-829fc24d.js.map → p-88c3db86.js.map} +0 -0
  2173. /package/dist/calcite/{p-31b34f80.js.map → p-89960aec.js.map} +0 -0
  2174. /package/dist/calcite/{p-d6fa4961.entry.js.map → p-8b1c930f.entry.js.map} +0 -0
  2175. /package/dist/calcite/{p-55f2b783.js.map → p-8b8bf120.js.map} +0 -0
  2176. /package/dist/calcite/{p-c954a299.js.map → p-8c7e7697.js.map} +0 -0
  2177. /package/dist/calcite/{p-d1b4cec0.entry.js.map → p-8d915753.entry.js.map} +0 -0
  2178. /package/dist/calcite/{p-45ae9c67.entry.js.map → p-903c476a.entry.js.map} +0 -0
  2179. /package/dist/calcite/{p-931b5c91.js.map → p-916c9ed8.js.map} +0 -0
  2180. /package/dist/calcite/{p-40ca9289.js.map → p-9bd72c4b.js.map} +0 -0
  2181. /package/dist/calcite/{p-ad94293e.js.map → p-9c020055.js.map} +0 -0
  2182. /package/dist/calcite/{p-a0b0cfdb.js.map → p-9d5e3d27.js.map} +0 -0
  2183. /package/dist/calcite/{p-0744102f.js.map → p-9dc12a27.js.map} +0 -0
  2184. /package/dist/calcite/{p-0e7d40ee.entry.js.map → p-a17bf78e.entry.js.map} +0 -0
  2185. /package/dist/calcite/{p-f372733e.js.map → p-a17eb9ea.js.map} +0 -0
  2186. /package/dist/calcite/{p-f17847fa.js.map → p-a32f6830.js.map} +0 -0
  2187. /package/dist/calcite/{p-6eedb384.entry.js.map → p-a3c0ed04.entry.js.map} +0 -0
  2188. /package/dist/calcite/{p-2ba5bb74.entry.js.map → p-a7472d89.entry.js.map} +0 -0
  2189. /package/dist/calcite/{p-352dbd53.js.map → p-a78032b0.js.map} +0 -0
  2190. /package/dist/calcite/{p-231854ac.js.map → p-aafc3399.js.map} +0 -0
  2191. /package/dist/calcite/{p-5f96c5c5.js.map → p-ab98f055.js.map} +0 -0
  2192. /package/dist/calcite/{p-712a1aa1.js.map → p-b1d6c466.js.map} +0 -0
  2193. /package/dist/calcite/{p-1d006482.entry.js.map → p-b45457e7.entry.js.map} +0 -0
  2194. /package/dist/calcite/{p-305d121b.entry.js.map → p-b51f9007.entry.js.map} +0 -0
  2195. /package/dist/calcite/{p-637401ce.entry.js.map → p-b5f22ece.entry.js.map} +0 -0
  2196. /package/dist/calcite/{p-833b4a95.entry.js.map → p-b6784840.entry.js.map} +0 -0
  2197. /package/dist/calcite/{p-e9e06519.entry.js.map → p-b7e9a13e.entry.js.map} +0 -0
  2198. /package/dist/calcite/{p-573ec9e5.entry.js.map → p-b85166d7.entry.js.map} +0 -0
  2199. /package/dist/calcite/{p-9ca66781.js.map → p-bca3d9ad.js.map} +0 -0
  2200. /package/dist/calcite/{p-47818307.entry.js.map → p-bd992802.entry.js.map} +0 -0
  2201. /package/dist/calcite/{p-545a2214.js.map → p-be7c993a.js.map} +0 -0
  2202. /package/dist/calcite/{p-f14a70da.js.map → p-bfcbd5ac.js.map} +0 -0
  2203. /package/dist/calcite/{p-cd86b221.js.map → p-c0d88a65.js.map} +0 -0
  2204. /package/dist/calcite/{p-8a8ea00b.js.map → p-c1bba8e2.js.map} +0 -0
  2205. /package/dist/calcite/{p-3b56f990.js.map → p-c3d4de95.js.map} +0 -0
  2206. /package/dist/calcite/{p-81a9398a.js.map → p-c3d83479.js.map} +0 -0
  2207. /package/dist/calcite/{p-32f67500.js.map → p-c4dc0ed5.js.map} +0 -0
  2208. /package/dist/calcite/{p-0add2080.js.map → p-c7303ea7.js.map} +0 -0
  2209. /package/dist/calcite/{p-57178418.entry.js.map → p-c8d5c160.entry.js.map} +0 -0
  2210. /package/dist/calcite/{p-9d3b22e9.js.map → p-cc769c9e.js.map} +0 -0
  2211. /package/dist/calcite/{p-3541a165.js.map → p-cca68f65.js.map} +0 -0
  2212. /package/dist/calcite/{p-ad133460.js.map → p-ccaec298.js.map} +0 -0
  2213. /package/dist/calcite/{p-05032c5d.entry.js.map → p-d1a38a56.entry.js.map} +0 -0
  2214. /package/dist/calcite/{p-dee112be.js.map → p-d577d352.js.map} +0 -0
  2215. /package/dist/calcite/{p-16e2d2bc.entry.js.map → p-d94fdf16.entry.js.map} +0 -0
  2216. /package/dist/calcite/{p-88747575.entry.js.map → p-da183ec2.entry.js.map} +0 -0
  2217. /package/dist/calcite/{p-4c4ceade.js.map → p-dbd5722c.js.map} +0 -0
  2218. /package/dist/calcite/{p-c5960eff.entry.js.map → p-dc52c915.entry.js.map} +0 -0
  2219. /package/dist/calcite/{p-7fd0dcc7.entry.js.map → p-dfe51851.entry.js.map} +0 -0
  2220. /package/dist/calcite/{p-36dafdd6.js.map → p-e0aec947.js.map} +0 -0
  2221. /package/dist/calcite/{p-eaa876a0.entry.js.map → p-e6e69327.entry.js.map} +0 -0
  2222. /package/dist/calcite/{p-599494bc.js.map → p-e85ded3a.js.map} +0 -0
  2223. /package/dist/calcite/{p-3dd989e0.entry.js.map → p-ed3e3508.entry.js.map} +0 -0
  2224. /package/dist/calcite/{p-4a1fee4f.js.map → p-edc1e089.js.map} +0 -0
  2225. /package/dist/calcite/{p-bc66cfed.js.map → p-ee8c72a0.js.map} +0 -0
  2226. /package/dist/calcite/{p-a198a446.entry.js.map → p-f4b71550.entry.js.map} +0 -0
  2227. /package/dist/calcite/{p-b109f717.js.map → p-f5f55c67.js.map} +0 -0
  2228. /package/dist/calcite/{p-b92982e7.entry.js.map → p-f6267029.entry.js.map} +0 -0
  2229. /package/dist/calcite/{p-0b73937f.entry.js.map → p-f75fb642.entry.js.map} +0 -0
  2230. /package/dist/calcite/{p-fd3a39b9.js.map → p-f9762ec5.js.map} +0 -0
  2231. /package/dist/calcite/{p-ab480c69.entry.js.map → p-fadf9f1f.entry.js.map} +0 -0
  2232. /package/dist/calcite/{p-d4b3b7d3.entry.js.map → p-fb049a1d.entry.js.map} +0 -0
  2233. /package/dist/calcite/{p-713b3d75.js.map → p-fb5759aa.js.map} +0 -0
  2234. /package/dist/calcite/{p-9babed90.entry.js.map → p-ff8bc553.entry.js.map} +0 -0
@@ -1,7 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.2.0-next.14
5
- */
6
- import{h as e,r as t,c as i,H as s,e as o,g as r}from"./p-0add2080.js";import{s as n,l as a}from"./p-9aaa5fe6.js";import{c}from"./p-b109f717.js";import{g as l}from"./p-860f2840.js";import{c as h,d as p,n as d}from"./p-d2d8b5ab.js";import{c as m,s as u,d as b,u as f}from"./p-599494bc.js";import{c as g,u as v,d as y,I as x}from"./p-c954a299.js";import{s as z,a as w,c as k}from"./p-2f8ec7d6.js";import"./p-6217d2be.js";import"./p-191ebaec.js";import"./p-d0b722d8.js";const I={stepBar:"step-bar",stepBarActive:"step-bar--active",stepBarComplete:"step-bar--complete",stepBarDisabled:"step-bar--disabled",stepBarError:"step-bar--error",stepBarInActive:"step-bar--inactive"};const C=({disabled:t,active:i,complete:s,error:o,key:r})=>e("svg",{class:{[I.stepBar]:true},key:r},e("rect",{class:{[I.stepBarActive]:i,[I.stepBarComplete]:s,[I.stepBarDisabled]:t,[I.stepBarError]:o,[I.stepBarInActive]:true},width:"100%",x:"0",y:"0"}));const S={s:120,m:180,l:200};const A={actionIcon:"action-icon",actionIconStart:"action-icon--start",actionIconEnd:"action-icon--end",actionContainer:"action-container",stepBarContainer:"step-bar-container",singleView:"single-view"};const E=':host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s:0.25rem;--calcite-internal-stepper-action-block-size:2.75rem;--calcite-internal-stepper-action-inline-size:2rem;--calcite-internal-step-bar-gap:0.25rem}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s:0.5rem;--calcite-internal-stepper-action-block-size:3.25rem;--calcite-internal-stepper-action-inline-size:2.5rem}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s:0.75rem;--calcite-internal-stepper-action-block-size:4rem;--calcite-internal-stepper-action-inline-size:3rem;--calcite-internal-step-bar-gap:0.75rem}:host{display:flex}.container{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]) .container{flex:1 1 auto;flex-direction:column}:host([layout=horizontal]) .container{display:grid;grid-template-areas:"items" "content";gap:0.5rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=s]) .container{gap:0.25rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .container{gap:0.75rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .container.single-view{display:flex;grid-template-columns:none}.action-icon{position:relative;display:flex;flex-grow:0;block-size:var(--calcite-internal-stepper-action-block-size);inline-size:var(--calcite-internal-stepper-action-inline-size)}.action-container{position:absolute;display:flex;justify-content:space-between;padding-block:0.25rem;inline-size:100%}.step-bar{display:flex;block-size:100%;inline-size:100%}.step-bar-container{position:absolute;display:flex;align-items:flex-start;justify-content:space-between;block-size:0.125rem;inline-size:100%;gap:var(--calcite-internal-step-bar-gap, 0.5rem)}.step-bar--inactive{fill:var(--calcite-color-border-3, #dfdfdf);fill-opacity:1;block-size:100%}.step-bar--active{fill:var(--calcite-color-brand)}.step-bar--complete{fill:var(--calcite-color-brand);fill-opacity:0.5}.step-bar--error{fill:var(--calcite-color-status-danger)}.step-bar--disabled{opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}';const j=class{constructor(e){t(this,e);this.calciteStepperItemChange=i(this,"calciteStepperItemChange",6);this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",6);this.enabledItems=[];this.itemMap=new Map;this.items=[];this.mutationObserver=c("mutation",(()=>this.updateItems()));this.multipleViewMode=false;this.guid=`calcite-stepper-action-${l()}`;this.resizeObserver=c("resize",(e=>this.elWidth=e[0].contentRect.width));this.handleActionClick=e=>{const t=this.currentActivePosition;const i=e.target;if(i.getAttribute("data-position")==="start"){this.prevStep()}else{this.nextStep()}if(typeof this.currentActivePosition==="number"&&t!==this.currentActivePosition&&!this.items[this.currentActivePosition].disabled){this.calciteStepperItemChange.emit()}};this.setContainerEl=e=>{this.containerEl=e};this.handleDefaultSlotChange=e=>{const t=n(e).filter((e=>e?.tagName==="CALCITE-STEPPER-ITEM"));this.items=t;this.setGridTemplateColumns(t);this.setStepperItemNumberingSystem()};this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.messages=undefined;this.numberingSystem=undefined;this.selectedItem=null;this.messageOverrides=undefined;this.defaultMessages=undefined;this.effectiveLocale="";this.currentActivePosition=undefined;this.elWidth=undefined}handleItemPropChange(){this.updateItems()}numberingSystemChange(){this.setStepperItemNumberingSystem()}onMessagesChange(){}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:true});this.updateItems();m(this);h(this)}async componentWillLoad(){await u(this)}componentDidLoad(){this.resizeObserver?.observe(this.containerEl);if(typeof this.currentActivePosition!=="number"){const e=this.getFirstEnabledStepperPosition();if(e===0){this.currentActivePosition=e}this.calciteInternalStepperItemChange.emit({position:e})}}disconnectedCallback(){this.resizeObserver?.disconnect();b(this);p(this);this.mutationObserver?.disconnect()}render(){return e(s,{"aria-label":this.messages.label,role:"region"},e("div",{class:{container:true,[A.singleView]:!this.multipleViewMode},ref:this.setContainerEl},!this.multipleViewMode&&this.layout==="horizontal"&&e("div",{class:{[A.stepBarContainer]:true}},this.items.map(((t,i)=>e(C,{active:i===this.currentActivePosition,complete:t.complete&&i!==this.currentActivePosition&&!t.error,disabled:t.disabled&&i!==this.currentActivePosition,error:t.error&&i!==this.currentActivePosition,key:i})))),e("div",{class:{[A.actionContainer]:true}},this.renderAction("start"),this.renderAction("end")),e("slot",{onSlotchange:this.handleDefaultSlotChange})))}calciteInternalStepperItemKeyEvent(e){const t=e.detail.item;const i=e.target;switch(t.key){case"ArrowDown":case"ArrowRight":a(this.enabledItems,i,"next");break;case"ArrowUp":case"ArrowLeft":a(this.enabledItems,i,"previous");break;case"Home":a(this.enabledItems,i,"first");break;case"End":a(this.enabledItems,i,"last");break}e.stopPropagation()}registerItem(e){const t=e.target;const{content:i,position:s}=e.detail;this.itemMap.set(t,{position:s,content:i});this.enabledItems=this.filterItems();e.stopPropagation()}updateItem(e){const{position:t}=e.detail;if(typeof t==="number"){this.currentActivePosition=t;this.selectedItem=e.target}this.calciteInternalStepperItemChange.emit({position:t})}handleUserRequestedStepperItemSelect(){this.calciteStepperItemChange.emit()}async nextStep(){const e=this.getEnabledStepIndex(this.currentActivePosition+1,"next");if(typeof e!=="number"){return}this.updateStep(e)}async prevStep(){const e=this.getEnabledStepIndex(this.currentActivePosition-1,"previous");if(typeof e!=="number"){return}this.updateStep(e)}async goToStep(e){const t=e-1;if(this.currentActivePosition!==t){this.updateStep(t)}}async startStep(){const e=this.getEnabledStepIndex(0,"next");if(typeof e!=="number"){return}this.updateStep(e)}async endStep(){const e=this.getEnabledStepIndex(this.items.length-1,"previous");if(typeof e!=="number"){return}this.updateStep(e)}effectiveLocaleChange(){f(this,this.effectiveLocale)}handlePositionChange(){o((()=>{this.determineActiveStepper(true)}))}handleElWidthChange(){o((()=>{this.determineActiveStepper()}))}updateItems(){this.el.querySelectorAll("calcite-stepper-item").forEach((e=>{e.icon=this.icon;e.numbered=this.numbered;e.layout=this.layout;e.scale=this.scale}))}determineActiveStepper(e=false){const t=this.items.length;if(!this.elWidth||!t||this.layout!=="horizontal"||t===1){return}const i=this.currentActivePosition||0;const s=t*this.getMinWidthOfStepperItem();const o=(t-1)*(parseInt(window.getComputedStyle(this.containerEl).rowGap)||0);if(this.elWidth<=s+o){this.multipleViewMode=false;this.items.forEach(((e,t)=>{if(t!==i){e.hidden=true}else{e.hidden=false;e.multipleViewMode=false}}))}else if(this.elWidth>s+o){if(this.multipleViewMode&&!e){return}this.multipleViewMode=true;this.setGridTemplateColumns(this.items);this.items.forEach((e=>{e.hidden=false;e.multipleViewMode=true}))}}getEnabledStepIndex(e,t="next"){const{items:i,currentActivePosition:s}=this;let o=e;while(i[o]?.disabled&&this.multipleViewMode){o=o+(t==="previous"?-1:1)}return o!==s&&o<i.length&&o>=0?o:null}updateStep(e){this.currentActivePosition=e;this.calciteInternalStepperItemChange.emit({position:e})}filterItems(){return this.items.filter((e=>!e.disabled))}setStepperItemNumberingSystem(){this.items.forEach((e=>{e.numberingSystem=this.numberingSystem}))}renderAction(t){const i=t==="start";const s=i?"chevron-left":"chevron-right";const{currentActivePosition:o,multipleViewMode:r,layout:n}=this;const a=this.items.length;const c=`${this.guid}-${i?"start":"end"}`;return n==="horizontal"&&!r?e("calcite-action",{alignment:"center",appearance:"transparent",class:{[A.actionIcon]:true},compact:true,"data-position":t,disabled:o===0&&i||o===a-1&&!i,icon:s,iconFlipRtl:true,id:c,onClick:this.handleActionClick,scale:this.scale,text:i?this.messages.previousStep:this.messages.nextStep}):null}getFirstEnabledStepperPosition(){const e=this.items.findIndex((e=>!e.disabled));if(e>-1){return e}return 0}setGridTemplateColumns(e){const t=this.getMinWidthOfStepperItem();const i=Array(e.length).fill(`minmax(${t}px, 1fr)`).join(" ");this.containerEl.style.gridTemplateAreas=i;this.containerEl.style.gridTemplateColumns=i}getMinWidthOfStepperItem(){return S[this.scale]}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{icon:["handleItemPropChange"],layout:["handleItemPropChange"],numbered:["handleItemPropChange"],scale:["handleItemPropChange"],numberingSystem:["numberingSystemChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],currentActivePosition:["handlePositionChange"],elWidth:["handleElWidthChange"]}}};j.style=E;const L={container:"container",stepperItemContent:"stepper-item-content",stepperItemDescription:"stepper-item-description",stepperItemHeader:"stepper-item-header",stepperItemHeading:"stepper-item-heading",stepperItemHeaderText:"stepper-item-header-text",stepperItemNumber:"stepper-item-number",visuallyHidden:"visually-hidden"};const P=":host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;--calcite-internal-stepper-action-inline-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem;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;--calcite-internal-stepper-action-inline-size:2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;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;--calcite-internal-stepper-action-inline-size:3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;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:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-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-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected][multiple-view-mode]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal]:not([multiple-view-mode])) .stepper-item-header{margin-inline-end:0px;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + 0.5rem)}:host([layout=horizontal][error]:not([multiple-view-mode])) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal][error]:not([multiple-view-mode])) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal][error][selected]:not([multiple-view-mode])),:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal][error][selected]:not([multiple-view-mode])) .stepper-item-heading,:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][complete][selected]:not([multiple-view-mode])) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const D=class{constructor(e){t(this,e);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.keyDownHandler=e=>{if(!this.disabled&&e.target===this.el){switch(e.key){case" ":case"Enter":this.emitUserRequestedItem();e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e});e.preventDefault();break}}};this.handleItemClick=e=>{if(this.disabled||this.layout==="horizontal"&&e.composedPath().some((e=>e.classList?.contains("stepper-item-content")))){return}this.emitUserRequestedItem()};this.emitUserRequestedItem=()=>{this.emitRequestedItem();if(!this.disabled){const e=this.itemPosition;this.calciteInternalUserRequestedStepperItemSelect.emit({position:e})}};this.emitRequestedItem=()=>{if(!this.disabled){const e=this.itemPosition;this.calciteInternalStepperItemSelect.emit({position:e})}};this.selected=false;this.complete=false;this.error=false;this.disabled=false;this.heading=undefined;this.description=undefined;this.iconFlipRtl=false;this.numberingSystem=undefined;this.icon=false;this.layout=undefined;this.messages=undefined;this.numbered=false;this.scale="m";this.multipleViewMode=false;this.messageOverrides=undefined;this.defaultMessages=undefined;this.effectiveLocale=""}selectedHandler(){if(this.selected){this.emitRequestedItem()}}disabledWatcher(){this.registerStepperItem()}onMessagesChange(){}effectiveLocaleWatcher(e){d.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:false};f(this,this.effectiveLocale)}connectedCallback(){g(this);h(this);m(this)}async componentWillLoad(){z(this);this.parentStepperEl=this.el.parentElement;this.itemPosition=this.getItemPosition();this.registerStepperItem();if(this.selected){this.emitRequestedItem()}await u(this)}componentDidLoad(){w(this)}componentDidRender(){v(this)}disconnectedCallback(){y(this);p(this);b(this)}render(){return e(s,{"aria-current":this.selected?"step":"false",onClick:this.handleItemClick,onKeyDown:this.keyDownHandler,tabIndex:this.disabled?-1:0},e(x,{disabled:this.disabled},e("div",{class:L.container},this.complete&&e("span",{"aria-live":"polite",class:L.visuallyHidden},this.messages.complete),e("div",{class:L.stepperItemHeader,tabIndex:this.layout==="horizontal"&&!this.disabled&&this.multipleViewMode?0:null,ref:e=>this.headerEl=e},this.icon?this.renderIcon():null,this.numbered?e("div",{class:L.stepperItemNumber},this.renderNumbers(),"."):null,e("div",{class:L.stepperItemHeaderText},e("span",{class:L.stepperItemHeading},this.heading),e("span",{class:L.stepperItemDescription},this.description))),e("div",{class:L.stepperItemContent},e("slot",null)))))}updateActiveItemOnChange(e){if(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl)){this.selectedPosition=e.detail.position;this.determineSelectedItem()}}async setFocus(){await k(this);(this.layout==="vertical"?this.el:this.headerEl)?.focus()}renderIcon(){let t="circle";if(this.selected&&(this.multipleViewMode||!this.error&&!this.complete)){t="circleF"}else if(this.error){t="exclamationMarkCircleF"}else if(this.complete){t="checkCircleF"}return e("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:t,scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){d.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:false};return d.numberFormatter.format(this.itemPosition+1)}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};D.style=P;export{j as calcite_stepper,D as calcite_stepper_item};
7
- //# sourceMappingURL=p-5e2f88f6.entry.js.map
@@ -1,7 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.2.0-next.14
5
- */
6
- import{r as e,h as t,H as i,g as n}from"./p-0add2080.js";import{s as a,a as l}from"./p-2f8ec7d6.js";import{a as s,c as r,d as c}from"./p-31b34f80.js";import{g as o,n as h,c as d,d as u}from"./p-d2d8b5ab.js";import{v as b}from"./p-9aaa5fe6.js";import{c as p}from"./p-b109f717.js";import"./p-191ebaec.js";import"./p-860f2840.js";import"./p-6217d2be.js";const g={container:"container",fill:"fill",stepLine:"step-line",label:"label",labelHidden:"label-hidden",labelRange:"label-range",labelValue:"label-value",unitLabel:"unit-label",stepsVisible:"steps-visible",valueVisible:"value-visible",success:"fill-success",warning:"fill-warning",danger:"fill-danger"};const f=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host{display:flex;--calcite-meter-space-internal:0.125rem;--calcite-meter-height-internal:1rem;--calcite-meter-font-size-internal:var(--calcite-font-size--1)}:host([scale=s]){--calcite-meter-height-internal:0.75rem;--calcite-meter-font-size-internal:var(--calcite-font-size--2)}:host([scale=l]){--calcite-meter-height-internal:1.5rem;--calcite-meter-font-size-internal:var(--calcite-font-size-0)}.container{position:relative;margin:0px;display:flex;inline-size:100%;align-items:center;block-size:var(--calcite-meter-height-internal);background-color:var(--calcite-color-foreground-2);border:1px solid var(--calcite-color-border-3);border-radius:var(--calcite-meter-height-internal)}.solid{border:1px solid var(--calcite-color-foreground-3);background-color:var(--calcite-color-foreground-3)}.outline{background-color:transparent}.value-visible{margin-block-start:1.5rem}.steps-visible{margin-block-end:1.5rem}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-meter-space-internal);background-color:var(--calcite-color-border-3)}.label{position:absolute;font-size:var(--calcite-meter-font-size-internal)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + 0.5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.label-range{color:var(--calcite-color-text-3);inset-block-start:calc(100% + 0.5em)}.unit-label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3)}.label-value .unit-label{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;background-color:var(--calcite-color-brand);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-inline-start:var(--calcite-meter-space-internal);inset-block:var(--calcite-meter-space-internal);border-radius:var(--calcite-meter-height-internal);max-inline-size:calc(100% - var(--calcite-meter-space-internal) * 2);min-inline-size:calc(var(--calcite-meter-height-internal) - var(--calcite-meter-space-internal) * 2);transition-property:inline-size, background-color, box-shadow}.fill-danger{background-color:var(--calcite-color-status-danger)}.fill-success{background-color:var(--calcite-color-status-success)}.fill-warning{background-color:var(--calcite-color-status-warning)}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-meter-height-internal));box-shadow:0 0 0 1px var(--calcite-color-brand)}.solid .fill-danger{box-shadow:0 0 0 1px var(--calcite-color-status-danger)}.solid .fill-success{box-shadow:0 0 0 1px var(--calcite-color-status-success)}.solid .fill-warning{box-shadow:0 0 0 1px var(--calcite-color-status-warning)}";const m=class{constructor(t){e(this,t);this.labelFlipMax=.8;this.labelFlipProximity=.15;this.maxPercent=100;this.minPercent=0;this.resizeObserver=p("resize",(()=>this.resizeHandler()));this.formatLabel=(e,t)=>{if(t==="percent"){if(!this.percentFormatting){const e=o(this.effectiveLocale);const t=new Intl.NumberFormat(e,{useGrouping:this.groupSeparator,style:"percent"});this.percentFormatting={formatter:t,locale:e}}return this.percentFormatting.formatter.format(e)}else{h.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};return h.localize(e.toString())}};this.appearance="outline-fill";this.disabled=false;this.fillType="range";this.form=undefined;this.groupSeparator=false;this.high=undefined;this.label=undefined;this.low=undefined;this.max=100;this.min=0;this.name=undefined;this.numberingSystem=undefined;this.rangeLabels=false;this.rangeLabelType="percent";this.scale="m";this.unitLabel="";this.value=undefined;this.valueLabel=false;this.valueLabelType="percent";this.currentPercent=undefined;this.effectiveLocale=undefined;this.highActive=undefined;this.highPercent=undefined;this.lowActive=undefined;this.lowPercent=undefined}handleRangeChange(){this.calculateValues();this.updateLabels()}handleLabelChange(){this.updateLabels()}async componentWillLoad(){a(this);this.calculateValues();s(this,this.value)}componentDidLoad(){l(this);this.updateLabels()}connectedCallback(){d(this);r(this);this.resizeObserver?.observe(this.el)}disconnectedCallback(){u(this);c(this);this.resizeObserver?.disconnect()}resizeHandler(){this.updateLabels()}updateLabels(){if(this.valueLabelEl){this.determineValueLabelPosition()}if(this.rangeLabels){this.determineVisibleLabels()}}calculateValues(){const{min:e,max:t,low:i,high:n,value:a}=this;const l=100*(i-e)/(t-e);const s=100*(n-e)/(t-e);const r=100*(a-e)/(t-e);if(!i||i<e||i>n||i>t){this.low=e}if(!n||n>t||n<i||n<e){this.high=t}if(!a){this.value=e}this.lowPercent=l;this.highPercent=s;this.currentPercent=a?r:0;this.lowActive=!!i&&i>e&&(!a||i>a)&&(!n||i<n);this.highActive=!!n&&e<=n&&n<t&&(!a||n>a)&&(!i||n>i)}getMeterKindCssClass(){const{low:e,high:t,min:i,max:n,value:a}=this;const l=e?e:i;const s=t?t:n;const r=a>=l;const c=a<l;const o=a>=s;const h=a<s;if(!a||!e&&h||c){return g.success}else if(r&&h){return g.warning}else if(o){return g.danger}else{return g.success}}intersects(e,t){return e&&t&&b(e.getBoundingClientRect(),t.getBoundingClientRect())}determineVisibleLabels(){const{minLabelEl:e,lowLabelEl:t,highLabelEl:i,maxLabelEl:n}=this;const a=this.intersects(i,n);const l=this.intersects(t,i);const s=this.intersects(t,n);const r=this.intersects(e,i);const c=this.intersects(e,t);const o=this.intersects(e,n);const h=g.labelHidden;if(t){if(c||s||l){t.classList.add(h)}else{t.classList.remove(h)}}if(i){if(r||s||a){i.classList.add(h)}else{i.classList.remove(h)}}if(e&&n){if(o){n.classList.add(h)}else{n.classList.remove(h)}}}determineValueLabelPosition(){const{valueLabelEl:e,meterContainerEl:t,currentPercent:i}=this;const n=i>100?100:i>0?i:0;const a=e.getBoundingClientRect().width;const l=t.getBoundingClientRect().width;const s=100*(a-0)/(l-0);if(n+s>=100){e.style.insetInlineEnd="0%";e.style.removeProperty("inset-inline-start")}else{e.style.insetInlineStart=`${n}% `;e.style.removeProperty("inset-inline-end")}}renderMeterFill(){const{currentPercent:e,fillType:i}=this;const n=this.getMeterKindCssClass();return t("div",{class:{[g.fill]:true,[n]:i!=="single"},style:{width:`${e}%`}})}renderRangeLine(e){const i={insetInlineStart:`${e}%`};return t("div",{class:g.stepLine,style:i})}renderValueLabel(){const{currentPercent:e,valueLabelType:i,unitLabel:n,value:a}=this;const l=this.formatLabel(i==="percent"?e/100:a||0,i);return t("div",{class:{[g.label]:true,[g.labelValue]:true},key:"low-label-line",ref:e=>this.valueLabelEl=e},l,n&&i!=="percent"&&t("span",{class:g.unitLabel}," ",n))}renderMinLabel(){const{rangeLabelType:e,min:i,minPercent:n,unitLabel:a}=this;const l={insetInlineStart:`${n}%`};const s=this.formatLabel(e==="percent"?n:i,e);return t("div",{class:{[g.label]:true,[g.labelRange]:true},key:"min-label-line",style:l,ref:e=>this.minLabelEl=e},s,a&&e!=="percent"&&t("span",{class:g.unitLabel}," ",a))}renderLowLabel(){const{rangeLabelType:e,low:i,lowPercent:n,highPercent:a,labelFlipProximity:l}=this;const s=i?this.formatLabel(e==="percent"?n/100:i,e):"";const r={insetInlineStart:`${n}%`};const c={insetInlineEnd:`${100-n}%`};const o=(a-n)/100<l?c:r;return t("div",{class:{[g.label]:true,[g.labelRange]:true},key:"low-label-line",style:o,ref:e=>this.lowLabelEl=e},s)}renderHighLabel(){const{rangeLabelType:e,high:i,highPercent:n,labelFlipMax:a}=this;const l=i?this.formatLabel(e==="percent"?n/100:i,e):"";const s={insetInlineStart:`${n}%`};const r={insetInlineEnd:`${100-n}%`};const c=n/100>=a?r:s;return t("div",{class:{[g.label]:true,[g.labelRange]:true},key:"high-label-line",style:c,ref:e=>this.highLabelEl=e},l)}renderMaxLabel(){const{rangeLabelType:e,max:i,maxPercent:n}=this;const a={insetInlineEnd:`${100-n}%`};const l=this.formatLabel(e==="percent"?n/100:i,e);return t("div",{class:{[g.label]:true,[g.labelRange]:true},key:"max-label-line",style:a,ref:e=>this.maxLabelEl=e},l)}render(){const{appearance:e,currentPercent:n,highActive:a,highPercent:l,label:s,lowActive:r,lowPercent:c,max:o,maxPercent:h,min:d,minPercent:u,rangeLabels:b,rangeLabelType:p,unitLabel:f,value:m,valueLabel:v,valueLabelType:L}=this;const y=this.formatLabel(n/100,"percent");const x=`${m} ${f}`;const w=L==="percent"?y:f?x:undefined;return t(i,null,t("div",{"aria-label":s,"aria-valuemax":p==="percent"?h:o,"aria-valuemin":p==="percent"?u:d,"aria-valuenow":L==="percent"?n:m,"aria-valuetext":w,class:{[g.container]:true,[g.stepsVisible]:b,[g.valueVisible]:v,[e]:e!=="outline-fill"},role:"meter",ref:e=>this.meterContainerEl=e},this.renderMeterFill(),v&&this.renderValueLabel(),r&&this.renderRangeLine(c),a&&this.renderRangeLine(l),b&&this.renderMinLabel(),b&&r&&this.renderLowLabel(),b&&a&&this.renderHighLabel(),b&&this.renderMaxLabel()))}get el(){return n(this)}static get watchers(){return{min:["handleRangeChange"],max:["handleRangeChange"],low:["handleRangeChange"],high:["handleRangeChange"],value:["handleRangeChange"],rangeLabels:["handleLabelChange"],rangeLabelType:["handleLabelChange"],unitLabel:["handleLabelChange"],valueLabel:["handleLabelChange"],valueLabelType:["handleLabelChange"]}}};m.style=f;export{m as calcite_meter};
7
- //# sourceMappingURL=p-5e832882.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["CSS","container","fill","stepLine","label","labelHidden","labelRange","labelValue","unitLabel","stepsVisible","valueVisible","success","warning","danger","meterCss","Meter","this","labelFlipMax","labelFlipProximity","maxPercent","minPercent","resizeObserver","createObserver","resizeHandler","formatLabel","value","labelType","percentFormatting","locale","getSupportedLocale","effectiveLocale","formatter","Intl","NumberFormat","useGrouping","groupSeparator","style","format","numberStringFormatter","numberFormatOptions","numberingSystem","localize","toString","handleRangeChange","calculateValues","updateLabels","handleLabelChange","componentWillLoad","setUpLoadableComponent","afterConnectDefaultValueSet","componentDidLoad","setComponentLoaded","connectedCallback","connectLocalized","connectForm","observe","el","disconnectedCallback","disconnectLocalized","disconnectForm","disconnect","valueLabelEl","determineValueLabelPosition","rangeLabels","determineVisibleLabels","min","max","low","high","lowPercent","highPercent","currentPercent","lowActive","highActive","getMeterKindCssClass","lowest","highest","aboveLowest","belowLowest","aboveHighest","belowHighest","intersects","el1","el2","getBoundingClientRect","minLabelEl","lowLabelEl","highLabelEl","maxLabelEl","highMaxOverlap","lowHighOverlap","lowMaxOverlap","minHighOverlap","minLowOverlap","minMaxOverlap","hiddenClass","classList","add","remove","meterContainerEl","valuePosition","valueLabelWidth","width","containerWidth","labelWidthPercent","insetInlineEnd","removeProperty","insetInlineStart","renderMeterFill","fillType","kindClass","h","class","renderRangeLine","position","renderValueLabel","valueLabelType","key","ref","renderMinLabel","rangeLabelType","labelMin","renderLowLabel","styleDefault","styleFlipped","renderHighLabel","renderMaxLabel","labelMax","render","appearance","valueLabel","textPercentLabelWithPercent","textUnitLabel","valueText","undefined","Host","role"],"sources":["src/components/meter/resources.ts","src/components/meter/meter.scss?tag=calcite-meter&encapsulation=shadow","src/components/meter/meter.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n fill: \"fill\",\n stepLine: \"step-line\",\n label: \"label\",\n labelHidden: \"label-hidden\",\n labelRange: \"label-range\",\n labelValue: \"label-value\",\n unitLabel: \"unit-label\",\n stepsVisible: \"steps-visible\",\n valueVisible: \"value-visible\",\n success: \"fill-success\",\n warning: \"fill-warning\",\n danger: \"fill-danger\",\n};\n","@include base-component();\n@include disabled();\n\n:host {\n @apply flex;\n --calcite-meter-space-internal: theme(\"spacing[0.5]\");\n --calcite-meter-height-internal: theme(\"spacing.4\");\n --calcite-meter-font-size-internal: var(--calcite-font-size--1);\n}\n\n:host([scale=\"s\"]) {\n --calcite-meter-height-internal: theme(\"spacing.3\");\n --calcite-meter-font-size-internal: var(--calcite-font-size--2);\n}\n\n:host([scale=\"l\"]) {\n --calcite-meter-height-internal: theme(\"spacing.6\");\n --calcite-meter-font-size-internal: var(--calcite-font-size-0);\n}\n\n.container {\n @apply flex relative items-center w-full m-0;\n block-size: var(--calcite-meter-height-internal);\n background-color: var(--calcite-color-foreground-2);\n border: 1px solid var(--calcite-color-border-3);\n border-radius: var(--calcite-meter-height-internal);\n}\n\n.solid {\n border: 1px solid var(--calcite-color-foreground-3);\n background-color: var(--calcite-color-foreground-3);\n}\n\n.outline {\n @apply bg-transparent;\n}\n\n.value-visible {\n margin-block-start: theme(\"spacing.6\");\n}\n\n.steps-visible {\n margin-block-end: theme(\"spacing.6\");\n}\n\n.step-line {\n @apply block absolute inset-y-0;\n inline-size: var(--calcite-meter-space-internal);\n background-color: var(--calcite-color-border-3);\n}\n\n.label {\n @apply absolute;\n font-size: var(--calcite-meter-font-size-internal);\n}\n\n.label-hidden {\n @apply invisible opacity-0;\n}\n\n.label-value {\n inset-block-end: calc(100% + 0.5em);\n font-weight: var(--calcite-font-weight-bold);\n color: var(--calcite-color-text-1);\n}\n\n.label-range {\n @apply text-color-3;\n inset-block-start: calc(100% + 0.5em);\n}\n\n.unit-label {\n @apply text-color-3 font-medium;\n}\n\n.label-value .unit-label {\n @apply text-color-2 font-bold;\n}\n\n.fill {\n @apply block absolute duration-150 ease-in-out bg-brand z-default;\n inset-inline-start: var(--calcite-meter-space-internal);\n inset-block: var(--calcite-meter-space-internal);\n border-radius: var(--calcite-meter-height-internal);\n max-inline-size: calc(100% - (var(--calcite-meter-space-internal) * 2));\n min-inline-size: calc(var(--calcite-meter-height-internal) - (var(--calcite-meter-space-internal) * 2));\n transition-property: inline-size, background-color, box-shadow;\n}\n\n.fill-danger {\n background-color: var(--calcite-color-status-danger);\n}\n\n.fill-success {\n background-color: var(--calcite-color-status-success);\n}\n\n.fill-warning {\n background-color: var(--calcite-color-status-warning);\n}\n\n.solid .fill {\n inset-block: 0;\n inset-inline-start: 0;\n max-inline-size: 100%;\n min-inline-size: calc(var(--calcite-meter-height-internal));\n box-shadow: 0 0 0 1px var(--calcite-color-brand);\n}\n\n.solid .fill-danger {\n box-shadow: 0 0 0 1px var(--calcite-color-status-danger);\n}\n\n.solid .fill-success {\n box-shadow: 0 0 0 1px var(--calcite-color-status-success);\n}\n\n.solid .fill-warning {\n box-shadow: 0 0 0 1px var(--calcite-color-status-warning);\n}\n","import { Component, Element, h, Host, Prop, State, VNode, Watch } from \"@stencil/core\";\nimport { Appearance, Scale } from \"../interfaces\";\nimport { CSS } from \"./resources\";\n\nimport {\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\n\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n} from \"../../utils/form\";\n\nimport {\n connectLocalized,\n disconnectLocalized,\n getSupportedLocale,\n LocalizedComponent,\n NumberingSystem,\n numberStringFormatter,\n SupportedLocale,\n} from \"../../utils/locale\";\nimport { intersects } from \"../../utils/dom\";\nimport { createObserver } from \"../../utils/observers\";\nimport { MeterLabelType } from \"./interfaces\";\n\n@Component({\n tag: \"calcite-meter\",\n styleUrl: \"meter.scss\",\n shadow: true,\n})\nexport class Meter implements FormComponent, LoadableComponent, LocalizedComponent {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies the appearance style of the component. */\n @Prop({ reflect: true }) appearance: Extract<\"outline\" | \"outline-fill\" | \"solid\", Appearance> =\n \"outline-fill\";\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Specifies the component's display, where `\"single\"` displays a single color and `\"range\"` displays a range of colors based on provided `low`, `high`, `min` or `max` values. */\n @Prop({ reflect: true }) fillType: \"single\" | \"range\" = \"range\";\n\n /**\n * The ID of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /** When `true`, number values are displayed with a group separator corresponding to the language and country format. */\n @Prop({ reflect: true }) groupSeparator = false;\n\n /** Specifies a high value. When `fillType` is `\"range\"`, displays a different color when above the specified threshold. */\n @Prop({ reflect: true, mutable: true }) high: number;\n\n /** Accessible name for the component. */\n @Prop() label!: string;\n\n /** Specifies a low value. When `fillType` is `\"range\"`, displays a different color when above the specified threshold. */\n @Prop({ reflect: true, mutable: true }) low: number;\n\n /** Specifies the highest allowed value of the component. */\n @Prop({ reflect: true }) max = 100;\n\n /** Specifies the lowest allowed value of the component. */\n @Prop({ reflect: true }) min = 0;\n\n @Watch(\"min\")\n @Watch(\"max\")\n @Watch(\"low\")\n @Watch(\"high\")\n @Watch(\"value\")\n handleRangeChange(): void {\n this.calculateValues();\n this.updateLabels();\n }\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** Specifies the Unicode numeral system used by the component for localization. */\n @Prop() numberingSystem: NumberingSystem;\n\n /** When `true`, displays the values of `high`, `low`, `min`, and `max`. */\n @Prop({ reflect: true }) rangeLabels = false;\n\n /** When `rangeLabels` is `true`, specifies the format of displayed labels. */\n @Prop({ reflect: true }) rangeLabelType: MeterLabelType = \"percent\";\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** When `rangeLabelType` is `\"units\"` and either `valueLabel` or `rangeLabels` are `true`, displays beside the `value` and/or `min` values. */\n @Prop() unitLabel = \"\";\n\n /** Specifies the current value of the component. */\n @Prop({ mutable: true }) value: number;\n\n /** When `true`, displays the current value. */\n @Prop({ reflect: true }) valueLabel = false;\n\n /** When `valueLabel` is `true`, specifies the format of displayed label. */\n @Prop({ reflect: true }) valueLabelType: MeterLabelType = \"percent\";\n\n @Watch(\"rangeLabels\")\n @Watch(\"rangeLabelType\")\n @Watch(\"unitLabel\")\n @Watch(\"valueLabel\")\n @Watch(\"valueLabelType\")\n handleLabelChange(): void {\n this.updateLabels();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.calculateValues();\n afterConnectDefaultValueSet(this, this.value);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n this.updateLabels();\n }\n\n connectedCallback(): void {\n connectLocalized(this);\n connectForm(this);\n this.resizeObserver?.observe(this.el);\n }\n\n disconnectedCallback(): void {\n disconnectLocalized(this);\n disconnectForm(this);\n this.resizeObserver?.disconnect();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteMeterElement;\n\n defaultValue: Meter[\"value\"];\n\n formEl: HTMLFormElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n private highLabelEl: HTMLDivElement;\n\n private labelFlipMax = 0.8;\n\n private labelFlipProximity = 0.15;\n\n private lowLabelEl: HTMLDivElement;\n\n private maxLabelEl: HTMLDivElement;\n\n private maxPercent = 100;\n\n private meterContainerEl: HTMLDivElement;\n\n private minLabelEl: HTMLDivElement;\n\n private minPercent = 0;\n\n private percentFormatting: {\n formatter: Intl.NumberFormat;\n locale: SupportedLocale;\n };\n\n private resizeObserver = createObserver(\"resize\", () => this.resizeHandler());\n\n private valueLabelEl: HTMLDivElement;\n\n @State() currentPercent: number;\n\n @State() effectiveLocale: string;\n\n @State() highActive: boolean;\n\n @State() highPercent: number;\n\n @State() lowActive: boolean;\n\n @State() lowPercent: number;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private resizeHandler(): void {\n this.updateLabels();\n }\n\n private updateLabels(): void {\n if (this.valueLabelEl) {\n this.determineValueLabelPosition();\n }\n if (this.rangeLabels) {\n this.determineVisibleLabels();\n }\n }\n\n private calculateValues(): void {\n const { min, max, low, high, value } = this;\n const lowPercent = (100 * (low - min)) / (max - min);\n const highPercent = (100 * (high - min)) / (max - min);\n const currentPercent = (100 * (value - min)) / (max - min);\n\n if (!low || low < min || low > high || low > max) {\n this.low = min;\n }\n if (!high || high > max || high < low || high < min) {\n this.high = max;\n }\n if (!value) {\n this.value = min;\n }\n\n this.lowPercent = lowPercent;\n this.highPercent = highPercent;\n this.currentPercent = value ? currentPercent : 0;\n this.lowActive = !!low && low > min && (!value || low > value) && (!high || low < high);\n this.highActive =\n !!high && min <= high && high < max && (!value || high > value) && (!low || high > low);\n }\n\n private formatLabel = (value: number, labelType: MeterLabelType): string => {\n if (labelType === \"percent\") {\n if (!this.percentFormatting) {\n const locale = getSupportedLocale(this.effectiveLocale);\n const formatter = new Intl.NumberFormat(locale, {\n useGrouping: this.groupSeparator,\n style: \"percent\",\n });\n this.percentFormatting = { formatter, locale };\n }\n return this.percentFormatting.formatter.format(value);\n } else {\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: this.groupSeparator,\n };\n return numberStringFormatter.localize(value.toString());\n }\n };\n\n private getMeterKindCssClass(): string {\n const { low, high, min, max, value } = this;\n const lowest = low ? low : min;\n const highest = high ? high : max;\n const aboveLowest = value >= lowest;\n const belowLowest = value < lowest;\n const aboveHighest = value >= highest;\n const belowHighest = value < highest;\n\n if (!value || (!low && belowHighest) || belowLowest) {\n return CSS.success;\n } else if (aboveLowest && belowHighest) {\n return CSS.warning;\n } else if (aboveHighest) {\n return CSS.danger;\n } else {\n return CSS.success;\n }\n }\n\n private intersects(el1: HTMLDivElement, el2: HTMLDivElement): boolean {\n return el1 && el2 && intersects(el1.getBoundingClientRect(), el2.getBoundingClientRect());\n }\n\n private determineVisibleLabels(): void {\n const { minLabelEl, lowLabelEl, highLabelEl, maxLabelEl } = this;\n const highMaxOverlap = this.intersects(highLabelEl, maxLabelEl);\n const lowHighOverlap = this.intersects(lowLabelEl, highLabelEl);\n const lowMaxOverlap = this.intersects(lowLabelEl, maxLabelEl);\n const minHighOverlap = this.intersects(minLabelEl, highLabelEl);\n const minLowOverlap = this.intersects(minLabelEl, lowLabelEl);\n const minMaxOverlap = this.intersects(minLabelEl, maxLabelEl);\n const hiddenClass = CSS.labelHidden;\n\n if (lowLabelEl) {\n if (minLowOverlap || lowMaxOverlap || lowHighOverlap) {\n lowLabelEl.classList.add(hiddenClass);\n } else {\n lowLabelEl.classList.remove(hiddenClass);\n }\n }\n\n if (highLabelEl) {\n if (minHighOverlap || lowMaxOverlap || highMaxOverlap) {\n highLabelEl.classList.add(hiddenClass);\n } else {\n highLabelEl.classList.remove(hiddenClass);\n }\n }\n\n if (minLabelEl && maxLabelEl) {\n if (minMaxOverlap) {\n maxLabelEl.classList.add(hiddenClass);\n } else {\n maxLabelEl.classList.remove(hiddenClass);\n }\n }\n }\n\n private determineValueLabelPosition(): void {\n const { valueLabelEl, meterContainerEl, currentPercent } = this;\n const valuePosition = currentPercent > 100 ? 100 : currentPercent > 0 ? currentPercent : 0;\n const valueLabelWidth = valueLabelEl.getBoundingClientRect().width;\n const containerWidth = meterContainerEl.getBoundingClientRect().width;\n const labelWidthPercent = (100 * (valueLabelWidth - 0)) / (containerWidth - 0);\n\n if (valuePosition + labelWidthPercent >= 100) {\n valueLabelEl.style.insetInlineEnd = \"0%\";\n valueLabelEl.style.removeProperty(\"inset-inline-start\");\n } else {\n valueLabelEl.style.insetInlineStart = `${valuePosition}% `;\n valueLabelEl.style.removeProperty(\"inset-inline-end\");\n }\n }\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderMeterFill(): VNode {\n const { currentPercent, fillType } = this;\n const kindClass = this.getMeterKindCssClass();\n return (\n <div\n class={{ [CSS.fill]: true, [kindClass]: fillType !== \"single\" }}\n style={{ width: `${currentPercent}%` }}\n />\n );\n }\n\n renderRangeLine(position: number): VNode {\n const style = { insetInlineStart: `${position}%` };\n return <div class={CSS.stepLine} style={style} />;\n }\n\n renderValueLabel(): VNode {\n const { currentPercent, valueLabelType, unitLabel, value } = this;\n const label = this.formatLabel(\n valueLabelType === \"percent\" ? currentPercent / 100 : value || 0,\n valueLabelType,\n );\n return (\n <div\n class={{ [CSS.label]: true, [CSS.labelValue]: true }}\n key=\"low-label-line\"\n // eslint-disable-next-line react/jsx-sort-props\n ref={(el) => (this.valueLabelEl = el)}\n >\n {label}\n {unitLabel && valueLabelType !== \"percent\" && (\n <span class={CSS.unitLabel}>&nbsp;{unitLabel}</span>\n )}\n </div>\n );\n }\n\n renderMinLabel(): VNode {\n const { rangeLabelType, min, minPercent, unitLabel } = this;\n const style = { insetInlineStart: `${minPercent}%` };\n const labelMin = this.formatLabel(\n rangeLabelType === \"percent\" ? minPercent : min,\n rangeLabelType,\n );\n return (\n <div\n class={{ [CSS.label]: true, [CSS.labelRange]: true }}\n key=\"min-label-line\"\n style={style}\n // eslint-disable-next-line react/jsx-sort-props\n ref={(el) => (this.minLabelEl = el)}\n >\n {labelMin}\n {unitLabel && rangeLabelType !== \"percent\" && (\n <span class={CSS.unitLabel}>&nbsp;{unitLabel}</span>\n )}\n </div>\n );\n }\n\n renderLowLabel(): VNode {\n const { rangeLabelType, low, lowPercent, highPercent, labelFlipProximity } = this;\n const label = low\n ? this.formatLabel(rangeLabelType === \"percent\" ? lowPercent / 100 : low, rangeLabelType)\n : \"\";\n const styleDefault = { insetInlineStart: `${lowPercent}%` };\n const styleFlipped = { insetInlineEnd: `${100 - lowPercent}%` };\n const style =\n (highPercent - lowPercent) / 100 < labelFlipProximity ? styleFlipped : styleDefault;\n return (\n <div\n class={{ [CSS.label]: true, [CSS.labelRange]: true }}\n key=\"low-label-line\"\n style={style}\n // eslint-disable-next-line react/jsx-sort-props\n ref={(el) => (this.lowLabelEl = el)}\n >\n {label}\n </div>\n );\n }\n\n renderHighLabel(): VNode {\n const { rangeLabelType, high, highPercent, labelFlipMax } = this;\n const label = high\n ? this.formatLabel(rangeLabelType === \"percent\" ? highPercent / 100 : high, rangeLabelType)\n : \"\";\n const styleDefault = { insetInlineStart: `${highPercent}%` };\n const styleFlipped = { insetInlineEnd: `${100 - highPercent}%` };\n const style = highPercent / 100 >= labelFlipMax ? styleFlipped : styleDefault;\n return (\n <div\n class={{ [CSS.label]: true, [CSS.labelRange]: true }}\n key=\"high-label-line\"\n style={style}\n // eslint-disable-next-line react/jsx-sort-props\n ref={(el) => (this.highLabelEl = el as HTMLDivElement)}\n >\n {label}\n </div>\n );\n }\n\n renderMaxLabel(): VNode {\n const { rangeLabelType, max, maxPercent } = this;\n const style = { insetInlineEnd: `${100 - maxPercent}%` };\n const labelMax = this.formatLabel(\n rangeLabelType === \"percent\" ? maxPercent / 100 : max,\n rangeLabelType,\n );\n return (\n <div\n class={{ [CSS.label]: true, [CSS.labelRange]: true }}\n key=\"max-label-line\"\n style={style}\n // eslint-disable-next-line react/jsx-sort-props\n ref={(el) => (this.maxLabelEl = el as HTMLDivElement)}\n >\n {labelMax}\n </div>\n );\n }\n\n render(): VNode {\n const {\n appearance,\n currentPercent,\n highActive,\n highPercent,\n label,\n lowActive,\n lowPercent,\n max,\n maxPercent,\n min,\n minPercent,\n rangeLabels,\n rangeLabelType,\n unitLabel,\n value,\n valueLabel,\n valueLabelType,\n } = this;\n const textPercentLabelWithPercent = this.formatLabel(currentPercent / 100, \"percent\");\n const textUnitLabel = `${value} ${unitLabel}`;\n const valueText =\n valueLabelType === \"percent\"\n ? textPercentLabelWithPercent\n : unitLabel\n ? textUnitLabel\n : undefined;\n return (\n <Host>\n <div\n aria-label={label}\n aria-valuemax={rangeLabelType === \"percent\" ? maxPercent : max}\n aria-valuemin={rangeLabelType === \"percent\" ? minPercent : min}\n aria-valuenow={valueLabelType === \"percent\" ? currentPercent : value}\n aria-valuetext={valueText}\n class={{\n [CSS.container]: true,\n [CSS.stepsVisible]: rangeLabels,\n [CSS.valueVisible]: valueLabel,\n [appearance]: appearance !== \"outline-fill\",\n }}\n role=\"meter\"\n // eslint-disable-next-line react/jsx-sort-props\n ref={(el) => (this.meterContainerEl = el as HTMLDivElement)}\n >\n {this.renderMeterFill()}\n {valueLabel && this.renderValueLabel()}\n {lowActive && this.renderRangeLine(lowPercent)}\n {highActive && this.renderRangeLine(highPercent)}\n {rangeLabels && this.renderMinLabel()}\n {rangeLabels && lowActive && this.renderLowLabel()}\n {rangeLabels && highActive && this.renderHighLabel()}\n {rangeLabels && this.renderMaxLabel()}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":";;;;;+VAAO,MAAMA,EAAM,CACjBC,UAAW,YACXC,KAAM,OACNC,SAAU,YACVC,MAAO,QACPC,YAAa,eACbC,WAAY,cACZC,WA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ACpBxD,GAAeS,GAAaxD,KAAK0G,iBACjC3D,GAAeU,GAAczD,KAAK6G,kBAClC9D,GAAe/C,KAAK8G,kB"}
@@ -1,7 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.2.0-next.14
5
- */
6
- import{d as a}from"./p-ebac7c85.js";import"./p-0add2080.js";import"./p-31b34f80.js";import"./p-9aaa5fe6.js";import"./p-860f2840.js";import"./p-6217d2be.js";import"./p-c954a299.js";import"./p-d0b722d8.js";import"./p-191ebaec.js";import"./p-55f2b783.js";import"./p-352dbd53.js";import"./p-2f8ec7d6.js";import"./p-d2d8b5ab.js";import"./p-b109f717.js";import"./p-bc66cfed.js";import"./p-81a9398a.js";import"./p-599494bc.js";import"./p-f14a70da.js";import"./p-2444441e.js";var e={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function a(e){return e+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};a.locale(e,null,true);export default e;
7
- //# sourceMappingURL=p-5ed56a65.js.map
@@ -1,7 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.2.0-next.14
5
- */
6
- import{r as t,c as e,h as i,H as n,g as s}from"./p-0add2080.js";import{e as o,i as r,h as a,g as l}from"./p-9aaa5fe6.js";import{s as c,c as h,i as u,d,H as p}from"./p-31b34f80.js";import{c as b,d as m,u as f,I as g}from"./p-c954a299.js";import{n as v}from"./p-191ebaec.js";import{c as x,d as w,g as y}from"./p-55f2b783.js";import{s as k,a as z,c as j}from"./p-2f8ec7d6.js";import{n as I,i as E,p as C,s as D,a as W,c as L,d as F,B as $}from"./p-d2d8b5ab.js";import{c as B}from"./p-b109f717.js";import{C as K}from"./p-6217d2be.js";import{u as V,c as N,d as P,s as R}from"./p-599494bc.js";import{g as A}from"./p-352dbd53.js";import{V as H}from"./p-2444441e.js";import"./p-860f2840.js";import"./p-d0b722d8.js";const O={loader:"loader",clearButton:"clear-button",editingEnabled:"editing-enabled",inlineChild:"inline-child",inputIcon:"icon",prefix:"prefix",suffix:"suffix",numberButtonWrapper:"number-button-wrapper",buttonItemHorizontal:"number-button-item--horizontal",wrapper:"element-wrapper",inputWrapper:"wrapper",actionWrapper:"action-wrapper",resizeIconWrapper:"resize-icon-wrapper",numberButtonItem:"number-button-item"};const U={tel:"phone",password:"lock",email:"email-address",date:"calendar",time:"clock",search:"search"};const M={action:"action"};const T=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}: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]) textarea{block-size:1.5rem;min-block-size:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) input[type=file]{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=s]) textarea{block-size:auto;padding-block:0.25rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}: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]) textarea{min-block-size:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) input[type=file]{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=m]) textarea{block-size:auto;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}: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]) textarea{min-block-size:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) input[type=file]{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([scale=l]) textarea{block-size:auto;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([disabled]) textarea{resize:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}textarea,input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input[type=search]::-webkit-search-decoration{-webkit-appearance:none}input,textarea{text-overflow:ellipsis;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input:placeholder-shown,textarea:placeholder-shown{text-overflow:ellipsis}input:focus,textarea:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly],textarea[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus,textarea[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}textarea,input{outline-color:transparent}textarea:focus,input:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}: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{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.icon,.resize-icon-wrapper{z-index:var(--calcite-z-index)}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-color-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-color-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-color-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-color-text-1)}.clear-button:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-color-text-2)}.prefix{order:2;border-inline-end-width:0px}.suffix{order:5;border-inline-start-width:0px}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:start}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:end}input[type=number]{-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0px}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0px;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);padding-block:0px;padding-inline:0.5rem;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.number-button-item:focus{background-color:var(--calcite-color-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-color-text-1)}.number-button-item:active{background-color:var(--calcite-color-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:input::-webkit-calendar-picker-indicator{display:none}input[type=date]::-webkit-input-placeholder{visibility:hidden !important}textarea::-webkit-resizer{position:absolute;inset-block-end:0px;box-sizing:border-box;padding-block:0px;padding-inline:0.25rem;inset-inline-end:0}.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-color-foreground-1);color:var(--calcite-color-text-3)}.resize-icon-wrapper calcite-icon{inset-block-end:0.25rem;inset-inline-end:0.25rem;transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);text-align:center}:host([type=file][scale=s]) input{padding-block:1px;padding-inline:0.5rem}:host([type=file][scale=m]) input{padding-block:0.25rem;padding-inline:0.75rem}:host([type=file][scale=l]) input{padding-block:0.5rem;padding-inline:1rem}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.validation-container{padding-block-start:0.5rem;display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";const q=class{constructor(i){t(this,i);this.calciteInternalInputFocus=e(this,"calciteInternalInputFocus",6);this.calciteInternalInputBlur=e(this,"calciteInternalInputBlur",6);this.calciteInputInput=e(this,"calciteInputInput",7);this.calciteInputChange=e(this,"calciteInputChange",6);this.childElType="input";this.previousValueOrigin="initial";this.mutationObserver=B("mutation",(()=>this.setDisabledAction()));this.userChangedValue=false;this.keyDownHandler=t=>{if(this.readOnly||this.disabled){return}if(this.isClearable&&t.key==="Escape"){this.clearInputValue(t);t.preventDefault()}if(t.key==="Enter"&&!t.defaultPrevented){if(c(this)){t.preventDefault()}}};this.clearInputValue=t=>{this.setValue({committing:true,nativeEvent:t,origin:"user",value:""})};this.emitChangeIfUserModified=()=>{if(this.previousValueOrigin==="user"&&this.value!==this.previousEmittedValue){this.calciteInputChange.emit();this.setPreviousEmittedValue(this.value)}};this.inputBlurHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId);this.calciteInternalInputBlur.emit();this.emitChangeIfUserModified()};this.clickHandler=t=>{if(this.disabled){return}const e=o(this.el,"action");if(t.target!==e){this.setFocus()}};this.inputFocusHandler=()=>{this.calciteInternalInputFocus.emit()};this.inputChangeHandler=()=>{if(this.type==="file"){this.files=this.childEl.files}};this.inputInputHandler=t=>{if(this.disabled||this.readOnly){return}this.setValue({nativeEvent:t,origin:"user",value:t.target.value})};this.inputKeyDownHandler=t=>{if(this.disabled||this.readOnly){return}if(t.key==="Enter"){this.emitChangeIfUserModified()}};this.inputNumberInputHandler=t=>{if(this.disabled||this.readOnly){return}const e=t.target.value;I.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const i=I.delocalize(e);if(t.inputType==="insertFromPaste"){if(!E(i)){t.preventDefault()}this.setValue({nativeEvent:t,origin:"user",value:C(i)});this.childNumberEl.value=this.localizedValue}else{this.setValue({nativeEvent:t,origin:"user",value:i})}};this.inputNumberKeyDownHandler=t=>{if(this.type!=="number"||this.disabled||this.readOnly){return}if(t.key==="ArrowUp"){t.preventDefault();this.nudgeNumberValue("up",t);return}if(t.key==="ArrowDown"){this.nudgeNumberValue("down",t);return}const e=[...v,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(t.altKey||t.ctrlKey||t.metaKey){return}const i=t.shiftKey&&t.key==="Tab";if(e.includes(t.key)||i){if(t.key==="Enter"){this.emitChangeIfUserModified()}return}I.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};if(t.key===I.decimal){if(!this.value&&!this.childNumberEl.value){return}if(this.value&&this.childNumberEl.value.indexOf(I.decimal)===-1){return}}if(/[eE]/.test(t.key)){if(!this.value&&!this.childNumberEl.value){return}if(this.value&&!/[eE]/.test(this.childNumberEl.value)){return}}if(t.key==="-"){if(!this.value&&!this.childNumberEl.value){return}if(this.value&&this.childNumberEl.value.split("-").length<=2){return}}t.preventDefault()};this.nudgeNumberValue=(t,e)=>{if(e instanceof KeyboardEvent&&e.repeat||this.type!=="number"){return}const i=this.maxString?parseFloat(this.maxString):null;const n=this.minString?parseFloat(this.minString):null;const s=150;this.incrementOrDecrementNumberValue(t,i,n,e);if(this.nudgeNumberValueIntervalId){window.clearInterval(this.nudgeNumberValueIntervalId)}let o=true;this.nudgeNumberValueIntervalId=window.setInterval((()=>{if(o){o=false;return}this.incrementOrDecrementNumberValue(t,i,n,e)}),s)};this.numberButtonPointerUpAndOutHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)};this.numberButtonPointerDownHandler=t=>{if(!r(t)){return}t.preventDefault();const e=t.target.dataset.adjustment;if(!this.disabled){this.nudgeNumberValue(e,t)}};this.onHiddenFormInputInput=t=>{if(t.target.name===this.name){this.setValue({value:t.target.value,origin:"direct"})}this.setFocus();t.stopPropagation()};this.setChildElRef=t=>{this.childEl=t};this.setChildNumberElRef=t=>{this.childNumberEl=t};this.setInputValue=t=>{if(this.type==="text"&&!this.childEl){return}if(this.type==="number"&&!this.childNumberEl){return}this[`child${this.type==="number"?"Number":""}El`].value=t};this.setPreviousEmittedValue=t=>{this.previousEmittedValue=this.normalizeValue(t)};this.setPreviousValue=t=>{this.previousValue=this.normalizeValue(t)};this.setValue=({committing:t=false,nativeEvent:e,origin:i,previousValue:n,value:s})=>{this.setPreviousValue(n??this.value);this.previousValueOrigin=i;if(this.type==="number"){I.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator,signDisplay:"never"};const t=this.previousValue?.length>s.length||this.value?.length>s.length;const e=s.charAt(s.length-1)===".";const n=e&&t?s:D(s);const o=s&&!n?E(this.previousValue)?this.previousValue:"":n;let r=I.localize(o);if(i!=="connected"&&!e){r=W(r,o,I)}this.localizedValue=e&&t?`${r}${I.decimal}`:r;this.userChangedValue=i==="user"&&this.value!==o;this.value=["-","."].includes(o)?"":o}else{this.userChangedValue=i==="user"&&this.value!==s;this.value=s}if(i==="direct"){this.setInputValue(s);this.previousEmittedValue=s}if(e){const e=this.calciteInputInput.emit();if(e.defaultPrevented){this.value=this.previousValue;this.localizedValue=this.type==="number"?I.localize(this.previousValue):this.previousValue}else if(t){this.emitChangeIfUserModified()}}};this.inputKeyUpHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)};this.alignment="start";this.autofocus=false;this.clearable=false;this.disabled=false;this.form=undefined;this.groupSeparator=false;this.hidden=false;this.icon=undefined;this.iconFlipRtl=false;this.label=undefined;this.loading=false;this.numberingSystem=undefined;this.localeFormat=false;this.max=undefined;this.min=undefined;this.maxLength=undefined;this.minLength=undefined;this.validationMessage=undefined;this.validationIcon=undefined;this.name=undefined;this.numberButtonType="vertical";this.placeholder=undefined;this.prefixText=undefined;this.readOnly=false;this.required=false;this.scale="m";this.status="idle";this.step=undefined;this.autocomplete=undefined;this.pattern=undefined;this.accept=undefined;this.multiple=false;this.inputMode="text";this.enterKeyHint=undefined;this.suffixText=undefined;this.editingEnabled=false;this.type="text";this.value="";this.files=undefined;this.messages=undefined;this.messageOverrides=undefined;this.defaultMessages=undefined;this.effectiveLocale="";this.localizedValue=undefined;this.slottedActionElDisabledInternally=false}disabledWatcher(){this.setDisabledAction()}maxWatcher(){this.maxString=this.max?.toString()||null}minWatcher(){this.minString=this.min?.toString()||null}onMessagesChange(){}valueWatcher(t,e){if(!this.userChangedValue){this.setValue({origin:"direct",previousValue:e,value:t==null||t==""?"":this.type==="number"?E(t)?t:this.previousValue||"":t});this.warnAboutInvalidNumberValue(t)}this.userChangedValue=false}updateRequestedIcon(){this.requestedIcon=a(U,this.icon,this.type)}get isClearable(){return!this.isTextarea&&(this.clearable||this.type==="search")&&this.value?.length>0}get isTextarea(){return this.childElType==="textarea"}effectiveLocaleChange(){V(this,this.effectiveLocale)}connectedCallback(){b(this);L(this);N(this);this.inlineEditableEl=this.el.closest("calcite-inline-editable");if(this.inlineEditableEl){this.editingEnabled=this.inlineEditableEl.editingEnabled||false}x(this);h(this);this.setPreviousEmittedValue(this.value);this.setPreviousValue(this.value);if(this.type==="number"){this.warnAboutInvalidNumberValue(this.value);this.setValue({origin:"connected",value:E(this.value)?this.value:""})}this.mutationObserver?.observe(this.el,{childList:true});this.setDisabledAction();this.el.addEventListener(u,this.onHiddenFormInputInput)}disconnectedCallback(){m(this);w(this);d(this);F(this);P(this);this.mutationObserver?.disconnect();this.el.removeEventListener(u,this.onHiddenFormInputInput)}async componentWillLoad(){k(this);this.childElType=this.type==="textarea"?"textarea":"input";this.maxString=this.max?.toString();this.minString=this.min?.toString();this.requestedIcon=a(U,this.icon,this.type);await R(this)}componentDidLoad(){z(this)}componentShouldUpdate(t,e,i){if(this.type==="number"&&i==="value"&&t&&!E(t)){this.setValue({origin:"reset",value:e});return false}return true}componentDidRender(){f(this)}async setFocus(){await j(this);if(this.type==="number"){this.childNumberEl?.focus()}else{this.childEl?.focus()}}async selectText(){if(this.type==="number"){this.childNumberEl?.select()}else{this.childEl?.select()}}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(t,e,i,n){const{value:s}=this;const o=t==="up"?1:-1;const r=this.step==="any"?1:Math.abs(this.step||1);const a=new $(s!==""?s:"0");const l=a.add(`${r*o}`);const c=()=>typeof i==="number"&&!isNaN(i)&&l.subtract(`${i}`).isNegative;const h=()=>typeof e==="number"&&!isNaN(e)&&!l.subtract(`${e}`).isNegative;const u=c()?`${i}`:h()?`${e}`:l.toString();this.setValue({committing:true,nativeEvent:n,origin:"user",value:u})}onFormReset(){this.setValue({origin:"reset",value:this.defaultValue})}syncHiddenFormInput(t){const{type:e}=this;t.type=e;if(e==="number"){t.min=this.min?.toString(10)??"";t.max=this.max?.toString(10)??""}else if(e==="text"){if(this.minLength!=null){t.minLength=this.minLength}if(this.maxLength!=null){t.maxLength=this.maxLength}}}setDisabledAction(){const t=o(this.el,"action");if(!t){return}if(this.disabled){if(t.getAttribute("disabled")==null){this.slottedActionElDisabledInternally=true}t.setAttribute("disabled","")}else if(this.slottedActionElDisabledInternally){t.removeAttribute("disabled");this.slottedActionElDisabledInternally=false}}normalizeValue(t){return this.type==="number"?E(t)?t:"":t}warnAboutInvalidNumberValue(t){if(this.type==="number"&&t&&!E(t)){console.warn(`The specified value "${t}" cannot be parsed, or is out of range.`)}}render(){const t=l(this.el);const e=i("div",{class:O.loader},i("calcite-progress",{label:this.messages.loading,type:"indeterminate"}));const s=i("button",{"aria-label":this.messages.clear,class:O.clearButton,disabled:this.disabled||this.readOnly,onClick:this.clearInputValue,tabIndex:-1,type:"button"},i("calcite-icon",{icon:"x",scale:A(this.scale)}));const o=i("calcite-icon",{class:O.inputIcon,flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:A(this.scale)});const r=this.numberButtonType==="horizontal";const a=i("button",{"aria-hidden":"true",class:{[O.numberButtonItem]:true,[O.buttonItemHorizontal]:r},"data-adjustment":"up",disabled:this.disabled||this.readOnly,onPointerDown:this.numberButtonPointerDownHandler,onPointerOut:this.numberButtonPointerUpAndOutHandler,onPointerUp:this.numberButtonPointerUpAndOutHandler,tabIndex:-1,type:"button"},i("calcite-icon",{icon:"chevron-up",scale:A(this.scale)}));const c=i("button",{"aria-hidden":"true",class:{[O.numberButtonItem]:true,[O.buttonItemHorizontal]:r},"data-adjustment":"down",disabled:this.disabled||this.readOnly,onPointerDown:this.numberButtonPointerDownHandler,onPointerOut:this.numberButtonPointerUpAndOutHandler,onPointerUp:this.numberButtonPointerUpAndOutHandler,tabIndex:-1,type:"button"},i("calcite-icon",{icon:"chevron-down",scale:A(this.scale)}));const h=i("div",{class:O.numberButtonWrapper},a,c);const u=i("div",{class:O.prefix},this.prefixText);const d=i("div",{class:O.suffix},this.suffixText);const b=this.type==="number"?i("input",{accept:this.accept,"aria-label":y(this),autocomplete:this.autocomplete,autofocus:this.autofocus?true:null,defaultValue:this.defaultValue,disabled:this.disabled?true:null,enterKeyHint:this.enterKeyHint,inputMode:this.inputMode,key:"localized-input",maxLength:this.maxLength,minLength:this.minLength,multiple:this.multiple,name:undefined,onBlur:this.inputBlurHandler,onFocus:this.inputFocusHandler,onInput:this.inputNumberInputHandler,onKeyDown:this.inputNumberKeyDownHandler,onKeyUp:this.inputKeyUpHandler,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readOnly,type:"text",value:this.localizedValue,ref:this.setChildNumberElRef}):null;const m=this.type!=="number"?[i(this.childElType,{accept:this.accept,"aria-label":y(this),autocomplete:this.autocomplete,autofocus:this.autofocus?true:null,class:{[O.editingEnabled]:this.editingEnabled,[O.inlineChild]:!!this.inlineEditableEl},defaultValue:this.defaultValue,disabled:this.disabled?true:null,enterKeyHint:this.enterKeyHint,inputMode:this.inputMode,max:this.maxString,maxLength:this.maxLength,min:this.minString,minLength:this.minLength,multiple:this.multiple,name:this.name,onBlur:this.inputBlurHandler,onChange:this.inputChangeHandler,onFocus:this.inputFocusHandler,onInput:this.inputInputHandler,onKeyDown:this.inputKeyDownHandler,onKeyUp:this.inputKeyUpHandler,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readOnly,required:this.required?true:null,step:this.step,tabIndex:this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null,type:this.type,value:this.value,ref:this.setChildElRef}),this.isTextarea?i("div",{class:O.resizeIconWrapper},i("calcite-icon",{icon:"chevron-down",scale:A(this.scale)})):null]:null;return i(n,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},i(g,{disabled:this.disabled},i("div",{class:{[O.inputWrapper]:true,[K.rtl]:t==="rtl"}},this.type==="number"&&this.numberButtonType==="horizontal"&&!this.readOnly?c:null,this.prefixText?u:null,i("div",{class:O.wrapper},b,m,this.isClearable?s:null,this.requestedIcon?o:null,this.loading?e:null),i("div",{class:O.actionWrapper},i("slot",{name:M.action})),this.type==="number"&&this.numberButtonType==="vertical"&&!this.readOnly?h:null,this.suffixText?d:null,this.type==="number"&&this.numberButtonType==="horizontal"&&!this.readOnly?a:null,i(p,{component:this})),this.validationMessage?i(H,{icon:this.validationIcon,message:this.validationMessage,scale:this.scale,status:this.status}):null))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{disabled:["disabledWatcher"],max:["maxWatcher"],min:["minWatcher"],messageOverrides:["onMessagesChange"],value:["valueWatcher"],icon:["updateRequestedIcon"],type:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};q.style=T;export{q as calcite_input};
7
- //# sourceMappingURL=p-5f65fbce.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["CSS","loader","clearButton","editingEnabled","inlineChild","inputIcon","prefix","suffix","numberButtonWrapper","buttonItemHorizontal","wrapper","inputWrapper","actionWrapper","resizeIconWrapper","numberButtonItem","INPUT_TYPE_ICONS","tel","password","email","date","time","search","SLOTS","action","inputCss","Input","this","childElType","previousValueOrigin","mutationObserver","createObserver","setDisabledAction","userChangedValue","keyDownHandler","event","readOnly","disabled","isClearable","key","clearInputValue","preventDefault","defaultPrevented","submitForm","nativeEvent","setValue","committing","origin","value","emitChangeIfUserModified","previousEmittedValue","calciteInputChange","emit","setPreviousEmittedValue","inputBlurHandler","window","clearInterval","nudgeNumberValueIntervalId","calciteInternalInputBlur","clickHandler","slottedActionEl","getSlotted","el","target","setFocus","inputFocusHandler","calciteInternalInputFocus","inputChangeHandler","type","files","childEl","inputInputHandler","inputKeyDownHandler","inputNumberInputHandler","numberStringFormatter","numberFormatOptions","locale","effectiveLocale","numberingSystem","useGrouping","groupSeparator","delocalizedValue","delocalize","inputType","isValidNumber","parseNumberString","childNumberEl","localizedValue","inputNumberKeyDownHandler","nudgeNumberValue","supportedKeys","numberKeys","altKey","ctrlKey","metaKey","isShiftTabEvent","shiftKey","includes","decimal","indexOf","test","split","length","direction","KeyboardEvent","repeat","inputMax","maxString","parseFloat","inputMin","minString","valueNudgeDelayInMs","incrementOrDecrementNumberValue","firstValueNudge","setInterval","numberButtonPointerUpAndOutHandler","numberButtonPointerDownHandler","isPrimaryPointerButton","dataset","adjustment","onHiddenFormInputInput","name","stopPropagation","setChildElRef","setChildNumberElRef","setInputValue","newInputValue","normalizeValue","setPreviousValue","previousValue","signDisplay","isValueDeleted","hasTrailingDecimalSeparator","charAt","sanitizedValue","sanitizeNumberString","newValue","newLocalizedValue","localize","addLocalizedTrailingDecimalZeros","calciteInputInputEvent","calciteInputInput","inputKeyUpHandler","disabledWatcher","maxWatcher","max","toString","minWatcher","min","onMessagesChange","valueWatcher","warnAboutInvalidNumberValue","updateRequestedIcon","requestedIcon","setRequestedIcon","icon","isTextarea","clearable","effectiveLocaleChange","updateMessages","connectedCallback","connectInteractive","connectLocalized","connectMessages","inlineEditableEl","closest","connectLabel","connectForm","observe","childList","addEventListener","internalHiddenInputInputEvent","disconnectedCallback","disconnectInteractive","disconnectLabel","disconnectForm","disconnectLocalized","disconnectMessages","disconnect","removeEventListener","componentWillLoad","setUpLoadableComponent","setUpMessages","componentDidLoad","setComponentLoaded","componentShouldUpdate","oldValue","property","componentDidRender","updateHostInteraction","componentFocusable","focus","selectText","select","onLabelClick","inputStep","step","Math","abs","inputVal","BigDecimal","nudgedValue","add","nudgedValueBelowInputMin","isNaN","subtract","isNegative","nudgedValueAboveInputMax","finalValue","onFormReset","defaultValue","syncHiddenFormInput","input","minLength","maxLength","getAttribute","slottedActionElDisabledInternally","setAttribute","removeAttribute","console","warn","render","dir","getElementDir","h","class","label","messages","loading","inputClearButton","clear","onClick","tabIndex","scale","getIconScale","iconEl","flipRtl","iconFlipRtl","isHorizontalNumberButton","numberButtonType","numberButtonsHorizontalUp","onPointerDown","onPointerOut","onPointerUp","numberButtonsHorizontalDown","numberButtonsVertical","prefixText","suffixText","localeNumberInput","accept","getLabelText","autocomplete","autofocus","enterKeyHint","inputMode","multiple","undefined","onBlur","onFocus","onInput","onKeyDown","onKeyUp","pattern","placeholder","ref","onChange","required","Host","InteractiveContainer","CSS_UTILITY","rtl","HiddenFormInputSlot","component","validationMessage","Validation","validationIcon","message","status"],"sources":["src/components/input/resources.ts","src/components/input/input.scss?tag=calcite-input&encapsulation=shadow","src/components/input/input.tsx"],"sourcesContent":["export const CSS = {\n loader: \"loader\",\n clearButton: \"clear-button\",\n editingEnabled: \"editing-enabled\",\n inlineChild: \"inline-child\",\n inputIcon: \"icon\",\n prefix: \"prefix\",\n suffix: \"suffix\",\n numberButtonWrapper: \"number-button-wrapper\",\n buttonItemHorizontal: \"number-button-item--horizontal\",\n wrapper: \"element-wrapper\",\n inputWrapper: \"wrapper\",\n actionWrapper: \"action-wrapper\",\n resizeIconWrapper: \"resize-icon-wrapper\",\n numberButtonItem: \"number-button-item\",\n};\n\nexport const INPUT_TYPE_ICONS = {\n tel: \"phone\",\n password: \"lock\",\n email: \"email-address\",\n date: \"calendar\",\n time: \"clock\",\n search: \"search\",\n};\n\nexport const SLOTS = {\n action: \"action\",\n};\n",":host {\n @apply block;\n}\n\n// scales\n:host([scale=\"s\"]) {\n & input,\n & .prefix,\n & .suffix {\n @apply text-n2h h-6 px-2;\n }\n & textarea {\n @apply h-6;\n min-block-size: theme(\"spacing.6\");\n }\n & .number-button-wrapper,\n & .action-wrapper calcite-button,\n & .action-wrapper calcite-button button {\n @apply h-6;\n }\n & input[type=\"file\"] {\n @apply h-6;\n }\n & .clear-button {\n min-block-size: theme(\"spacing.6\");\n min-inline-size: theme(\"spacing.6\");\n }\n & textarea {\n @apply text-n2h\n h-auto\n py-1\n px-2;\n }\n}\n\n:host([scale=\"m\"]) {\n & input,\n & .prefix,\n & .suffix {\n @apply text-n1h h-8 px-3;\n }\n & textarea {\n min-block-size: theme(\"spacing.8\");\n }\n & .number-button-wrapper,\n & .action-wrapper calcite-button,\n & .action-wrapper calcite-button button {\n @apply h-8;\n }\n & input[type=\"file\"] {\n @apply h-8;\n }\n & .clear-button {\n min-block-size: theme(\"spacing.8\");\n min-inline-size: theme(\"spacing.8\");\n }\n & textarea {\n @apply text-n1h\n h-auto\n py-2\n px-3;\n }\n}\n\n:host([scale=\"l\"]) {\n & input,\n & .prefix,\n & .suffix {\n @apply text-0h h-11 px-4;\n }\n & textarea {\n min-block-size: theme(\"spacing.11\");\n }\n & .number-button-wrapper,\n & .action-wrapper calcite-button,\n & .action-wrapper calcite-button button {\n @apply h-11;\n }\n & input[type=\"file\"] {\n @apply h-11;\n }\n & .clear-button {\n min-block-size: theme(\"spacing.11\");\n min-inline-size: theme(\"spacing.11\");\n }\n & textarea {\n @apply text-0h\n h-auto\n py-3\n px-4;\n }\n}\n\n@include disabled() {\n & textarea {\n resize: none;\n }\n}\n\ntextarea,\ninput {\n transition:\n var(--calcite-animation-timing),\n block-size 0,\n outline-offset 0s;\n -webkit-appearance: none;\n @apply font-inherit\n text-color-1\n bg-foreground-1\n relative\n m-0\n box-border\n flex\n max-h-full\n w-full\n max-w-full\n flex-1\n rounded-none\n font-normal;\n}\n\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n// states\ninput,\ntextarea {\n @apply border\n border-color-input\n border-solid\n text-color-1\n text-ellipsis;\n &::placeholder,\n &:-ms-input-placeholder,\n &::-ms-input-placeholder {\n @apply text-color-3 font-normal;\n }\n &:placeholder-shown {\n @apply text-ellipsis;\n }\n}\ninput:focus,\ntextarea:focus {\n @apply border-color-brand text-color-1;\n}\ninput[readonly],\ntextarea[readonly] {\n @apply bg-background font-medium;\n}\ninput[readonly]:focus,\ntextarea[readonly]:focus {\n @apply text-color-1;\n}\ncalcite-icon {\n @apply text-color-3;\n}\n\n//focus\ntextarea,\ninput {\n @apply focus-base;\n}\ntextarea:focus,\ninput:focus {\n @apply focus-inset;\n}\n\n:host([status=\"invalid\"]) {\n & input,\n & textarea {\n @apply border-color-danger;\n }\n & input:focus,\n & textarea:focus {\n @apply focus-inset-danger;\n }\n}\n\n// ICONS\n\n// position icons\n\n:host([scale=\"s\"]) .icon {\n inset-inline-start: theme(\"spacing.2\");\n}\n\n:host([scale=\"m\"]) .icon {\n inset-inline-start: theme(\"spacing.3\");\n}\n\n:host([scale=\"l\"]) .icon {\n inset-inline-start: theme(\"spacing.4\");\n}\n\n// position placeholder/value text in relation to icons\n\n:host([icon][scale=\"s\"]) input {\n padding-inline-start: theme(\"padding.8\");\n}\n\n:host([icon][scale=\"m\"]) input {\n padding-inline-start: theme(\"padding.10\");\n}\n\n:host([icon][scale=\"l\"]) input {\n padding-inline-start: theme(\"padding.14\");\n}\n\n// positioning wrapper for icon and loader\n\n.element-wrapper {\n @apply relative\n order-3\n inline-flex\n flex-1\n items-center;\n}\n\n.icon {\n @apply transition-default\n pointer-events-none\n absolute\n block;\n}\n\n.icon,\n.resize-icon-wrapper {\n @apply z-default; // needed for firefox to display the icon properly\n}\n\n// hide browser default clear\n\ninput[type=\"text\"]::-ms-clear,\ninput[type=\"text\"]::-ms-reveal {\n @apply hidden\n h-0\n w-0;\n}\ninput[type=\"search\"]::-webkit-search-decoration,\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-results-button,\ninput[type=\"search\"]::-webkit-search-results-decoration,\ninput[type=\"date\"]::-webkit-clear-button,\ninput[type=\"time\"]::-webkit-clear-button {\n @apply hidden;\n}\n\n.clear-button {\n pointer-events: initial;\n @apply focus-base\n border-color-input\n bg-foreground-1\n order-4\n m-0\n box-border\n flex\n min-h-full\n cursor-pointer\n items-center\n justify-center\n self-stretch\n border\n border-solid;\n\n border-inline-start-width: theme(\"borderWidth.0\");\n\n &:hover {\n @apply bg-foreground-2 transition-default;\n calcite-icon {\n @apply text-color-1 transition-default;\n }\n }\n &:active {\n @apply bg-foreground-3;\n calcite-icon {\n @apply text-color-1;\n }\n }\n &:focus {\n @apply focus-inset;\n }\n &:disabled {\n @apply opacity-disabled;\n }\n}\n\n// loading\n.loader {\n inset-block-start: 1px;\n inset-inline: 1px;\n @apply pointer-events-none\n absolute\n block;\n}\n\n// slotted action\n.action-wrapper {\n @apply order-7 flex;\n}\n\n// prefix and suffix\n.prefix,\n.suffix {\n @apply border-color-input\n bg-background\n text-color-2\n box-border\n flex\n h-auto\n min-h-full\n select-none\n content-center\n items-center\n break-words\n border\n border-solid\n font-medium\n leading-none;\n}\n\n.prefix {\n @apply order-2;\n border-inline-end-width: theme(\"borderWidth.0\");\n}\n.suffix {\n @apply order-5;\n border-inline-start-width: theme(\"borderWidth.0\");\n}\n\n// alignment type\n:host([alignment=\"start\"]) {\n & textarea,\n & input {\n text-align: start;\n }\n}\n\n:host([alignment=\"end\"]) {\n & textarea,\n & input {\n text-align: end;\n }\n}\n\n// number buttons\ninput[type=\"number\"] {\n -moz-appearance: textfield;\n\n &::-webkit-inner-spin-button,\n &::-webkit-outer-spin-button {\n -webkit-appearance: none;\n -moz-appearance: textfield;\n @apply m-0;\n }\n}\n\n.number-button-wrapper {\n @apply transition-default\n pointer-events-none\n order-6\n box-border\n flex\n flex-col;\n}\n\n:host([number-button-type=\"vertical\"]) .wrapper {\n flex-direction: row;\n display: flex;\n}\n\n:host([number-button-type=\"vertical\"]) {\n & input,\n textarea {\n @apply order-2;\n }\n}\n\n:host([number-button-type=\"horizontal\"]) .calcite--rtl {\n & .number-button-item[data-adjustment=\"down\"] calcite-icon {\n transform: rotate(-90deg);\n }\n & .number-button-item[data-adjustment=\"up\"] calcite-icon {\n transform: rotate(-90deg);\n }\n}\n\n.number-button-item.number-button-item--horizontal {\n &[data-adjustment=\"down\"],\n &[data-adjustment=\"up\"] {\n @apply order-1\n max-h-full\n min-h-full\n self-stretch;\n & calcite-icon {\n transform: rotate(90deg);\n }\n }\n}\n\n.number-button-item.number-button-item--horizontal[data-adjustment=\"down\"] {\n @apply border-color-input\n border\n border-solid;\n border-inline-end-width: theme(\"borderWidth.0\");\n &:hover {\n @apply bg-foreground-2;\n calcite-icon {\n @apply text-color-1;\n }\n }\n}\n\n.number-button-item.number-button-item--horizontal[data-adjustment=\"up\"] {\n @apply order-5;\n &:hover {\n @apply bg-foreground-2;\n calcite-icon {\n @apply text-color-1;\n }\n }\n}\n\n:host([number-button-type=\"vertical\"]) .number-button-item[data-adjustment=\"down\"]:hover {\n @apply bg-foreground-2;\n calcite-icon {\n @apply text-color-1;\n }\n}\n\n:host([number-button-type=\"vertical\"]) .number-button-item[data-adjustment=\"up\"]:hover {\n @apply bg-foreground-2;\n calcite-icon {\n @apply text-color-1;\n }\n}\n\n:host([number-button-type=\"vertical\"]) .number-button-item[data-adjustment=\"down\"] {\n @apply border-t-0;\n}\n\n.number-button-item {\n max-block-size: 50%;\n min-block-size: 50%;\n pointer-events: initial;\n @apply border-color-input\n bg-foreground-1\n transition-default\n m-0\n box-border\n flex\n cursor-pointer\n items-center\n self-center\n border\n border-solid\n py-0\n px-2;\n border-inline-start-width: theme(\"borderWidth.0\");\n & calcite-icon {\n @apply transition-default pointer-events-none;\n }\n &:focus {\n @apply bg-foreground-2;\n calcite-icon {\n @apply text-color-1;\n }\n }\n &:active {\n @apply bg-foreground-3;\n }\n &:disabled {\n @apply pointer-events-none;\n }\n}\n\n.wrapper {\n @apply relative\n flex\n flex-row\n items-center;\n}\n\n// hide the default date picker\n:input::-webkit-calendar-picker-indicator {\n @apply hidden;\n}\n\ninput[type=\"date\"]::-webkit-input-placeholder {\n visibility: hidden !important;\n}\n\n// textarea resize icon\ntextarea::-webkit-resizer {\n @apply absolute\n bottom-0\n box-border\n py-0\n px-1;\n inset-inline-end: 0;\n}\n\n.resize-icon-wrapper {\n inset-block-end: 2px;\n inset-inline-end: 2px;\n\n @apply bg-foreground-1\n text-color-3\n pointer-events-none\n absolute\n h-3\n w-3;\n\n & calcite-icon {\n inset-block-end: theme(\"spacing.1\");\n inset-inline-end: theme(\"spacing.1\");\n transform: rotate(-45deg);\n }\n}\n\n.calcite--rtl {\n .resize-icon-wrapper {\n & calcite-icon {\n transform: rotate(45deg);\n }\n }\n}\n\n:host([type=\"color\"]) input {\n @apply p-1;\n}\n\n// file input\n:host([type=\"file\"]) input {\n @apply bg-foreground-1\n border-color-input\n cursor-pointer\n border\n border-dashed\n text-center;\n}\n\n:host([type=\"file\"][scale=\"s\"]) input {\n @apply py-px px-2;\n}\n\n:host([type=\"file\"][scale=\"m\"]) input {\n @apply py-1 px-3;\n}\n\n:host([type=\"file\"][scale=\"l\"]) input {\n @apply py-2 px-4;\n}\n\n:host(.no-bottom-border) input {\n @apply border-b-0;\n}\n\n:host(.border-top-color-one) input {\n @apply border-t-color-1;\n}\n\n// input needed for higher specificity of these overrides\ninput {\n &.inline-child {\n @apply transition-default bg-transparent;\n .editing-enabled {\n background-color: inherit;\n }\n }\n\n &.inline-child:not(.editing-enabled) {\n @apply border-color-transparent\n flex\n cursor-pointer text-ellipsis;\n padding-inline-start: 0;\n }\n}\n\n@include form-validation-message();\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n getElementDir,\n getSlotted,\n isPrimaryPointerButton,\n setRequestedIcon,\n} from \"../../utils/dom\";\nimport { Scale, Status, Alignment } from \"../interfaces\";\n\nimport {\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n internalHiddenInputInputEvent,\n submitForm,\n} from \"../../utils/form\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { numberKeys } from \"../../utils/key\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport {\n connectLocalized,\n disconnectLocalized,\n LocalizedComponent,\n NumberingSystem,\n numberStringFormatter,\n} from \"../../utils/locale\";\n\nimport {\n addLocalizedTrailingDecimalZeros,\n BigDecimal,\n isValidNumber,\n parseNumberString,\n sanitizeNumberString,\n} from \"../../utils/number\";\nimport { createObserver } from \"../../utils/observers\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { InputMessages } from \"./assets/input/t9n\";\nimport { InputPlacement, NumberNudgeDirection, SetValueOrigin } from \"./interfaces\";\nimport { CSS, INPUT_TYPE_ICONS, SLOTS } from \"./resources\";\nimport { getIconScale } from \"../../utils/component\";\nimport { Validation } from \"../functional/Validation\";\n\n/**\n * @slot action - A slot for positioning a `calcite-button` next to the component.\n */\n@Component({\n tag: \"calcite-input\",\n styleUrl: \"input.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Input\n implements\n LabelableComponent,\n FormComponent,\n InteractiveComponent,\n T9nComponent,\n LocalizedComponent,\n LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies the text alignment of the component's value. */\n @Prop({ reflect: true }) alignment: Extract<\"start\" | \"end\", Alignment> = \"start\";\n\n /**\n * When `true`, the component is focused on page load. Only one element can contain `autofocus`. If multiple elements have `autofocus`, the first element will receive focus.\n *\n * @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)\n */\n @Prop({ reflect: true }) autofocus = false;\n\n /**\n * When `true`, a clear button is displayed when the component has a value. The clear button shows by default for `\"search\"`, `\"time\"`, and `\"date\"` types, and will not display for the `\"textarea\"` type.\n */\n @Prop({ reflect: true }) clearable = false;\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n *\n * @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)\n */\n @Prop({ reflect: true }) disabled = false;\n\n @Watch(\"disabled\")\n disabledWatcher(): void {\n this.setDisabledAction();\n }\n\n /**\n * The ID of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true })\n form: string;\n\n /**\n * When `true`, number values are displayed with a group separator corresponding to the language and country format.\n */\n @Prop({ reflect: true }) groupSeparator = false;\n\n /**\n * When `true`, the component will not be visible.\n *\n * @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)\n */\n @Prop({ reflect: true }) hidden = false;\n\n /**\n * When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.\n */\n @Prop({ reflect: true }) icon: string | boolean;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl = false;\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /** When `true`, a busy indicator is displayed. */\n @Prop({ reflect: true }) loading = false;\n\n /**\n * Specifies the Unicode numeral system used by the component for localization.\n *\n */\n @Prop({ reflect: true }) numberingSystem: NumberingSystem;\n\n /**\n * When `true`, uses locale formatting for numbers.\n *\n * @internal\n */\n @Prop() localeFormat = false;\n\n /**\n * Specifies the maximum value for type \"number\".\n *\n * @mdn [max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max)\n */\n @Prop({ reflect: true }) max: number;\n\n /** watcher to update number-to-string for max */\n @Watch(\"max\")\n maxWatcher(): void {\n this.maxString = this.max?.toString() || null;\n }\n\n /**\n * Specifies the minimum value for `type=\"number\"`.\n *\n * @mdn [min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min)\n */\n @Prop({ reflect: true }) min: number;\n\n /** watcher to update number-to-string for min */\n @Watch(\"min\")\n minWatcher(): void {\n this.minString = this.min?.toString() || null;\n }\n\n /**\n * Specifies the maximum length of text for the component's value.\n *\n * @mdn [maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)\n */\n @Prop({ reflect: true }) maxLength: number;\n\n /**\n * Specifies the minimum length of text for the component's value.\n *\n * @mdn [minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)\n */\n @Prop({ reflect: true }) minLength: number;\n\n /** Specifies the validation message to display under the component. */\n @Prop() validationMessage: string;\n\n /** Specifies the validation icon to display under the component. */\n @Prop() validationIcon: string | boolean;\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n *\n * @mdn [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)\n */\n @Prop({ reflect: true }) name: string;\n\n /** Specifies the placement of the buttons for `type=\"number\"`. */\n @Prop({ reflect: true }) numberButtonType: InputPlacement = \"vertical\";\n\n /**\n * Specifies placeholder text for the component.\n *\n * @mdn [placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)\n */\n @Prop() placeholder: string;\n\n /** Adds text to the start of the component. */\n @Prop() prefixText: string;\n\n /**\n * When `true`, the component's value can be read, but cannot be modified.\n *\n * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)\n */\n @Prop({ reflect: true }) readOnly = false;\n\n /** When `true`, the component must have a value in order for the form to submit. */\n @Prop({ reflect: true }) required = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /**\n * Specifies the granularity the component's `value` must adhere to.\n *\n * @mdn [step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)\n */\n @Prop({ reflect: true }) step: number | \"any\";\n\n /**\n * Specifies the type of content to autocomplete, for use in forms.\n * Read the native attribute's documentation on MDN for more info.\n *\n * @mdn [step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)\n */\n @Prop() autocomplete: string;\n\n /**\n * Specifies a regex pattern the component's `value` must match for validation.\n * Read the native attribute's documentation on MDN for more info.\n *\n * @mdn [step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)\n */\n @Prop() pattern: string;\n\n /**\n * Specifies a comma separated list of unique file type specifiers for limiting accepted file types.\n * This property only has an effect when `type` is \"file\".\n * Read the native attribute's documentation on MDN for more info.\n *\n * @mdn [step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)\n */\n @Prop() accept: string;\n\n /**\n * When `true`, the component can accept more than one value.\n * This property only has an effect when `type` is \"email\" or \"file\".\n * Read the native attribute's documentation on MDN for more info.\n *\n * @mdn [step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/multiple)\n */\n @Prop() multiple = false;\n\n /**\n * Specifies the type of content to help devices display an appropriate virtual keyboard.\n * Read the native attribute's documentation on MDN for more info.\n *\n * @mdn [step](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode)\n */\n @Prop() inputMode = \"text\";\n\n /**\n * Specifies the action label or icon for the Enter key on virtual keyboards.\n * Read the native attribute's documentation on MDN for more info.\n *\n * @mdn [step](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)\n */\n @Prop() enterKeyHint: string;\n\n /** Adds text to the end of the component. */\n @Prop() suffixText: string;\n\n /**\n * @internal\n */\n @Prop({ mutable: true, reflect: true }) editingEnabled = false;\n\n /**\n * Specifies the component type.\n *\n * Note that the following `type`s add type-specific icons by default: `\"date\"`, `\"email\"`, `\"password\"`, `\"search\"`, `\"tel\"`, `\"time\"`.\n */\n @Prop({ reflect: true }) type:\n | \"color\"\n | \"date\"\n | \"datetime-local\"\n | \"email\"\n | \"file\"\n | \"image\"\n | \"month\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"text\"\n | \"textarea\"\n | \"time\"\n | \"url\"\n | \"week\" = \"text\";\n\n /** The component's value. */\n @Prop({ mutable: true }) value = \"\";\n\n /**\n * When `type` is `\"file\"`, specifies the component's selected files.\n *\n * @mdn https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files\n */\n @Prop() files: FileList | undefined;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: InputMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<InputMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n @Watch(\"value\")\n valueWatcher(newValue: string, previousValue: string): void {\n if (!this.userChangedValue) {\n this.setValue({\n origin: \"direct\",\n previousValue,\n value:\n newValue == null || newValue == \"\"\n ? \"\"\n : this.type === \"number\"\n ? isValidNumber(newValue)\n ? newValue\n : this.previousValue || \"\"\n : newValue,\n });\n this.warnAboutInvalidNumberValue(newValue);\n }\n this.userChangedValue = false;\n }\n\n @Watch(\"icon\")\n @Watch(\"type\")\n updateRequestedIcon(): void {\n this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteInputElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Input[\"value\"];\n\n inlineEditableEl: HTMLCalciteInlineEditableElement;\n\n /** keep track of the rendered child type */\n private childEl?: HTMLInputElement | HTMLTextAreaElement;\n\n /** keep track of the rendered child type */\n private childElType?: \"input\" | \"textarea\" = \"input\";\n\n /** number text input element for locale */\n private childNumberEl?: HTMLInputElement;\n\n get isClearable(): boolean {\n return !this.isTextarea && (this.clearable || this.type === \"search\") && this.value?.length > 0;\n }\n\n get isTextarea(): boolean {\n return this.childElType === \"textarea\";\n }\n\n private minString?: string;\n\n private maxString?: string;\n\n private previousEmittedValue: string;\n\n private previousValue: string;\n\n private previousValueOrigin: SetValueOrigin = \"initial\";\n\n /** the computed icon to render */\n private requestedIcon?: string;\n\n private nudgeNumberValueIntervalId: number;\n\n mutationObserver = createObserver(\"mutation\", () => this.setDisabledAction());\n\n private userChangedValue = false;\n\n //--------------------------------------------------------------------------\n //\n // State\n //\n //--------------------------------------------------------------------------\n\n @State() defaultMessages: InputMessages;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() localizedValue: string;\n\n @State() slottedActionElDisabledInternally = false;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n\n this.inlineEditableEl = this.el.closest(\"calcite-inline-editable\");\n if (this.inlineEditableEl) {\n this.editingEnabled = this.inlineEditableEl.editingEnabled || false;\n }\n connectLabel(this);\n connectForm(this);\n\n this.setPreviousEmittedValue(this.value);\n this.setPreviousValue(this.value);\n\n if (this.type === \"number\") {\n this.warnAboutInvalidNumberValue(this.value);\n this.setValue({\n origin: \"connected\",\n value: isValidNumber(this.value) ? this.value : \"\",\n });\n }\n\n this.mutationObserver?.observe(this.el, { childList: true });\n\n this.setDisabledAction();\n this.el.addEventListener(internalHiddenInputInputEvent, this.onHiddenFormInputInput);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n\n this.mutationObserver?.disconnect();\n this.el.removeEventListener(internalHiddenInputInputEvent, this.onHiddenFormInputInput);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.childElType = this.type === \"textarea\" ? \"textarea\" : \"input\";\n this.maxString = this.max?.toString();\n this.minString = this.min?.toString();\n this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentShouldUpdate(newValue: string, oldValue: string, property: string): boolean {\n if (this.type === \"number\" && property === \"value\" && newValue && !isValidNumber(newValue)) {\n this.setValue({\n origin: \"reset\",\n value: oldValue,\n });\n return false;\n }\n return true;\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalInputFocus: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalInputBlur: EventEmitter<void>;\n\n /**\n * Fires each time a new `value` is typed.\n */\n @Event({ cancelable: true }) calciteInputInput: EventEmitter<void>;\n\n /**\n * Fires each time a new `value` is typed and committed.\n */\n @Event({ cancelable: false }) calciteInputChange: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n if (this.type === \"number\") {\n this.childNumberEl?.focus();\n } else {\n this.childEl?.focus();\n }\n }\n\n /** Selects the text of the component's `value`. */\n @Method()\n async selectText(): Promise<void> {\n if (this.type === \"number\") {\n this.childNumberEl?.select();\n } else {\n this.childEl?.select();\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n keyDownHandler = (event: KeyboardEvent): void => {\n if (this.readOnly || this.disabled) {\n return;\n }\n if (this.isClearable && event.key === \"Escape\") {\n this.clearInputValue(event);\n event.preventDefault();\n }\n if (event.key === \"Enter\" && !event.defaultPrevented) {\n if (submitForm(this)) {\n event.preventDefault();\n }\n }\n };\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n incrementOrDecrementNumberValue(\n direction: NumberNudgeDirection,\n inputMax: number | null,\n inputMin: number | null,\n nativeEvent: KeyboardEvent | MouseEvent,\n ): void {\n const { value } = this;\n const adjustment = direction === \"up\" ? 1 : -1;\n const inputStep = this.step === \"any\" ? 1 : Math.abs(this.step || 1);\n const inputVal = new BigDecimal(value !== \"\" ? value : \"0\");\n const nudgedValue = inputVal.add(`${inputStep * adjustment}`);\n\n const nudgedValueBelowInputMin = () =>\n typeof inputMin === \"number\" &&\n !isNaN(inputMin) &&\n nudgedValue.subtract(`${inputMin}`).isNegative;\n\n const nudgedValueAboveInputMax = () =>\n typeof inputMax === \"number\" &&\n !isNaN(inputMax) &&\n !nudgedValue.subtract(`${inputMax}`).isNegative;\n\n const finalValue = nudgedValueBelowInputMin()\n ? `${inputMin}`\n : nudgedValueAboveInputMax()\n ? `${inputMax}`\n : nudgedValue.toString();\n\n this.setValue({\n committing: true,\n nativeEvent,\n origin: \"user\",\n value: finalValue,\n });\n }\n\n private clearInputValue = (nativeEvent: KeyboardEvent | MouseEvent): void => {\n this.setValue({\n committing: true,\n nativeEvent,\n origin: \"user\",\n value: \"\",\n });\n };\n\n private emitChangeIfUserModified = (): void => {\n if (this.previousValueOrigin === \"user\" && this.value !== this.previousEmittedValue) {\n this.calciteInputChange.emit();\n this.setPreviousEmittedValue(this.value);\n }\n };\n\n private inputBlurHandler = () => {\n window.clearInterval(this.nudgeNumberValueIntervalId);\n this.calciteInternalInputBlur.emit();\n this.emitChangeIfUserModified();\n };\n\n private clickHandler = (event: MouseEvent): void => {\n if (this.disabled) {\n return;\n }\n\n const slottedActionEl = getSlotted(this.el, \"action\");\n if (event.target !== slottedActionEl) {\n this.setFocus();\n }\n };\n\n private inputFocusHandler = (): void => {\n this.calciteInternalInputFocus.emit();\n };\n\n private inputChangeHandler = (): void => {\n if (this.type === \"file\") {\n this.files = (this.childEl as HTMLInputElement).files;\n }\n };\n\n private inputInputHandler = (nativeEvent: InputEvent): void => {\n if (this.disabled || this.readOnly) {\n return;\n }\n this.setValue({\n nativeEvent,\n origin: \"user\",\n value: (nativeEvent.target as HTMLInputElement).value,\n });\n };\n\n private inputKeyDownHandler = (event: KeyboardEvent): void => {\n if (this.disabled || this.readOnly) {\n return;\n }\n if (event.key === \"Enter\") {\n this.emitChangeIfUserModified();\n }\n };\n\n private inputNumberInputHandler = (nativeEvent: InputEvent): void => {\n if (this.disabled || this.readOnly) {\n return;\n }\n const value = (nativeEvent.target as HTMLInputElement).value;\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: this.groupSeparator,\n };\n const delocalizedValue = numberStringFormatter.delocalize(value);\n if (nativeEvent.inputType === \"insertFromPaste\") {\n if (!isValidNumber(delocalizedValue)) {\n nativeEvent.preventDefault();\n }\n this.setValue({\n nativeEvent,\n origin: \"user\",\n value: parseNumberString(delocalizedValue),\n });\n this.childNumberEl.value = this.localizedValue;\n } else {\n this.setValue({\n nativeEvent,\n origin: \"user\",\n value: delocalizedValue,\n });\n }\n };\n\n private inputNumberKeyDownHandler = (event: KeyboardEvent): void => {\n if (this.type !== \"number\" || this.disabled || this.readOnly) {\n return;\n }\n if (event.key === \"ArrowUp\") {\n /* prevent default behavior of moving cursor to the beginning of the input when holding down ArrowUp */\n event.preventDefault();\n this.nudgeNumberValue(\"up\", event);\n return;\n }\n if (event.key === \"ArrowDown\") {\n this.nudgeNumberValue(\"down\", event);\n return;\n }\n const supportedKeys = [\n ...numberKeys,\n \"ArrowLeft\",\n \"ArrowRight\",\n \"Backspace\",\n \"Delete\",\n \"Enter\",\n \"Escape\",\n \"Tab\",\n ];\n if (event.altKey || event.ctrlKey || event.metaKey) {\n return;\n }\n const isShiftTabEvent = event.shiftKey && event.key === \"Tab\";\n if (supportedKeys.includes(event.key) || isShiftTabEvent) {\n if (event.key === \"Enter\") {\n this.emitChangeIfUserModified();\n }\n return;\n }\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: this.groupSeparator,\n };\n if (event.key === numberStringFormatter.decimal) {\n if (!this.value && !this.childNumberEl.value) {\n return;\n }\n if (this.value && this.childNumberEl.value.indexOf(numberStringFormatter.decimal) === -1) {\n return;\n }\n }\n if (/[eE]/.test(event.key)) {\n if (!this.value && !this.childNumberEl.value) {\n return;\n }\n if (this.value && !/[eE]/.test(this.childNumberEl.value)) {\n return;\n }\n }\n\n if (event.key === \"-\") {\n if (!this.value && !this.childNumberEl.value) {\n return;\n }\n if (this.value && this.childNumberEl.value.split(\"-\").length <= 2) {\n return;\n }\n }\n event.preventDefault();\n };\n\n private nudgeNumberValue = (\n direction: NumberNudgeDirection,\n nativeEvent: KeyboardEvent | MouseEvent,\n ): void => {\n if ((nativeEvent instanceof KeyboardEvent && nativeEvent.repeat) || this.type !== \"number\") {\n return;\n }\n\n const inputMax = this.maxString ? parseFloat(this.maxString) : null;\n const inputMin = this.minString ? parseFloat(this.minString) : null;\n const valueNudgeDelayInMs = 150;\n\n this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);\n\n if (this.nudgeNumberValueIntervalId) {\n window.clearInterval(this.nudgeNumberValueIntervalId);\n }\n let firstValueNudge = true;\n this.nudgeNumberValueIntervalId = window.setInterval(() => {\n if (firstValueNudge) {\n firstValueNudge = false;\n return;\n }\n\n this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);\n }, valueNudgeDelayInMs);\n };\n\n private numberButtonPointerUpAndOutHandler = (): void => {\n window.clearInterval(this.nudgeNumberValueIntervalId);\n };\n\n private numberButtonPointerDownHandler = (event: PointerEvent): void => {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n\n event.preventDefault();\n const direction = (event.target as HTMLDivElement).dataset.adjustment as NumberNudgeDirection;\n if (!this.disabled) {\n this.nudgeNumberValue(direction, event);\n }\n };\n\n onFormReset(): void {\n this.setValue({\n origin: \"reset\",\n value: this.defaultValue,\n });\n }\n\n syncHiddenFormInput(input: HTMLInputElement): void {\n const { type } = this;\n\n input.type = type;\n\n if (type === \"number\") {\n input.min = this.min?.toString(10) ?? \"\";\n input.max = this.max?.toString(10) ?? \"\";\n } else if (type === \"text\") {\n if (this.minLength != null) {\n input.minLength = this.minLength;\n }\n\n if (this.maxLength != null) {\n input.maxLength = this.maxLength;\n }\n }\n }\n\n private onHiddenFormInputInput = (event: Event): void => {\n if ((event.target as HTMLInputElement).name === this.name) {\n this.setValue({\n value: (event.target as HTMLInputElement).value,\n origin: \"direct\",\n });\n }\n this.setFocus();\n event.stopPropagation();\n };\n\n private setChildElRef = (el: HTMLInputElement | HTMLTextAreaElement) => {\n this.childEl = el;\n };\n\n private setChildNumberElRef = (el: HTMLInputElement) => {\n this.childNumberEl = el;\n };\n\n private setDisabledAction(): void {\n const slottedActionEl = getSlotted(this.el, \"action\");\n\n if (!slottedActionEl) {\n return;\n }\n\n if (this.disabled) {\n if (slottedActionEl.getAttribute(\"disabled\") == null) {\n this.slottedActionElDisabledInternally = true;\n }\n slottedActionEl.setAttribute(\"disabled\", \"\");\n } else if (this.slottedActionElDisabledInternally) {\n slottedActionEl.removeAttribute(\"disabled\");\n this.slottedActionElDisabledInternally = false;\n }\n }\n\n private setInputValue = (newInputValue: string): void => {\n if (this.type === \"text\" && !this.childEl) {\n return;\n }\n if (this.type === \"number\" && !this.childNumberEl) {\n return;\n }\n this[`child${this.type === \"number\" ? \"Number\" : \"\"}El`].value = newInputValue;\n };\n\n private setPreviousEmittedValue = (value: string): void => {\n this.previousEmittedValue = this.normalizeValue(value);\n };\n\n private normalizeValue(value: string): string {\n return this.type === \"number\" ? (isValidNumber(value) ? value : \"\") : value;\n }\n\n private setPreviousValue = (value: string): void => {\n this.previousValue = this.normalizeValue(value);\n };\n\n private setValue = ({\n committing = false,\n nativeEvent,\n origin,\n previousValue,\n value,\n }: {\n committing?: boolean;\n nativeEvent?: MouseEvent | KeyboardEvent | InputEvent;\n origin: SetValueOrigin;\n previousValue?: string;\n value: string;\n }): void => {\n this.setPreviousValue(previousValue ?? this.value);\n this.previousValueOrigin = origin;\n\n if (this.type === \"number\") {\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: this.groupSeparator,\n signDisplay: \"never\",\n };\n\n const isValueDeleted =\n this.previousValue?.length > value.length || this.value?.length > value.length;\n const hasTrailingDecimalSeparator = value.charAt(value.length - 1) === \".\";\n const sanitizedValue =\n hasTrailingDecimalSeparator && isValueDeleted ? value : sanitizeNumberString(value);\n\n const newValue =\n value && !sanitizedValue\n ? isValidNumber(this.previousValue)\n ? this.previousValue\n : \"\"\n : sanitizedValue;\n\n let newLocalizedValue = numberStringFormatter.localize(newValue);\n\n if (origin !== \"connected\" && !hasTrailingDecimalSeparator) {\n newLocalizedValue = addLocalizedTrailingDecimalZeros(\n newLocalizedValue,\n newValue,\n numberStringFormatter,\n );\n }\n\n // adds localized trailing decimal separator\n this.localizedValue =\n hasTrailingDecimalSeparator && isValueDeleted\n ? `${newLocalizedValue}${numberStringFormatter.decimal}`\n : newLocalizedValue;\n\n this.userChangedValue = origin === \"user\" && this.value !== newValue;\n // don't sanitize the start of negative/decimal numbers, but\n // don't set value to an invalid number\n this.value = [\"-\", \".\"].includes(newValue) ? \"\" : newValue;\n } else {\n this.userChangedValue = origin === \"user\" && this.value !== value;\n this.value = value;\n }\n\n if (origin === \"direct\") {\n this.setInputValue(value);\n this.previousEmittedValue = value;\n }\n\n if (nativeEvent) {\n const calciteInputInputEvent = this.calciteInputInput.emit();\n if (calciteInputInputEvent.defaultPrevented) {\n this.value = this.previousValue;\n this.localizedValue =\n this.type === \"number\"\n ? numberStringFormatter.localize(this.previousValue)\n : this.previousValue;\n } else if (committing) {\n this.emitChangeIfUserModified();\n }\n }\n };\n\n private inputKeyUpHandler = (): void => {\n window.clearInterval(this.nudgeNumberValueIntervalId);\n };\n\n private warnAboutInvalidNumberValue(value: string): void {\n if (this.type === \"number\" && value && !isValidNumber(value)) {\n console.warn(`The specified value \"${value}\" cannot be parsed, or is out of range.`);\n }\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n const dir = getElementDir(this.el);\n const loader = (\n <div class={CSS.loader}>\n <calcite-progress label={this.messages.loading} type=\"indeterminate\" />\n </div>\n );\n\n const inputClearButton = (\n <button\n aria-label={this.messages.clear}\n class={CSS.clearButton}\n disabled={this.disabled || this.readOnly}\n onClick={this.clearInputValue}\n tabIndex={-1}\n type=\"button\"\n >\n <calcite-icon icon=\"x\" scale={getIconScale(this.scale)} />\n </button>\n );\n const iconEl = (\n <calcite-icon\n class={CSS.inputIcon}\n flipRtl={this.iconFlipRtl}\n icon={this.requestedIcon}\n scale={getIconScale(this.scale)}\n />\n );\n\n const isHorizontalNumberButton = this.numberButtonType === \"horizontal\";\n\n const numberButtonsHorizontalUp = (\n <button\n aria-hidden=\"true\"\n class={{\n [CSS.numberButtonItem]: true,\n [CSS.buttonItemHorizontal]: isHorizontalNumberButton,\n }}\n data-adjustment=\"up\"\n disabled={this.disabled || this.readOnly}\n onPointerDown={this.numberButtonPointerDownHandler}\n onPointerOut={this.numberButtonPointerUpAndOutHandler}\n onPointerUp={this.numberButtonPointerUpAndOutHandler}\n tabIndex={-1}\n type=\"button\"\n >\n <calcite-icon icon=\"chevron-up\" scale={getIconScale(this.scale)} />\n </button>\n );\n\n const numberButtonsHorizontalDown = (\n <button\n aria-hidden=\"true\"\n class={{\n [CSS.numberButtonItem]: true,\n [CSS.buttonItemHorizontal]: isHorizontalNumberButton,\n }}\n data-adjustment=\"down\"\n disabled={this.disabled || this.readOnly}\n onPointerDown={this.numberButtonPointerDownHandler}\n onPointerOut={this.numberButtonPointerUpAndOutHandler}\n onPointerUp={this.numberButtonPointerUpAndOutHandler}\n tabIndex={-1}\n type=\"button\"\n >\n <calcite-icon icon=\"chevron-down\" scale={getIconScale(this.scale)} />\n </button>\n );\n\n const numberButtonsVertical = (\n <div class={CSS.numberButtonWrapper}>\n {numberButtonsHorizontalUp}\n {numberButtonsHorizontalDown}\n </div>\n );\n\n const prefixText = <div class={CSS.prefix}>{this.prefixText}</div>;\n\n const suffixText = <div class={CSS.suffix}>{this.suffixText}</div>;\n\n const localeNumberInput =\n this.type === \"number\" ? (\n <input\n accept={this.accept}\n aria-label={getLabelText(this)}\n autocomplete={this.autocomplete}\n autofocus={this.autofocus ? true : null}\n defaultValue={this.defaultValue}\n disabled={this.disabled ? true : null}\n enterKeyHint={this.enterKeyHint}\n inputMode={this.inputMode}\n key=\"localized-input\"\n maxLength={this.maxLength}\n minLength={this.minLength}\n multiple={this.multiple}\n name={undefined}\n onBlur={this.inputBlurHandler}\n onFocus={this.inputFocusHandler}\n onInput={this.inputNumberInputHandler}\n onKeyDown={this.inputNumberKeyDownHandler}\n onKeyUp={this.inputKeyUpHandler}\n pattern={this.pattern}\n placeholder={this.placeholder || \"\"}\n readOnly={this.readOnly}\n type=\"text\"\n value={this.localizedValue}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setChildNumberElRef}\n />\n ) : null;\n\n const childEl =\n this.type !== \"number\"\n ? [\n <this.childElType\n accept={this.accept}\n aria-label={getLabelText(this)}\n autocomplete={this.autocomplete}\n autofocus={this.autofocus ? true : null}\n class={{\n [CSS.editingEnabled]: this.editingEnabled,\n [CSS.inlineChild]: !!this.inlineEditableEl,\n }}\n defaultValue={this.defaultValue}\n disabled={this.disabled ? true : null}\n enterKeyHint={this.enterKeyHint}\n inputMode={this.inputMode}\n max={this.maxString}\n maxLength={this.maxLength}\n min={this.minString}\n minLength={this.minLength}\n multiple={this.multiple}\n name={this.name}\n onBlur={this.inputBlurHandler}\n onChange={this.inputChangeHandler}\n onFocus={this.inputFocusHandler}\n onInput={this.inputInputHandler}\n onKeyDown={this.inputKeyDownHandler}\n onKeyUp={this.inputKeyUpHandler}\n pattern={this.pattern}\n placeholder={this.placeholder || \"\"}\n readOnly={this.readOnly}\n required={this.required ? true : null}\n step={this.step}\n tabIndex={\n this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null\n }\n type={this.type}\n value={this.value}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setChildElRef}\n />,\n this.isTextarea ? (\n <div class={CSS.resizeIconWrapper}>\n <calcite-icon icon=\"chevron-down\" scale={getIconScale(this.scale)} />\n </div>\n ) : null,\n ]\n : null;\n\n return (\n <Host onClick={this.clickHandler} onKeyDown={this.keyDownHandler}>\n <InteractiveContainer disabled={this.disabled}>\n <div class={{ [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === \"rtl\" }}>\n {this.type === \"number\" && this.numberButtonType === \"horizontal\" && !this.readOnly\n ? numberButtonsHorizontalDown\n : null}\n {this.prefixText ? prefixText : null}\n <div class={CSS.wrapper}>\n {localeNumberInput}\n {childEl}\n {this.isClearable ? inputClearButton : null}\n {this.requestedIcon ? iconEl : null}\n {this.loading ? loader : null}\n </div>\n <div class={CSS.actionWrapper}>\n <slot name={SLOTS.action} />\n </div>\n {this.type === \"number\" && this.numberButtonType === \"vertical\" && !this.readOnly\n ? numberButtonsVertical\n : null}\n {this.suffixText ? suffixText : null}\n {this.type === \"number\" && this.numberButtonType === \"horizontal\" && !this.readOnly\n ? numberButtonsHorizontalUp\n : null}\n <HiddenFormInputSlot component={this} />\n </div>\n {this.validationMessage ? (\n <Validation\n icon={this.validationIcon}\n message={this.validationMessage}\n scale={this.scale}\n status={this.status}\n />\n ) : null}\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"mappings":";;;;;msBAAO,MAAMA,EAAM,CACjBC,OAAQ,SACRC,YAAa,eACbC,eAAgB,kBAChBC,YAAa,eACbC,UAAW,OACXC,OAAQ,SACRC,OAAQ,SACRC,oBAAqB,wBACrBC,qBAAsB,iCACtBC,QAAS,kBACTC,aAAc,UACdC,cAAe,iBACfC,kBAAmB,sBACnBC,iBAAkB,sBAGb,MAAMC,EAAmB,CAC9BC,IAAK,QACLC,SAAU,OACVC,MAAO,gBACPC,KAAM,WACNC,KAAM,QACNC,OAAQ,UAGH,MAAMC,EAAQ,CACnBC,OAAQ,UC3BV,MAAMC,EAAW,2rZ,MCmFJC,EAAK,M,6QAgVRC,KAAAC,YAAqC,QAqBrCD,KAAAE,oBAAsC,UAO9CF,KAAAG,iBAAmBC,EAAe,YAAY,IAAMJ,KAAKK,sBAEjDL,KAAAM,iBAAmB,MA2J3BN,KAAAO,eAAkBC,IAChB,GAAIR,KAAKS,UAAYT,KAAKU,SAAU,CAClC,M,CAEF,GAAIV,KAAKW,aAAeH,EAAMI,MAAQ,SAAU,CAC9CZ,KAAKa,gBAAgBL,GACrBA,EAAMM,gB,CAER,GAAIN,EAAMI,MAAQ,UAAYJ,EAAMO,iBAAkB,CACpD,GAAIC,EAAWhB,MAAO,CACpBQ,EAAMM,gB,IA6CJd,KAAAa,gBAAmBI,IACzBjB,KAAKkB,SAAS,CACZC,WAAY,KACZF,cACAG,OAAQ,OACRC,MAAO,IACP,EAGIrB,KAAAsB,yBAA2B,KACjC,GAAItB,KAAKE,sBAAwB,QAAUF,KAAKqB,QAAUrB,KAAKuB,qBAAsB,CACnFvB,KAAKwB,mBAAmBC,OACxBzB,KAAK0B,wBAAwB1B,KAAKqB,M,GAI9BrB,KAAA2B,iBAAmB,KACzBC,OAAOC,cAAc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AK8M,MACZ4C,OAAQ1P,KAAK0P,SAEb,M"}
@@ -1,7 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.2.0-next.14
5
- */
6
- import{d as r}from"./p-ebac7c85.js";import"./p-0add2080.js";import"./p-31b34f80.js";import"./p-9aaa5fe6.js";import"./p-860f2840.js";import"./p-6217d2be.js";import"./p-c954a299.js";import"./p-d0b722d8.js";import"./p-191ebaec.js";import"./p-55f2b783.js";import"./p-352dbd53.js";import"./p-2f8ec7d6.js";import"./p-d2d8b5ab.js";import"./p-b109f717.js";import"./p-bc66cfed.js";import"./p-81a9398a.js";import"./p-599494bc.js";import"./p-f14a70da.js";import"./p-2444441e.js";var m={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function r(m){var a=m%10;var e=a===1||a===2?"a":"e";return"["+m+e+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};r.locale(m,null,true);export default m;
7
- //# sourceMappingURL=p-5f96c5c5.js.map
@@ -1,7 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.2.0-next.14
5
- */
6
- import{h as t,r as i,c as s,H as e,g as a}from"./p-0add2080.js";import{c as n,d as o,H as r}from"./p-31b34f80.js";import{g as c}from"./p-860f2840.js";import{c as l,d as h,u as d,I as p}from"./p-c954a299.js";import{c as u,d as f}from"./p-55f2b783.js";import{s as m,a as b,c as g}from"./p-2f8ec7d6.js";import{c as v,d as y}from"./p-d2d8b5ab.js";import{u as w,c as k,s as x,d as j}from"./p-599494bc.js";import{f as C}from"./p-9aaa5fe6.js";import"./p-d0b722d8.js";import"./p-352dbd53.js";import"./p-191ebaec.js";import"./p-b109f717.js";import"./p-6217d2be.js";const z=({full:i,scale:s,partial:e})=>t("calcite-icon",{class:e?undefined:"icon",icon:i?"star-f":"star",scale:s});const L=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-color-border-input)}.star:focus{outline:2px solid var(--calcite-color-brand);outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.average,.fraction{color:var(--calcite-color-status-warning)}.hovered,.selected{color:var(--calcite-color-brand)}.fraction{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-color-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";const D=class{constructor(t){i(this,t);this.calciteRatingChange=s(this,"calciteRatingChange",6);this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=false};this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=true;this.hoverValue=null};this.handleHostKeyDown=()=>{this.isKeyboardInteraction=true};this.handleLabelKeyDown=t=>{const i=this.getValueFromLabelEvent(t);const s=t.key;const e=s==" "?undefined:Number(s);this.emit=true;if(isNaN(e)){switch(s){case"Enter":case" ":this.value=!this.required&&this.value===i?0:i;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(i);this.updateFocus();t.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(i);this.updateFocus();t.preventDefault();break;case"Tab":this.hoverValue=null}}else{if(!this.required&&e>=0&&e<=this.max){this.value=e}else if(this.required&&e>0&&e<=this.max){this.value=e}this.updateFocus()}};this.handleInputChange=t=>{if(this.isKeyboardInteraction===true){const i=Number(t.target["value"]);this.hoverValue=i;this.value=i}};this.handleLabelPointerOver=t=>{this.hoverValue=this.getValueFromLabelEvent(t)};this.handleLabelPointerDown=t=>{const i=t.currentTarget;const s=this.getValueFromLabelEvent(t);this.hoverValue=s;this.emit=true;this.value=!this.required&&this.value===s?0:s;i.focus()};this.handleLabelClick=t=>{t.preventDefault()};this.handleLabelFocus=t=>{const i=this.getValueFromLabelEvent(t);this.hoverValue=i};this.setLabelEl=t=>{this.labelElements.push(t)};this.emit=false;this.guid=`calcite-ratings-${c()}`;this.isKeyboardInteraction=true;this.labelElements=[];this.max=5;this.average=undefined;this.count=undefined;this.disabled=false;this.form=undefined;this.messages=undefined;this.messageOverrides=undefined;this.name=undefined;this.readOnly=false;this.required=false;this.scale="m";this.showChip=false;this.value=0;this.effectiveLocale="";this.defaultMessages=undefined;this.hoverValue=undefined}onMessagesChange(){}handleValueUpdate(t){this.hoverValue=t;if(this.emit){this.calciteRatingChange.emit()}this.emit=false}effectiveLocaleChange(){w(this,this.effectiveLocale)}connectedCallback(){l(this);v(this);k(this);u(this);n(this)}async componentWillLoad(){await x(this);m(this)}componentWillRender(){this.starsMap=Array.from({length:this.max},((t,i)=>{const s=i+1;const e=!this.hoverValue&&this.average&&!this.value&&s<=this.average;const a=s===this.value;const n=this.average&&this.average+1-s;const o=s<=this.hoverValue;const r=`${this.guid}-${s}`;const c=!this.hoverValue&&!this.value&&!o&&n>0&&n<1;const l=this.value>=s;const h=this.getTabIndex(s);return{average:e,checked:a,fraction:n,hovered:o,id:r,partial:c,selected:l,value:s,tabIndex:h}}))}componentDidLoad(){b(this)}disconnectedCallback(){h(this);y(this);j(this);f(this);o(this)}componentDidRender(){d(this)}render(){return t(e,{onKeyDown:this.handleHostKeyDown,onPointerOut:this.handleRatingPointerOut,onPointerOver:this.handleRatingPointerOver},t(p,{disabled:this.disabled},t("span",{class:"wrapper"},t("fieldset",{class:"fieldset",disabled:this.disabled},t("legend",{class:"visually-hidden"},this.messages.rating),this.starsMap.map((({average:i,checked:s,fraction:e,hovered:a,id:n,partial:o,selected:r,value:c,tabIndex:l})=>t("label",{class:{star:true,selected:r,hovered:a,average:i,partial:o},"data-value":c,htmlFor:n,onClick:this.handleLabelClick,onFocus:this.handleLabelFocus,onKeyDown:this.handleLabelKeyDown,onPointerDown:this.handleLabelPointerDown,onPointerOver:this.handleLabelPointerOver,tabIndex:l,ref:this.setLabelEl},t("input",{checked:s,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:n,name:this.guid,onChange:this.handleInputChange,tabIndex:-1,type:"radio",value:c}),t(z,{full:r||i,scale:this.scale}),o&&t("div",{class:"fraction",style:{width:`${e*100}%`}},t(z,{full:true,partial:true,scale:this.scale})),t("span",{class:"visually-hidden"},this.messages.stars.replace("{num}",`${c}`))))),(this.count||this.average)&&this.showChip?t("calcite-chip",{scale:this.scale,value:this.count?.toString()},!!this.average&&t("span",{class:"number--average"},this.average.toString()),!!this.count&&t("span",{class:"number--count"},"(",this.count?.toString(),")")):null),t(r,{component:this}))))}onLabelClick(){this.setFocus()}updateFocus(){this.hoverValue=this.value;this.labelElements[this.value-1].focus()}getTabIndex(t){if(this.readOnly||this.value!==t&&(this.value||t!==1)){return-1}return 0}getValueFromLabelEvent(t){const i=t.currentTarget;return Number(i.getAttribute("data-value"))}getNextRatingValue(t){return t===5?1:t+1}getPreviousRatingValue(t){return t===1?5:t-1}async setFocus(){await g(this);C(this.el)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["handleValueUpdate"],effectiveLocale:["effectiveLocaleChange"]}}};D.style=L;export{D as calcite_rating};
7
- //# sourceMappingURL=p-6143f46b.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["StarIcon","full","scale","partial","h","class","undefined","icon","ratingCss","Rating","this","handleRatingPointerOver","isKeyboardInteraction","handleRatingPointerOut","hoverValue","handleHostKeyDown","handleLabelKeyDown","event","inputValue","getValueFromLabelEvent","key","numberKey","Number","emit","isNaN","value","required","getPreviousRatingValue","updateFocus","preventDefault","getNextRatingValue","max","handleInputChange","inputVal","target","handleLabelPointerOver","handleLabelPointerDown","currentTarget","focus","handleLabelClick","handleLabelFocus","setLabelEl","el","labelElements","push","guid","onMessagesChange","handleValueUpdate","newValue","calciteRatingChange","effectiveLocaleChange","updateMessages","effectiveLocale","connectedCallback","connectInteractive","connectLocalized","connectMessages","connectLabel","connectForm","componentWillLoad","setUpMessages","setUpLoadableComponent","componentWillRender","starsMap","Array","from","length","_","i","average","checked","fraction","hovered","id","selected","tabIndex","getTabIndex","componentDidLoad","setComponentLoaded","disconnectedCallback","disconnectInteractive","disconnectLocalized","disconnectMessages","disconnectLabel","disconnectForm","componentDidRender","updateHostInteraction","render","Host","onKeyDown","onPointerOut","onPointerOver","InteractiveContainer","disabled","messages","rating","map","star","htmlFor","onClick","onFocus","onPointerDown","ref","readOnly","name","onChange","type","style","width","stars","replace","count","showChip","toString","HiddenFormInputSlot","component","onLabelClick","setFocus","getAttribute","currentValue","componentFocusable","focusFirstTabbable"],"sources":["src/components/rating/functional/star.tsx","src/components/rating/rating.scss?tag=calcite-rating&encapsulation=shadow","src/components/rating/rating.tsx"],"sourcesContent":["import { FunctionalComponent, h } from \"@stencil/core\";\n\nimport { StarIconProps } from \"../interfaces\";\n\nexport const StarIcon: FunctionalComponent<StarIconProps> = ({ full, scale, partial }) => (\n <calcite-icon\n {...{\n class: partial ? undefined : \"icon\",\n icon: full ? \"star-f\" : \"star\",\n scale,\n }}\n />\n);\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-rating-spacing-unit: The amount of left and right margin spacing between each rating star.\n */\n\n:host {\n @apply relative flex items-center;\n inline-size: fit-content;\n}\n\n@include disabled();\n\n:host([scale=\"s\"]) {\n @apply h-6;\n --calcite-rating-spacing-unit: theme(\"spacing.1\");\n}\n\n:host([scale=\"m\"]) {\n @apply h-8;\n --calcite-rating-spacing-unit: theme(\"spacing.2\");\n}\n\n:host([scale=\"l\"]) {\n @apply h-11;\n --calcite-rating-spacing-unit: theme(\"spacing.3\");\n}\n\n:host([read-only]) {\n @extend %non-interactive-host-contents;\n}\n\n.fieldset {\n margin: 0;\n display: flex;\n border-width: 0;\n padding: 0;\n align-items: center;\n gap: var(--calcite-rating-spacing-unit);\n}\n\n.wrapper {\n display: inline-block;\n}\n\n.star {\n @apply transition-default;\n position: relative;\n display: flex;\n flex-direction: column;\n cursor: pointer;\n color: theme(\"borderColor.color.input\");\n &:focus {\n @apply focus-outset;\n }\n}\n\n.average,\n.fraction {\n color: theme(\"colors.warning\");\n}\n\n.hovered,\n.selected {\n color: theme(\"colors.brand\");\n}\n\n.fraction {\n @apply transition-default;\n position: absolute;\n pointer-events: none;\n inset-block-start: 0;\n overflow: hidden;\n inset-inline-start: 0;\n}\n\n// rating count\ncalcite-chip {\n pointer-events: none;\n cursor: default;\n}\n\n.number--average {\n font-weight: bold;\n}\n\n.number--count {\n color: var(--calcite-color-text-2);\n font-style: italic;\n &:not(:first-child) {\n margin-inline-start: var(--calcite-rating-spacing-unit);\n }\n}\n\n.visually-hidden {\n @apply sr-only;\n}\n\n@include hidden-form-input();\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from \"@stencil/core\";\nimport { connectForm, disconnectForm, FormComponent, HiddenFormInputSlot } from \"../../utils/form\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { connectLabel, disconnectLabel, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Scale } from \"../interfaces\";\nimport { RatingMessages } from \"./assets/rating/t9n\";\nimport { StarIcon } from \"./functional/star\";\nimport { Star } from \"./interfaces\";\nimport { focusFirstTabbable } from \"../../utils/dom\";\n\n@Component({\n tag: \"calcite-rating\",\n styleUrl: \"rating.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Rating\n implements\n LabelableComponent,\n FormComponent,\n InteractiveComponent,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /** Specifies a cumulative average from previous ratings to display. */\n @Prop({ reflect: true }) average: number;\n\n /** Specifies the number of previous ratings to display. */\n @Prop({ reflect: true }) count: number;\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The ID of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: RatingMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<RatingMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, the component's value can be read, but cannot be modified. */\n @Prop({ reflect: true }) readOnly = false;\n\n /**\n * When `true`, the component must have a value in order for the form to submit.\n *\n * @internal\n */\n @Prop({ reflect: true }) required = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** When `true`, and if available, displays the `average` and/or `count` data summary in a `calcite-chip`. */\n @Prop({ reflect: true }) showChip = false;\n\n /** The component's value. */\n @Prop({ reflect: true, mutable: true }) value = 0;\n\n @Watch(\"value\")\n handleValueUpdate(newValue: number): void {\n this.hoverValue = newValue;\n if (this.emit) {\n this.calciteRatingChange.emit();\n }\n\n this.emit = false;\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Fires when the component's value changes.\n */\n @Event({ cancelable: false }) calciteRatingChange: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Static\n //\n //--------------------------------------------------------------------------\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: RatingMessages;\n\n @State() hoverValue: number;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n connectLabel(this);\n connectForm(this);\n }\n\n async componentWillLoad(): Promise<void> {\n await setUpMessages(this);\n setUpLoadableComponent(this);\n }\n\n componentWillRender(): void {\n this.starsMap = Array.from({ length: this.max }, (_, i) => {\n const value = i + 1;\n const average = !this.hoverValue && this.average && !this.value && value <= this.average;\n const checked = value === this.value;\n const fraction = this.average && this.average + 1 - value;\n const hovered = value <= this.hoverValue;\n const id = `${this.guid}-${value}`;\n const partial = !this.hoverValue && !this.value && !hovered && fraction > 0 && fraction < 1;\n const selected = this.value >= value;\n const tabIndex = this.getTabIndex(value);\n return {\n average,\n checked,\n fraction,\n hovered,\n id,\n partial,\n selected,\n value,\n tabIndex,\n };\n });\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n disconnectLabel(this);\n disconnectForm(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n render() {\n return (\n <Host\n onKeyDown={this.handleHostKeyDown}\n onPointerOut={this.handleRatingPointerOut}\n onPointerOver={this.handleRatingPointerOver}\n >\n <InteractiveContainer disabled={this.disabled}>\n <span class=\"wrapper\">\n <fieldset class=\"fieldset\" disabled={this.disabled}>\n <legend class=\"visually-hidden\">{this.messages.rating}</legend>\n {this.starsMap.map(\n ({\n average,\n checked,\n fraction,\n hovered,\n id,\n partial,\n selected,\n value,\n tabIndex,\n }) => {\n return (\n <label\n class={{\n star: true,\n selected,\n hovered,\n average,\n partial,\n }}\n data-value={value}\n htmlFor={id}\n onClick={this.handleLabelClick}\n onFocus={this.handleLabelFocus}\n onKeyDown={this.handleLabelKeyDown}\n onPointerDown={this.handleLabelPointerDown}\n onPointerOver={this.handleLabelPointerOver}\n tabIndex={tabIndex}\n // eslint-disable-next-line react/jsx-sort-props\n ref={this.setLabelEl}\n >\n <input\n checked={checked}\n class=\"visually-hidden\"\n disabled={this.disabled || this.readOnly}\n id={id}\n name={this.guid}\n onChange={this.handleInputChange}\n tabIndex={-1}\n type=\"radio\"\n value={value}\n />\n <StarIcon full={selected || average} scale={this.scale} />\n {partial && (\n <div class=\"fraction\" style={{ width: `${fraction * 100}%` }}>\n <StarIcon full partial scale={this.scale} />\n </div>\n )}\n <span class=\"visually-hidden\">\n {this.messages.stars.replace(\"{num}\", `${value}`)}\n </span>\n </label>\n );\n },\n )}\n\n {(this.count || this.average) && this.showChip ? (\n <calcite-chip scale={this.scale} value={this.count?.toString()}>\n {!!this.average && <span class=\"number--average\">{this.average.toString()}</span>}\n {!!this.count && <span class=\"number--count\">({this.count?.toString()})</span>}\n </calcite-chip>\n ) : null}\n </fieldset>\n <HiddenFormInputSlot component={this} />\n </span>\n </InteractiveContainer>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private handleRatingPointerOver = () => {\n this.isKeyboardInteraction = false;\n };\n\n private handleRatingPointerOut = () => {\n this.isKeyboardInteraction = true;\n this.hoverValue = null;\n };\n\n private handleHostKeyDown = () => {\n this.isKeyboardInteraction = true;\n };\n\n private handleLabelKeyDown = (event: KeyboardEvent) => {\n const inputValue = this.getValueFromLabelEvent(event);\n const key = event.key;\n const numberKey = key == \" \" ? undefined : Number(key);\n\n this.emit = true;\n if (isNaN(numberKey)) {\n switch (key) {\n case \"Enter\":\n case \" \":\n this.value = !this.required && this.value === inputValue ? 0 : inputValue;\n break;\n case \"ArrowLeft\":\n this.value = this.getPreviousRatingValue(inputValue);\n this.updateFocus();\n event.preventDefault();\n break;\n case \"ArrowRight\":\n this.value = this.getNextRatingValue(inputValue);\n this.updateFocus();\n event.preventDefault();\n break;\n case \"Tab\":\n this.hoverValue = null;\n default:\n break;\n }\n } else {\n if (!this.required && numberKey >= 0 && numberKey <= this.max) {\n this.value = numberKey;\n } else if (this.required && numberKey > 0 && numberKey <= this.max) {\n this.value = numberKey;\n }\n this.updateFocus();\n }\n };\n\n private handleInputChange = (event: InputEvent) => {\n if (this.isKeyboardInteraction === true) {\n const inputVal = Number(event.target[\"value\"]);\n this.hoverValue = inputVal;\n this.value = inputVal;\n }\n };\n\n private handleLabelPointerOver = (event: PointerEvent) => {\n this.hoverValue = this.getValueFromLabelEvent(event);\n };\n\n private handleLabelPointerDown = (event: PointerEvent) => {\n const target = event.currentTarget as HTMLLabelElement;\n const inputValue = this.getValueFromLabelEvent(event);\n this.hoverValue = inputValue;\n this.emit = true;\n this.value = !this.required && this.value === inputValue ? 0 : inputValue;\n target.focus();\n };\n\n private handleLabelClick = (event: Event) => {\n //preventing pointerdown event will supress any compatability mouse events except for click event.\n event.preventDefault();\n };\n\n private handleLabelFocus = (event: FocusEvent) => {\n const inputValue = this.getValueFromLabelEvent(event);\n this.hoverValue = inputValue;\n };\n\n private updateFocus(): void {\n this.hoverValue = this.value;\n this.labelElements[this.value - 1].focus();\n }\n\n private getTabIndex(value: number): number {\n if (this.readOnly || (this.value !== value && (this.value || value !== 1))) {\n return -1;\n }\n return 0;\n }\n\n private setLabelEl = (el: HTMLLabelElement): void => {\n this.labelElements.push(el);\n };\n\n private getValueFromLabelEvent(event: FocusEvent | PointerEvent | KeyboardEvent): number {\n const target = event.currentTarget as HTMLLabelElement;\n return Number(target.getAttribute(\"data-value\"));\n }\n\n getNextRatingValue(currentValue: number): number {\n return currentValue === 5 ? 1 : currentValue + 1;\n }\n\n getPreviousRatingValue(currentValue: number): number {\n return currentValue === 1 ? 5 : currentValue - 1;\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n focusFirstTabbable(this.el);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private State / Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteRatingElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Rating[\"value\"];\n\n private emit = false;\n\n private guid = `calcite-ratings-${guid()}`;\n\n private isKeyboardInteraction = true;\n\n private labelElements: HTMLLabelElement[] = [];\n\n private max = 5;\n\n private starsMap: Star[];\n}\n"],"mappings":";;;;;4iBAIO,MAAMA,EAA+C,EAAGC,OAAMC,QAAOC,aAC1EC,EAAA,gBAEIC,MAAOF,EAAUG,UAAY,OAC7BC,KAAMN,EAAO,SAAW,OACxBC,UCTN,MAAMM,EAAY,s1E,MCgDLC,EAAM,M,kFA0QTC,KAAAC,wBAA0B,KAChCD,KAAKE,sBAAwB,KAAK,EAG5BF,KAAAG,uBAAyB,KAC/BH,KAAKE,sBAAwB,KAC7BF,KAAKI,WAAa,IAAI,EAGhBJ,KAAAK,kBAAoB,KAC1BL,KAAKE,sBAAwB,IAAI,EAG3BF,KAAAM,mBAAsBC,IAC5B,MAAMC,EAAaR,KAAKS,uBAAuBF,GAC/C,MAAMG,EAAMH,EAAMG,IAClB,MAAMC,EAAYD,GAAO,IAAMd,UAAYgB,OAAOF,GAElDV,KAAKa,KAAO,KACZ,GAAIC,MAAMH,GAAY,CACpB,OAAQD,GACN,IAAK,QACL,IAAK,IACHV,KAAKe,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AKqG,OAAOE,cAC/CvG,KAAK2D,SAAWjE,EAAA,QAAMC,MAAM,mBAAmBK,KAAK2D,QAAQ4C,cAC5DvG,KAAKqG,OAAS3G,EAAA,QAAMC,MAAM,iBAAe,IAAGK,KAAKqG,OAAOE,WAAU,MAErE,MAEN7G,EAAC8G,EAAmB,CAACC,UAAWzG,S,CAa1C,YAAA0G,GACE1G,KAAK2G,U,CAoFC,WAAAzF,GACNlB,KAAKI,WAAaJ,KAAKe,MACvBf,KAAKiC,cAAcjC,KAAKe,MAAQ,GAAGa,O,CAG7B,WAAAsC,CAAYnD,GAClB,GAAIf,KAAK6F,UAAa7F,KAAKe,QAAUA,IAAUf,KAAKe,OAASA,IAAU,GAAK,CAC1E,OAAQ,C,CAEV,OAAO,C,CAOD,sBAAAN,CAAuBF,GAC7B,MAAMiB,EAASjB,EAAMoB,cACrB,OAAOf,OAAOY,EAAOoF,aAAa,c,CAGpC,kBAAAxF,CAAmByF,GACjB,OAAOA,IAAiB,EAAI,EAAIA,EAAe,C,CAGjD,sBAAA5F,CAAuB4F,GACrB,OAAOA,IAAiB,EAAI,EAAIA,EAAe,C,CAWjD,cAAMF,SACEG,EAAmB9G,MACzB+G,EAAmB/G,KAAKgC,G"}
@@ -1,7 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.2.0-next.14
5
- */
6
- const a="calcite-mode-auto";const t="calcite-mode-dark";const e="calcite-mode-light";const c={autoMode:a,darkMode:t,lightMode:e,rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateIn:"calcite-animate__in",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left",calciteAnimateInScale:"calcite-animate__in-scale"};export{c as C,a,t as d};
7
- //# sourceMappingURL=p-6217d2be.js.map
@@ -1,7 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v2.2.0-next.14
5
- */
6
- import{a as i,r as t,h as s,H as n,g as e}from"./p-0add2080.js";import{g as o,t as c}from"./p-9aaa5fe6.js";import{c as a}from"./p-b109f717.js";import"./p-860f2840.js";import"./p-6217d2be.js";const l={icon:"icon",flipRtl:"flip-rtl"};const r={};const h={};const p={s:16,m:24,l:32};async function d({icon:t,scale:s}){const n=p[s];const e=u(t);const o=e.charAt(e.length-1)==="F";const c=o?e.substring(0,e.length-1):e;const a=`${c}${n}${o?"F":""}`;if(r[a]){return r[a]}if(!h[a]){h[a]=fetch(i(`./assets/icon/${a}.json`)).then((i=>i.json())).catch((()=>{console.error(`"${a}" is not a valid calcite-ui-icon name`);return""}))}const l=await h[a];r[a]=l;return l}function u(i){const t=!isNaN(Number(i.charAt(0)));const s=i.split("-");const n=s.length>0;if(n){const t=/[a-z]/i;i=s.map(((i,s)=>i.replace(t,(function i(t,n){const e=s===0&&n===0;if(e){return t}return t.toUpperCase()})))).join("")}return t?`i${i}`:i}const f=":host{display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}";const m=class{constructor(i){t(this,i);this.icon=null;this.flipRtl=false;this.scale="m";this.textLabel=undefined;this.pathData=undefined;this.visible=false}connectedCallback(){this.waitUntilVisible((()=>{this.visible=true;this.loadIconPathData()}))}disconnectedCallback(){this.intersectionObserver?.disconnect();this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:i,flipRtl:t,pathData:e,scale:a,textLabel:r}=this;const h=o(i);const d=p[a];const u=!!r;const f=[].concat(e||"");return s(n,{"aria-hidden":c(!u),"aria-label":u?r:null,role:u?"img":null},s("svg",{"aria-hidden":"true",class:{[l.flipRtl]:h==="rtl"&&t,svg:true},fill:"currentColor",height:"100%",viewBox:`0 0 ${d} ${d}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},f.map((i=>typeof i==="string"?s("path",{d:i}):s("path",{d:i.d,opacity:"opacity"in i?i.opacity:1})))))}async loadIconPathData(){const{icon:i,scale:t,visible:s}=this;if(!i||!s){return}const n=await d({icon:i,scale:t});if(i!==this.icon){return}this.pathData=n}waitUntilVisible(i){this.intersectionObserver=a("intersection",(t=>{t.forEach((t=>{if(t.isIntersecting){this.intersectionObserver.disconnect();this.intersectionObserver=null;i()}}))}),{rootMargin:"50px"});if(!this.intersectionObserver){i();return}this.intersectionObserver.observe(this.el)}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};m.style=f;export{m as calcite_icon};
7
- //# sourceMappingURL=p-637401ce.entry.js.map