@esri/calcite-components 2.8.0-next.1 → 2.8.0-next.2

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 (2320) 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-001c6de4.entry.js +7 -0
  6. package/dist/calcite/p-00859caa.js +7 -0
  7. package/dist/calcite/p-016f9ebd.js +7 -0
  8. package/dist/calcite/p-0278cfca.js +7 -0
  9. package/dist/calcite/p-04d52aa6.entry.js +7 -0
  10. package/dist/calcite/p-04d52aa6.entry.js.map +1 -0
  11. package/dist/calcite/p-04de09a5.js +7 -0
  12. package/dist/calcite/p-05e59e9c.js +7 -0
  13. package/dist/calcite/p-0642d73f.js +7 -0
  14. package/dist/calcite/p-07928d27.js +7 -0
  15. package/dist/calcite/p-07efbe2d.js +7 -0
  16. package/dist/calcite/p-0d10cbea.entry.js +7 -0
  17. package/dist/calcite/p-0d18acd2.js +7 -0
  18. package/dist/calcite/p-0fa6ece4.js +7 -0
  19. package/dist/calcite/p-10482fef.entry.js +7 -0
  20. package/dist/calcite/p-131f0eea.entry.js +7 -0
  21. package/dist/calcite/p-131f0eea.entry.js.map +1 -0
  22. package/dist/calcite/p-135a0ce8.entry.js +7 -0
  23. package/dist/calcite/p-135a0ce8.entry.js.map +1 -0
  24. package/dist/calcite/p-158acc6b.js +7 -0
  25. package/dist/calcite/p-1715843c.js +13 -0
  26. package/dist/calcite/p-183f5d27.js +7 -0
  27. package/dist/calcite/p-1988d545.js +7 -0
  28. package/dist/calcite/p-1d15ffe1.entry.js +7 -0
  29. package/dist/calcite/p-217396af.entry.js +7 -0
  30. package/dist/calcite/p-217396af.entry.js.map +1 -0
  31. package/dist/calcite/p-2362dc5c.js +7 -0
  32. package/dist/calcite/p-24c9c7d7.entry.js +7 -0
  33. package/dist/calcite/p-26225051.js +7 -0
  34. package/dist/calcite/p-264a18c0.js +7 -0
  35. package/dist/calcite/p-26849b27.entry.js +7 -0
  36. package/dist/calcite/p-26849b27.entry.js.map +1 -0
  37. package/dist/calcite/p-26d27337.js +7 -0
  38. package/dist/calcite/p-278a3008.js +7 -0
  39. package/dist/calcite/p-28164ad0.js +12 -0
  40. package/dist/calcite/p-2a6032f9.js +8 -0
  41. package/dist/calcite/p-2af87985.js +7 -0
  42. package/dist/calcite/p-31e059e1.js +7 -0
  43. package/dist/calcite/p-326d91d9.js +7 -0
  44. package/dist/calcite/p-32d79bed.entry.js +7 -0
  45. package/dist/calcite/p-32d79bed.entry.js.map +1 -0
  46. package/dist/calcite/p-346ed5ad.entry.js +7 -0
  47. package/dist/calcite/p-346ed5ad.entry.js.map +1 -0
  48. package/dist/calcite/p-38751d76.js +7 -0
  49. package/dist/calcite/p-398a0f77.js +7 -0
  50. package/dist/calcite/p-39e84651.entry.js +7 -0
  51. package/dist/calcite/p-39e84651.entry.js.map +1 -0
  52. package/dist/calcite/p-39f09b60.js +7 -0
  53. package/dist/calcite/p-3d6de6e8.js +7 -0
  54. package/dist/calcite/p-3d99828d.entry.js +7 -0
  55. package/dist/calcite/p-3f15357e.entry.js +7 -0
  56. package/dist/calcite/p-3fdde044.js +7 -0
  57. package/dist/calcite/p-41f51e2a.js +7 -0
  58. package/dist/calcite/p-44391a32.entry.js +7 -0
  59. package/dist/calcite/p-44391a32.entry.js.map +1 -0
  60. package/dist/calcite/p-44e32c65.js +7 -0
  61. package/dist/calcite/p-44e32c65.js.map +1 -0
  62. package/dist/calcite/p-4573653c.entry.js +7 -0
  63. package/dist/calcite/p-4573653c.entry.js.map +1 -0
  64. package/dist/calcite/p-46680754.js +7 -0
  65. package/dist/calcite/p-46c2f3ff.js +7 -0
  66. package/dist/calcite/p-470ddc1f.js +7 -0
  67. package/dist/calcite/p-4b431c6f.js +7 -0
  68. package/dist/calcite/p-4b431c6f.js.map +1 -0
  69. package/dist/calcite/p-4ba04f9c.js +7 -0
  70. package/dist/calcite/p-4ee5fa14.entry.js +7 -0
  71. package/dist/calcite/p-4ee5fa14.entry.js.map +1 -0
  72. package/dist/calcite/p-4f196fc6.js +7 -0
  73. package/dist/calcite/p-4ff75762.entry.js +7 -0
  74. package/dist/calcite/p-5137bec2.js +7 -0
  75. package/dist/calcite/p-51c4f12f.entry.js +7 -0
  76. package/dist/calcite/p-55d0f8b1.entry.js +7 -0
  77. package/dist/calcite/p-57e01b0d.entry.js +7 -0
  78. package/dist/calcite/p-57e01b0d.entry.js.map +1 -0
  79. package/dist/calcite/p-58949831.js +7 -0
  80. package/dist/calcite/p-5a7f70ff.js +7 -0
  81. package/dist/calcite/p-5b55943f.js +7 -0
  82. package/dist/calcite/p-62abaad9.entry.js +7 -0
  83. package/dist/calcite/p-62abaad9.entry.js.map +1 -0
  84. package/dist/calcite/p-664e9917.js +7 -0
  85. package/dist/calcite/p-6784e29d.entry.js +7 -0
  86. package/dist/calcite/p-6784e29d.entry.js.map +1 -0
  87. package/dist/calcite/p-691b506c.entry.js +7 -0
  88. package/dist/calcite/p-691b506c.entry.js.map +1 -0
  89. package/dist/calcite/p-69f33aa2.js +7 -0
  90. package/dist/calcite/p-6c3ae9b0.js +7 -0
  91. package/dist/calcite/p-719eb7bc.entry.js +7 -0
  92. package/dist/calcite/p-7651cfce.entry.js +7 -0
  93. package/dist/calcite/p-7651cfce.entry.js.map +1 -0
  94. package/dist/calcite/p-7859d12e.entry.js +7 -0
  95. package/dist/calcite/p-78c39f87.entry.js +7 -0
  96. package/dist/calcite/p-78c39f87.entry.js.map +1 -0
  97. package/dist/calcite/p-79db8b88.js +7 -0
  98. package/dist/calcite/p-7d1269ea.js +7 -0
  99. package/dist/calcite/p-7d5d1ccc.js +7 -0
  100. package/dist/calcite/p-7f343c05.entry.js +7 -0
  101. package/dist/calcite/p-7fea6a18.js +7 -0
  102. package/dist/calcite/p-7fea6a18.js.map +1 -0
  103. package/dist/calcite/p-80580021.entry.js +7 -0
  104. package/dist/calcite/p-80b27fe4.entry.js +7 -0
  105. package/dist/calcite/p-80d9a9cf.entry.js +7 -0
  106. package/dist/calcite/p-80d9a9cf.entry.js.map +1 -0
  107. package/dist/calcite/p-81d8c3e6.entry.js +7 -0
  108. package/dist/calcite/p-81d8c3e6.entry.js.map +1 -0
  109. package/dist/calcite/p-844e9548.entry.js +7 -0
  110. package/dist/calcite/p-8afea1b7.js +7 -0
  111. package/dist/calcite/p-8b547e48.js +7 -0
  112. package/dist/calcite/p-8b55aca4.entry.js +7 -0
  113. package/dist/calcite/p-8b55aca4.entry.js.map +1 -0
  114. package/dist/calcite/p-902c92d6.entry.js +7 -0
  115. package/dist/calcite/p-902c92d6.entry.js.map +1 -0
  116. package/dist/calcite/p-919d62bb.entry.js +7 -0
  117. package/dist/calcite/p-92c8cee7.entry.js +7 -0
  118. package/dist/calcite/p-944095db.entry.js +7 -0
  119. package/dist/calcite/p-944095db.entry.js.map +1 -0
  120. package/dist/calcite/p-976c8847.entry.js +7 -0
  121. package/dist/calcite/p-991815a6.entry.js +7 -0
  122. package/dist/calcite/p-991815a6.entry.js.map +1 -0
  123. package/dist/calcite/p-99454d76.entry.js +7 -0
  124. package/dist/calcite/p-99454d76.entry.js.map +1 -0
  125. package/dist/calcite/p-9aeae016.entry.js +7 -0
  126. package/dist/calcite/p-9bf8e96f.js +7 -0
  127. package/dist/calcite/p-9dd7cf2c.js +7 -0
  128. package/dist/calcite/p-a07c4e01.js +7 -0
  129. package/dist/calcite/p-a08c2569.entry.js +7 -0
  130. package/dist/calcite/p-a5ed05ce.entry.js +7 -0
  131. package/dist/calcite/p-a5ed05ce.entry.js.map +1 -0
  132. package/dist/calcite/p-a6ba39e7.entry.js +7 -0
  133. package/dist/calcite/p-a6ba39e7.entry.js.map +1 -0
  134. package/dist/calcite/p-a8b2e3ad.entry.js +7 -0
  135. package/dist/calcite/p-a8b2e3ad.entry.js.map +1 -0
  136. package/dist/calcite/p-a91b3b05.js +7 -0
  137. package/dist/calcite/p-a9babe58.entry.js +7 -0
  138. package/dist/calcite/p-a9babe58.entry.js.map +1 -0
  139. package/dist/calcite/p-ab4e9d62.entry.js +7 -0
  140. package/dist/calcite/p-ab4e9d62.entry.js.map +1 -0
  141. package/dist/calcite/p-aba08c28.js +7 -0
  142. package/dist/calcite/p-ac2cbb35.js +7 -0
  143. package/dist/calcite/p-ae0b5a40.js +7 -0
  144. package/dist/calcite/p-ae940e76.js +7 -0
  145. package/dist/calcite/p-b0850648.entry.js +7 -0
  146. package/dist/calcite/p-b0d47116.js +7 -0
  147. package/dist/calcite/p-b4d68ef1.js +7 -0
  148. package/dist/calcite/p-b62f625b.entry.js +7 -0
  149. package/dist/calcite/p-b62f625b.entry.js.map +1 -0
  150. package/dist/calcite/p-b7004122.entry.js +7 -0
  151. package/dist/calcite/p-b7004122.entry.js.map +1 -0
  152. package/dist/calcite/p-b7165ebb.js +7 -0
  153. package/dist/calcite/p-b942594f.entry.js +7 -0
  154. package/dist/calcite/p-b94e3c79.entry.js +7 -0
  155. package/dist/calcite/p-ba8077c0.js +7 -0
  156. package/dist/calcite/p-be9b760e.js +7 -0
  157. package/dist/calcite/p-c0740706.js +7 -0
  158. package/dist/calcite/p-c0d115c8.entry.js +7 -0
  159. package/dist/calcite/p-c1079ce0.js +7 -0
  160. package/dist/calcite/p-c23c7d67.js +7 -0
  161. package/dist/calcite/p-c577b5f7.js +7 -0
  162. package/dist/calcite/p-c8ad8b5c.js +7 -0
  163. package/dist/calcite/p-c9091452.entry.js +7 -0
  164. package/dist/calcite/p-cb5cb74b.js +7 -0
  165. package/dist/calcite/p-cbfb0b44.js +7 -0
  166. package/dist/calcite/p-cc4d2c88.js +7 -0
  167. package/dist/calcite/p-ce11be72.js +7 -0
  168. package/dist/calcite/p-ce1419b6.entry.js +7 -0
  169. package/dist/calcite/p-ce1419b6.entry.js.map +1 -0
  170. package/dist/calcite/p-d0281ace.entry.js +7 -0
  171. package/dist/calcite/p-d0281ace.entry.js.map +1 -0
  172. package/dist/calcite/p-d0ca43ff.js +7 -0
  173. package/dist/calcite/p-d2c27b90.js +7 -0
  174. package/dist/calcite/p-d482e3cc.entry.js +7 -0
  175. package/dist/calcite/p-d482e3cc.entry.js.map +1 -0
  176. package/dist/calcite/p-d702cebf.js +7 -0
  177. package/dist/calcite/p-d702cebf.js.map +1 -0
  178. package/dist/calcite/p-d7d08570.js +7 -0
  179. package/dist/calcite/p-d8853b6e.js +7 -0
  180. package/dist/calcite/p-d9ef99e4.entry.js +7 -0
  181. package/dist/calcite/p-da7e55a3.js +7 -0
  182. package/dist/calcite/p-dbfc26d2.entry.js +7 -0
  183. package/dist/calcite/p-dbfc26d2.entry.js.map +1 -0
  184. package/dist/calcite/p-deb0d3fd.js +7 -0
  185. package/dist/calcite/p-e1cd9d68.entry.js +7 -0
  186. package/dist/calcite/p-e1cd9d68.entry.js.map +1 -0
  187. package/dist/calcite/p-e3a80db7.js +7 -0
  188. package/dist/calcite/p-e3f868cd.js +7 -0
  189. package/dist/calcite/p-e46a4855.entry.js +7 -0
  190. package/dist/calcite/p-e524855f.js +7 -0
  191. package/dist/calcite/p-e7236bd0.entry.js +7 -0
  192. package/dist/calcite/p-e7236bd0.entry.js.map +1 -0
  193. package/dist/calcite/p-e8bb5e39.entry.js +7 -0
  194. package/dist/calcite/p-e8e2426b.entry.js +7 -0
  195. package/dist/calcite/p-e8e2426b.entry.js.map +1 -0
  196. package/dist/calcite/p-e94d0d79.entry.js +7 -0
  197. package/dist/calcite/p-e94d0d79.entry.js.map +1 -0
  198. package/dist/calcite/p-ed488403.js +7 -0
  199. package/dist/calcite/p-ee1215b7.entry.js +7 -0
  200. package/dist/calcite/p-ee1215b7.entry.js.map +1 -0
  201. package/dist/calcite/p-f0e28720.js +7 -0
  202. package/dist/calcite/p-f1048bed.js +7 -0
  203. package/dist/calcite/p-f30d67e1.js +7 -0
  204. package/dist/calcite/p-f389edfb.entry.js +7 -0
  205. package/dist/calcite/p-f45be9ad.js +7 -0
  206. package/dist/calcite/p-f64f4440.entry.js +7 -0
  207. package/dist/calcite/p-f67ef023.entry.js +7 -0
  208. package/dist/calcite/p-f6a613d5.js +7 -0
  209. package/dist/calcite/p-f6ca5964.entry.js +7 -0
  210. package/dist/calcite/p-fbbf3d0e.js +11 -0
  211. package/dist/calcite/p-fd3d8db5.js +7 -0
  212. package/dist/calcite/p-fe3db953.js +7 -0
  213. package/dist/calcite-preset.js +4 -4
  214. package/dist/calcite-preset.js.map +1 -1
  215. package/dist/cjs/ExpandToggle-e9ca1162.js +110 -0
  216. package/dist/cjs/ExpandToggle-e9ca1162.js.map +1 -0
  217. package/dist/cjs/FloatingArrow-29b5e5c1.js +49 -0
  218. package/dist/cjs/FloatingArrow-29b5e5c1.js.map +1 -0
  219. package/dist/cjs/Heading-fdda80db.js +22 -0
  220. package/dist/cjs/Heading-fdda80db.js.map +1 -0
  221. package/dist/cjs/Validation-29e1af65.js +18 -0
  222. package/dist/cjs/Validation-29e1af65.js.map +1 -0
  223. package/dist/cjs/app-globals-bf09b7d0.js +61 -0
  224. package/dist/cjs/app-globals-bf09b7d0.js.map +1 -0
  225. package/dist/cjs/ar-4d8661df.js +106 -0
  226. package/dist/cjs/ar-4d8661df.js.map +1 -0
  227. package/dist/cjs/array-6708291c.js +14 -0
  228. package/dist/cjs/array-6708291c.js.map +1 -0
  229. package/dist/cjs/bg-d8aade13.js +84 -0
  230. package/dist/cjs/bg-d8aade13.js.map +1 -0
  231. package/dist/cjs/browser-51429bbb.js +20 -0
  232. package/dist/cjs/browser-51429bbb.js.map +1 -0
  233. package/dist/cjs/bs-9bee23f4.js +53 -0
  234. package/dist/cjs/bs-9bee23f4.js.map +1 -0
  235. package/dist/cjs/ca-da43649d.js +73 -0
  236. package/dist/cjs/ca-da43649d.js.map +1 -0
  237. package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
  238. package/dist/cjs/calcite-accordion_2.cjs.entry.js.map +1 -1
  239. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  240. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  241. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  242. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  243. package/dist/cjs/calcite-action.cjs.entry.js +14 -14
  244. package/dist/cjs/calcite-action.cjs.entry.js.map +1 -1
  245. package/dist/cjs/calcite-alert.cjs.entry.js +14 -14
  246. package/dist/cjs/calcite-alert.cjs.entry.js.map +1 -1
  247. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  248. package/dist/cjs/calcite-block_2.cjs.entry.js +17 -17
  249. package/dist/cjs/calcite-block_2.cjs.entry.js.map +1 -1
  250. package/dist/cjs/calcite-button.cjs.entry.js +16 -16
  251. package/dist/cjs/calcite-button.cjs.entry.js.map +1 -1
  252. package/dist/cjs/calcite-card-group.cjs.entry.js +8 -8
  253. package/dist/cjs/calcite-card.cjs.entry.js +13 -13
  254. package/dist/cjs/calcite-card.cjs.entry.js.map +1 -1
  255. package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -13
  256. package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
  257. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
  258. package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
  259. package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -1
  260. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +17 -17
  261. package/dist/cjs/calcite-color-picker_3.cjs.entry.js.map +1 -1
  262. package/dist/cjs/calcite-combobox_3.cjs.entry.js +24 -24
  263. package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
  264. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -17
  265. package/dist/cjs/calcite-date-picker_4.cjs.entry.js.map +1 -1
  266. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -15
  267. package/dist/cjs/calcite-dropdown_3.cjs.entry.js.map +1 -1
  268. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  269. package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
  270. package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
  271. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  272. package/dist/cjs/calcite-graph_2.cjs.entry.js +16 -16
  273. package/dist/cjs/calcite-graph_2.cjs.entry.js.map +1 -1
  274. package/dist/cjs/calcite-handle.cjs.entry.js +13 -13
  275. package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -1
  276. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  277. package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
  278. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -21
  279. package/dist/cjs/calcite-input-message.cjs.entry.js +10 -11
  280. package/dist/cjs/calcite-input-message.cjs.entry.js.map +1 -1
  281. package/dist/cjs/calcite-input-number.cjs.entry.js +43 -35
  282. package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
  283. package/dist/cjs/calcite-input-text.cjs.entry.js +37 -29
  284. package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
  285. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-b5c6a9ff.js +2920 -0
  286. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-b5c6a9ff.js.map +1 -0
  287. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
  288. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
  289. package/dist/cjs/calcite-input.cjs.entry.js +45 -37
  290. package/dist/cjs/calcite-input.cjs.entry.js.map +1 -1
  291. package/dist/cjs/calcite-label.cjs.entry.js +7 -7
  292. package/dist/cjs/calcite-link.cjs.entry.js +9 -9
  293. package/dist/cjs/calcite-link.cjs.entry.js.map +1 -1
  294. package/dist/cjs/calcite-list_3.cjs.entry.js +16 -16
  295. package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
  296. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  297. package/dist/cjs/calcite-menu_2.cjs.entry.js +11 -11
  298. package/dist/cjs/calcite-menu_2.cjs.entry.js.map +1 -1
  299. package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
  300. package/dist/cjs/calcite-modal.cjs.entry.js +15 -15
  301. package/dist/cjs/calcite-modal.cjs.entry.js.map +1 -1
  302. package/dist/cjs/calcite-navigation_3.cjs.entry.js +9 -9
  303. package/dist/cjs/calcite-navigation_3.cjs.entry.js.map +1 -1
  304. package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
  305. package/dist/cjs/calcite-notice.cjs.entry.js.map +1 -1
  306. package/dist/cjs/calcite-option_3.cjs.entry.js +14 -14
  307. package/dist/cjs/calcite-option_3.cjs.entry.js.map +1 -1
  308. package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
  309. package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
  310. package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
  311. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +19 -19
  312. package/dist/cjs/calcite-pick-list_3.cjs.entry.js.map +1 -1
  313. package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
  314. package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
  315. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
  316. package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -13
  317. package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -1
  318. package/dist/cjs/calcite-rating.cjs.entry.js +16 -16
  319. package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -1
  320. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  321. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +14 -14
  322. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js.map +1 -1
  323. package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
  324. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  325. package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
  326. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
  327. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  328. package/dist/cjs/calcite-stepper_2.cjs.entry.js +13 -13
  329. package/dist/cjs/calcite-stepper_2.cjs.entry.js.map +1 -1
  330. package/dist/cjs/calcite-switch.cjs.entry.js +13 -13
  331. package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -1
  332. package/dist/cjs/calcite-tab_4.cjs.entry.js +15 -15
  333. package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
  334. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +15 -15
  335. package/dist/cjs/calcite-table-cell_2.cjs.entry.js.map +1 -1
  336. package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
  337. package/dist/cjs/calcite-table.cjs.entry.js +11 -11
  338. package/dist/cjs/calcite-text-area.cjs.entry.js +34 -26
  339. package/dist/cjs/calcite-text-area.cjs.entry.js.map +1 -1
  340. package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
  341. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
  342. package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
  343. package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
  344. package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -13
  345. package/dist/cjs/calcite-tip_3.cjs.entry.js.map +1 -1
  346. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  347. package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -11
  348. package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
  349. package/dist/cjs/calcite-value-list_2.cjs.entry.js +22 -23
  350. package/dist/cjs/calcite-value-list_2.cjs.entry.js.map +1 -1
  351. package/dist/cjs/calcite.cjs.js +5 -5
  352. package/dist/cjs/component-3ccc49de.js +30 -0
  353. package/dist/cjs/component-3ccc49de.js.map +1 -0
  354. package/dist/cjs/conditionalSlot-17bf4b6c.js +60 -0
  355. package/dist/cjs/conditionalSlot-17bf4b6c.js.map +1 -0
  356. package/dist/cjs/core-41367df6.js +22 -0
  357. package/dist/cjs/core-41367df6.js.map +1 -0
  358. package/dist/cjs/cs-b2ce9ef6.js +149 -0
  359. package/dist/cjs/cs-b2ce9ef6.js.map +1 -0
  360. package/dist/cjs/da-fdd157b6.js +68 -0
  361. package/dist/cjs/da-fdd157b6.js.map +1 -0
  362. package/dist/cjs/de-009c9396.js +93 -0
  363. package/dist/cjs/de-009c9396.js.map +1 -0
  364. package/dist/cjs/de-at-6351003b.js +92 -0
  365. package/dist/cjs/de-at-6351003b.js.map +1 -0
  366. package/dist/cjs/de-ch-2be1b13e.js +92 -0
  367. package/dist/cjs/de-ch-2be1b13e.js.map +1 -0
  368. package/dist/cjs/debounce-4cd1c6fa.js +506 -0
  369. package/dist/cjs/debounce-4cd1c6fa.js.map +1 -0
  370. package/dist/cjs/dom-bce388db.js +1097 -0
  371. package/dist/cjs/dom-bce388db.js.map +1 -0
  372. package/dist/cjs/el-32df5f79.js +68 -0
  373. package/dist/cjs/el-32df5f79.js.map +1 -0
  374. package/dist/cjs/en-au-1259ce64.js +68 -0
  375. package/dist/cjs/en-au-1259ce64.js.map +1 -0
  376. package/dist/cjs/en-ca-ef5b51cc.js +67 -0
  377. package/dist/cjs/en-ca-ef5b51cc.js.map +1 -0
  378. package/dist/cjs/en-gb-4c83da59.js +71 -0
  379. package/dist/cjs/en-gb-4c83da59.js.map +1 -0
  380. package/dist/cjs/es-81891e2e.js +68 -0
  381. package/dist/cjs/es-81891e2e.js.map +1 -0
  382. package/dist/cjs/es-mx-b5cec366.js +67 -0
  383. package/dist/cjs/es-mx-b5cec366.js.map +1 -0
  384. package/dist/cjs/et-663d6aed.js +94 -0
  385. package/dist/cjs/et-663d6aed.js.map +1 -0
  386. package/dist/cjs/fi-9752335f.js +117 -0
  387. package/dist/cjs/fi-9752335f.js.map +1 -0
  388. package/dist/cjs/filter-c8628b57.js +774 -0
  389. package/dist/cjs/filter-c8628b57.js.map +1 -0
  390. package/dist/cjs/floating-ui-3bc0d900.js +2280 -0
  391. package/dist/cjs/floating-ui-3bc0d900.js.map +1 -0
  392. package/dist/cjs/focusTrapComponent-83dccc73.js +1020 -0
  393. package/dist/cjs/focusTrapComponent-83dccc73.js.map +1 -0
  394. package/dist/cjs/form-1a88aa47.js +333 -0
  395. package/dist/cjs/form-1a88aa47.js.map +1 -0
  396. package/dist/cjs/fr-b66d0bb9.js +70 -0
  397. package/dist/cjs/fr-b66d0bb9.js.map +1 -0
  398. package/dist/cjs/fr-ch-9a1fd98c.js +68 -0
  399. package/dist/cjs/fr-ch-9a1fd98c.js.map +1 -0
  400. package/dist/cjs/guid-158ec463.js +23 -0
  401. package/dist/cjs/guid-158ec463.js.map +1 -0
  402. package/dist/cjs/he-67f9493f.js +107 -0
  403. package/dist/cjs/he-67f9493f.js.map +1 -0
  404. package/dist/cjs/hi-be2564ee.js +67 -0
  405. package/dist/cjs/hi-be2564ee.js.map +1 -0
  406. package/dist/cjs/hr-d75e9453.js +82 -0
  407. package/dist/cjs/hr-d75e9453.js.map +1 -0
  408. package/dist/cjs/hu-a98c3792.js +90 -0
  409. package/dist/cjs/hu-a98c3792.js.map +1 -0
  410. package/dist/cjs/id-f509b252.js +68 -0
  411. package/dist/cjs/id-f509b252.js.map +1 -0
  412. package/dist/cjs/index-336815e8.js +75 -0
  413. package/dist/cjs/index-336815e8.js.map +1 -0
  414. package/dist/cjs/index-9ffcd65b.js +2705 -0
  415. package/dist/cjs/index-9ffcd65b.js.map +1 -0
  416. package/dist/cjs/index-caab38a7.js +208 -0
  417. package/dist/cjs/index-caab38a7.js.map +1 -0
  418. package/dist/cjs/index.cjs.js +1 -1
  419. package/dist/cjs/input-946e1d24.js +57 -0
  420. package/dist/cjs/input-946e1d24.js.map +1 -0
  421. package/dist/cjs/interactive-a214e24a.js +151 -0
  422. package/dist/cjs/interactive-a214e24a.js.map +1 -0
  423. package/dist/cjs/it-79272fb7.js +68 -0
  424. package/dist/cjs/it-79272fb7.js.map +1 -0
  425. package/dist/cjs/it-ch-117838f0.js +68 -0
  426. package/dist/cjs/it-ch-117838f0.js.map +1 -0
  427. package/dist/cjs/ja-7da29005.js +74 -0
  428. package/dist/cjs/ja-7da29005.js.map +1 -0
  429. package/dist/cjs/key-a2fb96ef.js +16 -0
  430. package/dist/cjs/key-a2fb96ef.js.map +1 -0
  431. package/dist/cjs/ko-6aa72b29.js +74 -0
  432. package/dist/cjs/ko-6aa72b29.js.map +1 -0
  433. package/dist/cjs/label-7e2f29f7.js +183 -0
  434. package/dist/cjs/label-7e2f29f7.js.map +1 -0
  435. package/dist/cjs/loadable-c3c829fd.js +91 -0
  436. package/dist/cjs/loadable-c3c829fd.js.map +1 -0
  437. package/dist/cjs/loader.cjs.js +5 -5
  438. package/dist/cjs/locale-813620ea.js +576 -0
  439. package/dist/cjs/locale-813620ea.js.map +1 -0
  440. package/dist/cjs/lt-6b5dcd70.js +99 -0
  441. package/dist/cjs/lt-6b5dcd70.js.map +1 -0
  442. package/dist/cjs/lv-4e4c8c1b.js +68 -0
  443. package/dist/cjs/lv-4e4c8c1b.js.map +1 -0
  444. package/dist/cjs/math-3e2c1ba0.js +57 -0
  445. package/dist/cjs/math-3e2c1ba0.js.map +1 -0
  446. package/dist/cjs/mk-ee7ba85f.js +68 -0
  447. package/dist/cjs/mk-ee7ba85f.js.map +1 -0
  448. package/dist/cjs/nb-a88e70bf.js +69 -0
  449. package/dist/cjs/nb-a88e70bf.js.map +1 -0
  450. package/dist/cjs/nl-298c11f8.js +69 -0
  451. package/dist/cjs/nl-298c11f8.js.map +1 -0
  452. package/dist/cjs/observers-f62842f6.js +50 -0
  453. package/dist/cjs/observers-f62842f6.js.map +1 -0
  454. package/dist/cjs/openCloseComponent-d6de3bd2.js +89 -0
  455. package/dist/cjs/openCloseComponent-d6de3bd2.js.map +1 -0
  456. package/dist/cjs/pl-ea142608.js +116 -0
  457. package/dist/cjs/pl-ea142608.js.map +1 -0
  458. package/dist/cjs/pt-025ff6b4.js +69 -0
  459. package/dist/cjs/pt-025ff6b4.js.map +1 -0
  460. package/dist/cjs/pt-br-dde71e27.js +67 -0
  461. package/dist/cjs/pt-br-dde71e27.js.map +1 -0
  462. package/dist/cjs/resources-50cb60d7.js +26 -0
  463. package/dist/cjs/resources-50cb60d7.js.map +1 -0
  464. package/dist/cjs/resources-5251a175.js +23 -0
  465. package/dist/cjs/resources-5251a175.js.map +1 -0
  466. package/dist/cjs/resources-77fb1f30.js +26 -0
  467. package/dist/cjs/resources-77fb1f30.js.map +1 -0
  468. package/dist/cjs/resources-a2169aa5.js +18 -0
  469. package/dist/cjs/resources-a2169aa5.js.map +1 -0
  470. package/dist/cjs/resources-b43a0368.js +414 -0
  471. package/dist/cjs/resources-b43a0368.js.map +1 -0
  472. package/dist/cjs/resources-b9b33f0a.js +49 -0
  473. package/dist/cjs/resources-b9b33f0a.js.map +1 -0
  474. package/dist/cjs/resources-d97d65eb.js +29 -0
  475. package/dist/cjs/resources-d97d65eb.js.map +1 -0
  476. package/dist/cjs/ro-4424a1c9.js +68 -0
  477. package/dist/cjs/ro-4424a1c9.js.map +1 -0
  478. package/dist/cjs/ru-9d7f3a94.js +128 -0
  479. package/dist/cjs/ru-9d7f3a94.js.map +1 -0
  480. package/dist/cjs/sk-5e8499e4.js +150 -0
  481. package/dist/cjs/sk-5e8499e4.js.map +1 -0
  482. package/dist/cjs/sl-5c608487.js +170 -0
  483. package/dist/cjs/sl-5c608487.js.map +1 -0
  484. package/dist/cjs/sortableComponent-2b6da7a6.js +2744 -0
  485. package/dist/cjs/sortableComponent-2b6da7a6.js.map +1 -0
  486. package/dist/cjs/sr-cdeb57eb.js +103 -0
  487. package/dist/cjs/sr-cdeb57eb.js.map +1 -0
  488. package/dist/cjs/sv-44b19f60.js +73 -0
  489. package/dist/cjs/sv-44b19f60.js.map +1 -0
  490. package/dist/cjs/t9n-506c50da.js +97 -0
  491. package/dist/cjs/t9n-506c50da.js.map +1 -0
  492. package/dist/cjs/th-5c8a3aad.js +67 -0
  493. package/dist/cjs/th-5c8a3aad.js.map +1 -0
  494. package/dist/cjs/throttle-984459fb.js +77 -0
  495. package/dist/cjs/throttle-984459fb.js.map +1 -0
  496. package/dist/cjs/tr-83dc4f03.js +68 -0
  497. package/dist/cjs/tr-83dc4f03.js.map +1 -0
  498. package/dist/cjs/uk-d7382467.js +106 -0
  499. package/dist/cjs/uk-d7382467.js.map +1 -0
  500. package/dist/cjs/utils-b33d2b08.js +218 -0
  501. package/dist/cjs/utils-b33d2b08.js.map +1 -0
  502. package/dist/cjs/utils-d0d248f9.js +307 -0
  503. package/dist/cjs/utils-d0d248f9.js.map +1 -0
  504. package/dist/cjs/vi-13a5b7f5.js +72 -0
  505. package/dist/cjs/vi-13a5b7f5.js.map +1 -0
  506. package/dist/cjs/zh-cn-e50c1cb3.js +96 -0
  507. package/dist/cjs/zh-cn-e50c1cb3.js.map +1 -0
  508. package/dist/cjs/zh-hk-67dea92d.js +73 -0
  509. package/dist/cjs/zh-hk-67dea92d.js.map +1 -0
  510. package/dist/cjs/zh-tw-f32871c3.js +94 -0
  511. package/dist/cjs/zh-tw-f32871c3.js.map +1 -0
  512. package/dist/collection/components/accordion/accordion.css +5 -5
  513. package/dist/collection/components/accordion/accordion.e2e.js +1 -1
  514. package/dist/collection/components/accordion/accordion.js +1 -1
  515. package/dist/collection/components/accordion-item/accordion-item.css +6 -6
  516. package/dist/collection/components/accordion-item/accordion-item.e2e.js +1 -1
  517. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  518. package/dist/collection/components/accordion-item/resources.js +1 -1
  519. package/dist/collection/components/action/action.css +7 -7
  520. package/dist/collection/components/action/action.e2e.js +1 -1
  521. package/dist/collection/components/action/action.js +1 -1
  522. package/dist/collection/components/action/resources.js +1 -1
  523. package/dist/collection/components/action-bar/action-bar.css +5 -5
  524. package/dist/collection/components/action-bar/action-bar.e2e.js +1 -1
  525. package/dist/collection/components/action-bar/action-bar.js +1 -1
  526. package/dist/collection/components/action-bar/resources.js +1 -1
  527. package/dist/collection/components/action-bar/utils.js +1 -1
  528. package/dist/collection/components/action-group/action-group.css +5 -5
  529. package/dist/collection/components/action-group/action-group.e2e.js +1 -1
  530. package/dist/collection/components/action-group/action-group.js +1 -1
  531. package/dist/collection/components/action-group/resources.js +1 -1
  532. package/dist/collection/components/action-menu/action-menu.css +5 -5
  533. package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
  534. package/dist/collection/components/action-menu/action-menu.js +1 -1
  535. package/dist/collection/components/action-menu/resources.js +1 -1
  536. package/dist/collection/components/action-pad/action-pad.css +5 -5
  537. package/dist/collection/components/action-pad/action-pad.e2e.js +1 -1
  538. package/dist/collection/components/action-pad/action-pad.js +1 -1
  539. package/dist/collection/components/action-pad/resources.js +1 -1
  540. package/dist/collection/components/alert/alert.css +6 -6
  541. package/dist/collection/components/alert/alert.e2e.js +1 -1
  542. package/dist/collection/components/alert/alert.js +1 -1
  543. package/dist/collection/components/alert/resources.js +1 -1
  544. package/dist/collection/components/avatar/avatar.css +5 -5
  545. package/dist/collection/components/avatar/avatar.e2e.js +1 -1
  546. package/dist/collection/components/avatar/avatar.js +1 -1
  547. package/dist/collection/components/avatar/avatar.spec.js +1 -1
  548. package/dist/collection/components/avatar/utils.js +1 -1
  549. package/dist/collection/components/block/block.css +6 -6
  550. package/dist/collection/components/block/block.e2e.js +1 -1
  551. package/dist/collection/components/block/block.js +1 -1
  552. package/dist/collection/components/block/resources.js +1 -1
  553. package/dist/collection/components/block-section/block-section.css +6 -6
  554. package/dist/collection/components/block-section/block-section.e2e.js +1 -1
  555. package/dist/collection/components/block-section/block-section.js +1 -1
  556. package/dist/collection/components/block-section/resources.js +1 -1
  557. package/dist/collection/components/button/button.css +6 -6
  558. package/dist/collection/components/button/button.e2e.js +1 -1
  559. package/dist/collection/components/button/button.js +1 -1
  560. package/dist/collection/components/button/resources.js +1 -1
  561. package/dist/collection/components/card/card.css +6 -6
  562. package/dist/collection/components/card/card.e2e.js +1 -1
  563. package/dist/collection/components/card/card.js +1 -1
  564. package/dist/collection/components/card/resources.js +1 -1
  565. package/dist/collection/components/card-group/card-group.css +5 -5
  566. package/dist/collection/components/card-group/card-group.e2e.js +1 -1
  567. package/dist/collection/components/card-group/card-group.js +1 -1
  568. package/dist/collection/components/checkbox/checkbox.css +6 -6
  569. package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
  570. package/dist/collection/components/checkbox/checkbox.js +1 -1
  571. package/dist/collection/components/chip/chip.css +7 -7
  572. package/dist/collection/components/chip/chip.e2e.js +1 -1
  573. package/dist/collection/components/chip/chip.js +1 -1
  574. package/dist/collection/components/chip/resources.js +1 -1
  575. package/dist/collection/components/chip-group/chip-group.css +5 -5
  576. package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
  577. package/dist/collection/components/chip-group/chip-group.js +1 -1
  578. package/dist/collection/components/color-picker/color-picker.css +6 -6
  579. package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
  580. package/dist/collection/components/color-picker/color-picker.js +1 -1
  581. package/dist/collection/components/color-picker/resources.js +1 -1
  582. package/dist/collection/components/color-picker/utils.js +1 -1
  583. package/dist/collection/components/color-picker/utils.spec.js +1 -1
  584. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
  585. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
  586. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  587. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  588. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
  589. package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +1 -1
  590. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  591. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  592. package/dist/collection/components/combobox/combobox.css +6 -6
  593. package/dist/collection/components/combobox/combobox.e2e.js +1 -1
  594. package/dist/collection/components/combobox/combobox.js +1 -1
  595. package/dist/collection/components/combobox/resources.js +1 -1
  596. package/dist/collection/components/combobox/utils.js +1 -1
  597. package/dist/collection/components/combobox-item/combobox-item.css +6 -6
  598. package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
  599. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  600. package/dist/collection/components/combobox-item/resources.js +1 -1
  601. package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
  602. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  603. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  604. package/dist/collection/components/date-picker/date-picker.css +5 -5
  605. package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
  606. package/dist/collection/components/date-picker/date-picker.js +1 -1
  607. package/dist/collection/components/date-picker/resources.js +1 -1
  608. package/dist/collection/components/date-picker/utils.js +1 -1
  609. package/dist/collection/components/date-picker/utils.spec.js +1 -1
  610. package/dist/collection/components/date-picker-day/date-picker-day.css +6 -6
  611. package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
  612. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  613. package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
  614. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  615. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +7 -7
  616. package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
  617. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  618. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  619. package/dist/collection/components/dropdown/dropdown.css +5 -5
  620. package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
  621. package/dist/collection/components/dropdown/dropdown.js +1 -1
  622. package/dist/collection/components/dropdown/resources.js +1 -1
  623. package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
  624. package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
  625. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  626. package/dist/collection/components/dropdown-item/dropdown-item.css +6 -6
  627. package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
  628. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  629. package/dist/collection/components/dropdown-item/resources.js +1 -1
  630. package/dist/collection/components/fab/fab.css +5 -5
  631. package/dist/collection/components/fab/fab.e2e.js +1 -1
  632. package/dist/collection/components/fab/fab.js +1 -1
  633. package/dist/collection/components/fab/resources.js +1 -1
  634. package/dist/collection/components/filter/filter.css +5 -5
  635. package/dist/collection/components/filter/filter.e2e.js +1 -1
  636. package/dist/collection/components/filter/filter.js +1 -1
  637. package/dist/collection/components/filter/resources.js +1 -1
  638. package/dist/collection/components/flow/flow.css +5 -5
  639. package/dist/collection/components/flow/flow.e2e.js +1 -1
  640. package/dist/collection/components/flow/flow.js +1 -1
  641. package/dist/collection/components/flow/resources.js +1 -1
  642. package/dist/collection/components/flow-item/flow-item.css +5 -5
  643. package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
  644. package/dist/collection/components/flow-item/flow-item.js +1 -1
  645. package/dist/collection/components/flow-item/resources.js +1 -1
  646. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  647. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  648. package/dist/collection/components/functional/Heading.js +1 -1
  649. package/dist/collection/components/functional/Heading.spec.js +1 -1
  650. package/dist/collection/components/functional/Validation.js +1 -1
  651. package/dist/collection/components/functional/XButton.js +1 -1
  652. package/dist/collection/components/graph/graph.css +5 -5
  653. package/dist/collection/components/graph/graph.e2e.js +1 -1
  654. package/dist/collection/components/graph/graph.js +1 -1
  655. package/dist/collection/components/graph/util.js +1 -1
  656. package/dist/collection/components/handle/handle.css +6 -6
  657. package/dist/collection/components/handle/handle.e2e.js +1 -1
  658. package/dist/collection/components/handle/handle.js +1 -1
  659. package/dist/collection/components/handle/resources.js +1 -1
  660. package/dist/collection/components/icon/icon.css +5 -5
  661. package/dist/collection/components/icon/icon.e2e.js +1 -1
  662. package/dist/collection/components/icon/icon.js +1 -1
  663. package/dist/collection/components/icon/resources.js +1 -1
  664. package/dist/collection/components/icon/utils.js +1 -1
  665. package/dist/collection/components/icon/utils.spec.js +1 -1
  666. package/dist/collection/components/inline-editable/inline-editable.css +5 -5
  667. package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
  668. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  669. package/dist/collection/components/inline-editable/resources.js +1 -1
  670. package/dist/collection/components/input/common/input.js +1 -1
  671. package/dist/collection/components/input/common/input.spec.js +1 -1
  672. package/dist/collection/components/input/common/tests.js +1 -1
  673. package/dist/collection/components/input/input.css +7 -7
  674. package/dist/collection/components/input/input.e2e.js +1 -1
  675. package/dist/collection/components/input/input.js +35 -83
  676. package/dist/collection/components/input/input.js.map +1 -1
  677. package/dist/collection/components/input/resources.js +1 -1
  678. package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
  679. package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
  680. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  681. package/dist/collection/components/input-date-picker/resources.js +1 -1
  682. package/dist/collection/components/input-date-picker/util.spec.js +1 -1
  683. package/dist/collection/components/input-date-picker/utils.js +1 -1
  684. package/dist/collection/components/input-message/input-message.css +5 -5
  685. package/dist/collection/components/input-message/input-message.e2e.js +1 -1
  686. package/dist/collection/components/input-message/input-message.js +1 -1
  687. package/dist/collection/components/input-message/interfaces.js +6 -7
  688. package/dist/collection/components/input-message/interfaces.js.map +1 -1
  689. package/dist/collection/components/input-number/input-number.css +7 -7
  690. package/dist/collection/components/input-number/input-number.e2e.js +1 -1
  691. package/dist/collection/components/input-number/input-number.js +33 -81
  692. package/dist/collection/components/input-number/input-number.js.map +1 -1
  693. package/dist/collection/components/input-number/resources.js +1 -1
  694. package/dist/collection/components/input-text/input-text.css +7 -7
  695. package/dist/collection/components/input-text/input-text.e2e.js +1 -1
  696. package/dist/collection/components/input-text/input-text.js +27 -75
  697. package/dist/collection/components/input-text/input-text.js.map +1 -1
  698. package/dist/collection/components/input-text/resources.js +1 -1
  699. package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
  700. package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
  701. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  702. package/dist/collection/components/input-time-picker/resources.js +1 -1
  703. package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
  704. package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
  705. package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
  706. package/dist/collection/components/input-time-zone/utils.js +1 -1
  707. package/dist/collection/components/label/label.css +5 -5
  708. package/dist/collection/components/label/label.e2e.js +1 -1
  709. package/dist/collection/components/label/label.js +1 -1
  710. package/dist/collection/components/label/resources.js +1 -1
  711. package/dist/collection/components/link/link.css +6 -6
  712. package/dist/collection/components/link/link.e2e.js +1 -1
  713. package/dist/collection/components/link/link.js +1 -1
  714. package/dist/collection/components/list/list.css +5 -5
  715. package/dist/collection/components/list/list.e2e.js +1 -1
  716. package/dist/collection/components/list/list.js +1 -1
  717. package/dist/collection/components/list/resources.js +1 -1
  718. package/dist/collection/components/list-item/list-item.css +6 -6
  719. package/dist/collection/components/list-item/list-item.e2e.js +1 -1
  720. package/dist/collection/components/list-item/list-item.js +1 -1
  721. package/dist/collection/components/list-item/resources.js +1 -1
  722. package/dist/collection/components/list-item/utils.js +1 -1
  723. package/dist/collection/components/list-item/utils.js.map +1 -1
  724. package/dist/collection/components/list-item-group/list-item-group.css +5 -5
  725. package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
  726. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  727. package/dist/collection/components/list-item-group/resources.js +1 -1
  728. package/dist/collection/components/loader/loader.css +5 -5
  729. package/dist/collection/components/loader/loader.e2e.js +1 -1
  730. package/dist/collection/components/loader/loader.js +1 -1
  731. package/dist/collection/components/menu/menu.css +5 -5
  732. package/dist/collection/components/menu/menu.e2e.js +1 -1
  733. package/dist/collection/components/menu/menu.js +1 -1
  734. package/dist/collection/components/menu-item/menu-item.css +6 -6
  735. package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
  736. package/dist/collection/components/menu-item/menu-item.js +1 -1
  737. package/dist/collection/components/menu-item/resources.js +1 -1
  738. package/dist/collection/components/meter/meter.css +5 -5
  739. package/dist/collection/components/meter/meter.e2e.js +1 -1
  740. package/dist/collection/components/meter/meter.js +1 -1
  741. package/dist/collection/components/meter/resources.js +1 -1
  742. package/dist/collection/components/modal/modal.css +7 -7
  743. package/dist/collection/components/modal/modal.e2e.js +1 -1
  744. package/dist/collection/components/modal/modal.js +1 -1
  745. package/dist/collection/components/modal/resources.js +1 -1
  746. package/dist/collection/components/navigation/navigation.css +5 -5
  747. package/dist/collection/components/navigation/navigation.e2e.js +1 -1
  748. package/dist/collection/components/navigation/navigation.js +1 -1
  749. package/dist/collection/components/navigation/resources.js +1 -1
  750. package/dist/collection/components/navigation-logo/navigation-logo.css +6 -6
  751. package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
  752. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  753. package/dist/collection/components/navigation-logo/resources.js +1 -1
  754. package/dist/collection/components/navigation-user/navigation-user.css +6 -6
  755. package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
  756. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  757. package/dist/collection/components/navigation-user/resources.js +1 -1
  758. package/dist/collection/components/notice/notice.css +6 -6
  759. package/dist/collection/components/notice/notice.e2e.js +1 -1
  760. package/dist/collection/components/notice/notice.js +1 -1
  761. package/dist/collection/components/notice/resources.js +1 -1
  762. package/dist/collection/components/option/option.css +5 -5
  763. package/dist/collection/components/option/option.e2e.js +1 -1
  764. package/dist/collection/components/option/option.js +1 -1
  765. package/dist/collection/components/option-group/option-group.css +5 -5
  766. package/dist/collection/components/option-group/option-group.e2e.js +1 -1
  767. package/dist/collection/components/option-group/option-group.js +1 -1
  768. package/dist/collection/components/pagination/pagination.css +6 -6
  769. package/dist/collection/components/pagination/pagination.e2e.js +1 -1
  770. package/dist/collection/components/pagination/pagination.js +1 -1
  771. package/dist/collection/components/pagination/resources.js +1 -1
  772. package/dist/collection/components/panel/panel.css +5 -5
  773. package/dist/collection/components/panel/panel.e2e.js +1 -1
  774. package/dist/collection/components/panel/panel.js +1 -1
  775. package/dist/collection/components/panel/resources.js +1 -1
  776. package/dist/collection/components/pick-list/pick-list.css +5 -5
  777. package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
  778. package/dist/collection/components/pick-list/pick-list.js +2 -2
  779. package/dist/collection/components/pick-list/pick-list.js.map +1 -1
  780. package/dist/collection/components/pick-list/resources.js +6 -7
  781. package/dist/collection/components/pick-list/resources.js.map +1 -1
  782. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  783. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  784. package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
  785. package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
  786. package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
  787. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  788. package/dist/collection/components/pick-list-group/resources.js +1 -1
  789. package/dist/collection/components/pick-list-item/pick-list-item.css +6 -6
  790. package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
  791. package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
  792. package/dist/collection/components/pick-list-item/resources.js +1 -1
  793. package/dist/collection/components/popover/PopoverManager.js +1 -1
  794. package/dist/collection/components/popover/popover.css +5 -5
  795. package/dist/collection/components/popover/popover.e2e.js +1 -1
  796. package/dist/collection/components/popover/popover.js +1 -1
  797. package/dist/collection/components/popover/resources.js +1 -1
  798. package/dist/collection/components/progress/progress.css +5 -5
  799. package/dist/collection/components/progress/progress.e2e.js +1 -1
  800. package/dist/collection/components/progress/progress.js +1 -1
  801. package/dist/collection/components/radio-button/radio-button.css +6 -6
  802. package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
  803. package/dist/collection/components/radio-button/radio-button.js +1 -1
  804. package/dist/collection/components/radio-button/resources.js +1 -1
  805. package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
  806. package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
  807. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  808. package/dist/collection/components/radio-button-group/resources.js +1 -1
  809. package/dist/collection/components/rating/functional/star.js +1 -1
  810. package/dist/collection/components/rating/rating.css +6 -6
  811. package/dist/collection/components/rating/rating.e2e.js +1 -1
  812. package/dist/collection/components/rating/rating.js +1 -1
  813. package/dist/collection/components/resources.js +8 -9
  814. package/dist/collection/components/resources.js.map +1 -1
  815. package/dist/collection/components/scrim/resources.js +1 -1
  816. package/dist/collection/components/scrim/scrim.css +5 -5
  817. package/dist/collection/components/scrim/scrim.e2e.js +1 -1
  818. package/dist/collection/components/scrim/scrim.js +1 -1
  819. package/dist/collection/components/segmented-control/resources.js +1 -1
  820. package/dist/collection/components/segmented-control/segmented-control.css +5 -5
  821. package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
  822. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  823. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  824. package/dist/collection/components/segmented-control-item/segmented-control-item.css +6 -6
  825. package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
  826. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  827. package/dist/collection/components/select/resources.js +1 -1
  828. package/dist/collection/components/select/select.css +6 -6
  829. package/dist/collection/components/select/select.e2e.js +1 -1
  830. package/dist/collection/components/select/select.js +1 -1
  831. package/dist/collection/components/sheet/resources.js +1 -1
  832. package/dist/collection/components/sheet/sheet.css +5 -5
  833. package/dist/collection/components/sheet/sheet.e2e.js +1 -1
  834. package/dist/collection/components/sheet/sheet.js +1 -1
  835. package/dist/collection/components/shell/resources.js +1 -1
  836. package/dist/collection/components/shell/shell.css +5 -5
  837. package/dist/collection/components/shell/shell.e2e.js +1 -1
  838. package/dist/collection/components/shell/shell.js +1 -1
  839. package/dist/collection/components/shell-center-row/resources.js +1 -1
  840. package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
  841. package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
  842. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  843. package/dist/collection/components/shell-panel/resources.js +1 -1
  844. package/dist/collection/components/shell-panel/shell-panel.css +5 -5
  845. package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
  846. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  847. package/dist/collection/components/slider/resources.js +1 -1
  848. package/dist/collection/components/slider/slider.css +6 -6
  849. package/dist/collection/components/slider/slider.e2e.js +1 -1
  850. package/dist/collection/components/slider/slider.js +1 -1
  851. package/dist/collection/components/sortable-list/resources.js +1 -1
  852. package/dist/collection/components/sortable-list/sortable-list.css +5 -5
  853. package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
  854. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  855. package/dist/collection/components/split-button/resources.js +1 -1
  856. package/dist/collection/components/split-button/split-button.css +5 -5
  857. package/dist/collection/components/split-button/split-button.e2e.js +1 -1
  858. package/dist/collection/components/split-button/split-button.js +1 -1
  859. package/dist/collection/components/stack/resources.js +1 -1
  860. package/dist/collection/components/stack/stack.css +5 -5
  861. package/dist/collection/components/stack/stack.e2e.js +1 -1
  862. package/dist/collection/components/stack/stack.js +1 -1
  863. package/dist/collection/components/stepper/functional/step-bar.js +1 -1
  864. package/dist/collection/components/stepper/resources.js +1 -1
  865. package/dist/collection/components/stepper/stepper.css +5 -5
  866. package/dist/collection/components/stepper/stepper.e2e.js +1 -1
  867. package/dist/collection/components/stepper/stepper.js +1 -1
  868. package/dist/collection/components/stepper-item/resources.js +1 -1
  869. package/dist/collection/components/stepper-item/stepper-item.css +7 -7
  870. package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
  871. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  872. package/dist/collection/components/switch/switch.css +6 -6
  873. package/dist/collection/components/switch/switch.e2e.js +1 -1
  874. package/dist/collection/components/switch/switch.js +1 -1
  875. package/dist/collection/components/tab/resources.js +1 -1
  876. package/dist/collection/components/tab/tab.css +6 -6
  877. package/dist/collection/components/tab/tab.e2e.js +1 -1
  878. package/dist/collection/components/tab/tab.js +1 -1
  879. package/dist/collection/components/tab-nav/resources.js +1 -1
  880. package/dist/collection/components/tab-nav/tab-nav.css +5 -5
  881. package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
  882. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  883. package/dist/collection/components/tab-title/resources.js +1 -1
  884. package/dist/collection/components/tab-title/tab-title.css +7 -7
  885. package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
  886. package/dist/collection/components/tab-title/tab-title.js +1 -1
  887. package/dist/collection/components/table/resources.js +1 -1
  888. package/dist/collection/components/table/table.css +5 -5
  889. package/dist/collection/components/table/table.e2e.js +1 -1
  890. package/dist/collection/components/table/table.js +1 -1
  891. package/dist/collection/components/table-cell/resources.js +1 -1
  892. package/dist/collection/components/table-cell/table-cell.css +6 -6
  893. package/dist/collection/components/table-cell/table-cell.js +1 -1
  894. package/dist/collection/components/table-header/resources.js +1 -1
  895. package/dist/collection/components/table-header/table-header.css +6 -6
  896. package/dist/collection/components/table-header/table-header.js +1 -1
  897. package/dist/collection/components/table-row/resources.js +1 -1
  898. package/dist/collection/components/table-row/table-row.css +5 -5
  899. package/dist/collection/components/table-row/table-row.js +1 -1
  900. package/dist/collection/components/tabs/resources.js +1 -1
  901. package/dist/collection/components/tabs/tabs.css +5 -5
  902. package/dist/collection/components/tabs/tabs.e2e.js +1 -1
  903. package/dist/collection/components/tabs/tabs.js +1 -1
  904. package/dist/collection/components/text-area/resources.js +1 -1
  905. package/dist/collection/components/text-area/text-area.css +6 -6
  906. package/dist/collection/components/text-area/text-area.e2e.js +1 -1
  907. package/dist/collection/components/text-area/text-area.js +18 -29
  908. package/dist/collection/components/text-area/text-area.js.map +1 -1
  909. package/dist/collection/components/tile/resources.js +1 -1
  910. package/dist/collection/components/tile/tile.css +5 -5
  911. package/dist/collection/components/tile/tile.e2e.js +1 -1
  912. package/dist/collection/components/tile/tile.js +1 -1
  913. package/dist/collection/components/tile-group/resources.js +1 -1
  914. package/dist/collection/components/tile-group/tile-group.css +5 -5
  915. package/dist/collection/components/tile-group/tile-group.e2e.js +1 -1
  916. package/dist/collection/components/tile-group/tile-group.js +1 -1
  917. package/dist/collection/components/tile-select/resources.js +1 -1
  918. package/dist/collection/components/tile-select/tile-select.css +6 -6
  919. package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
  920. package/dist/collection/components/tile-select/tile-select.js +1 -1
  921. package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
  922. package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
  923. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  924. package/dist/collection/components/time-picker/resources.js +1 -1
  925. package/dist/collection/components/time-picker/time-picker.css +5 -5
  926. package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
  927. package/dist/collection/components/time-picker/time-picker.js +1 -1
  928. package/dist/collection/components/tip/resources.js +1 -1
  929. package/dist/collection/components/tip/tip.css +6 -6
  930. package/dist/collection/components/tip/tip.e2e.js +1 -1
  931. package/dist/collection/components/tip/tip.js +1 -1
  932. package/dist/collection/components/tip-group/tip-group.css +5 -5
  933. package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
  934. package/dist/collection/components/tip-group/tip-group.js +1 -1
  935. package/dist/collection/components/tip-manager/resources.js +1 -1
  936. package/dist/collection/components/tip-manager/tip-manager.css +7 -7
  937. package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
  938. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  939. package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
  940. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  941. package/dist/collection/components/tooltip/resources.js +1 -1
  942. package/dist/collection/components/tooltip/tooltip.css +5 -5
  943. package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
  944. package/dist/collection/components/tooltip/tooltip.js +1 -1
  945. package/dist/collection/components/tooltip/utils.js +1 -1
  946. package/dist/collection/components/tree/tree.css +5 -5
  947. package/dist/collection/components/tree/tree.e2e.js +1 -1
  948. package/dist/collection/components/tree/tree.js +1 -1
  949. package/dist/collection/components/tree/utils.js +1 -1
  950. package/dist/collection/components/tree-item/resources.js +1 -1
  951. package/dist/collection/components/tree-item/tree-item.css +7 -7
  952. package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
  953. package/dist/collection/components/tree-item/tree-item.js +1 -1
  954. package/dist/collection/components/types.js +2 -0
  955. package/dist/collection/components/types.js.map +1 -0
  956. package/dist/collection/components/value-list/resources.js +4 -5
  957. package/dist/collection/components/value-list/resources.js.map +1 -1
  958. package/dist/collection/components/value-list/utils.js +1 -1
  959. package/dist/collection/components/value-list/value-list.css +5 -5
  960. package/dist/collection/components/value-list/value-list.e2e.js +1 -1
  961. package/dist/collection/components/value-list/value-list.js +2 -2
  962. package/dist/collection/components/value-list/value-list.js.map +1 -1
  963. package/dist/collection/components/value-list-item/resources.js +1 -1
  964. package/dist/collection/components/value-list-item/value-list-item.css +6 -6
  965. package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
  966. package/dist/collection/components/value-list-item/value-list-item.js +2 -2
  967. package/dist/collection/index.js +1 -1
  968. package/dist/collection/tests/commonTests.js +1 -1
  969. package/dist/collection/tests/utils.js +1 -1
  970. package/dist/collection/utils/array.js +1 -1
  971. package/dist/collection/utils/browser.js +1 -1
  972. package/dist/collection/utils/component.js +1 -1
  973. package/dist/collection/utils/component.spec.js +1 -1
  974. package/dist/collection/utils/conditionalSlot.js +1 -1
  975. package/dist/collection/utils/config.js +1 -1
  976. package/dist/collection/utils/config.spec.js +1 -1
  977. package/dist/collection/utils/date.js +1 -1
  978. package/dist/collection/utils/date.spec.js +1 -1
  979. package/dist/collection/utils/dom.e2e.js +1 -1
  980. package/dist/collection/utils/dom.js +1 -1
  981. package/dist/collection/utils/dom.spec.js +1 -1
  982. package/dist/collection/utils/filter.js +1 -1
  983. package/dist/collection/utils/floating-ui.js +1 -1
  984. package/dist/collection/utils/floating-ui.spec.js +1 -1
  985. package/dist/collection/utils/focusTrapComponent.js +1 -1
  986. package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
  987. package/dist/collection/utils/form.js +1 -1
  988. package/dist/collection/utils/form.spec.js +1 -1
  989. package/dist/collection/utils/globalScript.js +1 -1
  990. package/dist/collection/utils/guid.js +1 -1
  991. package/dist/collection/utils/guid.spec.js +1 -1
  992. package/dist/collection/utils/interactive.js +1 -1
  993. package/dist/collection/utils/interactive.spec.js +1 -1
  994. package/dist/collection/utils/key.js +1 -1
  995. package/dist/collection/utils/label.js +1 -1
  996. package/dist/collection/utils/label.spec.js +1 -1
  997. package/dist/collection/utils/loadable.js +1 -1
  998. package/dist/collection/utils/loadable.spec.js +1 -1
  999. package/dist/collection/utils/locale.js +1 -1
  1000. package/dist/collection/utils/locale.spec.js +1 -1
  1001. package/dist/collection/utils/math.js +1 -1
  1002. package/dist/collection/utils/math.spec.js +1 -1
  1003. package/dist/collection/utils/mode.js +1 -1
  1004. package/dist/collection/utils/number.js +1 -1
  1005. package/dist/collection/utils/number.spec.js +1 -1
  1006. package/dist/collection/utils/observers.js +1 -1
  1007. package/dist/collection/utils/openCloseComponent.js +1 -1
  1008. package/dist/collection/utils/resources.js +1 -1
  1009. package/dist/collection/utils/responsive.js +1 -1
  1010. package/dist/collection/utils/responsive.spec.js +1 -1
  1011. package/dist/collection/utils/sortableComponent.js +1 -1
  1012. package/dist/collection/utils/t9n.js +1 -1
  1013. package/dist/collection/utils/time.js +1 -1
  1014. package/dist/collection/utils/time.spec.js +1 -1
  1015. package/dist/components/ExpandToggle.js +1 -1
  1016. package/dist/components/FloatingArrow.js +1 -1
  1017. package/dist/components/Heading.js +1 -1
  1018. package/dist/components/Validation.js +1 -1
  1019. package/dist/components/action-group.js +1 -1
  1020. package/dist/components/action-menu.js +1 -1
  1021. package/dist/components/action.js +2 -2
  1022. package/dist/components/action.js.map +1 -1
  1023. package/dist/components/ar.js +1 -1
  1024. package/dist/components/array.js +1 -1
  1025. package/dist/components/avatar.js +1 -1
  1026. package/dist/components/bg.js +1 -1
  1027. package/dist/components/bs.js +1 -1
  1028. package/dist/components/button.js +2 -2
  1029. package/dist/components/button.js.map +1 -1
  1030. package/dist/components/ca.js +1 -1
  1031. package/dist/components/calcite-accordion-item.js +2 -2
  1032. package/dist/components/calcite-accordion-item.js.map +1 -1
  1033. package/dist/components/calcite-accordion.js +1 -1
  1034. package/dist/components/calcite-action-bar.js +1 -1
  1035. package/dist/components/calcite-action-group.js +1 -1
  1036. package/dist/components/calcite-action-menu.js +1 -1
  1037. package/dist/components/calcite-action-pad.js +1 -1
  1038. package/dist/components/calcite-action.js +1 -1
  1039. package/dist/components/calcite-alert.js +2 -2
  1040. package/dist/components/calcite-alert.js.map +1 -1
  1041. package/dist/components/calcite-avatar.js +1 -1
  1042. package/dist/components/calcite-block-section.js +2 -2
  1043. package/dist/components/calcite-block-section.js.map +1 -1
  1044. package/dist/components/calcite-block.js +2 -2
  1045. package/dist/components/calcite-block.js.map +1 -1
  1046. package/dist/components/calcite-button.js +1 -1
  1047. package/dist/components/calcite-card-group.js +1 -1
  1048. package/dist/components/calcite-card.js +2 -2
  1049. package/dist/components/calcite-card.js.map +1 -1
  1050. package/dist/components/calcite-checkbox.js +1 -1
  1051. package/dist/components/calcite-chip-group.js +1 -1
  1052. package/dist/components/calcite-chip.js +1 -1
  1053. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  1054. package/dist/components/calcite-color-picker-swatch.js +1 -1
  1055. package/dist/components/calcite-color-picker.js +2 -2
  1056. package/dist/components/calcite-color-picker.js.map +1 -1
  1057. package/dist/components/calcite-combobox-item-group.js +1 -1
  1058. package/dist/components/calcite-combobox-item.js +1 -1
  1059. package/dist/components/calcite-combobox.js +1 -1
  1060. package/dist/components/calcite-date-picker-day.js +1 -1
  1061. package/dist/components/calcite-date-picker-month-header.js +1 -1
  1062. package/dist/components/calcite-date-picker-month.js +1 -1
  1063. package/dist/components/calcite-date-picker.js +1 -1
  1064. package/dist/components/calcite-dropdown-group.js +1 -1
  1065. package/dist/components/calcite-dropdown-item.js +2 -2
  1066. package/dist/components/calcite-dropdown-item.js.map +1 -1
  1067. package/dist/components/calcite-dropdown.js +1 -1
  1068. package/dist/components/calcite-fab.js +1 -1
  1069. package/dist/components/calcite-filter.js +1 -1
  1070. package/dist/components/calcite-flow-item.js +1 -1
  1071. package/dist/components/calcite-flow.js +1 -1
  1072. package/dist/components/calcite-graph.js +1 -1
  1073. package/dist/components/calcite-handle.js +1 -1
  1074. package/dist/components/calcite-icon.js +1 -1
  1075. package/dist/components/calcite-inline-editable.js +1 -1
  1076. package/dist/components/calcite-input-date-picker.js +1 -1
  1077. package/dist/components/calcite-input-message.js +1 -1
  1078. package/dist/components/calcite-input-number.js +1 -1
  1079. package/dist/components/calcite-input-text.js +1 -1
  1080. package/dist/components/calcite-input-time-picker.js +1 -1
  1081. package/dist/components/calcite-input-time-zone.js +1 -1
  1082. package/dist/components/calcite-input.js +1 -1
  1083. package/dist/components/calcite-label.js +1 -1
  1084. package/dist/components/calcite-link.js +1 -1
  1085. package/dist/components/calcite-list-item-group.js +1 -1
  1086. package/dist/components/calcite-list-item.js +2 -2
  1087. package/dist/components/calcite-list-item.js.map +1 -1
  1088. package/dist/components/calcite-list.js +1 -1
  1089. package/dist/components/calcite-loader.js +1 -1
  1090. package/dist/components/calcite-menu-item.js +2 -2
  1091. package/dist/components/calcite-menu-item.js.map +1 -1
  1092. package/dist/components/calcite-menu.js +1 -1
  1093. package/dist/components/calcite-meter.js +1 -1
  1094. package/dist/components/calcite-modal.js +2 -2
  1095. package/dist/components/calcite-modal.js.map +1 -1
  1096. package/dist/components/calcite-navigation-logo.js +2 -2
  1097. package/dist/components/calcite-navigation-logo.js.map +1 -1
  1098. package/dist/components/calcite-navigation-user.js +2 -2
  1099. package/dist/components/calcite-navigation-user.js.map +1 -1
  1100. package/dist/components/calcite-navigation.js +1 -1
  1101. package/dist/components/calcite-notice.js +2 -2
  1102. package/dist/components/calcite-notice.js.map +1 -1
  1103. package/dist/components/calcite-option-group.js +1 -1
  1104. package/dist/components/calcite-option.js +1 -1
  1105. package/dist/components/calcite-pagination.js +1 -1
  1106. package/dist/components/calcite-panel.js +1 -1
  1107. package/dist/components/calcite-pick-list-group.js +1 -1
  1108. package/dist/components/calcite-pick-list-item.js +1 -1
  1109. package/dist/components/calcite-pick-list.js +2 -2
  1110. package/dist/components/calcite-pick-list.js.map +1 -1
  1111. package/dist/components/calcite-popover.js +1 -1
  1112. package/dist/components/calcite-progress.js +1 -1
  1113. package/dist/components/calcite-radio-button-group.js +1 -1
  1114. package/dist/components/calcite-radio-button.js +1 -1
  1115. package/dist/components/calcite-rating.js +2 -2
  1116. package/dist/components/calcite-rating.js.map +1 -1
  1117. package/dist/components/calcite-scrim.js +1 -1
  1118. package/dist/components/calcite-segmented-control-item.js +2 -2
  1119. package/dist/components/calcite-segmented-control-item.js.map +1 -1
  1120. package/dist/components/calcite-segmented-control.js +1 -1
  1121. package/dist/components/calcite-select.js +2 -2
  1122. package/dist/components/calcite-select.js.map +1 -1
  1123. package/dist/components/calcite-sheet.js +1 -1
  1124. package/dist/components/calcite-shell-center-row.js +1 -1
  1125. package/dist/components/calcite-shell-panel.js +1 -1
  1126. package/dist/components/calcite-shell.js +1 -1
  1127. package/dist/components/calcite-slider.js +2 -2
  1128. package/dist/components/calcite-slider.js.map +1 -1
  1129. package/dist/components/calcite-sortable-list.js +1 -1
  1130. package/dist/components/calcite-split-button.js +1 -1
  1131. package/dist/components/calcite-stack.js +1 -1
  1132. package/dist/components/calcite-stepper-item.js +2 -2
  1133. package/dist/components/calcite-stepper-item.js.map +1 -1
  1134. package/dist/components/calcite-stepper.js +1 -1
  1135. package/dist/components/calcite-switch.js +1 -1
  1136. package/dist/components/calcite-tab-nav.js +1 -1
  1137. package/dist/components/calcite-tab-title.js +1 -1
  1138. package/dist/components/calcite-tab.js +1 -1
  1139. package/dist/components/calcite-table-cell.js +1 -1
  1140. package/dist/components/calcite-table-header.js +1 -1
  1141. package/dist/components/calcite-table-row.js +1 -1
  1142. package/dist/components/calcite-table.js +1 -1
  1143. package/dist/components/calcite-tabs.js +1 -1
  1144. package/dist/components/calcite-text-area.js +18 -10
  1145. package/dist/components/calcite-text-area.js.map +1 -1
  1146. package/dist/components/calcite-tile-group.js +1 -1
  1147. package/dist/components/calcite-tile-select-group.js +1 -1
  1148. package/dist/components/calcite-tile-select.js +2 -2
  1149. package/dist/components/calcite-tile-select.js.map +1 -1
  1150. package/dist/components/calcite-tile.js +1 -1
  1151. package/dist/components/calcite-time-picker.js +1 -1
  1152. package/dist/components/calcite-tip-group.js +1 -1
  1153. package/dist/components/calcite-tip-manager.js +2 -2
  1154. package/dist/components/calcite-tip-manager.js.map +1 -1
  1155. package/dist/components/calcite-tip.js +2 -2
  1156. package/dist/components/calcite-tip.js.map +1 -1
  1157. package/dist/components/calcite-tooltip.js +1 -1
  1158. package/dist/components/calcite-tree-item.js +2 -2
  1159. package/dist/components/calcite-tree-item.js.map +1 -1
  1160. package/dist/components/calcite-tree.js +1 -1
  1161. package/dist/components/calcite-value-list-item.js +2 -2
  1162. package/dist/components/calcite-value-list-item.js.map +1 -1
  1163. package/dist/components/calcite-value-list.js +5 -6
  1164. package/dist/components/calcite-value-list.js.map +1 -1
  1165. package/dist/components/checkbox.js +2 -2
  1166. package/dist/components/checkbox.js.map +1 -1
  1167. package/dist/components/chip.js +2 -2
  1168. package/dist/components/chip.js.map +1 -1
  1169. package/dist/components/color-picker-hex-input.js +1 -1
  1170. package/dist/components/color-picker-swatch.js +1 -1
  1171. package/dist/components/combobox-item.js +2 -2
  1172. package/dist/components/combobox-item.js.map +1 -1
  1173. package/dist/components/combobox.js +2 -2
  1174. package/dist/components/combobox.js.map +1 -1
  1175. package/dist/components/component.js +1 -1
  1176. package/dist/components/conditionalSlot.js +1 -1
  1177. package/dist/components/core.js +2 -2
  1178. package/dist/components/core.js.map +1 -1
  1179. package/dist/components/cs.js +1 -1
  1180. package/dist/components/da.js +1 -1
  1181. package/dist/components/date-picker-day.js +2 -2
  1182. package/dist/components/date-picker-day.js.map +1 -1
  1183. package/dist/components/date-picker-month-header.js +2 -2
  1184. package/dist/components/date-picker-month-header.js.map +1 -1
  1185. package/dist/components/date-picker-month.js +1 -1
  1186. package/dist/components/date-picker.js +1 -1
  1187. package/dist/components/date.js +1 -1
  1188. package/dist/components/de-at.js +1 -1
  1189. package/dist/components/de-ch.js +1 -1
  1190. package/dist/components/de.js +1 -1
  1191. package/dist/components/debounce.js +1 -1
  1192. package/dist/components/dom.js +1 -1
  1193. package/dist/components/dropdown.js +1 -1
  1194. package/dist/components/el.js +1 -1
  1195. package/dist/components/en-au.js +1 -1
  1196. package/dist/components/en-ca.js +1 -1
  1197. package/dist/components/en-gb.js +1 -1
  1198. package/dist/components/es-mx.js +1 -1
  1199. package/dist/components/es.js +1 -1
  1200. package/dist/components/et.js +1 -1
  1201. package/dist/components/fi.js +1 -1
  1202. package/dist/components/filter.js +1 -1
  1203. package/dist/components/filter2.js +1 -1
  1204. package/dist/components/floating-ui.js +1 -1
  1205. package/dist/components/focusTrapComponent.js +1 -1
  1206. package/dist/components/form.js +1 -1
  1207. package/dist/components/fr-ch.js +1 -1
  1208. package/dist/components/fr.js +1 -1
  1209. package/dist/components/graph.js +1 -1
  1210. package/dist/components/guid.js +1 -1
  1211. package/dist/components/handle.js +2 -2
  1212. package/dist/components/handle.js.map +1 -1
  1213. package/dist/components/he.js +1 -1
  1214. package/dist/components/hi.js +1 -1
  1215. package/dist/components/hr.js +1 -1
  1216. package/dist/components/hu.js +1 -1
  1217. package/dist/components/icon.js +1 -1
  1218. package/dist/components/id.js +1 -1
  1219. package/dist/components/index.js +1 -1
  1220. package/dist/components/index2.js +1 -1
  1221. package/dist/components/index3.js +1 -1
  1222. package/dist/components/index4.js +1 -1
  1223. package/dist/components/input-message.js +6 -7
  1224. package/dist/components/input-message.js.map +1 -1
  1225. package/dist/components/input-number.js +31 -23
  1226. package/dist/components/input-number.js.map +1 -1
  1227. package/dist/components/input-text.js +25 -17
  1228. package/dist/components/input-text.js.map +1 -1
  1229. package/dist/components/input.js +1 -1
  1230. package/dist/components/input2.js +33 -25
  1231. package/dist/components/input2.js.map +1 -1
  1232. package/dist/components/interactive.js +1 -1
  1233. package/dist/components/it-ch.js +1 -1
  1234. package/dist/components/it.js +1 -1
  1235. package/dist/components/ja.js +1 -1
  1236. package/dist/components/key.js +1 -1
  1237. package/dist/components/ko.js +1 -1
  1238. package/dist/components/label.js +1 -1
  1239. package/dist/components/label2.js +1 -1
  1240. package/dist/components/link.js +2 -2
  1241. package/dist/components/link.js.map +1 -1
  1242. package/dist/components/loadable.js +1 -1
  1243. package/dist/components/loader.js +1 -1
  1244. package/dist/components/locale.js +1 -1
  1245. package/dist/components/lt.js +1 -1
  1246. package/dist/components/lv.js +1 -1
  1247. package/dist/components/math.js +1 -1
  1248. package/dist/components/menu.js +1 -1
  1249. package/dist/components/mk.js +1 -1
  1250. package/dist/components/nb.js +1 -1
  1251. package/dist/components/nl.js +1 -1
  1252. package/dist/components/observers.js +1 -1
  1253. package/dist/components/openCloseComponent.js +1 -1
  1254. package/dist/components/pagination.js +3 -3
  1255. package/dist/components/pagination.js.map +1 -1
  1256. package/dist/components/panel.js +1 -1
  1257. package/dist/components/pick-list-item.js +2 -2
  1258. package/dist/components/pick-list-item.js.map +1 -1
  1259. package/dist/components/pl.js +1 -1
  1260. package/dist/components/popover.js +1 -1
  1261. package/dist/components/progress.js +1 -1
  1262. package/dist/components/pt-br.js +1 -1
  1263. package/dist/components/pt.js +1 -1
  1264. package/dist/components/radio-button.js +2 -2
  1265. package/dist/components/radio-button.js.map +1 -1
  1266. package/dist/components/resources.js +1 -1
  1267. package/dist/components/resources2.js +8 -9
  1268. package/dist/components/resources2.js.map +1 -1
  1269. package/dist/components/resources3.js +1 -1
  1270. package/dist/components/resources4.js +6 -7
  1271. package/dist/components/resources4.js.map +1 -1
  1272. package/dist/components/resources5.js +1 -1
  1273. package/dist/components/ro.js +1 -1
  1274. package/dist/components/ru.js +1 -1
  1275. package/dist/components/scrim.js +1 -1
  1276. package/dist/components/shared-list-render.js +1 -1
  1277. package/dist/components/sk.js +1 -1
  1278. package/dist/components/sl.js +1 -1
  1279. package/dist/components/sortableComponent.js +1 -1
  1280. package/dist/components/sr.js +1 -1
  1281. package/dist/components/stack.js +1 -1
  1282. package/dist/components/sv.js +1 -1
  1283. package/dist/components/switch.js +2 -2
  1284. package/dist/components/switch.js.map +1 -1
  1285. package/dist/components/t9n.js +1 -1
  1286. package/dist/components/tab-nav.js +1 -1
  1287. package/dist/components/tab-title.js +2 -2
  1288. package/dist/components/tab-title.js.map +1 -1
  1289. package/dist/components/tab.js +2 -2
  1290. package/dist/components/tab.js.map +1 -1
  1291. package/dist/components/table-cell.js +2 -2
  1292. package/dist/components/table-cell.js.map +1 -1
  1293. package/dist/components/table-header.js +2 -2
  1294. package/dist/components/table-header.js.map +1 -1
  1295. package/dist/components/tabs.js +1 -1
  1296. package/dist/components/th.js +1 -1
  1297. package/dist/components/throttle.js +1 -1
  1298. package/dist/components/time-picker.js +1 -1
  1299. package/dist/components/tr.js +1 -1
  1300. package/dist/components/uk.js +1 -1
  1301. package/dist/components/utils.js +1 -1
  1302. package/dist/components/utils2.js +1 -1
  1303. package/dist/components/utils3.js +1 -1
  1304. package/dist/components/utils3.js.map +1 -1
  1305. package/dist/components/vi.js +1 -1
  1306. package/dist/components/zh-cn.js +1 -1
  1307. package/dist/components/zh-hk.js +1 -1
  1308. package/dist/components/zh-tw.js +1 -1
  1309. package/dist/esm/ExpandToggle-97d7c2a4.js +102 -0
  1310. package/dist/esm/ExpandToggle-97d7c2a4.js.map +1 -0
  1311. package/dist/esm/FloatingArrow-cf836b02.js +47 -0
  1312. package/dist/esm/FloatingArrow-cf836b02.js.map +1 -0
  1313. package/dist/esm/Heading-340e8250.js +19 -0
  1314. package/dist/esm/Heading-340e8250.js.map +1 -0
  1315. package/dist/esm/Validation-a3e6f6fc.js +16 -0
  1316. package/dist/esm/Validation-a3e6f6fc.js.map +1 -0
  1317. package/dist/esm/app-globals-4a5a81f0.js +59 -0
  1318. package/dist/esm/app-globals-4a5a81f0.js.map +1 -0
  1319. package/dist/esm/ar-2f9683d2.js +104 -0
  1320. package/dist/esm/ar-2f9683d2.js.map +1 -0
  1321. package/dist/esm/array-a30ba1b4.js +12 -0
  1322. package/dist/esm/array-a30ba1b4.js.map +1 -0
  1323. package/dist/esm/bg-1f192cc2.js +82 -0
  1324. package/dist/esm/bg-1f192cc2.js.map +1 -0
  1325. package/dist/esm/browser-6731e452.js +18 -0
  1326. package/dist/esm/browser-6731e452.js.map +1 -0
  1327. package/dist/esm/bs-980b2139.js +51 -0
  1328. package/dist/esm/bs-980b2139.js.map +1 -0
  1329. package/dist/esm/ca-a5e3d1df.js +71 -0
  1330. package/dist/esm/ca-a5e3d1df.js.map +1 -0
  1331. package/dist/esm/calcite-accordion_2.entry.js +9 -9
  1332. package/dist/esm/calcite-accordion_2.entry.js.map +1 -1
  1333. package/dist/esm/calcite-action-bar.entry.js +15 -15
  1334. package/dist/esm/calcite-action-group.entry.js +13 -13
  1335. package/dist/esm/calcite-action-menu.entry.js +9 -9
  1336. package/dist/esm/calcite-action-pad.entry.js +14 -14
  1337. package/dist/esm/calcite-action.entry.js +14 -14
  1338. package/dist/esm/calcite-action.entry.js.map +1 -1
  1339. package/dist/esm/calcite-alert.entry.js +14 -14
  1340. package/dist/esm/calcite-alert.entry.js.map +1 -1
  1341. package/dist/esm/calcite-avatar.entry.js +6 -6
  1342. package/dist/esm/calcite-block_2.entry.js +17 -17
  1343. package/dist/esm/calcite-block_2.entry.js.map +1 -1
  1344. package/dist/esm/calcite-button.entry.js +16 -16
  1345. package/dist/esm/calcite-button.entry.js.map +1 -1
  1346. package/dist/esm/calcite-card-group.entry.js +8 -8
  1347. package/dist/esm/calcite-card.entry.js +13 -13
  1348. package/dist/esm/calcite-card.entry.js.map +1 -1
  1349. package/dist/esm/calcite-checkbox.entry.js +13 -13
  1350. package/dist/esm/calcite-checkbox.entry.js.map +1 -1
  1351. package/dist/esm/calcite-chip-group.entry.js +9 -9
  1352. package/dist/esm/calcite-chip.entry.js +14 -14
  1353. package/dist/esm/calcite-chip.entry.js.map +1 -1
  1354. package/dist/esm/calcite-color-picker_3.entry.js +17 -17
  1355. package/dist/esm/calcite-color-picker_3.entry.js.map +1 -1
  1356. package/dist/esm/calcite-combobox_3.entry.js +24 -24
  1357. package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
  1358. package/dist/esm/calcite-date-picker_4.entry.js +17 -17
  1359. package/dist/esm/calcite-date-picker_4.entry.js.map +1 -1
  1360. package/dist/esm/calcite-dropdown_3.entry.js +15 -15
  1361. package/dist/esm/calcite-dropdown_3.entry.js.map +1 -1
  1362. package/dist/esm/calcite-fab.entry.js +8 -8
  1363. package/dist/esm/calcite-filter.entry.js +14 -14
  1364. package/dist/esm/calcite-flow-item.entry.js +13 -13
  1365. package/dist/esm/calcite-flow.entry.js +4 -4
  1366. package/dist/esm/calcite-graph_2.entry.js +16 -16
  1367. package/dist/esm/calcite-graph_2.entry.js.map +1 -1
  1368. package/dist/esm/calcite-handle.entry.js +13 -13
  1369. package/dist/esm/calcite-handle.entry.js.map +1 -1
  1370. package/dist/esm/calcite-icon.entry.js +6 -6
  1371. package/dist/esm/calcite-inline-editable.entry.js +14 -14
  1372. package/dist/esm/calcite-input-date-picker.entry.js +21 -21
  1373. package/dist/esm/calcite-input-message.entry.js +10 -11
  1374. package/dist/esm/calcite-input-message.entry.js.map +1 -1
  1375. package/dist/esm/calcite-input-number.entry.js +43 -35
  1376. package/dist/esm/calcite-input-number.entry.js.map +1 -1
  1377. package/dist/esm/calcite-input-text.entry.js +37 -29
  1378. package/dist/esm/calcite-input-text.entry.js.map +1 -1
  1379. package/dist/esm/calcite-input-time-picker.calcite-time-picker-89968243.js +2916 -0
  1380. package/dist/esm/calcite-input-time-picker.calcite-time-picker-89968243.js.map +1 -0
  1381. package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
  1382. package/dist/esm/calcite-input-time-zone.entry.js +17 -17
  1383. package/dist/esm/calcite-input.entry.js +45 -37
  1384. package/dist/esm/calcite-input.entry.js.map +1 -1
  1385. package/dist/esm/calcite-label.entry.js +7 -7
  1386. package/dist/esm/calcite-link.entry.js +9 -9
  1387. package/dist/esm/calcite-link.entry.js.map +1 -1
  1388. package/dist/esm/calcite-list_3.entry.js +16 -16
  1389. package/dist/esm/calcite-list_3.entry.js.map +1 -1
  1390. package/dist/esm/calcite-loader.entry.js +3 -3
  1391. package/dist/esm/calcite-menu_2.entry.js +11 -11
  1392. package/dist/esm/calcite-menu_2.entry.js.map +1 -1
  1393. package/dist/esm/calcite-meter.entry.js +10 -10
  1394. package/dist/esm/calcite-modal.entry.js +15 -15
  1395. package/dist/esm/calcite-modal.entry.js.map +1 -1
  1396. package/dist/esm/calcite-navigation_3.entry.js +9 -9
  1397. package/dist/esm/calcite-navigation_3.entry.js.map +1 -1
  1398. package/dist/esm/calcite-notice.entry.js +15 -15
  1399. package/dist/esm/calcite-notice.entry.js.map +1 -1
  1400. package/dist/esm/calcite-option_3.entry.js +14 -14
  1401. package/dist/esm/calcite-option_3.entry.js.map +1 -1
  1402. package/dist/esm/calcite-pagination.entry.js +13 -13
  1403. package/dist/esm/calcite-pagination.entry.js.map +1 -1
  1404. package/dist/esm/calcite-panel.entry.js +15 -15
  1405. package/dist/esm/calcite-pick-list_3.entry.js +19 -19
  1406. package/dist/esm/calcite-pick-list_3.entry.js.map +1 -1
  1407. package/dist/esm/calcite-popover.entry.js +17 -17
  1408. package/dist/esm/calcite-progress.entry.js +5 -5
  1409. package/dist/esm/calcite-radio-button-group.entry.js +5 -5
  1410. package/dist/esm/calcite-radio-button.entry.js +13 -13
  1411. package/dist/esm/calcite-radio-button.entry.js.map +1 -1
  1412. package/dist/esm/calcite-rating.entry.js +16 -16
  1413. package/dist/esm/calcite-rating.entry.js.map +1 -1
  1414. package/dist/esm/calcite-scrim.entry.js +9 -9
  1415. package/dist/esm/calcite-segmented-control_2.entry.js +14 -14
  1416. package/dist/esm/calcite-segmented-control_2.entry.js.map +1 -1
  1417. package/dist/esm/calcite-sheet.entry.js +9 -9
  1418. package/dist/esm/calcite-shell_3.entry.js +11 -11
  1419. package/dist/esm/calcite-sortable-list.entry.js +9 -9
  1420. package/dist/esm/calcite-split-button.entry.js +5 -5
  1421. package/dist/esm/calcite-stack.entry.js +6 -6
  1422. package/dist/esm/calcite-stepper_2.entry.js +13 -13
  1423. package/dist/esm/calcite-stepper_2.entry.js.map +1 -1
  1424. package/dist/esm/calcite-switch.entry.js +13 -13
  1425. package/dist/esm/calcite-switch.entry.js.map +1 -1
  1426. package/dist/esm/calcite-tab_4.entry.js +15 -15
  1427. package/dist/esm/calcite-tab_4.entry.js.map +1 -1
  1428. package/dist/esm/calcite-table-cell_2.entry.js +15 -15
  1429. package/dist/esm/calcite-table-cell_2.entry.js.map +1 -1
  1430. package/dist/esm/calcite-table-row.entry.js +9 -9
  1431. package/dist/esm/calcite-table.entry.js +11 -11
  1432. package/dist/esm/calcite-text-area.entry.js +34 -26
  1433. package/dist/esm/calcite-text-area.entry.js.map +1 -1
  1434. package/dist/esm/calcite-tile-group.entry.js +4 -4
  1435. package/dist/esm/calcite-tile-select_2.entry.js +7 -7
  1436. package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
  1437. package/dist/esm/calcite-tile.entry.js +4 -4
  1438. package/dist/esm/calcite-tip_3.entry.js +13 -13
  1439. package/dist/esm/calcite-tip_3.entry.js.map +1 -1
  1440. package/dist/esm/calcite-tooltip.entry.js +9 -9
  1441. package/dist/esm/calcite-tree_2.entry.js +11 -11
  1442. package/dist/esm/calcite-tree_2.entry.js.map +1 -1
  1443. package/dist/esm/calcite-value-list_2.entry.js +22 -23
  1444. package/dist/esm/calcite-value-list_2.entry.js.map +1 -1
  1445. package/dist/esm/calcite.js +6 -6
  1446. package/dist/esm/component-4a5f419e.js +27 -0
  1447. package/dist/esm/component-4a5f419e.js.map +1 -0
  1448. package/dist/esm/conditionalSlot-a33d0b2d.js +57 -0
  1449. package/dist/esm/conditionalSlot-a33d0b2d.js.map +1 -0
  1450. package/dist/esm/core-ef0c8739.js +17 -0
  1451. package/dist/esm/core-ef0c8739.js.map +1 -0
  1452. package/dist/esm/cs-17dbe238.js +147 -0
  1453. package/dist/esm/cs-17dbe238.js.map +1 -0
  1454. package/dist/esm/da-7f12d630.js +66 -0
  1455. package/dist/esm/da-7f12d630.js.map +1 -0
  1456. package/dist/esm/de-4c3c0ac2.js +91 -0
  1457. package/dist/esm/de-4c3c0ac2.js.map +1 -0
  1458. package/dist/esm/de-at-07e82f3a.js +90 -0
  1459. package/dist/esm/de-at-07e82f3a.js.map +1 -0
  1460. package/dist/esm/de-ch-11da3846.js +90 -0
  1461. package/dist/esm/de-ch-11da3846.js.map +1 -0
  1462. package/dist/esm/debounce-9f051032.js +497 -0
  1463. package/dist/esm/debounce-9f051032.js.map +1 -0
  1464. package/dist/esm/dom-ac7b03f1.js +1065 -0
  1465. package/dist/esm/dom-ac7b03f1.js.map +1 -0
  1466. package/dist/esm/el-d3d6b3f9.js +66 -0
  1467. package/dist/esm/el-d3d6b3f9.js.map +1 -0
  1468. package/dist/esm/en-au-42ff9dbf.js +66 -0
  1469. package/dist/esm/en-au-42ff9dbf.js.map +1 -0
  1470. package/dist/esm/en-ca-a18f5f9f.js +65 -0
  1471. package/dist/esm/en-ca-a18f5f9f.js.map +1 -0
  1472. package/dist/esm/en-gb-2d7bdcf7.js +69 -0
  1473. package/dist/esm/en-gb-2d7bdcf7.js.map +1 -0
  1474. package/dist/esm/es-70deac76.js +66 -0
  1475. package/dist/esm/es-70deac76.js.map +1 -0
  1476. package/dist/esm/es-mx-0170f6c8.js +65 -0
  1477. package/dist/esm/es-mx-0170f6c8.js.map +1 -0
  1478. package/dist/esm/et-8b94f064.js +92 -0
  1479. package/dist/esm/et-8b94f064.js.map +1 -0
  1480. package/dist/esm/fi-a6d99a29.js +115 -0
  1481. package/dist/esm/fi-a6d99a29.js.map +1 -0
  1482. package/dist/esm/filter-ffa306d2.js +772 -0
  1483. package/dist/esm/filter-ffa306d2.js.map +1 -0
  1484. package/dist/esm/floating-ui-d3d855f5.js +2272 -0
  1485. package/dist/esm/floating-ui-d3d855f5.js.map +1 -0
  1486. package/dist/esm/focusTrapComponent-ffca59e0.js +1015 -0
  1487. package/dist/esm/focusTrapComponent-ffca59e0.js.map +1 -0
  1488. package/dist/esm/form-9e9a15d9.js +324 -0
  1489. package/dist/esm/form-9e9a15d9.js.map +1 -0
  1490. package/dist/esm/fr-bc92def6.js +68 -0
  1491. package/dist/esm/fr-bc92def6.js.map +1 -0
  1492. package/dist/esm/fr-ch-24e42197.js +66 -0
  1493. package/dist/esm/fr-ch-24e42197.js.map +1 -0
  1494. package/dist/esm/guid-cf5b40ab.js +21 -0
  1495. package/dist/esm/guid-cf5b40ab.js.map +1 -0
  1496. package/dist/esm/he-6faa11c1.js +105 -0
  1497. package/dist/esm/he-6faa11c1.js.map +1 -0
  1498. package/dist/esm/hi-34cf856c.js +65 -0
  1499. package/dist/esm/hi-34cf856c.js.map +1 -0
  1500. package/dist/esm/hr-2d4584b2.js +80 -0
  1501. package/dist/esm/hr-2d4584b2.js.map +1 -0
  1502. package/dist/esm/hu-f5d012ae.js +88 -0
  1503. package/dist/esm/hu-f5d012ae.js.map +1 -0
  1504. package/dist/esm/id-c1b23ae4.js +66 -0
  1505. package/dist/esm/id-c1b23ae4.js.map +1 -0
  1506. package/dist/esm/index-1de02cd5.js +2670 -0
  1507. package/dist/esm/index-1de02cd5.js.map +1 -0
  1508. package/dist/esm/index-679e7eb6.js +206 -0
  1509. package/dist/esm/index-679e7eb6.js.map +1 -0
  1510. package/dist/esm/index-8b19c0fa.js +73 -0
  1511. package/dist/esm/index-8b19c0fa.js.map +1 -0
  1512. package/dist/esm/index.js +1 -1
  1513. package/dist/esm/input-88d42363.js +55 -0
  1514. package/dist/esm/input-88d42363.js.map +1 -0
  1515. package/dist/esm/interactive-e1217b8a.js +146 -0
  1516. package/dist/esm/interactive-e1217b8a.js.map +1 -0
  1517. package/dist/esm/it-90195a0b.js +66 -0
  1518. package/dist/esm/it-90195a0b.js.map +1 -0
  1519. package/dist/esm/it-ch-7d204fb7.js +66 -0
  1520. package/dist/esm/it-ch-7d204fb7.js.map +1 -0
  1521. package/dist/esm/ja-da1f6683.js +72 -0
  1522. package/dist/esm/ja-da1f6683.js.map +1 -0
  1523. package/dist/esm/key-1d16e033.js +13 -0
  1524. package/dist/esm/key-1d16e033.js.map +1 -0
  1525. package/dist/esm/ko-569a262f.js +72 -0
  1526. package/dist/esm/ko-569a262f.js.map +1 -0
  1527. package/dist/esm/label-75766eeb.js +176 -0
  1528. package/dist/esm/label-75766eeb.js.map +1 -0
  1529. package/dist/esm/loadable-5844e162.js +86 -0
  1530. package/dist/esm/loadable-5844e162.js.map +1 -0
  1531. package/dist/esm/loader.js +6 -6
  1532. package/dist/esm/locale-6432edce.js +563 -0
  1533. package/dist/esm/locale-6432edce.js.map +1 -0
  1534. package/dist/esm/lt-cff89145.js +97 -0
  1535. package/dist/esm/lt-cff89145.js.map +1 -0
  1536. package/dist/esm/lv-1a79a297.js +66 -0
  1537. package/dist/esm/lv-1a79a297.js.map +1 -0
  1538. package/dist/esm/math-f9056ec7.js +51 -0
  1539. package/dist/esm/math-f9056ec7.js.map +1 -0
  1540. package/dist/esm/mk-48e0f95c.js +66 -0
  1541. package/dist/esm/mk-48e0f95c.js.map +1 -0
  1542. package/dist/esm/nb-3e596c85.js +67 -0
  1543. package/dist/esm/nb-3e596c85.js.map +1 -0
  1544. package/dist/esm/nl-b7c373cf.js +67 -0
  1545. package/dist/esm/nl-b7c373cf.js.map +1 -0
  1546. package/dist/esm/observers-42e7a3d3.js +48 -0
  1547. package/dist/esm/observers-42e7a3d3.js.map +1 -0
  1548. package/dist/esm/openCloseComponent-7593a31f.js +87 -0
  1549. package/dist/esm/openCloseComponent-7593a31f.js.map +1 -0
  1550. package/dist/esm/pl-eed55019.js +114 -0
  1551. package/dist/esm/pl-eed55019.js.map +1 -0
  1552. package/dist/esm/pt-br-6d82df04.js +65 -0
  1553. package/dist/esm/pt-br-6d82df04.js.map +1 -0
  1554. package/dist/esm/pt-dd99752c.js +67 -0
  1555. package/dist/esm/pt-dd99752c.js.map +1 -0
  1556. package/dist/esm/resources-0a81787e.js +25 -0
  1557. package/dist/esm/resources-0a81787e.js.map +1 -0
  1558. package/dist/esm/resources-418eab02.js +45 -0
  1559. package/dist/esm/resources-418eab02.js.map +1 -0
  1560. package/dist/esm/resources-4190378a.js +16 -0
  1561. package/dist/esm/resources-4190378a.js.map +1 -0
  1562. package/dist/esm/resources-5892738d.js +386 -0
  1563. package/dist/esm/resources-5892738d.js.map +1 -0
  1564. package/dist/esm/resources-741637ee.js +21 -0
  1565. package/dist/esm/resources-741637ee.js.map +1 -0
  1566. package/dist/esm/resources-a922a513.js +23 -0
  1567. package/dist/esm/resources-a922a513.js.map +1 -0
  1568. package/dist/esm/resources-b9d8a6e3.js +19 -0
  1569. package/dist/esm/resources-b9d8a6e3.js.map +1 -0
  1570. package/dist/esm/ro-b54bf101.js +66 -0
  1571. package/dist/esm/ro-b54bf101.js.map +1 -0
  1572. package/dist/esm/ru-8ef6109a.js +126 -0
  1573. package/dist/esm/ru-8ef6109a.js.map +1 -0
  1574. package/dist/esm/sk-cb96129d.js +148 -0
  1575. package/dist/esm/sk-cb96129d.js.map +1 -0
  1576. package/dist/esm/sl-c929ef3b.js +168 -0
  1577. package/dist/esm/sl-c929ef3b.js.map +1 -0
  1578. package/dist/esm/sortableComponent-39edf3a3.js +2740 -0
  1579. package/dist/esm/sortableComponent-39edf3a3.js.map +1 -0
  1580. package/dist/esm/sr-bef8e0aa.js +101 -0
  1581. package/dist/esm/sr-bef8e0aa.js.map +1 -0
  1582. package/dist/esm/sv-5c76c27a.js +71 -0
  1583. package/dist/esm/sv-5c76c27a.js.map +1 -0
  1584. package/dist/esm/t9n-81302127.js +92 -0
  1585. package/dist/esm/t9n-81302127.js.map +1 -0
  1586. package/dist/esm/th-818d26ae.js +65 -0
  1587. package/dist/esm/th-818d26ae.js.map +1 -0
  1588. package/dist/esm/throttle-08617cdc.js +75 -0
  1589. package/dist/esm/throttle-08617cdc.js.map +1 -0
  1590. package/dist/esm/tr-40d0737d.js +66 -0
  1591. package/dist/esm/tr-40d0737d.js.map +1 -0
  1592. package/dist/esm/uk-9168e2ff.js +104 -0
  1593. package/dist/esm/uk-9168e2ff.js.map +1 -0
  1594. package/dist/esm/utils-c894912a.js +200 -0
  1595. package/dist/esm/utils-c894912a.js.map +1 -0
  1596. package/dist/esm/utils-ecf2903e.js +289 -0
  1597. package/dist/esm/utils-ecf2903e.js.map +1 -0
  1598. package/dist/esm/vi-741e20c8.js +70 -0
  1599. package/dist/esm/vi-741e20c8.js.map +1 -0
  1600. package/dist/esm/zh-cn-a2171387.js +94 -0
  1601. package/dist/esm/zh-cn-a2171387.js.map +1 -0
  1602. package/dist/esm/zh-hk-cbcdf778.js +71 -0
  1603. package/dist/esm/zh-hk-cbcdf778.js.map +1 -0
  1604. package/dist/esm/zh-tw-58393c22.js +92 -0
  1605. package/dist/esm/zh-tw-58393c22.js.map +1 -0
  1606. package/dist/extras/docs-json.json +8 -287
  1607. package/dist/loader/cdn.js +1 -1
  1608. package/dist/loader/index.cjs.js +1 -1
  1609. package/dist/loader/index.es2017.js +1 -1
  1610. package/dist/loader/index.js +1 -1
  1611. package/dist/stencil.config.js +1 -1
  1612. package/dist/support/formatting.js +1 -1
  1613. package/dist/support/preact.js +1 -1
  1614. package/dist/tailwind.config.js +1 -1
  1615. package/dist/types/components/input/input.d.ts +1 -20
  1616. package/dist/types/components/input-message/interfaces.d.ts +5 -5
  1617. package/dist/types/components/input-number/input-number.d.ts +1 -20
  1618. package/dist/types/components/input-text/input-text.d.ts +1 -20
  1619. package/dist/types/components/pick-list/pick-list.d.ts +2 -1
  1620. package/dist/types/components/pick-list/resources.d.ts +7 -5
  1621. package/dist/types/components/resources.d.ts +7 -7
  1622. package/dist/types/components/text-area/text-area.d.ts +1 -6
  1623. package/dist/types/components/types.d.ts +4 -0
  1624. package/dist/types/components/value-list/resources.d.ts +5 -3
  1625. package/dist/types/components/value-list/value-list.d.ts +1 -1
  1626. package/dist/types/components.d.ts +0 -100
  1627. package/hydrate/index.js +155 -141
  1628. package/package.json +2 -2
  1629. package/dist/calcite/p-0146170c.entry.js +0 -7
  1630. package/dist/calcite/p-016dde36.js +0 -7
  1631. package/dist/calcite/p-025521bb.entry.js +0 -7
  1632. package/dist/calcite/p-02d62aa4.entry.js +0 -7
  1633. package/dist/calcite/p-05029b60.js +0 -7
  1634. package/dist/calcite/p-06c093bc.entry.js +0 -7
  1635. package/dist/calcite/p-08848e42.js +0 -7
  1636. package/dist/calcite/p-08fca7c0.entry.js +0 -7
  1637. package/dist/calcite/p-095fd239.entry.js +0 -7
  1638. package/dist/calcite/p-095fd239.entry.js.map +0 -1
  1639. package/dist/calcite/p-0d7ca57b.entry.js +0 -7
  1640. package/dist/calcite/p-0d998b81.entry.js +0 -7
  1641. package/dist/calcite/p-0e53a49b.js +0 -7
  1642. package/dist/calcite/p-0ee64a34.js +0 -7
  1643. package/dist/calcite/p-0f24ad8a.js +0 -7
  1644. package/dist/calcite/p-13fc2e57.entry.js +0 -7
  1645. package/dist/calcite/p-13fc2e57.entry.js.map +0 -1
  1646. package/dist/calcite/p-16938678.js +0 -7
  1647. package/dist/calcite/p-197432bd.js +0 -7
  1648. package/dist/calcite/p-1b03b527.js +0 -7
  1649. package/dist/calcite/p-1c8b34ed.entry.js +0 -7
  1650. package/dist/calcite/p-1c8b34ed.entry.js.map +0 -1
  1651. package/dist/calcite/p-1e5b258b.js +0 -7
  1652. package/dist/calcite/p-1e6dcf63.js +0 -7
  1653. package/dist/calcite/p-1e6dcf63.js.map +0 -1
  1654. package/dist/calcite/p-20d61b9d.entry.js +0 -7
  1655. package/dist/calcite/p-20d61b9d.entry.js.map +0 -1
  1656. package/dist/calcite/p-2118466b.entry.js +0 -7
  1657. package/dist/calcite/p-22bc2fdf.js +0 -7
  1658. package/dist/calcite/p-22bc2fdf.js.map +0 -1
  1659. package/dist/calcite/p-2458b0dd.js +0 -7
  1660. package/dist/calcite/p-257f6b8a.js +0 -7
  1661. package/dist/calcite/p-2735bd18.entry.js +0 -7
  1662. package/dist/calcite/p-2735bd18.entry.js.map +0 -1
  1663. package/dist/calcite/p-2761a7f2.js +0 -7
  1664. package/dist/calcite/p-2886f3b7.entry.js +0 -7
  1665. package/dist/calcite/p-2a3dfeaf.js +0 -7
  1666. package/dist/calcite/p-2a3dfeaf.js.map +0 -1
  1667. package/dist/calcite/p-2a4f96a1.entry.js +0 -7
  1668. package/dist/calcite/p-2a4f96a1.entry.js.map +0 -1
  1669. package/dist/calcite/p-2afa6ffa.entry.js +0 -7
  1670. package/dist/calcite/p-2afa6ffa.entry.js.map +0 -1
  1671. package/dist/calcite/p-2b32bd96.js +0 -7
  1672. package/dist/calcite/p-2e222977.entry.js +0 -7
  1673. package/dist/calcite/p-2e222977.entry.js.map +0 -1
  1674. package/dist/calcite/p-2f5471be.js +0 -7
  1675. package/dist/calcite/p-2fad7ec1.js +0 -7
  1676. package/dist/calcite/p-32caab85.entry.js +0 -7
  1677. package/dist/calcite/p-3816af52.js +0 -7
  1678. package/dist/calcite/p-3957d517.js +0 -7
  1679. package/dist/calcite/p-3d0a8ad2.js +0 -7
  1680. package/dist/calcite/p-3d3e0563.entry.js +0 -7
  1681. package/dist/calcite/p-416a6f5f.entry.js +0 -7
  1682. package/dist/calcite/p-4751f58f.js +0 -7
  1683. package/dist/calcite/p-4781876f.js +0 -7
  1684. package/dist/calcite/p-48efc461.js +0 -7
  1685. package/dist/calcite/p-4b5b9800.js +0 -7
  1686. package/dist/calcite/p-4e18a9ca.entry.js +0 -7
  1687. package/dist/calcite/p-4f556291.js +0 -7
  1688. package/dist/calcite/p-4f85fc0e.entry.js +0 -7
  1689. package/dist/calcite/p-518a0b82.entry.js +0 -7
  1690. package/dist/calcite/p-518a0b82.entry.js.map +0 -1
  1691. package/dist/calcite/p-519084ce.js +0 -7
  1692. package/dist/calcite/p-56efe475.entry.js +0 -7
  1693. package/dist/calcite/p-56efe475.entry.js.map +0 -1
  1694. package/dist/calcite/p-57b423bb.entry.js +0 -7
  1695. package/dist/calcite/p-59eccf48.js +0 -7
  1696. package/dist/calcite/p-5d5ab200.entry.js +0 -7
  1697. package/dist/calcite/p-5d5ab200.entry.js.map +0 -1
  1698. package/dist/calcite/p-5dcf1d59.js +0 -7
  1699. package/dist/calcite/p-5e2ba34b.entry.js +0 -7
  1700. package/dist/calcite/p-5e2ba34b.entry.js.map +0 -1
  1701. package/dist/calcite/p-5f6b4498.js +0 -7
  1702. package/dist/calcite/p-60198fdf.js +0 -7
  1703. package/dist/calcite/p-60c275fd.js +0 -7
  1704. package/dist/calcite/p-61beeb57.js +0 -7
  1705. package/dist/calcite/p-65b2fbde.entry.js +0 -7
  1706. package/dist/calcite/p-65b2fbde.entry.js.map +0 -1
  1707. package/dist/calcite/p-66baefd2.entry.js +0 -7
  1708. package/dist/calcite/p-66baefd2.entry.js.map +0 -1
  1709. package/dist/calcite/p-68780402.js +0 -7
  1710. package/dist/calcite/p-68be9703.entry.js +0 -7
  1711. package/dist/calcite/p-68be9703.entry.js.map +0 -1
  1712. package/dist/calcite/p-6a56f22b.js +0 -7
  1713. package/dist/calcite/p-6c8f9df9.js +0 -7
  1714. package/dist/calcite/p-6e251288.entry.js +0 -7
  1715. package/dist/calcite/p-6e251288.entry.js.map +0 -1
  1716. package/dist/calcite/p-6f65c115.js +0 -7
  1717. package/dist/calcite/p-7209caa2.js +0 -7
  1718. package/dist/calcite/p-724cd7a3.js +0 -7
  1719. package/dist/calcite/p-744f5ff2.entry.js +0 -7
  1720. package/dist/calcite/p-75e54722.entry.js +0 -7
  1721. package/dist/calcite/p-76dccaf4.entry.js +0 -7
  1722. package/dist/calcite/p-77fba2ed.js +0 -7
  1723. package/dist/calcite/p-78f9f7ce.entry.js +0 -7
  1724. package/dist/calcite/p-78f9f7ce.entry.js.map +0 -1
  1725. package/dist/calcite/p-79e43315.entry.js +0 -7
  1726. package/dist/calcite/p-79e43315.entry.js.map +0 -1
  1727. package/dist/calcite/p-7cb83332.js +0 -7
  1728. package/dist/calcite/p-8328d29c.js +0 -7
  1729. package/dist/calcite/p-85931c71.js +0 -8
  1730. package/dist/calcite/p-865b858c.js +0 -7
  1731. package/dist/calcite/p-871cb935.js +0 -7
  1732. package/dist/calcite/p-88b28478.js +0 -7
  1733. package/dist/calcite/p-8a21e962.js +0 -7
  1734. package/dist/calcite/p-8a27d5d8.entry.js +0 -7
  1735. package/dist/calcite/p-8cb04b6c.entry.js +0 -7
  1736. package/dist/calcite/p-8cb04b6c.entry.js.map +0 -1
  1737. package/dist/calcite/p-8d951a40.js +0 -7
  1738. package/dist/calcite/p-8eb94fef.entry.js +0 -7
  1739. package/dist/calcite/p-92160eda.entry.js +0 -7
  1740. package/dist/calcite/p-92160eda.entry.js.map +0 -1
  1741. package/dist/calcite/p-95cb0438.js +0 -7
  1742. package/dist/calcite/p-9f3c7e9e.js +0 -7
  1743. package/dist/calcite/p-a2f6c224.entry.js +0 -7
  1744. package/dist/calcite/p-a2f6c224.entry.js.map +0 -1
  1745. package/dist/calcite/p-a43292ae.js +0 -7
  1746. package/dist/calcite/p-a4ab731d.entry.js +0 -7
  1747. package/dist/calcite/p-a6029781.js +0 -7
  1748. package/dist/calcite/p-a7f701e6.entry.js +0 -7
  1749. package/dist/calcite/p-a7f701e6.entry.js.map +0 -1
  1750. package/dist/calcite/p-a93ae81c.js +0 -7
  1751. package/dist/calcite/p-ab57d608.js +0 -7
  1752. package/dist/calcite/p-ab57d608.js.map +0 -1
  1753. package/dist/calcite/p-ab7d327a.entry.js +0 -7
  1754. package/dist/calcite/p-ab7d327a.entry.js.map +0 -1
  1755. package/dist/calcite/p-ad98f13d.entry.js +0 -7
  1756. package/dist/calcite/p-ad98f13d.entry.js.map +0 -1
  1757. package/dist/calcite/p-ad9d8a1d.entry.js +0 -7
  1758. package/dist/calcite/p-ae3fae00.js +0 -7
  1759. package/dist/calcite/p-af8b3876.js +0 -7
  1760. package/dist/calcite/p-b003c9db.js +0 -7
  1761. package/dist/calcite/p-b02fc30f.entry.js +0 -7
  1762. package/dist/calcite/p-b04849c8.js +0 -7
  1763. package/dist/calcite/p-b0a74538.js +0 -7
  1764. package/dist/calcite/p-b5773566.js +0 -7
  1765. package/dist/calcite/p-b5a073f3.js +0 -7
  1766. package/dist/calcite/p-b763008d.entry.js +0 -7
  1767. package/dist/calcite/p-bb01f928.entry.js +0 -7
  1768. package/dist/calcite/p-bb01f928.entry.js.map +0 -1
  1769. package/dist/calcite/p-bcd67b7d.js +0 -7
  1770. package/dist/calcite/p-be664342.js +0 -7
  1771. package/dist/calcite/p-be88c9af.js +0 -7
  1772. package/dist/calcite/p-c0760822.js +0 -7
  1773. package/dist/calcite/p-c1bf5d84.js +0 -7
  1774. package/dist/calcite/p-c3e09101.js +0 -7
  1775. package/dist/calcite/p-c56cce40.js +0 -7
  1776. package/dist/calcite/p-c58ba0e8.entry.js +0 -7
  1777. package/dist/calcite/p-c58ba0e8.entry.js.map +0 -1
  1778. package/dist/calcite/p-c6025db5.js +0 -7
  1779. package/dist/calcite/p-c679815c.js +0 -7
  1780. package/dist/calcite/p-c772959e.entry.js +0 -7
  1781. package/dist/calcite/p-c96d0676.entry.js +0 -7
  1782. package/dist/calcite/p-c96d0676.entry.js.map +0 -1
  1783. package/dist/calcite/p-ca394237.entry.js +0 -7
  1784. package/dist/calcite/p-ca394237.entry.js.map +0 -1
  1785. package/dist/calcite/p-ca63e67d.js +0 -7
  1786. package/dist/calcite/p-cb5b69ed.entry.js +0 -7
  1787. package/dist/calcite/p-cb5b69ed.entry.js.map +0 -1
  1788. package/dist/calcite/p-cbad505c.js +0 -13
  1789. package/dist/calcite/p-cca82470.entry.js +0 -7
  1790. package/dist/calcite/p-cca82470.entry.js.map +0 -1
  1791. package/dist/calcite/p-ccfd416c.entry.js +0 -7
  1792. package/dist/calcite/p-ccfd416c.entry.js.map +0 -1
  1793. package/dist/calcite/p-ce10a309.js +0 -7
  1794. package/dist/calcite/p-cf9eb16d.js +0 -7
  1795. package/dist/calcite/p-cfdc7154.entry.js +0 -7
  1796. package/dist/calcite/p-cfdc7154.entry.js.map +0 -1
  1797. package/dist/calcite/p-d09011d8.js +0 -11
  1798. package/dist/calcite/p-d0df7495.entry.js +0 -7
  1799. package/dist/calcite/p-d0df7495.entry.js.map +0 -1
  1800. package/dist/calcite/p-d217f591.entry.js +0 -7
  1801. package/dist/calcite/p-d24ab49c.entry.js +0 -7
  1802. package/dist/calcite/p-d66143b4.js +0 -7
  1803. package/dist/calcite/p-d8a8273c.js +0 -7
  1804. package/dist/calcite/p-d9a4092f.js +0 -7
  1805. package/dist/calcite/p-de8d5e97.entry.js +0 -7
  1806. package/dist/calcite/p-de8d5e97.entry.js.map +0 -1
  1807. package/dist/calcite/p-df331f65.entry.js +0 -7
  1808. package/dist/calcite/p-df331f65.entry.js.map +0 -1
  1809. package/dist/calcite/p-e0692ae5.entry.js +0 -7
  1810. package/dist/calcite/p-e0692ae5.entry.js.map +0 -1
  1811. package/dist/calcite/p-e094566c.js +0 -7
  1812. package/dist/calcite/p-e1672686.js +0 -7
  1813. package/dist/calcite/p-e41cc59e.js +0 -7
  1814. package/dist/calcite/p-e472fa44.js +0 -7
  1815. package/dist/calcite/p-e96182e0.entry.js +0 -7
  1816. package/dist/calcite/p-e96182e0.entry.js.map +0 -1
  1817. package/dist/calcite/p-e96b61c7.entry.js +0 -7
  1818. package/dist/calcite/p-ec385cf3.entry.js +0 -7
  1819. package/dist/calcite/p-ec385cf3.entry.js.map +0 -1
  1820. package/dist/calcite/p-ed1526d8.js +0 -7
  1821. package/dist/calcite/p-edc237d0.entry.js +0 -7
  1822. package/dist/calcite/p-f126f372.entry.js +0 -7
  1823. package/dist/calcite/p-f2b041a6.entry.js +0 -7
  1824. package/dist/calcite/p-f2b041a6.entry.js.map +0 -1
  1825. package/dist/calcite/p-f37e0c35.js +0 -7
  1826. package/dist/calcite/p-f563c493.js +0 -7
  1827. package/dist/calcite/p-f6023367.entry.js +0 -7
  1828. package/dist/calcite/p-f7ce582e.entry.js +0 -7
  1829. package/dist/calcite/p-f7ce582e.entry.js.map +0 -1
  1830. package/dist/calcite/p-f8a0ca92.js +0 -7
  1831. package/dist/calcite/p-f8e10e2b.js +0 -7
  1832. package/dist/calcite/p-fafa7c4f.entry.js +0 -7
  1833. package/dist/calcite/p-fb848c65.js +0 -12
  1834. package/dist/calcite/p-fe40c84a.js +0 -7
  1835. package/dist/calcite/p-fe6a12f8.entry.js +0 -7
  1836. package/dist/calcite/p-ff641a28.js +0 -7
  1837. package/dist/cjs/ExpandToggle-47a7fa73.js +0 -110
  1838. package/dist/cjs/ExpandToggle-47a7fa73.js.map +0 -1
  1839. package/dist/cjs/FloatingArrow-de57c699.js +0 -49
  1840. package/dist/cjs/FloatingArrow-de57c699.js.map +0 -1
  1841. package/dist/cjs/Heading-b12ce044.js +0 -22
  1842. package/dist/cjs/Heading-b12ce044.js.map +0 -1
  1843. package/dist/cjs/Validation-7433d458.js +0 -18
  1844. package/dist/cjs/Validation-7433d458.js.map +0 -1
  1845. package/dist/cjs/app-globals-9e431e87.js +0 -61
  1846. package/dist/cjs/app-globals-9e431e87.js.map +0 -1
  1847. package/dist/cjs/ar-8f479971.js +0 -106
  1848. package/dist/cjs/ar-8f479971.js.map +0 -1
  1849. package/dist/cjs/array-f6b96327.js +0 -14
  1850. package/dist/cjs/array-f6b96327.js.map +0 -1
  1851. package/dist/cjs/bg-a424aa0b.js +0 -84
  1852. package/dist/cjs/bg-a424aa0b.js.map +0 -1
  1853. package/dist/cjs/browser-e8c4443e.js +0 -20
  1854. package/dist/cjs/browser-e8c4443e.js.map +0 -1
  1855. package/dist/cjs/bs-10502352.js +0 -53
  1856. package/dist/cjs/bs-10502352.js.map +0 -1
  1857. package/dist/cjs/ca-4dd48243.js +0 -73
  1858. package/dist/cjs/ca-4dd48243.js.map +0 -1
  1859. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-10b8df0c.js +0 -2920
  1860. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-10b8df0c.js.map +0 -1
  1861. package/dist/cjs/component-6fb69a77.js +0 -30
  1862. package/dist/cjs/component-6fb69a77.js.map +0 -1
  1863. package/dist/cjs/conditionalSlot-68417cd3.js +0 -60
  1864. package/dist/cjs/conditionalSlot-68417cd3.js.map +0 -1
  1865. package/dist/cjs/core-b37cdb24.js +0 -22
  1866. package/dist/cjs/core-b37cdb24.js.map +0 -1
  1867. package/dist/cjs/cs-d34f880c.js +0 -149
  1868. package/dist/cjs/cs-d34f880c.js.map +0 -1
  1869. package/dist/cjs/da-a0a9e288.js +0 -68
  1870. package/dist/cjs/da-a0a9e288.js.map +0 -1
  1871. package/dist/cjs/de-at-b38a8c8d.js +0 -92
  1872. package/dist/cjs/de-at-b38a8c8d.js.map +0 -1
  1873. package/dist/cjs/de-ch-62fc5454.js +0 -92
  1874. package/dist/cjs/de-ch-62fc5454.js.map +0 -1
  1875. package/dist/cjs/de-fe4b470f.js +0 -93
  1876. package/dist/cjs/de-fe4b470f.js.map +0 -1
  1877. package/dist/cjs/debounce-00170cea.js +0 -506
  1878. package/dist/cjs/debounce-00170cea.js.map +0 -1
  1879. package/dist/cjs/dom-8ccaafa9.js +0 -1097
  1880. package/dist/cjs/dom-8ccaafa9.js.map +0 -1
  1881. package/dist/cjs/el-8bdcc777.js +0 -68
  1882. package/dist/cjs/el-8bdcc777.js.map +0 -1
  1883. package/dist/cjs/en-au-9b1a35ab.js +0 -68
  1884. package/dist/cjs/en-au-9b1a35ab.js.map +0 -1
  1885. package/dist/cjs/en-ca-7f811761.js +0 -67
  1886. package/dist/cjs/en-ca-7f811761.js.map +0 -1
  1887. package/dist/cjs/en-gb-5d4711af.js +0 -71
  1888. package/dist/cjs/en-gb-5d4711af.js.map +0 -1
  1889. package/dist/cjs/es-11b3b223.js +0 -68
  1890. package/dist/cjs/es-11b3b223.js.map +0 -1
  1891. package/dist/cjs/es-mx-aff42fa5.js +0 -67
  1892. package/dist/cjs/es-mx-aff42fa5.js.map +0 -1
  1893. package/dist/cjs/et-6ab15bee.js +0 -94
  1894. package/dist/cjs/et-6ab15bee.js.map +0 -1
  1895. package/dist/cjs/fi-c7e0c6db.js +0 -117
  1896. package/dist/cjs/fi-c7e0c6db.js.map +0 -1
  1897. package/dist/cjs/filter-dd5fca7e.js +0 -774
  1898. package/dist/cjs/filter-dd5fca7e.js.map +0 -1
  1899. package/dist/cjs/floating-ui-2dae3321.js +0 -2280
  1900. package/dist/cjs/floating-ui-2dae3321.js.map +0 -1
  1901. package/dist/cjs/focusTrapComponent-2ac242ba.js +0 -1020
  1902. package/dist/cjs/focusTrapComponent-2ac242ba.js.map +0 -1
  1903. package/dist/cjs/form-9313d3d8.js +0 -333
  1904. package/dist/cjs/form-9313d3d8.js.map +0 -1
  1905. package/dist/cjs/fr-9d8c6727.js +0 -70
  1906. package/dist/cjs/fr-9d8c6727.js.map +0 -1
  1907. package/dist/cjs/fr-ch-5edd21d8.js +0 -68
  1908. package/dist/cjs/fr-ch-5edd21d8.js.map +0 -1
  1909. package/dist/cjs/guid-4d0780eb.js +0 -23
  1910. package/dist/cjs/guid-4d0780eb.js.map +0 -1
  1911. package/dist/cjs/he-cb692ec3.js +0 -107
  1912. package/dist/cjs/he-cb692ec3.js.map +0 -1
  1913. package/dist/cjs/hi-d4591788.js +0 -67
  1914. package/dist/cjs/hi-d4591788.js.map +0 -1
  1915. package/dist/cjs/hr-508caf8d.js +0 -82
  1916. package/dist/cjs/hr-508caf8d.js.map +0 -1
  1917. package/dist/cjs/hu-ac11e8f2.js +0 -90
  1918. package/dist/cjs/hu-ac11e8f2.js.map +0 -1
  1919. package/dist/cjs/id-2f6decd0.js +0 -68
  1920. package/dist/cjs/id-2f6decd0.js.map +0 -1
  1921. package/dist/cjs/index-07bc7343.js +0 -75
  1922. package/dist/cjs/index-07bc7343.js.map +0 -1
  1923. package/dist/cjs/index-c3e72383.js +0 -208
  1924. package/dist/cjs/index-c3e72383.js.map +0 -1
  1925. package/dist/cjs/index-d68c79f5.js +0 -2705
  1926. package/dist/cjs/index-d68c79f5.js.map +0 -1
  1927. package/dist/cjs/input-607e6485.js +0 -57
  1928. package/dist/cjs/input-607e6485.js.map +0 -1
  1929. package/dist/cjs/interactive-83e91a2b.js +0 -151
  1930. package/dist/cjs/interactive-83e91a2b.js.map +0 -1
  1931. package/dist/cjs/it-ch-4359e55d.js +0 -68
  1932. package/dist/cjs/it-ch-4359e55d.js.map +0 -1
  1933. package/dist/cjs/it-e4fc7e7a.js +0 -68
  1934. package/dist/cjs/it-e4fc7e7a.js.map +0 -1
  1935. package/dist/cjs/ja-5e4a1523.js +0 -74
  1936. package/dist/cjs/ja-5e4a1523.js.map +0 -1
  1937. package/dist/cjs/key-389fc718.js +0 -16
  1938. package/dist/cjs/key-389fc718.js.map +0 -1
  1939. package/dist/cjs/ko-18ede77a.js +0 -74
  1940. package/dist/cjs/ko-18ede77a.js.map +0 -1
  1941. package/dist/cjs/label-3ce9f10e.js +0 -183
  1942. package/dist/cjs/label-3ce9f10e.js.map +0 -1
  1943. package/dist/cjs/loadable-42e5e995.js +0 -91
  1944. package/dist/cjs/loadable-42e5e995.js.map +0 -1
  1945. package/dist/cjs/locale-86cec459.js +0 -576
  1946. package/dist/cjs/locale-86cec459.js.map +0 -1
  1947. package/dist/cjs/lt-31310186.js +0 -99
  1948. package/dist/cjs/lt-31310186.js.map +0 -1
  1949. package/dist/cjs/lv-76646d76.js +0 -68
  1950. package/dist/cjs/lv-76646d76.js.map +0 -1
  1951. package/dist/cjs/math-e6a5d645.js +0 -57
  1952. package/dist/cjs/math-e6a5d645.js.map +0 -1
  1953. package/dist/cjs/mk-03b62273.js +0 -68
  1954. package/dist/cjs/mk-03b62273.js.map +0 -1
  1955. package/dist/cjs/nb-75cac4ff.js +0 -69
  1956. package/dist/cjs/nb-75cac4ff.js.map +0 -1
  1957. package/dist/cjs/nl-44bf0a1c.js +0 -69
  1958. package/dist/cjs/nl-44bf0a1c.js.map +0 -1
  1959. package/dist/cjs/observers-d2fba538.js +0 -50
  1960. package/dist/cjs/observers-d2fba538.js.map +0 -1
  1961. package/dist/cjs/openCloseComponent-5a724efc.js +0 -89
  1962. package/dist/cjs/openCloseComponent-5a724efc.js.map +0 -1
  1963. package/dist/cjs/pl-8d44c855.js +0 -116
  1964. package/dist/cjs/pl-8d44c855.js.map +0 -1
  1965. package/dist/cjs/pt-2bd28894.js +0 -69
  1966. package/dist/cjs/pt-2bd28894.js.map +0 -1
  1967. package/dist/cjs/pt-br-da9d9479.js +0 -67
  1968. package/dist/cjs/pt-br-da9d9479.js.map +0 -1
  1969. package/dist/cjs/resources-05b3570c.js +0 -49
  1970. package/dist/cjs/resources-05b3570c.js.map +0 -1
  1971. package/dist/cjs/resources-3305eeb9.js +0 -26
  1972. package/dist/cjs/resources-3305eeb9.js.map +0 -1
  1973. package/dist/cjs/resources-3af0e73f.js +0 -29
  1974. package/dist/cjs/resources-3af0e73f.js.map +0 -1
  1975. package/dist/cjs/resources-6988241c.js +0 -26
  1976. package/dist/cjs/resources-6988241c.js.map +0 -1
  1977. package/dist/cjs/resources-734ec94b.js +0 -17
  1978. package/dist/cjs/resources-734ec94b.js.map +0 -1
  1979. package/dist/cjs/resources-b3efbd9a.js +0 -414
  1980. package/dist/cjs/resources-b3efbd9a.js.map +0 -1
  1981. package/dist/cjs/resources-e76da966.js +0 -23
  1982. package/dist/cjs/resources-e76da966.js.map +0 -1
  1983. package/dist/cjs/ro-4f3430ff.js +0 -68
  1984. package/dist/cjs/ro-4f3430ff.js.map +0 -1
  1985. package/dist/cjs/ru-bb92c9b7.js +0 -128
  1986. package/dist/cjs/ru-bb92c9b7.js.map +0 -1
  1987. package/dist/cjs/sk-4267068f.js +0 -150
  1988. package/dist/cjs/sk-4267068f.js.map +0 -1
  1989. package/dist/cjs/sl-8db0c2a3.js +0 -170
  1990. package/dist/cjs/sl-8db0c2a3.js.map +0 -1
  1991. package/dist/cjs/sortableComponent-a3ca5faa.js +0 -2744
  1992. package/dist/cjs/sortableComponent-a3ca5faa.js.map +0 -1
  1993. package/dist/cjs/sr-662da790.js +0 -103
  1994. package/dist/cjs/sr-662da790.js.map +0 -1
  1995. package/dist/cjs/sv-9a53e99c.js +0 -73
  1996. package/dist/cjs/sv-9a53e99c.js.map +0 -1
  1997. package/dist/cjs/t9n-faae5d4c.js +0 -97
  1998. package/dist/cjs/t9n-faae5d4c.js.map +0 -1
  1999. package/dist/cjs/th-1b12c1f3.js +0 -67
  2000. package/dist/cjs/th-1b12c1f3.js.map +0 -1
  2001. package/dist/cjs/throttle-f6e5ca8f.js +0 -77
  2002. package/dist/cjs/throttle-f6e5ca8f.js.map +0 -1
  2003. package/dist/cjs/tr-5c9f1ad1.js +0 -68
  2004. package/dist/cjs/tr-5c9f1ad1.js.map +0 -1
  2005. package/dist/cjs/uk-716e890a.js +0 -106
  2006. package/dist/cjs/uk-716e890a.js.map +0 -1
  2007. package/dist/cjs/utils-ad5af7c7.js +0 -218
  2008. package/dist/cjs/utils-ad5af7c7.js.map +0 -1
  2009. package/dist/cjs/utils-df4662c6.js +0 -307
  2010. package/dist/cjs/utils-df4662c6.js.map +0 -1
  2011. package/dist/cjs/vi-b8ebfa07.js +0 -72
  2012. package/dist/cjs/vi-b8ebfa07.js.map +0 -1
  2013. package/dist/cjs/zh-cn-87e83255.js +0 -96
  2014. package/dist/cjs/zh-cn-87e83255.js.map +0 -1
  2015. package/dist/cjs/zh-hk-4c0697b7.js +0 -73
  2016. package/dist/cjs/zh-hk-4c0697b7.js.map +0 -1
  2017. package/dist/cjs/zh-tw-ef37730e.js +0 -94
  2018. package/dist/cjs/zh-tw-ef37730e.js.map +0 -1
  2019. package/dist/esm/ExpandToggle-8175bc53.js +0 -102
  2020. package/dist/esm/ExpandToggle-8175bc53.js.map +0 -1
  2021. package/dist/esm/FloatingArrow-0f2c6ada.js +0 -47
  2022. package/dist/esm/FloatingArrow-0f2c6ada.js.map +0 -1
  2023. package/dist/esm/Heading-71d7c8f8.js +0 -19
  2024. package/dist/esm/Heading-71d7c8f8.js.map +0 -1
  2025. package/dist/esm/Validation-32601d5a.js +0 -16
  2026. package/dist/esm/Validation-32601d5a.js.map +0 -1
  2027. package/dist/esm/app-globals-1bfd8d0c.js +0 -59
  2028. package/dist/esm/app-globals-1bfd8d0c.js.map +0 -1
  2029. package/dist/esm/ar-5b578f6a.js +0 -104
  2030. package/dist/esm/ar-5b578f6a.js.map +0 -1
  2031. package/dist/esm/array-278244c1.js +0 -12
  2032. package/dist/esm/array-278244c1.js.map +0 -1
  2033. package/dist/esm/bg-b00aea18.js +0 -82
  2034. package/dist/esm/bg-b00aea18.js.map +0 -1
  2035. package/dist/esm/browser-3ef1f9cf.js +0 -18
  2036. package/dist/esm/browser-3ef1f9cf.js.map +0 -1
  2037. package/dist/esm/bs-abe1f1e8.js +0 -51
  2038. package/dist/esm/bs-abe1f1e8.js.map +0 -1
  2039. package/dist/esm/ca-2bbc0ddb.js +0 -71
  2040. package/dist/esm/ca-2bbc0ddb.js.map +0 -1
  2041. package/dist/esm/calcite-input-time-picker.calcite-time-picker-2ed2a8f4.js +0 -2916
  2042. package/dist/esm/calcite-input-time-picker.calcite-time-picker-2ed2a8f4.js.map +0 -1
  2043. package/dist/esm/component-5da5e07a.js +0 -27
  2044. package/dist/esm/component-5da5e07a.js.map +0 -1
  2045. package/dist/esm/conditionalSlot-55ff1907.js +0 -57
  2046. package/dist/esm/conditionalSlot-55ff1907.js.map +0 -1
  2047. package/dist/esm/core-e498e51c.js +0 -17
  2048. package/dist/esm/core-e498e51c.js.map +0 -1
  2049. package/dist/esm/cs-521acd0c.js +0 -147
  2050. package/dist/esm/cs-521acd0c.js.map +0 -1
  2051. package/dist/esm/da-8078a793.js +0 -66
  2052. package/dist/esm/da-8078a793.js.map +0 -1
  2053. package/dist/esm/de-0ae463c4.js +0 -91
  2054. package/dist/esm/de-0ae463c4.js.map +0 -1
  2055. package/dist/esm/de-at-f37255e6.js +0 -90
  2056. package/dist/esm/de-at-f37255e6.js.map +0 -1
  2057. package/dist/esm/de-ch-4ef85f37.js +0 -90
  2058. package/dist/esm/de-ch-4ef85f37.js.map +0 -1
  2059. package/dist/esm/debounce-2bbde099.js +0 -497
  2060. package/dist/esm/debounce-2bbde099.js.map +0 -1
  2061. package/dist/esm/dom-95da0206.js +0 -1065
  2062. package/dist/esm/dom-95da0206.js.map +0 -1
  2063. package/dist/esm/el-cb3d03c7.js +0 -66
  2064. package/dist/esm/el-cb3d03c7.js.map +0 -1
  2065. package/dist/esm/en-au-0330142a.js +0 -66
  2066. package/dist/esm/en-au-0330142a.js.map +0 -1
  2067. package/dist/esm/en-ca-ffae902b.js +0 -65
  2068. package/dist/esm/en-ca-ffae902b.js.map +0 -1
  2069. package/dist/esm/en-gb-0e91a0db.js +0 -69
  2070. package/dist/esm/en-gb-0e91a0db.js.map +0 -1
  2071. package/dist/esm/es-197c5c73.js +0 -66
  2072. package/dist/esm/es-197c5c73.js.map +0 -1
  2073. package/dist/esm/es-mx-855ee317.js +0 -65
  2074. package/dist/esm/es-mx-855ee317.js.map +0 -1
  2075. package/dist/esm/et-4c98e976.js +0 -92
  2076. package/dist/esm/et-4c98e976.js.map +0 -1
  2077. package/dist/esm/fi-a683ffc8.js +0 -115
  2078. package/dist/esm/fi-a683ffc8.js.map +0 -1
  2079. package/dist/esm/filter-23ceaf45.js +0 -772
  2080. package/dist/esm/filter-23ceaf45.js.map +0 -1
  2081. package/dist/esm/floating-ui-3cca79d5.js +0 -2272
  2082. package/dist/esm/floating-ui-3cca79d5.js.map +0 -1
  2083. package/dist/esm/focusTrapComponent-a8d42d64.js +0 -1015
  2084. package/dist/esm/focusTrapComponent-a8d42d64.js.map +0 -1
  2085. package/dist/esm/form-7e580ebc.js +0 -324
  2086. package/dist/esm/form-7e580ebc.js.map +0 -1
  2087. package/dist/esm/fr-a65e97bb.js +0 -68
  2088. package/dist/esm/fr-a65e97bb.js.map +0 -1
  2089. package/dist/esm/fr-ch-1e756d91.js +0 -66
  2090. package/dist/esm/fr-ch-1e756d91.js.map +0 -1
  2091. package/dist/esm/guid-a3e6c175.js +0 -21
  2092. package/dist/esm/guid-a3e6c175.js.map +0 -1
  2093. package/dist/esm/he-27fdc080.js +0 -105
  2094. package/dist/esm/he-27fdc080.js.map +0 -1
  2095. package/dist/esm/hi-beea19b2.js +0 -65
  2096. package/dist/esm/hi-beea19b2.js.map +0 -1
  2097. package/dist/esm/hr-09918a13.js +0 -80
  2098. package/dist/esm/hr-09918a13.js.map +0 -1
  2099. package/dist/esm/hu-3138517c.js +0 -88
  2100. package/dist/esm/hu-3138517c.js.map +0 -1
  2101. package/dist/esm/id-7fb605df.js +0 -66
  2102. package/dist/esm/id-7fb605df.js.map +0 -1
  2103. package/dist/esm/index-39f834e9.js +0 -206
  2104. package/dist/esm/index-39f834e9.js.map +0 -1
  2105. package/dist/esm/index-6a83c357.js +0 -2670
  2106. package/dist/esm/index-6a83c357.js.map +0 -1
  2107. package/dist/esm/index-7bc72962.js +0 -73
  2108. package/dist/esm/index-7bc72962.js.map +0 -1
  2109. package/dist/esm/input-971a2786.js +0 -55
  2110. package/dist/esm/input-971a2786.js.map +0 -1
  2111. package/dist/esm/interactive-d80b1e0b.js +0 -146
  2112. package/dist/esm/interactive-d80b1e0b.js.map +0 -1
  2113. package/dist/esm/it-8196dcf5.js +0 -66
  2114. package/dist/esm/it-8196dcf5.js.map +0 -1
  2115. package/dist/esm/it-ch-23a6c853.js +0 -66
  2116. package/dist/esm/it-ch-23a6c853.js.map +0 -1
  2117. package/dist/esm/ja-ad65590b.js +0 -72
  2118. package/dist/esm/ja-ad65590b.js.map +0 -1
  2119. package/dist/esm/key-78ec33cb.js +0 -13
  2120. package/dist/esm/key-78ec33cb.js.map +0 -1
  2121. package/dist/esm/ko-c0a715de.js +0 -72
  2122. package/dist/esm/ko-c0a715de.js.map +0 -1
  2123. package/dist/esm/label-1a8a189e.js +0 -176
  2124. package/dist/esm/label-1a8a189e.js.map +0 -1
  2125. package/dist/esm/loadable-badc4ea8.js +0 -86
  2126. package/dist/esm/loadable-badc4ea8.js.map +0 -1
  2127. package/dist/esm/locale-a633581b.js +0 -563
  2128. package/dist/esm/locale-a633581b.js.map +0 -1
  2129. package/dist/esm/lt-9b37c597.js +0 -97
  2130. package/dist/esm/lt-9b37c597.js.map +0 -1
  2131. package/dist/esm/lv-abb65acd.js +0 -66
  2132. package/dist/esm/lv-abb65acd.js.map +0 -1
  2133. package/dist/esm/math-b33fe269.js +0 -51
  2134. package/dist/esm/math-b33fe269.js.map +0 -1
  2135. package/dist/esm/mk-0b47cf94.js +0 -66
  2136. package/dist/esm/mk-0b47cf94.js.map +0 -1
  2137. package/dist/esm/nb-365bcb84.js +0 -67
  2138. package/dist/esm/nb-365bcb84.js.map +0 -1
  2139. package/dist/esm/nl-e8672910.js +0 -67
  2140. package/dist/esm/nl-e8672910.js.map +0 -1
  2141. package/dist/esm/observers-c10f576a.js +0 -48
  2142. package/dist/esm/observers-c10f576a.js.map +0 -1
  2143. package/dist/esm/openCloseComponent-c2e99255.js +0 -87
  2144. package/dist/esm/openCloseComponent-c2e99255.js.map +0 -1
  2145. package/dist/esm/pl-b4c42347.js +0 -114
  2146. package/dist/esm/pl-b4c42347.js.map +0 -1
  2147. package/dist/esm/pt-br-36db2850.js +0 -65
  2148. package/dist/esm/pt-br-36db2850.js.map +0 -1
  2149. package/dist/esm/pt-c1b70c32.js +0 -67
  2150. package/dist/esm/pt-c1b70c32.js.map +0 -1
  2151. package/dist/esm/resources-257f0fcd.js +0 -21
  2152. package/dist/esm/resources-257f0fcd.js.map +0 -1
  2153. package/dist/esm/resources-3d4a9208.js +0 -23
  2154. package/dist/esm/resources-3d4a9208.js.map +0 -1
  2155. package/dist/esm/resources-409059f8.js +0 -45
  2156. package/dist/esm/resources-409059f8.js.map +0 -1
  2157. package/dist/esm/resources-46d5f485.js +0 -387
  2158. package/dist/esm/resources-46d5f485.js.map +0 -1
  2159. package/dist/esm/resources-4b3fc2ab.js +0 -17
  2160. package/dist/esm/resources-4b3fc2ab.js.map +0 -1
  2161. package/dist/esm/resources-8fe60d91.js +0 -19
  2162. package/dist/esm/resources-8fe60d91.js.map +0 -1
  2163. package/dist/esm/resources-ee9208d7.js +0 -25
  2164. package/dist/esm/resources-ee9208d7.js.map +0 -1
  2165. package/dist/esm/ro-094aef4e.js +0 -66
  2166. package/dist/esm/ro-094aef4e.js.map +0 -1
  2167. package/dist/esm/ru-e984db14.js +0 -126
  2168. package/dist/esm/ru-e984db14.js.map +0 -1
  2169. package/dist/esm/sk-492e5372.js +0 -148
  2170. package/dist/esm/sk-492e5372.js.map +0 -1
  2171. package/dist/esm/sl-d92e3bbc.js +0 -168
  2172. package/dist/esm/sl-d92e3bbc.js.map +0 -1
  2173. package/dist/esm/sortableComponent-c8188796.js +0 -2740
  2174. package/dist/esm/sortableComponent-c8188796.js.map +0 -1
  2175. package/dist/esm/sr-6422fead.js +0 -101
  2176. package/dist/esm/sr-6422fead.js.map +0 -1
  2177. package/dist/esm/sv-ecb923dd.js +0 -71
  2178. package/dist/esm/sv-ecb923dd.js.map +0 -1
  2179. package/dist/esm/t9n-8a22ff31.js +0 -92
  2180. package/dist/esm/t9n-8a22ff31.js.map +0 -1
  2181. package/dist/esm/th-ef87d420.js +0 -65
  2182. package/dist/esm/th-ef87d420.js.map +0 -1
  2183. package/dist/esm/throttle-5d1c5831.js +0 -75
  2184. package/dist/esm/throttle-5d1c5831.js.map +0 -1
  2185. package/dist/esm/tr-0928df83.js +0 -66
  2186. package/dist/esm/tr-0928df83.js.map +0 -1
  2187. package/dist/esm/uk-c9f8d48e.js +0 -104
  2188. package/dist/esm/uk-c9f8d48e.js.map +0 -1
  2189. package/dist/esm/utils-0b3e2be3.js +0 -200
  2190. package/dist/esm/utils-0b3e2be3.js.map +0 -1
  2191. package/dist/esm/utils-f42c8f36.js +0 -289
  2192. package/dist/esm/utils-f42c8f36.js.map +0 -1
  2193. package/dist/esm/vi-dafa57cb.js +0 -70
  2194. package/dist/esm/vi-dafa57cb.js.map +0 -1
  2195. package/dist/esm/zh-cn-87f515ba.js +0 -94
  2196. package/dist/esm/zh-cn-87f515ba.js.map +0 -1
  2197. package/dist/esm/zh-hk-35dc971d.js +0 -71
  2198. package/dist/esm/zh-hk-35dc971d.js.map +0 -1
  2199. package/dist/esm/zh-tw-b7b75249.js +0 -92
  2200. package/dist/esm/zh-tw-b7b75249.js.map +0 -1
  2201. /package/dist/calcite/{p-b02fc30f.entry.js.map → p-001c6de4.entry.js.map} +0 -0
  2202. /package/dist/calcite/{p-c679815c.js.map → p-00859caa.js.map} +0 -0
  2203. /package/dist/calcite/{p-7209caa2.js.map → p-016f9ebd.js.map} +0 -0
  2204. /package/dist/calcite/{p-3d0a8ad2.js.map → p-0278cfca.js.map} +0 -0
  2205. /package/dist/calcite/{p-0ee64a34.js.map → p-04de09a5.js.map} +0 -0
  2206. /package/dist/calcite/{p-2b32bd96.js.map → p-05e59e9c.js.map} +0 -0
  2207. /package/dist/calcite/{p-05029b60.js.map → p-0642d73f.js.map} +0 -0
  2208. /package/dist/calcite/{p-3816af52.js.map → p-07928d27.js.map} +0 -0
  2209. /package/dist/calcite/{p-197432bd.js.map → p-07efbe2d.js.map} +0 -0
  2210. /package/dist/calcite/{p-d217f591.entry.js.map → p-0d10cbea.entry.js.map} +0 -0
  2211. /package/dist/calcite/{p-724cd7a3.js.map → p-0d18acd2.js.map} +0 -0
  2212. /package/dist/calcite/{p-1b03b527.js.map → p-0fa6ece4.js.map} +0 -0
  2213. /package/dist/calcite/{p-06c093bc.entry.js.map → p-10482fef.entry.js.map} +0 -0
  2214. /package/dist/calcite/{p-f8a0ca92.js.map → p-158acc6b.js.map} +0 -0
  2215. /package/dist/calcite/{p-cbad505c.js.map → p-1715843c.js.map} +0 -0
  2216. /package/dist/calcite/{p-4781876f.js.map → p-183f5d27.js.map} +0 -0
  2217. /package/dist/calcite/{p-9f3c7e9e.js.map → p-1988d545.js.map} +0 -0
  2218. /package/dist/calcite/{p-75e54722.entry.js.map → p-1d15ffe1.entry.js.map} +0 -0
  2219. /package/dist/calcite/{p-e41cc59e.js.map → p-2362dc5c.js.map} +0 -0
  2220. /package/dist/calcite/{p-8a27d5d8.entry.js.map → p-24c9c7d7.entry.js.map} +0 -0
  2221. /package/dist/calcite/{p-16938678.js.map → p-26225051.js.map} +0 -0
  2222. /package/dist/calcite/{p-68780402.js.map → p-264a18c0.js.map} +0 -0
  2223. /package/dist/calcite/{p-77fba2ed.js.map → p-26d27337.js.map} +0 -0
  2224. /package/dist/calcite/{p-4f556291.js.map → p-278a3008.js.map} +0 -0
  2225. /package/dist/calcite/{p-fb848c65.js.map → p-28164ad0.js.map} +0 -0
  2226. /package/dist/calcite/{p-85931c71.js.map → p-2a6032f9.js.map} +0 -0
  2227. /package/dist/calcite/{p-61beeb57.js.map → p-2af87985.js.map} +0 -0
  2228. /package/dist/calcite/{p-d66143b4.js.map → p-31e059e1.js.map} +0 -0
  2229. /package/dist/calcite/{p-2f5471be.js.map → p-326d91d9.js.map} +0 -0
  2230. /package/dist/calcite/{p-5f6b4498.js.map → p-38751d76.js.map} +0 -0
  2231. /package/dist/calcite/{p-c1bf5d84.js.map → p-398a0f77.js.map} +0 -0
  2232. /package/dist/calcite/{p-2761a7f2.js.map → p-39f09b60.js.map} +0 -0
  2233. /package/dist/calcite/{p-0f24ad8a.js.map → p-3d6de6e8.js.map} +0 -0
  2234. /package/dist/calcite/{p-32caab85.entry.js.map → p-3d99828d.entry.js.map} +0 -0
  2235. /package/dist/calcite/{p-57b423bb.entry.js.map → p-3f15357e.entry.js.map} +0 -0
  2236. /package/dist/calcite/{p-519084ce.js.map → p-3fdde044.js.map} +0 -0
  2237. /package/dist/calcite/{p-e1672686.js.map → p-41f51e2a.js.map} +0 -0
  2238. /package/dist/calcite/{p-60c275fd.js.map → p-46680754.js.map} +0 -0
  2239. /package/dist/calcite/{p-b003c9db.js.map → p-46c2f3ff.js.map} +0 -0
  2240. /package/dist/calcite/{p-2fad7ec1.js.map → p-470ddc1f.js.map} +0 -0
  2241. /package/dist/calcite/{p-016dde36.js.map → p-4ba04f9c.js.map} +0 -0
  2242. /package/dist/calcite/{p-08848e42.js.map → p-4f196fc6.js.map} +0 -0
  2243. /package/dist/calcite/{p-fafa7c4f.entry.js.map → p-4ff75762.entry.js.map} +0 -0
  2244. /package/dist/calcite/{p-cf9eb16d.js.map → p-5137bec2.js.map} +0 -0
  2245. /package/dist/calcite/{p-3d3e0563.entry.js.map → p-51c4f12f.entry.js.map} +0 -0
  2246. /package/dist/calcite/{p-4f85fc0e.entry.js.map → p-55d0f8b1.entry.js.map} +0 -0
  2247. /package/dist/calcite/{p-b04849c8.js.map → p-58949831.js.map} +0 -0
  2248. /package/dist/calcite/{p-a43292ae.js.map → p-5a7f70ff.js.map} +0 -0
  2249. /package/dist/calcite/{p-ae3fae00.js.map → p-5b55943f.js.map} +0 -0
  2250. /package/dist/calcite/{p-f563c493.js.map → p-664e9917.js.map} +0 -0
  2251. /package/dist/calcite/{p-c56cce40.js.map → p-69f33aa2.js.map} +0 -0
  2252. /package/dist/calcite/{p-7cb83332.js.map → p-6c3ae9b0.js.map} +0 -0
  2253. /package/dist/calcite/{p-8eb94fef.entry.js.map → p-719eb7bc.entry.js.map} +0 -0
  2254. /package/dist/calcite/{p-4e18a9ca.entry.js.map → p-7859d12e.entry.js.map} +0 -0
  2255. /package/dist/calcite/{p-ce10a309.js.map → p-79db8b88.js.map} +0 -0
  2256. /package/dist/calcite/{p-8d951a40.js.map → p-7d1269ea.js.map} +0 -0
  2257. /package/dist/calcite/{p-257f6b8a.js.map → p-7d5d1ccc.js.map} +0 -0
  2258. /package/dist/calcite/{p-e96b61c7.entry.js.map → p-7f343c05.entry.js.map} +0 -0
  2259. /package/dist/calcite/{p-a4ab731d.entry.js.map → p-80580021.entry.js.map} +0 -0
  2260. /package/dist/calcite/{p-2118466b.entry.js.map → p-80b27fe4.entry.js.map} +0 -0
  2261. /package/dist/calcite/{p-08fca7c0.entry.js.map → p-844e9548.entry.js.map} +0 -0
  2262. /package/dist/calcite/{p-59eccf48.js.map → p-8afea1b7.js.map} +0 -0
  2263. /package/dist/calcite/{p-5dcf1d59.js.map → p-8b547e48.js.map} +0 -0
  2264. /package/dist/calcite/{p-fe6a12f8.entry.js.map → p-919d62bb.entry.js.map} +0 -0
  2265. /package/dist/calcite/{p-0d7ca57b.entry.js.map → p-92c8cee7.entry.js.map} +0 -0
  2266. /package/dist/calcite/{p-edc237d0.entry.js.map → p-976c8847.entry.js.map} +0 -0
  2267. /package/dist/calcite/{p-2886f3b7.entry.js.map → p-9aeae016.entry.js.map} +0 -0
  2268. /package/dist/calcite/{p-be88c9af.js.map → p-9bf8e96f.js.map} +0 -0
  2269. /package/dist/calcite/{p-a6029781.js.map → p-9dd7cf2c.js.map} +0 -0
  2270. /package/dist/calcite/{p-4751f58f.js.map → p-a07c4e01.js.map} +0 -0
  2271. /package/dist/calcite/{p-c772959e.entry.js.map → p-a08c2569.entry.js.map} +0 -0
  2272. /package/dist/calcite/{p-af8b3876.js.map → p-a91b3b05.js.map} +0 -0
  2273. /package/dist/calcite/{p-0e53a49b.js.map → p-aba08c28.js.map} +0 -0
  2274. /package/dist/calcite/{p-c6025db5.js.map → p-ac2cbb35.js.map} +0 -0
  2275. /package/dist/calcite/{p-6c8f9df9.js.map → p-ae0b5a40.js.map} +0 -0
  2276. /package/dist/calcite/{p-88b28478.js.map → p-ae940e76.js.map} +0 -0
  2277. /package/dist/calcite/{p-f126f372.entry.js.map → p-b0850648.entry.js.map} +0 -0
  2278. /package/dist/calcite/{p-c3e09101.js.map → p-b0d47116.js.map} +0 -0
  2279. /package/dist/calcite/{p-e094566c.js.map → p-b4d68ef1.js.map} +0 -0
  2280. /package/dist/calcite/{p-f37e0c35.js.map → p-b7165ebb.js.map} +0 -0
  2281. /package/dist/calcite/{p-0146170c.entry.js.map → p-b942594f.entry.js.map} +0 -0
  2282. /package/dist/calcite/{p-744f5ff2.entry.js.map → p-b94e3c79.entry.js.map} +0 -0
  2283. /package/dist/calcite/{p-ff641a28.js.map → p-ba8077c0.js.map} +0 -0
  2284. /package/dist/calcite/{p-6f65c115.js.map → p-be9b760e.js.map} +0 -0
  2285. /package/dist/calcite/{p-d8a8273c.js.map → p-c0740706.js.map} +0 -0
  2286. /package/dist/calcite/{p-d24ab49c.entry.js.map → p-c0d115c8.entry.js.map} +0 -0
  2287. /package/dist/calcite/{p-c0760822.js.map → p-c1079ce0.js.map} +0 -0
  2288. /package/dist/calcite/{p-871cb935.js.map → p-c23c7d67.js.map} +0 -0
  2289. /package/dist/calcite/{p-8a21e962.js.map → p-c577b5f7.js.map} +0 -0
  2290. /package/dist/calcite/{p-3957d517.js.map → p-c8ad8b5c.js.map} +0 -0
  2291. /package/dist/calcite/{p-0d998b81.entry.js.map → p-c9091452.entry.js.map} +0 -0
  2292. /package/dist/calcite/{p-f8e10e2b.js.map → p-cb5cb74b.js.map} +0 -0
  2293. /package/dist/calcite/{p-a93ae81c.js.map → p-cbfb0b44.js.map} +0 -0
  2294. /package/dist/calcite/{p-ed1526d8.js.map → p-cc4d2c88.js.map} +0 -0
  2295. /package/dist/calcite/{p-e472fa44.js.map → p-ce11be72.js.map} +0 -0
  2296. /package/dist/calcite/{p-6a56f22b.js.map → p-d0ca43ff.js.map} +0 -0
  2297. /package/dist/calcite/{p-60198fdf.js.map → p-d2c27b90.js.map} +0 -0
  2298. /package/dist/calcite/{p-d9a4092f.js.map → p-d7d08570.js.map} +0 -0
  2299. /package/dist/calcite/{p-b0a74538.js.map → p-d8853b6e.js.map} +0 -0
  2300. /package/dist/calcite/{p-ad9d8a1d.entry.js.map → p-d9ef99e4.entry.js.map} +0 -0
  2301. /package/dist/calcite/{p-4b5b9800.js.map → p-da7e55a3.js.map} +0 -0
  2302. /package/dist/calcite/{p-be664342.js.map → p-deb0d3fd.js.map} +0 -0
  2303. /package/dist/calcite/{p-865b858c.js.map → p-e3a80db7.js.map} +0 -0
  2304. /package/dist/calcite/{p-95cb0438.js.map → p-e3f868cd.js.map} +0 -0
  2305. /package/dist/calcite/{p-76dccaf4.entry.js.map → p-e46a4855.entry.js.map} +0 -0
  2306. /package/dist/calcite/{p-fe40c84a.js.map → p-e524855f.js.map} +0 -0
  2307. /package/dist/calcite/{p-416a6f5f.entry.js.map → p-e8bb5e39.entry.js.map} +0 -0
  2308. /package/dist/calcite/{p-ca63e67d.js.map → p-ed488403.js.map} +0 -0
  2309. /package/dist/calcite/{p-8328d29c.js.map → p-f0e28720.js.map} +0 -0
  2310. /package/dist/calcite/{p-bcd67b7d.js.map → p-f1048bed.js.map} +0 -0
  2311. /package/dist/calcite/{p-1e5b258b.js.map → p-f30d67e1.js.map} +0 -0
  2312. /package/dist/calcite/{p-02d62aa4.entry.js.map → p-f389edfb.entry.js.map} +0 -0
  2313. /package/dist/calcite/{p-b5a073f3.js.map → p-f45be9ad.js.map} +0 -0
  2314. /package/dist/calcite/{p-b763008d.entry.js.map → p-f64f4440.entry.js.map} +0 -0
  2315. /package/dist/calcite/{p-f6023367.entry.js.map → p-f67ef023.entry.js.map} +0 -0
  2316. /package/dist/calcite/{p-48efc461.js.map → p-f6a613d5.js.map} +0 -0
  2317. /package/dist/calcite/{p-025521bb.entry.js.map → p-f6ca5964.entry.js.map} +0 -0
  2318. /package/dist/calcite/{p-d09011d8.js.map → p-fbbf3d0e.js.map} +0 -0
  2319. /package/dist/calcite/{p-2458b0dd.js.map → p-fd3d8db5.js.map} +0 -0
  2320. /package/dist/calcite/{p-b5773566.js.map → p-fe3db953.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.8.0-next.1
5
- */
6
- import{h as t,r as i,c as e,H as s,g as n}from"./p-85931c71.js";import{c as o}from"./p-2a3dfeaf.js";import{f as c}from"./p-b04849c8.js";import{A as a,C as l,D as r,t as h,e as d}from"./p-fb848c65.js";import{d as p,f as b,c as u,r as m,a as f,F as g}from"./p-a93ae81c.js";import{s as x,c as v,a as y,d as w,H as C}from"./p-ae3fae00.js";import{g as k}from"./p-be664342.js";import{c as I,u as z,d as $,I as E}from"./p-1b03b527.js";import{c as H,d as S,g as A}from"./p-1e6dcf63.js";import{b as D,c as j,s as O,a as M}from"./p-b5a073f3.js";import{c as P,d as F}from"./p-af8b3876.js";import{c as L}from"./p-60c275fd.js";import{o as B}from"./p-2f5471be.js";import{c as T,s as R,d as W,u as V}from"./p-4781876f.js";import{g as G}from"./p-c56cce40.js";import{V as X}from"./p-519084ce.js";import{d as _}from"./p-d66143b4.js";import{c as U,d as Y}from"./p-d9a4092f.js";import"./p-b5773566.js";import"./p-3d0a8ad2.js";import"./p-0e53a49b.js";const K={button:"x-button"};function N({disabled:i,key:e,label:s,onClick:n,ref:o,scale:c}){return t("button",{"aria-label":s,class:K.button,disabled:i,key:e,onClick:n,tabIndex:-1,type:"button",ref:o},t("calcite-icon",{icon:"x",scale:G(c)}))}const q="CALCITE-COMBOBOX-ITEM";const J="CALCITE-COMBOBOX-ITEM-GROUP";const Q=`${q}, ${J}`;const Z={chipInvisible:"chip--invisible",selectionDisplayFit:"selection-display-fit",selectionDisplaySingle:"selection-display-single",listContainer:"list-container"};function tt(t){const i=t.parentElement?.closest(Q);const e=i?.parentElement?.closest(Q);return[i,e].filter((t=>t))}function it(t){return t.ancestors?.filter((t=>t.nodeName==="CALCITE-COMBOBOX-ITEM"))||[]}function et(t){return a(t.querySelectorAll("calcite-combobox-item"))}function st(t){const i=a(t.querySelectorAll("calcite-combobox-item"));return i.filter((t=>t.selected)).length>0}function nt(t){const i=document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);return i.snapshotLength}function ot(t){return t.includes("single")}const ct=":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{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, 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]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{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 )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s);margin-inline-end:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;appearance:none;overflow:hidden;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:placeholder-shown{text-overflow:ellipsis}.input--transparent{opacity:0}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{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}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::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}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";const at=ct;const lt=t=>t.tagName===J;const rt="combobox-item-";const ht="combobox-chip-";const dt="combobox-label-";const pt="combobox-listbox-";const bt="combobox-input-";const ut=class{constructor(t){i(this,t);this.calciteComboboxChange=e(this,"calciteComboboxChange",6);this.calciteComboboxFilterChange=e(this,"calciteComboboxFilterChange",6);this.calciteComboboxChipClose=e(this,"calciteComboboxChipClose",6);this.calciteComboboxBeforeClose=e(this,"calciteComboboxBeforeClose",6);this.calciteComboboxClose=e(this,"calciteComboboxClose",6);this.calciteComboboxBeforeOpen=e(this,"calciteComboboxBeforeOpen",6);this.calciteComboboxOpen=e(this,"calciteComboboxOpen",6);this.placement=p;this.internalValueChangeFlag=false;this.textInput=null;this.mutationObserver=L("mutation",(()=>this.updateItems()));this.resizeObserver=L("resize",(()=>{this.setMaxScrollerHeight();this.refreshSelectionDisplay()}));this.guid=k();this.inputHeight=0;this.ignoreSelectedEventsFlag=false;this.openTransitionProp="opacity";this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?b(i,t):null};this.getValue=()=>{const t=this.selectedItems.map((t=>t?.value?.toString()));return t?.length?t.length>1?t:t[0]:""};this.onLabelClick=()=>{this.setFocus()};this.keyDownHandler=t=>{const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1;this.activeItemIndex=-1;if(this.allowCustomValues&&this.text){this.addCustomChip(this.text,true);t.preventDefault()}else if(this.open){this.open=false;t.preventDefault()}else if(!this.allowCustomValues&&this.text){this.clearInputValue();this.filterItems("");this.updateActiveItemIndex(-1)}break;case"ArrowLeft":this.previousChip();t.preventDefault();break;case"ArrowRight":this.nextChip();t.preventDefault();break;case"ArrowUp":t.preventDefault();if(this.open){this.shiftActiveItemIndex(-1)}if(!this.comboboxInViewport()){this.el.scrollIntoView()}break;case"ArrowDown":t.preventDefault();if(this.open){this.shiftActiveItemIndex(1)}else{this.open=true;this.ensureRecentSelectedItemIsActive()}if(!this.comboboxInViewport()){this.el.scrollIntoView()}break;case" ":if(!this.textInput.value&&!t.defaultPrevented){if(!this.open){this.open=true;this.shiftActiveItemIndex(1)}t.preventDefault()}break;case"Home":if(!this.open){return}t.preventDefault();this.updateActiveItemIndex(0);this.scrollToActiveItem();if(!this.comboboxInViewport()){this.el.scrollIntoView()}break;case"End":if(!this.open){return}t.preventDefault();this.updateActiveItemIndex(this.filteredItems.length-1);this.scrollToActiveItem();if(!this.comboboxInViewport()){this.el.scrollIntoView()}break;case"Escape":if(!this.clearDisabled&&!this.open){this.clearValue()}this.open=false;t.preventDefault();break;case"Enter":if(this.open&&this.activeItemIndex>-1){this.toggleSelection(this.filteredItems[this.activeItemIndex]);t.preventDefault()}else if(this.activeChipIndex>-1){this.removeActiveChip();t.preventDefault()}else if(this.allowCustomValues&&this.text){this.addCustomChip(this.text,true);t.preventDefault()}else if(!t.defaultPrevented){if(x(this)){t.preventDefault()}}break;case"Delete":case"Backspace":const i=this.selectionDisplay==="single"||this.selectionDisplay==="fit"&&this.selectedHiddenChipsCount>0;if(i){return}if(this.activeChipIndex>-1){t.preventDefault();this.removeActiveChip()}else if(!this.text&&this.isMulti()){t.preventDefault();this.removeLastChip()}break}};this.toggleCloseEnd=()=>{this.open=false;this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)};this.toggleOpenEnd=()=>{this.open=false;this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)};this.setMaxScrollerHeight=async()=>{const{listContainerEl:t,open:i,referenceEl:e}=this;if(!t||!i){return}await this.reposition(true);const s=this.getMaxScrollerHeight();t.style.maxHeight=s>0?`${s}px`:"";t.style.minWidth=`${e.clientWidth}px`;await this.reposition(true)};this.calciteChipCloseHandler=t=>{this.open=false;const i=this.items.find((i=>i===t));if(i){this.toggleSelection(i,false)}this.calciteComboboxChipClose.emit()};this.clickHandler=t=>{if(this.readOnly){return}const i=t.composedPath();if(i.some((t=>t.tagName==="CALCITE-CHIP"))){this.open=false;t.preventDefault();return}if(i.some((t=>t.classList?.contains(K.button)))){this.clearValue();t.preventDefault();return}this.open=!this.open;this.ensureRecentSelectedItemIsActive()};this.refreshSelectionDisplay=async()=>{await D(this);if(ot(this.selectionMode)){return}if(!this.textInput){return}const{allSelectedIndicatorChipEl:t,chipContainerEl:i,selectionDisplay:e,placeholder:s,selectedIndicatorChipEl:n,textInput:c}=this;const a=parseInt(getComputedStyle(i).gap.replace("px",""));const h=l(i);const{fontSize:d,fontFamily:p}=getComputedStyle(c);const b=r(s,`${d} ${p}`);const u=(b||parseInt(o))+a;const m=l(t);const f=l(n);const g=Math.max(m,f);this.setCompactSelectionDisplay({chipContainerElGap:a,chipContainerElWidth:h,inputWidth:u,largestSelectedIndicatorChipWidth:g});if(e==="fit"){const t=Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter((t=>t.closable));const i=Math.round(h-((this.selectedHiddenChipsCount>0?f:0)+a+u+a));this.refreshChipDisplay({availableHorizontalChipElSpace:i,chipContainerElGap:a,chipEls:t});this.setVisibleAndHiddenChips(t)}};this.setFloatingEl=t=>{this.floatingEl=t;u(this,this.referenceEl,this.floatingEl)};this.setContainerEl=t=>{this.resizeObserver.observe(t);this.listContainerEl=t;this.transitionEl=t};this.setChipContainerEl=t=>{this.resizeObserver.observe(t);this.chipContainerEl=t};this.setReferenceEl=t=>{this.referenceEl=t;u(this,this.referenceEl,this.floatingEl)};this.setAllSelectedIndicatorChipEl=t=>{this.allSelectedIndicatorChipEl=t};this.setSelectedIndicatorChipEl=t=>{this.selectedIndicatorChipEl=t};this.inputHandler=t=>{const i=t.target.value;this.text=i;this.filterItems(i);if(i){this.activeChipIndex=-1}};this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>lt(t)?i===t.label:e===t.value&&i===t.textLabel));return _((i=>{const e=c(this.data,i);const s=this.getItemsAndGroups();s.forEach((i=>{const s=!t(i,e);i.hidden=s;const[n,o]=i.ancestors;if(t(n,e)||t(o,e)){i.hidden=false}if(!s){i.ancestors.forEach((t=>t.hidden=false))}}));this.filteredItems=this.getFilteredItems();this.calciteComboboxFilterChange.emit()}),100)})();this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()};this.emitComboboxChange=_(this.internalComboboxChangeEvent,0);this.getSelectedItems=()=>{if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&(this.selectionMode!=="ancestors"||!st(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t);const s=this.selectedItems.indexOf(i);if(e>-1&&s>-1){return e-s}return s-e}))};this.updateItems=()=>{this.items=this.getItems();this.groupItems=this.getGroupItems();this.data=this.getData();this.selectedItems=this.getSelectedItems();this.filteredItems=this.getFilteredItems();this.needsIcon=this.getNeedsIcon();this.items.forEach((t=>{t.selectionMode=this.selectionMode;t.scale=this.scale}));if(!this.allowCustomValues){this.setMaxScrollerHeight()}this.groupItems.forEach(((t,i,e)=>{if(i===0){t.afterEmptyGroup=false}const s=e[i+1];if(s){s.afterEmptyGroup=t.children.length===0}}))};this.scrollToActiveItem=()=>{const t=this.filteredItems[this.activeItemIndex];if(!t){return}const i=this.calculateSingleItemHeight(t);const{offsetHeight:e,scrollTop:s}=this.listContainerEl;if(e+s<t.offsetTop+i){this.listContainerEl.scrollTop=t.offsetTop-e+i}else if(t.offsetTop<s){this.listContainerEl.scrollTop=t.offsetTop}};this.comboboxFocusHandler=()=>{if(this.disabled){return}this.textInput?.focus()};this.clearDisabled=false;this.selectionDisplay="all";this.open=false;this.disabled=false;this.form=undefined;this.label=undefined;this.placeholder=undefined;this.placeholderIcon=undefined;this.placeholderIconFlipRtl=false;this.maxItems=0;this.validationMessage=undefined;this.validationIcon=undefined;this.name=undefined;this.allowCustomValues=undefined;this.overlayPositioning="absolute";this.required=false;this.selectionMode="multiple";this.scale="m";this.status="idle";this.value=null;this.flipPlacements=undefined;this.messages=undefined;this.messageOverrides=undefined;this.selectedItems=[];this.filteredItems=[];this.readOnly=false;this.items=[];this.groupItems=[];this.needsIcon=undefined;this.activeItemIndex=-1;this.activeChipIndex=-1;this.activeDescendant="";this.compactSelectionDisplay=false;this.selectedHiddenChipsCount=0;this.selectedVisibleChipsCount=0;this.text="";this.effectiveLocale=undefined;this.defaultMessages=undefined}openHandler(){B(this);if(this.disabled){this.open=false;return}this.setMaxScrollerHeight()}handleDisabledChange(t){if(!t){this.open=false}}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(true)}handlePropsChange(){this.updateItems()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();if(Array.isArray(t)){i.forEach((i=>i.selected=t.includes(i.value)))}else if(t){i.forEach((i=>i.selected=t===i.value))}else{i.forEach((t=>t.selected=false))}this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements();this.reposition(true)}selectedItemsHandler(){this.internalValueChangeFlag=true;this.value=this.getValue();this.internalValueChangeFlag=false}documentClickHandler(t){if(this.disabled){return}const i=t.composedPath();if(i.includes(this.el)||i.includes(this.referenceEl)){return}if(!this.allowCustomValues&&this.textInput.value){this.clearInputValue();this.filterItems("");this.updateActiveItemIndex(-1)}if(this.allowCustomValues&&this.text.trim().length){this.addCustomChip(this.text)}this.open=false}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag){return}const i=t.target;const e=this.filteredItems.indexOf(i);this.updateActiveItemIndex(e);this.toggleSelection(i,i.selected)}async reposition(t=false){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return m(this,{floatingEl:i,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},t)}async setFocus(){await j(this);this.textInput?.focus();this.activeChipIndex=-1;this.activeItemIndex=-1}connectedCallback(){I(this);P(this);T(this);H(this);v(this);this.internalValueChangeFlag=true;this.value=this.getValue();this.internalValueChangeFlag=false;this.mutationObserver?.observe(this.el,{childList:true,subtree:true});this.updateItems();this.setFilteredPlacements();if(this.open){this.openHandler();B(this)}u(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){O(this);this.updateItems();await R(this)}componentDidLoad(){y(this,this.getValue());u(this,this.referenceEl,this.floatingEl);M(this)}componentDidRender(){if(this.el.offsetHeight!==this.inputHeight){this.reposition(true);this.inputHeight=this.el.offsetHeight}z(this)}componentDidUpdate(){this.refreshSelectionDisplay()}disconnectedCallback(){this.mutationObserver?.disconnect();this.resizeObserver?.disconnect();$(this);S(this);w(this);f(this,this.referenceEl,this.floatingEl);F(this);W(this)}textHandler(){this.updateActiveItemIndex(-1)}effectiveLocaleChange(){V(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=true;this.items.forEach((t=>t.selected=false));this.ignoreSelectedEventsFlag=false;this.selectedItems=[];this.emitComboboxChange();this.open=false;this.updateActiveItemIndex(-1);this.resetText();this.filterItems("");this.setFocus()}clearInputValue(){this.textInput.value="";this.text=""}comboboxInViewport(){const t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.scrollToActiveItem();this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}ensureRecentSelectedItemIsActive(){const{selectedItems:t}=this;const i=t.length===0?0:this.items.indexOf(t[t.length-1]);this.updateActiveItemIndex(i)}hideChip(t){t.classList.add(Z.chipInvisible)}showChip(t){t.classList.remove(Z.chipInvisible)}refreshChipDisplay({chipEls:t,availableHorizontalChipElSpace:i,chipContainerElGap:e}){t.forEach((t=>{if(!t.selected){this.hideChip(t)}else{const s=l(t);if(s&&s<i){i-=s+e;this.showChip(t);return}}this.hideChip(t)}))}setCompactSelectionDisplay({chipContainerElGap:t,chipContainerElWidth:i,inputWidth:e,largestSelectedIndicatorChipWidth:s}){const n=Math.round(s+t+e);if(!this.maxCompactBreakpoint||this.maxCompactBreakpoint<n){this.maxCompactBreakpoint=n}this.compactSelectionDisplay=i<this.maxCompactBreakpoint}setVisibleAndHiddenChips(t){let i=0;t.forEach((t=>{if(t.selected&&!t.classList.contains(Z.chipInvisible)){i++}}));if(i!==this.selectedVisibleChipsCount){this.selectedVisibleChipsCount=i}const e=this.getSelectedItems().length-i;if(e!==this.selectedHiddenChipsCount){this.selectedHiddenChipsCount=e}}getMaxScrollerHeight(){const t=this.getItemsAndGroups().filter((t=>!t.hidden));const{maxItems:i}=this;let e=0;let s=0;if(t.length>i){t.forEach((t=>{if(e<i&&i>0){const i=this.calculateSingleItemHeight(t);if(i>0){s+=i;e++}}}))}return s}calculateSingleItemHeight(t){if(!t){return}let i=t.offsetHeight;const e=Array.from(t.querySelectorAll(Q));e.map((t=>t?.offsetHeight)).forEach((t=>{i-=t}));return i}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){if(!t||this.selectionMode==="single-persist"&&t.selected&&t.value===this.value){return}if(this.isMulti()){t.selected=i;this.updateAncestors(t);this.selectedItems=this.getSelectedItems();this.emitComboboxChange();this.resetText();this.filterItems("")}else{this.ignoreSelectedEventsFlag=true;this.items.forEach((e=>e.selected=e===t?i:false));this.ignoreSelectedEventsFlag=false;this.selectedItems=this.getSelectedItems();this.emitComboboxChange();if(this.textInput){this.textInput.value=t.textLabel}this.open=false;this.updateActiveItemIndex(-1);this.resetText();this.filterItems("")}}updateAncestors(t){if(this.selectionMode!=="ancestors"){return}const i=it(t);const e=et(t);if(t.selected){i.forEach((t=>{t.selected=true}))}else{e.forEach((t=>t.selected=false));[...i].forEach((t=>{if(!st(t)){t.selected=false}}))}}getFilteredItems(){return this.items.filter((t=>!t.hidden))}getData(){return this.items.map((t=>({filterDisabled:t.filterDisabled,value:t.value,label:t.textLabel})))}getNeedsIcon(){return ot(this.selectionMode)&&this.items.some((t=>t.icon))}resetText(){if(this.textInput){this.textInput.value=""}this.text=""}getItems(){const t=Array.from(this.el.querySelectorAll(q));return t.filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(J))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e){this.toggleSelection(e,true)}else{if(!this.isMulti()){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],false)}const e=document.createElement("calcite-combobox-item");e.value=t;e.textLabel=t;e.selected=true;this.el.appendChild(e);this.resetText();if(i){this.setFocus()}this.updateItems();this.filterItems("");this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],false);this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],false);this.setFocus()}previousChip(){if(this.text){return}const t=this.selectedItems.length-1;const i=this.activeChipIndex;this.activeChipIndex=i===-1?t:Math.max(i-1,0);this.updateActiveItemIndex(-1);this.focusChip()}nextChip(){if(this.text||this.activeChipIndex===-1){return}const t=this.selectedItems.length-1;const i=this.activeChipIndex+1;if(i>t){this.activeChipIndex=-1;this.setFocus()}else{this.activeChipIndex=i;this.focusChip()}this.updateActiveItemIndex(-1)}focusChip(){const t=this.selectedItems[this.activeChipIndex]?.guid;const i=t?this.referenceEl.querySelector(`#${ht}${t}`):null;i?.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.filteredItems;const e=(this.activeItemIndex+i+t)%i;this.updateActiveItemIndex(e);this.scrollToActiveItem()}updateActiveItemIndex(t){this.activeItemIndex=t;let i=null;this.filteredItems.forEach(((e,s)=>{if(s===t){e.active=true;i=`${rt}${e.guid}`}else{e.active=false}}));this.activeDescendant=i;if(this.activeItemIndex>-1){this.activeChipIndex=-1}}isAllSelected(){return this.getItems().length===this.getSelectedItems().length}isMulti(){return!ot(this.selectionMode)}renderChips(){const{activeChipIndex:i,scale:e,selectionMode:s,messages:n}=this;return this.selectedItems.map(((o,c)=>{const a={chip:true,"chip--active":i===c};const l=[...it(o)].reverse();const r=[...l,o].map((t=>t.textLabel));const h=s!=="ancestors"?o.textLabel:r.join(" / ");return t("calcite-chip",{class:a,closable:true,icon:o.icon,iconFlipRtl:o.iconFlipRtl,id:o.guid?`${ht}${o.guid}`:null,key:o.textLabel,messageOverrides:{dismissLabel:n.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(o),scale:e,selected:o.selected,title:h,value:o.value},h)}))}renderAllSelectedIndicatorChip(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s,setAllSelectedIndicatorChipEl:n}=this;const o=this.messages.allSelected;return t("calcite-chip",{class:{chip:true,[Z.chipInvisible]:!(this.isAllSelected()&&!s&&!i)},scale:e,title:o,value:"",ref:n},o)}renderAllSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s}=this;const n=this.messages.all||"All";return t("calcite-chip",{class:{chip:true,[Z.chipInvisible]:!(this.isAllSelected()&&!s&&i)},scale:e,title:n,value:""},n)}renderSelectedIndicatorChip(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:n,selectedHiddenChipsCount:o,selectedVisibleChipsCount:c,setSelectedIndicatorChipEl:a}=this;let l;let r;if(i){l=true}else{if(e==="single"){const t=s().length;if(this.isAllSelected()){l=true}else if(t>0){l=false}else{l=true}r=`${t} ${this.messages.selected}`}else if(e==="fit"){l=!!(this.isAllSelected()&&c===0||o===0);r=c>0?`+${o}`:`${o} ${this.messages.selected}`}}return t("calcite-chip",{class:{chip:true,[Z.chipInvisible]:l},scale:n,title:r,value:"",ref:a},r)}renderSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:n,selectedHiddenChipsCount:o}=this;let c;let a;if(i){const t=s().length;if(this.isAllSelected()){c=true}else if(e==="fit"){c=!(o>0);a=`${o||0}`}else if(e==="single"){c=!(t>0);a=`${t}`}}else{c=true}return t("calcite-chip",{class:{chip:true,[Z.chipInvisible]:c},scale:n,title:a,value:""},a)}get showingInlineIcon(){const{placeholderIcon:t,selectionMode:i,selectedItems:e,open:s}=this;const n=e[0];const o=n?.icon;const c=ot(i);return!s&&n?!!o&&c:!!t&&(!n||c)}renderInput(){const{guid:i,disabled:e,placeholder:s,selectionMode:n,selectedItems:o,open:c}=this;const a=ot(n);const l=o[0];const r=!c&&a&&!!l;return t("span",{class:{"input-wrap":true,"input-wrap--single":a}},r&&t("span",{class:{label:true,"label--icon":!!l?.icon},key:"label"},l.textLabel),t("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${pt}${i}`,"aria-expanded":h(c),"aria-haspopup":"listbox","aria-label":A(this),"aria-owns":`${pt}${i}`,class:{input:true,"input--single":true,"input--transparent":this.activeChipIndex>-1,"input--hidden":r,"input--icon":this.showingInlineIcon&&!!this.placeholderIcon},disabled:e,id:`${bt}${i}`,key:"input",onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,role:"combobox",type:"text",ref:t=>this.textInput=t}))}renderListBoxOptions(){return this.filteredItems.map((i=>t("li",{"aria-selected":h(i.selected),id:i.guid?`${rt}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:e,open:s}=this;const n={[Z.listContainer]:true,[g.animation]:true,[g.animationActive]:s};return t("div",{"aria-hidden":"true",class:{"floating-ui-container":true,"floating-ui-container--active":s},ref:i},t("div",{class:n,ref:e},t("ul",{class:{list:true,"list--hide":!s}},t("slot",null))))}renderSelectedOrPlaceholderIcon(){const{selectedItems:i,placeholderIcon:e,placeholderIconFlipRtl:s}=this;const n=i[0];const o=n?.icon;return this.showingInlineIcon&&t("span",{class:"icon-start",key:"selected-placeholder-icon"},t("calcite-icon",{class:"selected-icon",flipRtl:this.open&&n?n.iconFlipRtl:s,icon:!this.open&&n?o:e,scale:G(this.scale)}))}renderChevronIcon(){const{open:i}=this;return t("span",{class:"icon-end",key:"chevron"},t("calcite-icon",{icon:i?"chevron-up":"chevron-down",scale:G(this.scale)}))}render(){const{selectionDisplay:i,guid:e,label:n,open:o}=this;const c=ot(this.selectionMode);const a=i==="all";const l=i==="single";const r=!c&&i==="fit";const h=!this.clearDisabled&&this.value?.length>0;return t(s,{key:"cc4784d39f67470ce1c8323b2254b11d4d558058",onClick:this.comboboxFocusHandler},t(E,{key:"69f29b0e1a5c9b7cfcb7e6a7d8a647c3e478830c",disabled:this.disabled},t("div",{key:"b527e5580bb9db37bcc672b1d359a9e217901c16","aria-live":"polite",class:{wrapper:true,"wrapper--single":c||!this.selectedItems.length,"wrapper--active":o},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},this.renderSelectedOrPlaceholderIcon(),t("div",{class:{"grid-input":true,[Z.selectionDisplayFit]:r,[Z.selectionDisplaySingle]:l},key:"grid",ref:this.setChipContainerEl},!c&&!l&&this.renderChips(),!c&&!a&&[this.renderSelectedIndicatorChip(),this.renderSelectedIndicatorChipCompact(),this.renderAllSelectedIndicatorChip(),this.renderAllSelectedIndicatorChipCompact()],t("label",{key:"08d25d8515a7abd7a508596111d447218f6732c4",class:"screen-readers-only",htmlFor:`${bt}${e}`,id:`${dt}${e}`},n),this.renderInput()),h?t(N,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,this.renderChevronIcon()),t("ul",{key:"2ae757e2d5893eb67cd115d1294e12eb24fb369c","aria-labelledby":`${dt}${e}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${pt}${e}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),t(C,{key:"13e89d3e40c2b7058e5186d0d543f340eecb4205",component:this}),this.validationMessage&&this.status==="invalid"?t(X,{icon:this.validationIcon,message:this.validationMessage,scale:this.scale,status:this.status}):null))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],selectionMode:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"],effectiveLocale:["effectiveLocaleChange"]}}};ut.style=at;const mt={icon:"icon",iconActive:"icon--active",iconIndent:"icon--indent",custom:"icon--custom",dot:"icon--dot",single:"label--single",label:"label",active:"label--active",selected:"label--selected",title:"title",textContainer:"text-container"};const ft='@charset "UTF-8";: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}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.label--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, 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 )}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-color-border-1)}.icon--indent{padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-block-start:-1px;padding-inline-start:var(--calcite-combobox-item-spacing-unit-l);color:var(--calcite-color-text-3)}.icon--active{color:var(--calcite-color-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}:host(:hover[disabled]) .icon{opacity:1}';const gt=ft;const xt=class{constructor(t){i(this,t);this.calciteComboboxItemChange=e(this,"calciteComboboxItemChange",6);this.itemClickHandler=()=>{this.toggleSelected()};this.disabled=false;this.selected=false;this.active=false;this.ancestors=undefined;this.guid=k();this.icon=undefined;this.iconFlipRtl=false;this.textLabel=undefined;this.value=undefined;this.filterDisabled=undefined;this.selectionMode="multiple";this.scale="m"}selectedWatchHandler(){this.calciteComboboxItemChange.emit()}connectedCallback(){this.ancestors=tt(this.el);U(this);I(this)}disconnectedCallback(){Y(this);$(this)}componentDidRender(){z(this)}toggleSelected(){const t=this.selectionMode==="single-persist";if(this.disabled||t&&this.selected){return}this.selected=!this.selected}renderIcon(i){return this.icon?t("calcite-icon",{class:{[mt.custom]:!!this.icon,[mt.iconActive]:this.icon&&this.selected,[mt.iconIndent]:true},flipRtl:this.iconFlipRtl,icon:this.icon||i,key:"icon",scale:G(this.scale)}):null}renderSelectIndicator(i,e){return i?t("span",{class:{[mt.icon]:true,[mt.dot]:true,[mt.iconIndent]:true}}):t("calcite-icon",{class:{[mt.icon]:true,[mt.iconActive]:this.selected,[mt.iconIndent]:true},flipRtl:this.iconFlipRtl,icon:e,key:"indicator",scale:G(this.scale)})}renderChildren(){if(d(this.el)){return t("ul",{key:"default-slot-container"},t("slot",null))}return null}render(){const{disabled:i}=this;const e=ot(this.selectionMode);const n=e&&!i;const o=e?"dot":"check";const c=i?"":o;const a={[mt.label]:true,[mt.selected]:this.selected,[mt.active]:this.active,[mt.single]:e};const l=nt(this.el);return t(s,{key:"ceb1a07adfde27b81de6fcf57b64e05be007ecf1","aria-hidden":"true"},t(E,{key:"a4b834edacbeab11feda95494b67b2de817aa518",disabled:i},t("div",{key:"1fbcc5a68642f39f25c5773175cf3b4cc2562e56",class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${l}`}},t("li",{key:"77cc4c93918b6a4b88462137ac4c31882e77fc06",class:a,id:this.guid,onClick:this.itemClickHandler},this.renderSelectIndicator(n,c),this.renderIcon(c),t("span",{key:"e2e21ad670326fc45727b610f8952e227fb35479",class:"title"},this.textLabel)),this.renderChildren())))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};xt.style=gt;const vt={list:"list",label:"label",title:"title"};const yt=".scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}:host,.list{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%;color:var(--calcite-color-text-3)}.title{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-color-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:var(--calcite-combobox-item-spacing-unit-s);margin-inline-start:var(--calcite-combobox-item-indent-value)}::slotted(calcite-combobox-item-group:not([after-empty-group])){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}:host([hidden]){display:none}[hidden]{display:none}";const wt=yt;const Ct=class{constructor(t){i(this,t);this.guid=k();this.afterEmptyGroup=false;this.ancestors=undefined;this.label=undefined;this.scale="m"}connectedCallback(){this.ancestors=tt(this.el)}render(){const{el:i,scale:e}=this;const s=nt(i);return t("ul",{key:"94c56201402c6b0d267fbb91bcdfe8b63c785eb5","aria-labelledby":this.guid,class:{[vt.list]:true,[`scale--${e}`]:true},role:"group"},t("li",{key:"90a3511346a1958416125e735267160aa684e175",class:{[vt.label]:true},id:this.guid,role:"presentation",style:{"--calcite-combobox-item-spacing-indent-multiplier":`${s}`}},t("span",{key:"c89c91239b057ba505528bd4347240f9cf18c19a",class:vt.title},this.label)),t("slot",{key:"c3321f43982bda785759b576ca727d7ea37f7cbe"}))}get el(){return n(this)}};Ct.style=wt;export{ut as calcite_combobox,xt as calcite_combobox_item,Ct as calcite_combobox_item_group};
7
- //# sourceMappingURL=p-2a4f96a1.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["CSS","button","XButton","disabled","key","label","onClick","ref","scale","h","class","tabIndex","type","icon","getIconScale","ComboboxItem","ComboboxItemGroup","ComboboxChildSelector","chipInvisible","selectionDisplayFit","selectionDisplaySingle","listContainer","getAncestors","element","parent","parentElement","closest","grandparent","filter","el","getItemAncestors","item","ancestors","nodeName","getItemChildren","nodeListToArray","querySelectorAll","hasActiveChildren","node","items","selected","length","getDepth","result","document","evaluate","XPathResult","UNORDERED_NODE_SNAPSHOT_TYPE","snapshotLength","isSingleLike","selectionMode","includes","comboboxCss","CalciteComboboxStyle0","isGroup","tagName","itemUidPrefix","chipUidPrefix","labelUidPrefix","listboxUidPrefix","inputUidPrefix","Combobox","this","placement","defaultMenuPlacement","internalValueChangeFlag","textInput","mutationObserver","createObserver","updateItems","resizeObserver","setMaxScrollerHeight","refreshSelectionDisplay","guid","inputHeight","ignoreSelectedEventsFlag","openTransitionProp","setFilteredPlacements","flipPlacements","filteredFlipPlacements","filterComputedPlacements","getValue","selectedItems","map","value","toString","onLabelClick","setFocus","keyDownHandler","event","activeChipIndex","activeItemIndex","allowCustomValues","text","addCustomChip","preventDefault","open","clearInputValue","filterItems","updateActiveItemIndex","previousChip","nextChip","shiftActiveItemIndex","comboboxInViewport","scrollIntoView","ensureRecentSelectedItemIsActive","defaultPrevented","scrollToActiveItem","filteredItems","clearDisabled","clearValue","toggleSelection","removeActiveChip","submitForm","notDeletable","selectionDisplay","selectedHiddenChipsCount","isMulti","removeLastChip","toggleCloseEnd","removeEventListener","toggleOpenEnd","async","listContainerEl","referenceEl","reposition","maxScrollerHeight","getMaxScrollerHeight","style","maxHeight","minWidth","clientWidth","calciteChipCloseHandler","comboboxItem","selection","find","calciteComboboxChipClose","emit","clickHandler","readOnly","composedPath","some","classList","contains","XButtonCSS","componentLoaded","allSelectedIndicatorChipEl","chipContainerEl","placeholder","selectedIndicatorChipEl","chipContainerElGap","parseInt","getComputedStyle","gap","replace","chipContainerElWidth","getElementWidth","fontSize","fontFamily","inputTextWidth","getTextWidth","inputWidth","calciteSize48","allSelectedIndicatorChipElWidth","selectedIndicatorChipElWidth","largestSelectedIndicatorChipWidth","Math","max","setCompactSelectionDisplay","chipEls","Array","from","shadowRoot","chipEl","closable","availableHorizontalChipElSpace","round","refreshChipDisplay","setVisibleAndHiddenChips","setFloatingEl","floatingEl","connectFloatingUI","setContainerEl","observe","transitionEl","setChipContainerEl","setReferenceEl","setAllSelectedIndicatorChipEl","setSelectedIndicatorChipEl","inputHandler","target","filteredData","textLabel","debounce","data","itemsAndGroups","getItemsAndGroups","forEach","hidden","ancestor","getFilteredItems","calciteComboboxFilterChange","internalComboboxChangeEvent","calciteComboboxChange","emitComboboxChange","getSelectedItems","match","sort","a","b","aIdx","indexOf","bIdx","getItems","groupItems","getGroupItems","getData","needsIcon","getNeedsIcon","groupItem","index","afterEmptyGroup","nextGroupItem","children","activeItem","height","calculateSingleItemHeight","offsetHeight","scrollTop","offsetTop","comboboxFocusHandler","focus","openHandler","onToggleOpenCloseComponent","handleDisabledChange","maxItemsHandler","overlayPositioningHandler","handlePropsChange","valueHandler","isArray","onMessagesChange","flipPlacementsHandler","selectedItemsHandler","documentClickHandler","trim","calciteComboboxItemChangeHandler","newIndex","delayed","overlayPositioning","componentFocusable","connectedCallback","connectInteractive","connectLocalized","connectMessages","connectLabel","connectForm","childList","subtree","componentWillLoad","setUpLoadableComponent","setUpMessages","componentDidLoad","afterConnectDefaultValueSet","setComponentLoaded","componentDidRender","updateHostInteraction","componentDidUpdate","disconnectedCallback","disconnect","disconnectInteractive","disconnectLabel","disconnectForm","disconnectFloatingUI","disconnectLocalized","disconnectMessages","textHandler","effectiveLocaleChange","updateMessages","effectiveLocale","resetText","bounding","getBoundingClientRect","top","left","right","window","innerWidth","documentElement","bottom","innerHeight","clientHeight","onBeforeOpen","calciteComboboxBeforeOpen","onOpen","calciteComboboxOpen","onBeforeClose","calciteComboboxBeforeClose","onClose","calciteComboboxClose","targetIndex","hideChip","add","showChip","remove","chipElWidth","newCompactBreakpoint","maxCompactBreakpoint","compactSelectionDisplay","newSelectedVisibleChipsCount","selectedVisibleChipsCount","newSelectedHiddenChipsCount","maxItems","itemsToProcess","child","updateAncestors","filterDisabled","existingItem","createElement","appendChild","active","focusChip","last","chip","querySelector","delta","activeDescendant","i","isAllSelected","renderChips","messages","chipClasses","reverse","pathLabel","join","iconFlipRtl","id","messageOverrides","dismissLabel","removeTag","onCalciteChipClose","title","renderAllSelectedIndicatorChip","allSelected","renderAllSelectedIndicatorChipCompact","all","renderSelectedIndicatorChip","selectedItemsCount","renderSelectedIndicatorChipCompact","showingInlineIcon","placeholderIcon","selectedItem","selectedIcon","singleSelectionMode","renderInput","single","showLabel","toAriaBoolean","getLabelText","input","onFocus","onInput","role","renderListBoxOptions","tabindex","renderFloatingUIContainer","classes","FloatingCSS","animation","animationActive","list","renderSelectedOrPlaceholderIcon","placeholderIconFlipRtl","flipRtl","renderChevronIcon","render","allSelectionDisplay","singleSelectionDisplay","fitSelectionDisplay","isClearable","Host","InteractiveContainer","wrapper","onKeyDown","htmlFor","clear","HiddenFormInputSlot","component","validationMessage","status","Validation","validationIcon","message","iconActive","iconIndent","custom","dot","textContainer","comboboxItemCss","CalciteComboboxItemStyle0","itemClickHandler","toggleSelected","selectedWatchHandler","calciteComboboxItemChange","connectConditionalSlotComponent","disconnectConditionalSlotComponent","isSinglePersistSelect","renderIcon","iconPath","renderSelectIndicator","showDot","renderChildren","getSlotted","isSingleSelect","defaultIcon","depth","comboboxItemGroupCss","CalciteComboboxItemGroupStyle0"],"sources":["src/components/functional/XButton.tsx","src/components/combobox/resources.ts","src/components/combobox/utils.ts","src/components/combobox/combobox.scss?tag=calcite-combobox&encapsulation=shadow","src/components/combobox/combobox.tsx","src/components/combobox-item/resources.ts","src/components/combobox-item/combobox-item.scss?tag=calcite-combobox-item&encapsulation=shadow","src/components/combobox-item/combobox-item.tsx","src/components/combobox-item-group/resources.ts","src/components/combobox-item-group/combobox-item-group.scss?tag=calcite-combobox-item-group&encapsulation=shadow","src/components/combobox-item-group/combobox-item-group.tsx"],"sourcesContent":["import { FunctionalComponent, h } from \"@stencil/core\";\nimport { JSXAttributes, JSXBase } from \"@stencil/core/internal\";\nimport { Scale } from \"../interfaces\";\nimport { getIconScale } from \"../../utils/component\";\n\nexport interface XButtonOptions extends JSXAttributes {\n disabled: boolean;\n label: string;\n scale: Scale;\n onClick?: JSXBase.DOMAttributes<HTMLElement>[\"onClick\"];\n}\n\nexport const CSS = {\n button: \"x-button\",\n};\n\nexport function XButton({\n disabled,\n key,\n label,\n onClick,\n ref,\n scale,\n}: XButtonOptions): FunctionalComponent {\n return (\n <button\n aria-label={label}\n class={CSS.button}\n disabled={disabled}\n key={key}\n onClick={onClick}\n tabIndex={-1}\n type=\"button\"\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={ref}\n >\n <calcite-icon icon=\"x\" scale={getIconScale(scale)} />\n </button>\n );\n}\n","export const ComboboxItem = \"CALCITE-COMBOBOX-ITEM\";\nexport const ComboboxItemGroup = \"CALCITE-COMBOBOX-ITEM-GROUP\";\nexport const ComboboxChildSelector = `${ComboboxItem}, ${ComboboxItemGroup}`;\n\nexport const CSS = {\n chipInvisible: \"chip--invisible\",\n selectionDisplayFit: \"selection-display-fit\",\n selectionDisplaySingle: \"selection-display-single\",\n listContainer: \"list-container\",\n};\n","import { Build } from \"@stencil/core\";\nimport { nodeListToArray } from \"../../utils/dom\";\nimport { ComboboxChildElement } from \"./interfaces\";\nimport { ComboboxChildSelector } from \"./resources\";\nimport { Combobox } from \"./combobox\";\n\nexport function getAncestors(element: HTMLElement): ComboboxChildElement[] {\n const parent: ComboboxChildElement = element.parentElement?.closest(ComboboxChildSelector);\n const grandparent: ComboboxChildElement = parent?.parentElement?.closest(ComboboxChildSelector);\n return [parent, grandparent].filter((el) => el);\n}\n\nexport function getItemAncestors(item: HTMLCalciteComboboxItemElement): HTMLCalciteComboboxItemElement[] {\n return (\n (item.ancestors?.filter((el) => el.nodeName === \"CALCITE-COMBOBOX-ITEM\") as HTMLCalciteComboboxItemElement[]) || []\n );\n}\n\nexport function getItemChildren(item: HTMLCalciteComboboxItemElement): HTMLCalciteComboboxItemElement[] {\n return nodeListToArray(item.querySelectorAll(\"calcite-combobox-item\"));\n}\n\nexport function hasActiveChildren(node: HTMLCalciteComboboxItemElement): boolean {\n const items = nodeListToArray(node.querySelectorAll(\"calcite-combobox-item\"));\n return items.filter((item) => item.selected).length > 0;\n}\n\nexport function getDepth(element: HTMLElement): number {\n if (!Build.isBrowser) {\n return 0;\n }\n\n const result = document.evaluate(\n \"ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group\",\n element,\n null,\n XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,\n null,\n );\n\n return result.snapshotLength;\n}\n\nexport function isSingleLike(selectionMode: Combobox[\"selectionMode\"]): boolean {\n return selectionMode.includes(\"single\");\n}\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-combobox-input-height: Specifies the height of the component's input.\n */\n\n:host {\n @apply relative block;\n}\n\n@include disabled();\n@include xButton();\n\n:host([scale=\"s\"]) {\n @apply text-n2;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-combobox-input-height: theme(\"spacing.4\");\n --calcite-internal-combobox-input-margin-block: calc(theme(\"spacing.1\") - theme(\"borderWidth.DEFAULT\"));\n\n .x-button {\n margin-inline: theme(\"spacing.2\");\n }\n}\n\n:host([scale=\"m\"]) {\n @apply text-n1;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.3\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-combobox-input-height: theme(\"spacing.4\");\n --calcite-internal-combobox-input-margin-block: calc(theme(\"spacing.2\") - theme(\"borderWidth.DEFAULT\"));\n\n .x-button {\n margin-inline-end: theme(\"spacing.3\");\n }\n}\n\n:host([scale=\"l\"]) {\n @apply text-0;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.4\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.3\");\n --calcite-combobox-input-height: theme(\"spacing.6\");\n --calcite-internal-combobox-input-margin-block: calc(theme(\"spacing[2.5]\") - theme(\"borderWidth.DEFAULT\"));\n\n .x-button {\n margin-inline-end: theme(\"spacing.4\");\n }\n}\n\n.wrapper {\n @apply bg-foreground-1\n text-color-1\n focus-base\n flex\n border-color-input\n border\n border-solid;\n padding-block: calc(var(--calcite-combobox-item-spacing-unit-s) / 4);\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n:host(:focus-within) .wrapper,\n.wrapper--active {\n @apply focus-inset;\n}\n\n:host([status=\"invalid\"]) .wrapper {\n @apply border-color-danger;\n}\n\n:host([status=\"invalid\"]:focus-within) .wrapper {\n @apply focus-inset-danger;\n}\n\n.wrapper--single {\n padding-block: 0;\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n @apply cursor-pointer flex-nowrap;\n}\n\n.grid-input {\n @apply flex\n flex-grow\n flex-wrap\n items-center\n relative\n truncate\n p-0;\n\n gap: var(--calcite-combobox-item-spacing-unit-s);\n margin-inline-end: var(--calcite-combobox-item-spacing-unit-s);\n\n &.selection-display-fit,\n &.selection-display-single {\n @apply flex-nowrap overflow-hidden;\n }\n}\n\n.input {\n @apply appearance-none\n bg-transparent\n border-none\n flex-grow\n font-inherit\n text-color-1\n text-ellipsis\n overflow-hidden\n p-0;\n font-size: inherit;\n block-size: var(--calcite-combobox-input-height);\n line-height: var(--calcite-combobox-input-height);\n inline-size: 100%;\n margin-block-end: var(--calcite-combobox-item-spacing-unit-s);\n min-inline-size: 4.8125rem;\n &:focus {\n @apply outline-none;\n }\n\n &:placeholder-shown {\n @apply text-ellipsis;\n }\n}\n\n.input--transparent {\n @apply opacity-0;\n}\n\n.input--single {\n @apply p-0;\n margin-block: var(--calcite-internal-combobox-input-margin-block);\n}\n\n.wrapper--active .input-single {\n @apply cursor-text;\n}\n\n.input--hidden {\n @apply pointer-events-none\n w-0\n min-w-0\n opacity-0;\n}\n\n.input--icon {\n padding-block: 0;\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.input-wrap {\n @apply flex flex-grow items-center;\n}\n\n.input-wrap--single {\n @apply flex-1 overflow-hidden;\n}\n\n.label {\n @apply pointer-events-none\n max-w-full\n flex-auto\n truncate\n p-0\n font-normal;\n block-size: var(--calcite-combobox-input-height);\n line-height: var(--calcite-combobox-input-height);\n}\n\n.label--icon {\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.icon-end,\n.icon-start {\n @apply flex cursor-pointer items-center;\n}\n\n.icon-end {\n @apply flex-none;\n}\n\n.floating-ui-container {\n --calcite-floating-ui-z-index: theme(\"zIndex.dropdown\");\n @include floatingUIContainer();\n @include floatingUIWrapper();\n}\n\n@include floatingUIElemAnim(\".floating-ui-container\");\n\n.floating-ui-container--active {\n @include floatingUIWrapperActive();\n}\n\n@media (forced-colors: active) {\n .wrapper,\n .floating-ui-container--active {\n border: 1px solid canvasText;\n }\n}\n\n.screen-readers-only {\n @apply sr-only;\n}\n\n.list-container {\n @apply bg-foreground-1\n max-h-menu\n overflow-y-auto;\n inline-size: var(--calcite-dropdown-width);\n}\n\n.list {\n @apply m-0 block p-0;\n}\n\n.list--hide {\n @apply h-0 overflow-hidden;\n}\n\ncalcite-chip {\n --calcite-animation-timing: 0;\n}\n\n.chip {\n margin-block: calc(var(--calcite-combobox-item-spacing-unit-s) / 4);\n max-inline-size: 100%;\n}\n\n.chip--active {\n @apply bg-foreground-3;\n}\n\n.chip--invisible {\n @apply absolute invisible;\n}\n\n.item {\n @apply block;\n}\n\n@include form-validation-message();\n@include hidden-form-input();\n@include base-component();\n\n::slotted(calcite-combobox-item-group:not(:first-child)) {\n padding-block-start: var(--calcite-combobox-item-spacing-unit-l);\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { debounce } from \"lodash-es\";\nimport { calciteSize48 } from \"@esri/calcite-design-tokens/dist/es6/core.js\";\nimport { filter } from \"../../utils/filter\";\nimport { getElementWidth, getTextWidth, toAriaBoolean } from \"../../utils/dom\";\nimport {\n connectFloatingUI,\n defaultMenuPlacement,\n disconnectFloatingUI,\n EffectivePlacement,\n filterComputedPlacements,\n FloatingCSS,\n FloatingUIComponent,\n LogicalPlacement,\n OverlayPositioning,\n reposition,\n} from \"../../utils/floating-ui\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n submitForm,\n} 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, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport {\n componentFocusable,\n componentLoaded,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { connectLocalized, disconnectLocalized } from \"../../utils/locale\";\nimport { createObserver } from \"../../utils/observers\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { Scale, SelectionMode, Status } from \"../interfaces\";\nimport { XButton, CSS as XButtonCSS } from \"../functional/XButton\";\nimport { getIconScale } from \"../../utils/component\";\nimport { Validation } from \"../functional/Validation\";\nimport { ComboboxMessages } from \"./assets/combobox/t9n\";\nimport { ComboboxChildElement, SelectionDisplay } from \"./interfaces\";\nimport { ComboboxChildSelector, ComboboxItem, ComboboxItemGroup, CSS } from \"./resources\";\nimport { getItemAncestors, getItemChildren, hasActiveChildren, isSingleLike } from \"./utils\";\n\ninterface ItemData {\n label: string;\n value: string;\n}\n\nconst isGroup = (el: ComboboxChildElement): el is HTMLCalciteComboboxItemGroupElement =>\n el.tagName === ComboboxItemGroup;\n\nconst itemUidPrefix = \"combobox-item-\";\nconst chipUidPrefix = \"combobox-chip-\";\nconst labelUidPrefix = \"combobox-label-\";\nconst listboxUidPrefix = \"combobox-listbox-\";\nconst inputUidPrefix = \"combobox-input-\";\n\n/**\n * @slot - A slot for adding `calcite-combobox-item`s.\n */\n@Component({\n tag: \"calcite-combobox\",\n styleUrl: \"combobox.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Combobox\n implements\n LabelableComponent,\n FormComponent,\n InteractiveComponent,\n OpenCloseComponent,\n FloatingUIComponent,\n T9nComponent,\n LoadableComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, the value-clearing will be disabled.\n */\n @Prop({ reflect: true }) clearDisabled = false;\n\n /**\n * When `selectionMode` is `\"ancestors\"` or `\"multiple\"`, specifies the display of multiple `calcite-combobox-item` selections, where:\n *\n * `\"all\"` displays all selections with individual `calcite-chip`s,\n *\n * `\"fit\"` displays individual `calcite-chip`s that scale to the component's size, including a non-closable `calcite-chip`, which provides the number of additional `calcite-combobox-item` selections not visually displayed, and\n *\n * `\"single\"` displays one `calcite-chip` with the total number of selections.\n */\n @Prop({ reflect: true }) selectionDisplay: SelectionDisplay = \"all\";\n\n /**When `true`, displays and positions the component. */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n\n if (this.disabled) {\n this.open = false;\n return;\n }\n\n this.setMaxScrollerHeight();\n }\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n @Watch(\"disabled\")\n handleDisabledChange(value: boolean): void {\n if (!value) {\n this.open = false;\n }\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 }) form: string;\n\n /** Accessible name for the component. */\n @Prop() label!: string;\n\n /** Specifies the placeholder text for the input. */\n @Prop() placeholder: string;\n\n /** Specifies the placeholder icon for the input. */\n @Prop({ reflect: true }) placeholderIcon: string;\n\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) placeholderIconFlipRtl = false;\n\n /** Specifies the maximum number of `calcite-combobox-item`s (including nested children) to display before displaying a scrollbar. */\n @Prop({ reflect: true }) maxItems = 0;\n\n @Watch(\"maxItems\")\n maxItemsHandler(): void {\n this.setMaxScrollerHeight();\n }\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({ reflect: true }) 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 @Prop({ reflect: true }) name: string;\n\n /** When `true`, allows entry of custom values, which are not in the original set of items. */\n @Prop({ reflect: true }) allowCustomValues: boolean;\n\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n *\n * `\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n @Prop({ reflect: true }) overlayPositioning: OverlayPositioning = \"absolute\";\n\n @Watch(\"overlayPositioning\")\n overlayPositioningHandler(): void {\n this.reposition(true);\n }\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 /**\n * Specifies the selection mode of the component, where:\n *\n * `\"multiple\"` allows any number of selections,\n *\n * `\"single\"` allows only one selection,\n *\n * `\"single-persist\"` allows one selection and prevents de-selection, and\n *\n * `\"ancestors\"` allows multiple selections, but shows ancestors of selected items as selected, with only deepest children shown in chips.\n */\n @Prop({ reflect: true }) selectionMode: Extract<\n \"single\" | \"single-persist\" | \"ancestors\" | \"multiple\",\n SelectionMode\n > = \"multiple\";\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 @Watch(\"selectionMode\")\n @Watch(\"scale\")\n handlePropsChange(): void {\n this.updateItems();\n }\n\n /** The component's value(s) from the selected `calcite-combobox-item`(s). */\n @Prop({ mutable: true }) value: string | string[] = null;\n\n @Watch(\"value\")\n valueHandler(value: string | string[]): void {\n if (!this.internalValueChangeFlag) {\n const items = this.getItems();\n if (Array.isArray(value)) {\n items.forEach((item) => (item.selected = value.includes(item.value)));\n } else if (value) {\n items.forEach((item) => (item.selected = value === item.value));\n } else {\n items.forEach((item) => (item.selected = false));\n }\n this.updateItems();\n }\n }\n\n /**\n * Defines the available placements that can be used when a flip occurs.\n */\n @Prop() flipPlacements: EffectivePlacement[];\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: ComboboxMessages;\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<ComboboxMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n @Watch(\"flipPlacements\")\n flipPlacementsHandler(): void {\n this.setFilteredPlacements();\n this.reposition(true);\n }\n\n /**\n * Specifies the component's selected items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItems: HTMLCalciteComboboxItemElement[] = [];\n\n @Watch(\"selectedItems\")\n selectedItemsHandler(): void {\n this.internalValueChangeFlag = true;\n this.value = this.getValue();\n this.internalValueChangeFlag = false;\n }\n\n /**\n * Specifies the component's filtered items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) filteredItems: HTMLCalciteComboboxItemElement[] = [];\n\n /**\n * When `true`, the component's value can be read, but controls are not accessible and the value cannot be modified.\n */\n @Prop({ reflect: true }) readOnly = false;\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"click\", { target: \"document\" })\n documentClickHandler(event: PointerEvent): void {\n if (this.disabled) {\n return;\n }\n\n const composedPath = event.composedPath();\n\n if (composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {\n return;\n }\n\n if (!this.allowCustomValues && this.textInput.value) {\n this.clearInputValue();\n this.filterItems(\"\");\n this.updateActiveItemIndex(-1);\n }\n\n if (this.allowCustomValues && this.text.trim().length) {\n this.addCustomChip(this.text);\n }\n\n this.open = false;\n }\n\n @Listen(\"calciteComboboxItemChange\")\n calciteComboboxItemChangeHandler(event: CustomEvent<HTMLCalciteComboboxItemElement>): void {\n if (this.ignoreSelectedEventsFlag) {\n return;\n }\n\n const target = event.target as HTMLCalciteComboboxItemElement;\n const newIndex = this.filteredItems.indexOf(target);\n this.updateActiveItemIndex(newIndex);\n this.toggleSelection(target, target.selected);\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Updates the position of the component.\n *\n * @param delayed Reposition the component after a delay\n * @returns Promise\n */\n @Method()\n async reposition(delayed = false): Promise<void> {\n const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;\n\n return reposition(\n this,\n {\n floatingEl,\n referenceEl,\n overlayPositioning,\n placement,\n flipPlacements: filteredFlipPlacements,\n type: \"menu\",\n },\n delayed,\n );\n }\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n this.textInput?.focus();\n this.activeChipIndex = -1;\n this.activeItemIndex = -1;\n }\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires when the selected item(s) changes.\n */\n @Event({ cancelable: false }) calciteComboboxChange: EventEmitter<void>;\n\n /** Fires when text is added to filter the options list. */\n @Event({ cancelable: false }) calciteComboboxFilterChange: EventEmitter<void>;\n\n /**\n * Fires when a selected item in the component is closed via its `calcite-chip`.\n */\n @Event({ cancelable: false }) calciteComboboxChipClose: EventEmitter<void>;\n\n /** Fires when the component is requested to be closed, and before the closing transition begins. */\n @Event({ cancelable: false }) calciteComboboxBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteComboboxClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteComboboxBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteComboboxOpen: EventEmitter<void>;\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 this.internalValueChangeFlag = true;\n this.value = this.getValue();\n this.internalValueChangeFlag = false;\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n\n this.updateItems();\n this.setFilteredPlacements();\n\n if (this.open) {\n this.openHandler();\n onToggleOpenCloseComponent(this);\n }\n\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n this.updateItems();\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n afterConnectDefaultValueSet(this, this.getValue());\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n if (this.el.offsetHeight !== this.inputHeight) {\n this.reposition(true);\n this.inputHeight = this.el.offsetHeight;\n }\n\n updateHostInteraction(this);\n }\n\n componentDidUpdate(): void {\n this.refreshSelectionDisplay();\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n this.resizeObserver?.disconnect();\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n disconnectFloatingUI(this, this.referenceEl, this.floatingEl);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n private allSelectedIndicatorChipEl: HTMLCalciteChipElement;\n\n @Element() el: HTMLCalciteComboboxElement;\n\n placement: LogicalPlacement = defaultMenuPlacement;\n\n filteredFlipPlacements: EffectivePlacement[];\n\n internalValueChangeFlag = false;\n\n labelEl: HTMLCalciteLabelElement;\n\n formEl: HTMLFormElement;\n\n defaultValue: Combobox[\"value\"];\n\n @State() items: HTMLCalciteComboboxItemElement[] = [];\n\n @State() groupItems: HTMLCalciteComboboxItemGroupElement[] = [];\n\n @State() needsIcon: boolean;\n\n @State() activeItemIndex = -1;\n\n @State() activeChipIndex = -1;\n\n @State() activeDescendant = \"\";\n\n @State() compactSelectionDisplay = false;\n\n @State() selectedHiddenChipsCount = 0;\n\n @State() selectedVisibleChipsCount = 0;\n\n @State() text = \"\";\n\n /** when search text is cleared, reset active to */\n @Watch(\"text\")\n textHandler(): void {\n this.updateActiveItemIndex(-1);\n }\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: ComboboxMessages;\n\n textInput: HTMLInputElement = null;\n\n data: ItemData[];\n\n mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n\n private resizeObserver = createObserver(\"resize\", () => {\n this.setMaxScrollerHeight();\n this.refreshSelectionDisplay();\n });\n\n private guid = guid();\n\n private inputHeight = 0;\n\n private floatingEl: HTMLDivElement;\n\n private referenceEl: HTMLDivElement;\n\n private chipContainerEl: HTMLDivElement;\n\n private listContainerEl: HTMLDivElement;\n\n private ignoreSelectedEventsFlag = false;\n\n private maxCompactBreakpoint: number;\n\n openTransitionProp = \"opacity\";\n\n private selectedIndicatorChipEl: HTMLCalciteChipElement;\n\n transitionEl: HTMLDivElement;\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private clearValue(): void {\n this.ignoreSelectedEventsFlag = true;\n this.items.forEach((el) => (el.selected = false));\n this.ignoreSelectedEventsFlag = false;\n this.selectedItems = [];\n this.emitComboboxChange();\n this.open = false;\n this.updateActiveItemIndex(-1);\n this.resetText();\n this.filterItems(\"\");\n this.setFocus();\n }\n\n private clearInputValue(): void {\n this.textInput.value = \"\";\n this.text = \"\";\n }\n\n setFilteredPlacements = (): void => {\n const { el, flipPlacements } = this;\n\n this.filteredFlipPlacements = flipPlacements\n ? filterComputedPlacements(flipPlacements, el)\n : null;\n };\n\n getValue = (): string | string[] => {\n const items = this.selectedItems.map((item) => item?.value?.toString());\n return items?.length ? (items.length > 1 ? items : items[0]) : \"\";\n };\n\n onLabelClick = (): void => {\n this.setFocus();\n };\n\n private comboboxInViewport(): boolean {\n const bounding = this.el.getBoundingClientRect();\n return (\n bounding.top >= 0 &&\n bounding.left >= 0 &&\n bounding.right <= (window.innerWidth || document.documentElement.clientWidth) &&\n bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight)\n );\n }\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n const { key } = event;\n\n switch (key) {\n case \"Tab\":\n this.activeChipIndex = -1;\n this.activeItemIndex = -1;\n if (this.allowCustomValues && this.text) {\n this.addCustomChip(this.text, true);\n event.preventDefault();\n } else if (this.open) {\n this.open = false;\n event.preventDefault();\n } else if (!this.allowCustomValues && this.text) {\n this.clearInputValue();\n this.filterItems(\"\");\n this.updateActiveItemIndex(-1);\n }\n break;\n case \"ArrowLeft\":\n this.previousChip();\n event.preventDefault();\n break;\n case \"ArrowRight\":\n this.nextChip();\n event.preventDefault();\n break;\n case \"ArrowUp\":\n event.preventDefault();\n if (this.open) {\n this.shiftActiveItemIndex(-1);\n }\n\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \"ArrowDown\":\n event.preventDefault();\n if (this.open) {\n this.shiftActiveItemIndex(1);\n } else {\n this.open = true;\n this.ensureRecentSelectedItemIsActive();\n }\n\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \" \":\n if (!this.textInput.value && !event.defaultPrevented) {\n if (!this.open) {\n this.open = true;\n this.shiftActiveItemIndex(1);\n }\n event.preventDefault();\n }\n break;\n case \"Home\":\n if (!this.open) {\n return;\n }\n event.preventDefault();\n this.updateActiveItemIndex(0);\n this.scrollToActiveItem();\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \"End\":\n if (!this.open) {\n return;\n }\n event.preventDefault();\n this.updateActiveItemIndex(this.filteredItems.length - 1);\n this.scrollToActiveItem();\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \"Escape\":\n if (!this.clearDisabled && !this.open) {\n this.clearValue();\n }\n\n this.open = false;\n event.preventDefault();\n break;\n case \"Enter\":\n if (this.open && this.activeItemIndex > -1) {\n this.toggleSelection(this.filteredItems[this.activeItemIndex]);\n event.preventDefault();\n } else if (this.activeChipIndex > -1) {\n this.removeActiveChip();\n event.preventDefault();\n } else if (this.allowCustomValues && this.text) {\n this.addCustomChip(this.text, true);\n event.preventDefault();\n } else if (!event.defaultPrevented) {\n if (submitForm(this)) {\n event.preventDefault();\n }\n }\n break;\n case \"Delete\":\n case \"Backspace\":\n const notDeletable =\n this.selectionDisplay === \"single\" ||\n (this.selectionDisplay === \"fit\" && this.selectedHiddenChipsCount > 0);\n if (notDeletable) {\n return;\n }\n if (this.activeChipIndex > -1) {\n event.preventDefault();\n this.removeActiveChip();\n } else if (!this.text && this.isMulti()) {\n event.preventDefault();\n this.removeLastChip();\n }\n break;\n }\n };\n\n private toggleCloseEnd = (): void => {\n this.open = false;\n this.el.removeEventListener(\"calciteComboboxClose\", this.toggleCloseEnd);\n };\n\n private toggleOpenEnd = (): void => {\n this.open = false;\n this.el.removeEventListener(\"calciteComboboxOpen\", this.toggleOpenEnd);\n };\n\n onBeforeOpen(): void {\n this.scrollToActiveItem();\n this.calciteComboboxBeforeOpen.emit();\n }\n\n onOpen(): void {\n this.calciteComboboxOpen.emit();\n }\n\n onBeforeClose(): void {\n this.calciteComboboxBeforeClose.emit();\n }\n\n onClose(): void {\n this.calciteComboboxClose.emit();\n }\n\n setMaxScrollerHeight = async (): Promise<void> => {\n const { listContainerEl, open, referenceEl } = this;\n\n if (!listContainerEl || !open) {\n return;\n }\n\n await this.reposition(true);\n const maxScrollerHeight = this.getMaxScrollerHeight();\n listContainerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : \"\";\n listContainerEl.style.minWidth = `${referenceEl.clientWidth}px`;\n await this.reposition(true);\n };\n\n calciteChipCloseHandler = (comboboxItem: HTMLCalciteComboboxItemElement): void => {\n this.open = false;\n\n const selection = this.items.find((item) => item === comboboxItem);\n\n if (selection) {\n this.toggleSelection(selection, false);\n }\n\n this.calciteComboboxChipClose.emit();\n };\n\n clickHandler = (event: MouseEvent): void => {\n if (this.readOnly) {\n return;\n }\n\n const composedPath = event.composedPath();\n\n if (composedPath.some((node: HTMLElement) => node.tagName === \"CALCITE-CHIP\")) {\n this.open = false;\n event.preventDefault();\n return;\n }\n\n if (composedPath.some((node: HTMLElement) => node.classList?.contains(XButtonCSS.button))) {\n this.clearValue();\n event.preventDefault();\n return;\n }\n\n this.open = !this.open;\n this.ensureRecentSelectedItemIsActive();\n };\n\n private ensureRecentSelectedItemIsActive(): void {\n const { selectedItems } = this;\n const targetIndex =\n selectedItems.length === 0 ? 0 : this.items.indexOf(selectedItems[selectedItems.length - 1]);\n\n this.updateActiveItemIndex(targetIndex);\n }\n\n private hideChip(chipEl: HTMLCalciteChipElement): void {\n chipEl.classList.add(CSS.chipInvisible);\n }\n\n private showChip(chipEl: HTMLCalciteChipElement): void {\n chipEl.classList.remove(CSS.chipInvisible);\n }\n\n private refreshChipDisplay({\n chipEls,\n availableHorizontalChipElSpace,\n chipContainerElGap,\n }): void {\n chipEls.forEach((chipEl: HTMLCalciteChipElement) => {\n if (!chipEl.selected) {\n this.hideChip(chipEl);\n } else {\n const chipElWidth = getElementWidth(chipEl);\n if (chipElWidth && chipElWidth < availableHorizontalChipElSpace) {\n availableHorizontalChipElSpace -= chipElWidth + chipContainerElGap;\n this.showChip(chipEl);\n return;\n }\n }\n this.hideChip(chipEl);\n });\n }\n\n private refreshSelectionDisplay = async () => {\n await componentLoaded(this);\n\n if (isSingleLike(this.selectionMode)) {\n return;\n }\n\n if (!this.textInput) {\n return;\n }\n\n const {\n allSelectedIndicatorChipEl,\n chipContainerEl,\n selectionDisplay,\n placeholder,\n selectedIndicatorChipEl,\n textInput,\n } = this;\n\n const chipContainerElGap = parseInt(getComputedStyle(chipContainerEl).gap.replace(\"px\", \"\"));\n const chipContainerElWidth = getElementWidth(chipContainerEl);\n const { fontSize, fontFamily } = getComputedStyle(textInput);\n const inputTextWidth = getTextWidth(placeholder, `${fontSize} ${fontFamily}`);\n const inputWidth = (inputTextWidth || parseInt(calciteSize48)) + chipContainerElGap;\n const allSelectedIndicatorChipElWidth = getElementWidth(allSelectedIndicatorChipEl);\n const selectedIndicatorChipElWidth = getElementWidth(selectedIndicatorChipEl);\n const largestSelectedIndicatorChipWidth = Math.max(\n allSelectedIndicatorChipElWidth,\n selectedIndicatorChipElWidth,\n );\n\n this.setCompactSelectionDisplay({\n chipContainerElGap,\n chipContainerElWidth,\n inputWidth,\n largestSelectedIndicatorChipWidth,\n });\n\n if (selectionDisplay === \"fit\") {\n const chipEls = Array.from(this.el.shadowRoot.querySelectorAll(\"calcite-chip\")).filter(\n (chipEl) => chipEl.closable,\n );\n\n const availableHorizontalChipElSpace = Math.round(\n chipContainerElWidth -\n ((this.selectedHiddenChipsCount > 0 ? selectedIndicatorChipElWidth : 0) +\n chipContainerElGap +\n inputWidth +\n chipContainerElGap),\n );\n\n this.refreshChipDisplay({ availableHorizontalChipElSpace, chipContainerElGap, chipEls });\n this.setVisibleAndHiddenChips(chipEls);\n }\n };\n\n setFloatingEl = (el: HTMLDivElement): void => {\n this.floatingEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n };\n\n private setCompactSelectionDisplay({\n chipContainerElGap,\n chipContainerElWidth,\n inputWidth,\n largestSelectedIndicatorChipWidth,\n }): void {\n const newCompactBreakpoint = Math.round(\n largestSelectedIndicatorChipWidth + chipContainerElGap + inputWidth,\n );\n if (!this.maxCompactBreakpoint || this.maxCompactBreakpoint < newCompactBreakpoint) {\n this.maxCompactBreakpoint = newCompactBreakpoint;\n }\n this.compactSelectionDisplay = chipContainerElWidth < this.maxCompactBreakpoint;\n }\n\n setContainerEl = (el: HTMLDivElement): void => {\n this.resizeObserver.observe(el);\n this.listContainerEl = el;\n this.transitionEl = el;\n };\n\n setChipContainerEl = (el: HTMLDivElement): void => {\n this.resizeObserver.observe(el);\n this.chipContainerEl = el;\n };\n\n setReferenceEl = (el: HTMLDivElement): void => {\n this.referenceEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n };\n\n setAllSelectedIndicatorChipEl = (el: HTMLCalciteChipElement): void => {\n this.allSelectedIndicatorChipEl = el;\n };\n\n setSelectedIndicatorChipEl = (el: HTMLCalciteChipElement): void => {\n this.selectedIndicatorChipEl = el;\n };\n\n private setVisibleAndHiddenChips(chipEls: HTMLCalciteChipElement[]): void {\n let newSelectedVisibleChipsCount = 0;\n chipEls.forEach((chipEl) => {\n if (chipEl.selected && !chipEl.classList.contains(CSS.chipInvisible)) {\n newSelectedVisibleChipsCount++;\n }\n });\n if (newSelectedVisibleChipsCount !== this.selectedVisibleChipsCount) {\n this.selectedVisibleChipsCount = newSelectedVisibleChipsCount;\n }\n const newSelectedHiddenChipsCount =\n this.getSelectedItems().length - newSelectedVisibleChipsCount;\n if (newSelectedHiddenChipsCount !== this.selectedHiddenChipsCount) {\n this.selectedHiddenChipsCount = newSelectedHiddenChipsCount;\n }\n }\n\n private getMaxScrollerHeight(): number {\n const items = this.getItemsAndGroups().filter((item) => !item.hidden);\n\n const { maxItems } = this;\n\n let itemsToProcess = 0;\n let maxScrollerHeight = 0;\n\n if (items.length > maxItems) {\n items.forEach((item) => {\n if (itemsToProcess < maxItems && maxItems > 0) {\n const height = this.calculateSingleItemHeight(item);\n if (height > 0) {\n maxScrollerHeight += height;\n itemsToProcess++;\n }\n }\n });\n }\n\n return maxScrollerHeight;\n }\n\n private calculateSingleItemHeight(item: ComboboxChildElement): number {\n if (!item) {\n return;\n }\n\n let height = item.offsetHeight;\n // if item has children items, don't count their height twice\n const children = Array.from(item.querySelectorAll<ComboboxChildElement>(ComboboxChildSelector));\n children\n .map((child) => child?.offsetHeight)\n .forEach((offsetHeight) => {\n height -= offsetHeight;\n });\n return height;\n }\n\n inputHandler = (event: Event): void => {\n const value = (event.target as HTMLInputElement).value;\n this.text = value;\n this.filterItems(value);\n if (value) {\n this.activeChipIndex = -1;\n }\n };\n\n getItemsAndGroups(): ComboboxChildElement[] {\n return [...this.groupItems, ...this.items];\n }\n\n private filterItems = (() => {\n const find = (item: ComboboxChildElement, filteredData: ItemData[]) =>\n item &&\n filteredData.some(({ label, value }) =>\n isGroup(item) ? label === item.label : value === item.value && label === item.textLabel,\n );\n\n return debounce((text: string): void => {\n const filteredData = filter(this.data, text);\n const itemsAndGroups = this.getItemsAndGroups();\n\n itemsAndGroups.forEach((item) => {\n const hidden = !find(item, filteredData);\n item.hidden = hidden;\n const [parent, grandparent] = item.ancestors;\n\n if (find(parent, filteredData) || find(grandparent, filteredData)) {\n item.hidden = false;\n }\n\n if (!hidden) {\n item.ancestors.forEach((ancestor) => (ancestor.hidden = false));\n }\n });\n\n this.filteredItems = this.getFilteredItems();\n this.calciteComboboxFilterChange.emit();\n }, 100);\n })();\n\n internalComboboxChangeEvent = (): void => {\n this.calciteComboboxChange.emit();\n };\n\n private emitComboboxChange = debounce(this.internalComboboxChangeEvent, 0);\n\n toggleSelection(item: HTMLCalciteComboboxItemElement, value = !item.selected): void {\n if (\n !item ||\n (this.selectionMode === \"single-persist\" && item.selected && item.value === this.value)\n ) {\n return;\n }\n\n if (this.isMulti()) {\n item.selected = value;\n this.updateAncestors(item);\n this.selectedItems = this.getSelectedItems();\n this.emitComboboxChange();\n this.resetText();\n this.filterItems(\"\");\n } else {\n this.ignoreSelectedEventsFlag = true;\n this.items.forEach((el) => (el.selected = el === item ? value : false));\n this.ignoreSelectedEventsFlag = false;\n this.selectedItems = this.getSelectedItems();\n this.emitComboboxChange();\n\n if (this.textInput) {\n this.textInput.value = item.textLabel;\n }\n this.open = false;\n this.updateActiveItemIndex(-1);\n this.resetText();\n this.filterItems(\"\");\n }\n }\n\n updateAncestors(item: HTMLCalciteComboboxItemElement): void {\n if (this.selectionMode !== \"ancestors\") {\n return;\n }\n const ancestors = getItemAncestors(item);\n const children = getItemChildren(item);\n if (item.selected) {\n ancestors.forEach((el) => {\n (el as HTMLCalciteComboboxItemElement).selected = true;\n });\n } else {\n children.forEach((el) => (el.selected = false));\n [...ancestors].forEach((el) => {\n if (!hasActiveChildren(el)) {\n el.selected = false;\n }\n });\n }\n }\n\n getFilteredItems(): HTMLCalciteComboboxItemElement[] {\n return this.items.filter((item) => !item.hidden);\n }\n\n private getSelectedItems = (): HTMLCalciteComboboxItemElement[] => {\n if (!this.isMulti()) {\n const match = this.items.find(({ selected }) => selected);\n return match ? [match] : [];\n }\n\n return (\n this.items\n .filter(\n (item) =>\n item.selected && (this.selectionMode !== \"ancestors\" || !hasActiveChildren(item)),\n )\n /** Preserve order of entered tags */\n .sort((a, b) => {\n const aIdx = this.selectedItems.indexOf(a);\n const bIdx = this.selectedItems.indexOf(b);\n if (aIdx > -1 && bIdx > -1) {\n return aIdx - bIdx;\n }\n return bIdx - aIdx;\n })\n );\n };\n\n private updateItems = (): void => {\n this.items = this.getItems();\n this.groupItems = this.getGroupItems();\n this.data = this.getData();\n this.selectedItems = this.getSelectedItems();\n this.filteredItems = this.getFilteredItems();\n this.needsIcon = this.getNeedsIcon();\n\n this.items.forEach((item) => {\n item.selectionMode = this.selectionMode;\n item.scale = this.scale;\n });\n\n if (!this.allowCustomValues) {\n this.setMaxScrollerHeight();\n }\n\n this.groupItems.forEach((groupItem, index, items) => {\n if (index === 0) {\n groupItem.afterEmptyGroup = false;\n }\n\n const nextGroupItem = items[index + 1];\n\n if (nextGroupItem) {\n nextGroupItem.afterEmptyGroup = groupItem.children.length === 0;\n }\n });\n };\n\n getData(): ItemData[] {\n return this.items.map((item) => ({\n filterDisabled: item.filterDisabled,\n value: item.value,\n label: item.textLabel,\n }));\n }\n\n getNeedsIcon(): boolean {\n return isSingleLike(this.selectionMode) && this.items.some((item) => item.icon);\n }\n\n resetText(): void {\n if (this.textInput) {\n this.textInput.value = \"\";\n }\n this.text = \"\";\n }\n\n getItems(): HTMLCalciteComboboxItemElement[] {\n const items: HTMLCalciteComboboxItemElement[] = Array.from(\n this.el.querySelectorAll(ComboboxItem),\n );\n return items.filter((item) => !item.disabled);\n }\n\n getGroupItems(): HTMLCalciteComboboxItemGroupElement[] {\n return Array.from(this.el.querySelectorAll(ComboboxItemGroup));\n }\n\n addCustomChip(value: string, focus?: boolean): void {\n const existingItem = this.items.find((el) => el.textLabel === value);\n if (existingItem) {\n this.toggleSelection(existingItem, true);\n } else {\n if (!this.isMulti()) {\n this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);\n }\n const item = document.createElement(\"calcite-combobox-item\");\n item.value = value;\n item.textLabel = value;\n item.selected = true;\n this.el.appendChild(item);\n this.resetText();\n if (focus) {\n this.setFocus();\n }\n this.updateItems();\n this.filterItems(\"\");\n this.emitComboboxChange();\n }\n }\n\n removeActiveChip(): void {\n this.toggleSelection(this.selectedItems[this.activeChipIndex], false);\n this.setFocus();\n }\n\n removeLastChip(): void {\n this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);\n this.setFocus();\n }\n\n previousChip(): void {\n if (this.text) {\n return;\n }\n const length = this.selectedItems.length - 1;\n const active = this.activeChipIndex;\n this.activeChipIndex = active === -1 ? length : Math.max(active - 1, 0);\n this.updateActiveItemIndex(-1);\n this.focusChip();\n }\n\n nextChip(): void {\n if (this.text || this.activeChipIndex === -1) {\n return;\n }\n const last = this.selectedItems.length - 1;\n const newIndex = this.activeChipIndex + 1;\n if (newIndex > last) {\n this.activeChipIndex = -1;\n this.setFocus();\n } else {\n this.activeChipIndex = newIndex;\n this.focusChip();\n }\n this.updateActiveItemIndex(-1);\n }\n\n focusChip(): void {\n const guid = this.selectedItems[this.activeChipIndex]?.guid;\n\n const chip = guid\n ? this.referenceEl.querySelector<HTMLCalciteChipElement>(`#${chipUidPrefix}${guid}`)\n : null;\n chip?.setFocus();\n }\n\n private scrollToActiveItem = (): void => {\n const activeItem = this.filteredItems[this.activeItemIndex];\n\n if (!activeItem) {\n return;\n }\n\n const height = this.calculateSingleItemHeight(activeItem);\n const { offsetHeight, scrollTop } = this.listContainerEl;\n if (offsetHeight + scrollTop < activeItem.offsetTop + height) {\n this.listContainerEl.scrollTop = activeItem.offsetTop - offsetHeight + height;\n } else if (activeItem.offsetTop < scrollTop) {\n this.listContainerEl.scrollTop = activeItem.offsetTop;\n }\n };\n\n shiftActiveItemIndex(delta: number): void {\n const { length } = this.filteredItems;\n const newIndex = (this.activeItemIndex + length + delta) % length;\n this.updateActiveItemIndex(newIndex);\n this.scrollToActiveItem();\n }\n\n updateActiveItemIndex(index: number): void {\n this.activeItemIndex = index;\n let activeDescendant: string = null;\n this.filteredItems.forEach((el, i) => {\n if (i === index) {\n el.active = true;\n activeDescendant = `${itemUidPrefix}${el.guid}`;\n } else {\n el.active = false;\n }\n });\n this.activeDescendant = activeDescendant;\n if (this.activeItemIndex > -1) {\n this.activeChipIndex = -1;\n }\n }\n\n private isAllSelected(): boolean {\n return this.getItems().length === this.getSelectedItems().length;\n }\n\n isMulti(): boolean {\n return !isSingleLike(this.selectionMode);\n }\n\n comboboxFocusHandler = (): void => {\n if (this.disabled) {\n return;\n }\n\n this.textInput?.focus();\n };\n\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n\n renderChips(): VNode[] {\n const { activeChipIndex, scale, selectionMode, messages } = this;\n return this.selectedItems.map((item, i) => {\n const chipClasses = {\n chip: true,\n \"chip--active\": activeChipIndex === i,\n };\n const ancestors = [...getItemAncestors(item)].reverse();\n const pathLabel = [...ancestors, item].map((el) => el.textLabel);\n const label = selectionMode !== \"ancestors\" ? item.textLabel : pathLabel.join(\" / \");\n return (\n <calcite-chip\n class={chipClasses}\n closable\n icon={item.icon}\n iconFlipRtl={item.iconFlipRtl}\n id={item.guid ? `${chipUidPrefix}${item.guid}` : null}\n key={item.textLabel}\n messageOverrides={{ dismissLabel: messages.removeTag }}\n onCalciteChipClose={() => this.calciteChipCloseHandler(item)}\n scale={scale}\n selected={item.selected}\n title={label}\n value={item.value}\n >\n {label}\n </calcite-chip>\n );\n });\n }\n\n renderAllSelectedIndicatorChip(): VNode {\n const {\n compactSelectionDisplay,\n scale,\n selectedVisibleChipsCount,\n setAllSelectedIndicatorChipEl,\n } = this;\n const label = this.messages.allSelected;\n return (\n <calcite-chip\n class={{\n chip: true,\n [CSS.chipInvisible]: !(\n this.isAllSelected() &&\n !selectedVisibleChipsCount &&\n !compactSelectionDisplay\n ),\n }}\n scale={scale}\n title={label}\n 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={setAllSelectedIndicatorChipEl}\n >\n {label}\n </calcite-chip>\n );\n }\n\n renderAllSelectedIndicatorChipCompact(): VNode {\n const { compactSelectionDisplay, scale, selectedVisibleChipsCount } = this;\n const label = this.messages.all || \"All\";\n return (\n <calcite-chip\n class={{\n chip: true,\n [CSS.chipInvisible]: !(\n this.isAllSelected() &&\n !selectedVisibleChipsCount &&\n compactSelectionDisplay\n ),\n }}\n scale={scale}\n title={label}\n value=\"\"\n >\n {label}\n </calcite-chip>\n );\n }\n\n renderSelectedIndicatorChip(): VNode {\n const {\n compactSelectionDisplay,\n selectionDisplay,\n getSelectedItems,\n scale,\n selectedHiddenChipsCount,\n selectedVisibleChipsCount,\n setSelectedIndicatorChipEl,\n } = this;\n let chipInvisible: boolean;\n let label: string;\n\n if (compactSelectionDisplay) {\n chipInvisible = true;\n } else {\n if (selectionDisplay === \"single\") {\n const selectedItemsCount = getSelectedItems().length;\n if (this.isAllSelected()) {\n chipInvisible = true;\n } else if (selectedItemsCount > 0) {\n chipInvisible = false;\n } else {\n chipInvisible = true;\n }\n label = `${selectedItemsCount} ${this.messages.selected}`;\n } else if (selectionDisplay === \"fit\") {\n chipInvisible = !!(\n (this.isAllSelected() && selectedVisibleChipsCount === 0) ||\n selectedHiddenChipsCount === 0\n );\n label =\n selectedVisibleChipsCount > 0\n ? `+${selectedHiddenChipsCount}`\n : `${selectedHiddenChipsCount} ${this.messages.selected}`;\n }\n }\n return (\n <calcite-chip\n class={{\n chip: true,\n [CSS.chipInvisible]: chipInvisible,\n }}\n scale={scale}\n title={label}\n 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={setSelectedIndicatorChipEl}\n >\n {label}\n </calcite-chip>\n );\n }\n\n renderSelectedIndicatorChipCompact(): VNode {\n const {\n compactSelectionDisplay,\n selectionDisplay,\n getSelectedItems,\n scale,\n selectedHiddenChipsCount,\n } = this;\n let chipInvisible: boolean;\n let label: string;\n\n if (compactSelectionDisplay) {\n const selectedItemsCount = getSelectedItems().length;\n if (this.isAllSelected()) {\n chipInvisible = true;\n } else if (selectionDisplay === \"fit\") {\n chipInvisible = !(selectedHiddenChipsCount > 0);\n label = `${selectedHiddenChipsCount || 0}`;\n } else if (selectionDisplay === \"single\") {\n chipInvisible = !(selectedItemsCount > 0);\n label = `${selectedItemsCount}`;\n }\n } else {\n chipInvisible = true;\n }\n return (\n <calcite-chip\n class={{\n chip: true,\n [CSS.chipInvisible]: chipInvisible,\n }}\n scale={scale}\n title={label}\n value=\"\"\n >\n {label}\n </calcite-chip>\n );\n }\n\n private get showingInlineIcon(): boolean {\n const { placeholderIcon, selectionMode, selectedItems, open } = this;\n const selectedItem = selectedItems[0];\n const selectedIcon = selectedItem?.icon;\n const singleSelectionMode = isSingleLike(selectionMode);\n\n return !open && selectedItem\n ? !!selectedIcon && singleSelectionMode\n : !!placeholderIcon && (!selectedItem || singleSelectionMode);\n }\n\n private renderInput(): VNode {\n const { guid, disabled, placeholder, selectionMode, selectedItems, open } = this;\n const single = isSingleLike(selectionMode);\n const selectedItem = selectedItems[0];\n const showLabel = !open && single && !!selectedItem;\n\n return (\n <span\n class={{\n \"input-wrap\": true,\n \"input-wrap--single\": single,\n }}\n >\n {showLabel && (\n <span\n class={{\n label: true,\n \"label--icon\": !!selectedItem?.icon,\n }}\n key=\"label\"\n >\n {selectedItem.textLabel}\n </span>\n )}\n <input\n aria-activedescendant={this.activeDescendant}\n aria-autocomplete=\"list\"\n aria-controls={`${listboxUidPrefix}${guid}`}\n aria-expanded={toAriaBoolean(open)}\n aria-haspopup=\"listbox\"\n aria-label={getLabelText(this)}\n aria-owns={`${listboxUidPrefix}${guid}`}\n class={{\n input: true,\n \"input--single\": true,\n \"input--transparent\": this.activeChipIndex > -1,\n \"input--hidden\": showLabel,\n \"input--icon\": this.showingInlineIcon && !!this.placeholderIcon,\n }}\n disabled={disabled}\n id={`${inputUidPrefix}${guid}`}\n key=\"input\"\n onFocus={this.comboboxFocusHandler}\n onInput={this.inputHandler}\n placeholder={placeholder}\n role=\"combobox\"\n type=\"text\"\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={(el) => (this.textInput = el as HTMLInputElement)}\n />\n </span>\n );\n }\n\n renderListBoxOptions(): VNode[] {\n return this.filteredItems.map((item) => (\n <li\n aria-selected={toAriaBoolean(item.selected)}\n id={item.guid ? `${itemUidPrefix}${item.guid}` : null}\n role=\"option\"\n tabindex=\"-1\"\n >\n {item.textLabel}\n </li>\n ));\n }\n\n renderFloatingUIContainer(): VNode {\n const { setFloatingEl, setContainerEl, open } = this;\n const classes = {\n [CSS.listContainer]: true,\n [FloatingCSS.animation]: true,\n [FloatingCSS.animationActive]: open,\n };\n\n return (\n <div\n aria-hidden=\"true\"\n class={{\n \"floating-ui-container\": true,\n \"floating-ui-container--active\": open,\n }}\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={setFloatingEl}\n >\n <div\n class={classes}\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={setContainerEl}\n >\n <ul class={{ list: true, \"list--hide\": !open }}>\n <slot />\n </ul>\n </div>\n </div>\n );\n }\n\n renderSelectedOrPlaceholderIcon(): VNode {\n const { selectedItems, placeholderIcon, placeholderIconFlipRtl } = this;\n const selectedItem = selectedItems[0];\n const selectedIcon = selectedItem?.icon;\n\n return (\n this.showingInlineIcon && (\n <span class=\"icon-start\" key=\"selected-placeholder-icon\">\n <calcite-icon\n class=\"selected-icon\"\n flipRtl={this.open && selectedItem ? selectedItem.iconFlipRtl : placeholderIconFlipRtl}\n icon={!this.open && selectedItem ? selectedIcon : placeholderIcon}\n scale={getIconScale(this.scale)}\n />\n </span>\n )\n );\n }\n\n renderChevronIcon(): VNode {\n const { open } = this;\n return (\n <span class=\"icon-end\" key=\"chevron\">\n <calcite-icon\n icon={open ? \"chevron-up\" : \"chevron-down\"}\n scale={getIconScale(this.scale)}\n />\n </span>\n );\n }\n\n render(): VNode {\n const { selectionDisplay, guid, label, open } = this;\n const singleSelectionMode = isSingleLike(this.selectionMode);\n const allSelectionDisplay = selectionDisplay === \"all\";\n const singleSelectionDisplay = selectionDisplay === \"single\";\n const fitSelectionDisplay = !singleSelectionMode && selectionDisplay === \"fit\";\n const isClearable = !this.clearDisabled && this.value?.length > 0;\n return (\n <Host onClick={this.comboboxFocusHandler}>\n <InteractiveContainer disabled={this.disabled}>\n <div\n aria-live=\"polite\"\n class={{\n wrapper: true,\n \"wrapper--single\": singleSelectionMode || !this.selectedItems.length,\n \"wrapper--active\": open,\n }}\n onClick={this.clickHandler}\n onKeyDown={this.keyDownHandler}\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.setReferenceEl}\n >\n {this.renderSelectedOrPlaceholderIcon()}\n <div\n class={{\n \"grid-input\": true,\n [CSS.selectionDisplayFit]: fitSelectionDisplay,\n [CSS.selectionDisplaySingle]: singleSelectionDisplay,\n }}\n key=\"grid\"\n // eslint-disable-next-line react/jsx-sort-props -- auto-generated by @esri/calcite-components/enforce-ref-last-prop\n ref={this.setChipContainerEl}\n >\n {!singleSelectionMode && !singleSelectionDisplay && this.renderChips()}\n {!singleSelectionMode &&\n !allSelectionDisplay && [\n this.renderSelectedIndicatorChip(),\n this.renderSelectedIndicatorChipCompact(),\n this.renderAllSelectedIndicatorChip(),\n this.renderAllSelectedIndicatorChipCompact(),\n ]}\n <label\n class=\"screen-readers-only\"\n htmlFor={`${inputUidPrefix}${guid}`}\n id={`${labelUidPrefix}${guid}`}\n >\n {label}\n </label>\n {this.renderInput()}\n </div>\n {isClearable ? (\n <XButton\n disabled={this.disabled}\n key=\"close-button\"\n label={this.messages.clear}\n scale={this.scale}\n />\n ) : null}\n {this.renderChevronIcon()}\n </div>\n <ul\n aria-labelledby={`${labelUidPrefix}${guid}`}\n aria-multiselectable=\"true\"\n class=\"screen-readers-only\"\n id={`${listboxUidPrefix}${guid}`}\n role=\"listbox\"\n tabIndex={-1}\n >\n {this.renderListBoxOptions()}\n </ul>\n {this.renderFloatingUIContainer()}\n <HiddenFormInputSlot component={this} />\n {this.validationMessage && this.status === \"invalid\" ? (\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","export const CSS = {\n icon: \"icon\",\n iconActive: \"icon--active\",\n iconIndent: \"icon--indent\",\n custom: \"icon--custom\",\n dot: \"icon--dot\",\n single: \"label--single\",\n label: \"label\",\n active: \"label--active\",\n selected: \"label--selected\",\n title: \"title\",\n textContainer: \"text-container\",\n};\n","@include base-component();\n\n.scale--s {\n @apply text-n2h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.2\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.4\");\n}\n\n.scale--m {\n @apply text-n1h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.3\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.3\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.4\");\n}\n\n.scale--l {\n @apply text-0h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.4\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing[2.5]\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.4\");\n --calcite-combobox-item-selector-icon-size: theme(\"spacing.6\");\n}\n\n.container {\n --calcite-combobox-item-indent-value: calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );\n}\n\n:host(:focus) {\n @apply shadow-none;\n}\n\n@include disabled();\n\n:host,\nul {\n @apply m-0 flex flex-col p-0;\n}\n\n:host(:focus),\nul:focus {\n @apply outline-none;\n}\n\n.label {\n @apply text-color-3\n focus-base\n relative\n box-border\n flex\n w-full\n min-w-full\n cursor-pointer\n items-center\n no-underline\n duration-150\n ease-in-out;\n @include word-break();\n padding-block: var(--calcite-combobox-item-spacing-unit-s);\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n:host([disabled]) .label {\n @apply cursor-default;\n}\n\n// selected state\n.label--selected {\n @apply text-color-1 font-medium;\n}\n\n.label--active {\n @apply focus-inset;\n}\n\n.label:hover,\n.label:active {\n @apply text-color-1\n bg-foreground-2\n no-underline\n shadow-none;\n}\n\n.title {\n padding-block: 0;\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.icon {\n @apply inline-flex\n opacity-0\n duration-150\n ease-in-out;\n color: theme(\"borderColor.color.1\");\n}\n\n.icon--indent {\n padding-inline-start: var(--calcite-combobox-item-indent-value);\n}\n\n.icon--custom {\n margin-block-start: -1px;\n padding-inline-start: var(--calcite-combobox-item-spacing-unit-l);\n @apply text-color-3;\n}\n\n.icon--active {\n @apply text-color-1;\n}\n\n.icon--dot {\n @apply flex justify-center;\n min-inline-size: var(--calcite-combobox-item-selector-icon-size);\n}\n\n.icon--dot:before {\n text-align: start;\n content: \"\\2022\";\n}\n\n.label--active .icon {\n @apply opacity-100;\n}\n\n.label--selected .icon {\n @apply opacity-100;\n color: theme(\"backgroundColor.brand\");\n}\n\n:host(:hover[disabled]) .icon {\n @apply opacity-100;\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n ConditionalSlotComponent,\n connectConditionalSlotComponent,\n disconnectConditionalSlotComponent,\n} from \"../../utils/conditionalSlot\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { ComboboxChildElement } from \"../combobox/interfaces\";\nimport { getAncestors, getDepth, isSingleLike } from \"../combobox/utils\";\nimport { Scale, SelectionMode } from \"../interfaces\";\nimport { getIconScale } from \"../../utils/component\";\nimport { CSS } from \"./resources\";\n\n/**\n * @slot - A slot for adding nested `calcite-combobox-item`s.\n */\n@Component({\n tag: \"calcite-combobox-item\",\n styleUrl: \"combobox-item.scss\",\n shadow: true,\n})\nexport class ComboboxItem implements ConditionalSlotComponent, InteractiveComponent {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * When `true`, the component is selected.\n */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /** When `true`, the component is active. */\n @Prop({ reflect: true }) active = false;\n\n /** Specifies the parent and grandparent items, which are set on `calcite-combobox`. */\n @Prop({ mutable: true }) ancestors: ComboboxChildElement[];\n\n /** The `id` attribute of the component. When omitted, a globally unique identifier is used. */\n @Prop({ reflect: true }) guid = guid();\n\n /** Specifies an icon to display. */\n @Prop({ reflect: true }) icon: string;\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 @Watch(\"selected\")\n selectedWatchHandler(): void {\n this.calciteComboboxItemChange.emit();\n }\n\n /** The component's text. */\n @Prop({ reflect: true }) textLabel!: string;\n\n /** The component's value. */\n @Prop() value!: any;\n\n /**\n * When `true`, omits the component from the `calcite-combobox` filtered search results.\n */\n @Prop({ reflect: true }) filterDisabled: boolean;\n\n /**\n * Specifies the selection mode of the component, where:\n *\n * `\"multiple\"` allows any number of selections,\n *\n * `\"single\"` allows only one selection,\n *\n * `\"single-persist\"` allows one selection and prevents de-selection, and\n *\n * `\"ancestors\"` allows multiple selections, but shows ancestors of selected items as selected, with only deepest children shown in chips.\n *\n * @internal\n */\n @Prop({ reflect: true }) selectionMode: Extract<\n \"single\" | \"single-persist\" | \"ancestors\" | \"multiple\",\n SelectionMode\n > = \"multiple\";\n\n /**\n * Specifies the size of the component inherited from the `calcite-combobox`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteComboboxItemElement;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.ancestors = getAncestors(this.el);\n connectConditionalSlotComponent(this);\n connectInteractive(this);\n }\n\n disconnectedCallback(): void {\n disconnectConditionalSlotComponent(this);\n disconnectInteractive(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Events\n //\n // --------------------------------------------------------------------------\n\n /**\n * Fires whenever the component is selected or unselected.\n *\n */\n @Event({ cancelable: false }) calciteComboboxItemChange: EventEmitter<void>;\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n toggleSelected(): Promise<void> {\n const isSinglePersistSelect = this.selectionMode === \"single-persist\";\n\n if (this.disabled || (isSinglePersistSelect && this.selected)) {\n return;\n }\n\n this.selected = !this.selected;\n }\n\n private itemClickHandler = (): void => {\n this.toggleSelected();\n };\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderIcon(iconPath: string): VNode {\n return this.icon ? (\n <calcite-icon\n class={{\n [CSS.custom]: !!this.icon,\n [CSS.iconActive]: this.icon && this.selected,\n [CSS.iconIndent]: true,\n }}\n flipRtl={this.iconFlipRtl}\n icon={this.icon || iconPath}\n key=\"icon\"\n scale={getIconScale(this.scale)}\n />\n ) : null;\n }\n\n renderSelectIndicator(showDot: boolean, iconPath: string): VNode {\n return showDot ? (\n <span\n class={{\n [CSS.icon]: true,\n [CSS.dot]: true,\n [CSS.iconIndent]: true,\n }}\n />\n ) : (\n <calcite-icon\n class={{\n [CSS.icon]: true,\n [CSS.iconActive]: this.selected,\n [CSS.iconIndent]: true,\n }}\n flipRtl={this.iconFlipRtl}\n icon={iconPath}\n key=\"indicator\"\n scale={getIconScale(this.scale)}\n />\n );\n }\n\n renderChildren(): VNode {\n if (getSlotted(this.el)) {\n return (\n <ul key=\"default-slot-container\">\n <slot />\n </ul>\n );\n }\n\n return null;\n }\n\n render(): VNode {\n const { disabled } = this;\n const isSingleSelect = isSingleLike(this.selectionMode);\n const showDot = isSingleSelect && !disabled;\n const defaultIcon = isSingleSelect ? \"dot\" : \"check\";\n const iconPath = disabled ? \"\" : defaultIcon;\n\n const classes = {\n [CSS.label]: true,\n [CSS.selected]: this.selected,\n [CSS.active]: this.active,\n [CSS.single]: isSingleSelect,\n };\n const depth = getDepth(this.el);\n\n return (\n <Host aria-hidden=\"true\">\n <InteractiveContainer disabled={disabled}>\n <div\n class={`container scale--${this.scale}`}\n style={{ \"--calcite-combobox-item-spacing-indent-multiplier\": `${depth}` }}\n >\n <li class={classes} id={this.guid} onClick={this.itemClickHandler}>\n {this.renderSelectIndicator(showDot, iconPath)}\n {this.renderIcon(iconPath)}\n <span class=\"title\">{this.textLabel}</span>\n </li>\n {this.renderChildren()}\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n","export const CSS = {\n list: \"list\",\n label: \"label\",\n title: \"title\",\n};\n",".scale--s {\n @apply text-n2h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.1\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.2\");\n}\n\n.scale--m {\n @apply text-n1h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.3\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.2\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.3\");\n}\n\n.scale--l {\n @apply text-0h;\n --calcite-combobox-item-spacing-unit-l: theme(\"spacing.4\");\n --calcite-combobox-item-spacing-unit-s: theme(\"spacing.3\");\n --calcite-combobox-item-spacing-indent: theme(\"spacing.4\");\n}\n\n:host,\n.list {\n @apply m-0 flex flex-col p-0;\n}\n\n:host(:focus),\n.list:focus {\n @apply outline-none;\n}\n\n.label {\n @apply text-color-3 box-border flex w-full min-w-0 max-w-full;\n}\n\n.title {\n --calcite-combobox-item-indent-value: calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );\n border: 0 solid;\n @apply border-b-color-3\n text-color-2\n word-break\n block\n flex-1\n border-b\n font-bold;\n padding-block: var(--calcite-combobox-item-spacing-unit-l);\n padding-inline: var(--calcite-combobox-item-spacing-unit-s);\n margin-inline-start: var(--calcite-combobox-item-indent-value);\n}\n\n::slotted(calcite-combobox-item-group:not([after-empty-group])) {\n padding-block-start: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n@include base-component();\n","import { Component, Element, h, Prop, VNode } from \"@stencil/core\";\nimport { guid } from \"../../utils/guid\";\nimport { ComboboxChildElement } from \"../combobox/interfaces\";\nimport { getAncestors, getDepth } from \"../combobox/utils\";\nimport { Scale } from \"../interfaces\";\nimport { CSS } from \"./resources\";\n\n/**\n * @slot - A slot for adding `calcite-combobox-item`s.\n */\n@Component({\n tag: \"calcite-combobox-item-group\",\n styleUrl: \"combobox-item-group.scss\",\n shadow: true,\n})\nexport class ComboboxItemGroup {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * When `true`, signifies that the group comes after another group without any children (items or sub-groups), otherwise indicates that the group comes after another group that has children. Used for styling.\n *\n * @internal\n */\n @Prop({ reflect: true }) afterEmptyGroup = false;\n\n /** Specifies the parent and grandparent `calcite-combobox-item`s, which are set on `calcite-combobox`. */\n @Prop({ mutable: true }) ancestors: ComboboxChildElement[];\n\n /** Specifies the title of the component. */\n @Prop() label!: string;\n\n /**\n * Specifies the size of the component inherited from the `calcite-combobox`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.ancestors = getAncestors(this.el);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteComboboxItemGroupElement;\n\n guid: string = guid();\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n const { el, scale } = this;\n const depth = getDepth(el);\n\n return (\n <ul\n aria-labelledby={this.guid}\n class={{ [CSS.list]: true, [`scale--${scale}`]: true }}\n role=\"group\"\n >\n <li\n class={{ [CSS.label]: true }}\n id={this.guid}\n role=\"presentation\"\n style={{ \"--calcite-combobox-item-spacing-indent-multiplier\": `${depth}` }}\n >\n <span class={CSS.title}>{this.label}</span>\n </li>\n <slot />\n </ul>\n );\n }\n}\n"],"mappings":";;;;;k6BAYO,MAAMA,EAAM,CACjBC,OAAQ,Y,SAGMC,GAAQC,SACtBA,EAAQC,IACRA,EAAGC,MACHA,EAAKC,QACLA,EAAOC,IACPA,EAAGC,MACHA,IAEA,OACEC,EAAA,uBACcJ,EACZK,MAAOV,EAAIC,OACXE,SAAUA,EACVC,IAAKA,EACLE,QAASA,EACTK,UAAW,EACXC,KAAK,SAELL,IAAKA,GAELE,EAAA,gBAAcI,KAAK,IAAIL,MAAOM,EAAaN,KAGjD,CCvCO,MAAMO,EAAe,wBACrB,MAAMC,EAAoB,8BAC1B,MAAMC,EAAwB,GAAGF,MAAiBC,IAElD,MAAMhB,EAAM,CACjBkB,cAAe,kBACfC,oBAAqB,wBACrBC,uBAAwB,2BACxBC,cAAe,kB,SCFDC,GAAaC,GAC3B,MAAMC,EAA+BD,EAAQE,eAAeC,QAAQT,GACpE,MAAMU,EAAoCH,GAAQC,eAAeC,QAAQT,GACzE,MAAO,CAACO,EAAQG,GAAaC,QAAQC,GAAOA,GAC9C,C,SAEgBC,GAAiBC,GAC/B,OACGA,EAAKC,WAAWJ,QAAQC,GAAOA,EAAGI,WAAa,2BAAiE,EAErH,C,SAEgBC,GAAgBH,GAC9B,OAAOI,EAAgBJ,EAAKK,iBAAiB,yBAC/C,C,SAEgBC,GAAkBC,GAChC,MAAMC,EAAQJ,EAAgBG,EAAKF,iBAAiB,0BACpD,OAAOG,EAAMX,QAAQG,GAASA,EAAKS,WAAUC,OAAS,CACxD,C,SAEgBC,GAASnB,GAKvB,MAAMoB,EAASC,SAASC,SACtB,0EACAtB,EACA,KACAuB,YAAYC,6BACZ,MAGF,OAAOJ,EAAOK,cAChB,C,SAEgBC,GAAaC,GAC3B,OAAOA,EAAcC,SAAS,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,KAAKW,KACTgS,KAAK,eACLzO,MAAO,CAAE,oDAAqD,GAAG8R,MAEjErZ,EAAA,QAAAL,IAAA,2CAAMM,MAAOV,GAAIoV,OAAQtR,KAAKzD,QAEhCI,EAAA,QAAAL,IAAA,6C"}
@@ -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.8.0-next.1
5
- */
6
- import{r as e,c as t,h as i,H as s,g as a}from"./p-85931c71.js";import{c as o,d as r,H as n}from"./p-ae3fae00.js";import{c,d as l,g as d}from"./p-1e6dcf63.js";import{t as h,b as f}from"./p-fb848c65.js";import{c as p,d as b,n as m}from"./p-af8b3876.js";import{c as u}from"./p-60c275fd.js";import{b as g,s as x,a as v,c as y}from"./p-b5a073f3.js";import{c as z,s as k,d as w,u as j}from"./p-4781876f.js";import{c as L,u as H,d as C,I as A}from"./p-1b03b527.js";import{g as S}from"./p-be664342.js";import{V as W}from"./p-519084ce.js";import{s as D}from"./p-c3e09101.js";import{t as I}from"./p-f8a0ca92.js";import"./p-c56cce40.js";import"./p-b5773566.js";import"./p-0e53a49b.js";import"./p-3d0a8ad2.js";import"./p-d66143b4.js";const O={assistiveText:"assistive-text",characterLimit:"character-limit",content:"content",container:"container",footer:"footer",resizeDisabled:"resize--disabled",resizeDisabledX:"resize--disabled-x",resizeDisabledY:"resize--disabled-y",characterOverLimit:"character--over-limit",readOnly:"readonly",textAreaInvalid:"text-area--invalid",footerSlotted:"footer--slotted",borderColor:"border--color",hide:"hide",blockSizeFull:"block-size--full",footerEndSlotOnly:"footer--end-only"};const T={footerStart:"footer-start",footerEnd:"footer-end"};const E=100;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{position:relative;display:inline-block;block-size:100%;inline-size:100%}textarea{position:relative;margin:0px;box-sizing:border-box;display:block;inline-size:100%;border-width:1px;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1);min-inline-size:12rem;border-block-end:1px solid var(--calcite-color-border-3)}@media screen and (max-width: 480px){textarea{resize:none}}textarea:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, 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 )}textarea.text-area--invalid{border-width:1px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-status-danger)}textarea.text-area--invalid: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 )}textarea.footer--slotted{min-inline-size:18rem}.footer{box-sizing:border-box;display:flex;align-items:center;border-width:1px;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1)}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-status-danger)}:host([resize=none]) textarea{resize:none}:host([resize=horizontal]) textarea{resize:horizontal}:host([resize=vertical]) textarea{resize:vertical}:host([scale=s]){font-size:var(--calcite-font-size--2)}:host([scale=s]) .footer{padding-block:0.25rem;padding-inline:0.5rem;min-block-size:1.75rem}:host([scale=s]) textarea{padding-block:0.25rem;padding-inline:0.5rem}:host([scale=s]) textarea,:host([scale=s]) .footer,:host([scale=s]) .character-limit{padding-inline-start:0.5rem;font-size:var(--calcite-font-size--2)}:host([scale=m]) textarea{padding-block:0.5rem;padding-inline:0.75rem}:host([scale=m]) .footer{padding-block:0.5rem;padding-inline:0.75rem;min-block-size:2.25rem}:host([scale=m]) textarea,:host([scale=m]) .footer,:host([scale=m]) .character-limit{padding-inline-start:0.75rem;font-size:var(--calcite-font-size--1)}:host([scale=l]){font-size:var(--calcite-font-size-0)}:host([scale=l]) textarea{padding-block:0.75rem;padding-inline:1rem}:host([scale=l]) .footer{padding-block:0.75rem;padding-inline:1rem;min-block-size:2.75rem}:host([scale=l]) textarea,:host([scale=l]) .footer,:host([scale=l]) .character-limit{padding-inline-start:1rem;font-size:var(--calcite-font-size-0)}:host([status=invalid]) textarea{border-color:var(--calcite-color-status-danger)}: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 )}.readonly{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}:host([disabled]) textarea,:host([disabled]) footer{opacity:0.5}.border--color{border-block-end-width:1px;border-color:var(--calcite-color-border-input)}.border--color:focus{border-block-end-width:2px}textarea.block-size--full{block-size:100%}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}.assistive-text{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}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const M=F;const $=class{constructor(s){e(this,s);this.calciteTextAreaInput=t(this,"calciteTextAreaInput",7);this.calciteTextAreaChange=t(this,"calciteTextAreaChange",7);this.guid=S();this.handleInput=e=>{this.value=e.target["value"];this.calciteTextAreaInput.emit()};this.handleChange=()=>{this.calciteTextAreaChange.emit()};this.contentSlotChangeHandler=()=>{if(!this.value){const e=this.el.childNodes;e.forEach((e=>{if(e.nodeName==="#text"){this.value=e.nodeValue.trim()}}))}};this.renderCharacterLimit=()=>{if(this.maxLength){this.localizedCharacterLengthObj=this.getLocalizedCharacterLength();return i("span",{class:O.characterLimit},i("span",{class:{[O.characterOverLimit]:this.isCharacterLimitExceeded()}},this.localizedCharacterLengthObj.currentLength),"/",this.localizedCharacterLengthObj.maxLength)}return null};this.resizeObserver=u("resize",(async()=>{await g(this);const{textAreaHeight:e,textAreaWidth:t,elHeight:i,elWidth:s,footerHeight:a,footerWidth:o}=this.getHeightAndWidthOfElements();if(o>0&&o!==t){this.footerEl.style.width=`${t}px`}if(s!==t||i!==e+(a||0)){this.setHeightAndWidthToAuto()}}));this.setTextAreaEl=e=>{this.textAreaEl=e;this.resizeObserver.observe(e)};this.setHeightAndWidthToAuto=I((()=>{if(this.resize==="vertical"||this.resize==="both"){this.el.style.height="auto"}if(this.resize==="horizontal"||this.resize==="both"){this.el.style.width="auto"}}),E,{leading:false});this.autofocus=false;this.columns=undefined;this.disabled=false;this.form=undefined;this.groupSeparator=false;this.label=undefined;this.minLength=undefined;this.maxLength=undefined;this.messages=undefined;this.validationMessage=undefined;this.validationIcon=undefined;this.name=undefined;this.numberingSystem=undefined;this.placeholder=undefined;this.readOnly=false;this.required=false;this.resize="both";this.rows=undefined;this.scale="m";this.status="idle";this.value="";this.wrap="soft";this.messageOverrides=undefined;this.defaultMessages=undefined;this.endSlotHasElements=undefined;this.startSlotHasElements=undefined;this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){L(this);c(this);o(this);p(this);z(this)}async componentWillLoad(){x(this);await k(this)}componentDidLoad(){v(this)}componentDidRender(){H(this);this.setTextAreaHeight()}disconnectedCallback(){C(this);l(this);r(this);b(this);w(this);this.resizeObserver?.disconnect()}render(){const e=this.startSlotHasElements||this.endSlotHasElements||!!this.maxLength;return i(s,{key:"b3e6fedfcbcc2a461708458dce12aeb7cec102f4"},i(A,{key:"7c371247f7de987f6ea836f36a1cef38c65ce489",disabled:this.disabled},i("textarea",{key:"351eb9f39d4d6c75514ea698d1acd9cedc367488","aria-describedby":this.guid,"aria-invalid":h(this.isCharacterLimitExceeded()),"aria-label":d(this),autofocus:this.autofocus,class:{[O.readOnly]:this.readOnly,[O.textAreaInvalid]:this.isCharacterLimitExceeded(),[O.footerSlotted]:this.endSlotHasElements&&this.startSlotHasElements,[O.blockSizeFull]:!e,[O.borderColor]:!e},cols:this.columns,disabled:this.disabled,name:this.name,onChange:this.handleChange,onInput:this.handleInput,placeholder:this.placeholder,readonly:this.readOnly,required:this.required,rows:this.rows,value:this.value,wrap:this.wrap,ref:this.setTextAreaEl}),i("span",{key:"afef671e9be7566b8cda6ef211d6a4db10835d95",class:{[O.content]:true}},i("slot",{key:"57dde11575d030fb621b910d1462544c07ec743a",onSlotchange:this.contentSlotChangeHandler})),i("footer",{key:"d6cab130625eeff334a31bcb37284fc644f90ec4",class:{[O.footer]:true,[O.readOnly]:this.readOnly,[O.hide]:!e},ref:e=>this.footerEl=e},i("div",{key:"ef510aa36e8de79071e2ccbd286ed76b3adf2cc5",class:{[O.container]:true,[O.footerEndSlotOnly]:!this.startSlotHasElements&&this.endSlotHasElements}},i("slot",{key:"d6a01f0d4cc291a5c51ee0dbf8dfe089849dcb10",name:T.footerStart,onSlotchange:e=>this.startSlotHasElements=f(e)}),i("slot",{key:"3544182b2f811fa695d90fa385e73a1c151c4576",name:T.footerEnd,onSlotchange:e=>this.endSlotHasElements=f(e)})),this.renderCharacterLimit()),i(n,{key:"e7a4edc0808c74c0ef45f323732786a4aa08c272",component:this}),this.isCharacterLimitExceeded()&&i("span",{"aria-hidden":true,"aria-live":"polite",class:O.assistiveText,id:this.guid},this.replacePlaceHoldersInMessages()),this.validationMessage&&this.status==="invalid"?i(W,{icon:this.validationIcon,message:this.validationMessage,scale:this.scale,status:this.status}):null))}async setFocus(){await y(this);this.textAreaEl.focus()}async selectText(){await g(this);this.textAreaEl.select()}effectiveLocaleChange(){j(this,this.effectiveLocale)}onLabelClick(){this.setFocus()}getLocalizedCharacterLength(){const e=this.value?this.value.length.toString():"0";const t=this.maxLength.toString();if(this.numberingSystem==="latn"){return{currentLength:e,maxLength:t}}m.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"never",useGrouping:this.groupSeparator};return{currentLength:m.localize(e),maxLength:m.localize(t)}}syncHiddenFormInput(e){e.setCustomValidity("");if(this.isCharacterLimitExceeded()){e.setCustomValidity(this.replacePlaceHoldersInMessages())}D("textarea",this,e)}setTextAreaHeight(){const{textAreaHeight:e,elHeight:t,footerHeight:i}=this.getHeightAndWidthOfElements();if(i>0&&e+i!=t){this.textAreaEl.style.height=`${t-i}px`}}getHeightAndWidthOfElements(){const{height:e,width:t}=this.textAreaEl.getBoundingClientRect();const{height:i,width:s}=this.el.getBoundingClientRect();const{height:a,width:o}=this.footerEl?.getBoundingClientRect();return{textAreaHeight:e,textAreaWidth:t,elHeight:i,elWidth:s,footerHeight:a,footerWidth:o}}replacePlaceHoldersInMessages(){return this.messages.tooLong.replace("{maxLength}",this.localizedCharacterLengthObj.maxLength).replace("{currentLength}",this.localizedCharacterLengthObj.currentLength)}isCharacterLimitExceeded(){return this.value?.length>this.maxLength}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};$.style=M;export{$ as calcite_text_area};
7
- //# sourceMappingURL=p-2afa6ffa.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["CSS","assistiveText","characterLimit","content","container","footer","resizeDisabled","resizeDisabledX","resizeDisabledY","characterOverLimit","readOnly","textAreaInvalid","footerSlotted","borderColor","hide","blockSizeFull","footerEndSlotOnly","SLOTS","footerStart","footerEnd","RESIZE_TIMEOUT","textAreaCss","CalciteTextAreaStyle0","TextArea","this","guid","handleInput","event","value","target","calciteTextAreaInput","emit","handleChange","calciteTextAreaChange","contentSlotChangeHandler","nodes","el","childNodes","forEach","nodeName","nodeValue","trim","renderCharacterLimit","maxLength","localizedCharacterLengthObj","getLocalizedCharacterLength","h","class","isCharacterLimitExceeded","currentLength","resizeObserver","createObserver","async","componentLoaded","textAreaHeight","textAreaWidth","elHeight","elWidth","footerHeight","footerWidth","getHeightAndWidthOfElements","footerEl","style","width","setHeightAndWidthToAuto","setTextAreaEl","textAreaEl","observe","throttle","resize","height","leading","onMessagesChange","connectedCallback","connectInteractive","connectLabel","connectForm","connectLocalized","connectMessages","componentWillLoad","setUpLoadableComponent","setUpMessages","componentDidLoad","setComponentLoaded","componentDidRender","updateHostInteraction","setTextAreaHeight","disconnectedCallback","disconnectInteractive","disconnectLabel","disconnectForm","disconnectLocalized","disconnectMessages","disconnect","render","hasFooter","startSlotHasElements","endSlotHasElements","Host","key","InteractiveContainer","disabled","toAriaBoolean","getLabelText","autofocus","cols","columns","name","onChange","onInput","placeholder","readonly","required","rows","wrap","ref","onSlotchange","slotChangeHasAssignedElement","HiddenFormInputSlot","component","id","replacePlaceHoldersInMessages","validationMessage","status","Validation","icon","validationIcon","message","scale","setFocus","componentFocusable","focus","selectText","select","effectiveLocaleChange","updateMessages","effectiveLocale","onLabelClick","length","toString","numberingSystem","numberStringFormatter","numberFormatOptions","locale","signDisplay","useGrouping","groupSeparator","localize","syncHiddenFormInput","input","setCustomValidity","getBoundingClientRect","messages","tooLong","replace"],"sources":["src/components/text-area/resources.ts","src/components/text-area/text-area.scss?tag=calcite-text-area&encapsulation=shadow","src/components/text-area/text-area.tsx"],"sourcesContent":["export const CSS = {\n assistiveText: \"assistive-text\",\n characterLimit: \"character-limit\",\n content: \"content\",\n container: \"container\",\n footer: \"footer\",\n resizeDisabled: \"resize--disabled\",\n resizeDisabledX: \"resize--disabled-x\",\n resizeDisabledY: \"resize--disabled-y\",\n characterOverLimit: \"character--over-limit\",\n readOnly: \"readonly\",\n textAreaInvalid: \"text-area--invalid\",\n footerSlotted: \"footer--slotted\",\n borderColor: \"border--color\",\n hide: \"hide\",\n blockSizeFull: \"block-size--full\",\n footerEndSlotOnly: \"footer--end-only\",\n};\n\nexport const SLOTS = {\n footerStart: \"footer-start\",\n footerEnd: \"footer-end\",\n};\n\nexport const RESIZE_TIMEOUT = 100;\n",":host {\n @apply inline-block\n relative\n w-full\n h-full;\n}\n\ntextarea {\n @apply text-color-1\n relative\n block\n bg-foreground-1\n box-border\n border-color-input\n border\n font-sans\n w-full\n m-0;\n min-inline-size: theme(\"spacing.48\");\n border-block-end: 1px solid var(--calcite-color-border-3);\n @media screen and (max-width: 480px) {\n @apply resize-none;\n }\n &:focus {\n @apply focus-inset;\n }\n &.text-area--invalid {\n @apply border-color-danger\n border\n border-solid\n border-b;\n &:focus {\n @apply focus-inset-danger;\n }\n }\n &.footer--slotted {\n min-inline-size: theme(\"spacing.72\");\n }\n}\n\n.footer {\n @apply flex\n bg-foreground-1\n box-border\n border-color-input\n border\n border-solid\n border-t-0\n items-center;\n}\n\n.character-limit {\n @apply flex\n justify-end\n text-color-2\n items-center\n font-normal\n whitespace-nowrap;\n}\n\n.character--over-limit {\n @apply font-bold\n text-danger;\n}\n\n:host([resize=\"none\"]) textarea {\n @apply resize-none;\n}\n\n:host([resize=\"horizontal\"]) textarea {\n @apply resize-x;\n}\n\n:host([resize=\"vertical\"]) textarea {\n @apply resize-y;\n}\n\n:host([scale=\"s\"]) {\n @apply text-n2;\n .footer {\n @apply py-1\n px-2;\n min-block-size: 1.75rem;\n }\n textarea {\n @apply py-1\n px-2;\n }\n}\n\n:host([scale=\"s\"]) {\n textarea,\n .footer,\n .character-limit {\n @apply text-n2\n pl-2;\n }\n}\n\n:host([scale=\"m\"]) {\n textarea {\n @apply py-2\n px-3;\n }\n .footer {\n @apply py-2\n px-3;\n min-block-size: 2.25rem;\n }\n}\n\n:host([scale=\"m\"]) {\n textarea,\n .footer,\n .character-limit {\n @apply text-n1\n pl-3;\n }\n}\n\n:host([scale=\"l\"]) {\n @apply text-0;\n textarea {\n @apply py-3\n px-4;\n }\n .footer {\n @apply py-3\n px-4;\n min-block-size: 2.75rem;\n }\n}\n\n:host([scale=\"l\"]) {\n textarea,\n .footer,\n .character-limit {\n @apply text-0\n pl-4;\n }\n}\n\n:host([status=\"invalid\"]) {\n textarea {\n @apply border-color-danger;\n }\n textarea:focus {\n @apply focus-inset-danger;\n }\n}\n\n.readonly {\n @apply bg-background font-medium;\n}\n\n:host([disabled]) {\n textarea,\n footer {\n @apply opacity-50;\n }\n}\n\n.border--color {\n @apply border-b border-color-input;\n &:focus {\n @apply border-b-2;\n }\n}\n\ntextarea.block-size--full {\n @apply h-full;\n}\n\n.content,\n.hide {\n @apply hidden;\n}\n\n.container {\n @apply flex\n justify-between\n w-full;\n}\n\n.footer--end-only {\n @apply justify-end;\n}\n\n.assistive-text {\n @apply sr-only;\n}\n\n@include form-validation-message();\n@include hidden-form-input();\n@include disabled();\n@include base-component();\n","import {\n Component,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n VNode,\n Watch,\n Method,\n Host,\n State,\n} from \"@stencil/core\";\nimport { throttle } from \"lodash-es\";\nimport { connectForm, disconnectForm, FormComponent, HiddenFormInputSlot } from \"../../utils/form\";\nimport { connectLabel, disconnectLabel, getLabelText, LabelableComponent } from \"../../utils/label\";\nimport { slotChangeHasAssignedElement, toAriaBoolean } from \"../../utils/dom\";\nimport {\n connectLocalized,\n disconnectLocalized,\n LocalizedComponent,\n NumberingSystem,\n numberStringFormatter,\n} from \"../../utils/locale\";\nimport { createObserver } from \"../../utils/observers\";\nimport {\n componentFocusable,\n componentLoaded,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { guid } from \"../../utils/guid\";\nimport { Status } from \"../interfaces\";\nimport { Validation } from \"../functional/Validation\";\nimport { syncHiddenFormInput, TextualInputComponent } from \"../input/common/input\";\nimport { CharacterLengthObj } from \"./interfaces\";\nimport { TextAreaMessages } from \"./assets/text-area/t9n\";\nimport { CSS, SLOTS, RESIZE_TIMEOUT } from \"./resources\";\n\n/**\n * @slot - A slot for adding text.\n * @slot footer-start - A slot for adding content to the start of the component's footer.\n * @slot footer-end - A slot for adding content to the end of the component's footer.\n */\n\n@Component({\n tag: \"calcite-text-area\",\n styleUrl: \"text-area.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class TextArea\n implements\n FormComponent,\n LabelableComponent,\n LocalizedComponent,\n LoadableComponent,\n T9nComponent,\n InteractiveComponent,\n Omit<TextualInputComponent, \"pattern\">\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\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 * Specifies the component's number of columns.\n *\n * @mdn [cols](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-cols)\n */\n @Prop({ reflect: true }) columns: number;\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 /**\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 * Accessible name for the component.\n */\n @Prop() label: string;\n\n /**\n * Specifies the minimum number of characters allowed.\n *\n * @mdn [minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-minlength)\n */\n @Prop({ reflect: true }) minLength: number;\n\n /**\n * Specifies the maximum number of characters allowed.\n *\n * @mdn [maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-maxlength)\n */\n @Prop({ reflect: true }) maxLength: number;\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: TextAreaMessages;\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({ reflect: true }) validationIcon: string | boolean;\n\n /**\n * Specifies the name of the component.\n *\n * @mdn [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-name)\n */\n @Prop({ reflect: true }) name: string;\n\n /**\n * Specifies the Unicode numeral system used by the component for localization.\n */\n @Prop() numberingSystem: NumberingSystem;\n\n /**\n * Specifies the placeholder text for the component.\n *\n * @mdn [placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-placeholder)\n */\n @Prop() placeholder: string;\n\n /**\n * When `true`, the component's `value` can be read, but cannot be modified.\n *\n * @readonly\n * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)\n */\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 * @mdn [required]https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required\n */\n @Prop({ reflect: true }) required = false;\n\n /** Specifies if the component is resizable. */\n @Prop({ reflect: true }) resize: \"both\" | \"horizontal\" | \"vertical\" | \"none\" = \"both\";\n\n /**\n * Specifies the component's number of rows.\n *\n * @mdn [rows](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows)\n */\n @Prop({ reflect: true }) rows: number;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: \"l\" | \"m\" | \"s\" = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /** The component's value. */\n @Prop({ mutable: true }) value = \"\";\n\n /**\n * Specifies the wrapping mechanism for the text.\n *\n * @mdn [wrap](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-wrap)\n */\n @Prop({ reflect: true }) wrap: \"soft\" | \"hard\" = \"soft\";\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<TextAreaMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Emitters\n //\n //--------------------------------------------------------------------------\n /**\n * Fires each time a new `value` is typed.\n */\n @Event() calciteTextAreaInput: EventEmitter<void>;\n\n /**\n * Fires each time a new `value` is typed and committed.\n */\n @Event() calciteTextAreaChange: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLabel(this);\n connectForm(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n this.setTextAreaHeight();\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLabel(this);\n disconnectForm(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n this.resizeObserver?.disconnect();\n }\n\n render(): VNode {\n const hasFooter = this.startSlotHasElements || this.endSlotHasElements || !!this.maxLength;\n return (\n <Host>\n <InteractiveContainer disabled={this.disabled}>\n <textarea\n aria-describedby={this.guid}\n aria-invalid={toAriaBoolean(this.isCharacterLimitExceeded())}\n aria-label={getLabelText(this)}\n autofocus={this.autofocus}\n class={{\n [CSS.readOnly]: this.readOnly,\n [CSS.textAreaInvalid]: this.isCharacterLimitExceeded(),\n [CSS.footerSlotted]: this.endSlotHasElements && this.startSlotHasElements,\n [CSS.blockSizeFull]: !hasFooter,\n [CSS.borderColor]: !hasFooter,\n }}\n cols={this.columns}\n disabled={this.disabled}\n name={this.name}\n onChange={this.handleChange}\n onInput={this.handleInput}\n placeholder={this.placeholder}\n readonly={this.readOnly}\n required={this.required}\n rows={this.rows}\n value={this.value}\n wrap={this.wrap}\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.setTextAreaEl}\n />\n <span class={{ [CSS.content]: true }}>\n <slot onSlotchange={this.contentSlotChangeHandler} />\n </span>\n <footer\n class={{\n [CSS.footer]: true,\n [CSS.readOnly]: this.readOnly,\n [CSS.hide]: !hasFooter,\n }}\n // eslint-disable-next-line react/jsx-sort-props -- auto-generated by @esri/calcite-components/enforce-ref-last-prop\n ref={(el) => (this.footerEl = el as HTMLElement)}\n >\n <div\n class={{\n [CSS.container]: true,\n [CSS.footerEndSlotOnly]: !this.startSlotHasElements && this.endSlotHasElements,\n }}\n >\n <slot\n name={SLOTS.footerStart}\n onSlotchange={(event) =>\n (this.startSlotHasElements = slotChangeHasAssignedElement(event))\n }\n />\n <slot\n name={SLOTS.footerEnd}\n onSlotchange={(event) =>\n (this.endSlotHasElements = slotChangeHasAssignedElement(event))\n }\n />\n </div>\n {this.renderCharacterLimit()}\n </footer>\n <HiddenFormInputSlot component={this} />\n {this.isCharacterLimitExceeded() && (\n <span aria-hidden={true} aria-live=\"polite\" class={CSS.assistiveText} id={this.guid}>\n {this.replacePlaceHoldersInMessages()}\n </span>\n )}\n {this.validationMessage && this.status === \"invalid\" ? (\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 //--------------------------------------------------------------------------\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 this.textAreaEl.focus();\n }\n\n /** Selects the text of the component's `value`. */\n @Method()\n async selectText(): Promise<void> {\n await componentLoaded(this);\n this.textAreaEl.select();\n }\n //--------------------------------------------------------------------------\n //\n // Private Properties/ State\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteTextAreaElement;\n\n defaultValue: TextArea[\"value\"];\n\n footerEl: HTMLElement;\n\n formEl: HTMLFormElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n textAreaEl: HTMLTextAreaElement;\n\n @State() defaultMessages: TextAreaMessages;\n\n @State() endSlotHasElements: boolean;\n\n @State() startSlotHasElements: boolean;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n private guid = guid();\n\n private localizedCharacterLengthObj: CharacterLengthObj;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n handleInput = (event: InputEvent): void => {\n this.value = event.target[\"value\"];\n this.calciteTextAreaInput.emit();\n };\n\n handleChange = (): void => {\n this.calciteTextAreaChange.emit();\n };\n\n contentSlotChangeHandler = (): void => {\n if (!this.value) {\n const nodes = this.el.childNodes;\n nodes.forEach((el) => {\n if (el.nodeName === \"#text\") {\n this.value = el.nodeValue.trim();\n }\n });\n }\n };\n\n renderCharacterLimit = (): VNode | null => {\n if (this.maxLength) {\n this.localizedCharacterLengthObj = this.getLocalizedCharacterLength();\n return (\n <span class={CSS.characterLimit}>\n <span class={{ [CSS.characterOverLimit]: this.isCharacterLimitExceeded() }}>\n {this.localizedCharacterLengthObj.currentLength}\n </span>\n {\"/\"}\n {this.localizedCharacterLengthObj.maxLength}\n </span>\n );\n }\n return null;\n };\n\n getLocalizedCharacterLength(): CharacterLengthObj {\n const currentLength = this.value ? this.value.length.toString() : \"0\";\n const maxLength = this.maxLength.toString();\n if (this.numberingSystem === \"latn\") {\n return { currentLength, maxLength };\n }\n\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n signDisplay: \"never\",\n useGrouping: this.groupSeparator,\n };\n return {\n currentLength: numberStringFormatter.localize(currentLength),\n maxLength: numberStringFormatter.localize(maxLength),\n };\n }\n\n resizeObserver = createObserver(\"resize\", async () => {\n await componentLoaded(this);\n const { textAreaHeight, textAreaWidth, elHeight, elWidth, footerHeight, footerWidth } =\n this.getHeightAndWidthOfElements();\n if (footerWidth > 0 && footerWidth !== textAreaWidth) {\n this.footerEl.style.width = `${textAreaWidth}px`;\n }\n if (elWidth !== textAreaWidth || elHeight !== textAreaHeight + (footerHeight || 0)) {\n this.setHeightAndWidthToAuto();\n }\n });\n\n syncHiddenFormInput(input: HTMLInputElement): void {\n input.setCustomValidity(\"\");\n if (this.isCharacterLimitExceeded()) {\n input.setCustomValidity(this.replacePlaceHoldersInMessages());\n }\n\n syncHiddenFormInput(\"textarea\", this, input);\n }\n\n setTextAreaEl = (el: HTMLTextAreaElement): void => {\n this.textAreaEl = el;\n this.resizeObserver.observe(el);\n };\n\n setTextAreaHeight(): void {\n const { textAreaHeight, elHeight, footerHeight } = this.getHeightAndWidthOfElements();\n if (footerHeight > 0 && textAreaHeight + footerHeight != elHeight) {\n this.textAreaEl.style.height = `${elHeight - footerHeight}px`;\n }\n }\n\n getHeightAndWidthOfElements(): {\n textAreaHeight: number;\n textAreaWidth: number;\n elHeight: number;\n elWidth: number;\n footerHeight: number;\n footerWidth: number;\n } {\n const { height: textAreaHeight, width: textAreaWidth } =\n this.textAreaEl.getBoundingClientRect();\n const { height: elHeight, width: elWidth } = this.el.getBoundingClientRect();\n const { height: footerHeight, width: footerWidth } = this.footerEl?.getBoundingClientRect();\n\n return {\n textAreaHeight,\n textAreaWidth,\n elHeight,\n elWidth,\n footerHeight,\n footerWidth,\n };\n }\n\n private replacePlaceHoldersInMessages(): string {\n return this.messages.tooLong\n .replace(\"{maxLength}\", this.localizedCharacterLengthObj.maxLength)\n .replace(\"{currentLength}\", this.localizedCharacterLengthObj.currentLength);\n }\n\n // height and width are set to auto here to avoid overlapping on to neighboring elements in the layout when user starts resizing.\n // throttle is used to avoid flashing of textarea when user resizes.\n private setHeightAndWidthToAuto = throttle(\n (): void => {\n if (this.resize === \"vertical\" || this.resize === \"both\") {\n this.el.style.height = \"auto\";\n }\n if (this.resize === \"horizontal\" || this.resize === \"both\") {\n this.el.style.width = \"auto\";\n }\n },\n RESIZE_TIMEOUT,\n { leading: false },\n );\n\n private isCharacterLimitExceeded(): boolean {\n return this.value?.length > this.maxLength;\n }\n}\n"],"mappings":";;;;;mtBAAO,MAAMA,EAAM,CACjBC,cAAe,iBACfC,eAAgB,kBAChBC,QAAS,UACTC,UAAW,YACXC,OAAQ,SACRC,eAAgB,mBAChBC,gBAAiB,qBACjBC,gBAAiB,qBACjBC,mBAAoB,wBACpBC,SAAU,WACVC,gBAAiB,qBACjBC,cAAe,kBACfC,YAAa,gBACbC,KAAM,OACNC,cAAe,mBACfC,kBAAmB,oBAGd,MAAMC,EAAQ,CACnBC,YAAa,eACbC,UAAW,cAGN,MAAMC,EAAiB,ICxB9B,MAAMC,EAAc,m8JACpB,MAAAC,EAAeD,E,MCiEFE,EAAQ,M,iJAmVXC,KAAAC,KAAOA,IAcfD,KAAAE,YAAeC,IACbH,KAAKI,MAAQD,EAAME,OAAO,SAC1BL,KAAKM,qBAAqBC,MAAM,EAGlCP,KAAAQ,aAAe,KACbR,KAAKS,sBAAsBF,MAAM,EAGnCP,KAAAU,yBAA2B,KACzB,IAAKV,KAAKI,MAAO,CACf,MAAMO,EAAQX,KAAKY,GAAGC,WACtBF,EAAMG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MAAO,CAAE3F,gBAAeN,Y,CAG1BkG,EAAsBC,oBAAsB,CAC1CC,OAAQvH,KAAKgH,gBACbI,gBAAiBpH,KAAKoH,gBACtBI,YAAa,QACbC,YAAazH,KAAK0H,gBAEpB,MAAO,CACLjG,cAAe4F,EAAsBM,SAASlG,GAC9CN,UAAWkG,EAAsBM,SAASxG,G,CAgB9C,mBAAAyG,CAAoBC,GAClBA,EAAMC,kBAAkB,IACxB,GAAI9H,KAAKwB,2BAA4B,CACnCqG,EAAMC,kBAAkB9H,KAAKiG,gC,CAG/B2B,EAAoB,WAAY5H,KAAM6H,E,CAQxC,iBAAA/D,GACE,MAAMhC,eAAEA,EAAcE,SAAEA,EAAQE,aAAEA,GAAiBlC,KAAKoC,8BACxD,GAAIF,EAAe,GAAKJ,EAAiBI,GAAgBF,EAAU,CACjEhC,KAAK0C,WAAWJ,MAAMQ,OAAS,GAAGd,EAAWE,K,EAIjD,2BAAAE,GAQE,MAAQU,OAAQhB,EAAgBS,MAAOR,GACrC/B,KAAK0C,WAAWqF,wBAClB,MAAQjF,OAAQd,EAAUO,MAAON,GAAYjC,KAAKY,GAAGmH,wBACrD,MAAQjF,OAAQZ,EAAcK,MAAOJ,GAAgBnC,KAAKqC,UAAU0F,wBAEpE,MAAO,CACLjG,iBACAC,gBACAC,WACAC,UACAC,eACAC,c,CAII,6BAAA8D,GACN,OAAOjG,KAAKgI,SAASC,QAClBC,QAAQ,cAAelI,KAAKoB,4BAA4BD,WACxD+G,QAAQ,kBAAmBlI,KAAKoB,4BAA4BK,c,CAkBzD,wBAAAD,GACN,OAAOxB,KAAKI,OAAO8G,OAASlH,KAAKmB,S"}
@@ -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.8.0-next.1
5
- */
6
- import{d as e}from"./p-a43292ae.js";import"./p-85931c71.js";import"./p-ae3fae00.js";import"./p-fb848c65.js";import"./p-be664342.js";import"./p-b5773566.js";import"./p-1b03b527.js";import"./p-3d0a8ad2.js";import"./p-0e53a49b.js";import"./p-1e6dcf63.js";import"./p-c56cce40.js";import"./p-b5a073f3.js";import"./p-af8b3876.js";import"./p-60c275fd.js";import"./p-d09011d8.js";import"./p-5dcf1d59.js";import"./p-4781876f.js";import"./p-2f5471be.js";import"./p-519084ce.js";var r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function t(e,t,a){var i=r[a];if(Array.isArray(i)){i=i[t?0:1]}return i.replace("%d",e)}var a={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function e(r){return r+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(a,null,true);export{a as default};
7
- //# sourceMappingURL=p-2b32bd96.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.8.0-next.1
5
- */
6
- import{r as t,c as e,h as s,F as i,g as a}from"./p-85931c71.js";import{s as n,a as o,c as r}from"./p-b5a073f3.js";import{n as l,c,d as h}from"./p-af8b3876.js";import{u as d,c as m,s as p,d as u}from"./p-4781876f.js";import{c as g}from"./p-60c275fd.js";import{g as f}from"./p-c56cce40.js";import"./p-fb848c65.js";import"./p-be664342.js";import"./p-b5773566.js";import"./p-0e53a49b.js";const b={min:"0",max:"320px"};const v={min:"321px",max:"476px"};const x={min:"477px",max:"768px"};const k={min:"769px",max:"1152px"};const y={min:"1153px",max:"1440px"};const z={width:{large:I(y.max),medium:I(k.max),small:I(x.max),xsmall:I(v.max),xxsmall:I(b.max)}};function I(t){return parseInt(t)}const C={page:"page",selected:"selected",chevron:"chevron",disabled:"disabled",ellipsis:"ellipsis"};const S={next:"chevron-right",previous:"chevron-left",first:"chevron-start",last:"chevron-end"};const w=":host{display:flex;writing-mode:horizontal-tb}:host([scale=s]) .chevron,:host([scale=s]) .page,:host([scale=s]) .ellipsis{block-size:1.5rem;padding-inline:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;min-inline-size:1.5rem}:host([scale=m]) .chevron,:host([scale=m]) .page,:host([scale=m]) .ellipsis{block-size:2rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;min-inline-size:2rem}:host([scale=l]) .chevron,:host([scale=l]) .page,:host([scale=l]) .ellipsis{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-inline-size:2.75rem}:host([scale=l]) .chevron{padding-inline:0.625rem}:host([scale=l]) .page,:host([scale=l]) .ellipsis{padding-inline:0.75rem}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, 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 )}.chevron,.page,.ellipsis{margin:0px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-style:none;--tw-border-opacity:0;background-color:transparent;padding:0px;vertical-align:baseline;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-3)}.chevron,.page{cursor:pointer;border-block:2px solid transparent}.chevron:hover,.page:hover{color:var(--calcite-color-text-1);transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-block-end-color:var(--calcite-color-border-2)}.page.selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);border-block-end-color:var(--calcite-color-brand)}.chevron:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-brand)}.chevron:active{background-color:var(--calcite-color-foreground-3)}.chevron.disabled{pointer-events:none;background-color:transparent}.chevron.disabled>calcite-icon{opacity:var(--calcite-opacity-disabled)}:host([hidden]){display:none}[hidden]{display:none}";const L=w;const j=2;const P=2;const X={large:11,medium:9,small:7,xsmall:5,xxsmall:1};const M=class{constructor(s){t(this,s);this.calcitePaginationChange=e(this,"calcitePaginationChange",6);this.resizeObserver=g("resize",(t=>t.forEach(this.resizeHandler)));this.resizeHandler=({contentRect:{width:t}})=>this.setMaxItemsToBreakpoint(t);this.firstClicked=()=>{this.startItem=1;this.emitUpdate()};this.lastClicked=()=>{this.startItem=this.lastStartItem;this.emitUpdate()};this.previousClicked=async()=>{await this.previousPage();this.emitUpdate()};this.nextClicked=async()=>{await this.nextPage();this.emitUpdate()};this.handlePageClick=t=>{const e=t.target;this.startItem=parseInt(e.value,10);this.emitUpdate()};this.groupSeparator=false;this.messages=undefined;this.messageOverrides=undefined;this.numberingSystem=undefined;this.pageSize=20;this.scale="m";this.startItem=1;this.totalItems=0;this.defaultMessages=undefined;this.effectiveLocale="";this.maxItems=X.xxsmall;this.totalPages=undefined;this.lastStartItem=undefined;this.isXXSmall=undefined}onMessagesChange(){}handleTotalPages(){if(this.pageSize<1){this.pageSize=1}this.totalPages=this.totalItems/this.pageSize}effectiveLocaleChange(){d(this,this.effectiveLocale)}effectiveLocaleWatcher(){l.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator}}handleLastStartItemChange(){const{totalItems:t,pageSize:e,totalPages:s}=this;this.lastStartItem=(t%e===0?t-e:Math.floor(s)*e)+1}handleIsXXSmall(){this.isXXSmall=this.maxItems===X.xxsmall}connectedCallback(){c(this);m(this);this.resizeObserver?.observe(this.el)}async componentWillLoad(){await p(this);n(this);this.handleTotalPages();this.handleLastStartItemChange();this.handleIsXXSmall()}componentDidLoad(){o(this);this.setMaxItemsToBreakpoint(this.el.clientWidth)}disconnectedCallback(){h(this);u(this);this.resizeObserver?.disconnect()}async setFocus(){await r(this);this.el.focus()}async nextPage(){this.startItem=Math.min(this.lastStartItem,this.startItem+this.pageSize)}async previousPage(){this.startItem=Math.max(1,this.startItem-this.pageSize)}setMaxItemsToBreakpoint(t){if(!z||!t){return}if(t>=z.width.medium){this.maxItems=X.large;return}if(t>=z.width.small){this.maxItems=X.medium;return}if(t>=z.width.xsmall){this.maxItems=X.small;return}if(t>=z.width.xxsmall){this.maxItems=X.xsmall;return}this.maxItems=X.xxsmall}showStartEllipsis(){return this.totalPages>this.maxItems&&Math.floor(this.startItem/this.pageSize)>this.maxItems-j-P}showEndEllipsis(){return this.totalPages>this.maxItems&&(this.totalItems-this.startItem)/this.pageSize>this.maxItems-j-(P-1)}emitUpdate(){this.calcitePaginationChange.emit()}renderEllipsis(t){return s("span",{class:C.ellipsis,"data-test-ellipsis":t,key:t},"…")}renderItems(){const{totalItems:t,pageSize:e,startItem:s,maxItems:i,totalPages:a,lastStartItem:n,isXXSmall:o}=this;const r=[];if(o){r.push(this.renderPage(s));return r}const l=t>e;const c=this.showStartEllipsis();const h=this.showEndEllipsis();if(l){r.push(this.renderPage(1))}if(c){r.push(this.renderEllipsis("start"))}const d=i-j-(h?1:0)-(c?1:0);let m;let p;if(a-1<=d){p=1+e;m=n-e}else{if(s/e<d){p=1+e;m=1+d*e}else{if(s+d*e>=t){p=n-d*e;m=n-e}else{p=s-e*((d-1)/2);m=s+e*((d-1)/2)}}}for(let t=0;t<d&&p<=m;t++){r.push(this.renderPage(p));p=p+e}if(h){r.push(this.renderEllipsis("end"))}r.push(this.renderPage(n));return r}renderPage(t){const{pageSize:e}=this;const i=Math.floor(t/e)+(e===1?0:1);l.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const a=l.localize(i.toString());const n=t===this.startItem;return s("button",{"aria-current":n?"page":"false",class:{[C.page]:true,[C.selected]:n},onClick:this.handlePageClick,value:t},a)}renderPreviousChevron(){const{pageSize:t,startItem:e,messages:i}=this;const a=t===1?e<=t:e<t;return s("button",{"aria-label":i.previous,class:{[C.chevron]:true,[C.disabled]:a},"data-test-chevron":"previous",disabled:a,key:"previous",onClick:this.previousClicked},s("calcite-icon",{flipRtl:true,icon:S.previous,scale:f(this.scale)}))}renderNextChevron(){const{totalItems:t,pageSize:e,startItem:i,messages:a}=this;const n=e===1?i+e>t:i+e>t;return s("button",{"aria-label":a.next,class:{[C.chevron]:true,[C.disabled]:n},"data-test-chevron":"next",disabled:n,key:"next-button",onClick:this.nextClicked},s("calcite-icon",{flipRtl:true,icon:S.next,scale:f(this.scale)}))}renderFirstChevron(){const{messages:t,startItem:e,isXXSmall:i}=this;const a=e===1;return i?s("button",{"aria-label":t.first,class:{[C.chevron]:true,[C.disabled]:a},disabled:a,key:"first-button",onClick:this.firstClicked},s("calcite-icon",{flipRtl:true,icon:S.first,scale:f(this.scale)})):null}renderLastChevron(){const{messages:t,startItem:e,isXXSmall:i,lastStartItem:a}=this;const n=e===a;return i?s("button",{"aria-label":t.last,class:{[C.chevron]:true,[C.disabled]:n},disabled:n,key:"last-button",onClick:this.lastClicked},s("calcite-icon",{flipRtl:true,icon:S.last,scale:f(this.scale)})):null}render(){return s(i,{key:"33e48a317f4a70274309498cf5094a946552ea83"},this.renderFirstChevron(),this.renderPreviousChevron(),this.renderItems(),this.renderNextChevron(),this.renderLastChevron())}static get delegatesFocus(){return true}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],totalItems:["handleTotalPages","handleLastStartItemChange"],pageSize:["handleTotalPages","handleLastStartItemChange"],effectiveLocale:["effectiveLocaleChange","effectiveLocaleWatcher"],totalPages:["handleLastStartItemChange"],maxItems:["handleIsXXSmall"]}}};M.style=L;export{M as calcite_pagination};
7
- //# sourceMappingURL=p-2e222977.entry.js.map